From ce8199fbe69a44df8f4ac5d16bf8c8f957268ddb Mon Sep 17 00:00:00 2001 From: eduauto Date: Fri, 23 May 2025 19:16:11 +0800 Subject: [PATCH] autoUpdataFile --- index.html | 2 +- ..._index.84f1cf03.async.js => layouts__index.dd19e6ee.async.js | 2 +- umi.0643db99.js => umi.bb11f5b9.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename layouts__index.84f1cf03.async.js => layouts__index.dd19e6ee.async.js (95%) rename umi.0643db99.js => umi.bb11f5b9.js (99%) diff --git a/index.html b/index.html index bb9fc293d7..5a67931f90 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/layouts__index.84f1cf03.async.js b/layouts__index.dd19e6ee.async.js similarity index 95% rename from layouts__index.84f1cf03.async.js rename to layouts__index.dd19e6ee.async.js index ef005db033..5fb74ce629 100644 --- a/layouts__index.84f1cf03.async.js +++ b/layouts__index.dd19e6ee.async.js @@ -374,7 +374,7 @@ top: 22px; padding: 15px 0 0; } -`;O(L);var s="rc-slider-captcha";function H(o){var f=0,b=0;return typeof o.clientX=="number"&&typeof o.clientY=="number"?(f=o.clientX,b=o.clientY):o.touches&&o.touches[0]?(f=o.touches[0].clientX,b=o.touches[0].clientY):o.changedTouches&&o.changedTouches[0]&&(f=o.changedTouches[0].clientX,b=o.changedTouches[0].clientY),{clientX:f,clientY:b}}function de(o,f){if(f===void 0&&(f={}),o)for(var b in f)o.style[b]=f[b]}var v=typeof window=="object"&&window&&typeof document=="object"&&document&&window.document===document&&!!document.addEventListener,c=v&&"onpointerdown"in window,Q=v&&"ontouchstart"in window,R=function(o){return o==null?void 0:o.scrollTop};function w(o,f){return typeof o=="number"&&!Number.isNaN(o)&&typeof f=="number"&&f>0?Number(o.toFixed(f)):o}var U="".concat(s,"-button"),Fe=function(o){var f,b=o.className,$=o.disabled,Be=o.active,Ge=o.success,ht=o.error,rt=o.verify,ke=o.buttonRef,Dt=(0,F._T)(o,["className","disabled","active","success","error","verify","buttonRef"]);return t.createElement("span",(0,F.pi)({className:xe()(U,b,(f={},f["".concat(U,"-disabled")]=$,f["".concat(U,"-active")]=Be,f["".concat(U,"-verify")]=rt,f["".concat(U,"-success")]=Ge,f["".concat(U,"-error")]=ht,f["".concat(U,"-pc")]=!Q,f)),ref:ke},Dt))};Fe.displayName="SliderButton";var ye=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),t.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},fe=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},Ae=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},o),t.createElement("defs",null,t.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),t.createElement("g",null,t.createElement("use",{xlinkHref:"#l",opacity:".27"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},Ne=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},Re=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},It=function(o){return t.createElement("svg",(0,F.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},o),t.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},zt="".concat(s,"-icon"),Pt=function(o){var f,b=o.className,$=o.spin,Be=(0,F._T)(o,["className","spin"]);return t.createElement("span",(0,F.pi)({className:xe()(zt,(f={},f["".concat(zt,"-spin")]=$,f),b)},Be))},Ut={arrowRight:t.createElement(ye,null),check:t.createElement(fe,null),loading:t.createElement(Ae,null),refresh:t.createElement(Ne,null),x:t.createElement(Re,null),imageFill:t.createElement(It,null)},Wt=function(o){var f=o.type,b=(0,F._T)(o,["type"]);return t.createElement(Pt,(0,F.pi)({},b),Ut[f])},Ct;(function(o){o[o.Default=1]="Default",o[o.Loading=2]="Loading",o[o.Moving=3]="Moving",o[o.Verify=4]="Verify",o[o.Success=5]="Success",o[o.Error=6]="Error",o[o.LoadFailed=7]="LoadFailed"})(Ct||(Ct={}));var Ht="".concat(s,"-control"),Bn=40,$n=2,zn=function(o){var f,b=o.status,$=b===void 0?Ct.Default:b,Be=o.isLimitErrors,Ge=o.tipText,ht=o.tipIcon,rt=o.sliderButtonProps,ke=o.indicatorProps,Dt=o.controlRef,En=(0,F._T)(o,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),pn=(0,t.useRef)(null),un=(0,t.useRef)(null),bn=(0,t.useRef)(null),Wn=(0,t.useRef)({}),Rn=(0,t.useMemo)(function(){return(0,F.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:t.createElement(t.Fragment,null,t.createElement(Wt,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},Ge)},[Ge]),lr=(0,t.useMemo)(function(){return(0,F.pi)({default:t.createElement(Wt,{type:"arrowRight"}),loading:t.createElement(Wt,{type:"loading",spin:!0}),error:t.createElement(Wt,{type:"x"}),success:t.createElement(Wt,{type:"check"})},ht)},[ht]),rn=(0,t.useMemo)(function(){var Tr;return Tr={},Tr[Ct.Default]=[Rn.default,lr.default],Tr[Ct.Loading]=[Rn.loading,lr.default],Tr[Ct.Moving]=[Rn.moving,lr.default],Tr[Ct.Verify]=[Rn.verifying,lr.loading],Tr[Ct.Error]=[Rn.error,lr.error],Tr[Ct.Success]=[Rn.success,lr.success],Tr[Ct.LoadFailed]=[Rn.loadFailed,lr.default],Tr},[Rn,lr]),an=function(Tr){var Co;return(Tr||typeof Wn.current.sliderButtonWidth!="number")&&(Wn.current.sliderButtonWidth=((Co=un.current)===null||Co===void 0?void 0:Co.clientWidth)||Bn),Wn.current.sliderButtonWidth},en=function(Tr){if(Tr||typeof Wn.current.indicatorBorderWidth!="number")if(bn.current){var Co=window.getComputedStyle(bn.current);Wn.current.indicatorBorderWidth=parseInt(Co.borderLeftWidth)+parseInt(Co.borderRightWidth)}else Wn.current.indicatorBorderWidth=$n;return Wn.current.indicatorBorderWidth},Ln=function(Tr){var Co;return(Tr||!Wn.current.rect)&&pn.current&&(Wn.current.rect=(Co=pn.current)===null||Co===void 0?void 0:Co.getBoundingClientRect()),Wn.current.rect};(0,t.useImperativeHandle)(Dt,function(){return{getSliderButtonWidth:an,getIndicatorBorderWidth:en,getRect:Ln,updateLeft:function(Tr){var Co=an(),la=en();de(un.current,{left:Tr+"px"}),de(bn.current,{width:Tr+Co+la+"px"})}}},[]);var at=$===Ct.Loading,Lt=$===Ct.Moving,Pn=$===Ct.Verify,vr=$===Ct.Success,er=$===Ct.Error,lo=$===Ct.LoadFailed,no=Be?Rn.errors:rn[$][0];return t.createElement("div",(0,F.pi)({},En,{className:xe()(Ht,(f={},f["".concat(Ht,"-loading")]=at,f["".concat(Ht,"-moving")]=Lt,f["".concat(Ht,"-verify")]=Pn,f["".concat(Ht,"-success")]=vr,f["".concat(Ht,"-error")]=er,f["".concat(Ht,"-errors")]=Be,f["".concat(Ht,"-load-failed")]=lo,f),En.className),ref:pn}),t.createElement("div",(0,F.pi)({},ke,{className:xe()("".concat(Ht,"-indicator"),ke==null?void 0:ke.className),ref:bn})),t.createElement(Fe,(0,F.pi)({},rt,{className:xe()("".concat(Ht,"-button"),rt==null?void 0:rt.className),disabled:at,active:Lt,verify:Pn,success:vr,error:er,buttonRef:un}),rn[$][1]),t.createElement("div",{className:xe()("".concat(Ht,"-tips")),style:no?{}:{display:"none"}},no))},tr="".concat(s,"-loading"),pr=function(o){var f=o.icon,b=f===void 0?t.createElement(Wt,{type:"loading",spin:!0}):f,$=o.text,Be=$===void 0?"\u52A0\u8F7D\u4E2D...":$,Ge=o.className,ht=(0,F._T)(o,["icon","text","className"]);return t.createElement("div",(0,F.pi)({className:xe()(tr,Ge)},ht),t.createElement("div",{className:"".concat(tr,"-icon")},b),t.createElement("div",{className:"".concat(tr,"-text")},Be))},Yn="".concat(s,"-jigsaw"),qt={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:t.createElement(Wt,{type:"imageFill"}),refreshIcon:t.createElement(Wt,{type:"refresh"})},gr=function(o){var f,b,$=o.status,Be=o.bgSize,Ge=Be===void 0?qt.bgSize:Be,ht=o.puzzleSize,rt=ht===void 0?qt.puzzleSize:ht,ke=o.bgUrl,Dt=o.puzzleUrl,En=o.bgImgProps,pn=o.puzzleImgProps,un=o.jigsawRef,bn=o.loadingBoxProps,Wn=o.loadFailedIcon,Rn=Wn===void 0?qt.loadFailedIcon:Wn,lr=o.showRefreshIcon,rn=lr===void 0?!0:lr,an=o.refreshIcon,en=an===void 0?qt.refreshIcon:an,Ln=o.disabledRefresh,at=o.onRefresh,Lt=o.style,Pn=o.className,vr=o.children,er=(0,F._T)(o,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),lo=(0,t.useRef)(null);if((0,t.useImperativeHandle)(un,function(){return{updateLeft:function(Tr){de(lo.current,{left:Tr+"px"})}}}),$===Ct.Loading)return t.createElement(pr,(0,F.pi)({},bn,{style:(0,F.pi)((0,F.pi)({},bn==null?void 0:bn.style),Ge)}));if($===Ct.LoadFailed||!ke||!Dt)return t.createElement("div",{className:"".concat(s,"-load-failed"),style:Ge},Rn);var no=$===Ct.Verify||$===Ct.Error||$===Ct.Success;return t.createElement("div",(0,F.pi)({className:xe()(Yn,(f={},f["".concat(Yn,"-stop")]=no,f),Pn),style:(0,F.pi)((0,F.pi)({},Lt),Ge)},er),t.createElement("img",(0,F.pi)({src:ke,alt:""},En,{className:xe()("".concat(Yn,"-bg"),En==null?void 0:En.className),style:(0,F.pi)((0,F.pi)({},En==null?void 0:En.style),Ge)})),t.createElement("img",(0,F.pi)({src:Dt,alt:""},pn,{className:xe()("".concat(Yn,"-puzzle"),pn==null?void 0:pn.className),style:(0,F.pi)((0,F.pi)({},pn==null?void 0:pn.style),rt),ref:lo})),rn&&$!==Ct.Success&&en&&t.createElement("div",{className:xe()("".concat(Yn,"-refresh"),(b={},b["".concat(Yn,"-refresh-disabled")]=$===Ct.Verify||Ln,b)),onClick:function(){$!==Ct.Verify&&!Ln&&(at==null||at())}},en),vr)},yr=c?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:Q?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},On=c?"onPointerDown":Q?"onTouchStart":"onMouseDown",Tn;(function(o){o.Puzzle="puzzle",o.Button="button"})(Tn||(Tn={}));var Xr=function(o){var f,b,$,Be=o.mode,Ge=Be===void 0?"embed":Be,ht=o.limitErrorCount,rt=ht===void 0?0:ht,ke=o.tipText,Dt=o.tipIcon,En=o.refreshIcon,pn=o.bgSize,un=o.puzzleSize,bn=o.request,Wn=o.autoRequest,Rn=Wn===void 0?!0:Wn,lr=o.onVerify,rn=o.autoRefreshOnError,an=rn===void 0?!0:rn,en=o.actionRef,Ln=o.showRefreshIcon,at=Ln===void 0?!0:Ln,Lt=o.jigsawContent,Pn=o.errorHoldDuration,vr=Pn===void 0?500:Pn,er=o.loadingDelay,lo=er===void 0?0:er,no=o.placement,Tr=no===void 0?"top":no,Co=o.loadingBoxProps,la=o.sliderButtonProps,ma=o.precision,Dr=ma===void 0?7:ma,Br=o.className,po=o.style,Fr=o.styles,Wo=St(),To=Wo[0],Ko=Wo[1],Yo=St(Ct.Default),ta=Yo[0],Vo=Yo[1],ya=he(ta),ba=(0,t.useRef)(null),Qo=(0,t.useRef)(null),na=(0,t.useRef)(null),Go=(0,t.useMemo)(function(){return Ge==="float"||Ge==="slider"?Ge:"embed"},[Ge]),Ua=(0,t.useMemo)(function(){if(En!==void 0)return En;if((Dt==null?void 0:Dt.refresh)!==void 0)return Dt.refresh},[En,Dt]),Ca=(0,t.useMemo)(function(){return(0,F.pi)((0,F.pi)({},qt.bgSize),pn)},[pn]),Jo=(0,t.useMemo)(function(){return(0,F.pi)((0,F.pi)({},qt.puzzleSize),un)},[un]),sa=(0,t.useMemo)(function(){return Tr==="bottom"?"top":"bottom"},[Tr]),sr=(0,t.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:Tn.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),ua=Go==="slider",Xa=typeof lo=="number"&&lo>0,wa=ta===Ct.Error&&rt>0&&sr.current.errorCount>=rt,ci=function(){sr.current.buttonMaxDistance=Ca.width-sr.current.sliderButtonWidth-sr.current.indicatorBorderWidth,sr.current.puzzleMaxDistance=Ca.width-Jo.width-Jo.left},ni=function(){var Ur;return((Ur=ba.current)===null||Ur===void 0?void 0:Ur.getRect(!0).height)||42},ri=function(){return(0,F.mG)(void 0,void 0,void 0,function(){var Ur;return(0,F.Jh)(this,function(uo){switch(uo.label){case 0:if(ua)return[2];if(!bn)return[3,4];Xa?sr.current.loadingTimer=setTimeout(function(){Vo(Ct.Loading)},lo):Vo(Ct.Loading),uo.label=1;case 1:return uo.trys.push([1,3,,4]),[4,bn()];case 2:return Ur=uo.sent(),Xa&&clearTimeout(sr.current.loadingTimer),Ko(Ur),Vo(Ct.Default),[3,4];case 3:return uo.sent(),Xa&&clearTimeout(sr.current.loadingTimer),Vo(Ct.LoadFailed),[3,4];case 4:return[2]}})})},oi=function(Ur){Ur===void 0&&(Ur=300),!(Go!=="float"||ya.current===Ct.Success)&&(clearTimeout(sr.current.floatTransitionTimer),clearTimeout(sr.current.floatDelayHideTimer),clearTimeout(sr.current.floatDelayShowTimer),sr.current.floatDelayShowTimer=setTimeout(function(){var uo;de(na.current,{display:"block"}),R(na.current);var oa=ni()+"px";de(na.current,(uo={},uo[sa]=oa,uo.opacity="1",uo))},Ur))},Oa=function(Ur){Ur===void 0&&(Ur=300),Go==="float"&&(clearTimeout(sr.current.floatTransitionTimer),clearTimeout(sr.current.floatDelayHideTimer),clearTimeout(sr.current.floatDelayShowTimer),sr.current.floatDelayHideTimer=setTimeout(function(){var uo,oa=ni()/2+"px";de(na.current,(uo={},uo[sa]=oa,uo.opacity="0",uo)),sr.current.floatTransitionTimer=setTimeout(function(){de(na.current,{display:"none"})},300)},Ur))},mi=function(Ur){var uo;ua||(uo=Qo.current)===null||uo===void 0||uo.updateLeft(Ur)},ai=function(){var Ur;sr.current.isPressed=!1,Vo(Ct.Default),(Ur=ba.current)===null||Ur===void 0||Ur.updateLeft(0),mi(Jo.left)},Ya=function(Ur){Ur===void 0&&(Ur=!1),Ur&&(sr.current.errorCount=0),clearTimeout(sr.current.refreshTimer),ya.current!==Ct.Loading&&(ai(),ri())},vi=function(){(wa||ta===Ct.LoadFailed)&&Ya(wa)},Ai=function(){Q||oi()},wi=function(){Q||Oa()},Ii=function(Ur){sr.current.currentTargetType=Tn.Puzzle,Mi(Ur)},Bi=function(Ur){sr.current.currentTargetType=Tn.Button,Mi(Ur)},Mi=function(Ur){if(ya.current===Ct.Default){Ur.preventDefault();var uo=H(Ur),oa=uo.clientX,Da=uo.clientY;sr.current.startInfo={x:oa,y:Da,timestamp:new Date().getTime()},sr.current.trail=[[oa,Da]],ba.current&&(sr.current.sliderButtonWidth=ba.current.getSliderButtonWidth(!0),sr.current.indicatorBorderWidth=ba.current.getIndicatorBorderWidth(!0)),ci(),sr.current.ratio=sr.current.puzzleMaxDistance/sr.current.buttonMaxDistance,sr.current.currentTargetType===Tn.Puzzle&&(sr.current.ratio=1/sr.current.ratio),(Q||Ur.pointerType==="pen"||Ur.pointerType==="touch")&&oi(0),sr.current.isPressed=!0,document.addEventListener(yr.move,pi),document.addEventListener(yr.end,Ga),document.addEventListener(yr.cancel,Ga)}},pi=function(Ur){var uo;if(sr.current.isPressed){Ur.preventDefault();var oa=H(Ur),Da=oa.clientX,_r=oa.clientY,Gr=Da-sr.current.startInfo.x;sr.current.trail.push([Da,_r]),ya.current!==Ct.Moving&&Gr>0&&Vo(Ct.Moving);var No=Gr,ra=Gr;sr.current.currentTargetType===Tn.Puzzle?(Gr=Math.max(0,Math.min(Gr,sr.current.puzzleMaxDistance)),No=Gr+Jo.left,ra=Gr*sr.current.ratio):(Gr=Math.max(0,Math.min(Gr,sr.current.buttonMaxDistance)),ra=Gr,No=Gr*sr.current.ratio+Jo.left),(uo=ba.current)===null||uo===void 0||uo.updateLeft(ra),mi(No)}},Ga=function(Ur){if(document.removeEventListener(yr.move,pi),document.removeEventListener(yr.end,Ga),document.removeEventListener(yr.cancel,Ga),!!sr.current.isPressed){if(ya.current!==Ct.Moving){sr.current.isPressed=!1,Q&&Oa();return}if(lr){sr.current.isPressed=!1,Vo(Ct.Verify);var uo=new Date().getTime(),oa=H(Ur),Da=oa.clientX,_r=oa.clientY,Gr=_r-sr.current.startInfo.y,No=Da-sr.current.startInfo.x,ra=No;sr.current.currentTargetType===Tn.Puzzle?(No=Math.max(0,Math.min(No,sr.current.puzzleMaxDistance)),ra=No*sr.current.ratio):(No=Math.max(0,Math.min(No,sr.current.buttonMaxDistance)),ra=No,No*=sr.current.ratio),lr({x:w(No,Dr),y:w(Gr,Dr),sliderOffsetX:w(ra,Dr),duration:uo-sr.current.startInfo.timestamp,trail:sr.current.trail,targetType:sr.current.currentTargetType,errorCount:sr.current.errorCount}).then(function(){sr.current.errorCount=0,Vo(Ct.Success),Oa()}).catch(function(){sr.current.errorCount+=1,Vo(Ct.Error),(Q||Ur.pointerType==="pen"||Ur.pointerType==="touch")&&Oa(),(rt<=0||sr.current.errorCount0?(Be.forEach(function(Ge){Ge.wrap.apply(Ge.context,b)}),!0):!1},o}(),bt={},Mt=function(){function o(f){f===void 0&&(f="default"),this.scope=f,bt[this.scope]||(bt[this.scope]={}),this.data=bt[this.scope]}return o.prototype.getItem=function(f){return f in this.data?this.data[f]:null},o.prototype.setItem=function(f,b){this.data[f]=b},o.prototype.removeItem=function(f){delete this.data[f]},o.prototype.clear=function(){bt[this.scope]={},this.data=bt[this.scope]},o}();function ft(){return Math.random().toString(16).substring(2,8)}function Xt(o){try{var f=typeof o=="object"&&o!==null&&!!o.setItem&&!!o.getItem&&!!o.removeItem;if(f){var b=ft()+new Date().getTime(),$="1";if(o.setItem(b,$),o.getItem(b)!==$)return!1;o.removeItem(b)}return f}catch(Be){return console.error("[cache2] ".concat(o," is not supported. The default memory cache will be used.")),!1}}function Dn(o,f){try{return JSON.parse(o,f)}catch(b){return o}}function $t(o,f){return JSON.stringify(o,f)}var Kn=function(){function o(f,b){b===void 0&&(b={});var $=f?Xt(f):!1;this.options=(0,F.pi)({needParsed:$,prefix:""},b),this.storage=$?f:new Mt(this.options.memoryScope)}return o.prototype.getKey=function(f){return this.options.prefix+f},o.prototype.get=function(f){var b=this.storage.getItem(this.getKey(f));return this.options.needParsed?Dn(b,this.options.reviver):b},o.prototype.set=function(f,b){this.storage.setItem(this.getKey(f),this.options.needParsed?$t(b,this.options.replacer):b)},o.prototype.del=function(f){this.storage.removeItem(this.getKey(f))},o.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},o}(),k="cache2_",i="default",p=function(o){(0,F.ZT)(f,o);function f(b,$){var Be=o.call(this)||this,Ge=i,ht;return typeof b=="string"?Ge=b||i:typeof b=="object"&&(ht=b),!ht&&typeof $=="object"&&(ht=$),Be.options=(0,F.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:k},ht),Be.storage=new Kn(Be.options.storage,(0,F.pi)({memoryScope:Ge},Be.options)),Be.cacheKey=Ge,Be.startCheckperiod(),Be}return f.prototype._check=function(b,$){var Be=!0;return $.t!==0&&$.t0?Be+Ge:0;return{v:b,t:ht,n:Be}},f.prototype._isLimited=function(b){return this.options.max>-1&&b>=this.options.max},f.prototype._getReplaceKey=function(b,$){var Be=b[0];return b.forEach(function(Ge){($[Ge].t<$[Be].t||$[Ge].t===$[Be].t&&$[Ge].n<$[Be].n)&&(Be=Ge)}),Be},Object.defineProperty(f.prototype,"cacheValues",{get:function(){return this.storage.get(this.cacheKey)||{}},enumerable:!1,configurable:!0}),f.prototype.setCacheValues=function(b){this.storage.set(this.cacheKey,b)},f.prototype.get=function(b){var $=this.cacheValues[b];if($&&this._check(b,$))return $.v},f.prototype.mget=function(b){var $=this,Be={};if(!Array.isArray(b))return Be;var Ge=this.cacheValues;return b.forEach(function(ht){var rt=Ge[ht];rt&&$._check(ht,rt)&&(Be[ht]=rt.v)}),Be},f.prototype.getAll=function(){var b=Object.keys(this.cacheValues);return this.mget(b)},f.prototype.set=function(b,$,Be){if(this.options.max===0)return!1;var Ge=this.cacheValues,ht=Object.keys(Ge);if(!Ge[b]&&this._isLimited(ht.length)){var rt=this.keys();if(this._isLimited(rt.length))if(this.options.maxStrategy==="replaced"){var ke=this._getReplaceKey(rt,Ge);this.del(ke)}else return!1}return Ge[b]=this._wrap($,Be),this.setCacheValues(Ge),this.emit("set",b,Ge[b].v),!0},f.prototype.mset=function(b){var $=this,Be=!0;return b.forEach(function(Ge){var ht=$.set(Ge.key,Ge.value,Ge.ttl);Be&&!ht&&(Be=!1)}),Be},f.prototype.del=function(b){var $=this,Be=this.cacheValues,Ge=0,ht=Array.isArray(b)?b:[b];return ht.forEach(function(rt){if(Be[rt]){Ge++;var ke=Be[rt];delete Be[rt],$.emit("del",rt,ke.v)}}),Ge>0&&this.setCacheValues(Be),Ge},f.prototype.clear=function(){this.storage.del(this.cacheKey)},f.prototype.keys=function(){var b=this,$=this.cacheValues,Be=Object.keys($);return Be.filter(function(Ge){return b._check(Ge,$[Ge])})},f.prototype.has=function(b){var $=this.cacheValues[b];return!!($&&this._check(b,$))},f.prototype.take=function(b){var $,Be=this.cacheValues[b];return Be&&this._check(b,Be)&&($=Be.v,this.del(b)),$},f.prototype.ttl=function(b,$){var Be=this.cacheValues,Ge=Be[b];return Ge&&this._check(b,Ge)?(Be[b]=this._wrap(Ge.v,$),!0):!1},f.prototype.getTtl=function(b){var $=this.cacheValues,Be=$[b];if(Be&&this._check(b,Be))return $[b].t},f.prototype.getLastModified=function(b){var $=this.cacheValues,Be=$[b];if(Be&&this._check(b,Be))return $[b].n},f.prototype.startCheckperiod=function(){var b=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){b.startCheckperiod()},this.options.checkperiod))},f.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},f}(We),g=void 0,C="undefined",re="object",q=Object.prototype,He=q.toString,Ke=q.hasOwnProperty,_e=q.propertyIsEnumerable,it=Object.getOwnPropertySymbols,$e=Object.getPrototypeOf,mt=Object.keys,vt=Function.prototype,ut=vt.toString,Ot=typeof Symbol!==C,pt=Ot?Symbol.prototype:g,Et=Array.prototype,xt=Et.slice,Qt=Math.min,nt=Math.max,gt=Math.random,ce=Math.floor,ve=Math.ceil,je=Math.abs,Xe=Number.isFinite,Te=Number.isInteger,st=Number.isSafeInteger,et=typeof globalThis===re&&globalThis,yt=typeof e.g===re&&e.g,jt=typeof self===re&&self,kt=Number.MAX_SAFE_INTEGER||9007199254740991,mn=Number.MIN_SAFE_INTEGER||-9007199254740991,hn=4294967295,tn="[object ",oe=tn+"BigInt]",me=tn+"Number]",Se=tn+"Boolean]",De=tn+"String]",Le=tn+"Date]",Bt=tn+"RegExp]",At=tn+"Symbol]",Nt=tn+"Error]",tt=tn+"ArrayBuffer]",Kt=tn+"Arguments]",Cn=tn+"Array]",Tt=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(o){return tn+o+"]"}),Yt=tn+"WeakSet]",Zt=tn+"Blob]",Un=tn+"File]",gn=tn+"DOMException]",Hn=tn+"Object]",kn=tn+"DataView]",Sn=tn+"Map]",nr=tn+"Promise]",br=tn+"Set]",Lr=tn+"WeakMap]",ln=tn+"Window]";function Vt(o){return He.call(o)}function xn(o){return typeof o=="string"||Vt(o)===De}var Zn=function(){function o(f,b){b===void 0&&(b="uh_async_memo"),this.promiseCache={},this.cache=new p(b,f)}return o.prototype.run=function(f,b,$){var Be=this;if(!b||!xn(b))return f();var Ge=(0,F.pi)({persisted:!0},$);if(Ge.persisted){var ht=this.cache.get(b);if(ht)return Promise.resolve(ht)}return this.promiseCache[b]||(this.promiseCache[b]=f().then(function(rt){return delete Be.promiseCache[b],Be.cache.set(b,rt,Ge.ttl),rt}).catch(function(rt){return delete Be.promiseCache[b],Promise.reject(rt)})),this.promiseCache[b]},o}(),An=typeof Blob!==C;function hr(o){return An&&o instanceof Blob?!0:Vt(o)===Zt}function Hr(o){return function(){return o}}function dr(){}var Mr=typeof URL!="undefined",zr=void 0,Fn=Object.keys,nn=Object.values,dn=Mr?URL.createObjectURL:Hr(""),on=Mr?URL.revokeObjectURL:dr;function rr(o,f){var b=f||{},$=b.method,Be=$===void 0?"get":$,Ge=b.data,ht=Ge===void 0?null:Ge,rt=b.timeout,ke=b.headers,Dt=b.withCredentials,En=Dt===void 0?!1:Dt,pn=b.async,un=pn===void 0?!0:pn,bn=b.user,Wn=bn===void 0?null:bn,Rn=b.password,lr=Rn===void 0?null:Rn,rn=b.responseType,an=b.onReadyStateChange,en=b.onLoadStart,Ln=b.onProgress,at=b.onAbort,Lt=b.onTimeout,Pn=b.onError,vr=b.onLoad,er=b.onLoadEnd;return new Promise(function(lo,no){var Tr=new XMLHttpRequest;Tr.open(Be.toLowerCase(),o,un,Wn,lr),an&&(Tr.onreadystatechange=an),typeof rt=="number"&&rt>0&&(Tr.timeout=rt),Tr.withCredentials=En,rn&&(Tr.responseType=rn),typeof ke=="object"&&Fn(ke).map(function(Br){Tr.setRequestHeader(Br,ke[Br])});var Co=function(Br){return function(po){lo(po),Br==null||Br.call(Tr,po)}},la=function(Br){return function(po){no(po),Br==null||Br.call(Tr,po)}},ma={loadstart:en,progress:Ln,abort:la(at),timeout:la(Lt),error:la(Pn),load:Co(vr),loadend:er},Dr=Fn(ma);Dr.forEach(function(Br){var po=ma[Br];po&&Tr.addEventListener(Br,po)}),Tr.send(ht)})}var wr=[200,304];function cr(o,f){return new Promise(function(b,$){hr(o)?b(o):rr(o,(0,F.pi)({responseType:"blob"},f)).then(function(Be){var Ge=Be.target.status;if(wr.indexOf(Ge)!==-1)b(Be.target.response);else{var ht=new Error("The file does not support get requests, responseStatus ".concat(Ge,", '").concat(o,"'."));console.error(ht),$(ht)}}).catch(function(Be){console.error(new Error("Failed to request file. ".concat(Be))),$(Be)})})}function Ir(o){return new Promise(function(f,b){var $=hr(o),Be=$?dn(o):o,Ge=new Image;$||(Ge.crossOrigin="anonymous"),Ge.onload=function(){f(Ge)},Ge.onerror=function(ht){$&&on(Be),console.error("[loadImage] The image load failed, '".concat(o,"'.")),b(ht)},Ge.src=Be})}function qr(o,f){return cr(o,f).then(function(b){return Ir(b).then(function($){return{blob:b,image:$}})})}function Eo(o){return o!==null&&typeof o=="object"}function jr(o){return typeof o=="function"||Eo(o)}function kr(o){return typeof o=="symbol"||Vt(o)===At}var fo=/^0b[01]+$/i,ao=/^0o[0-7]+$/i,so=/^[-+]0x[0-9a-f]+$/i;function Ho(o){if(typeof o=="number")return o;if(kr(o))return NaN;if(jr(o)&&(o=Number(o)),typeof o!="string")return o===0?o:+o;o=o.trim();var f=fo.test(o);return f||ao.test(o)?parseInt(o.slice(2),f?2:8):so.test(o)?NaN:+o}var Lo=17976931348623157e292;function zo(o){if(!o)return o===0?o:0;if(o=Ho(o),o===1/0||o===-1/0){var f=o<0?-1:1;return f*Lo}return o===o?o:0}function Zo(o,f){o===void 0&&(o=0),f===void 0&&(f=1),o=zo(o),f=zo(f);var b=ve(Qt(o,f)||0),$=ce(nt(o,f)||0);if(b>$){var Be=b;b=$,$=Be}return ce(b+gt()*($-b+1))}var ro=Math.PI,Gt;(function(o){o[o.None=0]="None",o[o.Outer=1]="Outer",o[o.Inner=2]="Inner"})(Gt||(Gt={}));var ur=[Gt.None,Gt.Outer,Gt.Inner];function Xn(o){var f=o.length,b=Zo(0,f-1);return o[b]}function qn(o){var f={top:Xn(ur),right:Xn(ur),bottom:Xn(ur),left:Xn(ur)},b=Object.keys(f),$=["top","bottom"],Be=["left","right"];if(f.top===Gt.Outer&&f.bottom===Gt.Outer?f[Xn($)]=Gt.Inner:f.top!==Gt.Outer&&f.bottom!==Gt.Outer&&(f[Xn($)]=Gt.Outer),f.left===Gt.Outer&&f.right===Gt.Outer?f[Xn(Be)]=Gt.Inner:f.left!==Gt.Outer&&f.right!==Gt.Outer&&(f[Xn(Be)]=Gt.Outer),o){var Ge=[],ht=[];b.forEach(function(rt){f[rt]===Gt.Inner?Ge.push(rt):f[rt]===Gt.None&&ht.push(rt)}),o===2?Ge.forEach(function(rt){return f[rt]=Gt.None}):o===3?Ge.length===0?f[Xn(ht)]=Gt.Inner:Ge.length===2&&(f[Xn(Ge)]=Gt.None):o==4&&ht.forEach(function(rt){return f[rt]=Gt.Inner})}return f}function Nr(o,f){f===void 0&&(f={});var b=f.x,$=b===void 0?0:b,Be=f.y,Ge=Be===void 0?0:Be,ht=f.w,rt=ht===void 0?60:ht,ke=f.h,Dt=ke===void 0?60:ke,En=f.needClosePath,pn=En===void 0?!0:En,un=f.points,bn=f.margin,Wn=bn===void 0?0:bn;Wn=Wn<=0?0:Wn,(typeof un=="number"||!un)&&(un=qn(un));var Rn=(Math.min(rt,Dt)-Wn*2)*.15,lr=Math.hypot(Rn,Rn),rn=lr/2,an=Rn+rn,en={x:$+Wn,y:Ge+Wn,w:rt-an-Wn*2,h:Dt-an-Wn*2},Ln=en.w/2,at=en.h/2;un.left===Gt.Outer&&(en.x+=an),un.top===Gt.Outer&&(en.y+=an),o.beginPath(),o.lineWidth=2,o.moveTo(en.x,en.y),un.top!==Gt.None&&(o.lineTo(en.x+Ln-rn,en.y),un.top===Gt.Inner?o.arc(en.x+Ln,en.y+rn,Rn,1.25*ro,1.75*ro,!0):o.arc(en.x+Ln,en.y-rn,Rn,.75*ro,.25*ro)),o.lineTo(en.x+en.w,en.y),un.right!==Gt.None&&(o.lineTo(en.x+en.w,en.y+at-rn),un.right===Gt.Inner?o.arc(en.x+en.w-rn,en.y+at,Rn,1.75*ro,.25*ro,!0):o.arc(en.x+en.w+rn,en.y+at,Rn,1.25*ro,.75*ro)),o.lineTo(en.x+en.w,en.y+en.h),un.bottom!==Gt.None&&(o.lineTo(en.x+Ln+rn,en.y+en.h),un.bottom===Gt.Inner?o.arc(en.x+Ln,en.y+en.h-rn,Rn,.25*ro,.75*ro,!0):o.arc(en.x+Ln,en.y+en.h+rn,Rn,1.75*ro,1.25*ro)),o.lineTo(en.x,en.y+en.h),un.left!==Gt.None&&(o.lineTo(en.x,en.y+at+rn),un.left===Gt.Inner?o.arc(en.x+rn,en.y+at,Rn,.75*ro,1.25*ro,!0):o.arc(en.x-rn,en.y+at,Rn,.25*ro,1.75*ro)),o.lineTo(en.x,en.y),o.stroke(),pn&&o.closePath()}function Vr(o,f,b,$){return new Promise(function(Be){f?o.toBlob(function(Ge){Be(Ge?URL.createObjectURL(Ge):o.toDataURL(b,$))},b,$):Be(o.toDataURL(b,$))})}var wo=new Zn({max:5,maxStrategy:"replaced"});wo.cache.on("del",function(o,f){try{f.image.src&&URL.revokeObjectURL(f.image.src)}catch(b){}});function Io(o){o?wo.cache.del(o):wo.cache.clear()}var mo=new WeakMap,Oo=function(o){if(!jr(o))return String(o);if(!mo.get(o)){var f="_"+Date.now();mo.set(o,f)}return mo.get(o)},eo={jpeg:"image/jpeg",png:"image/png"},Rr=[];function Bo(o){o.forEach(function(f){URL.revokeObjectURL(f)})}function go(o,f){f===void 0&&(f={});var b=f.borderWidth,$=b===void 0?2:b,Be=f.borderColor,Ge=Be===void 0?"rgba(255,255,255,0.7)":Be,ht=f.fillColor,rt=ht===void 0?"rgba(255,255,255,0.7)":ht,ke=f.points,Dt=f.width,En=Dt===void 0?60:Dt,pn=f.height,un=pn===void 0?60:pn,bn=f.x,Wn=f.y,Rn=f.margin,lr=Rn===void 0?2:Rn,rn=f.equalHeight,an=rn===void 0?!0:rn,en=f.imageWidth,Ln=f.imageHeight,at=f.bgWidth,Lt=f.bgHeight,Pn=f.bgOffset,vr=Pn===void 0?[0,0]:Pn,er=f.bgImageType,lo=er===void 0?eo.jpeg:er,no=f.quality,Tr=no===void 0?.8:no,Co=f.format,la=Co===void 0?"dataURL":Co,ma=f.cacheImage,Dr=ma===void 0?!0:ma,Br=f.autoRevokePreviousBlobUrl,po=Br===void 0?!0:Br,Fr=f.ajaxOptions;return new Promise(function(Wo,To){var Ko=document.createElement("canvas"),Yo=document.createElement("canvas"),ta=Ko.getContext("2d"),Vo=Yo.getContext("2d"),ya=Dr?Oo(o):void 0;wo.run(function(){return qr(o,Fr)},ya).then(function(ba){var Qo=ba.image;en&&(Qo.width=en),Ln&&(Qo.height=Ln);var na=typeof at=="number"&&at>0?at>En?at:En:Qo.width,Go=typeof Lt=="number"&&Lt>0?Lt>un?Lt:un:Qo.height;Ko.width=na,Ko.height=Go;var Ua=na-En,Ca=Go-un,Jo=typeof bn=="undefined"?Zo(En,Ua):bn||0,sa=typeof Wn=="undefined"?Zo(0,Ca):Wn||0;Jo<0?Jo=0:Jo>Ua&&(Jo=Ua),sa<0?sa=0:sa>Ca&&(sa=Ca);var sr=typeof ke=="number"||!ke?qn(ke):ke,ua=typeof vr=="function"?vr(Qo.width,Qo.height):vr;ta.strokeStyle=Ge,ta.lineWidth=$,ta.fillStyle=rt,Nr(ta,{x:Jo,y:sa,w:En,h:un,points:sr,margin:lr}),ta.fillStyle=rt,ta.fill(),ta.globalCompositeOperation="destination-over",ta.drawImage(Qo,ua[0],ua[1],Qo.width,Qo.height),Yo.width=na,Yo.height=Go,Vo.strokeStyle=Ge,Vo.lineWidth=$,Nr(Vo,{x:Jo,y:sa,w:En,h:un,points:sr,margin:lr}),Vo.globalCompositeOperation="destination-over",Vo.clip(),Vo.drawImage(Qo,ua[0],ua[1],Qo.width,Qo.height);var Xa=Vo.getImageData(Jo,sa,En,un);Vo.clearRect(0,0,na,Go),Yo.width=En,Yo.height=an?Go:un,Vo.putImageData(Xa,0,an?sa:0);var wa=la==="blob",ci=Vr(Yo,wa,eo.png,Tr),ni=Vr(Ko,wa,lo,Tr);Promise.all([ci,ni]).then(function(ri){var oi=ri[0],Oa=ri[1];po&&(Rr.length&&(Bo(Rr),Rr.length=0),wa&&Rr.push(Oa,oi)),Wo({puzzleUrl:oi,bgUrl:Oa,x:Jo,y:an?0:sa})}).catch(To)}).catch(To)})}var Ro=Object.defineProperty,ho=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable,Ia=(o,f,b)=>f in o?Ro(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,qo=(o,f)=>{for(var b in f||(f={}))va.call(f,b)&&Ia(o,b,f[b]);if(ho)for(var b of ho(f))da.call(f,b)&&Ia(o,b,f[b]);return o},Ea=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const Fa=({ModalProps:o,onFinish:f})=>{const[b,$]=(0,t.useState)(),Be=(0,t.useRef)(),Ge=()=>Ea(void 0,null,function*(){const rt=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,ke=yield go(rt,{imageHeight:180,imageWidth:360});return $(ke),ke}),ht=rt=>Ea(void 0,null,function*(){return rt!=null&&rt.x&&rt.x>b.x-5&&rt.x{var rt;o!=null&&o.open&&Be.current&&((rt=Be.current)==null||rt.refresh())},[o==null?void 0:o.open,Be]),t.createElement(S.default,qo({},qo({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},o)),t.createElement(Xr,{actionRef:Be,request:Ge,onVerify:rt=>Ea(void 0,null,function*(){return ht(rt)}),bgSize:{width:360,height:180}}),t.createElement("div",{className:"flex mt10"},t.createElement(h.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:t.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var rt;(rt=Be.current)==null||rt.refresh()}},"\u5237\u65B0")))};var Sa=t.memo(Fa),yo=e(59301),Ja=Object.defineProperty,La=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,aa=(o,f,b)=>f in o?Ja(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ra=(o,f)=>{for(var b in f||(f={}))Na.call(f,b)&&aa(o,b,f[b]);if(pa)for(var b of pa(f))xa.call(f,b)&&aa(o,b,f[b]);return o},Ta=(o,f)=>La(o,Ba(f)),Aa=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const ca={height:48},Wr=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,Pr=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,jo={timer:0};var Do=(o=>(o[o.setTimer=0]="setTimer",o))(Do||{});function Mo(o,f){switch(f.type){case 0:return Ta(Ra({},o),{timer:f.payload});default:throw new Error}}const ko=({validateName:o,getCode:f,register:b,style:$={},buttonText:Be="\u6CE8\u518C",globalSetting:Ge})=>{var ht;const[rt]=I.default.useForm(),[ke,Dt]=(0,t.useReducer)(Mo,jo),[En,pn]=(0,t.useState)(!1),{timer:un}=ke,[bn,Wn]=(0,t.useState)(!1);function Rn(at){return Aa(this,null,function*(){const{login:Lt,password:Pn,code:vr}=at,{message:er,status:lo}=yield b({login:Lt,password:Pn,code:vr});if(lo<0){rt.setFields([{name:"code",errors:[er]}]);return}window.location.reload()})}function lr(){return Aa(this,null,function*(){let at=rt.getFieldValue("login"),Lt=0;if(!Wr.test(at)||at.indexOf(" ")>-1)return rt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),Lt=1,Lt;let{status:Pn,message:vr}=yield o({login:at,type:1});return Pn>0?Lt=2:(rt.setFields([{name:"login",errors:[vr]}]),Lt=1),Lt})}const rn=()=>Aa(void 0,null,function*(){pn(!0);const at=rt.getFieldValue("verify"),Lt=rt.getFieldValue("login");if(!Lt)rt.validateFields(["login"]);else{const Pn=yield o({login:Lt,type:1});if((Pn==null?void 0:Pn.status)!==1){rt.setFields([{name:"login",errors:[Pn==null?void 0:Pn.message]}]);return}const{status:vr,message:er}=yield f({login:Lt,type:1,smscode:(0,B.M)(Lt)});vr<0&&rt.setFields([{name:"code",errors:[er]}]),Dt({type:0,payload:60})}pn(!1)});function an(at,Lt){if(!Lt)return Promise.resolve();if(!Pr.test(Lt)||Lt.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");const Pn=Lt.length;return Pn>=8&&Pn<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD")}const en=(at,Lt)=>Lt?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{un>0&&setTimeout(()=>{Dt({type:0,payload:un-1})},1e3)},[un]);const Ln=(at,Lt)=>Lt?Lt.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Wr.test(Lt)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return yo.createElement(yo.Fragment,null,yo.createElement(I.default,{layout:"vertical",form:rt,style:$,initialValues:{autologin:!0,protool:!1},onFinish:Rn},yo.createElement(I.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:Ln}]},yo.createElement(se.default,{style:ca,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onBlur:()=>lr,onChange:()=>rt.setFieldsValue({verify:0})})),!((ht=Ge==null?void 0:Ge.setting)!=null&&ht.is_local)&&yo.createElement(I.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},yo.createElement(se.default,{suffix:yo.createElement(h.ZP,{loading:En,type:"link",onClick:at=>{if(at.stopPropagation(),!rt.getFieldValue("login")){rt.validateFields(["login"]);return}Wn(!0)},disabled:un>0}," ",un===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${un}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),yo.createElement(D.Z,{title:yo.createElement("div",null,yo.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),yo.createElement("br",null),yo.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),yo.createElement("br",null),yo.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},yo.createElement(I.default.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"},{validator:an}]},yo.createElement(se.default.Password,{autoComplete:"new-password",style:ca,size:"middle",placeholder:"\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"}))),yo.createElement(I.default.Item,null,yo.createElement(h.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:ca,className:"font16"}," ",Be," ")),yo.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:35}},"\u6CE8\u518C\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",yo.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),yo.createElement(Sa,{ModalProps:{open:bn,onCancel:()=>{Wn(!1)}},onFinish:()=>{Wn(!1),rn()}}))};var Uo=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(ko),$o=e(89392),to=e(59301),ga=Object.defineProperty,ia=Object.defineProperties,za=Object.getOwnPropertyDescriptors,qa=Object.getOwnPropertySymbols,Za=Object.prototype.hasOwnProperty,ja=Object.prototype.propertyIsEnumerable,Wa=(o,f,b)=>f in o?ga(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ka=(o,f)=>{for(var b in f||(f={}))Za.call(f,b)&&Wa(o,b,f[b]);if(qa)for(var b of qa(f))ja.call(f,b)&&Wa(o,b,f[b]);return o},$a=(o,f)=>ia(o,za(f)),Ha=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const Ma={height:48},_a=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,ii=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,li={timer:0};var Po=(o=>(o[o.setTimer=0]="setTimer",o))(Po||{});function co(o,f){switch(f.type){case 0:return $a(Ka({},o),{timer:f.payload});default:throw new Error}}const So=({validateName:o,getCode:f,register:b,style:$={paddingRight:50},buttonText:Be="\u6CE8\u518C",globalSetting:Ge})=>{const[ht]=I.default.useForm(),[rt,ke]=(0,t.useReducer)(co,li),[Dt,En]=(0,t.useState)(!1),{timer:pn}=rt,[un,bn]=(0,t.useState)(!1);function Wn(Ln){return Ha(this,null,function*(){const{login:at,new_password:Lt,code:Pn}=Ln,{message:vr,status:er}=yield b({login:at,new_password:Lt,code:Pn});if(er<0){ht.setFields([{name:"code",errors:[vr]}]);return}location.reload()})}function Rn(){return Ha(this,null,function*(){let Ln=ht.getFieldValue("login"),at=0;if(!_a.test(Ln)||Ln.indexOf(" ")>-1)return ht.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),at=1,at;let{status:Lt,message:Pn}=yield o({login:Ln,type:2});return Lt>0?at=2:(ht.setFields([{name:"login",errors:[Pn]}]),at=1),at})}const lr=()=>Ha(void 0,null,function*(){const Ln=ht.getFieldValue("verify"),at=ht.getFieldValue("login");if(yield ht.validateFields(["login"]),!at)ht.validateFields(["login"]);else{En(!0);const{status:Lt,message:Pn}=yield f({login:at,type:2,smscode:(0,B.M)(at)});Lt<0&&ht.setFields([{name:"code",errors:[Pn]}]),ke({type:0,payload:60}),En(!1)}});function rn(Ln,at){if(!at)return Promise.resolve();if(!ii.test(at))return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");if(at.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const Lt=at.length;return Lt>=8&&Lt<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const an=(Ln,at)=>at?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{pn>0&&setTimeout(()=>{ke({type:0,payload:pn-1})},1e3)},[pn]);const en=(Ln,at)=>Ha(void 0,null,function*(){if(!at)return Promise.resolve();if(at.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1");if(_a.test(at)){let{status:Lt,message:Pn}=yield o({login:at,type:2});return Lt>0?Promise.resolve():Promise.reject(Pn)}else return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1")});return to.createElement(to.Fragment,null,to.createElement(I.default,{layout:"vertical",form:ht,style:$,initialValues:{autologin:!0,protool:!1},onFinish:(0,$o.throttle)(Wn,2e3)},to.createElement(I.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:(0,$o.throttle)(en,400)}]},to.createElement(se.default,{style:Ma,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>ht.setFieldsValue({verify:0})})),to.createElement(D.Z,{title:to.createElement("div",null,to.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),to.createElement("br",null),to.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),to.createElement("br",null),to.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},to.createElement(I.default.Item,{name:"new_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:rn}]},to.createElement(se.default.Password,{autoComplete:"new-password",style:Ma,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),to.createElement(I.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},to.createElement(se.default,{suffix:to.createElement(h.ZP,{loading:Dt,type:"link",onClick:Ln=>{if(Ln.stopPropagation(),!ht.getFieldValue("login")){ht.validateFields(["login"]);return}bn(!0)},disabled:pn>0}," ",pn===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${pn}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),to.createElement(I.default.Item,null,to.createElement(h.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:Ma,className:"font16"}," ",Be," ")),to.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",to.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),to.createElement(Sa,{ModalProps:{open:un,onCancel:()=>{bn(!1)}},onFinish:()=>{bn(!1),lr()}}))};var _o=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(So),ea=Object.defineProperty,Pa=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,ei=(o,f,b)=>f in o?ea(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,si=(o,f)=>{for(var b in f||(f={}))ha.call(f,b)&&ei(o,b,f[b]);if(Pa)for(var b of Pa(f))ka.call(f,b)&&ei(o,b,f[b]);return o};const ti=o=>React.createElement("svg",si({id:"wechat_svg__\\u56FE\\u5C42_1",xmlns:"http://www.w3.org/2000/svg",x:0,y:0,viewBox:"0 0 66 66",style:{enableBackground:"new 0 0 66 66"},xmlSpace:"preserve"},o),React.createElement("style",null,".wechat_svg__st1{fill:#00b913}"),React.createElement("g",{id:"wechat_svg__\\u9875\\u9762-1"},React.createElement("g",{id:"wechat_svg__\\u767B\\u5F55_x2F_\\u6CE8\\u518C",transform:"translate(-1081 -380)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-18\\u5907\\u4EFD",transform:"translate(1063 238)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-12",transform:"translate(18 142)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-10"},React.createElement("circle",{id:"wechat_svg__\\u692D\\u5706\\u5F62",cx:33,cy:33,r:33,style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#c6f4c9"}}),React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4",transform:"translate(12 15.429)"},React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84",className:"wechat_svg__st1",d:"M16.3 22.8c0-6.6 6-12.1 13.7-12.1h.4C29.1 4.6 22.7 0 15.4 0 7.2 0 .4 5.8.4 13.1c0 4.3 2.2 7.7 6 10.5l-1.5 4.7 5.2-2.7c1.7.4 3.5.7 5.3.8.5 0 .9 0 1.4-.1l.1-.1c-.4-1.1-.6-2.3-.6-3.4z"}),React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84_1_",className:"wechat_svg__st1",d:"M42.4 22.4c0-6.2-5.8-11.2-12.4-11.2-7 0-12.4 5.1-12.4 11.2S23.1 33.6 30 33.6c1.5-.1 3-.3 4.4-.8l4 2.3-1-3.8c2.8-2.3 5-5.5 5-8.9z"}),React.createElement("path",{id:"wechat_svg__\\u5F62\\u72B6",d:"M21.6 6c1-.1 1.8.7 1.9 1.7V8c.1 1-.7 1.9-1.6 2h-.2c-1.1.1-2.1-.8-2.2-2 0-1.2 1-2.1 2.1-2zM11.2 9.9C10.1 10 9.1 9.2 9 8c.1-1.2 1.1-2.1 2.2-2 1-.1 1.8.7 1.8 1.8V8c.1 1-.7 1.9-1.6 2h-.2zm15.2 10.7c-.8-.1-1.4-.7-1.5-1.6.1-.8.7-1.5 1.5-1.6.9-.1 1.7.6 1.9 1.6-.2 1-1 1.7-1.9 1.6zm8.2 0c-.8-.1-1.4-.7-1.5-1.6.1-.8.7-1.5 1.5-1.6.9-.1 1.7.6 1.9 1.6-.2 1-1 1.7-1.9 1.6z",style:{fill:"#fff"}}))))))));var Va="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSLlm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNjYgNjYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDY2IDY2IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGU+LnN0MXtmaWxsOiMwMGI5MTN9PC9zdHlsZT48ZyBpZD0i6aG16Z2iLTEiPjxnIGlkPSLnmbvlvZVfeDJGX+azqOWGjCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwODEgLTM4MCkiPjxnIGlkPSLnvJbnu4QtMTjlpIfku70iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwNjMgMjM4KSI+PGcgaWQ9Iue8lue7hC0xMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTggMTQyKSI+PGcgaWQ9Iue8lue7hC0xMCI+PGNpcmNsZSBpZD0i5qSt5ZyG5b2iIiBjeD0iMzMiIGN5PSIzMyIgcj0iMzMiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiNjNmY0YzkiLz48ZyBpZD0i57yW57uEIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiAxNS40MjkpIj48cGF0aCBpZD0i6Lev5b6EIiBjbGFzcz0ic3QxIiBkPSJNMTYuMyAyMi44YzAtNi42IDYtMTIuMSAxMy43LTEyLjFoLjRDMjkuMSA0LjYgMjIuNyAwIDE1LjQgMCA3LjIgMCAuNCA1LjguNCAxMy4xYzAgNC4zIDIuMiA3LjcgNiAxMC41bC0xLjUgNC43IDUuMi0yLjdjMS43LjQgMy41LjcgNS4zLjguNSAwIC45IDAgMS40LS4xbC4xLS4xYy0uNC0xLjEtLjYtMi4zLS42LTMuNHoiLz48cGF0aCBpZD0i6Lev5b6EXzFfIiBjbGFzcz0ic3QxIiBkPSJNNDIuNCAyMi40YzAtNi4yLTUuOC0xMS4yLTEyLjQtMTEuMi03IDAtMTIuNCA1LjEtMTIuNCAxMS4yUzIzLjEgMzMuNiAzMCAzMy42YzEuNS0uMSAzLS4zIDQuNC0uOGw0IDIuMy0xLTMuOGMyLjgtMi4zIDUtNS41IDUtOC45eiIvPjxwYXRoIGlkPSLlvaLnirYiIGQ9Ik0yMS42IDZjMS0uMSAxLjguNyAxLjkgMS43VjhjLjEgMS0uNyAxLjktMS42IDJoLS4yYy0xLjEuMS0yLjEtLjgtMi4yLTIgMC0xLjIgMS0yLjEgMi4xLTJ6TTExLjIgOS45QzEwLjEgMTAgOS4xIDkuMiA5IDhjLjEtMS4yIDEuMS0yLjEgMi4yLTIgMS0uMSAxLjguNyAxLjggMS44VjhjLjEgMS0uNyAxLjktMS42IDJoLS4yem0xNS4yIDEwLjdjLS44LS4xLTEuNC0uNy0xLjUtMS42LjEtLjguNy0xLjUgMS41LTEuNi45LS4xIDEuNy42IDEuOSAxLjYtLjIgMS0xIDEuNy0xLjkgMS42em04LjIgMGMtLjgtLjEtMS40LS43LTEuNS0xLjYuMS0uOC43LTEuNSAxLjUtMS42LjktLjEgMS43LjYgMS45IDEuNi0uMiAxLTEgMS43LTEuOSAxLjZ6IiBzdHlsZT0iZmlsbDojZmZmIi8+PC9nPjwvZz48L2c+PC9nPjwvZz48L2c+PC9zdmc+",gi=Object.defineProperty,hi=Object.getOwnPropertySymbols,Qi=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,yi=(o,f,b)=>f in o?gi(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ji=(o,f)=>{for(var b in f||(f={}))Qi.call(f,b)&&yi(o,b,f[b]);if(hi)for(var b of hi(f))Pi.call(f,b)&&yi(o,b,f[b]);return o};const qi=o=>React.createElement("svg",Ji({className:"QQUrl_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},o),React.createElement("path",{d:"M512 0C229.356 0 0 229.356 0 512s229.356 512 512 512 512-229.356 512-512S794.644 0 512 0zm235.75 647.603c-10.7 5.417-27.417-6.963-43.34-30.157-6.267 25.262-21.673 47.95-43.607 66.253 23.244 8.505 38.123 22.17 38.123 37.898 0 25.519-40.99 46.403-91.387 46.403-45.43 0-83.287-17.014-90.076-38.927h-10.967C499.446 751.243 461.85 768 416.42 768c-50.396 0-91.387-20.623-91.387-46.403 0-15.728 15.145-29.388 38.118-37.898-21.929-18.304-37.596-41.252-43.602-66.253-15.667 23.194-32.634 35.83-43.34 30.157-15.668-7.987-12.534-51.046 7.05-96.159 15.145-35.317 36.03-61.614 51.697-67.287-.262-2.319-.262-4.638-.262-6.707 0-13.66 3.917-26.291 10.445-36.608v-2.314c0-6.19 1.567-12.119 4.178-17.275C353.23 329.216 414.07 256 512.241 256s159.006 73.216 162.923 165.253a38.374 38.374 0 0 1 4.178 17.275v2.32c6.528 10.311 10.445 22.942 10.445 36.607 0 2.32 0 4.64-.261 6.702 15.923 5.673 36.557 31.97 51.696 67.287 19.062 45.118 22.196 88.167 6.528 96.16z",fill:"#378AFE"}));var Oi="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiAwQzIyOS4zNTYgMCAwIDIyOS4zNTYgMCA1MTJzMjI5LjM1NiA1MTIgNTEyIDUxMiA1MTItMjI5LjM1NiA1MTItNTEyUzc5NC42NDQgMCA1MTIgMHptMjM1Ljc1IDY0Ny42MDNjLTEwLjcgNS40MTctMjcuNDE3LTYuOTYzLTQzLjM0LTMwLjE1Ny02LjI2NyAyNS4yNjItMjEuNjczIDQ3Ljk1LTQzLjYwNyA2Ni4yNTMgMjMuMjQ0IDguNTA1IDM4LjEyMyAyMi4xNyAzOC4xMjMgMzcuODk4IDAgMjUuNTE5LTQwLjk5IDQ2LjQwMy05MS4zODcgNDYuNDAzLTQ1LjQzIDAtODMuMjg3LTE3LjAxNC05MC4wNzYtMzguOTI3aC0xMC45NjdDNDk5LjQ0NiA3NTEuMjQzIDQ2MS44NSA3NjggNDE2LjQyIDc2OGMtNTAuMzk2IDAtOTEuMzg3LTIwLjYyMy05MS4zODctNDYuNDAzIDAtMTUuNzI4IDE1LjE0NS0yOS4zODggMzguMTE4LTM3Ljg5OC0yMS45MjktMTguMzA0LTM3LjU5Ni00MS4yNTItNDMuNjAyLTY2LjI1My0xNS42NjcgMjMuMTk0LTMyLjYzNCAzNS44My00My4zNCAzMC4xNTctMTUuNjY4LTcuOTg3LTEyLjUzNC01MS4wNDYgNy4wNS05Ni4xNTkgMTUuMTQ1LTM1LjMxNyAzNi4wMy02MS42MTQgNTEuNjk3LTY3LjI4Ny0uMjYyLTIuMzE5LS4yNjItNC42MzgtLjI2Mi02LjcwNyAwLTEzLjY2IDMuOTE3LTI2LjI5MSAxMC40NDUtMzYuNjA4di0yLjMxNGMwLTYuMTkgMS41NjctMTIuMTE5IDQuMTc4LTE3LjI3NUMzNTMuMjMgMzI5LjIxNiA0MTQuMDcgMjU2IDUxMi4yNDEgMjU2czE1OS4wMDYgNzMuMjE2IDE2Mi45MjMgMTY1LjI1M2EzOC4zNzQgMzguMzc0IDAgMCAxIDQuMTc4IDE3LjI3NXYyLjMyYzYuNTI4IDEwLjMxMSAxMC40NDUgMjIuOTQyIDEwLjQ0NSAzNi42MDcgMCAyLjMyIDAgNC42NC0uMjYxIDYuNzAyIDE1LjkyMyA1LjY3MyAzNi41NTcgMzEuOTcgNTEuNjk2IDY3LjI4NyAxOS4wNjIgNDUuMTE4IDIyLjE5NiA4OC4xNjcgNi41MjggOTYuMTZ6IiBmaWxsPSIjMzc4QUZFIi8+PC9zdmc+",ui={"other-login":"other-login___Jd48Z","btn-link":"btn-link___MhTA6","wechat-qrcode":"wechat-qrcode___bLWkh",driver:"driver___IuicK"},Di=e(346),xo=e(59301);const bi=window.location.host,di=Di.Z.QQLoginCB;var $i=({onWechatLogin:o,setType:f,loginType:b})=>{function $(){let Be="";return(0,B.b9)()?Be=`https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=${di}%2fotherloginqq&state=null,${bi}&response_type=code`:Be=`https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=${di}%2fotherloginqq&state=null,${bi}&response_type=code`,Be}return xo.createElement(xo.Fragment,null,(b===1||b===2)&&xo.createElement("div",{style:{marginTop:(0,B.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u6CA1\u6709\u8D26\u53F7\uFF1F",xo.createElement("span",{onClick:()=>f(3),className:"c-blue current"},"\u514D\u8D39\u6CE8\u518C")),(b===3||b===4||b===5)&&xo.createElement("div",{style:{marginTop:(0,B.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u5DF2\u6709\u8D26\u53F7\uFF1F",xo.createElement("span",{onClick:()=>f(1),className:"c-blue current"},"\u7ACB\u5373\u767B\u5F55")),!(0,B.WX)()&&xo.createElement(xo.Fragment,null,xo.createElement("p",{className:ui.driver},xo.createElement("span",{style:{color:"#444444"}},"\u5FEB\u901F\u767B\u5F55")),xo.createElement("div",{className:ui["other-login"]},(0,B.s2)()&&(0,B.IS)()&&xo.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{margin:0},onClick:o},xo.createElement("img",{src:Va,alt:"\u5FAE\u4FE1",width:66})),(0,B.s2)()&&!(0,B.IS)()&&xo.createElement("a",{title:"qq\u767B\u5F55",rel:"noreferrer noopener nofollow",style:{margin:0},href:$()},xo.createElement("img",{src:Oi,alt:"QQ",width:66})),(0,B.b9)()&&xo.createElement(xo.Fragment,null,xo.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{marginRight:(0,B.IS)()?0:40},onClick:o},xo.createElement("img",{src:Va,alt:"\u5FAE\u4FE1",width:66})),!(0,B.IS)()&&xo.createElement("a",{title:"qq\u767B\u5F55",href:$()},xo.createElement("img",{src:Oi,alt:"QQ",width:66}))))))};function Fi({onBack:o,setType:f}){return xo.createElement(xo.Fragment,null,xo.createElement("div",{style:{overflow:"hidden",width:300,height:300,margin:"20px auto 0 auto"}},xo.createElement("iframe",{className:ui["wechat-qrcode"],frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:`https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=${di}%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,${bi}#wechat_redirect`})),xo.createElement("div",{style:{marginTop:17,marginBottom:10},className:"font16 bold tc c-blue current"},xo.createElement("span",{onClick:()=>f(1),style:{borderBottom:"2px solid #0152d9"}},"\u8FD4\u56DE\u8D26\u53F7\u767B\u5F55")))}var _i=Object.defineProperty,Li=Object.defineProperties,el=Object.getOwnPropertyDescriptors,Ci=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,Ri=(o,f,b)=>f in o?_i(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ti=(o,f)=>{for(var b in f||(f={}))tl.call(f,b)&&Ri(o,b,f[b]);if(Ci)for(var b of Ci(f))Ni.call(f,b)&&Ri(o,b,f[b]);return o},nl=(o,f)=>Li(o,el(f)),zi=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const fi={height:48},Zi=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,rl=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,ji={timer:0};var Wi=(o=>(o[o.setTimer=0]="setTimer",o))(Wi||{});function Ki(o,f){switch(f.type){case 0:return nl(Ti({},o),{timer:f.payload});default:throw new Error}}const Hi=({validateName:o,getCode:f,register:b,style:$={},buttonText:Be="\u6CE8\u518C",globalSetting:Ge})=>{const[ht]=I.default.useForm(),[rt,ke]=(0,t.useReducer)(Ki,ji),[Dt,En]=(0,t.useState)(!1),{timer:pn}=rt;function un(Wn){return zi(this,null,function*(){const{old_password:Rn,newPassword:lr}=Wn,{message:rn,status:an}=yield b({old_password:Rn,newPassword:lr});if(an<0){ht.setFields([{name:"code",errors:[rn]}]);return}})}const bn=(Wn,Rn,lr)=>{Rn?Rn.indexOf(" ")>-1?lr("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):Rn.length<8||Rn.length>16?lr("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01"):rl.test(Rn)?lr():lr("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):lr("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01")};return(0,t.useEffect)(()=>{pn>0&&setTimeout(()=>{ke({type:0,payload:pn-1})},1e3)},[pn]),t.createElement(I.default,{layout:"vertical",form:ht,style:$,initialValues:{autologin:!0,protool:!1},onFinish:un},t.createElement(I.default.Item,{name:"old_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}]},t.createElement(se.default,{style:fi,autoComplete:"new-login",size:"middle",type:"password",placeholder:"\u8BF7\u8F93\u5165\u65E7\u5BC6\u7801",onChange:()=>ht.setFieldsValue({verify:0})})),t.createElement(D.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(I.default.Item,{name:"newPassword",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:bn}]},t.createElement(se.default.Password,{autoComplete:"new-password",style:fi,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),t.createElement(D.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(I.default.Item,{name:"againPassword",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},{validator:(Wn,Rn,lr)=>{Rn!=ht.getFieldsValue().newPassword?lr("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01"):lr()}}]},t.createElement(se.default.Password,{autoComplete:"new-password",style:fi,size:"middle",placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"}))),t.createElement(I.default.Item,null,t.createElement(h.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:fi,className:"font16"}," ",Be," ")),t.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var ki=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(Hi),Ei=e(99313),Si=e(95237),fa=e(43604),Vi=Object.defineProperty,xi=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,N=(o,f,b)=>f in o?Vi(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,j=(o,f)=>{for(var b in f||(f={}))a.call(f,b)&&N(o,b,f[b]);if(xi)for(var b of xi(f))l.call(f,b)&&N(o,b,f[b]);return o},ee=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const{TabPane:ae}=Ei.default,ze=({dispatch:o,is_main_site:f,is_local:b,globalSetting:$,style:Be={}})=>{const[Ge,ht]=(0,t.useState)(!1),[rt,ke]=(0,t.useState)("1"),[Dt,En]=(0,t.useState)(1),[pn,un]=(0,t.useState)();function bn(){En(1),ht(!1)}function Wn(){En(2),ht(!0)}function Rn(at){console.log(at),ke(at)}const lr={buttonText:"\u767B \u5F55",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){const Lt=yield(0,ue.Gq)({phone:at.login,code:at.code});return Lt.status===0?(Lt!=null&&Lt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Lt==null?void 0:Lt.start_date)):localStorage.removeItem("extension-modal"),"/"):Lt})},rn={buttonText:"\u6CE8\u518C\u5E76\u767B\u5F55",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){const Lt=yield(0,ue.z2)(j({},at));return Lt.status===0?(localStorage.getItem("addinfo")==="1"?localStorage.setItem("addinfo","2"):localStorage.setItem("registeruser","1"),localStorage.removeItem("extension-modal"),n.ZP.info("\u6CE8\u518C\u5E76\u767B\u9646\u6210\u529F"),"/"):Lt})},an={buttonText:"\u4FEE\u6539\u5BC6\u7801",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){const Lt=yield(0,ue.Ex)(j({login:pn},at));return n.ZP.info("\u4FEE\u6539\u5BC6\u7801\u6210\u529F"),Lt})},en={buttonText:"\u4FEE\u6539\u5E76\u767B\u5F55",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){at.new_password_confirmation=at.new_password;const Lt=yield(0,ue.c0)(j({},at));return Lt.status===0?(Lt!=null&&Lt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Lt==null?void 0:Lt.start_date)):localStorage.removeItem("extension-modal"),n.ZP.info("\u4FEE\u6539\u6210\u529F"),"/"):Lt})},Ln=(0,t.useCallback)(()=>{var at,Lt,Pn,vr;switch(Dt){case 1:return t.createElement(Ei.default,{defaultActiveKey:rt,onChange:Rn,className:Me.tabs},t.createElement(ae,{tab:"\u8D26\u53F7\u767B\u5F55",key:"1"},t.createElement("div",{className:"mt20"},rt==="1"&&t.createElement(z,{setusername:un,setType:En})),((at=$==null?void 0:$.setting)==null?void 0:at.sso_login_url)&&t.createElement("div",{style:{position:"absolute",top:"-80px",right:"10px"}},t.createElement("a",{target:"_blank",href:(Lt=$==null?void 0:$.setting)==null?void 0:Lt.sso_login_url},t.createElement("img",{src:`${Di.Z.IMG_SERVER}/${(Pn=$.setting)==null?void 0:Pn.login_logo_url}`,width:40}),t.createElement("span",{style:{color:"#333",fontSize:"14px",fontWeight:500,paddingLeft:"10px"}},(vr=$==null?void 0:$.setting)==null?void 0:vr.sso_login_button_name)))));case 2:return t.createElement(Fi,{setType:En,onBack:bn});case 3:return t.createElement("div",{className:"ml40"},t.createElement("h1",{className:"font18 mb20 mt35"},"\u65B0\u7528\u6237\u6CE8\u518C"),t.createElement(Uo,j({},rn)));case 4:return t.createElement("div",{className:"ml40"},t.createElement("h1",{className:"font18 mb20 mt35"},"\u627E\u56DE\u5BC6\u7801"),t.createElement(_o,j({},en)));case 5:return t.createElement("div",{className:"ml40"},t.createElement("h1",{className:"font18 mb20 mt35"},"\u4FEE\u6539\u5BC6\u7801"),t.createElement(ki,j({},an)))}},[Dt,rt]);return t.createElement("div",{className:Me["login-panel-wrapper2"],style:Be},t.createElement(Si.Z,null,t.createElement(fa.Z,{flex:"1"},Ln()),t.createElement(fa.Z,{flex:"295px",className:Me["login-panel-right-wrp"]},!b&&t.createElement($i,{loginType:Dt,setType:En,onWechatLogin:Wn}))))};var Ze=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(ze),Oe={popLogin:"popLogin___R8wQQ"};const Ye=({user:o,globalSetting:f,loading:b,dispatch:$})=>{var Be,Ge;const ht=()=>{$({type:"user/showPopLogin",payload:{showPopLogin:!1,showClosable:!1}})},rt=(Be=f.setting)==null?void 0:Be.main_site,ke=(Ge=f.setting)==null?void 0:Ge.is_local,[Dt,En]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{var pn,un;console.log(f.setting),console.log(o.showPopLogin),f.setting&&((pn=f.setting)!=null&&pn.hide_account_login?o.showPopLogin&&(d.history.push((un=f==null?void 0:f.setting)==null?void 0:un.sso_login_url),$({type:"user/showPopLogin",payload:{showPopLogin:!1}})):En(!1))},[f==null?void 0:f.setting,o.showPopLogin]),t.createElement(S.default,{centered:!0,visible:o.showPopLogin&&!Dt,footer:null,width:ke?460:765,keyboard:!1,maskClosable:!1,destroyOnClose:!0,wrapClassName:Oe.popLogin,closable:o.showClosable,onCancel:ht},o.showPopLogin&&t.createElement(Ze,{is_main_site:rt,is_local:ke}))};var ct=(0,d.connect)(({user:o,loading:f,globalSetting:b})=>({user:o,globalSetting:b,loading:f.models.index}))(Ye),Qe=e(38986),Rt={popLogin:"popLogin___u08I8",tips:"tips___U2xQw"},wt=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const Ft=/^1\d{10}$/,sn=/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/,Jt=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,cn=({user:o,globalSetting:f,dispatch:b})=>{const[$]=(0,d.useSearchParams)(),Be={height:48,borderRadius:4},[Ge]=I.default.useForm(),ht=()=>{b({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}),Ge.resetFields()},rt=(at,Lt)=>Lt?Lt.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Ft.test(Lt)||sn.test(Lt)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve(),[ke,Dt]=(0,t.useState)(60),En=(0,t.useMemo)(()=>ke<60&&ke>0,[ke]),pn=(0,t.useRef)(),un=()=>wt(void 0,null,function*(){clearInterval(pn.current),Dt(60),pn.current=setInterval(function at(){return Dt(Lt=>Lt-1),at}(),1e3)}),[bn,Wn]=(0,t.useState)(!1),[Rn,lr]=(0,t.useState)(!1);(0,t.useEffect)(()=>{o.bindAccountModalVisible?lr(!0):lr(!1)},[o]);const rn=()=>wt(void 0,null,function*(){var at;const Lt=Ge.getFieldValue("userInput"),Pn=Ft.test(Lt),vr=sn.test(Lt);if(!Pn&&!vr){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}if(Wn(!0),Pn){const no=yield(0,Qe.ZP)(`/api/users/accounts/${(at=o.userInfoForBindAccountModal)==null?void 0:at.login}/valid_phone.json`,{method:"get",params:{phone:Lt}});if((no==null?void 0:no.status)===-1){Wn(!1);return}if(no!=null&&no.is_exists){n.ZP.info("\u8BE5\u624B\u673A\u53F7\u5DF2\u88AB\u5176\u5B83\u8D26\u53F7\u7ED1\u5B9A"),Wn(!1);return}}else{const no=yield(0,Qe.ZP)("/api/accounts/valid_email_and_phone",{method:"get",params:{login:Lt,type:1}});if((no==null?void 0:no.status)===-3){n.ZP.info("\u8BE5\u90AE\u7BB1\u5DF2\u88AB\u6CE8\u518C"),Wn(!1);return}}let er=(0,B.M)(Lt);const lo=yield b({type:"account/getCode",payload:{login:Lt,type:Pn?3:4,smscode:er}});Wn(!1),lo.status===1&&(n.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),un())}),an=()=>wt(void 0,null,function*(){var at,Lt;yield Ge.validateFields();const Pn=Ge.getFieldValue("userInput"),vr=Ge.getFieldValue("code"),er=Ft.test(Pn),lo=sn.test(Pn);if(!er&&!lo){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}return er?(yield b({type:"account/bindPhone",payload:{login:(at=o.userInfoForBindAccountModal)==null?void 0:at.login,phone:Pn,code:vr}})).status===0:(yield b({type:"account/bindEmail",payload:{login:(Lt=o.userInfoForBindAccountModal)==null?void 0:Lt.login,email:Pn,code:vr}})).status===0}),en=()=>wt(void 0,null,function*(){const at=o.loginInfo;Jt.test(at.password)||n.ZP.error("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539");const Lt=yield(0,ue.Es)(at);if(Lt.status){n.ZP.error(Lt==null?void 0:Lt.message);return}if(Lt!=null&&Lt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Lt==null?void 0:Lt.start_date)):localStorage.removeItem("extension-modal"),location.pathname==="/user/login"||location.pathname==="/login"){let Pn=$.get("from")||$.get("back_url");Pn?window.location.href=decodeURIComponent(Pn):Jt.test(at.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure")}else Jt.test(at.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),d.history.replace("/account/secure?active=3"),b({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}));Ge.resetFields()}),Ln=()=>wt(void 0,null,function*(){(yield an())&&(yield en())});return t.createElement(S.default,{centered:!0,open:Rn,footer:null,width:596,keyboard:!1,maskClosable:!0,wrapClassName:Rt.popLogin,closable:!0,onCancel:ht},t.createElement("h1",{className:"font18 mb20"},"\u624B\u673A\u53F7/\u90AE\u7BB1\u7ED1\u5B9A"),t.createElement(I.default,{layout:"vertical",form:Ge,autoComplete:"off",preserve:!1},t.createElement(I.default.Item,{name:"userInput",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7/\u90AE\u7BB1"},{validator:rt}]},t.createElement(se.default,{style:Be,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7"})),t.createElement(I.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},t.createElement(se.default,{suffix:t.createElement(h.ZP,{loading:bn,type:"link",onClick:rn,disabled:En},En?`${ke}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`:"\u83B7\u53D6\u9A8C\u8BC1\u7801"),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"}))),t.createElement("div",{className:Rt.tips},"\u4E3A\u4E86\u8D26\u53F7\u5B89\u5168\u6027\uFF0C\u7ED1\u5B9A\u540E\u53EF\u901A\u8FC7\u8BE5\u624B\u673A\u53F7\u6216\u90AE\u7BB1\u627E\u56DE\u5BC6\u7801"),t.createElement(h.ZP,{size:"middle",type:"primary",block:!0,style:Be,className:"font16",onClick:Ln},"\u7ED1\u5B9A\u5E76\u767B\u5F55"),t.createElement("div",{className:Rt.tips},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var _t=(0,d.connect)(({user:o,loading:f,globalSetting:b})=>({user:o,globalSetting:b,loading:f.models.index}))(cn),yn=e(71418),Jn=e(61186),Gn=e.n(Jn),Nn=e(65218),fr={wrap:"wrap___q9xAc",list:"list___qjgdz",name:"name___ncYhC",tag:"tag___Paafn"},Er=e(49535),wn=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())}),In=({})=>{const[o,f]=(0,t.useState)(!1),[b,$]=(0,t.useState)(!1),[Be,Ge]=(0,t.useState)([]),[ht,rt]=(0,t.useState)([]),[ke,Dt]=(0,t.useState)(!1),[En,pn]=(0,t.useState)(!1),[un,bn]=(0,t.useState)(null),Wn=(0,d.useLocation)(),[Rn]=(0,d.useSearchParams)();(0,t.useEffect)(()=>{Er.Z.subscribe("pod-restrict-data",an=>{var en,Ln;console.log(an,"data");const at=(en=an==null?void 0:an.data_list)==null?void 0:en[0];if(!(at!=null&&at.msg)){$(!0);return}(Ln=at==null?void 0:at.msg)!=null&&Ln.includes("cpu")&&bn({required:`${at==null?void 0:at.cpu_need}\u6838${at==null?void 0:at.mem_need}GB`,available:`${Math.max((at==null?void 0:at.max_cpu)-(at==null?void 0:at.cpu_use),0)}\u6838${Math.max((at==null?void 0:at.max_mem)-(at==null?void 0:at.mem_use),0)}GB`,maximum:`${at==null?void 0:at.max_cpu}\u6838${at==null?void 0:at.max_mem}GB`}),f(an.identifier||!1),Ge(an.data_list||[]),rt([]),Dt(!1)})},[]);const lr=()=>wn(void 0,null,function*(){pn(!0);const an=Be.filter(Ln=>ht.includes(Ln.tpi_id));(yield(0,Qe.ZP)("/api/myshixuns/batch_del_pods.json",{method:"delete",body:{del_pods:an}})).status===0&&window.location.reload(),pn(!1)}),rn=()=>{var an;if(console.log(Wn,"location"),(an=Wn.pathname)!=null&&an.includes("/challenges")){window.location.href="/shixuns";return}if(Rn.get("type")==="exercises"){window.parent.postMessage("backExercise","*"),Er.Z.publish("pod-restrict-data",{identifier:!1,data_list:[]});return}window.location.href=`/shixuns/${o}/challenges`};return t.createElement(t.Fragment,null,t.createElement(S.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:b,title:"\u901A\u77E5",width:"750px",onCancel:rn,footer:null},t.createElement("div",{className:"mb20"},"\u5F53\u524D\u5B9E\u8BAD\u6D88\u8017\u8D44\u6E90\u8FC7\u5927\uFF0C\u5DF2\u8D85\u8FC7\u7528\u6237\u53EF\u4F7F\u7528cpu\u3001\u5185\u5B58\u8D44\u6E90\u3002"),t.createElement(h.ZP,{type:"primary",className:"mb20",onClick:()=>(0,B.xg)("/account/resource")},"\u7ACB\u5373\u7533\u8BF7\u8D44\u6E90")),t.createElement(S.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:o,title:"\u901A\u77E5",width:"750px",footer:t.createElement(Si.Z,{align:"middle",justify:"center"},t.createElement(le.default,{onChange:an=>{var en;Dt(an.target.checked),an.target.checked?rt((en=Be==null?void 0:Be.filter(Ln=>!Ln.is_current_shixun))==null?void 0:en.map(Ln=>Ln.tpi_id)):rt([])},checked:ke},"\u5168\u9009"),!!un&&t.createElement("span",{onClick:()=>(0,B.xg)("/account/resource"),className:"current c-light-primary ml10"},"\u7ACB\u5373\u7533\u8BF7\u8D44\u6E90"),t.createElement(h.ZP,{style:{marginLeft:"auto"},onClick:rn},"\u53D6\u6D88"),t.createElement(h.ZP,{disabled:!ht.length,loading:En,type:"primary",onClick:lr},"\u5173\u95ED\u5B9E\u8BAD")),onCancel:rn},t.createElement(yn.Z,{spinning:En},t.createElement("div",{className:fr.wrap},un?t.createElement("p",null,t.createElement("div",null,"\u5F53\u524D\u9879\u76EE\u9700\u8981CPU\u8D44\u6E90\u4E3A",t.createElement("b",null,un==null?void 0:un.required),"\uFF0C\u60A8\u53EF\u4F7F\u7528\u7684\u8BA1\u7B97\u8D44\u6E90\u4E0D\u8DB3\uFF0C\u82E5\u60F3\u5F00\u542F\u8BE5\u5B9E\u8BAD\u8BF7\u5173\u95ED\u5176\u4ED6\u5B9E\u8BAD\u6216\u8005\u7533\u8BF7\u66F4\u591A\u8D44\u6E90"),t.createElement("div",null,"CPU\u8D44\u6E90\uFF1A",t.createElement("b",null,un==null?void 0:un.available)," \u53EF\u7528\uFF08\u6700\u5927\u540C\u65F6\u53EF\u4F7F\u7528",t.createElement("b",null,un==null?void 0:un.maximum),"\uFF09")):t.createElement("p",null,"\u5355\u4E2A\u8D26\u53F7\u6700\u591A\u53EF\u540C\u65F6\u5F00\u542F10\u4E2A\u5B9E\u9A8C\u73AF\u5883\uFF0C\u82E5\u60F3\u5F00\u542F\u8BE5\u5B9E\u8BAD\u8BF7\u5173\u95ED\u5176\u4ED6\u5B9E\u8BAD\u3002"),Be==null?void 0:Be.map(an=>t.createElement("div",{className:fr.list,key:an.tpi_id},t.createElement(le.default,{disabled:an.is_current_shixun,onChange:en=>{let Ln=[...ht];en.target.checked?Ln.push(an.tpi_id):Ln=ht.filter(at=>at!==an.tpi_id),rt(Ln),Dt(Ln.length===Be.length)},checked:ht==null?void 0:ht.includes(an.tpi_id)}),t.createElement("span",{className:fr.name,onClick:()=>(0,B.xg)(`/shixuns/${an.shixun_identifier}/challenges`),title:an.shixun_name},t.createElement("b",null,an.shixun_name),an.is_current_shixun&&t.createElement("span",{className:fr.tag},"\u5F53\u524D\u5B9E\u8BAD")),un?t.createElement("span",{style:{color:"#53d1a3"}},"\u5360\u7528CPU\u8D44\u6E90\u5927\u5C0F\uFF1A",`${an==null?void 0:an.cpu_limit}\u6838${an==null?void 0:an.memory_limit}GB`):t.createElement("span",{style:{color:"#53d1a3"}},"\u8FD0\u884C\u4E2D\u7684\u73AF\u5883\uFF1A",an.pod_num,"\u4E2A")))))))},Mn={token:{colorPrimary:"#3061D0",colorInfo:"#3061D0",colorLink:"#3061D0",borderRadius:2,fontSizeLG:14},components:{Radio:{radioSize:16,dotSize:6},Modal:{titleFontSize:16,titleColor:"#000"}}},mr=e(59301),Ar=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Or=(o,f)=>{var b={};for(var $ in o)Sr.call(o,$)&&f.indexOf($)<0&&(b[$]=o[$]);if(o!=null&&Ar)for(var $ of Ar(o))f.indexOf($)<0&&or.call(o,$)&&(b[$]=o[$]);return b},Zr=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const io=o=>{var f=o,{loading:b,globalSetting:$,dispatch:Be}=f,Ge=Or(f,["loading","globalSetting","dispatch"]);const ht="https://educoder-public.oss-cn-hangzhou.aliyuncs.com/Cover/logo_simple?x-oss-process=image/resize,h_200,w_200,m_pad",rt="\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002";(0,t.useEffect)(()=>{(0,B.IS)()&&Dt()},[]),(0,t.useEffect)(()=>{Be({type:"globalSetting/setShareData",payload:{desc:"\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002",title:document.title,imgUrl:ht}})},[location.pathname]),(0,t.useEffect)(()=>{ke()},[$==null?void 0:$.shareData]);const ke=()=>{var pn;(pn=window.wx)==null||pn.ready(function(){var un,bn,Wn,Rn,lr,rn,an={title:((un=$==null?void 0:$.shareData)==null?void 0:un.title)||document.title,desc:((bn=$==null?void 0:$.shareData)==null?void 0:bn.desc)||rt,link:window.location.href,imgUrl:((Rn=(Wn=$==null?void 0:$.shareData)==null?void 0:Wn.imgUrl)==null?void 0:Rn.replace("https://public.educoder.net","https://educoder-public.oss-cn-hangzhou.aliyuncs.com/"))||ht};(lr=window.wx)==null||lr.onMenuShareAppMessage(an),(rn=window.wx)==null||rn.onMenuShareTimeline(an)})};function Dt(){return Zr(this,null,function*(){const pn=yield(0,Qe.ZP)(`/api/users/js_sdk_data.json?url=${encodeURIComponent(location.href)}`,{method:"get"});(pn==null?void 0:pn.status)===0&&En(pn)})}function En(pn){window.wx.config({debug:!1,appId:(pn==null?void 0:pn.appid)||"wx2402d86a6b534f77",timestamp:(pn==null?void 0:pn.timestamp)||1716781260,nonceStr:(pn==null?void 0:pn.noncestr)||"WjRUMvS[",signature:(pn==null?void 0:pn.signature)||"0e182307b372cf71796c33e01b462cbfca0b9930",jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone"]})}return mr.createElement(mr.Fragment,null)};var Qr=(0,d.connect)(({loading:o,globalSetting:f})=>({loading:o,globalSetting:f}))(io),Fo=e(65517),Ao=e(93083),xr=e(9399),oo=e(59301),$r=Object.defineProperty,bo=Object.defineProperties,vo=Object.getOwnPropertyDescriptors,Xo=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,_n=(o,f,b)=>f in o?$r(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Vn=(o,f)=>{for(var b in f||(f={}))ir.call(f,b)&&_n(o,b,f[b]);if(Xo)for(var b of Xo(f))ar.call(f,b)&&_n(o,b,f[b]);return o},Jr=(o,f)=>bo(o,vo(f)),Qn=(o,f)=>{var b={};for(var $ in o)ir.call(o,$)&&f.indexOf($)<0&&(b[$]=o[$]);if(o!=null&&Xo)for(var $ of Xo(o))f.indexOf($)<0&&ar.call(o,$)&&(b[$]=o[$]);return b},Cr=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});Gn().locale("zh-cn");const Yr=o=>{var f=o,{loading:b,globalSetting:$,user:Be,dispatch:Ge}=f,ht=Qn(f,["loading","globalSetting","user","dispatch"]),rt;const ke=(0,d.useLocation)(),[Dt]=(0,d.useSearchParams)(),En=(0,Nn.g)(),{globalLoading:pn}=$,[un,bn]=(0,t.useState)(!1),Wn=()=>Cr(void 0,null,function*(){let rn,an;const en=ke.pathname.split("/");if(ke!=null&&ke.search){let Ln,at;en.includes("paths")?Ln=en[2]:en.includes("tasks")&&(at=en[2]),rn=yield Ge({type:"user/getUserInfo",payload:Jr(Vn(Vn({},En),(0,B.oP)()),{subject_id:Ln,game_id:at,websiteName:"educoder"})})}else en.includes("tasks")&&(an=en[2]),rn=yield Ge({type:"user/getUserInfo",payload:Jr(Vn({},En),{game_id:an})});(rn==null?void 0:rn.username)!=="\u6E38\u5BA2"&&(ke.pathname==="/login"&&(window.location.href="/"),ke.pathname!=="/user/login"&&ke.pathname!=="/login"&&window.sessionStorage.getItem("download_url")&&((0,B.Nd)("educoder",window.sessionStorage.getItem("download_url")),window.sessionStorage.removeItem("download_url"))),rn.status===-5&&bn({data:[rn.message],accountInfo:{user_token:rn.message.user_token}})}),Rn=()=>Cr(void 0,null,function*(){var rn,an,en,Ln;const at=yield(0,Qe.ZP)("/api/user_concurrencies",{method:"get"});let Lt=JSON.parse(localStorage==null?void 0:localStorage.getItem("delaytip_class"));(at==null?void 0:at.status)===0&&((rn=at==null?void 0:at.data)!=null&&rn.limit?((!Lt||Gn()(Lt==null?void 0:Lt.time).add(5,"minutes"){u.ZP.config({prefixCls:"ant",iconPrefixCls:"anticon",theme:Vn({},Mn)})},[$.theme]),(0,t.useEffect)(()=>{Wn(),(0,B.Il)(),function(){function rn(){var an=document.documentElement,en=an.clientWidth,Ln=1920,at=en/Ln;at=at>2?2:at<.6?.6:at,an.style.fontSize=at+"px"}window.addEventListener("resize",rn),rn()}()},[]),(0,t.useEffect)(()=>{Ge({type:"globalSetting/query",payload:{}});try{window.top.location.origin}catch(rn){document.referrer.indexOf("educoder.net")===-1&&(window.location.href=window.atob("Jy80MDMn"))}},[]),(0,t.useEffect)(()=>{var rn,an,en,Ln,at;if(ke.pathname.indexOf("classrooms")>-1&&ke.pathname.indexOf("detail")===-1||document.body.scrollIntoView(),ke.pathname.indexOf("/classrooms/4RW9CYHY")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/4RW9CYHY/exercise";return}if(ke.pathname.indexOf("/classrooms/qb4ft587")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/qb4ft587/exercise";return}if(ke.pathname.indexOf("/classrooms/c5q9bsp2")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/c5q9bsp2/exercise";return}if(Ge({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),window.location.href==="https://jetcoder.educoder.net"||window.location.href==="https://jetcoder.educoder.net/"){window.location.href="https://www.educoder.net/problems";return}if((rn=window.location.href)!=null&&rn.includes("/problems")&&((an=window.location.href)!=null&&an.includes("/share"))){const Lt=(at=(Ln=(en=window.location)==null?void 0:en.pathname)==null?void 0:Ln.split("/"))==null?void 0:at[2];(0,Qe.ZP)(`/api/practices/${Lt}/start`,{method:"get"}).then(vr=>{(vr==null?void 0:vr.status)===0&&d.history.replace(`/problems/${vr==null?void 0:vr.identifier}/oj/${Lt}`)});return}if(ke.pathname==="/admins"||ke.pathname==="/sidekiq"){const Lt=document.domain;if(Lt.indexOf("educoder.net")>-1)switch(Lt){case"www.educoder.net":case"educoder.net":window.location.href=`https://data.educoder.net${ke.pathname}`;break;default:let Pn=document.domain.split(".");Pn[0]=Pn[0]+"-data",window.location.href=`https://${Pn.join(".")}${ke.pathname}`;break}}S.default.destroyAll()},[ke.pathname]),(0,t.useEffect)(()=>{$.updateData.system_update?localStorage.updateEndTime||new Date().getTime(){localStorage.updateEndTime=$.updateData.end_time}}):localStorage.removeItem("updateEndTime")},[$.updateData.system_update]),(0,t.useEffect)(()=>{var rn;if((rn=Be==null?void 0:Be.userInfo)!=null&&rn.login){Rn();const an=setInterval(Rn,3e4);return()=>{clearInterval(an)}}},[Be==null?void 0:Be.userInfo]),(0,t.useEffect)(()=>{var rn,an;if((0,B.WX)()){if(!((rn=$==null?void 0:$.setting)!=null&&rn.version))return;(0,B.yC)((an=$==null?void 0:$.setting)==null?void 0:an.version)>0&&S.default.info({title:"\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E",centered:!0,content:oo.createElement("div",null,oo.createElement("span",{className:"c-red"},"\u60A8\u7684\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF\u67DC\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E"),'\uFF0C\u8BF7\u5347\u7EA7\u81F3\u6700\u65B0\u7248\u672C\u540E\u518D\u4F7F\u7528\uFF0C\u70B9\u51FB"\u786E\u5B9A"\u540E\u5C06\u4E0B\u8F7D\u6700\u65B0\u7248\u672C\u7684\u5BA2\u6237\u7AEF,',oo.createElement("span",{className:"c-red"},"\u4E0B\u8F7D\u540E\u8BF7\u5148\u9000\u51FA\u5BA2\u6237\u7AEF\u518D\u5B89\u88C5")),okText:"\u7ACB\u5373\u5347\u7EA7",visible:!0,maskClosable:!1,onOk:()=>((0,B.FH)("Educoder.exe","https://www-cdn.educoder.net/app/Educoder.exe"),new Promise(()=>{}))})}},[(rt=$==null?void 0:$.setting)==null?void 0:rt.version]),(0,t.useEffect)(()=>{performance.navigation.type===1&&document.body.scrollIntoView()},[performance.navigation.type]);const lr=()=>{var rn,an,en,Ln,at,Lt,Pn,vr;const er=localStorage.trackUserTime,lo=localStorage.trackUser;if(!(er&&Gn()(er).isSame(Gn()().startOf("day"),"d")&&lo==((rn=Be.userInfo)==null?void 0:rn.login))){localStorage.trackUserTime=new Date,localStorage.trackUser=(an=Be.userInfo)==null?void 0:an.login;let no="";switch(Be.userInfo.role){case 1:no="\u8D85\u7BA1";break;case 2:no="\u8FD0\u8425";break;case 5:no="\u8BA4\u8BC1\u6559\u5E08";break;case 12:no="\u672A\u8BA4\u8BC1\u6559\u5E08";break;case 15:no="\u5B66\u751F";break}((en=Be.userInfo)==null?void 0:en.identity)!=="student"&&((Ln=Be.userInfo)==null?void 0:Ln.identity)!=="teacher"&&(no="\u4E13\u4E1A\u4EBA\u58EB"),(at=Be.userInfo)!=null&&at.user_school&&((0,B.L9)(["\u5B66\u6821\u6D3B\u8DC3\u7528\u6237",(Lt=Be.userInfo)==null?void 0:Lt.user_school]),(0,B.L9)(["\u7528\u6237\u8BBF\u95EE\u660E\u7EC6",(Pn=Be.userInfo)==null?void 0:Pn.login,(vr=Be.userInfo)==null?void 0:vr.user_school])),(0,B.L9)(["\u5E73\u53F0PC\u7AEF","\u603B\u6D3B\u8DC3\u7528\u6237\u6570"]),(0,B.L9)(["\u5E73\u53F0PC\u7AEF",no])}};return oo.createElement(xr.Z,null,oo.createElement(Ao.StyleProvider,{transformers:[Ao.legacyLogicalPropertiesTransformer],hashPriority:"high"},oo.createElement(u.ZP,{locale:te.Z,autoInsertSpaceInButton:!1,componentSize:"middle",theme:Mn},oo.createElement(ct,null),oo.createElement(Z,{open:!!un,accountInfo:un==null?void 0:un.accountInfo,data:un==null?void 0:un.data}),oo.createElement(_t,null),oo.createElement(Qr,null),oo.createElement(In,null),oo.createElement(yn.Z,{size:"middle",spinning:pn.show,tip:pn.text,className:"ant-spin-nested-loading-black"},oo.createElement(d.Outlet,null)))))};var Kr=(0,d.connect)(({loading:o,globalSetting:f,user:b})=>({loading:o,globalSetting:f,user:b}))(Yr)},40197:function(fn,Ve,e){e.d(Ve,{rX:function(){return K},pW:function(){return E},gy:function(){return r},xY:function(){return be},O5:function(){return Ue},tJ:function(){return J},o1:function(){return ie},Rd:function(){return Ee}});var t=e(25690),u=e(43418),S=e(28103),te=e(8591),d=e(48790),I=e(51257),n=e(87169),se=e(25510),le="data:image/png;base64,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",h=e.p+"static/newqrcode.a8740efb.png",ue=e(32637),y=e(59301),M=(x,P,G)=>new Promise((Y,V)=>{var Z=lt=>{try{pe(G.next(lt))}catch(ge){V(ge)}},Me=lt=>{try{pe(G.throw(lt))}catch(ge){V(ge)}},pe=lt=>lt.done?Y(lt.value):Promise.resolve(lt.value).then(Z,Me);pe((G=G.apply(x,P)).next())});const J=(x,P=!1)=>!!(ie(x)&&_(P)),ie=x=>(0,d.bg)()?!0:(x({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),_=(x=!1)=>{var P;const{user:G}=(0,t.getDvaApp)()._store.getState();return(P=G.userInfo)!=null&&P.profile_completed?!0:(u.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,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:()=>{(0,I.xg)("/account/profile/edit"),Je()}}),!1)},Je=()=>{u.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},Ee=()=>{u.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),y.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ue}),y.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ue=()=>{var x;const{user:P}=(0,t.getDvaApp)()._store.getState();return(x=P.userInfo)!=null&&x.professional_certification?!0:(u.default.confirm({title:"\u63D0\u793A",centered:!0,content:y.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,I.xg)("/account/certification")}}),!1)},be=()=>(0,d.V9)()?!0:(u.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:y.createElement("div",{className:"tc",style:{marginLeft:-38}},y.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),y.createElement("img",{src:h,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),K=(x,P)=>x?!0:(u.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:y.createElement("div",null,y.createElement("p",null,P||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),y.createElement("div",{style:{marginLeft:"110px"}},y.createElement("img",{src:le,width:200}),y.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,I.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),E=x=>{u.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:y.createElement("div",null,y.createElement("div",null,y.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),y.createElement(S.Z,null),y.createElement("p",{style:{color:"#666666",fontSize:12}}," ",y.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",y.createElement("a",null,x),"\u5929\u3002"),y.createElement("p",{style:{color:"#666666",fontSize:12}}," ",y.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),y.createElement("div",{style:{textAlign:"center",marginTop:30}},y.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})))})},r=(x,P="")=>{const{shixunsDetail:{detail:G}}=(0,t.getDvaApp)()._store.getState();if((G==null?void 0:G.public)===2||(G==null?void 0:G.public)===1||(G==null?void 0:G.shixun_status)===3){let Y="";return(G==null?void 0:G.public)===2&&(Y="\u5DF2\u516C\u5F00"),(G==null?void 0:G.public)===1&&(Y="\u5F85\u5BA1\u6838"),(G==null?void 0:G.shixun_status)===3&&(Y="\u5DF2\u5173\u95ED"),u.default.info({centered:!0,icon:y.createElement(n.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:y.createElement("div",{className:"tc",style:{marginLeft:-38}},y.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},y.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Y,"\uFF0C",P,"\u3002"),y.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),y.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(G==null?void 0:G.shixun_status)===2?(u.default.confirm({centered:!0,icon:y.createElement(n.Z,null),title:"\u63D0\u793A",content:y.createElement("div",null,y.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",P,"\u3002"),y.createElement("br",null),y.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{u.default.confirm({width:440,centered:!0,icon:y.createElement(n.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>M(void 0,null,function*(){(yield x({type:"shixunsDetail/cancelRelease",payload:{id:G==null?void 0:G.identifier}})).status!==401&&(te.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),x({type:"shixunsDetail/getShixunsDetail",payload:{id:G==null?void 0:G.identifier}}),x({type:"practiceSetting/getCommonData",payload:{id:G==null?void 0:G.identifier}}))})})}}),!0):!1}},50371:function(fn,Ve){function e(){const t=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let u=1;u{const d=S[te];d!==void 0&&(t[te]=d)})}return t}Ve.Z=e},13845:function(fn,Ve,e){e.d(Ve,{F:function(){return t},Z:function(){return u}});function t(S){return S!=null&&S===S.window}function u(S,te){var d,I;if(typeof window=="undefined")return 0;const n=te?"scrollTop":"scrollLeft";let se=0;return t(S)?se=S[te?"pageYOffset":"pageXOffset"]:S instanceof Document?se=S.documentElement[n]:(S instanceof HTMLElement||S)&&(se=S[n]),S&&!t(S)&&typeof se!="number"&&(se=(I=((d=S.ownerDocument)!==null&&d!==void 0?d:S).documentElement)===null||I===void 0?void 0:I[n]),se}},56762:function(fn,Ve,e){e.d(Ve,{Z:function(){return u}});var t=e(59301);function u(){const[,S]=t.useReducer(te=>te+1,0);return S}},68031:function(fn,Ve,e){e.d(Ve,{Z:function(){return te}});var t=e(16089);function u(d,I,n,se){const le=n-I;return d/=se/2,d<1?le/2*d*d*d+I:le/2*((d-=2)*d*d+2)+I}var S=e(13845);function te(d){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:se,duration:le=450}=I,h=n(),ue=(0,S.Z)(h,!0),y=Date.now(),M=()=>{const ie=Date.now()-y,_=u(ie>le?le:ie,ue,d,le);(0,S.F)(h)?h.scrollTo(window.pageXOffset,_):h instanceof Document||h.constructor.name==="HTMLDocument"?h.documentElement.scrollTop=_:h.scrollTop=_,ien||I},46400:function(fn,Ve,e){e.d(Ve,{Z:function(){return Ce}});var t=e(29679),u=e(19248),S=e(99267),te=e(96512),d=e(78987),I=e(92310),n=e.n(I),se=e(77900),le=e(26112),h=e(59301),ue=e(92343),y=e(36355),M=e(17313),J=e(83116);const ie=(ne,X,we,m,A)=>({backgroundColor:ne,border:`${m.lineWidth}px ${m.lineType} ${X}`,[`${A}-icon`]:{color:we}}),_=ne=>{const{componentCls:X,motionDurationSlow:we,marginXS:m,marginSM:A,fontSize:z,fontSizeLG:D,lineHeight:B,borderRadiusLG:F,motionEaseInOutCirc:W,withDescriptionIconSize:xe,colorText:Pe,colorTextHeading:Ie,withDescriptionPadding:ot,defaultPadding:St}=ne;return{[X]:Object.assign(Object.assign({},(0,M.Wf)(ne)),{position:"relative",display:"flex",alignItems:"center",padding:St,wordWrap:"break-word",borderRadius:F,[`&${X}-rtl`]:{direction:"rtl"},[`${X}-content`]:{flex:1,minWidth:0},[`${X}-icon`]:{marginInlineEnd:m,lineHeight:0},"&-description":{display:"none",fontSize:z,lineHeight:B},"&-message":{color:Ie},[`&${X}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${we} ${W}, opacity ${we} ${W}, +`;O(L);var s="rc-slider-captcha";function H(o){var f=0,b=0;return typeof o.clientX=="number"&&typeof o.clientY=="number"?(f=o.clientX,b=o.clientY):o.touches&&o.touches[0]?(f=o.touches[0].clientX,b=o.touches[0].clientY):o.changedTouches&&o.changedTouches[0]&&(f=o.changedTouches[0].clientX,b=o.changedTouches[0].clientY),{clientX:f,clientY:b}}function de(o,f){if(f===void 0&&(f={}),o)for(var b in f)o.style[b]=f[b]}var v=typeof window=="object"&&window&&typeof document=="object"&&document&&window.document===document&&!!document.addEventListener,c=v&&"onpointerdown"in window,Q=v&&"ontouchstart"in window,R=function(o){return o==null?void 0:o.scrollTop};function w(o,f){return typeof o=="number"&&!Number.isNaN(o)&&typeof f=="number"&&f>0?Number(o.toFixed(f)):o}var U="".concat(s,"-button"),Fe=function(o){var f,b=o.className,$=o.disabled,Be=o.active,Ge=o.success,ht=o.error,rt=o.verify,ke=o.buttonRef,Dt=(0,F._T)(o,["className","disabled","active","success","error","verify","buttonRef"]);return t.createElement("span",(0,F.pi)({className:xe()(U,b,(f={},f["".concat(U,"-disabled")]=$,f["".concat(U,"-active")]=Be,f["".concat(U,"-verify")]=rt,f["".concat(U,"-success")]=Ge,f["".concat(U,"-error")]=ht,f["".concat(U,"-pc")]=!Q,f)),ref:ke},Dt))};Fe.displayName="SliderButton";var ye=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M116.9408 561.4592m0-40.96l0 0q0-40.96 40.96-40.96l573.44 0q40.96 0 40.96 40.96l0 0q0 40.96-40.96 40.96l-573.44 0q-40.96 0-40.96-40.96Z"}),t.createElement("path",{d:"M769.82272 519.43424l-203.22304-203.22304a40.96 40.96 0 1 1 57.91744-57.91744l231.71072 231.71072a40.96 40.96 0 0 1 0.45056 58.44992L624.9472 780.12416a40.96 40.96 0 0 1-57.93792-57.91744l202.79296-202.79296z"}))},fe=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M864.554667 268.501333a42.666667 42.666667 0 0 1 0 60.330667L412.032 781.397333a42.453333 42.453333 0 0 1-22.613333 11.818667l-5.034667 0.597333H379.306667a42.496 42.496 0 0 1-27.648-12.416l-211.2-211.2a42.666667 42.666667 0 1 1 60.330666-60.330666l180.992 180.992 422.4-422.4a42.666667 42.666667 0 0 1 60.330667 0z"}))},Ae=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 120 120",width:"1em",height:"1em"},o),t.createElement("defs",null,t.createElement("line",{id:"l",x1:"60",x2:"60",y1:"7",y2:"27",stroke:"currentColor",strokeWidth:"11",strokeLinecap:"round"})),t.createElement("g",null,t.createElement("use",{xlinkHref:"#l",opacity:".27"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(30 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(60 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(90 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(120 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".27",transform:"rotate(150 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".37",transform:"rotate(180 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".46",transform:"rotate(210 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".56",transform:"rotate(240 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".66",transform:"rotate(270 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".75",transform:"rotate(300 60,60)"}),t.createElement("use",{xlinkHref:"#l",opacity:".85",transform:"rotate(330 60,60)"})))},Ne=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M866.133333 573.013333a42.666667 42.666667 0 0 0-53.333333 27.733334A304.64 304.64 0 0 1 519.68 810.666667 302.933333 302.933333 0 0 1 213.333333 512a302.933333 302.933333 0 0 1 306.346667-298.666667 309.76 309.76 0 0 1 198.4 71.253334l-92.586667-15.36a42.666667 42.666667 0 0 0-49.066666 35.413333 42.666667 42.666667 0 0 0 35.413333 49.066667l180.906667 29.866666h7.253333a42.666667 42.666667 0 0 0 14.506667-2.56 14.08 14.08 0 0 0 4.266666-2.56 33.28 33.28 0 0 0 8.533334-4.693333l3.84-4.693333c0-2.133333 3.84-3.84 5.546666-6.4s0-4.266667 2.133334-5.973334a57.173333 57.173333 0 0 0 2.986666-7.68l32-170.666666a42.666667 42.666667 0 0 0-85.333333-16.213334l-11.52 61.866667A392.96 392.96 0 0 0 519.68 128 388.266667 388.266667 0 0 0 128 512a388.266667 388.266667 0 0 0 391.68 384A389.12 389.12 0 0 0 896 626.346667a42.666667 42.666667 0 0 0-29.866667-53.333334z"}))},Re=function(o){return t.createElement("svg",(0,F.pi)({viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor"},o),t.createElement("path",{d:"M572.96896 524.6976l217.23136 217.25184a40.96 40.96 0 1 1-57.93792 57.91744L515.072 582.63552l-212.3776 212.3776a40.96 40.96 0 1 1-57.9584-57.91744l212.39808-212.3776-217.21088-217.23136a40.96 40.96 0 1 1 57.91744-57.91744l217.23136 217.21088L737.0752 244.736a40.96 40.96 0 1 1 57.93792 57.91744L572.96896 524.71808z"}))},It=function(o){return t.createElement("svg",(0,F.pi)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 16 16"},o),t.createElement("path",{d:"M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"}))},zt="".concat(s,"-icon"),Pt=function(o){var f,b=o.className,$=o.spin,Be=(0,F._T)(o,["className","spin"]);return t.createElement("span",(0,F.pi)({className:xe()(zt,(f={},f["".concat(zt,"-spin")]=$,f),b)},Be))},Ut={arrowRight:t.createElement(ye,null),check:t.createElement(fe,null),loading:t.createElement(Ae,null),refresh:t.createElement(Ne,null),x:t.createElement(Re,null),imageFill:t.createElement(It,null)},Wt=function(o){var f=o.type,b=(0,F._T)(o,["type"]);return t.createElement(Pt,(0,F.pi)({},b),Ut[f])},Ct;(function(o){o[o.Default=1]="Default",o[o.Loading=2]="Loading",o[o.Moving=3]="Moving",o[o.Verify=4]="Verify",o[o.Success=5]="Success",o[o.Error=6]="Error",o[o.LoadFailed=7]="LoadFailed"})(Ct||(Ct={}));var Ht="".concat(s,"-control"),Bn=40,$n=2,zn=function(o){var f,b=o.status,$=b===void 0?Ct.Default:b,Be=o.isLimitErrors,Ge=o.tipText,ht=o.tipIcon,rt=o.sliderButtonProps,ke=o.indicatorProps,Dt=o.controlRef,En=(0,F._T)(o,["status","isLimitErrors","tipText","tipIcon","sliderButtonProps","indicatorProps","controlRef"]),pn=(0,t.useRef)(null),un=(0,t.useRef)(null),bn=(0,t.useRef)(null),Wn=(0,t.useRef)({}),Rn=(0,t.useMemo)(function(){return(0,F.pi)({default:"\u5411\u53F3\u62D6\u52A8\u6ED1\u5757\u586B\u5145\u62FC\u56FE",loading:"\u52A0\u8F7D\u4E2D...",moving:null,verifying:null,success:null,error:null,errors:t.createElement(t.Fragment,null,t.createElement(Wt,{type:"x",style:{fontSize:20}})," \u5931\u8D25\u8FC7\u591A\uFF0C\u70B9\u51FB\u91CD\u8BD5"),loadFailed:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5"},Ge)},[Ge]),lr=(0,t.useMemo)(function(){return(0,F.pi)({default:t.createElement(Wt,{type:"arrowRight"}),loading:t.createElement(Wt,{type:"loading",spin:!0}),error:t.createElement(Wt,{type:"x"}),success:t.createElement(Wt,{type:"check"})},ht)},[ht]),rn=(0,t.useMemo)(function(){var Tr;return Tr={},Tr[Ct.Default]=[Rn.default,lr.default],Tr[Ct.Loading]=[Rn.loading,lr.default],Tr[Ct.Moving]=[Rn.moving,lr.default],Tr[Ct.Verify]=[Rn.verifying,lr.loading],Tr[Ct.Error]=[Rn.error,lr.error],Tr[Ct.Success]=[Rn.success,lr.success],Tr[Ct.LoadFailed]=[Rn.loadFailed,lr.default],Tr},[Rn,lr]),an=function(Tr){var Co;return(Tr||typeof Wn.current.sliderButtonWidth!="number")&&(Wn.current.sliderButtonWidth=((Co=un.current)===null||Co===void 0?void 0:Co.clientWidth)||Bn),Wn.current.sliderButtonWidth},en=function(Tr){if(Tr||typeof Wn.current.indicatorBorderWidth!="number")if(bn.current){var Co=window.getComputedStyle(bn.current);Wn.current.indicatorBorderWidth=parseInt(Co.borderLeftWidth)+parseInt(Co.borderRightWidth)}else Wn.current.indicatorBorderWidth=$n;return Wn.current.indicatorBorderWidth},Ln=function(Tr){var Co;return(Tr||!Wn.current.rect)&&pn.current&&(Wn.current.rect=(Co=pn.current)===null||Co===void 0?void 0:Co.getBoundingClientRect()),Wn.current.rect};(0,t.useImperativeHandle)(Dt,function(){return{getSliderButtonWidth:an,getIndicatorBorderWidth:en,getRect:Ln,updateLeft:function(Tr){var Co=an(),la=en();de(un.current,{left:Tr+"px"}),de(bn.current,{width:Tr+Co+la+"px"})}}},[]);var at=$===Ct.Loading,Lt=$===Ct.Moving,Pn=$===Ct.Verify,vr=$===Ct.Success,er=$===Ct.Error,lo=$===Ct.LoadFailed,no=Be?Rn.errors:rn[$][0];return t.createElement("div",(0,F.pi)({},En,{className:xe()(Ht,(f={},f["".concat(Ht,"-loading")]=at,f["".concat(Ht,"-moving")]=Lt,f["".concat(Ht,"-verify")]=Pn,f["".concat(Ht,"-success")]=vr,f["".concat(Ht,"-error")]=er,f["".concat(Ht,"-errors")]=Be,f["".concat(Ht,"-load-failed")]=lo,f),En.className),ref:pn}),t.createElement("div",(0,F.pi)({},ke,{className:xe()("".concat(Ht,"-indicator"),ke==null?void 0:ke.className),ref:bn})),t.createElement(Fe,(0,F.pi)({},rt,{className:xe()("".concat(Ht,"-button"),rt==null?void 0:rt.className),disabled:at,active:Lt,verify:Pn,success:vr,error:er,buttonRef:un}),rn[$][1]),t.createElement("div",{className:xe()("".concat(Ht,"-tips")),style:no?{}:{display:"none"}},no))},tr="".concat(s,"-loading"),pr=function(o){var f=o.icon,b=f===void 0?t.createElement(Wt,{type:"loading",spin:!0}):f,$=o.text,Be=$===void 0?"\u52A0\u8F7D\u4E2D...":$,Ge=o.className,ht=(0,F._T)(o,["icon","text","className"]);return t.createElement("div",(0,F.pi)({className:xe()(tr,Ge)},ht),t.createElement("div",{className:"".concat(tr,"-icon")},b),t.createElement("div",{className:"".concat(tr,"-text")},Be))},Yn="".concat(s,"-jigsaw"),qt={bgSize:{width:320,height:160},puzzleSize:{width:60,left:0},loadFailedIcon:t.createElement(Wt,{type:"imageFill"}),refreshIcon:t.createElement(Wt,{type:"refresh"})},gr=function(o){var f,b,$=o.status,Be=o.bgSize,Ge=Be===void 0?qt.bgSize:Be,ht=o.puzzleSize,rt=ht===void 0?qt.puzzleSize:ht,ke=o.bgUrl,Dt=o.puzzleUrl,En=o.bgImgProps,pn=o.puzzleImgProps,un=o.jigsawRef,bn=o.loadingBoxProps,Wn=o.loadFailedIcon,Rn=Wn===void 0?qt.loadFailedIcon:Wn,lr=o.showRefreshIcon,rn=lr===void 0?!0:lr,an=o.refreshIcon,en=an===void 0?qt.refreshIcon:an,Ln=o.disabledRefresh,at=o.onRefresh,Lt=o.style,Pn=o.className,vr=o.children,er=(0,F._T)(o,["status","bgSize","puzzleSize","bgUrl","puzzleUrl","bgImgProps","puzzleImgProps","jigsawRef","loadingBoxProps","loadFailedIcon","showRefreshIcon","refreshIcon","disabledRefresh","onRefresh","style","className","children"]),lo=(0,t.useRef)(null);if((0,t.useImperativeHandle)(un,function(){return{updateLeft:function(Tr){de(lo.current,{left:Tr+"px"})}}}),$===Ct.Loading)return t.createElement(pr,(0,F.pi)({},bn,{style:(0,F.pi)((0,F.pi)({},bn==null?void 0:bn.style),Ge)}));if($===Ct.LoadFailed||!ke||!Dt)return t.createElement("div",{className:"".concat(s,"-load-failed"),style:Ge},Rn);var no=$===Ct.Verify||$===Ct.Error||$===Ct.Success;return t.createElement("div",(0,F.pi)({className:xe()(Yn,(f={},f["".concat(Yn,"-stop")]=no,f),Pn),style:(0,F.pi)((0,F.pi)({},Lt),Ge)},er),t.createElement("img",(0,F.pi)({src:ke,alt:""},En,{className:xe()("".concat(Yn,"-bg"),En==null?void 0:En.className),style:(0,F.pi)((0,F.pi)({},En==null?void 0:En.style),Ge)})),t.createElement("img",(0,F.pi)({src:Dt,alt:""},pn,{className:xe()("".concat(Yn,"-puzzle"),pn==null?void 0:pn.className),style:(0,F.pi)((0,F.pi)({},pn==null?void 0:pn.style),rt),ref:lo})),rn&&$!==Ct.Success&&en&&t.createElement("div",{className:xe()("".concat(Yn,"-refresh"),(b={},b["".concat(Yn,"-refresh-disabled")]=$===Ct.Verify||Ln,b)),onClick:function(){$!==Ct.Verify&&!Ln&&(at==null||at())}},en),vr)},yr=c?{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}:Q?{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}:{start:"mousedown",move:"mousemove",end:"mouseup",cancel:"touchcancel"},On=c?"onPointerDown":Q?"onTouchStart":"onMouseDown",Tn;(function(o){o.Puzzle="puzzle",o.Button="button"})(Tn||(Tn={}));var Xr=function(o){var f,b,$,Be=o.mode,Ge=Be===void 0?"embed":Be,ht=o.limitErrorCount,rt=ht===void 0?0:ht,ke=o.tipText,Dt=o.tipIcon,En=o.refreshIcon,pn=o.bgSize,un=o.puzzleSize,bn=o.request,Wn=o.autoRequest,Rn=Wn===void 0?!0:Wn,lr=o.onVerify,rn=o.autoRefreshOnError,an=rn===void 0?!0:rn,en=o.actionRef,Ln=o.showRefreshIcon,at=Ln===void 0?!0:Ln,Lt=o.jigsawContent,Pn=o.errorHoldDuration,vr=Pn===void 0?500:Pn,er=o.loadingDelay,lo=er===void 0?0:er,no=o.placement,Tr=no===void 0?"top":no,Co=o.loadingBoxProps,la=o.sliderButtonProps,ma=o.precision,Dr=ma===void 0?7:ma,Br=o.className,po=o.style,Fr=o.styles,Wo=St(),To=Wo[0],Ko=Wo[1],Yo=St(Ct.Default),ta=Yo[0],Vo=Yo[1],ya=he(ta),ba=(0,t.useRef)(null),Qo=(0,t.useRef)(null),na=(0,t.useRef)(null),Go=(0,t.useMemo)(function(){return Ge==="float"||Ge==="slider"?Ge:"embed"},[Ge]),Ua=(0,t.useMemo)(function(){if(En!==void 0)return En;if((Dt==null?void 0:Dt.refresh)!==void 0)return Dt.refresh},[En,Dt]),Ca=(0,t.useMemo)(function(){return(0,F.pi)((0,F.pi)({},qt.bgSize),pn)},[pn]),Jo=(0,t.useMemo)(function(){return(0,F.pi)((0,F.pi)({},qt.puzzleSize),un)},[un]),sa=(0,t.useMemo)(function(){return Tr==="bottom"?"top":"bottom"},[Tr]),sr=(0,t.useRef)({isPressed:!1,trail:[],errorCount:0,startInfo:{x:0,y:0,timestamp:0},currentTargetType:Tn.Button,floatTransitionTimer:null,floatDelayShowTimer:null,floatDelayHideTimer:null,refreshTimer:null,loadingTimer:null,sliderButtonWidth:40,indicatorBorderWidth:2,ratio:1,buttonMaxDistance:0,puzzleMaxDistance:0}),ua=Go==="slider",Xa=typeof lo=="number"&&lo>0,wa=ta===Ct.Error&&rt>0&&sr.current.errorCount>=rt,ci=function(){sr.current.buttonMaxDistance=Ca.width-sr.current.sliderButtonWidth-sr.current.indicatorBorderWidth,sr.current.puzzleMaxDistance=Ca.width-Jo.width-Jo.left},ni=function(){var Ur;return((Ur=ba.current)===null||Ur===void 0?void 0:Ur.getRect(!0).height)||42},ri=function(){return(0,F.mG)(void 0,void 0,void 0,function(){var Ur;return(0,F.Jh)(this,function(uo){switch(uo.label){case 0:if(ua)return[2];if(!bn)return[3,4];Xa?sr.current.loadingTimer=setTimeout(function(){Vo(Ct.Loading)},lo):Vo(Ct.Loading),uo.label=1;case 1:return uo.trys.push([1,3,,4]),[4,bn()];case 2:return Ur=uo.sent(),Xa&&clearTimeout(sr.current.loadingTimer),Ko(Ur),Vo(Ct.Default),[3,4];case 3:return uo.sent(),Xa&&clearTimeout(sr.current.loadingTimer),Vo(Ct.LoadFailed),[3,4];case 4:return[2]}})})},oi=function(Ur){Ur===void 0&&(Ur=300),!(Go!=="float"||ya.current===Ct.Success)&&(clearTimeout(sr.current.floatTransitionTimer),clearTimeout(sr.current.floatDelayHideTimer),clearTimeout(sr.current.floatDelayShowTimer),sr.current.floatDelayShowTimer=setTimeout(function(){var uo;de(na.current,{display:"block"}),R(na.current);var oa=ni()+"px";de(na.current,(uo={},uo[sa]=oa,uo.opacity="1",uo))},Ur))},Oa=function(Ur){Ur===void 0&&(Ur=300),Go==="float"&&(clearTimeout(sr.current.floatTransitionTimer),clearTimeout(sr.current.floatDelayHideTimer),clearTimeout(sr.current.floatDelayShowTimer),sr.current.floatDelayHideTimer=setTimeout(function(){var uo,oa=ni()/2+"px";de(na.current,(uo={},uo[sa]=oa,uo.opacity="0",uo)),sr.current.floatTransitionTimer=setTimeout(function(){de(na.current,{display:"none"})},300)},Ur))},mi=function(Ur){var uo;ua||(uo=Qo.current)===null||uo===void 0||uo.updateLeft(Ur)},ai=function(){var Ur;sr.current.isPressed=!1,Vo(Ct.Default),(Ur=ba.current)===null||Ur===void 0||Ur.updateLeft(0),mi(Jo.left)},Ya=function(Ur){Ur===void 0&&(Ur=!1),Ur&&(sr.current.errorCount=0),clearTimeout(sr.current.refreshTimer),ya.current!==Ct.Loading&&(ai(),ri())},vi=function(){(wa||ta===Ct.LoadFailed)&&Ya(wa)},Ai=function(){Q||oi()},wi=function(){Q||Oa()},Ii=function(Ur){sr.current.currentTargetType=Tn.Puzzle,Mi(Ur)},Bi=function(Ur){sr.current.currentTargetType=Tn.Button,Mi(Ur)},Mi=function(Ur){if(ya.current===Ct.Default){Ur.preventDefault();var uo=H(Ur),oa=uo.clientX,Da=uo.clientY;sr.current.startInfo={x:oa,y:Da,timestamp:new Date().getTime()},sr.current.trail=[[oa,Da]],ba.current&&(sr.current.sliderButtonWidth=ba.current.getSliderButtonWidth(!0),sr.current.indicatorBorderWidth=ba.current.getIndicatorBorderWidth(!0)),ci(),sr.current.ratio=sr.current.puzzleMaxDistance/sr.current.buttonMaxDistance,sr.current.currentTargetType===Tn.Puzzle&&(sr.current.ratio=1/sr.current.ratio),(Q||Ur.pointerType==="pen"||Ur.pointerType==="touch")&&oi(0),sr.current.isPressed=!0,document.addEventListener(yr.move,pi),document.addEventListener(yr.end,Ga),document.addEventListener(yr.cancel,Ga)}},pi=function(Ur){var uo;if(sr.current.isPressed){Ur.preventDefault();var oa=H(Ur),Da=oa.clientX,_r=oa.clientY,Gr=Da-sr.current.startInfo.x;sr.current.trail.push([Da,_r]),ya.current!==Ct.Moving&&Gr>0&&Vo(Ct.Moving);var No=Gr,ra=Gr;sr.current.currentTargetType===Tn.Puzzle?(Gr=Math.max(0,Math.min(Gr,sr.current.puzzleMaxDistance)),No=Gr+Jo.left,ra=Gr*sr.current.ratio):(Gr=Math.max(0,Math.min(Gr,sr.current.buttonMaxDistance)),ra=Gr,No=Gr*sr.current.ratio+Jo.left),(uo=ba.current)===null||uo===void 0||uo.updateLeft(ra),mi(No)}},Ga=function(Ur){if(document.removeEventListener(yr.move,pi),document.removeEventListener(yr.end,Ga),document.removeEventListener(yr.cancel,Ga),!!sr.current.isPressed){if(ya.current!==Ct.Moving){sr.current.isPressed=!1,Q&&Oa();return}if(lr){sr.current.isPressed=!1,Vo(Ct.Verify);var uo=new Date().getTime(),oa=H(Ur),Da=oa.clientX,_r=oa.clientY,Gr=_r-sr.current.startInfo.y,No=Da-sr.current.startInfo.x,ra=No;sr.current.currentTargetType===Tn.Puzzle?(No=Math.max(0,Math.min(No,sr.current.puzzleMaxDistance)),ra=No*sr.current.ratio):(No=Math.max(0,Math.min(No,sr.current.buttonMaxDistance)),ra=No,No*=sr.current.ratio),lr({x:w(No,Dr),y:w(Gr,Dr),sliderOffsetX:w(ra,Dr),duration:uo-sr.current.startInfo.timestamp,trail:sr.current.trail,targetType:sr.current.currentTargetType,errorCount:sr.current.errorCount}).then(function(){sr.current.errorCount=0,Vo(Ct.Success),Oa()}).catch(function(){sr.current.errorCount+=1,Vo(Ct.Error),(Q||Ur.pointerType==="pen"||Ur.pointerType==="touch")&&Oa(),(rt<=0||sr.current.errorCount0?(Be.forEach(function(Ge){Ge.wrap.apply(Ge.context,b)}),!0):!1},o}(),bt={},Mt=function(){function o(f){f===void 0&&(f="default"),this.scope=f,bt[this.scope]||(bt[this.scope]={}),this.data=bt[this.scope]}return o.prototype.getItem=function(f){return f in this.data?this.data[f]:null},o.prototype.setItem=function(f,b){this.data[f]=b},o.prototype.removeItem=function(f){delete this.data[f]},o.prototype.clear=function(){bt[this.scope]={},this.data=bt[this.scope]},o}();function ft(){return Math.random().toString(16).substring(2,8)}function Xt(o){try{var f=typeof o=="object"&&o!==null&&!!o.setItem&&!!o.getItem&&!!o.removeItem;if(f){var b=ft()+new Date().getTime(),$="1";if(o.setItem(b,$),o.getItem(b)!==$)return!1;o.removeItem(b)}return f}catch(Be){return console.error("[cache2] ".concat(o," is not supported. The default memory cache will be used.")),!1}}function Dn(o,f){try{return JSON.parse(o,f)}catch(b){return o}}function $t(o,f){return JSON.stringify(o,f)}var Kn=function(){function o(f,b){b===void 0&&(b={});var $=f?Xt(f):!1;this.options=(0,F.pi)({needParsed:$,prefix:""},b),this.storage=$?f:new Mt(this.options.memoryScope)}return o.prototype.getKey=function(f){return this.options.prefix+f},o.prototype.get=function(f){var b=this.storage.getItem(this.getKey(f));return this.options.needParsed?Dn(b,this.options.reviver):b},o.prototype.set=function(f,b){this.storage.setItem(this.getKey(f),this.options.needParsed?$t(b,this.options.replacer):b)},o.prototype.del=function(f){this.storage.removeItem(this.getKey(f))},o.prototype.clear=function(){typeof this.storage.clear=="function"&&this.storage.clear()},o}(),k="cache2_",i="default",p=function(o){(0,F.ZT)(f,o);function f(b,$){var Be=o.call(this)||this,Ge=i,ht;return typeof b=="string"?Ge=b||i:typeof b=="object"&&(ht=b),!ht&&typeof $=="object"&&(ht=$),Be.options=(0,F.pi)({max:-1,stdTTL:0,maxStrategy:"limited",checkperiod:0,prefix:k},ht),Be.storage=new Kn(Be.options.storage,(0,F.pi)({memoryScope:Ge},Be.options)),Be.cacheKey=Ge,Be.startCheckperiod(),Be}return f.prototype._check=function(b,$){var Be=!0;return $.t!==0&&$.t0?Be+Ge:0;return{v:b,t:ht,n:Be}},f.prototype._isLimited=function(b){return this.options.max>-1&&b>=this.options.max},f.prototype._getReplaceKey=function(b,$){var Be=b[0];return b.forEach(function(Ge){($[Ge].t<$[Be].t||$[Ge].t===$[Be].t&&$[Ge].n<$[Be].n)&&(Be=Ge)}),Be},Object.defineProperty(f.prototype,"cacheValues",{get:function(){return this.storage.get(this.cacheKey)||{}},enumerable:!1,configurable:!0}),f.prototype.setCacheValues=function(b){this.storage.set(this.cacheKey,b)},f.prototype.get=function(b){var $=this.cacheValues[b];if($&&this._check(b,$))return $.v},f.prototype.mget=function(b){var $=this,Be={};if(!Array.isArray(b))return Be;var Ge=this.cacheValues;return b.forEach(function(ht){var rt=Ge[ht];rt&&$._check(ht,rt)&&(Be[ht]=rt.v)}),Be},f.prototype.getAll=function(){var b=Object.keys(this.cacheValues);return this.mget(b)},f.prototype.set=function(b,$,Be){if(this.options.max===0)return!1;var Ge=this.cacheValues,ht=Object.keys(Ge);if(!Ge[b]&&this._isLimited(ht.length)){var rt=this.keys();if(this._isLimited(rt.length))if(this.options.maxStrategy==="replaced"){var ke=this._getReplaceKey(rt,Ge);this.del(ke)}else return!1}return Ge[b]=this._wrap($,Be),this.setCacheValues(Ge),this.emit("set",b,Ge[b].v),!0},f.prototype.mset=function(b){var $=this,Be=!0;return b.forEach(function(Ge){var ht=$.set(Ge.key,Ge.value,Ge.ttl);Be&&!ht&&(Be=!1)}),Be},f.prototype.del=function(b){var $=this,Be=this.cacheValues,Ge=0,ht=Array.isArray(b)?b:[b];return ht.forEach(function(rt){if(Be[rt]){Ge++;var ke=Be[rt];delete Be[rt],$.emit("del",rt,ke.v)}}),Ge>0&&this.setCacheValues(Be),Ge},f.prototype.clear=function(){this.storage.del(this.cacheKey)},f.prototype.keys=function(){var b=this,$=this.cacheValues,Be=Object.keys($);return Be.filter(function(Ge){return b._check(Ge,$[Ge])})},f.prototype.has=function(b){var $=this.cacheValues[b];return!!($&&this._check(b,$))},f.prototype.take=function(b){var $,Be=this.cacheValues[b];return Be&&this._check(b,Be)&&($=Be.v,this.del(b)),$},f.prototype.ttl=function(b,$){var Be=this.cacheValues,Ge=Be[b];return Ge&&this._check(b,Ge)?(Be[b]=this._wrap(Ge.v,$),!0):!1},f.prototype.getTtl=function(b){var $=this.cacheValues,Be=$[b];if(Be&&this._check(b,Be))return $[b].t},f.prototype.getLastModified=function(b){var $=this.cacheValues,Be=$[b];if(Be&&this._check(b,Be))return $[b].n},f.prototype.startCheckperiod=function(){var b=this;this.keys(),this.options.checkperiod>0&&(clearTimeout(this._checkTimeout),this._checkTimeout=setTimeout(function(){b.startCheckperiod()},this.options.checkperiod))},f.prototype.stopCheckperiod=function(){clearTimeout(this._checkTimeout)},f}(We),g=void 0,C="undefined",re="object",q=Object.prototype,He=q.toString,Ke=q.hasOwnProperty,_e=q.propertyIsEnumerable,it=Object.getOwnPropertySymbols,$e=Object.getPrototypeOf,mt=Object.keys,vt=Function.prototype,ut=vt.toString,Ot=typeof Symbol!==C,pt=Ot?Symbol.prototype:g,Et=Array.prototype,xt=Et.slice,Qt=Math.min,nt=Math.max,gt=Math.random,ce=Math.floor,ve=Math.ceil,je=Math.abs,Xe=Number.isFinite,Te=Number.isInteger,st=Number.isSafeInteger,et=typeof globalThis===re&&globalThis,yt=typeof e.g===re&&e.g,jt=typeof self===re&&self,kt=Number.MAX_SAFE_INTEGER||9007199254740991,mn=Number.MIN_SAFE_INTEGER||-9007199254740991,hn=4294967295,tn="[object ",oe=tn+"BigInt]",me=tn+"Number]",Se=tn+"Boolean]",De=tn+"String]",Le=tn+"Date]",Bt=tn+"RegExp]",At=tn+"Symbol]",Nt=tn+"Error]",tt=tn+"ArrayBuffer]",Kt=tn+"Arguments]",Cn=tn+"Array]",Tt=["Function","AsyncFunction","GeneratorFunction","Proxy"].map(function(o){return tn+o+"]"}),Yt=tn+"WeakSet]",Zt=tn+"Blob]",Un=tn+"File]",gn=tn+"DOMException]",Hn=tn+"Object]",kn=tn+"DataView]",Sn=tn+"Map]",nr=tn+"Promise]",br=tn+"Set]",Lr=tn+"WeakMap]",ln=tn+"Window]";function Vt(o){return He.call(o)}function xn(o){return typeof o=="string"||Vt(o)===De}var Zn=function(){function o(f,b){b===void 0&&(b="uh_async_memo"),this.promiseCache={},this.cache=new p(b,f)}return o.prototype.run=function(f,b,$){var Be=this;if(!b||!xn(b))return f();var Ge=(0,F.pi)({persisted:!0},$);if(Ge.persisted){var ht=this.cache.get(b);if(ht)return Promise.resolve(ht)}return this.promiseCache[b]||(this.promiseCache[b]=f().then(function(rt){return delete Be.promiseCache[b],Be.cache.set(b,rt,Ge.ttl),rt}).catch(function(rt){return delete Be.promiseCache[b],Promise.reject(rt)})),this.promiseCache[b]},o}(),An=typeof Blob!==C;function hr(o){return An&&o instanceof Blob?!0:Vt(o)===Zt}function Hr(o){return function(){return o}}function dr(){}var Mr=typeof URL!="undefined",zr=void 0,Fn=Object.keys,nn=Object.values,dn=Mr?URL.createObjectURL:Hr(""),on=Mr?URL.revokeObjectURL:dr;function rr(o,f){var b=f||{},$=b.method,Be=$===void 0?"get":$,Ge=b.data,ht=Ge===void 0?null:Ge,rt=b.timeout,ke=b.headers,Dt=b.withCredentials,En=Dt===void 0?!1:Dt,pn=b.async,un=pn===void 0?!0:pn,bn=b.user,Wn=bn===void 0?null:bn,Rn=b.password,lr=Rn===void 0?null:Rn,rn=b.responseType,an=b.onReadyStateChange,en=b.onLoadStart,Ln=b.onProgress,at=b.onAbort,Lt=b.onTimeout,Pn=b.onError,vr=b.onLoad,er=b.onLoadEnd;return new Promise(function(lo,no){var Tr=new XMLHttpRequest;Tr.open(Be.toLowerCase(),o,un,Wn,lr),an&&(Tr.onreadystatechange=an),typeof rt=="number"&&rt>0&&(Tr.timeout=rt),Tr.withCredentials=En,rn&&(Tr.responseType=rn),typeof ke=="object"&&Fn(ke).map(function(Br){Tr.setRequestHeader(Br,ke[Br])});var Co=function(Br){return function(po){lo(po),Br==null||Br.call(Tr,po)}},la=function(Br){return function(po){no(po),Br==null||Br.call(Tr,po)}},ma={loadstart:en,progress:Ln,abort:la(at),timeout:la(Lt),error:la(Pn),load:Co(vr),loadend:er},Dr=Fn(ma);Dr.forEach(function(Br){var po=ma[Br];po&&Tr.addEventListener(Br,po)}),Tr.send(ht)})}var wr=[200,304];function cr(o,f){return new Promise(function(b,$){hr(o)?b(o):rr(o,(0,F.pi)({responseType:"blob"},f)).then(function(Be){var Ge=Be.target.status;if(wr.indexOf(Ge)!==-1)b(Be.target.response);else{var ht=new Error("The file does not support get requests, responseStatus ".concat(Ge,", '").concat(o,"'."));console.error(ht),$(ht)}}).catch(function(Be){console.error(new Error("Failed to request file. ".concat(Be))),$(Be)})})}function Ir(o){return new Promise(function(f,b){var $=hr(o),Be=$?dn(o):o,Ge=new Image;$||(Ge.crossOrigin="anonymous"),Ge.onload=function(){f(Ge)},Ge.onerror=function(ht){$&&on(Be),console.error("[loadImage] The image load failed, '".concat(o,"'.")),b(ht)},Ge.src=Be})}function qr(o,f){return cr(o,f).then(function(b){return Ir(b).then(function($){return{blob:b,image:$}})})}function Eo(o){return o!==null&&typeof o=="object"}function jr(o){return typeof o=="function"||Eo(o)}function kr(o){return typeof o=="symbol"||Vt(o)===At}var fo=/^0b[01]+$/i,ao=/^0o[0-7]+$/i,so=/^[-+]0x[0-9a-f]+$/i;function Ho(o){if(typeof o=="number")return o;if(kr(o))return NaN;if(jr(o)&&(o=Number(o)),typeof o!="string")return o===0?o:+o;o=o.trim();var f=fo.test(o);return f||ao.test(o)?parseInt(o.slice(2),f?2:8):so.test(o)?NaN:+o}var Lo=17976931348623157e292;function zo(o){if(!o)return o===0?o:0;if(o=Ho(o),o===1/0||o===-1/0){var f=o<0?-1:1;return f*Lo}return o===o?o:0}function Zo(o,f){o===void 0&&(o=0),f===void 0&&(f=1),o=zo(o),f=zo(f);var b=ve(Qt(o,f)||0),$=ce(nt(o,f)||0);if(b>$){var Be=b;b=$,$=Be}return ce(b+gt()*($-b+1))}var ro=Math.PI,Gt;(function(o){o[o.None=0]="None",o[o.Outer=1]="Outer",o[o.Inner=2]="Inner"})(Gt||(Gt={}));var ur=[Gt.None,Gt.Outer,Gt.Inner];function Xn(o){var f=o.length,b=Zo(0,f-1);return o[b]}function qn(o){var f={top:Xn(ur),right:Xn(ur),bottom:Xn(ur),left:Xn(ur)},b=Object.keys(f),$=["top","bottom"],Be=["left","right"];if(f.top===Gt.Outer&&f.bottom===Gt.Outer?f[Xn($)]=Gt.Inner:f.top!==Gt.Outer&&f.bottom!==Gt.Outer&&(f[Xn($)]=Gt.Outer),f.left===Gt.Outer&&f.right===Gt.Outer?f[Xn(Be)]=Gt.Inner:f.left!==Gt.Outer&&f.right!==Gt.Outer&&(f[Xn(Be)]=Gt.Outer),o){var Ge=[],ht=[];b.forEach(function(rt){f[rt]===Gt.Inner?Ge.push(rt):f[rt]===Gt.None&&ht.push(rt)}),o===2?Ge.forEach(function(rt){return f[rt]=Gt.None}):o===3?Ge.length===0?f[Xn(ht)]=Gt.Inner:Ge.length===2&&(f[Xn(Ge)]=Gt.None):o==4&&ht.forEach(function(rt){return f[rt]=Gt.Inner})}return f}function Nr(o,f){f===void 0&&(f={});var b=f.x,$=b===void 0?0:b,Be=f.y,Ge=Be===void 0?0:Be,ht=f.w,rt=ht===void 0?60:ht,ke=f.h,Dt=ke===void 0?60:ke,En=f.needClosePath,pn=En===void 0?!0:En,un=f.points,bn=f.margin,Wn=bn===void 0?0:bn;Wn=Wn<=0?0:Wn,(typeof un=="number"||!un)&&(un=qn(un));var Rn=(Math.min(rt,Dt)-Wn*2)*.15,lr=Math.hypot(Rn,Rn),rn=lr/2,an=Rn+rn,en={x:$+Wn,y:Ge+Wn,w:rt-an-Wn*2,h:Dt-an-Wn*2},Ln=en.w/2,at=en.h/2;un.left===Gt.Outer&&(en.x+=an),un.top===Gt.Outer&&(en.y+=an),o.beginPath(),o.lineWidth=2,o.moveTo(en.x,en.y),un.top!==Gt.None&&(o.lineTo(en.x+Ln-rn,en.y),un.top===Gt.Inner?o.arc(en.x+Ln,en.y+rn,Rn,1.25*ro,1.75*ro,!0):o.arc(en.x+Ln,en.y-rn,Rn,.75*ro,.25*ro)),o.lineTo(en.x+en.w,en.y),un.right!==Gt.None&&(o.lineTo(en.x+en.w,en.y+at-rn),un.right===Gt.Inner?o.arc(en.x+en.w-rn,en.y+at,Rn,1.75*ro,.25*ro,!0):o.arc(en.x+en.w+rn,en.y+at,Rn,1.25*ro,.75*ro)),o.lineTo(en.x+en.w,en.y+en.h),un.bottom!==Gt.None&&(o.lineTo(en.x+Ln+rn,en.y+en.h),un.bottom===Gt.Inner?o.arc(en.x+Ln,en.y+en.h-rn,Rn,.25*ro,.75*ro,!0):o.arc(en.x+Ln,en.y+en.h+rn,Rn,1.75*ro,1.25*ro)),o.lineTo(en.x,en.y+en.h),un.left!==Gt.None&&(o.lineTo(en.x,en.y+at+rn),un.left===Gt.Inner?o.arc(en.x+rn,en.y+at,Rn,.75*ro,1.25*ro,!0):o.arc(en.x-rn,en.y+at,Rn,.25*ro,1.75*ro)),o.lineTo(en.x,en.y),o.stroke(),pn&&o.closePath()}function Vr(o,f,b,$){return new Promise(function(Be){f?o.toBlob(function(Ge){Be(Ge?URL.createObjectURL(Ge):o.toDataURL(b,$))},b,$):Be(o.toDataURL(b,$))})}var wo=new Zn({max:5,maxStrategy:"replaced"});wo.cache.on("del",function(o,f){try{f.image.src&&URL.revokeObjectURL(f.image.src)}catch(b){}});function Io(o){o?wo.cache.del(o):wo.cache.clear()}var mo=new WeakMap,Oo=function(o){if(!jr(o))return String(o);if(!mo.get(o)){var f="_"+Date.now();mo.set(o,f)}return mo.get(o)},eo={jpeg:"image/jpeg",png:"image/png"},Rr=[];function Bo(o){o.forEach(function(f){URL.revokeObjectURL(f)})}function go(o,f){f===void 0&&(f={});var b=f.borderWidth,$=b===void 0?2:b,Be=f.borderColor,Ge=Be===void 0?"rgba(255,255,255,0.7)":Be,ht=f.fillColor,rt=ht===void 0?"rgba(255,255,255,0.7)":ht,ke=f.points,Dt=f.width,En=Dt===void 0?60:Dt,pn=f.height,un=pn===void 0?60:pn,bn=f.x,Wn=f.y,Rn=f.margin,lr=Rn===void 0?2:Rn,rn=f.equalHeight,an=rn===void 0?!0:rn,en=f.imageWidth,Ln=f.imageHeight,at=f.bgWidth,Lt=f.bgHeight,Pn=f.bgOffset,vr=Pn===void 0?[0,0]:Pn,er=f.bgImageType,lo=er===void 0?eo.jpeg:er,no=f.quality,Tr=no===void 0?.8:no,Co=f.format,la=Co===void 0?"dataURL":Co,ma=f.cacheImage,Dr=ma===void 0?!0:ma,Br=f.autoRevokePreviousBlobUrl,po=Br===void 0?!0:Br,Fr=f.ajaxOptions;return new Promise(function(Wo,To){var Ko=document.createElement("canvas"),Yo=document.createElement("canvas"),ta=Ko.getContext("2d"),Vo=Yo.getContext("2d"),ya=Dr?Oo(o):void 0;wo.run(function(){return qr(o,Fr)},ya).then(function(ba){var Qo=ba.image;en&&(Qo.width=en),Ln&&(Qo.height=Ln);var na=typeof at=="number"&&at>0?at>En?at:En:Qo.width,Go=typeof Lt=="number"&&Lt>0?Lt>un?Lt:un:Qo.height;Ko.width=na,Ko.height=Go;var Ua=na-En,Ca=Go-un,Jo=typeof bn=="undefined"?Zo(En,Ua):bn||0,sa=typeof Wn=="undefined"?Zo(0,Ca):Wn||0;Jo<0?Jo=0:Jo>Ua&&(Jo=Ua),sa<0?sa=0:sa>Ca&&(sa=Ca);var sr=typeof ke=="number"||!ke?qn(ke):ke,ua=typeof vr=="function"?vr(Qo.width,Qo.height):vr;ta.strokeStyle=Ge,ta.lineWidth=$,ta.fillStyle=rt,Nr(ta,{x:Jo,y:sa,w:En,h:un,points:sr,margin:lr}),ta.fillStyle=rt,ta.fill(),ta.globalCompositeOperation="destination-over",ta.drawImage(Qo,ua[0],ua[1],Qo.width,Qo.height),Yo.width=na,Yo.height=Go,Vo.strokeStyle=Ge,Vo.lineWidth=$,Nr(Vo,{x:Jo,y:sa,w:En,h:un,points:sr,margin:lr}),Vo.globalCompositeOperation="destination-over",Vo.clip(),Vo.drawImage(Qo,ua[0],ua[1],Qo.width,Qo.height);var Xa=Vo.getImageData(Jo,sa,En,un);Vo.clearRect(0,0,na,Go),Yo.width=En,Yo.height=an?Go:un,Vo.putImageData(Xa,0,an?sa:0);var wa=la==="blob",ci=Vr(Yo,wa,eo.png,Tr),ni=Vr(Ko,wa,lo,Tr);Promise.all([ci,ni]).then(function(ri){var oi=ri[0],Oa=ri[1];po&&(Rr.length&&(Bo(Rr),Rr.length=0),wa&&Rr.push(Oa,oi)),Wo({puzzleUrl:oi,bgUrl:Oa,x:Jo,y:an?0:sa})}).catch(To)}).catch(To)})}var Ro=Object.defineProperty,ho=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable,Ia=(o,f,b)=>f in o?Ro(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,qo=(o,f)=>{for(var b in f||(f={}))va.call(f,b)&&Ia(o,b,f[b]);if(ho)for(var b of ho(f))da.call(f,b)&&Ia(o,b,f[b]);return o},Ea=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const Fa=({ModalProps:o,onFinish:f})=>{const[b,$]=(0,t.useState)(),Be=(0,t.useRef)(),Ge=()=>Ea(void 0,null,function*(){const rt=`/images/VerifCodeBg/img${Math.floor(Math.random()*23)+1}.jpg`,ke=yield go(rt,{imageHeight:180,imageWidth:360});return $(ke),ke}),ht=rt=>Ea(void 0,null,function*(){return rt!=null&&rt.x&&rt.x>b.x-5&&rt.x{var rt;o!=null&&o.open&&Be.current&&((rt=Be.current)==null||rt.refresh())},[o==null?void 0:o.open,Be]),t.createElement(S.default,qo({},qo({title:"\u8BF7\u5B8C\u6210\u4E0B\u5217\u9A8C\u8BC1\u540E\u7EE7\u7EED",width:410,footer:null,centered:!0},o)),t.createElement(Xr,{actionRef:Be,request:Ge,onVerify:rt=>Ea(void 0,null,function*(){return ht(rt)}),bgSize:{width:360,height:180}}),t.createElement("div",{className:"flex mt10"},t.createElement(h.ZP,{style:{paddingLeft:"0px",paddingRight:"0px"},type:"link",icon:t.createElement("i",{className:"iconfont icon-shuaxin3"}),onClick:()=>{var rt;(rt=Be.current)==null||rt.refresh()}},"\u5237\u65B0")))};var Sa=t.memo(Fa),yo=e(59301),Ja=Object.defineProperty,La=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,aa=(o,f,b)=>f in o?Ja(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ra=(o,f)=>{for(var b in f||(f={}))Na.call(f,b)&&aa(o,b,f[b]);if(pa)for(var b of pa(f))xa.call(f,b)&&aa(o,b,f[b]);return o},Ta=(o,f)=>La(o,Ba(f)),Aa=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const ca={height:48},Wr=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,Pr=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,jo={timer:0};var Do=(o=>(o[o.setTimer=0]="setTimer",o))(Do||{});function Mo(o,f){switch(f.type){case 0:return Ta(Ra({},o),{timer:f.payload});default:throw new Error}}const ko=({validateName:o,getCode:f,register:b,style:$={},buttonText:Be="\u6CE8\u518C",globalSetting:Ge})=>{var ht;const[rt]=I.default.useForm(),[ke,Dt]=(0,t.useReducer)(Mo,jo),[En,pn]=(0,t.useState)(!1),{timer:un}=ke,[bn,Wn]=(0,t.useState)(!1);function Rn(at){return Aa(this,null,function*(){const{login:Lt,password:Pn,code:vr}=at,{message:er,status:lo}=yield b({login:Lt,password:Pn,code:vr});if(lo<0){rt.setFields([{name:"code",errors:[er]}]);return}window.location.reload()})}function lr(){return Aa(this,null,function*(){let at=rt.getFieldValue("login"),Lt=0;if(!Wr.test(at)||at.indexOf(" ")>-1)return rt.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),Lt=1,Lt;let{status:Pn,message:vr}=yield o({login:at,type:1});return Pn>0?Lt=2:(rt.setFields([{name:"login",errors:[vr]}]),Lt=1),Lt})}const rn=()=>Aa(void 0,null,function*(){pn(!0);const at=rt.getFieldValue("verify"),Lt=rt.getFieldValue("login");if(!Lt)rt.validateFields(["login"]);else{const Pn=yield o({login:Lt,type:1});if((Pn==null?void 0:Pn.status)!==1){rt.setFields([{name:"login",errors:[Pn==null?void 0:Pn.message]}]);return}const{status:vr,message:er}=yield f({login:Lt,type:1,smscode:(0,B.M)(Lt)});vr<0&&rt.setFields([{name:"code",errors:[er]}]),Dt({type:0,payload:60})}pn(!1)});function an(at,Lt){if(!Lt)return Promise.resolve();if(!Pr.test(Lt)||Lt.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");const Pn=Lt.length;return Pn>=8&&Pn<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD")}const en=(at,Lt)=>Lt?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{un>0&&setTimeout(()=>{Dt({type:0,payload:un-1})},1e3)},[un]);const Ln=(at,Lt)=>Lt?Lt.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Wr.test(Lt)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve();return yo.createElement(yo.Fragment,null,yo.createElement(I.default,{layout:"vertical",form:rt,style:$,initialValues:{autologin:!0,protool:!1},onFinish:Rn},yo.createElement(I.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:Ln}]},yo.createElement(se.default,{style:ca,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onBlur:()=>lr,onChange:()=>rt.setFieldsValue({verify:0})})),!((ht=Ge==null?void 0:Ge.setting)!=null&&ht.is_local)&&yo.createElement(I.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},yo.createElement(se.default,{suffix:yo.createElement(h.ZP,{loading:En,type:"link",onClick:at=>{if(at.stopPropagation(),!rt.getFieldValue("login")){rt.validateFields(["login"]);return}Wn(!0)},disabled:un>0}," ",un===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${un}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),yo.createElement(D.Z,{title:yo.createElement("div",null,yo.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),yo.createElement("br",null),yo.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),yo.createElement("br",null),yo.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},yo.createElement(I.default.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"},{validator:an}]},yo.createElement(se.default.Password,{autoComplete:"new-password",style:ca,size:"middle",placeholder:"\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"}))),yo.createElement(I.default.Item,null,yo.createElement(h.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:ca,className:"font16"}," ",Be," ")),yo.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:35}},"\u6CE8\u518C\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",yo.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),yo.createElement(Sa,{ModalProps:{open:bn,onCancel:()=>{Wn(!1)}},onFinish:()=>{Wn(!1),rn()}}))};var Uo=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(ko),$o=e(89392),to=e(59301),ga=Object.defineProperty,ia=Object.defineProperties,za=Object.getOwnPropertyDescriptors,qa=Object.getOwnPropertySymbols,Za=Object.prototype.hasOwnProperty,ja=Object.prototype.propertyIsEnumerable,Wa=(o,f,b)=>f in o?ga(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ka=(o,f)=>{for(var b in f||(f={}))Za.call(f,b)&&Wa(o,b,f[b]);if(qa)for(var b of qa(f))ja.call(f,b)&&Wa(o,b,f[b]);return o},$a=(o,f)=>ia(o,za(f)),Ha=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const Ma={height:48},_a=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,ii=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,li={timer:0};var Po=(o=>(o[o.setTimer=0]="setTimer",o))(Po||{});function co(o,f){switch(f.type){case 0:return $a(Ka({},o),{timer:f.payload});default:throw new Error}}const So=({validateName:o,getCode:f,register:b,style:$={paddingRight:50},buttonText:Be="\u6CE8\u518C",globalSetting:Ge})=>{const[ht]=I.default.useForm(),[rt,ke]=(0,t.useReducer)(co,li),[Dt,En]=(0,t.useState)(!1),{timer:pn}=rt,[un,bn]=(0,t.useState)(!1);function Wn(Ln){return Ha(this,null,function*(){const{login:at,new_password:Lt,code:Pn}=Ln,{message:vr,status:er}=yield b({login:at,new_password:Lt,code:Pn});if(er<0){ht.setFields([{name:"code",errors:[vr]}]);return}location.reload()})}function Rn(){return Ha(this,null,function*(){let Ln=ht.getFieldValue("login"),at=0;if(!_a.test(Ln)||Ln.indexOf(" ")>-1)return ht.setFields([{name:"login",errors:["\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"]}]),at=1,at;let{status:Lt,message:Pn}=yield o({login:Ln,type:2});return Lt>0?at=2:(ht.setFields([{name:"login",errors:[Pn]}]),at=1),at})}const lr=()=>Ha(void 0,null,function*(){const Ln=ht.getFieldValue("verify"),at=ht.getFieldValue("login");if(yield ht.validateFields(["login"]),!at)ht.validateFields(["login"]);else{En(!0);const{status:Lt,message:Pn}=yield f({login:at,type:2,smscode:(0,B.M)(at)});Lt<0&&ht.setFields([{name:"code",errors:[Pn]}]),ke({type:0,payload:60}),En(!1)}});function rn(Ln,at){if(!at)return Promise.resolve();if(!ii.test(at))return Promise.reject("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD");if(at.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C");const Lt=at.length;return Lt>=8&&Lt<=16?Promise.resolve():Promise.reject("\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C")}const an=(Ln,at)=>at?Promise.resolve():Promise.reject("\u8BF7\u62D6\u52A8\u6ED1\u5757\u9A8C\u8BC1");(0,t.useEffect)(()=>{pn>0&&setTimeout(()=>{ke({type:0,payload:pn-1})},1e3)},[pn]);const en=(Ln,at)=>Ha(void 0,null,function*(){if(!at)return Promise.resolve();if(at.indexOf(" ")>-1)return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1");if(_a.test(at)){let{status:Lt,message:Pn}=yield o({login:at,type:2});return Lt>0?Promise.resolve():Promise.reject(Pn)}else return Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1")});return to.createElement(to.Fragment,null,to.createElement(I.default,{layout:"vertical",form:ht,style:$,initialValues:{autologin:!0,protool:!1},onFinish:(0,$o.throttle)(Wn,2e3)},to.createElement(I.default.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"},{validator:(0,$o.throttle)(en,400)}]},to.createElement(se.default,{style:Ma,autoComplete:"new-login",size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7",onChange:()=>ht.setFieldsValue({verify:0})})),to.createElement(D.Z,{title:to.createElement("div",null,to.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),to.createElement("br",null),to.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),to.createElement("br",null),to.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},to.createElement(I.default.Item,{name:"new_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:rn}]},to.createElement(se.default.Password,{autoComplete:"new-password",style:Ma,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),to.createElement(I.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},to.createElement(se.default,{suffix:to.createElement(h.ZP,{loading:Dt,type:"link",onClick:Ln=>{if(Ln.stopPropagation(),!ht.getFieldValue("login")){ht.validateFields(["login"]);return}bn(!0)},disabled:pn>0}," ",pn===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`${pn}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"})),to.createElement(I.default.Item,null,to.createElement(h.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:Ma,className:"font16"}," ",Be," ")),to.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",to.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B"))),to.createElement(Sa,{ModalProps:{open:un,onCancel:()=>{bn(!1)}},onFinish:()=>{bn(!1),lr()}}))};var _o=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(So),ea=Object.defineProperty,Pa=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,ei=(o,f,b)=>f in o?ea(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,si=(o,f)=>{for(var b in f||(f={}))ha.call(f,b)&&ei(o,b,f[b]);if(Pa)for(var b of Pa(f))ka.call(f,b)&&ei(o,b,f[b]);return o};const ti=o=>React.createElement("svg",si({id:"wechat_svg__\\u56FE\\u5C42_1",xmlns:"http://www.w3.org/2000/svg",x:0,y:0,viewBox:"0 0 66 66",style:{enableBackground:"new 0 0 66 66"},xmlSpace:"preserve"},o),React.createElement("style",null,".wechat_svg__st1{fill:#00b913}"),React.createElement("g",{id:"wechat_svg__\\u9875\\u9762-1"},React.createElement("g",{id:"wechat_svg__\\u767B\\u5F55_x2F_\\u6CE8\\u518C",transform:"translate(-1081 -380)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-18\\u5907\\u4EFD",transform:"translate(1063 238)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-12",transform:"translate(18 142)"},React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4-10"},React.createElement("circle",{id:"wechat_svg__\\u692D\\u5706\\u5F62",cx:33,cy:33,r:33,style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#c6f4c9"}}),React.createElement("g",{id:"wechat_svg__\\u7F16\\u7EC4",transform:"translate(12 15.429)"},React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84",className:"wechat_svg__st1",d:"M16.3 22.8c0-6.6 6-12.1 13.7-12.1h.4C29.1 4.6 22.7 0 15.4 0 7.2 0 .4 5.8.4 13.1c0 4.3 2.2 7.7 6 10.5l-1.5 4.7 5.2-2.7c1.7.4 3.5.7 5.3.8.5 0 .9 0 1.4-.1l.1-.1c-.4-1.1-.6-2.3-.6-3.4z"}),React.createElement("path",{id:"wechat_svg__\\u8DEF\\u5F84_1_",className:"wechat_svg__st1",d:"M42.4 22.4c0-6.2-5.8-11.2-12.4-11.2-7 0-12.4 5.1-12.4 11.2S23.1 33.6 30 33.6c1.5-.1 3-.3 4.4-.8l4 2.3-1-3.8c2.8-2.3 5-5.5 5-8.9z"}),React.createElement("path",{id:"wechat_svg__\\u5F62\\u72B6",d:"M21.6 6c1-.1 1.8.7 1.9 1.7V8c.1 1-.7 1.9-1.6 2h-.2c-1.1.1-2.1-.8-2.2-2 0-1.2 1-2.1 2.1-2zM11.2 9.9C10.1 10 9.1 9.2 9 8c.1-1.2 1.1-2.1 2.2-2 1-.1 1.8.7 1.8 1.8V8c.1 1-.7 1.9-1.6 2h-.2zm15.2 10.7c-.8-.1-1.4-.7-1.5-1.6.1-.8.7-1.5 1.5-1.6.9-.1 1.7.6 1.9 1.6-.2 1-1 1.7-1.9 1.6zm8.2 0c-.8-.1-1.4-.7-1.5-1.6.1-.8.7-1.5 1.5-1.6.9-.1 1.7.6 1.9 1.6-.2 1-1 1.7-1.9 1.6z",style:{fill:"#fff"}}))))))));var Va="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSLlm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNjYgNjYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDY2IDY2IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGU+LnN0MXtmaWxsOiMwMGI5MTN9PC9zdHlsZT48ZyBpZD0i6aG16Z2iLTEiPjxnIGlkPSLnmbvlvZVfeDJGX+azqOWGjCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwODEgLTM4MCkiPjxnIGlkPSLnvJbnu4QtMTjlpIfku70iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwNjMgMjM4KSI+PGcgaWQ9Iue8lue7hC0xMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTggMTQyKSI+PGcgaWQ9Iue8lue7hC0xMCI+PGNpcmNsZSBpZD0i5qSt5ZyG5b2iIiBjeD0iMzMiIGN5PSIzMyIgcj0iMzMiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiNjNmY0YzkiLz48ZyBpZD0i57yW57uEIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiAxNS40MjkpIj48cGF0aCBpZD0i6Lev5b6EIiBjbGFzcz0ic3QxIiBkPSJNMTYuMyAyMi44YzAtNi42IDYtMTIuMSAxMy43LTEyLjFoLjRDMjkuMSA0LjYgMjIuNyAwIDE1LjQgMCA3LjIgMCAuNCA1LjguNCAxMy4xYzAgNC4zIDIuMiA3LjcgNiAxMC41bC0xLjUgNC43IDUuMi0yLjdjMS43LjQgMy41LjcgNS4zLjguNSAwIC45IDAgMS40LS4xbC4xLS4xYy0uNC0xLjEtLjYtMi4zLS42LTMuNHoiLz48cGF0aCBpZD0i6Lev5b6EXzFfIiBjbGFzcz0ic3QxIiBkPSJNNDIuNCAyMi40YzAtNi4yLTUuOC0xMS4yLTEyLjQtMTEuMi03IDAtMTIuNCA1LjEtMTIuNCAxMS4yUzIzLjEgMzMuNiAzMCAzMy42YzEuNS0uMSAzLS4zIDQuNC0uOGw0IDIuMy0xLTMuOGMyLjgtMi4zIDUtNS41IDUtOC45eiIvPjxwYXRoIGlkPSLlvaLnirYiIGQ9Ik0yMS42IDZjMS0uMSAxLjguNyAxLjkgMS43VjhjLjEgMS0uNyAxLjktMS42IDJoLS4yYy0xLjEuMS0yLjEtLjgtMi4yLTIgMC0xLjIgMS0yLjEgMi4xLTJ6TTExLjIgOS45QzEwLjEgMTAgOS4xIDkuMiA5IDhjLjEtMS4yIDEuMS0yLjEgMi4yLTIgMS0uMSAxLjguNyAxLjggMS44VjhjLjEgMS0uNyAxLjktMS42IDJoLS4yem0xNS4yIDEwLjdjLS44LS4xLTEuNC0uNy0xLjUtMS42LjEtLjguNy0xLjUgMS41LTEuNi45LS4xIDEuNy42IDEuOSAxLjYtLjIgMS0xIDEuNy0xLjkgMS42em04LjIgMGMtLjgtLjEtMS40LS43LTEuNS0xLjYuMS0uOC43LTEuNSAxLjUtMS42LjktLjEgMS43LjYgMS45IDEuNi0uMiAxLTEgMS43LTEuOSAxLjZ6IiBzdHlsZT0iZmlsbDojZmZmIi8+PC9nPjwvZz48L2c+PC9nPjwvZz48L2c+PC9zdmc+",gi=Object.defineProperty,hi=Object.getOwnPropertySymbols,Qi=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,yi=(o,f,b)=>f in o?gi(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ji=(o,f)=>{for(var b in f||(f={}))Qi.call(f,b)&&yi(o,b,f[b]);if(hi)for(var b of hi(f))Pi.call(f,b)&&yi(o,b,f[b]);return o};const qi=o=>React.createElement("svg",Ji({className:"QQUrl_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},o),React.createElement("path",{d:"M512 0C229.356 0 0 229.356 0 512s229.356 512 512 512 512-229.356 512-512S794.644 0 512 0zm235.75 647.603c-10.7 5.417-27.417-6.963-43.34-30.157-6.267 25.262-21.673 47.95-43.607 66.253 23.244 8.505 38.123 22.17 38.123 37.898 0 25.519-40.99 46.403-91.387 46.403-45.43 0-83.287-17.014-90.076-38.927h-10.967C499.446 751.243 461.85 768 416.42 768c-50.396 0-91.387-20.623-91.387-46.403 0-15.728 15.145-29.388 38.118-37.898-21.929-18.304-37.596-41.252-43.602-66.253-15.667 23.194-32.634 35.83-43.34 30.157-15.668-7.987-12.534-51.046 7.05-96.159 15.145-35.317 36.03-61.614 51.697-67.287-.262-2.319-.262-4.638-.262-6.707 0-13.66 3.917-26.291 10.445-36.608v-2.314c0-6.19 1.567-12.119 4.178-17.275C353.23 329.216 414.07 256 512.241 256s159.006 73.216 162.923 165.253a38.374 38.374 0 0 1 4.178 17.275v2.32c6.528 10.311 10.445 22.942 10.445 36.607 0 2.32 0 4.64-.261 6.702 15.923 5.673 36.557 31.97 51.696 67.287 19.062 45.118 22.196 88.167 6.528 96.16z",fill:"#378AFE"}));var Oi="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiAwQzIyOS4zNTYgMCAwIDIyOS4zNTYgMCA1MTJzMjI5LjM1NiA1MTIgNTEyIDUxMiA1MTItMjI5LjM1NiA1MTItNTEyUzc5NC42NDQgMCA1MTIgMHptMjM1Ljc1IDY0Ny42MDNjLTEwLjcgNS40MTctMjcuNDE3LTYuOTYzLTQzLjM0LTMwLjE1Ny02LjI2NyAyNS4yNjItMjEuNjczIDQ3Ljk1LTQzLjYwNyA2Ni4yNTMgMjMuMjQ0IDguNTA1IDM4LjEyMyAyMi4xNyAzOC4xMjMgMzcuODk4IDAgMjUuNTE5LTQwLjk5IDQ2LjQwMy05MS4zODcgNDYuNDAzLTQ1LjQzIDAtODMuMjg3LTE3LjAxNC05MC4wNzYtMzguOTI3aC0xMC45NjdDNDk5LjQ0NiA3NTEuMjQzIDQ2MS44NSA3NjggNDE2LjQyIDc2OGMtNTAuMzk2IDAtOTEuMzg3LTIwLjYyMy05MS4zODctNDYuNDAzIDAtMTUuNzI4IDE1LjE0NS0yOS4zODggMzguMTE4LTM3Ljg5OC0yMS45MjktMTguMzA0LTM3LjU5Ni00MS4yNTItNDMuNjAyLTY2LjI1My0xNS42NjcgMjMuMTk0LTMyLjYzNCAzNS44My00My4zNCAzMC4xNTctMTUuNjY4LTcuOTg3LTEyLjUzNC01MS4wNDYgNy4wNS05Ni4xNTkgMTUuMTQ1LTM1LjMxNyAzNi4wMy02MS42MTQgNTEuNjk3LTY3LjI4Ny0uMjYyLTIuMzE5LS4yNjItNC42MzgtLjI2Mi02LjcwNyAwLTEzLjY2IDMuOTE3LTI2LjI5MSAxMC40NDUtMzYuNjA4di0yLjMxNGMwLTYuMTkgMS41NjctMTIuMTE5IDQuMTc4LTE3LjI3NUMzNTMuMjMgMzI5LjIxNiA0MTQuMDcgMjU2IDUxMi4yNDEgMjU2czE1OS4wMDYgNzMuMjE2IDE2Mi45MjMgMTY1LjI1M2EzOC4zNzQgMzguMzc0IDAgMCAxIDQuMTc4IDE3LjI3NXYyLjMyYzYuNTI4IDEwLjMxMSAxMC40NDUgMjIuOTQyIDEwLjQ0NSAzNi42MDcgMCAyLjMyIDAgNC42NC0uMjYxIDYuNzAyIDE1LjkyMyA1LjY3MyAzNi41NTcgMzEuOTcgNTEuNjk2IDY3LjI4NyAxOS4wNjIgNDUuMTE4IDIyLjE5NiA4OC4xNjcgNi41MjggOTYuMTZ6IiBmaWxsPSIjMzc4QUZFIi8+PC9zdmc+",ui={"other-login":"other-login___Jd48Z","btn-link":"btn-link___MhTA6","wechat-qrcode":"wechat-qrcode___bLWkh",driver:"driver___IuicK"},Di=e(346),xo=e(59301);const bi=window.location.host,di=Di.Z.QQLoginCB;var $i=({onWechatLogin:o,setType:f,loginType:b})=>{function $(){let Be="";return(0,B.b9)()?Be=`https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=${di}%2fotherloginqq&state=null,${bi}&response_type=code`:Be=`https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=${di}%2fotherloginqq&state=null,${bi}&response_type=code`,Be}return xo.createElement(xo.Fragment,null,(b===1||b===2)&&xo.createElement("div",{style:{marginTop:(0,B.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u6CA1\u6709\u8D26\u53F7\uFF1F",xo.createElement("span",{onClick:()=>f(3),className:"c-blue current"},"\u514D\u8D39\u6CE8\u518C")),(b===3||b===4||b===5)&&xo.createElement("div",{style:{marginTop:(0,B.WX)()?192:92,marginBottom:60},className:"font16 tc"},"\u5DF2\u6709\u8D26\u53F7\uFF1F",xo.createElement("span",{onClick:()=>f(1),className:"c-blue current"},"\u7ACB\u5373\u767B\u5F55")),!(0,B.WX)()&&xo.createElement(xo.Fragment,null,xo.createElement("p",{className:ui.driver},xo.createElement("span",{style:{color:"#444444"}},"\u5FEB\u901F\u767B\u5F55")),xo.createElement("div",{className:ui["other-login"]},(0,B.s2)()&&(0,B.IS)()&&xo.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{margin:0},onClick:o},xo.createElement("img",{src:Va,alt:"\u5FAE\u4FE1",width:66})),(0,B.s2)()&&!(0,B.IS)()&&xo.createElement("a",{title:"qq\u767B\u5F55",rel:"noreferrer noopener nofollow",style:{margin:0},href:$()},xo.createElement("img",{src:Oi,alt:"QQ",width:66})),(0,B.b9)()&&xo.createElement(xo.Fragment,null,xo.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",style:{marginRight:(0,B.IS)()?0:40},onClick:o},xo.createElement("img",{src:Va,alt:"\u5FAE\u4FE1",width:66})),!(0,B.IS)()&&xo.createElement("a",{title:"qq\u767B\u5F55",href:$()},xo.createElement("img",{src:Oi,alt:"QQ",width:66}))))))};function Fi({onBack:o,setType:f}){return xo.createElement(xo.Fragment,null,xo.createElement("div",{style:{overflow:"hidden",width:300,height:300,margin:"20px auto 0 auto"}},xo.createElement("iframe",{className:ui["wechat-qrcode"],frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:`https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=${di}%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,${bi}#wechat_redirect`})),xo.createElement("div",{style:{marginTop:17,marginBottom:10},className:"font16 bold tc c-blue current"},xo.createElement("span",{onClick:()=>f(1),style:{borderBottom:"2px solid #0152d9"}},"\u8FD4\u56DE\u8D26\u53F7\u767B\u5F55")))}var _i=Object.defineProperty,Li=Object.defineProperties,el=Object.getOwnPropertyDescriptors,Ci=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,Ri=(o,f,b)=>f in o?_i(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Ti=(o,f)=>{for(var b in f||(f={}))tl.call(f,b)&&Ri(o,b,f[b]);if(Ci)for(var b of Ci(f))Ni.call(f,b)&&Ri(o,b,f[b]);return o},nl=(o,f)=>Li(o,el(f)),zi=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const fi={height:48},Zi=/(\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b)|(^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$)/i,rl=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,ji={timer:0};var Wi=(o=>(o[o.setTimer=0]="setTimer",o))(Wi||{});function Ki(o,f){switch(f.type){case 0:return nl(Ti({},o),{timer:f.payload});default:throw new Error}}const Hi=({validateName:o,getCode:f,register:b,style:$={},buttonText:Be="\u6CE8\u518C",globalSetting:Ge})=>{const[ht]=I.default.useForm(),[rt,ke]=(0,t.useReducer)(Ki,ji),[Dt,En]=(0,t.useState)(!1),{timer:pn}=rt;function un(Wn){return zi(this,null,function*(){const{old_password:Rn,newPassword:lr}=Wn,{message:rn,status:an}=yield b({old_password:Rn,newPassword:lr});if(an<0){ht.setFields([{name:"code",errors:[rn]}]);return}})}const bn=(Wn,Rn,lr)=>{Rn?Rn.indexOf(" ")>-1?lr("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):Rn.length<8||Rn.length>16?lr("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01"):rl.test(Rn)?lr():lr("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):lr("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\uFF01")};return(0,t.useEffect)(()=>{pn>0&&setTimeout(()=>{ke({type:0,payload:pn-1})},1e3)},[pn]),t.createElement(I.default,{layout:"vertical",form:ht,style:$,initialValues:{autologin:!0,protool:!1},onFinish:un},t.createElement(I.default.Item,{name:"old_password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}]},t.createElement(se.default,{style:fi,autoComplete:"new-login",size:"middle",type:"password",placeholder:"\u8BF7\u8F93\u5165\u65E7\u5BC6\u7801",onChange:()=>ht.setFieldsValue({verify:0})})),t.createElement(D.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(I.default.Item,{name:"newPassword",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"},{validator:bn}]},t.createElement(se.default.Password,{autoComplete:"new-password",style:fi,size:"middle",placeholder:"\u8F93\u51658\uFF5E16\u4F4D\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),t.createElement(D.Z,{title:t.createElement("div",null,t.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),t.createElement("br",null),t.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),t.createElement("br",null),t.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"topRight"},t.createElement(I.default.Item,{name:"againPassword",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},{validator:(Wn,Rn,lr)=>{Rn!=ht.getFieldsValue().newPassword?lr("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01"):lr()}}]},t.createElement(se.default.Password,{autoComplete:"new-password",style:fi,size:"middle",placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"}))),t.createElement(I.default.Item,null,t.createElement(h.ZP,{size:"middle",type:"primary",htmlType:"submit",block:!0,style:fi,className:"font16"}," ",Be," ")),t.createElement("div",{className:"tc",style:{paddingTop:0,paddingBottom:20}},"\u4FEE\u6539\u5E76\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var ki=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(Hi),Ei=e(99313),Si=e(95237),fa=e(43604),Vi=Object.defineProperty,xi=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,N=(o,f,b)=>f in o?Vi(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,j=(o,f)=>{for(var b in f||(f={}))a.call(f,b)&&N(o,b,f[b]);if(xi)for(var b of xi(f))l.call(f,b)&&N(o,b,f[b]);return o},ee=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const{TabPane:ae}=Ei.default,ze=({dispatch:o,is_main_site:f,is_local:b,globalSetting:$,style:Be={}})=>{const[Ge,ht]=(0,t.useState)(!1),[rt,ke]=(0,t.useState)("1"),[Dt,En]=(0,t.useState)(1),[pn,un]=(0,t.useState)();function bn(){En(1),ht(!1)}function Wn(){En(2),ht(!0)}function Rn(at){console.log(at),ke(at)}const lr={buttonText:"\u767B \u5F55",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){const Lt=yield(0,ue.Gq)({phone:at.login,code:at.code});return Lt.status===0?(Lt!=null&&Lt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Lt==null?void 0:Lt.start_date)):localStorage.removeItem("extension-modal"),"/"):Lt})},rn={buttonText:"\u6CE8\u518C\u5E76\u767B\u5F55",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){const Lt=yield(0,ue.z2)(j({},at));return Lt.status===0?(localStorage.getItem("addinfo")==="1"?localStorage.setItem("addinfo","2"):localStorage.setItem("registeruser","1"),localStorage.removeItem("extension-modal"),n.ZP.info("\u6CE8\u518C\u5E76\u767B\u9646\u6210\u529F"),"/"):Lt})},an={buttonText:"\u4FEE\u6539\u5BC6\u7801",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){const Lt=yield(0,ue.Ex)(j({login:pn},at));return n.ZP.info("\u4FEE\u6539\u5BC6\u7801\u6210\u529F"),Lt})},en={buttonText:"\u4FEE\u6539\u5E76\u767B\u5F55",validateName:ue.Ol,getCode:ue.o1,register:at=>ee(void 0,null,function*(){at.new_password_confirmation=at.new_password;const Lt=yield(0,ue.c0)(j({},at));return Lt.status===0?(Lt!=null&&Lt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Lt==null?void 0:Lt.start_date)):localStorage.removeItem("extension-modal"),n.ZP.info("\u4FEE\u6539\u6210\u529F"),"/"):Lt})},Ln=(0,t.useCallback)(()=>{var at,Lt,Pn,vr;switch(Dt){case 1:return t.createElement(Ei.default,{defaultActiveKey:rt,onChange:Rn,className:Me.tabs},t.createElement(ae,{tab:"\u8D26\u53F7\u767B\u5F55",key:"1"},t.createElement("div",{className:"mt20"},rt==="1"&&t.createElement(z,{setusername:un,setType:En})),((at=$==null?void 0:$.setting)==null?void 0:at.sso_login_url)&&t.createElement("div",{style:{position:"absolute",top:"-80px",right:"10px"}},t.createElement("a",{target:"_blank",href:(Lt=$==null?void 0:$.setting)==null?void 0:Lt.sso_login_url},t.createElement("img",{src:`${Di.Z.IMG_SERVER}/${(Pn=$.setting)==null?void 0:Pn.login_logo_url}`,width:40}),t.createElement("span",{style:{color:"#333",fontSize:"14px",fontWeight:500,paddingLeft:"10px"}},(vr=$==null?void 0:$.setting)==null?void 0:vr.sso_login_button_name)))));case 2:return t.createElement(Fi,{setType:En,onBack:bn});case 3:return t.createElement("div",{className:"ml40"},t.createElement("h1",{className:"font18 mb20 mt35"},"\u65B0\u7528\u6237\u6CE8\u518C"),t.createElement(Uo,j({},rn)));case 4:return t.createElement("div",{className:"ml40"},t.createElement("h1",{className:"font18 mb20 mt35"},"\u627E\u56DE\u5BC6\u7801"),t.createElement(_o,j({},en)));case 5:return t.createElement("div",{className:"ml40"},t.createElement("h1",{className:"font18 mb20 mt35"},"\u4FEE\u6539\u5BC6\u7801"),t.createElement(ki,j({},an)))}},[Dt,rt]);return t.createElement("div",{className:Me["login-panel-wrapper2"],style:Be},t.createElement(Si.Z,null,t.createElement(fa.Z,{flex:"1"},Ln()),t.createElement(fa.Z,{flex:"295px",className:Me["login-panel-right-wrp"]},!b&&t.createElement($i,{loginType:Dt,setType:En,onWechatLogin:Wn}))))};var Ze=(0,d.connect)(({globalSetting:o})=>({globalSetting:o}))(ze),Oe={popLogin:"popLogin___R8wQQ"};const Ye=({user:o,globalSetting:f,loading:b,dispatch:$})=>{var Be,Ge;const ht=()=>{$({type:"user/showPopLogin",payload:{showPopLogin:!1,showClosable:!1}})},rt=(Be=f.setting)==null?void 0:Be.main_site,ke=(Ge=f.setting)==null?void 0:Ge.is_local,[Dt,En]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{var pn,un;console.log(f.setting),console.log(o.showPopLogin),f.setting&&((pn=f.setting)!=null&&pn.hide_account_login?o.showPopLogin&&(d.history.push((un=f==null?void 0:f.setting)==null?void 0:un.sso_login_url),$({type:"user/showPopLogin",payload:{showPopLogin:!1}})):En(!1))},[f==null?void 0:f.setting,o.showPopLogin]),t.createElement(S.default,{centered:!0,visible:o.showPopLogin&&!Dt,footer:null,width:ke?460:765,keyboard:!1,maskClosable:!1,destroyOnClose:!0,wrapClassName:Oe.popLogin,closable:o.showClosable,onCancel:ht},o.showPopLogin&&t.createElement(Ze,{is_main_site:rt,is_local:ke}))};var ct=(0,d.connect)(({user:o,loading:f,globalSetting:b})=>({user:o,globalSetting:b,loading:f.models.index}))(Ye),Qe=e(38986),Rt={popLogin:"popLogin___u08I8",tips:"tips___U2xQw"},wt=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const Ft=/^1\d{10}$/,sn=/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/,Jt=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,cn=({user:o,globalSetting:f,dispatch:b})=>{const[$]=(0,d.useSearchParams)(),Be={height:48,borderRadius:4},[Ge]=I.default.useForm(),ht=()=>{b({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}),Ge.resetFields()},rt=(at,Lt)=>Lt?Lt.indexOf(" ")>-1?Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Ft.test(Lt)||sn.test(Lt)?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u6216\u90AE\u7BB1"):Promise.resolve(),[ke,Dt]=(0,t.useState)(60),En=(0,t.useMemo)(()=>ke<60&&ke>0,[ke]),pn=(0,t.useRef)(),un=()=>wt(void 0,null,function*(){clearInterval(pn.current),Dt(60),pn.current=setInterval(function at(){return Dt(Lt=>Lt-1),at}(),1e3)}),[bn,Wn]=(0,t.useState)(!1),[Rn,lr]=(0,t.useState)(!1);(0,t.useEffect)(()=>{o.bindAccountModalVisible?lr(!0):lr(!1)},[o]);const rn=()=>wt(void 0,null,function*(){var at;const Lt=Ge.getFieldValue("userInput"),Pn=Ft.test(Lt),vr=sn.test(Lt);if(!Pn&&!vr){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}if(Wn(!0),Pn){const no=yield(0,Qe.ZP)(`/api/users/accounts/${(at=o.userInfoForBindAccountModal)==null?void 0:at.login}/valid_phone.json`,{method:"get",params:{phone:Lt}});if((no==null?void 0:no.status)===-1){Wn(!1);return}if(no!=null&&no.is_exists){n.ZP.info("\u8BE5\u624B\u673A\u53F7\u5DF2\u88AB\u5176\u5B83\u8D26\u53F7\u7ED1\u5B9A"),Wn(!1);return}}else{const no=yield(0,Qe.ZP)("/api/accounts/valid_email_and_phone",{method:"get",params:{login:Lt,type:1}});if((no==null?void 0:no.status)===-3){n.ZP.info("\u8BE5\u90AE\u7BB1\u5DF2\u88AB\u6CE8\u518C"),Wn(!1);return}}let er=(0,B.M)(Lt);const lo=yield b({type:"account/getCode",payload:{login:Lt,type:Pn?3:4,smscode:er}});Wn(!1),lo.status===1&&(n.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),un())}),an=()=>wt(void 0,null,function*(){var at,Lt;yield Ge.validateFields();const Pn=Ge.getFieldValue("userInput"),vr=Ge.getFieldValue("code"),er=Ft.test(Pn),lo=sn.test(Pn);if(!er&&!lo){n.ZP.error("\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7");return}return er?(yield b({type:"account/bindPhone",payload:{login:(at=o.userInfoForBindAccountModal)==null?void 0:at.login,phone:Pn,code:vr}})).status===0:(yield b({type:"account/bindEmail",payload:{login:(Lt=o.userInfoForBindAccountModal)==null?void 0:Lt.login,email:Pn,code:vr}})).status===0}),en=()=>wt(void 0,null,function*(){const at=o.loginInfo;Jt.test(at.password)||n.ZP.error("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539");const Lt=yield(0,ue.Es)(at);if(Lt.status){n.ZP.error(Lt==null?void 0:Lt.message);return}if(Lt!=null&&Lt.show?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",Lt==null?void 0:Lt.start_date)):localStorage.removeItem("extension-modal"),location.pathname==="/user/login"||location.pathname==="/login"){let Pn=$.get("from")||$.get("back_url");Pn?window.location.href=decodeURIComponent(Pn):Jt.test(at.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),window.location.href="/account/secure")}else Jt.test(at.password)?window.location.reload():(n.ZP.info("\u7CFB\u7EDF\u68C0\u6D4B\u60A8\u7684\u5BC6\u7801\u5F3A\u5EA6\u8FC7\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u4FEE\u6539"),d.history.replace("/account/secure?active=3"),b({type:"user/setBindAccountModal",payload:{bindAccountModalVisible:!1}}));Ge.resetFields()}),Ln=()=>wt(void 0,null,function*(){(yield an())&&(yield en())});return t.createElement(S.default,{centered:!0,open:Rn,footer:null,width:596,keyboard:!1,maskClosable:!0,wrapClassName:Rt.popLogin,closable:!0,onCancel:ht},t.createElement("h1",{className:"font18 mb20"},"\u624B\u673A\u53F7/\u90AE\u7BB1\u7ED1\u5B9A"),t.createElement(I.default,{layout:"vertical",form:Ge,autoComplete:"off",preserve:!1},t.createElement(I.default.Item,{name:"userInput",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7/\u90AE\u7BB1"},{validator:rt}]},t.createElement(se.default,{style:Be,size:"middle",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7"})),t.createElement(I.default.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},t.createElement(se.default,{suffix:t.createElement(h.ZP,{loading:bn,type:"link",onClick:rn,disabled:En},En?`${ke}\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`:"\u83B7\u53D6\u9A8C\u8BC1\u7801"),style:{paddingRight:2,height:48},placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",size:"middle"}))),t.createElement("div",{className:Rt.tips},"\u4E3A\u4E86\u8D26\u53F7\u5B89\u5168\u6027\uFF0C\u7ED1\u5B9A\u540E\u53EF\u901A\u8FC7\u8BE5\u624B\u673A\u53F7\u6216\u90AE\u7BB1\u627E\u56DE\u5BC6\u7801"),t.createElement(h.ZP,{size:"middle",type:"primary",block:!0,style:Be,className:"font16",onClick:Ln},"\u7ED1\u5B9A\u5E76\u767B\u5F55"),t.createElement("div",{className:Rt.tips},"\u767B\u5F55\u5373\u4EE3\u8868\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",t.createElement("a",{href:"https://engineer.educoder.net/help?index=4",target:"_blank"},"\u300A\u670D\u52A1\u534F\u8BAE\u6761\u6B3E\u300B")))};var _t=(0,d.connect)(({user:o,loading:f,globalSetting:b})=>({user:o,globalSetting:b,loading:f.models.index}))(cn),yn=e(71418),Jn=e(61186),Gn=e.n(Jn),Nn=e(65218),fr={wrap:"wrap___q9xAc",list:"list___qjgdz",name:"name___ncYhC",tag:"tag___Paafn"},Er=e(49535),wn=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())}),In=({})=>{const[o,f]=(0,t.useState)(!1),[b,$]=(0,t.useState)(!1),[Be,Ge]=(0,t.useState)([]),[ht,rt]=(0,t.useState)([]),[ke,Dt]=(0,t.useState)(!1),[En,pn]=(0,t.useState)(!1),[un,bn]=(0,t.useState)(null),Wn=(0,d.useLocation)(),[Rn]=(0,d.useSearchParams)();(0,t.useEffect)(()=>{Er.Z.subscribe("pod-restrict-data",an=>{var en,Ln;console.log(an,"data");const at=(en=an==null?void 0:an.data_list)==null?void 0:en[0];if(!(at!=null&&at.msg)){$(!0);return}(Ln=at==null?void 0:at.msg)!=null&&Ln.includes("cpu")&&bn({required:`${at==null?void 0:at.cpu_need}\u6838${at==null?void 0:at.mem_need}GB`,available:`${Math.max((at==null?void 0:at.max_cpu)-(at==null?void 0:at.cpu_use),0)}\u6838${Math.max((at==null?void 0:at.max_mem)-(at==null?void 0:at.mem_use),0)}GB`,maximum:`${at==null?void 0:at.max_cpu}\u6838${at==null?void 0:at.max_mem}GB`}),f(an.identifier||!1),Ge(an.data_list||[]),rt([]),Dt(!1)})},[]);const lr=()=>wn(void 0,null,function*(){pn(!0);const an=Be.filter(Ln=>ht.includes(Ln.tpi_id));(yield(0,Qe.ZP)("/api/myshixuns/batch_del_pods.json",{method:"delete",body:{del_pods:an}})).status===0&&window.location.reload(),pn(!1)}),rn=()=>{var an;if(console.log(Wn,"location"),(an=Wn.pathname)!=null&&an.includes("/challenges")){window.location.href="/shixuns";return}if(Rn.get("type")==="exercises"){window.parent.postMessage("backExercise","*"),Er.Z.publish("pod-restrict-data",{identifier:!1,data_list:[]});return}window.location.href=`/shixuns/${o}/challenges`};return t.createElement(t.Fragment,null,t.createElement(S.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:b,title:"\u901A\u77E5",width:"750px",onCancel:()=>{window.location.href="/shixuns"},footer:null},t.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},t.createElement("div",{className:"mb20"},"\u5F53\u524D\u5B9E\u8BAD\u6D88\u8017\u8D44\u6E90\u8FC7\u5927\uFF0C\u5DF2\u8D85\u8FC7\u7528\u6237\u53EF\u4F7F\u7528cpu\u3001\u5185\u5B58\u8D44\u6E90\u3002"),t.createElement(h.ZP,{type:"primary",className:"mb20",onClick:()=>(0,B.xg)("/account/resource")},"\u7ACB\u5373\u7533\u8BF7\u8D44\u6E90"))),t.createElement(S.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:o,title:"\u901A\u77E5",width:"750px",footer:t.createElement(Si.Z,{align:"middle",justify:"center"},t.createElement(le.default,{onChange:an=>{var en;Dt(an.target.checked),an.target.checked?rt((en=Be==null?void 0:Be.filter(Ln=>!Ln.is_current_shixun))==null?void 0:en.map(Ln=>Ln.tpi_id)):rt([])},checked:ke},"\u5168\u9009"),!!un&&t.createElement("span",{onClick:()=>(0,B.xg)("/account/resource"),className:"current c-light-primary ml10"},"\u7ACB\u5373\u7533\u8BF7\u8D44\u6E90"),t.createElement(h.ZP,{style:{marginLeft:"auto"},onClick:rn},"\u53D6\u6D88"),t.createElement(h.ZP,{disabled:!ht.length,loading:En,type:"primary",onClick:lr},"\u5173\u95ED\u5B9E\u8BAD")),onCancel:rn},t.createElement(yn.Z,{spinning:En},t.createElement("div",{className:fr.wrap},un?t.createElement("p",null,t.createElement("div",null,"\u5F53\u524D\u9879\u76EE\u9700\u8981CPU\u8D44\u6E90\u4E3A",t.createElement("b",null,un==null?void 0:un.required),"\uFF0C\u60A8\u53EF\u4F7F\u7528\u7684\u8BA1\u7B97\u8D44\u6E90\u4E0D\u8DB3\uFF0C\u82E5\u60F3\u5F00\u542F\u8BE5\u5B9E\u8BAD\u8BF7\u5173\u95ED\u5176\u4ED6\u5B9E\u8BAD\u6216\u8005\u7533\u8BF7\u66F4\u591A\u8D44\u6E90"),t.createElement("div",null,"CPU\u8D44\u6E90\uFF1A",t.createElement("b",null,un==null?void 0:un.available)," \u53EF\u7528\uFF08\u6700\u5927\u540C\u65F6\u53EF\u4F7F\u7528",t.createElement("b",null,un==null?void 0:un.maximum),"\uFF09")):t.createElement("p",null,"\u5355\u4E2A\u8D26\u53F7\u6700\u591A\u53EF\u540C\u65F6\u5F00\u542F10\u4E2A\u5B9E\u9A8C\u73AF\u5883\uFF0C\u82E5\u60F3\u5F00\u542F\u8BE5\u5B9E\u8BAD\u8BF7\u5173\u95ED\u5176\u4ED6\u5B9E\u8BAD\u3002"),Be==null?void 0:Be.map(an=>t.createElement("div",{className:fr.list,key:an.tpi_id},t.createElement(le.default,{disabled:an.is_current_shixun,onChange:en=>{let Ln=[...ht];en.target.checked?Ln.push(an.tpi_id):Ln=ht.filter(at=>at!==an.tpi_id),rt(Ln),Dt(Ln.length===Be.length)},checked:ht==null?void 0:ht.includes(an.tpi_id)}),t.createElement("span",{className:fr.name,onClick:()=>(0,B.xg)(`/shixuns/${an.shixun_identifier}/challenges`),title:an.shixun_name},t.createElement("b",null,an.shixun_name),an.is_current_shixun&&t.createElement("span",{className:fr.tag},"\u5F53\u524D\u5B9E\u8BAD")),un?t.createElement("span",{style:{color:"#53d1a3"}},"\u5360\u7528CPU\u8D44\u6E90\u5927\u5C0F\uFF1A",`${an==null?void 0:an.cpu_limit}\u6838${an==null?void 0:an.memory_limit}GB`):t.createElement("span",{style:{color:"#53d1a3"}},"\u8FD0\u884C\u4E2D\u7684\u73AF\u5883\uFF1A",an.pod_num,"\u4E2A")))))))},Mn={token:{colorPrimary:"#3061D0",colorInfo:"#3061D0",colorLink:"#3061D0",borderRadius:2,fontSizeLG:14},components:{Radio:{radioSize:16,dotSize:6},Modal:{titleFontSize:16,titleColor:"#000"}}},mr=e(59301),Ar=Object.getOwnPropertySymbols,Sr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Or=(o,f)=>{var b={};for(var $ in o)Sr.call(o,$)&&f.indexOf($)<0&&(b[$]=o[$]);if(o!=null&&Ar)for(var $ of Ar(o))f.indexOf($)<0&&or.call(o,$)&&(b[$]=o[$]);return b},Zr=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});const io=o=>{var f=o,{loading:b,globalSetting:$,dispatch:Be}=f,Ge=Or(f,["loading","globalSetting","dispatch"]);const ht="https://educoder-public.oss-cn-hangzhou.aliyuncs.com/Cover/logo_simple?x-oss-process=image/resize,h_200,w_200,m_pad",rt="\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002";(0,t.useEffect)(()=>{(0,B.IS)()&&Dt()},[]),(0,t.useEffect)(()=>{Be({type:"globalSetting/setShareData",payload:{desc:"\u5934\u6B4C\uFF0C\u5168\u79F0\u201C\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0\u201D\uFF0C\u662F\u56FD\u5185\u9AD8\u6821\u5E7F\u6CDB\u4F7F\u7528\u7684\u5728\u7EBF\u5B9E\u8DF5\u6559\u5B66\u670D\u52A1\u5E73\u53F0\u4E0E\u521B\u65B0\u73AF\u5883\uFF0C\u4E3A\u9AD8\u6821\u548C\u4F01\u4E1A\u7684\u5B9E\u8DF5\u4E0E\u521B\u65B0\u80FD\u529B\u63D0\u5347\u8D4B\u80FD\uFF0C\u662F\u4E2D\u56FD\u9AD8\u6821\u8BA1\u7B97\u673A\u6559\u80B2MOOC\u8054\u76DF\u5B9E\u8DF5\u6559\u5B66\u5DE5\u59D4\u3001\u5168\u56FD\u4EBA\u5DE5\u667A\u80FD\u804C\u4E1A\u6559\u80B2\u96C6\u56E2\u5B9E\u8DF5\u6559\u5B66\u5DE5\u4F5C\u59D4\u5458\u4F1A\u5B98\u65B9\u5408\u4F5C\u5E73\u53F0\u3002",title:document.title,imgUrl:ht}})},[location.pathname]),(0,t.useEffect)(()=>{ke()},[$==null?void 0:$.shareData]);const ke=()=>{var pn;(pn=window.wx)==null||pn.ready(function(){var un,bn,Wn,Rn,lr,rn,an={title:((un=$==null?void 0:$.shareData)==null?void 0:un.title)||document.title,desc:((bn=$==null?void 0:$.shareData)==null?void 0:bn.desc)||rt,link:window.location.href,imgUrl:((Rn=(Wn=$==null?void 0:$.shareData)==null?void 0:Wn.imgUrl)==null?void 0:Rn.replace("https://public.educoder.net","https://educoder-public.oss-cn-hangzhou.aliyuncs.com/"))||ht};(lr=window.wx)==null||lr.onMenuShareAppMessage(an),(rn=window.wx)==null||rn.onMenuShareTimeline(an)})};function Dt(){return Zr(this,null,function*(){const pn=yield(0,Qe.ZP)(`/api/users/js_sdk_data.json?url=${encodeURIComponent(location.href)}`,{method:"get"});(pn==null?void 0:pn.status)===0&&En(pn)})}function En(pn){window.wx.config({debug:!1,appId:(pn==null?void 0:pn.appid)||"wx2402d86a6b534f77",timestamp:(pn==null?void 0:pn.timestamp)||1716781260,nonceStr:(pn==null?void 0:pn.noncestr)||"WjRUMvS[",signature:(pn==null?void 0:pn.signature)||"0e182307b372cf71796c33e01b462cbfca0b9930",jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone"]})}return mr.createElement(mr.Fragment,null)};var Qr=(0,d.connect)(({loading:o,globalSetting:f})=>({loading:o,globalSetting:f}))(io),Fo=e(65517),Ao=e(93083),xr=e(9399),oo=e(59301),$r=Object.defineProperty,bo=Object.defineProperties,vo=Object.getOwnPropertyDescriptors,Xo=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,_n=(o,f,b)=>f in o?$r(o,f,{enumerable:!0,configurable:!0,writable:!0,value:b}):o[f]=b,Vn=(o,f)=>{for(var b in f||(f={}))ir.call(f,b)&&_n(o,b,f[b]);if(Xo)for(var b of Xo(f))ar.call(f,b)&&_n(o,b,f[b]);return o},Jr=(o,f)=>bo(o,vo(f)),Qn=(o,f)=>{var b={};for(var $ in o)ir.call(o,$)&&f.indexOf($)<0&&(b[$]=o[$]);if(o!=null&&Xo)for(var $ of Xo(o))f.indexOf($)<0&&ar.call(o,$)&&(b[$]=o[$]);return b},Cr=(o,f,b)=>new Promise(($,Be)=>{var Ge=ke=>{try{rt(b.next(ke))}catch(Dt){Be(Dt)}},ht=ke=>{try{rt(b.throw(ke))}catch(Dt){Be(Dt)}},rt=ke=>ke.done?$(ke.value):Promise.resolve(ke.value).then(Ge,ht);rt((b=b.apply(o,f)).next())});Gn().locale("zh-cn");const Yr=o=>{var f=o,{loading:b,globalSetting:$,user:Be,dispatch:Ge}=f,ht=Qn(f,["loading","globalSetting","user","dispatch"]),rt;const ke=(0,d.useLocation)(),[Dt]=(0,d.useSearchParams)(),En=(0,Nn.g)(),{globalLoading:pn}=$,[un,bn]=(0,t.useState)(!1),Wn=()=>Cr(void 0,null,function*(){let rn,an;const en=ke.pathname.split("/");if(ke!=null&&ke.search){let Ln,at;en.includes("paths")?Ln=en[2]:en.includes("tasks")&&(at=en[2]),rn=yield Ge({type:"user/getUserInfo",payload:Jr(Vn(Vn({},En),(0,B.oP)()),{subject_id:Ln,game_id:at,websiteName:"educoder"})})}else en.includes("tasks")&&(an=en[2]),rn=yield Ge({type:"user/getUserInfo",payload:Jr(Vn({},En),{game_id:an})});(rn==null?void 0:rn.username)!=="\u6E38\u5BA2"&&(ke.pathname==="/login"&&(window.location.href="/"),ke.pathname!=="/user/login"&&ke.pathname!=="/login"&&window.sessionStorage.getItem("download_url")&&((0,B.Nd)("educoder",window.sessionStorage.getItem("download_url")),window.sessionStorage.removeItem("download_url"))),rn.status===-5&&bn({data:[rn.message],accountInfo:{user_token:rn.message.user_token}})}),Rn=()=>Cr(void 0,null,function*(){var rn,an,en,Ln;const at=yield(0,Qe.ZP)("/api/user_concurrencies",{method:"get"});let Lt=JSON.parse(localStorage==null?void 0:localStorage.getItem("delaytip_class"));(at==null?void 0:at.status)===0&&((rn=at==null?void 0:at.data)!=null&&rn.limit?((!Lt||Gn()(Lt==null?void 0:Lt.time).add(5,"minutes"){u.ZP.config({prefixCls:"ant",iconPrefixCls:"anticon",theme:Vn({},Mn)})},[$.theme]),(0,t.useEffect)(()=>{Wn(),(0,B.Il)(),function(){function rn(){var an=document.documentElement,en=an.clientWidth,Ln=1920,at=en/Ln;at=at>2?2:at<.6?.6:at,an.style.fontSize=at+"px"}window.addEventListener("resize",rn),rn()}()},[]),(0,t.useEffect)(()=>{Ge({type:"globalSetting/query",payload:{}});try{window.top.location.origin}catch(rn){document.referrer.indexOf("educoder.net")===-1&&(window.location.href=window.atob("Jy80MDMn"))}},[]),(0,t.useEffect)(()=>{var rn,an,en,Ln,at;if(ke.pathname.indexOf("classrooms")>-1&&ke.pathname.indexOf("detail")===-1||document.body.scrollIntoView(),ke.pathname.indexOf("/classrooms/4RW9CYHY")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/4RW9CYHY/exercise";return}if(ke.pathname.indexOf("/classrooms/qb4ft587")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/qb4ft587/exercise";return}if(ke.pathname.indexOf("/classrooms/c5q9bsp2")>-1&&document.domain!=="localhost"&&document.domain!=="kepukehuan.educoder.net"){window.location.href="https://kepukehuan.educoder.net/classrooms/c5q9bsp2/exercise";return}if(Ge({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),window.location.href==="https://jetcoder.educoder.net"||window.location.href==="https://jetcoder.educoder.net/"){window.location.href="https://www.educoder.net/problems";return}if((rn=window.location.href)!=null&&rn.includes("/problems")&&((an=window.location.href)!=null&&an.includes("/share"))){const Lt=(at=(Ln=(en=window.location)==null?void 0:en.pathname)==null?void 0:Ln.split("/"))==null?void 0:at[2];(0,Qe.ZP)(`/api/practices/${Lt}/start`,{method:"get"}).then(vr=>{(vr==null?void 0:vr.status)===0&&d.history.replace(`/problems/${vr==null?void 0:vr.identifier}/oj/${Lt}`)});return}if(ke.pathname==="/admins"||ke.pathname==="/sidekiq"){const Lt=document.domain;if(Lt.indexOf("educoder.net")>-1)switch(Lt){case"www.educoder.net":case"educoder.net":window.location.href=`https://data.educoder.net${ke.pathname}`;break;default:let Pn=document.domain.split(".");Pn[0]=Pn[0]+"-data",window.location.href=`https://${Pn.join(".")}${ke.pathname}`;break}}S.default.destroyAll()},[ke.pathname]),(0,t.useEffect)(()=>{$.updateData.system_update?localStorage.updateEndTime||new Date().getTime(){localStorage.updateEndTime=$.updateData.end_time}}):localStorage.removeItem("updateEndTime")},[$.updateData.system_update]),(0,t.useEffect)(()=>{var rn;if((rn=Be==null?void 0:Be.userInfo)!=null&&rn.login){Rn();const an=setInterval(Rn,3e4);return()=>{clearInterval(an)}}},[Be==null?void 0:Be.userInfo]),(0,t.useEffect)(()=>{var rn,an;if((0,B.WX)()){if(!((rn=$==null?void 0:$.setting)!=null&&rn.version))return;(0,B.yC)((an=$==null?void 0:$.setting)==null?void 0:an.version)>0&&S.default.info({title:"\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E",centered:!0,content:oo.createElement("div",null,oo.createElement("span",{className:"c-red"},"\u60A8\u7684\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF\u67DC\u5BA2\u6237\u7AEF\u7248\u672C\u8FC7\u4F4E"),'\uFF0C\u8BF7\u5347\u7EA7\u81F3\u6700\u65B0\u7248\u672C\u540E\u518D\u4F7F\u7528\uFF0C\u70B9\u51FB"\u786E\u5B9A"\u540E\u5C06\u4E0B\u8F7D\u6700\u65B0\u7248\u672C\u7684\u5BA2\u6237\u7AEF,',oo.createElement("span",{className:"c-red"},"\u4E0B\u8F7D\u540E\u8BF7\u5148\u9000\u51FA\u5BA2\u6237\u7AEF\u518D\u5B89\u88C5")),okText:"\u7ACB\u5373\u5347\u7EA7",visible:!0,maskClosable:!1,onOk:()=>((0,B.FH)("Educoder.exe","https://www-cdn.educoder.net/app/Educoder.exe"),new Promise(()=>{}))})}},[(rt=$==null?void 0:$.setting)==null?void 0:rt.version]),(0,t.useEffect)(()=>{performance.navigation.type===1&&document.body.scrollIntoView()},[performance.navigation.type]);const lr=()=>{var rn,an,en,Ln,at,Lt,Pn,vr;const er=localStorage.trackUserTime,lo=localStorage.trackUser;if(!(er&&Gn()(er).isSame(Gn()().startOf("day"),"d")&&lo==((rn=Be.userInfo)==null?void 0:rn.login))){localStorage.trackUserTime=new Date,localStorage.trackUser=(an=Be.userInfo)==null?void 0:an.login;let no="";switch(Be.userInfo.role){case 1:no="\u8D85\u7BA1";break;case 2:no="\u8FD0\u8425";break;case 5:no="\u8BA4\u8BC1\u6559\u5E08";break;case 12:no="\u672A\u8BA4\u8BC1\u6559\u5E08";break;case 15:no="\u5B66\u751F";break}((en=Be.userInfo)==null?void 0:en.identity)!=="student"&&((Ln=Be.userInfo)==null?void 0:Ln.identity)!=="teacher"&&(no="\u4E13\u4E1A\u4EBA\u58EB"),(at=Be.userInfo)!=null&&at.user_school&&((0,B.L9)(["\u5B66\u6821\u6D3B\u8DC3\u7528\u6237",(Lt=Be.userInfo)==null?void 0:Lt.user_school]),(0,B.L9)(["\u7528\u6237\u8BBF\u95EE\u660E\u7EC6",(Pn=Be.userInfo)==null?void 0:Pn.login,(vr=Be.userInfo)==null?void 0:vr.user_school])),(0,B.L9)(["\u5E73\u53F0PC\u7AEF","\u603B\u6D3B\u8DC3\u7528\u6237\u6570"]),(0,B.L9)(["\u5E73\u53F0PC\u7AEF",no])}};return oo.createElement(xr.Z,null,oo.createElement(Ao.StyleProvider,{transformers:[Ao.legacyLogicalPropertiesTransformer],hashPriority:"high"},oo.createElement(u.ZP,{locale:te.Z,autoInsertSpaceInButton:!1,componentSize:"middle",theme:Mn},oo.createElement(ct,null),oo.createElement(Z,{open:!!un,accountInfo:un==null?void 0:un.accountInfo,data:un==null?void 0:un.data}),oo.createElement(_t,null),oo.createElement(Qr,null),oo.createElement(In,null),oo.createElement(yn.Z,{size:"middle",spinning:pn.show,tip:pn.text,className:"ant-spin-nested-loading-black"},oo.createElement(d.Outlet,null)))))};var Kr=(0,d.connect)(({loading:o,globalSetting:f,user:b})=>({loading:o,globalSetting:f,user:b}))(Yr)},40197:function(fn,Ve,e){e.d(Ve,{rX:function(){return K},pW:function(){return E},gy:function(){return r},xY:function(){return be},O5:function(){return Ue},tJ:function(){return J},o1:function(){return ie},Rd:function(){return Ee}});var t=e(25690),u=e(43418),S=e(28103),te=e(8591),d=e(48790),I=e(51257),n=e(87169),se=e(25510),le="data:image/png;base64,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",h=e.p+"static/newqrcode.a8740efb.png",ue=e(32637),y=e(59301),M=(x,P,G)=>new Promise((Y,V)=>{var Z=lt=>{try{pe(G.next(lt))}catch(ge){V(ge)}},Me=lt=>{try{pe(G.throw(lt))}catch(ge){V(ge)}},pe=lt=>lt.done?Y(lt.value):Promise.resolve(lt.value).then(Z,Me);pe((G=G.apply(x,P)).next())});const J=(x,P=!1)=>!!(ie(x)&&_(P)),ie=x=>(0,d.bg)()?!0:(x({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),_=(x=!1)=>{var P;const{user:G}=(0,t.getDvaApp)()._store.getState();return(P=G.userInfo)!=null&&P.profile_completed?!0:(u.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,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:()=>{(0,I.xg)("/account/profile/edit"),Je()}}),!1)},Je=()=>{u.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},Ee=()=>{u.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:y.createElement("div",{style:{textAlign:"center"}},y.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),y.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ue}),y.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ue=()=>{var x;const{user:P}=(0,t.getDvaApp)()._store.getState();return(x=P.userInfo)!=null&&x.professional_certification?!0:(u.default.confirm({title:"\u63D0\u793A",centered:!0,content:y.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,I.xg)("/account/certification")}}),!1)},be=()=>(0,d.V9)()?!0:(u.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:y.createElement("div",{className:"tc",style:{marginLeft:-38}},y.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),y.createElement("img",{src:h,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),K=(x,P)=>x?!0:(u.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:y.createElement("div",null,y.createElement("p",null,P||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),y.createElement("div",{style:{marginLeft:"110px"}},y.createElement("img",{src:le,width:200}),y.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,I.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),E=x=>{u.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:y.createElement("div",null,y.createElement("div",null,y.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),y.createElement(S.Z,null),y.createElement("p",{style:{color:"#666666",fontSize:12}}," ",y.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",y.createElement("a",null,x),"\u5929\u3002"),y.createElement("p",{style:{color:"#666666",fontSize:12}}," ",y.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),y.createElement("div",{style:{textAlign:"center",marginTop:30}},y.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})))})},r=(x,P="")=>{const{shixunsDetail:{detail:G}}=(0,t.getDvaApp)()._store.getState();if((G==null?void 0:G.public)===2||(G==null?void 0:G.public)===1||(G==null?void 0:G.shixun_status)===3){let Y="";return(G==null?void 0:G.public)===2&&(Y="\u5DF2\u516C\u5F00"),(G==null?void 0:G.public)===1&&(Y="\u5F85\u5BA1\u6838"),(G==null?void 0:G.shixun_status)===3&&(Y="\u5DF2\u5173\u95ED"),u.default.info({centered:!0,icon:y.createElement(n.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:y.createElement("div",{className:"tc",style:{marginLeft:-38}},y.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},y.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Y,"\uFF0C",P,"\u3002"),y.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),y.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(G==null?void 0:G.shixun_status)===2?(u.default.confirm({centered:!0,icon:y.createElement(n.Z,null),title:"\u63D0\u793A",content:y.createElement("div",null,y.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",P,"\u3002"),y.createElement("br",null),y.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{u.default.confirm({width:440,centered:!0,icon:y.createElement(n.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>M(void 0,null,function*(){(yield x({type:"shixunsDetail/cancelRelease",payload:{id:G==null?void 0:G.identifier}})).status!==401&&(te.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),x({type:"shixunsDetail/getShixunsDetail",payload:{id:G==null?void 0:G.identifier}}),x({type:"practiceSetting/getCommonData",payload:{id:G==null?void 0:G.identifier}}))})})}}),!0):!1}},50371:function(fn,Ve){function e(){const t=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let u=1;u{const d=S[te];d!==void 0&&(t[te]=d)})}return t}Ve.Z=e},13845:function(fn,Ve,e){e.d(Ve,{F:function(){return t},Z:function(){return u}});function t(S){return S!=null&&S===S.window}function u(S,te){var d,I;if(typeof window=="undefined")return 0;const n=te?"scrollTop":"scrollLeft";let se=0;return t(S)?se=S[te?"pageYOffset":"pageXOffset"]:S instanceof Document?se=S.documentElement[n]:(S instanceof HTMLElement||S)&&(se=S[n]),S&&!t(S)&&typeof se!="number"&&(se=(I=((d=S.ownerDocument)!==null&&d!==void 0?d:S).documentElement)===null||I===void 0?void 0:I[n]),se}},56762:function(fn,Ve,e){e.d(Ve,{Z:function(){return u}});var t=e(59301);function u(){const[,S]=t.useReducer(te=>te+1,0);return S}},68031:function(fn,Ve,e){e.d(Ve,{Z:function(){return te}});var t=e(16089);function u(d,I,n,se){const le=n-I;return d/=se/2,d<1?le/2*d*d*d+I:le/2*((d-=2)*d*d+2)+I}var S=e(13845);function te(d){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:se,duration:le=450}=I,h=n(),ue=(0,S.Z)(h,!0),y=Date.now(),M=()=>{const ie=Date.now()-y,_=u(ie>le?le:ie,ue,d,le);(0,S.F)(h)?h.scrollTo(window.pageXOffset,_):h instanceof Document||h.constructor.name==="HTMLDocument"?h.documentElement.scrollTop=_:h.scrollTop=_,ien||I},46400:function(fn,Ve,e){e.d(Ve,{Z:function(){return Ce}});var t=e(29679),u=e(19248),S=e(99267),te=e(96512),d=e(78987),I=e(92310),n=e.n(I),se=e(77900),le=e(26112),h=e(59301),ue=e(92343),y=e(36355),M=e(17313),J=e(83116);const ie=(ne,X,we,m,A)=>({backgroundColor:ne,border:`${m.lineWidth}px ${m.lineType} ${X}`,[`${A}-icon`]:{color:we}}),_=ne=>{const{componentCls:X,motionDurationSlow:we,marginXS:m,marginSM:A,fontSize:z,fontSizeLG:D,lineHeight:B,borderRadiusLG:F,motionEaseInOutCirc:W,withDescriptionIconSize:xe,colorText:Pe,colorTextHeading:Ie,withDescriptionPadding:ot,defaultPadding:St}=ne;return{[X]:Object.assign(Object.assign({},(0,M.Wf)(ne)),{position:"relative",display:"flex",alignItems:"center",padding:St,wordWrap:"break-word",borderRadius:F,[`&${X}-rtl`]:{direction:"rtl"},[`${X}-content`]:{flex:1,minWidth:0},[`${X}-icon`]:{marginInlineEnd:m,lineHeight:0},"&-description":{display:"none",fontSize:z,lineHeight:B},"&-message":{color:Ie},[`&${X}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${we} ${W}, opacity ${we} ${W}, padding-top ${we} ${W}, padding-bottom ${we} ${W}, margin-bottom ${we} ${W}`},[`&${X}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${X}-with-description`]:{alignItems:"flex-start",padding:ot,[`${X}-icon`]:{marginInlineEnd:A,fontSize:xe,lineHeight:0},[`${X}-message`]:{display:"block",marginBottom:m,color:Ie,fontSize:D},[`${X}-description`]:{display:"block",color:Pe}},[`${X}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},Je=ne=>{const{componentCls:X,colorSuccess:we,colorSuccessBorder:m,colorSuccessBg:A,colorWarning:z,colorWarningBorder:D,colorWarningBg:B,colorError:F,colorErrorBorder:W,colorErrorBg:xe,colorInfo:Pe,colorInfoBorder:Ie,colorInfoBg:ot}=ne;return{[X]:{"&-success":ie(A,m,we,ne,X),"&-info":ie(ot,Ie,Pe,ne,X),"&-warning":ie(B,D,z,ne,X),"&-error":Object.assign(Object.assign({},ie(xe,W,F,ne,X)),{[`${X}-description > pre`]:{margin:0,padding:0}})}}},Ee=ne=>{const{componentCls:X,iconCls:we,motionDurationMid:m,marginXS:A,fontSizeIcon:z,colorIcon:D,colorIconHover:B}=ne;return{[X]:{"&-action":{marginInlineStart:A},[`${X}-close-icon`]:{marginInlineStart:A,padding:0,overflow:"hidden",fontSize:z,lineHeight:`${z}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${we}-close`]:{color:D,transition:`color ${m}`,"&:hover":{color:B}}},"&-close-text":{color:D,transition:`color ${m}`,"&:hover":{color:B}}}}},Ue=ne=>[_(ne),Je(ne),Ee(ne)];var be=(0,J.Z)("Alert",ne=>[Ue(ne)],ne=>({withDescriptionIconSize:ne.fontSizeHeading3,defaultPadding:`${ne.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${ne.paddingMD}px ${ne.paddingContentHorizontalLG}px`})),K=function(ne,X){var we={};for(var m in ne)Object.prototype.hasOwnProperty.call(ne,m)&&X.indexOf(m)<0&&(we[m]=ne[m]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,m=Object.getOwnPropertySymbols(ne);A{const{icon:X,prefixCls:we,type:m}=ne,A=E[m]||null;return X?(0,ue.wm)(X,h.createElement("span",{className:`${we}-icon`},X),()=>({className:n()(`${we}-icon`,{[X.props.className]:X.props.className})})):h.createElement(A,{className:`${we}-icon`})},x=ne=>{const{isClosable:X,prefixCls:we,closeIcon:m,handleClose:A}=ne,z=m===!0||m===void 0?h.createElement(S.Z,null):m;return X?h.createElement("button",{type:"button",onClick:A,className:`${we}-close-icon`,tabIndex:0},z):null};var G=ne=>{const{description:X,prefixCls:we,message:m,banner:A,className:z,rootClassName:D,style:B,onMouseEnter:F,onMouseLeave:W,onClick:xe,afterClose:Pe,showIcon:Ie,closable:ot,closeText:St,closeIcon:dt,action:he}=ne,qe=K(ne,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[T,O]=h.useState(!1),L=h.useRef(null),{getPrefixCls:s,direction:H,alert:de}=h.useContext(y.E_),v=s("alert",we),[c,Q]=be(v),R=Ae=>{var Ne;O(!0),(Ne=ne.onClose)===null||Ne===void 0||Ne.call(ne,Ae)},w=h.useMemo(()=>ne.type!==void 0?ne.type:A?"warning":"info",[ne.type,A]),U=h.useMemo(()=>St?!0:typeof ot=="boolean"?ot:dt!==!1&&dt!==null&&dt!==void 0,[St,dt,ot]),Fe=A&&Ie===void 0?!0:Ie,ye=n()(v,`${v}-${w}`,{[`${v}-with-description`]:!!X,[`${v}-no-icon`]:!Fe,[`${v}-banner`]:!!A,[`${v}-rtl`]:H==="rtl"},de==null?void 0:de.className,z,D,Q),fe=(0,le.Z)(qe,{aria:!0,data:!0});return c(h.createElement(se.default,{visible:!T,motionName:`${v}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:Ae=>({maxHeight:Ae.offsetHeight}),onLeaveEnd:Pe},Ae=>{let{className:Ne,style:Re}=Ae;return h.createElement("div",Object.assign({ref:L,"data-show":!T,className:n()(ye,Ne),style:Object.assign(Object.assign(Object.assign({},de==null?void 0:de.style),B),Re),onMouseEnter:F,onMouseLeave:W,onClick:xe,role:"alert"},fe),Fe?h.createElement(r,{description:X,icon:ne.icon,prefixCls:v,type:w}):null,h.createElement("div",{className:`${v}-content`},m?h.createElement("div",{className:`${v}-message`},m):null,X?h.createElement("div",{className:`${v}-description`},X):null),he?h.createElement("div",{className:`${v}-action`},he):null,h.createElement(x,{isClosable:U,prefixCls:v,closeIcon:St||dt,handleClose:R}))}))},Y=e(6487),V=e(56789),Z=e(7942),Me=e(76773),lt=function(ne){(0,Z.Z)(we,ne);var X=(0,Me.Z)(we);function we(){var m;return(0,Y.Z)(this,we),m=X.apply(this,arguments),m.state={error:void 0,info:{componentStack:""}},m}return(0,V.Z)(we,[{key:"componentDidCatch",value:function(A,z){this.setState({error:A,info:z})}},{key:"render",value:function(){const{message:A,description:z,children:D}=this.props,{error:B,info:F}=this.state,W=F&&F.componentStack?F.componentStack:null,xe=typeof A=="undefined"?(B||"").toString():A,Pe=typeof z=="undefined"?W:z;return B?h.createElement(G,{type:"error",message:xe,description:h.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Pe)}):D}}]),we}(h.Component);const ge=G;ge.ErrorBoundary=lt;var Ce=ge},24905:function(fn,Ve,e){e.d(Ve,{default:function(){return x}});var t=e(92310),u=e.n(t),S=e(5630),te=e(59301),d=e(36355),I=e(1684),n=e(32441),le=te.createContext(null),h=e(98447),ue=e(14088),y=e(4572),M=function(P,G){var Y={};for(var V in P)Object.prototype.hasOwnProperty.call(P,V)&&G.indexOf(V)<0&&(Y[V]=P[V]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,V=Object.getOwnPropertySymbols(P);Z{var Y;const{prefixCls:V,className:Z,rootClassName:Me,children:pe,indeterminate:lt=!1,style:ge,onMouseEnter:Ce,onMouseLeave:ne,skipGroup:X=!1,disabled:we}=P,m=M(P,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:A,direction:z,checkbox:D}=te.useContext(d.E_),B=te.useContext(le),{isFormItemInput:F}=te.useContext(n.aM),W=te.useContext(I.Z),xe=(Y=(B==null?void 0:B.disabled)||we)!==null&&Y!==void 0?Y:W,Pe=te.useRef(m.value);te.useEffect(()=>{B==null||B.registerValue(m.value)},[]),te.useEffect(()=>{if(!X)return m.value!==Pe.current&&(B==null||B.cancelValue(Pe.current),B==null||B.registerValue(m.value),Pe.current=m.value),()=>B==null?void 0:B.cancelValue(m.value)},[m.value]);const Ie=A("checkbox",V),[ot,St]=(0,h.ZP)(Ie),dt=Object.assign({},m);B&&!X&&(dt.onChange=function(){m.onChange&&m.onChange.apply(m,arguments),B.toggleOption&&B.toggleOption({label:pe,value:m.value})},dt.name=B.name,dt.checked=B.value.includes(m.value));const he=u()(`${Ie}-wrapper`,{[`${Ie}-rtl`]:z==="rtl",[`${Ie}-wrapper-checked`]:dt.checked,[`${Ie}-wrapper-disabled`]:xe,[`${Ie}-wrapper-in-form-item`]:F},D==null?void 0:D.className,Z,Me,St),qe=u()({[`${Ie}-indeterminate`]:lt},y.A,St),T=lt?"mixed":void 0;return ot(te.createElement(ue.Z,{component:"Checkbox",disabled:xe},te.createElement("label",{className:he,style:Object.assign(Object.assign({},D==null?void 0:D.style),ge),onMouseEnter:Ce,onMouseLeave:ne},te.createElement(S.Z,Object.assign({"aria-checked":T},dt,{prefixCls:Ie,className:qe,disabled:xe,ref:G})),pe!==void 0&&te.createElement("span",null,pe))))};var _=te.forwardRef(J),Je=e(92393),Ee=e(2738),Ue=function(P,G){var Y={};for(var V in P)Object.prototype.hasOwnProperty.call(P,V)&&G.indexOf(V)<0&&(Y[V]=P[V]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,V=Object.getOwnPropertySymbols(P);Z{const{defaultValue:Y,children:V,options:Z=[],prefixCls:Me,className:pe,rootClassName:lt,style:ge,onChange:Ce}=P,ne=Ue(P,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:X,direction:we}=te.useContext(d.E_),[m,A]=te.useState(ne.value||Y||[]),[z,D]=te.useState([]);te.useEffect(()=>{"value"in ne&&A(ne.value||[])},[ne.value]);const B=te.useMemo(()=>Z.map(O=>typeof O=="string"||typeof O=="number"?{label:O,value:O}:O),[Z]),F=O=>{D(L=>L.filter(s=>s!==O))},W=O=>{D(L=>[].concat((0,Je.Z)(L),[O]))},xe=O=>{const L=m.indexOf(O.value),s=(0,Je.Z)(m);L===-1?s.push(O.value):s.splice(L,1),"value"in ne||A(s),Ce==null||Ce(s.filter(H=>z.includes(H)).sort((H,de)=>{const v=B.findIndex(Q=>Q.value===H),c=B.findIndex(Q=>Q.value===de);return v-c}))},Pe=X("checkbox",Me),Ie=`${Pe}-group`,[ot,St]=(0,h.ZP)(Pe),dt=(0,Ee.Z)(ne,["value","disabled"]),he=Z.length?B.map(O=>te.createElement(_,{prefixCls:Pe,key:O.value.toString(),disabled:"disabled"in O?O.disabled:ne.disabled,value:O.value,checked:m.includes(O.value),onChange:O.onChange,className:`${Ie}-item`,style:O.style,title:O.title},O.label)):V,qe={toggleOption:xe,value:m,disabled:ne.disabled,name:ne.name,registerValue:W,cancelValue:F},T=u()(Ie,{[`${Ie}-rtl`]:we==="rtl"},pe,lt,St);return ot(te.createElement("div",Object.assign({className:T,style:ge},dt,{ref:G}),te.createElement(le.Provider,{value:qe},he)))},K=te.forwardRef(be);var E=te.memo(K);const r=_;r.Group=E,r.__ANT_CHECKBOX=!0;var x=r},98447:function(fn,Ve,e){e.d(Ve,{C2:function(){return d}});var t=e(17313),u=e(37613),S=e(83116);const te=I=>{const{checkboxCls:n}=I,se=`${n}-wrapper`;return[{[`${n}-group`]:Object.assign(Object.assign({},(0,t.Wf)(I)),{display:"inline-flex",flexWrap:"wrap",columnGap:I.marginXS,[`> ${I.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,t.Wf)(I)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${se}`]:{marginInlineStart:0},[`&${se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[n]:Object.assign(Object.assign({},(0,t.Wf)(I)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:I.borderRadiusSM,alignSelf:"center",[`${n}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${n}-inner`]:Object.assign({},(0,t.oN)(I))},[`${n}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:I.checkboxSize,height:I.checkboxSize,direction:"ltr",backgroundColor:I.colorBgContainer,border:`${I.lineWidth}px ${I.lineType} ${I.colorBorder}`,borderRadius:I.borderRadiusSM,borderCollapse:"separate",transition:`all ${I.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:I.checkboxSize/14*5,height:I.checkboxSize/14*8,border:`${I.lineWidthBold}px solid ${I.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${I.motionDurationFast} ${I.motionEaseInBack}, opacity ${I.motionDurationFast}`}},"& + span":{paddingInlineStart:I.paddingXS,paddingInlineEnd:I.paddingXS}})},{[` ${se}:not(${se}-disabled), diff --git a/umi.0643db99.js b/umi.bb11f5b9.js similarity index 99% rename from umi.0643db99.js rename to umi.bb11f5b9.js index 3811137062..7e19130b74 100644 --- a/umi.0643db99.js +++ b/umi.bb11f5b9.js @@ -1480,6 +1480,6 @@ Schedule: ${H.map(Te=>Fu(Te))}`),ae.length&&this.log(`Removed events ${ae}`),thi `).split(` `),$=[],ae=t?ws(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Te=0,De,tt=!0;U.oncue=function(at){const Ft=n[o];let hr=n.ccOffset;const ar=(xe-ae)/9e4;if(Ft!=null&&Ft.new&&(Te!==void 0?hr=n.ccOffset=Ft.start:qc(n,o,ar)),ar){if(!t){De=new Error("Missing initPTS for VTT MPEGTS");return}hr=ar-n.presentationOffset}const zr=at.endTime-at.startTime,Wr=za((at.startTime+hr-Te)*9e4,m*9e4)/9e4;at.startTime=Math.max(Wr,0),at.endTime=Math.max(Wr+zr,0);const dn=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(dn)),at.id||(at.id=Ll(at.startTime,at.endTime,dn)),at.endTime>0&&$.push(at)},U.onparsingerror=function(at){De=at},U.onflush=function(){if(De){C(De);return}E($)},H.forEach(at=>{if(tt)if(Vu(at,"X-TIMESTAMP-MAP=")){tt=!1,at.slice(16).split(",").forEach(Ft=>{Vu(Ft,"LOCAL:")?ce=Ft.slice(6):Vu(Ft,"MPEGTS:")&&(xe=parseInt(Ft.slice(7)))});try{Te=Qc(ce)/1e3}catch(Ft){De=Ft}return}else at===""&&(tt=!1);U.parse(at+` `)}),U.flush()}const $u="stpp.ttml.im1t",El=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,rc=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Cu={left:"start",center:"center",right:"end",start:"start",end:"end"};function nc(P,t,n,o){const m=gt(new Uint8Array(P),["mdat"]);if(m.length===0){o(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(U=>K(U)),C=is(t.baseTime,1,t.timescale);try{E.forEach(U=>n(Ml(U,C)))}catch(U){o(U)}}function Ml(P,t){const m=new DOMParser().parseFromString(P,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},C=Object.keys(E).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||E[xe],ce),{}),U=m.getAttribute("xml:space")!=="preserve",H=Kn(Tn(m,"styling","style")),$=Kn(Tn(m,"layout","region")),ae=Tn(m,"body","[begin]");return[].map.call(ae,ce=>{const xe=Ni(ce,U);if(!xe||!ce.hasAttribute("begin"))return null;const Te=ha(ce.getAttribute("begin"),C),De=ha(ce.getAttribute("dur"),C);let tt=ha(ce.getAttribute("end"),C);if(Te===null)throw ua(ce);if(tt===null){if(De===null)throw ua(ce);tt=Te+De}const at=new Rl(Te-t,tt-t,xe);at.id=Ll(at.startTime,at.endTime,at.text);const Ft=$[ce.getAttribute("region")],hr=H[ce.getAttribute("style")],ar=Ea(Ft,hr,H),{textAlign:zr}=ar;if(zr){const Wr=Cu[zr];Wr&&(at.lineAlign=Wr),at.align=zr}return y(at,ar),at}).filter(ce=>ce!==null)}function Tn(P,t,n){const o=P.getElementsByTagName(t)[0];return o?[].slice.call(o.querySelectorAll(n)):[]}function Kn(P){return P.reduce((t,n)=>{const o=n.getAttribute("xml:id");return o&&(t[o]=n),t},{})}function Ni(P,t){return[].slice.call(P.childNodes).reduce((n,o,m)=>{var E;return o.nodeName==="br"&&m?n+` -`:(E=o.childNodes)!=null&&E.length?Ni(o,t):t?n+o.textContent.trim().replace(/\s+/g," "):n+o.textContent},"")}function Ea(P,t,n){const o="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],C=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return C&&n.hasOwnProperty(C)&&(m=n[C]),E.reduce((U,H)=>{const $=Zi(t,o,H)||Zi(P,o,H)||Zi(m,o,H);return $&&(U[H]=$),U},{})}function Zi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function ua(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ha(P,t){if(!P)return null;let n=Ws(P);return n===null&&(El.test(P)?n=vs(P,t):rc.test(P)&&(n=Ki(P,t))),n}function vs(P,t){const n=El.exec(P),o=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+o/t.frameRate}function Ki(P,t){const n=rc.exec(P),o=Number(n[1]);switch(n[2]){case"h":return o*3600;case"m":return o*60;case"ms":return o*1e3;case"f":return o/t.frameRate;case"t":return o/t.tickRate}return o}class es{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,o){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=o,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Ku{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new es(this,"textTrack1"),n=new es(this,"textTrack2"),o=new es(this,"textTrack3"),m=new es(this,"textTrack4");this.cea608Parser1=new bc(1,t,n),this.cea608Parser2=new bc(3,o,m)}addCues(t,n,o,m,E){let C=!1;for(let U=E.length;U--;){const H=E[U],$=ul(H[0],H[1],n,o);if($>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),C=!0,$/(o-n)>.5))return}if(C||E.push([n,o]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,o,m)}else{const U=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){const{unparsedVttFrags:C}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),C.length&&(this.unparsedVttFrags=[],C.forEach(U=>{this.onFragLoaded(s.FRAG_LOADED,U)}))}getExistingTrack(t,n){const{media:o}=this;if(o)for(let m=0;m{Mu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let o=0;oE.textCodec===$u);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(oc(this.tracks,o)){this.tracks=o;return}if(this.textTracks=[],this.tracks=o,this.config.renderTextTracksNatively){const C=this.media,U=C?Dc(C.textTracks):null;if(this.tracks.forEach((H,$)=>{let ae;if(U){let ce=null;for(let xe=0;xe$!==null).map($=>$.label);H.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${H.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const C=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:C})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(o=>{const m=/(?:CC|SERVICE)([1-4])/.exec(o.instreamId);if(!m)return;const E=`textTrack${m[1]}`,C=this.captionsProperties[E];C&&(C.label=o.name,o.lang&&(C.languageCode=o.lang),C.media=o)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var o,m;const{cea608Parser1:E,cea608Parser2:C,lastSn:U}=this,{cc:H,sn:$}=n.frag,ae=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;E&&C&&($!==U+1||$===U&&ae!==this.lastPartIndex+1||H!==this.lastCc)&&(E.reset(),C.reset()),this.lastCc=H,this.lastSn=$,this.lastPartIndex=ae}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const E=o.decryptdata,C="stats"in n;if(E==null||!E.encrypted||C){const U=this.tracks[o.level],H=this.vttCCs;H[o.cc]||(H[o.cc]={start:o.start,prevCC:this.prevCC,new:!0},this.prevCC=o.cc),U&&U.textCodec===$u?this._parseIMSC1(o,m):this._parseVTTs(n)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const o=this.hls;nc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{o.logger.log(`Failed to parse IMSC1: ${m}`),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:o,payload:m}=t,{initPTS:E,unparsedVttFrags:C}=this,U=E.length-1;if(!E[o.cc]&&U===-1){C.push(t);return}const H=this.hls,$=(n=o.initSegment)!=null&&n.data?Gt(o.initSegment.data,new Uint8Array(m)).buffer:m;hu($,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,ae=>{this._appendCues(ae,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},ae=>{const ce=ae.message==="Missing initPTS for VTT MPEGTS";ce?C.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${ae}`),!(ce&&U>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:ae})})}_fallbackToIMSC1(t,n){const o=this.tracks[t.level];o.textCodec||nc(n,this.initPTS[t.cc],()=>{o.textCodec=$u,this._parseIMSC1(t,n)},()=>{o.textCodec="wvtt"})}_appendCues(t,n){const o=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>vc(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;o.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:o}=n;o.type===u.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:o,samples:m}=n;if(!(o.type===u.MAIN&&this.closedCaptionsForLevel(o)==="NONE"))for(let E=0;EZo(U[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(H=>Zo(U[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let E=0;E=16?H--:H++;const Te=ol($.trim()),De=Ll(t,n,Te);P!=null&&(ce=P.cues)!=null&&ce.getCueById(De)||(C=new ae(t,n,Te),C.id=De,C.line=xe+1,C.align="left",C.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(C))}return P&&m.length&&(m.sort((xe,Te)=>xe.line==="auto"||Te.line==="auto"?0:xe.line>8&&Te.line>8?Te.line-xe.line:xe.line-Te.line),m.forEach(xe=>vc(P,xe))),m}};function Fl(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class xc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new z}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,o){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Jc(t,this.controller.signal),C=t.responseType==="arraybuffer",U=C?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:$}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=o,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=H&&r(H)?H:$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Iu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Te=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},$-(Te-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new Xu(at||"fetch, bad network response",tt,ce)}m.loading.first=Te,m.total=cl(ce.headers)||m.total;const De=(xe=this.callbacks)==null?void 0:xe.onProgress;return De&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,De):C?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Te;const De=this.response;if(!De)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[U];tt&&(m.loaded=m.total=tt);const at={url:De.url,data:ce,code:De.status},Ft=(xe=this.callbacks)==null?void 0:xe.onProgress;Ft&&!r(n.highWaterMark)&&Ft(m,t,ce,De),(Te=this.callbacks)==null||Te.onSuccess(at,m,t,De)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Te=ce&&ce.code||0,De=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Te,text:De},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,o,m=0,E){const C=new fi,U=t.body.getReader(),H=()=>U.read().then($=>{if($.done)return C.dataLength&&E(n,o,C.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ae=$.value,ce=ae.length;return n.loaded+=ce,ce=m&&E(n,o,C.flush().buffer,t)):E(n,o,ae.buffer,t),H()}).catch(()=>Promise.reject());return H()}}function Jc(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const o=hf(t);if(r(o))return o}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Xu extends Error{constructor(t,n,o){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=o}}const Lc=/^age:\s*[\d.]+\s*$/im;class ef{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new z,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,o){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=o,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const o=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==o||this.stats.aborted))return E(o,n.url)}).catch(C=>{if(!(this.loader!==o||this.stats.aborted))return o.open("GET",n.url,!0),E(o,n.url)}).then(()=>{this.loader!==o||this.stats.aborted||this.openAndSendXhr(o,n,t)}).catch(C=>{var U;(U=this.callbacks)==null||U.onError({code:o.status,text:C.message},n,o,m)}):this.openAndSendXhr(o,n,t)}openAndSendXhr(t,n,o){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:C}=o.loadPolicy;if(m)for(const U in m)t.setRequestHeader(U,m[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),o.timeout=E&&r(E)?E:C,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),o.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:o}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!o.aborted&&m>=2&&(o.loading.first===0&&(o.loading.first=Math.max(self.performance.now(),o.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(o.loading.first-o.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const $=n.status,ae=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const De=ae!=null?ae:n.response;if(De!=null){var C,U;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?De.byteLength:De.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(C=this.callbacks)==null?void 0:C.onProgress;at&&at(o,t,De,n);const Ft={url:n.responseURL,data:De,code:$};(U=this.callbacks)==null||U.onSuccess(Ft,o,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=o.retry,Te={url:t.url,data:void 0,code:$};if(Ze(ce,xe,!1,Te))this.retry(ce);else{var H;Y.error(`${$} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:$,text:n.statusText},t,n,o)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ze(t,n,!0))this.retry(t);else{var o;Y.warn(`timeout while loading ${(o=this.context)==null?void 0:o.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:o}=this;this.retryDelay=Ir(t,o.retry),o.retry++,Y.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${o.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Lc.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const Ho={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},tf=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:ef,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Hu,capLevelController:cc,errorController:ir,fpsController:nl,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Fa,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Ho},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Ku,audioStreamController:Zl,audioTrackController:Sc,emeController:Lu,cmcdController:Qo,contentSteeringController:$o,interstitialsController:yc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const o=Bl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(C=>{const U=`${C==="level"?"playlist":C}LoadPolicy`,H=t[U]===void 0,$=[];E.forEach(ae=>{const ce=`${C}Loading${ae}`,xe=t[ce];if(xe!==void 0&&H){$.push(ce);const Te=o[U].default;switch(t[U]={default:Te},ae){case"TimeOut":Te.maxLoadTimeMs=xe,Te.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Te.errorRetry.maxNumRetry=xe,Te.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Te.errorRetry.retryDelayMs=xe,Te.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Te.errorRetry.maxRetryDelayMs=xe,Te.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${U}": ${zn(t[U])}`)}),b(b({},o),t)}function Bl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Bl):Object.keys(P).reduce((t,n)=>(t[n]=Bl(P[n]),t),{}):P}function Wo(P,t){const n=P.loader;n!==xc&&n!==ef?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):Fl()&&(P.loader=xc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Ec=2,_f=.1,Mc=.05,Fc=100;class mf extends Is{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var o;(o=this.media)!=null&&o.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var o;this.ended=((o=this.media)==null?void 0:o.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Fc),this.mediaSource=n.mediaSource;const o=this.media=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"waiting",this.onMediaWaiting),iu(o,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"waiting",this.onMediaWaiting),qo(o,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var o,m;const E=(o=this.hls)==null?void 0:o.config;if(!E)return;const{media:C,stalled:U}=this;if(!C)return;const{seeking:H}=C,$=this.seeking&&!H,ae=!this.seeking&&H,ce=C.paused&&!H||C.ended||C.playbackRate===0;if(this.seeking=H,t!==n){n&&(this.ended=0),this.moved=!0,H||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(ae||$){$&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&C.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!xi.getBuffered(C).length){this.nudgeRetry=0;return}const xe=xi.bufferInfo(C,t,0),Te=xe.nextStart||0,De=this.fragmentTracker;if(H&&De&&this.hls){const dn=Bc(this.hls.inFlightFragments,t),Gr=xe.len>Ec,un=!Te||dn||Te-t>Ec&&!De.getPartialFragment(t);if(Gr||un)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&De){if(!(xe.len>0)&&!Te)return;const Gr=Math.max(Te,xe.start||0)-t,mn=!!(tt!=null&&tt.live)?tt.targetduration*2:Ec,Qr=De.getPartialFragment(t);if(Gr>0&&(Gr<=mn||Qr)){C.paused||this._trySkipBufferHole(Qr);return}}const at=E.detectStallWithCurrentTimeMs,Ft=self.performance.now(),hr=this.waiting;if(U===null){hr>0&&Ft-hr=at||hr)&&this.hls){var zr;if(((zr=this.mediaSource)==null?void 0:zr.readyState)==="ended"&&!(tt!=null&&tt.live)&&Math.abs(t-((tt==null?void 0:tt.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Wr=xi.bufferInfo(C,t,E.maxBufferHole);this._tryFixBufferStall(Wr,ar)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const o=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(o)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var o;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(o=this.buffered.audio)!=null&&o.length&&m&&m.length>1&&t>m.end(0)){const E=xi.bufferedInfo(xi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const C=xi.timeRangesToArray(m),U=xi.bufferedInfo(C,n,0).bufferedIndex;if(U>-1&&UU)&&ae-$<1&&t-$<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ae} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Te=xi.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Te.len,bufferInfo:Te})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:E,media:C}=this,U=(o=this.hls)==null?void 0:o.config;if(!C||!E||!U)return;const H=C.currentTime,$=(m=this.hls)==null?void 0:m.latestLevelDetails,ae=E.getPartialFragment(H);if((ae||$!=null&&$.live&&H<$.fragmentStart)&&(this._trySkipBufferHole(ae)||!this.media))return;const ce=t.buffered;(ce&&ce.length>1&&t.len>U.maxBufferHole||t.nextStart&&t.nextStart-HU.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:o,stallReported:m,stalled:E}=this;if(!m&&E!==null&&o&&n){this.stallReported=!0;const C=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${zn(t)})`);this.warn(C.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:C,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:o,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!o||!E)return 0;const C=m.currentTime,U=xi.bufferInfo(m,C,0),H=C0&&U.len<1&&m.readyState<3,xe=H-C;if(xe>0&&(ae||ce)){if(xe>E.maxBufferHole){let De=!1;if(C===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H{const P=Nc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var o;this.media=n.media,((o=n.overrides)==null?void 0:o.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Mu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nrf&&(ce=rf),ce-ae<=0&&(ce=ae+Mf);for(let Te=0;Te<$.length;Te++){const De=$[Te];if(!As(De)){this.updateId3CueEnds(ae,H);const tt=Ff(C,ae,ce,De,H);tt&&this.id3Track.addCue(tt)}}}}}updateId3CueEnds(t,n){var o;const m=(o=this.id3Track)==null?void 0:o.cues;if(m)for(let E=m.length;E--;){const C=m[E];C.type===n&&C.startTimeae.type===we.audioId3&&H:m==="video"?$=ae=>ae.type===we.emsg&&U:$=ae=>ae.type===we.audioId3&&H||ae.type===we.emsg&&U,Zo(E,n,o,$)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:o}=this,{dateRanges:m}=t,E=Object.keys(m);let C=this.dateRangeCuesAppended;if(o&&n){var U;if((U=o.cues)!=null&&U.length){const ae=Object.keys(C).filter(ce=>!E.includes(ce));for(let ce=ae.length;ce--;){const xe=ae[ce],Te=C[xe].cues;delete C[xe],Object.keys(Te).forEach(De=>{try{const tt=Te[De];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else C=this.dateRangeCuesAppended={}}const H=t.fragments[t.fragments.length-1];if(E.length===0||!r(H==null?void 0:H.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const $=Nc();for(let ae=0;ae{if(Gr!==xe.id){const un=m[Gr];if(un.class===xe.class&&un.startDate>xe.startDate&&(!dn||xe.startDate.01&&(Gr.startTime=Te,Gr.endTime=Ft);else if($){let un=xe.attr[dn];ja(dn)&&(un=vf(un));const Qr=Ff($,Te,Ft,{key:dn,data:un},we.dateRange);Qr&&(Qr.id=ce,this.id3Track.addCue(Qr),tt[dn]=Qr,this.hls.config.interstitialsController&&(dn==="X-ASSET-LIST"||dn==="X-ASSET-URL")&&Qr.addEventListener("enter",this.onEventCueEnter))}}C[ce]={cues:tt,dateRange:xe,durationKnown:at}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,o=this.levelDetails;if(!n||!o)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:C}=this.config;if(!E||C===1||!o.live)return;const U=this.targetLatency;if(U===null)return;const H=m-U,$=Math.min(this.maxLatency,U+o.targetduration);if(H<$&&H>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,C)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Te=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Te)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:o,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:C,lowLatencyMode:U}=this.config,H=this.hls.userConfig;let $=U&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||$===0)&&($=E!==void 0?E:C*m);const ae=m;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ae)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const o=this.levelDetails;if(o===null)return null;const m=o.edge,E=t-n-this.edgeStalled,C=m-o.totalduration,U=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(C,E),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const o=t.buffered.length;return(o?t.buffered.end(o-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var o;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(o=this.levelDetails)!=null&&o.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var o,m;t.playbackRate!==n&&((o=this.hls)==null||o.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Bf extends lu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const o=this.hls.config.preferManagedMediaSource,m=[],E={},C={};let U=!1,H=!1,$=!1;n.levels.forEach(ae=>{var ce;const xe=ae.attrs;let{audioCodec:Te,videoCodec:De}=ae;Te&&(ae.audioCodec=Te=St(Te,o)||void 0),((ce=De)==null?void 0:ce.indexOf("avc1"))===0&&(De=ae.videoCodec=Ar(De));const{width:tt,height:at,unknownCodecs:Ft}=ae;let hr=Ft?Ft.length:0;if(Ft)for(let Yn=hr;Yn--;){const hi=Ft[Yn];this.isAudioSupported(hi)?(ae.audioCodec=Te=Te?`${Te},${hi}`:hi,hr--,Ut.audio[Te.substring(0,4)]=2):this.isVideoSupported(hi)&&(ae.videoCodec=De=De?`${De},${hi}`:hi,hr--,Ut.video[De.substring(0,4)]=2)}if(U||(U=!!(tt&&at)),H||(H=!!De),$||($=!!Te),hr||Te&&!this.isAudioSupported(Te)||De&&!this.isVideoSupported(De)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":zr,"HDCP-LEVEL":Wr,"PATHWAY-ID":dn,RESOLUTION:Gr,"VIDEO-RANGE":un}=xe,Qr=`${`${dn||"."}-`}${ae.bitrate}-${Gr}-${zr}-${ar}-${un}-${Wr}`;if(E[Qr])if(E[Qr].uri!==ae.url&&!ae.attrs["PATHWAY-ID"]){const Yn=C[Qr]+=1;ae.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const hi=this.createLevel(ae);E[Qr]=hi,m.push(hi)}else E[Qr].addGroupId("audio",xe.AUDIO),E[Qr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(ae);E[Qr]=Yn,C[Qr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,U,H,$)}createLevel(t){const n=new cr(t),o=t.supplemental;if(o!=null&&o.videoCodec&&!this.isVideoSupported(o.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${o.videoCodec}"`);this.log(m.message),n.supportedResult=fn(m,[])}return n}isAudioSupported(t){return Oe(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Oe(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,E){let C=[],U=[],H=t;if((o||m)&&E&&(H=H.filter(({videoCodec:at,videoRange:Ft,width:hr,height:ar})=>(!!at||!!(hr&&ar))&&rn(Ft))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Ft=at;n.levels.length&&(Ft=`one or more CODECS in variant not supported: ${zn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,zr,Wr)=>Wr.indexOf(ar)===zr))}`,this.warn(Ft),at+=` (${Ft})`);const hr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:hr,reason:Ft})}});return}n.audioTracks&&(C=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(C)),n.subtitles&&(U=n.subtitles,Nf(U));const $=H.slice(0);H.sort((at,Ft)=>{if(at.attrs["HDCP-LEVEL"]!==Ft.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Ft.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Ft.height)return at.height-Ft.height;if(at.frameRate!==Ft.frameRate)return at.frameRate-Ft.frameRate;if(at.videoRange!==Ft.videoRange)return gr.indexOf(at.videoRange)-gr.indexOf(Ft.videoRange);if(at.videoCodec!==Ft.videoCodec){const hr=Ke(at.videoCodec),ar=Ke(Ft.videoCodec);if(hr!==ar)return ar-hr}if(at.uri===Ft.uri&&at.codecSet!==Ft.codecSet){const hr=mt(at.codecSet),ar=mt(Ft.codecSet);if(hr!==ar)return ar-hr}return at.averageBitrate!==Ft.averageBitrate?at.averageBitrate-Ft.averageBitrate:0});let ae=$[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==$.length)){for(let at=0;at<$.length;at++)if($[at].pathwayId===H[0].pathwayId){ae=$[at];break}}this._levels=H;for(let at=0;athr&&hr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=E&&!m,Te=this.hls.config,De=!!(Te.audioStreamController&&Te.audioTrackController),tt={levels:H,audioTracks:C,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:De&&!xe&&C.some(at=>!!at.url)};this.hls.trigger(s.MANIFEST_PARSED,tt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ae=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:ae,reason:ae.message}),ce)return;t=Math.min(t,n.length-1)}const o=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,C=n[t],U=C.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=C,o===t&&m&&E===U)return;this.log(`Switching to level ${t} (${C.height?C.height+"p ":""}${C.videoRange?C.videoRange+" ":""}${C.codecSet?C.codecSet+" ":""}@${C.bitrate})${U?" with Pathway "+U:""} from level ${o}${E?" with Pathway "+E:""}`);const H={level:t,attrs:C.attrs,details:C.details,bitrate:C.bitrate,averageBitrate:C.averageBitrate,maxBitrate:C.maxBitrate,realBitrate:C.realBitrate,width:C.width,height:C.height,codecSet:C.codecSet,audioCodec:C.audioCodec,videoCodec:C.videoCodec,audioGroups:C.audioGroups,subtitleGroups:C.subtitleGroups,loaded:C.loaded,loadError:C.loadError,fragmentError:C.fragmentError,name:C.name,id:C.id,uri:C.uri,url:C.url,urlId:0,audioGroupIds:C.audioGroupIds,textGroupIds:C.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const $=C.details;if(!$||$.live){const ae=this.switchParams(C.uri,m==null?void 0:m.details,$);this.loadPlaylist(ae)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),o=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=o}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const o=n.elementaryStreams;if(!Object.keys(o).some(E=>!!o[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var o;const{level:m,details:E}=n,C=n.levelInfo;if(!C){var U;this.warn(`Invalid level index ${m}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(C===this.currentLevel||n.withoutMultiVariant){C.fragmentError===0&&(C.loadError=0);let H=C.details;H===n.details&&H.advanced&&(H=void 0),this.playlistLoaded(m,n,H)}else(o=n.deliveryDirectives)!=null&&o.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],C=t.details,U=C==null?void 0:C.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.type||0:""):""} ${o}`),this.hls.trigger(s.LEVEL_LOADING,{url:o,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const o=this._levels.filter((E,C)=>C!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(U=>U.level=-1)),!1));Hn(o),this._levels=o,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=o.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(s.LEVELS_UPDATED,{levels:o})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:o}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:o}))}}function Nf(P){const t={};P.forEach(n=>{const o=n.groupId||"";n.id=t[o]=t[o]||0,t[o]++})}function nf(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!oe())return!1;const t=nf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=oe();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(be(t,"audio"))))}function g(){var P;const t=nf();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const A=100;class Z extends na{constructor(t,n,o){super(t,n,o,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const C=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(C===null||C.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${C?C.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:o,hls:m}=this;if(this.stopLoad(),this.setInterval(A),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}o>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o),this.state=Ur.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Ur.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Ur.WAITING_LEVEL:{const{levels:n,level:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Ur.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Ur.IDLE;break}break}case Ur.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,C=m==null?void 0:m[E];this.resetStartWhenNotLoaded(C||null),this.state=Ur.IDLE}}break}this.state===Ur.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:o,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(o!=null&&o[E]))return;const C=o[E],U=this.getMainFwdBufferInfo();if(U===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(U,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=Ur.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const $=C.details;if(!$||this.state===Ur.WAITING_LEVEL||this.waitForLive(C)){this.level=E,this.state=Ur.WAITING_LEVEL,this.startFragRequested=!1;return}const ae=U.len,ce=this.getMaxBufferLength(C.maxBitrate);if(ae>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:U.end;let Te=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&Te&&_e(Te)&&this.fragmentTracker.getState(Te)!==Er.OK){var De;const at=((De=this.backtrackFragment)!=null?De:Te).sn-$.startSN,Ft=$.fragments[at-1];Ft&&Te.cc===Ft.cc&&(Te=Ft,this.fragmentTracker.removeFragment(Ft))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Te&&this.isLoopLoading(Te,xe)){if(!Te.gap){const at=this.audioOnly&&!this.altAudio?F.AUDIO:F.VIDEO,Ft=(at===F.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Ft&&this.afterBufferFlushed(Ft,at,u.MAIN)}Te=this.getNextFragmentLoopLoading(Te,$,U,u.MAIN,ce)}Te&&(Te.initSegment&&!Te.initSegment.data&&!this.bitrateTest&&(Te=Te.initSegment),this.loadFragment(Te,C,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?_e(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,o):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let o;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const U=this.getMainFwdBufferInfo();if(!U||U.len{const C=E.audioCodec;C&&(o=o||C.indexOf("mp4a.40.2")!==-1,m=m||C.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!g(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:o}=this;if(!o||this.state!==Ur.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Ur.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:E}=this,C=n.level,U=n.details,H=U.totalduration;if(!m){this.warn(`Levels were reset while loading level ${C}`);return}this.log(`Level ${C} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${H}`);const $=n.levelInfo,ae=this.fragCurrent;ae&&(this.state===Ur.FRAG_LOADING||this.state===Ur.FRAG_LOADING_WAITING_RETRY)&&ae.level!==n.level&&ae.loader&&this.abortCurrentFrag();let ce=0;if(U.live||(o=$.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;ce=this.alignPlaylists(U,$.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if($.details=U,this.levelLastLoaded=$,E||this.setStartPosition(U,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:U,level:C}),this.state===Ur.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=Ur.IDLE}E&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),C=t.fragmentStart,U=t.edge,H=E>=C-n.maxFragLookUpTolerance&&E<=U;if(m!==null&&o.duration>m&&(E{var C;(C=this.hls)==null||C.trigger(s.AUDIO_TRACK_SWITCHED,n)}),o.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}o.trigger(s.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const o=ei(n.url,this.hls);if(o){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=o?2:0,this.tick()}onBufferCreated(t,n){const o=n.tracks;let m,E,C=!1;for(const U in o){const H=o[U];if(H.id==="main"){if(E=U,m=H,U==="video"){const $=o[U];$&&(this.videoBuffer=$.buffer)}}else C=!0}C&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:o,part:m}=n,E=o.type===u.MAIN;if(E){if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Ur.PARSED&&(this.state=Ur.IDLE);return}const U=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),_e(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const C=this.media;C&&(!this._hasEnoughToStart&&xi.getBuffered(C).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=Ur.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Ur.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=Ur.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Ur.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==F.AUDIO||!this.altAudio){const o=(n===F.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;o&&(this.afterBufferFlushed(o,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let o=this.startPosition;if(o>=0&&n0&&(H<$||this.loadingParts&&H<2*((E==null?void 0:E.partTarget)||0))&&(this.log(`adjusting start position by ${H} to match buffer start`),o+=H,this.startPosition=o),n{const{hls:m}=this,E=o==null?void 0:o.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Ur.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const C=E.stats;C.parsing.start=C.parsing.end=C.buffering.start=C.buffering.end=self.performance.now(),m.trigger(s.FRAG_LOADED,o),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const o=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:H,part:$,level:ae}=U,{video:ce,text:xe,id3:Te,initSegment:De}=E,{details:tt}=ae,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=Ur.PARSING,De){if(De!=null&&De.tracks){const ar=H.initSegment||H;this._bufferInitSegment(ae,De.tracks,ar,C),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:De.tracks})}const Ft=De.initPTS,hr=De.timescale;r(Ft)&&(this.initPTS[H.cc]={baseTime:Ft,timescale:hr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Ft,timescale:hr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Ft=tt.fragments[H.sn-1-tt.startSN],hr=H.sn===tt.startSN,ar=!Ft||H.cc>Ft.cc;if(E.independent!==!1){const{startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr}=ce;if($)$.elementaryStreams[ce.type]={startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr};else if(ce.firstKeyFrame&&ce.independent&&C.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const un=this.getMainFwdBufferInfo(),mn=(un?un.end:this.getLoadPosition())+this.config.maxBufferHole,Qr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:zr;if(!hr&&mnEc&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,zr,Wr,dn,Gr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,$,C,hr||ar)}else if(hr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Ft,endPTS:hr,startDTS:ar,endDTS:zr}=at;$&&($.elementaryStreams[F.AUDIO]={startPTS:Ft,endPTS:hr,startDTS:ar,endDTS:zr}),H.setElementaryStreamInfo(F.AUDIO,Ft,hr,ar,zr),this.bufferFragmentData(at,H,$,C)}if(tt&&Te!=null&&(n=Te.samples)!=null&&n.length){const Ft={id:o,frag:H,details:tt,samples:Te.samples};m.trigger(s.FRAG_PARSING_METADATA,Ft)}if(tt&&xe){const Ft={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Ft)}}logMuxedErr(t){this.warn(`${_e(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==Ur.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:E,video:C,audiovideo:U}=n;if(E){let $=Jr(E.codec,t.audioCodec);$==="mp4a"&&($="mp4a.40.5");const ae=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){$&&($.indexOf("mp4a.40.5")!==-1?$="mp4a.40.2":$="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&ae.indexOf("firefox")===-1&&($="mp4a.40.5")}$&&$.indexOf("mp4a.40.5")!==-1&&ae.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&($="mp4a.40.2",this.log(`Android: force audio codec to ${$}`)),t.audioCodec&&t.audioCodec!==$&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${$}"`),E.levelCodec=$,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${$||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(C){C.levelCodec=t.videoCodec,C.id=u.MAIN;const $=C.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":C.codec="hvc1.1.6.L120.90";break;case"av01":C.codec="av01.0.04M.08";break;case"avc1":C.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${C.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${C.codec!==$?" parsed-corrected="+C.codec:""}${C.supplemental?" supplemental="+C.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const H=Object.keys(n);if(H.length){if(this.hls.trigger(s.BUFFER_CODECS,n),!this.hls)return;H.forEach($=>{const ce=n[$].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:$,data:ce,frag:o,part:null,chunkMeta:m,parent:o.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,o=t==null?void 0:t[n];return o?this.getMaxBufferLength(o.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Ur.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(xi.isBuffered(t,o)?n=this.getAppendedFrag(o):xi.isBuffered(t,o+.1)&&(n=this.getAppendedFrag(o+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(s.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const o=this.getLevelDetails(),m=this.currentFrag||(o?En(null,o.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const C=E+(n-m.start)*1e3;return new Date(C)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const o in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[o].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,o,m,E){return new Na({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:o,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:o,cc:m}=t;for(let E=0;E{C.setKeyFormat(U)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var o,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const $=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,$))}const C=E.uri;if(!C)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${C}"`)));let U=this.keyUriToKeyInfo[C];if((o=U)!=null&&o.decryptdata.key)return E.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((m=U)!=null&&m.keyLoadPromise){var H;switch((H=U.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then($=>(E.key=$.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[C]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(U,t):this.loadKeyEME(U,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(U,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const o={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(o);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,o))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(o)}loadKeyHTTP(t,n){const o=this.config,m=o.loader,E=new m(o);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((C,U)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=o.keyLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{const{frag:at,keyInfo:Ft,url:hr}=De;if(!at.decryptdata||Ft!==this.keyUriToKeyInfo[hr])return U(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Ft.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Ft.loader=null,C({frag:at,keyInfo:Ft})},onError:(xe,Te,De,tt)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),De,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),De))},onAbort:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),De))}};E.load(H,ae,ce)})}resetLoader(t){const{frag:n,keyInfo:o,url:m}=t,E=o.loader;n.keyLoader===E&&(n.keyLoader=null,o.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Le(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ut(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Nt{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,o=n.pLoader,m=n.loader,E=o||m,C=new E(n);return this.loaders[t.type]=C,C}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:o}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:o,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:o,level:m,pathwayId:E,url:C,deliveryDirectives:U,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:C,deliveryDirectives:U,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onLevelsUpdated(t,n){const o=this.loaders[h.LEVEL];if(o){const m=o.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(o.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const o=this.hls.config;let m=this.getInternalLoader(t);if(m){const $=this.hls.logger,ae=m.context;if(ae&&ae.levelOrTrack===t.levelOrTrack&&(ae.url===t.url||ae.deliveryDirectives&&!t.deliveryDirectives)){ae.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ae.url}`);return}$.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=o.manifestLoadPolicy.default:E=y({},o.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ae=$.partTarget,ce=$.targetduration;if(ae&&ce){const xe=Math.max(ae*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const C=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:C.maxNumRetry||0,retryDelay:C.retryDelayMs||0,maxRetryDelay:C.maxRetryDelayMs||0},H={onSuccess:($,ae,ce,xe)=>{const Te=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const De=$.data;if(De.indexOf("#EXTM3U")!==0){this.handleManifestParsingError($,ce,new Error("no EXTM3U delimiter"),xe||null,ae);return}ae.parsing.start=performance.now(),fs.isMediaPlaylist(De)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ae,ce,xe||null,Te):this.handleMasterPlaylist($,ae,ce,xe)},onError:($,ae,ce,xe)=>{this.handleNetworkError(ae,ce,!1,$,xe)},onTimeout:($,ae,ce)=>{this.handleNetworkError(ae,ce,!0,void 0,$)}};m.load(t,U,H)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:o}=this.hls;(t||o)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,o,m){const E=this.hls,C=t.data,U=ut(t,o),H=fs.parseMasterPlaylist(C,U);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:$,levels:ae,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De}=H;this.variableList=De;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Ft}=fs.parseMasterPlaylistMedia(C,U,H);tt.length&&!tt.some(ar=>!ar.url)&&ae[0].audioCodec&&!ae[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),tt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Ui({}),bitrate:0,url:""})),E.trigger(s.MANIFEST_LOADED,{levels:ae,audioTracks:tt,subtitles:at,captions:Ft,contentSteering:$,url:U,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De})}handleTrackOrLevelPlaylist(t,n,o,m,E){const C=this.hls,{id:U,level:H,type:$}=o,ae=ut(t,o),ce=r(H)?H:r(U)?U:0,xe=Le(o),Te=fs.parseLevelPlaylist(t.data,ae,ce,xe,0,this.variableList);if($===h.MANIFEST){const De={attrs:new Ui({}),bitrate:0,details:Te,name:"",url:ae};Te.requestScheduled=n.loading.start+ur(Te,0),C.trigger(s.MANIFEST_LOADED,{levels:[De],audioTracks:[],url:ae,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Te,this.handlePlaylistLoaded(Te,t,n,o,m,E)}handleManifestParsingError(t,n,o,m,E){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:o,error:o,reason:o.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,o=!1,m,E){let C=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?C+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(C+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(C);this.hls.logger.warn(`[playlist-loader]: ${C}`);let H=f.UNKNOWN,$=!1;const ae=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ae&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:$,url:t.url,loader:ae,context:t,error:U,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(s.ERROR,ce)}handlePlaylistLoaded(t,n,o,m,E,C){const U=this.hls,{type:H,level:$,id:ae,groupId:ce,deliveryDirectives:xe}=m,Te=ut(n,m),De=Le(m),tt=typeof m.level=="number"&&De===u.MAIN?$:void 0;if(!t.fragments.length){const Ft=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Te,error:Ft,reason:Ft.message,response:n,context:m,level:tt,parent:De,networkDetails:E,stats:o});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!U.config.ignorePlaylistParsingErrors){U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Te,error:at,reason:at.message,response:n,context:m,level:tt,parent:De,networkDetails:E,stats:o});return}t.playlistParsingError=null}switch(t.live&&C&&(C.getCacheAge&&(t.ageHeader=C.getCacheAge()||0),(!C.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:U.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||U.levels[0],level:tt||0,id:ae||0,stats:o,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:U.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break}}}class rr{static get version(){return Dn}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return we}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return rr.defaultConfig?rr.defaultConfig:tf}static set DefaultConfig(t){rr.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ks,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=X(t.debug||!1,"Hls instance",t.assetPlayerId),o=this.config=fl(rr.DefaultConfig,t,n);this.userConfig=t,o.progressive&&Wo(o,n);const{abrController:m,bufferController:E,capLevelController:C,errorController:U,fpsController:H}=o,$=new U(this),ae=this.abrController=new m(this),ce=new Or(this),xe=o.interstitialsController,Te=xe?this.interstitialsController=new xe(this,rr):null,De=this.bufferController=new E(this,ce),tt=this.capLevelController=new C(this),at=new H(this),Ft=new Nt(this),hr=o.contentSteeringController,ar=hr?new hr(this):null,zr=this.levelController=new Bf(this,ar),Wr=new Hf(this),dn=new ve(this.config),Gr=this.streamController=new Z(this,ce,dn),un=this.gapController=new mf(this,ce);tt.setStreamController(Gr),at.setStreamController(Gr);const mn=[Ft,zr,Gr];Te&&mn.splice(1,0,Te),ar&&mn.splice(1,0,ar),this.networkControllers=mn;const Qr=[ae,De,un,tt,at,Wr,ce];this.audioTrackController=this.createController(o.audioTrackController,mn);const Yn=o.audioStreamController;Yn&&mn.push(this.audioStreamController=new Yn(this,ce,dn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,mn);const hi=o.subtitleStreamController;hi&&mn.push(this.subtititleStreamController=new hi(this,ce,dn)),this.createController(o.timelineController,Qr),dn.emeController=this.emeController=this.createController(o.emeController,Qr),this.cmcdController=this.createController(o.cmcdController,Qr),this.latencyController=this.createController(Cf,Qr),this.coreComponents=Qr,mn.push($);const os=$.onErrorOut;typeof os=="function"&&this.on(s.ERROR,os,$),this.on(s.MANIFEST_LOADED,Ft.onManifestLoaded,Ft)}createController(t,n){if(t){const o=new t(this);return n&&n.push(o),o}return null}on(t,n,o=this){this._emitter.on(t,n,o)}once(t,n,o=this){this._emitter.once(t,n,o)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,o=this,m){this._emitter.off(t,n,o,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,o){return this._emitter.emit(t,n,o)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(o){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+o.message+'". Here is a stacktrace:',o),!this.triggeringException){this.triggeringException=!0;const m=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:o}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,o=n?t.media:t,m=n?t:{media:o};this._media=o,this.trigger(s.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,o=this._url,m=this._url=le.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&o&&(o!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let o=0;o{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ki()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const o=t.length;for(let m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:o}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,o)for(let E=m;E--;){const C=t[E].attrs["HDCP-LEVEL"];if(C&&C<=o)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const o=mi(n);return _t(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var s=f||{},h=s.noTrailing,u=h===void 0?!1:h,a=s.noLeading,x=a===void 0?!1:a,p=s.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var M=D||{},N=M.upcomingOnly,j=N===void 0?!1:N;R(),b=!j}function T(){for(var D=arguments.length,M=new Array(D),N=0;Nl?x?(S=Date.now(),u||(_=setTimeout(y?Y:X,l))):X():u!==!0&&(_=setTimeout(y?Y:X,y===void 0?l-Q:l))}return T.cancel=L,T}function i(l,c,f){var s=f||{},h=s.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"5ac27def",33:"62274dbc",67:"22cd85d4",109:"5f9efbf5",169:"d23d080e",195:"2f68237d",264:"6b5fc814",265:"0c6b602d",292:"a89f8d21",310:"e5a97e98",316:"1f60ada6",337:"6b3fed7e",342:"6ec13e6a",354:"d4d139cf",391:"3b36d1ac",400:"d04d52bd",479:"a1147c4c",485:"97c43a9c",508:"1a67a6e4",532:"274c5881",533:"6528dc43",547:"db28ee96",556:"489891cd",559:"08c06823",570:"847cbc80",576:"d92c7fdc",599:"ed444d24",629:"44a1d9a5",643:"f21cff49",671:"4a609b8d",672:"30ae0d09",680:"b81db7ca",700:"fff3a809",737:"28686f04",741:"ac5fd360",799:"eefcedce",869:"e52598e3",895:"11583a36",921:"5ddbf9e2",928:"3beb70a2",981:"24da50c7",1006:"ece37beb",1043:"fdafa962",1045:"013ca23f",1048:"5e6c2f33",1070:"0b15f636",1134:"b76b3ddd",1144:"c90eccaf",1148:"a569eb65",1154:"8cb80842",1211:"3258e65d",1253:"bb5eb91a",1257:"4de335f6",1265:"355894ab",1274:"5f6ea65a",1276:"5a16a6b9",1343:"233a1c11",1416:"f0bc6df2",1423:"dfa5ddb4",1427:"2e57a93f",1450:"84b901b6",1461:"6a30072c",1462:"fcf08abc",1470:"42207f91",1475:"94fcda3e",1482:"4dd173ea",1512:"d8e3190a",1520:"34057789",1545:"c9fb6de0",1578:"bd0dc120",1581:"f2c2e3a6",1582:"f3089871",1646:"e6e27b60",1657:"57e9eedc",1660:"7ef463dc",1674:"c02df625",1702:"82ca08fa",1713:"21b00e0a",1717:"84f1cf03",1727:"b12d5952",1783:"3f22c779",1799:"ff17f0c2",1831:"b0dfccc1",1836:"2604d8fb",1855:"a387e74d",1880:"5679481a",1939:"dbb01f87",1953:"db9a75f8",1962:"82976146",2011:"59d51f98",2045:"84fa5c08",2076:"7404c19f",2102:"37ebcd9c",2141:"1d29db04",2216:"a7a35ebc",2240:"3f870813",2249:"f4830452",2254:"141fb031",2300:"f7b34b30",2303:"6568d6e6",2307:"154d044a",2338:"9ba90f8c",2339:"337b97ab",2364:"f89faf70",2386:"192e235c",2396:"9b5d3f78",2404:"76a9d67d",2412:"8ba7cd86",2425:"db1a9388",2443:"2b048691",2476:"a5521d90",2494:"68080a87",2501:"229b1c55",2529:"249b73cb",2538:"de4a3723",2539:"e42e7069",2548:"aa53f43d",2570:"c769f6c3",2594:"e87d3761",2603:"5ab477af",2659:"eb719cac",2707:"70275a0d",2806:"e2cecdf0",2819:"553f9ac5",2823:"eaac4ef7",2826:"8dc05a57",2829:"27173129",2837:"54a82605",2865:"76c34631",2875:"0205a186",2884:"4e0bcb27",2969:"ab3357d7",2983:"a15c3078",3006:"f4685cae",3133:"9bf3f89c",3141:"ac7ab4e1",3157:"a5ecae7c",3183:"ea4c9434",3198:"8e655451",3212:"a590cf3a",3220:"8fce6ee9",3247:"2809f0c3",3260:"5f5cf859",3276:"3ce86eb5",3282:"fb41bd2d",3317:"860a753e",3332:"f2bc1ccf",3355:"8920cc04",3356:"454b4e33",3391:"4fb7fe3f",3433:"411ff7c4",3442:"05815f1d",3447:"1ac11541",3451:"0fb3242b",3496:"5bf0479c",3509:"f282bd97",3550:"3dc83156",3581:"e356b455",3585:"590e214b",3665:"df48f6ff",3668:"7af02588",3697:"481a10d9",3747:"d3131211",3754:"a157c791",3777:"d5b0f2f1",3784:"8148bbba",3805:"9dbcb95e",3862:"43117f72",3873:"fc59659a",3885:"f87f7f15",3910:"a3b97753",3935:"74d0c027",3951:"97247def",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"82207d2d",4056:"c7f38407",4058:"82246f46",4078:"69d3514c",4088:"236723f3",4093:"a363e26b",4105:"dc74e996",4142:"9c4d20a7",4144:"e54263c2",4164:"641940cc",4216:"d4314c2e",4217:"afffadf3",4227:"847022c5",4259:"5ccef5de",4264:"ae140b33",4317:"cd48e9f7",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"cbce7a89",4492:"c2d99b91",4495:"1b35a497",4496:"3f0dd725",4498:"0af86223",4504:"823ab034",4514:"1f94f70e",4520:"3a54f2dc",4546:"15c5bfd8",4565:"ae294bdd",4572:"08645974",4599:"61def4cb",4601:"63673abe",4610:"cc1808e2",4621:"a81fab58",4628:"ece2c60c",4662:"22d04921",4685:"c33f1528",4715:"89043e6e",4736:"d824f15b",4741:"8943c739",4757:"b238a32e",4766:"8e4c898e",4770:"3b8de87f",4790:"619413e4",4795:"a656db2e",4797:"a24e92db",4800:"b62d7467",4849:"dc3c360a",4850:"1edda4b7",4862:"7c2ec705",4884:"9ba8dc65",4889:"2eb41eae",4928:"24bb7f6e",4973:"cf3a187c",4994:"edc9bd53",5022:"eb28ddb0",5043:"984d40c5",5048:"8cfb53ec",5060:"85dafcc6",5096:"65d21f3b",5111:"73842bdc",5125:"4e912faa",5148:"c48a633b",5176:"07ea56f3",5179:"0869e466",5186:"4eeeed30",5191:"b62d04ce",5238:"3a24768b",5265:"74b07bb9",5290:"5dabcdc2",5297:"63a3b27f",5319:"66a7eba6",5321:"1163c84e",5335:"b1a1e258",5354:"7ae70604",5357:"ef473ad7",5359:"bcaa4d79",5382:"99d5cd70",5402:"e83fe768",5416:"454536b7",5434:"38b302a6",5470:"a27ec10f",5494:"d89549c4",5518:"fce6a0ca",5549:"29490bcf",5572:"b8ab27b2",5573:"e3d1a632",5599:"464e1ede",5624:"09f063be",5631:"e00d3d36",5650:"f673f39a",5679:"4a090bef",5705:"956a5d8e",5729:"577116da",5764:"e0d7e586",5775:"0150c295",5786:"a972d493",5798:"a75de45a",5816:"d7f8d6e9",5825:"b6acc9c6",5876:"5eded409",5888:"07ac5a7a",5891:"0c8f43fe",5895:"e2215934",5902:"988ffc12",5915:"8ec01b35",5972:"5a6a223f",5992:"5f1dc82e",6029:"0db76ed3",6034:"6eb56d2c",6045:"d268f87f",6047:"3ce45acd",6052:"393ca4ef",6063:"d206a83e",6069:"5513ec6a",6126:"99519171",6127:"7fdafd59",6170:"c4b92aae",6265:"9879fe28",6270:"923fade7",6277:"885d34c8",6328:"df69f356",6366:"01ef6868",6378:"7f3a946a",6411:"c9f1e451",6434:"c37e3f9b",6444:"a6594a6b",6452:"6dd54924",6531:"5b8bb018",6541:"5c09d937",6583:"bebdb876",6587:"1ee4d88e",6634:"234d0c80",6651:"522d5d71",6656:"fc39d1b9",6685:"17de7d52",6729:"c379dfad",6741:"f647133f",6758:"9f00edd9",6774:"59d4d618",6784:"6ce93f72",6788:"8f34fac0",6796:"7824b8d9",6805:"3fa0dc14",6820:"68387769",6845:"eac7f531",6882:"213c8701",6883:"6cb80143",6904:"4f1ca3bc",6913:"7576648a",6963:"c49e9b24",6982:"2da469a7",7008:"1253f460",7043:"013a6116",7045:"cd661209",7046:"decbb342",7058:"58b8370a",7062:"8c1e44d9",7084:"46ccce72",7156:"e7466006",7178:"79aa89b4",7182:"6e49e73f",7242:"bb32eb5a",7260:"264823b4",7331:"2e27a23b",7333:"e5a7f74e",7365:"1005464f",7395:"52bbd294",7460:"2174ce69",7477:"b1fbd3e9",7482:"0bb903a2",7527:"987b1297",7545:"992e6ec1",7560:"8d07ea63",7589:"1aa3044a",7591:"c8233ce9",7614:"88413be7",7622:"054f3421",7686:"4fcec9f9",7706:"c2a79e40",7806:"32fb4e4c",7852:"c772351b",7855:"3df9042b",7857:"91ee9735",7878:"dd237772",7883:"30b53572",7884:"cd25ad5d",7890:"ca5e41c9",7922:"a1e6a679",7948:"20c6f2cc",7963:"64ac60d4",7964:"29aed9a1",8014:"7d816772",8062:"94652a80",8072:"5975e767",8077:"bde7c3bd",8085:"8961bb87",8089:"d536b13a",8143:"94aadb29",8155:"a189e74f",8161:"83c5fa9a",8237:"15956a10",8241:"31d65ec5",8302:"4d9f0d89",8307:"1eee8b1c",8340:"99315e52",8350:"07df8a75",8365:"bbdeda3c",8398:"ebed64dd",8431:"9bee28c7",8435:"33fe1a12",8447:"de55f118",8517:"85045403",8561:"333e8ec9",8563:"19f5d825",8634:"4f867966",8639:"ebbaf1d9",8665:"0bc439fb",8688:"d2ca098f",8689:"5c1f12ab",8723:"bad1175f",8737:"ce7dad23",8776:"0ad26240",8782:"194c5d46",8787:"413475f8",8797:"9b1c9e2f",8823:"409d244f",8827:"b9269f36",8842:"9f25a3e2",8866:"cae5f846",8882:"3f7f0e39",8885:"298e8c35",8898:"d002bcd8",8909:"63bf2ffc",8920:"7f82440c",8963:"790aecdd",8982:"c634b5db",8999:"ed3bce1d",9076:"b772835c",9104:"bbcb2345",9133:"651cc548",9205:"e62168bf",9215:"9d7b9033",9252:"0d791a59",9260:"cf5f8140",9332:"24cc98b7",9360:"3040ff36",9366:"da93f466",9391:"23eb12bc",9404:"9fcc3d3e",9408:"09ebee53",9416:"75fe5100",9487:"4d567133",9489:"0634028c",9507:"0d65b8aa",9519:"721f40fc",9554:"ed358e7b",9559:"f794af19",9590:"53a4baeb",9647:"9a6683fa",9649:"fc6bd4a1",9674:"27a54e3b",9677:"9652e855",9695:"c8ddfad8",9715:"60e03c98",9716:"9e34dae9",9785:"9d460586",9788:"9e0955f0",9890:"065e0f93",9891:"a420aa0f",9895:"b8e31ff2",9921:"1ad8b682",9922:"467a52cb",9928:"5989f5e0",9944:"126ebd53",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"35d7aa5b",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"9a299665",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"ad1c3799",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4495:"da48110d",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e5826b73",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6656:"03cdfb68",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"ced4496f",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"72de0470",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"a204e6fe",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"3ac78858",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s{const $=Zi(t,o,H)||Zi(P,o,H)||Zi(m,o,H);return $&&(U[H]=$),U},{})}function Zi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function ua(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ha(P,t){if(!P)return null;let n=Ws(P);return n===null&&(El.test(P)?n=vs(P,t):rc.test(P)&&(n=Ki(P,t))),n}function vs(P,t){const n=El.exec(P),o=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+o/t.frameRate}function Ki(P,t){const n=rc.exec(P),o=Number(n[1]);switch(n[2]){case"h":return o*3600;case"m":return o*60;case"ms":return o*1e3;case"f":return o/t.frameRate;case"t":return o/t.tickRate}return o}class es{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,o){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=o,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Ku{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new es(this,"textTrack1"),n=new es(this,"textTrack2"),o=new es(this,"textTrack3"),m=new es(this,"textTrack4");this.cea608Parser1=new bc(1,t,n),this.cea608Parser2=new bc(3,o,m)}addCues(t,n,o,m,E){let C=!1;for(let U=E.length;U--;){const H=E[U],$=ul(H[0],H[1],n,o);if($>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),C=!0,$/(o-n)>.5))return}if(C||E.push([n,o]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,o,m)}else{const U=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){const{unparsedVttFrags:C}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),C.length&&(this.unparsedVttFrags=[],C.forEach(U=>{this.onFragLoaded(s.FRAG_LOADED,U)}))}getExistingTrack(t,n){const{media:o}=this;if(o)for(let m=0;m{Mu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let o=0;oE.textCodec===$u);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(oc(this.tracks,o)){this.tracks=o;return}if(this.textTracks=[],this.tracks=o,this.config.renderTextTracksNatively){const C=this.media,U=C?Dc(C.textTracks):null;if(this.tracks.forEach((H,$)=>{let ae;if(U){let ce=null;for(let xe=0;xe$!==null).map($=>$.label);H.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${H.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const C=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:C})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(o=>{const m=/(?:CC|SERVICE)([1-4])/.exec(o.instreamId);if(!m)return;const E=`textTrack${m[1]}`,C=this.captionsProperties[E];C&&(C.label=o.name,o.lang&&(C.languageCode=o.lang),C.media=o)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var o,m;const{cea608Parser1:E,cea608Parser2:C,lastSn:U}=this,{cc:H,sn:$}=n.frag,ae=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;E&&C&&($!==U+1||$===U&&ae!==this.lastPartIndex+1||H!==this.lastCc)&&(E.reset(),C.reset()),this.lastCc=H,this.lastSn=$,this.lastPartIndex=ae}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const E=o.decryptdata,C="stats"in n;if(E==null||!E.encrypted||C){const U=this.tracks[o.level],H=this.vttCCs;H[o.cc]||(H[o.cc]={start:o.start,prevCC:this.prevCC,new:!0},this.prevCC=o.cc),U&&U.textCodec===$u?this._parseIMSC1(o,m):this._parseVTTs(n)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const o=this.hls;nc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{o.logger.log(`Failed to parse IMSC1: ${m}`),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:o,payload:m}=t,{initPTS:E,unparsedVttFrags:C}=this,U=E.length-1;if(!E[o.cc]&&U===-1){C.push(t);return}const H=this.hls,$=(n=o.initSegment)!=null&&n.data?Gt(o.initSegment.data,new Uint8Array(m)).buffer:m;hu($,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,ae=>{this._appendCues(ae,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},ae=>{const ce=ae.message==="Missing initPTS for VTT MPEGTS";ce?C.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${ae}`),!(ce&&U>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:ae})})}_fallbackToIMSC1(t,n){const o=this.tracks[t.level];o.textCodec||nc(n,this.initPTS[t.cc],()=>{o.textCodec=$u,this._parseIMSC1(t,n)},()=>{o.textCodec="wvtt"})}_appendCues(t,n){const o=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>vc(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;o.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:o}=n;o.type===u.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:o,samples:m}=n;if(!(o.type===u.MAIN&&this.closedCaptionsForLevel(o)==="NONE"))for(let E=0;EZo(U[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(H=>Zo(U[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let E=0;E=16?H--:H++;const Te=ol($.trim()),De=Ll(t,n,Te);P!=null&&(ce=P.cues)!=null&&ce.getCueById(De)||(C=new ae(t,n,Te),C.id=De,C.line=xe+1,C.align="left",C.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(C))}return P&&m.length&&(m.sort((xe,Te)=>xe.line==="auto"||Te.line==="auto"?0:xe.line>8&&Te.line>8?Te.line-xe.line:xe.line-Te.line),m.forEach(xe=>vc(P,xe))),m}};function Fl(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class xc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new z}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,o){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Jc(t,this.controller.signal),C=t.responseType==="arraybuffer",U=C?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:$}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=o,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=H&&r(H)?H:$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Iu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Te=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},$-(Te-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new Xu(at||"fetch, bad network response",tt,ce)}m.loading.first=Te,m.total=cl(ce.headers)||m.total;const De=(xe=this.callbacks)==null?void 0:xe.onProgress;return De&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,De):C?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Te;const De=this.response;if(!De)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[U];tt&&(m.loaded=m.total=tt);const at={url:De.url,data:ce,code:De.status},Ft=(xe=this.callbacks)==null?void 0:xe.onProgress;Ft&&!r(n.highWaterMark)&&Ft(m,t,ce,De),(Te=this.callbacks)==null||Te.onSuccess(at,m,t,De)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Te=ce&&ce.code||0,De=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Te,text:De},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,o,m=0,E){const C=new fi,U=t.body.getReader(),H=()=>U.read().then($=>{if($.done)return C.dataLength&&E(n,o,C.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ae=$.value,ce=ae.length;return n.loaded+=ce,ce=m&&E(n,o,C.flush().buffer,t)):E(n,o,ae.buffer,t),H()}).catch(()=>Promise.reject());return H()}}function Jc(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const o=hf(t);if(r(o))return o}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Xu extends Error{constructor(t,n,o){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=o}}const Lc=/^age:\s*[\d.]+\s*$/im;class ef{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new z,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,o){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=o,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const o=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==o||this.stats.aborted))return E(o,n.url)}).catch(C=>{if(!(this.loader!==o||this.stats.aborted))return o.open("GET",n.url,!0),E(o,n.url)}).then(()=>{this.loader!==o||this.stats.aborted||this.openAndSendXhr(o,n,t)}).catch(C=>{var U;(U=this.callbacks)==null||U.onError({code:o.status,text:C.message},n,o,m)}):this.openAndSendXhr(o,n,t)}openAndSendXhr(t,n,o){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:C}=o.loadPolicy;if(m)for(const U in m)t.setRequestHeader(U,m[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),o.timeout=E&&r(E)?E:C,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),o.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:o}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!o.aborted&&m>=2&&(o.loading.first===0&&(o.loading.first=Math.max(self.performance.now(),o.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(o.loading.first-o.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const $=n.status,ae=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const De=ae!=null?ae:n.response;if(De!=null){var C,U;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?De.byteLength:De.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(C=this.callbacks)==null?void 0:C.onProgress;at&&at(o,t,De,n);const Ft={url:n.responseURL,data:De,code:$};(U=this.callbacks)==null||U.onSuccess(Ft,o,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=o.retry,Te={url:t.url,data:void 0,code:$};if(Ze(ce,xe,!1,Te))this.retry(ce);else{var H;Y.error(`${$} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:$,text:n.statusText},t,n,o)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ze(t,n,!0))this.retry(t);else{var o;Y.warn(`timeout while loading ${(o=this.context)==null?void 0:o.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:o}=this;this.retryDelay=Ir(t,o.retry),o.retry++,Y.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${o.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Lc.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const Ho={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},tf=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:ef,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Hu,capLevelController:cc,errorController:ir,fpsController:nl,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Fa,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Ho},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Ku,audioStreamController:Zl,audioTrackController:Sc,emeController:Lu,cmcdController:Qo,contentSteeringController:$o,interstitialsController:yc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const o=Bl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(C=>{const U=`${C==="level"?"playlist":C}LoadPolicy`,H=t[U]===void 0,$=[];E.forEach(ae=>{const ce=`${C}Loading${ae}`,xe=t[ce];if(xe!==void 0&&H){$.push(ce);const Te=o[U].default;switch(t[U]={default:Te},ae){case"TimeOut":Te.maxLoadTimeMs=xe,Te.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Te.errorRetry.maxNumRetry=xe,Te.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Te.errorRetry.retryDelayMs=xe,Te.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Te.errorRetry.maxRetryDelayMs=xe,Te.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${U}": ${zn(t[U])}`)}),b(b({},o),t)}function Bl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Bl):Object.keys(P).reduce((t,n)=>(t[n]=Bl(P[n]),t),{}):P}function Wo(P,t){const n=P.loader;n!==xc&&n!==ef?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):Fl()&&(P.loader=xc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Ec=2,_f=.1,Mc=.05,Fc=100;class mf extends Is{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var o;(o=this.media)!=null&&o.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var o;this.ended=((o=this.media)==null?void 0:o.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Fc),this.mediaSource=n.mediaSource;const o=this.media=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"waiting",this.onMediaWaiting),iu(o,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"waiting",this.onMediaWaiting),qo(o,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var o,m;const E=(o=this.hls)==null?void 0:o.config;if(!E)return;const{media:C,stalled:U}=this;if(!C)return;const{seeking:H}=C,$=this.seeking&&!H,ae=!this.seeking&&H,ce=C.paused&&!H||C.ended||C.playbackRate===0;if(this.seeking=H,t!==n){n&&(this.ended=0),this.moved=!0,H||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(ae||$){$&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&C.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!xi.getBuffered(C).length){this.nudgeRetry=0;return}const xe=xi.bufferInfo(C,t,0),Te=xe.nextStart||0,De=this.fragmentTracker;if(H&&De&&this.hls){const dn=Bc(this.hls.inFlightFragments,t),Gr=xe.len>Ec,un=!Te||dn||Te-t>Ec&&!De.getPartialFragment(t);if(Gr||un)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&De){if(!(xe.len>0)&&!Te)return;const Gr=Math.max(Te,xe.start||0)-t,mn=!!(tt!=null&&tt.live)?tt.targetduration*2:Ec,Qr=De.getPartialFragment(t);if(Gr>0&&(Gr<=mn||Qr)){C.paused||this._trySkipBufferHole(Qr);return}}const at=E.detectStallWithCurrentTimeMs,Ft=self.performance.now(),hr=this.waiting;if(U===null){hr>0&&Ft-hr=at||hr)&&this.hls){var zr;if(((zr=this.mediaSource)==null?void 0:zr.readyState)==="ended"&&!(tt!=null&&tt.live)&&Math.abs(t-((tt==null?void 0:tt.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Wr=xi.bufferInfo(C,t,E.maxBufferHole);this._tryFixBufferStall(Wr,ar)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const o=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(o)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var o;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(o=this.buffered.audio)!=null&&o.length&&m&&m.length>1&&t>m.end(0)){const E=xi.bufferedInfo(xi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const C=xi.timeRangesToArray(m),U=xi.bufferedInfo(C,n,0).bufferedIndex;if(U>-1&&UU)&&ae-$<1&&t-$<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ae} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Te=xi.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Te.len,bufferInfo:Te})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:E,media:C}=this,U=(o=this.hls)==null?void 0:o.config;if(!C||!E||!U)return;const H=C.currentTime,$=(m=this.hls)==null?void 0:m.latestLevelDetails,ae=E.getPartialFragment(H);if((ae||$!=null&&$.live&&H<$.fragmentStart)&&(this._trySkipBufferHole(ae)||!this.media))return;const ce=t.buffered;(ce&&ce.length>1&&t.len>U.maxBufferHole||t.nextStart&&t.nextStart-HU.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:o,stallReported:m,stalled:E}=this;if(!m&&E!==null&&o&&n){this.stallReported=!0;const C=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${zn(t)})`);this.warn(C.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:C,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:o,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!o||!E)return 0;const C=m.currentTime,U=xi.bufferInfo(m,C,0),H=C0&&U.len<1&&m.readyState<3,xe=H-C;if(xe>0&&(ae||ce)){if(xe>E.maxBufferHole){let De=!1;if(C===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H{const P=Nc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var o;this.media=n.media,((o=n.overrides)==null?void 0:o.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Mu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nrf&&(ce=rf),ce-ae<=0&&(ce=ae+Mf);for(let Te=0;Te<$.length;Te++){const De=$[Te];if(!As(De)){this.updateId3CueEnds(ae,H);const tt=Ff(C,ae,ce,De,H);tt&&this.id3Track.addCue(tt)}}}}}updateId3CueEnds(t,n){var o;const m=(o=this.id3Track)==null?void 0:o.cues;if(m)for(let E=m.length;E--;){const C=m[E];C.type===n&&C.startTimeae.type===we.audioId3&&H:m==="video"?$=ae=>ae.type===we.emsg&&U:$=ae=>ae.type===we.audioId3&&H||ae.type===we.emsg&&U,Zo(E,n,o,$)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:o}=this,{dateRanges:m}=t,E=Object.keys(m);let C=this.dateRangeCuesAppended;if(o&&n){var U;if((U=o.cues)!=null&&U.length){const ae=Object.keys(C).filter(ce=>!E.includes(ce));for(let ce=ae.length;ce--;){const xe=ae[ce],Te=C[xe].cues;delete C[xe],Object.keys(Te).forEach(De=>{try{const tt=Te[De];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else C=this.dateRangeCuesAppended={}}const H=t.fragments[t.fragments.length-1];if(E.length===0||!r(H==null?void 0:H.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const $=Nc();for(let ae=0;ae{if(Gr!==xe.id){const un=m[Gr];if(un.class===xe.class&&un.startDate>xe.startDate&&(!dn||xe.startDate.01&&(Gr.startTime=Te,Gr.endTime=Ft);else if($){let un=xe.attr[dn];ja(dn)&&(un=vf(un));const Qr=Ff($,Te,Ft,{key:dn,data:un},we.dateRange);Qr&&(Qr.id=ce,this.id3Track.addCue(Qr),tt[dn]=Qr,this.hls.config.interstitialsController&&(dn==="X-ASSET-LIST"||dn==="X-ASSET-URL")&&Qr.addEventListener("enter",this.onEventCueEnter))}}C[ce]={cues:tt,dateRange:xe,durationKnown:at}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,o=this.levelDetails;if(!n||!o)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:C}=this.config;if(!E||C===1||!o.live)return;const U=this.targetLatency;if(U===null)return;const H=m-U,$=Math.min(this.maxLatency,U+o.targetduration);if(H<$&&H>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,C)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Te=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Te)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:o,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:C,lowLatencyMode:U}=this.config,H=this.hls.userConfig;let $=U&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||$===0)&&($=E!==void 0?E:C*m);const ae=m;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ae)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const o=this.levelDetails;if(o===null)return null;const m=o.edge,E=t-n-this.edgeStalled,C=m-o.totalduration,U=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(C,E),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const o=t.buffered.length;return(o?t.buffered.end(o-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var o;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(o=this.levelDetails)!=null&&o.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var o,m;t.playbackRate!==n&&((o=this.hls)==null||o.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Bf extends lu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const o=this.hls.config.preferManagedMediaSource,m=[],E={},C={};let U=!1,H=!1,$=!1;n.levels.forEach(ae=>{var ce;const xe=ae.attrs;let{audioCodec:Te,videoCodec:De}=ae;Te&&(ae.audioCodec=Te=St(Te,o)||void 0),((ce=De)==null?void 0:ce.indexOf("avc1"))===0&&(De=ae.videoCodec=Ar(De));const{width:tt,height:at,unknownCodecs:Ft}=ae;let hr=Ft?Ft.length:0;if(Ft)for(let Yn=hr;Yn--;){const hi=Ft[Yn];this.isAudioSupported(hi)?(ae.audioCodec=Te=Te?`${Te},${hi}`:hi,hr--,Ut.audio[Te.substring(0,4)]=2):this.isVideoSupported(hi)&&(ae.videoCodec=De=De?`${De},${hi}`:hi,hr--,Ut.video[De.substring(0,4)]=2)}if(U||(U=!!(tt&&at)),H||(H=!!De),$||($=!!Te),hr||Te&&!this.isAudioSupported(Te)||De&&!this.isVideoSupported(De)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":zr,"HDCP-LEVEL":Wr,"PATHWAY-ID":dn,RESOLUTION:Gr,"VIDEO-RANGE":un}=xe,Qr=`${`${dn||"."}-`}${ae.bitrate}-${Gr}-${zr}-${ar}-${un}-${Wr}`;if(E[Qr])if(E[Qr].uri!==ae.url&&!ae.attrs["PATHWAY-ID"]){const Yn=C[Qr]+=1;ae.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const hi=this.createLevel(ae);E[Qr]=hi,m.push(hi)}else E[Qr].addGroupId("audio",xe.AUDIO),E[Qr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(ae);E[Qr]=Yn,C[Qr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,U,H,$)}createLevel(t){const n=new cr(t),o=t.supplemental;if(o!=null&&o.videoCodec&&!this.isVideoSupported(o.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${o.videoCodec}"`);this.log(m.message),n.supportedResult=fn(m,[])}return n}isAudioSupported(t){return Oe(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Oe(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,E){let C=[],U=[],H=t;if((o||m)&&E&&(H=H.filter(({videoCodec:at,videoRange:Ft,width:hr,height:ar})=>(!!at||!!(hr&&ar))&&rn(Ft))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Ft=at;n.levels.length&&(Ft=`one or more CODECS in variant not supported: ${zn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,zr,Wr)=>Wr.indexOf(ar)===zr))}`,this.warn(Ft),at+=` (${Ft})`);const hr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:hr,reason:Ft})}});return}n.audioTracks&&(C=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(C)),n.subtitles&&(U=n.subtitles,Nf(U));const $=H.slice(0);H.sort((at,Ft)=>{if(at.attrs["HDCP-LEVEL"]!==Ft.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Ft.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Ft.height)return at.height-Ft.height;if(at.frameRate!==Ft.frameRate)return at.frameRate-Ft.frameRate;if(at.videoRange!==Ft.videoRange)return gr.indexOf(at.videoRange)-gr.indexOf(Ft.videoRange);if(at.videoCodec!==Ft.videoCodec){const hr=Ke(at.videoCodec),ar=Ke(Ft.videoCodec);if(hr!==ar)return ar-hr}if(at.uri===Ft.uri&&at.codecSet!==Ft.codecSet){const hr=mt(at.codecSet),ar=mt(Ft.codecSet);if(hr!==ar)return ar-hr}return at.averageBitrate!==Ft.averageBitrate?at.averageBitrate-Ft.averageBitrate:0});let ae=$[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==$.length)){for(let at=0;at<$.length;at++)if($[at].pathwayId===H[0].pathwayId){ae=$[at];break}}this._levels=H;for(let at=0;athr&&hr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=E&&!m,Te=this.hls.config,De=!!(Te.audioStreamController&&Te.audioTrackController),tt={levels:H,audioTracks:C,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:De&&!xe&&C.some(at=>!!at.url)};this.hls.trigger(s.MANIFEST_PARSED,tt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ae=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:ae,reason:ae.message}),ce)return;t=Math.min(t,n.length-1)}const o=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,C=n[t],U=C.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=C,o===t&&m&&E===U)return;this.log(`Switching to level ${t} (${C.height?C.height+"p ":""}${C.videoRange?C.videoRange+" ":""}${C.codecSet?C.codecSet+" ":""}@${C.bitrate})${U?" with Pathway "+U:""} from level ${o}${E?" with Pathway "+E:""}`);const H={level:t,attrs:C.attrs,details:C.details,bitrate:C.bitrate,averageBitrate:C.averageBitrate,maxBitrate:C.maxBitrate,realBitrate:C.realBitrate,width:C.width,height:C.height,codecSet:C.codecSet,audioCodec:C.audioCodec,videoCodec:C.videoCodec,audioGroups:C.audioGroups,subtitleGroups:C.subtitleGroups,loaded:C.loaded,loadError:C.loadError,fragmentError:C.fragmentError,name:C.name,id:C.id,uri:C.uri,url:C.url,urlId:0,audioGroupIds:C.audioGroupIds,textGroupIds:C.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const $=C.details;if(!$||$.live){const ae=this.switchParams(C.uri,m==null?void 0:m.details,$);this.loadPlaylist(ae)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),o=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=o}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const o=n.elementaryStreams;if(!Object.keys(o).some(E=>!!o[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var o;const{level:m,details:E}=n,C=n.levelInfo;if(!C){var U;this.warn(`Invalid level index ${m}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(C===this.currentLevel||n.withoutMultiVariant){C.fragmentError===0&&(C.loadError=0);let H=C.details;H===n.details&&H.advanced&&(H=void 0),this.playlistLoaded(m,n,H)}else(o=n.deliveryDirectives)!=null&&o.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],C=t.details,U=C==null?void 0:C.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.type||0:""):""} ${o}`),this.hls.trigger(s.LEVEL_LOADING,{url:o,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const o=this._levels.filter((E,C)=>C!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(U=>U.level=-1)),!1));Hn(o),this._levels=o,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=o.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(s.LEVELS_UPDATED,{levels:o})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:o}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:o}))}}function Nf(P){const t={};P.forEach(n=>{const o=n.groupId||"";n.id=t[o]=t[o]||0,t[o]++})}function nf(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!oe())return!1;const t=nf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=oe();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(be(t,"audio"))))}function g(){var P;const t=nf();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const A=100;class Z extends na{constructor(t,n,o){super(t,n,o,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const C=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(C===null||C.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${C?C.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:o,hls:m}=this;if(this.stopLoad(),this.setInterval(A),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}o>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o),this.state=Ur.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Ur.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Ur.WAITING_LEVEL:{const{levels:n,level:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Ur.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Ur.IDLE;break}break}case Ur.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,C=m==null?void 0:m[E];this.resetStartWhenNotLoaded(C||null),this.state=Ur.IDLE}}break}this.state===Ur.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:o,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(o!=null&&o[E]))return;const C=o[E],U=this.getMainFwdBufferInfo();if(U===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(U,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=Ur.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const $=C.details;if(!$||this.state===Ur.WAITING_LEVEL||this.waitForLive(C)){this.level=E,this.state=Ur.WAITING_LEVEL,this.startFragRequested=!1;return}const ae=U.len,ce=this.getMaxBufferLength(C.maxBitrate);if(ae>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:U.end;let Te=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&Te&&_e(Te)&&this.fragmentTracker.getState(Te)!==Er.OK){var De;const at=((De=this.backtrackFragment)!=null?De:Te).sn-$.startSN,Ft=$.fragments[at-1];Ft&&Te.cc===Ft.cc&&(Te=Ft,this.fragmentTracker.removeFragment(Ft))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Te&&this.isLoopLoading(Te,xe)){if(!Te.gap){const at=this.audioOnly&&!this.altAudio?F.AUDIO:F.VIDEO,Ft=(at===F.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Ft&&this.afterBufferFlushed(Ft,at,u.MAIN)}Te=this.getNextFragmentLoopLoading(Te,$,U,u.MAIN,ce)}Te&&(Te.initSegment&&!Te.initSegment.data&&!this.bitrateTest&&(Te=Te.initSegment),this.loadFragment(Te,C,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?_e(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,o):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let o;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const U=this.getMainFwdBufferInfo();if(!U||U.len{const C=E.audioCodec;C&&(o=o||C.indexOf("mp4a.40.2")!==-1,m=m||C.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!g(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:o}=this;if(!o||this.state!==Ur.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Ur.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:E}=this,C=n.level,U=n.details,H=U.totalduration;if(!m){this.warn(`Levels were reset while loading level ${C}`);return}this.log(`Level ${C} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${H}`);const $=n.levelInfo,ae=this.fragCurrent;ae&&(this.state===Ur.FRAG_LOADING||this.state===Ur.FRAG_LOADING_WAITING_RETRY)&&ae.level!==n.level&&ae.loader&&this.abortCurrentFrag();let ce=0;if(U.live||(o=$.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;ce=this.alignPlaylists(U,$.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if($.details=U,this.levelLastLoaded=$,E||this.setStartPosition(U,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:U,level:C}),this.state===Ur.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=Ur.IDLE}E&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),C=t.fragmentStart,U=t.edge,H=E>=C-n.maxFragLookUpTolerance&&E<=U;if(m!==null&&o.duration>m&&(E{var C;(C=this.hls)==null||C.trigger(s.AUDIO_TRACK_SWITCHED,n)}),o.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}o.trigger(s.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const o=ei(n.url,this.hls);if(o){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=o?2:0,this.tick()}onBufferCreated(t,n){const o=n.tracks;let m,E,C=!1;for(const U in o){const H=o[U];if(H.id==="main"){if(E=U,m=H,U==="video"){const $=o[U];$&&(this.videoBuffer=$.buffer)}}else C=!0}C&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:o,part:m}=n,E=o.type===u.MAIN;if(E){if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Ur.PARSED&&(this.state=Ur.IDLE);return}const U=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),_e(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const C=this.media;C&&(!this._hasEnoughToStart&&xi.getBuffered(C).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=Ur.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Ur.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=Ur.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Ur.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==F.AUDIO||!this.altAudio){const o=(n===F.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;o&&(this.afterBufferFlushed(o,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let o=this.startPosition;if(o>=0&&n0&&(H<$||this.loadingParts&&H<2*((E==null?void 0:E.partTarget)||0))&&(this.log(`adjusting start position by ${H} to match buffer start`),o+=H,this.startPosition=o),n{const{hls:m}=this,E=o==null?void 0:o.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Ur.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const C=E.stats;C.parsing.start=C.parsing.end=C.buffering.start=C.buffering.end=self.performance.now(),m.trigger(s.FRAG_LOADED,o),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const o=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:H,part:$,level:ae}=U,{video:ce,text:xe,id3:Te,initSegment:De}=E,{details:tt}=ae,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=Ur.PARSING,De){if(De!=null&&De.tracks){const ar=H.initSegment||H;this._bufferInitSegment(ae,De.tracks,ar,C),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:De.tracks})}const Ft=De.initPTS,hr=De.timescale;r(Ft)&&(this.initPTS[H.cc]={baseTime:Ft,timescale:hr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Ft,timescale:hr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Ft=tt.fragments[H.sn-1-tt.startSN],hr=H.sn===tt.startSN,ar=!Ft||H.cc>Ft.cc;if(E.independent!==!1){const{startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr}=ce;if($)$.elementaryStreams[ce.type]={startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr};else if(ce.firstKeyFrame&&ce.independent&&C.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const un=this.getMainFwdBufferInfo(),mn=(un?un.end:this.getLoadPosition())+this.config.maxBufferHole,Qr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:zr;if(!hr&&mnEc&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,zr,Wr,dn,Gr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,$,C,hr||ar)}else if(hr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Ft,endPTS:hr,startDTS:ar,endDTS:zr}=at;$&&($.elementaryStreams[F.AUDIO]={startPTS:Ft,endPTS:hr,startDTS:ar,endDTS:zr}),H.setElementaryStreamInfo(F.AUDIO,Ft,hr,ar,zr),this.bufferFragmentData(at,H,$,C)}if(tt&&Te!=null&&(n=Te.samples)!=null&&n.length){const Ft={id:o,frag:H,details:tt,samples:Te.samples};m.trigger(s.FRAG_PARSING_METADATA,Ft)}if(tt&&xe){const Ft={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Ft)}}logMuxedErr(t){this.warn(`${_e(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==Ur.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:E,video:C,audiovideo:U}=n;if(E){let $=Jr(E.codec,t.audioCodec);$==="mp4a"&&($="mp4a.40.5");const ae=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){$&&($.indexOf("mp4a.40.5")!==-1?$="mp4a.40.2":$="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&ae.indexOf("firefox")===-1&&($="mp4a.40.5")}$&&$.indexOf("mp4a.40.5")!==-1&&ae.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&($="mp4a.40.2",this.log(`Android: force audio codec to ${$}`)),t.audioCodec&&t.audioCodec!==$&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${$}"`),E.levelCodec=$,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${$||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(C){C.levelCodec=t.videoCodec,C.id=u.MAIN;const $=C.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":C.codec="hvc1.1.6.L120.90";break;case"av01":C.codec="av01.0.04M.08";break;case"avc1":C.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${C.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${C.codec!==$?" parsed-corrected="+C.codec:""}${C.supplemental?" supplemental="+C.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const H=Object.keys(n);if(H.length){if(this.hls.trigger(s.BUFFER_CODECS,n),!this.hls)return;H.forEach($=>{const ce=n[$].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:$,data:ce,frag:o,part:null,chunkMeta:m,parent:o.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,o=t==null?void 0:t[n];return o?this.getMaxBufferLength(o.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Ur.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(xi.isBuffered(t,o)?n=this.getAppendedFrag(o):xi.isBuffered(t,o+.1)&&(n=this.getAppendedFrag(o+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(s.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const o=this.getLevelDetails(),m=this.currentFrag||(o?En(null,o.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const C=E+(n-m.start)*1e3;return new Date(C)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const o in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[o].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,o,m,E){return new Na({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:o,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:o,cc:m}=t;for(let E=0;E{C.setKeyFormat(U)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var o,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const $=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,$))}const C=E.uri;if(!C)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${C}"`)));let U=this.keyUriToKeyInfo[C];if((o=U)!=null&&o.decryptdata.key)return E.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((m=U)!=null&&m.keyLoadPromise){var H;switch((H=U.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then($=>(E.key=$.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[C]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(U,t):this.loadKeyEME(U,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(U,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const o={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(o);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,o))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(o)}loadKeyHTTP(t,n){const o=this.config,m=o.loader,E=new m(o);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((C,U)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=o.keyLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{const{frag:at,keyInfo:Ft,url:hr}=De;if(!at.decryptdata||Ft!==this.keyUriToKeyInfo[hr])return U(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Ft.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Ft.loader=null,C({frag:at,keyInfo:Ft})},onError:(xe,Te,De,tt)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),De,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),De))},onAbort:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),De))}};E.load(H,ae,ce)})}resetLoader(t){const{frag:n,keyInfo:o,url:m}=t,E=o.loader;n.keyLoader===E&&(n.keyLoader=null,o.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Le(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ut(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Nt{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,o=n.pLoader,m=n.loader,E=o||m,C=new E(n);return this.loaders[t.type]=C,C}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:o}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:o,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:o,level:m,pathwayId:E,url:C,deliveryDirectives:U,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:C,deliveryDirectives:U,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onLevelsUpdated(t,n){const o=this.loaders[h.LEVEL];if(o){const m=o.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(o.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const o=this.hls.config;let m=this.getInternalLoader(t);if(m){const $=this.hls.logger,ae=m.context;if(ae&&ae.levelOrTrack===t.levelOrTrack&&(ae.url===t.url||ae.deliveryDirectives&&!t.deliveryDirectives)){ae.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ae.url}`);return}$.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=o.manifestLoadPolicy.default:E=y({},o.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ae=$.partTarget,ce=$.targetduration;if(ae&&ce){const xe=Math.max(ae*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const C=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:C.maxNumRetry||0,retryDelay:C.retryDelayMs||0,maxRetryDelay:C.maxRetryDelayMs||0},H={onSuccess:($,ae,ce,xe)=>{const Te=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const De=$.data;if(De.indexOf("#EXTM3U")!==0){this.handleManifestParsingError($,ce,new Error("no EXTM3U delimiter"),xe||null,ae);return}ae.parsing.start=performance.now(),fs.isMediaPlaylist(De)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ae,ce,xe||null,Te):this.handleMasterPlaylist($,ae,ce,xe)},onError:($,ae,ce,xe)=>{this.handleNetworkError(ae,ce,!1,$,xe)},onTimeout:($,ae,ce)=>{this.handleNetworkError(ae,ce,!0,void 0,$)}};m.load(t,U,H)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:o}=this.hls;(t||o)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,o,m){const E=this.hls,C=t.data,U=ut(t,o),H=fs.parseMasterPlaylist(C,U);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:$,levels:ae,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De}=H;this.variableList=De;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Ft}=fs.parseMasterPlaylistMedia(C,U,H);tt.length&&!tt.some(ar=>!ar.url)&&ae[0].audioCodec&&!ae[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),tt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Ui({}),bitrate:0,url:""})),E.trigger(s.MANIFEST_LOADED,{levels:ae,audioTracks:tt,subtitles:at,captions:Ft,contentSteering:$,url:U,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De})}handleTrackOrLevelPlaylist(t,n,o,m,E){const C=this.hls,{id:U,level:H,type:$}=o,ae=ut(t,o),ce=r(H)?H:r(U)?U:0,xe=Le(o),Te=fs.parseLevelPlaylist(t.data,ae,ce,xe,0,this.variableList);if($===h.MANIFEST){const De={attrs:new Ui({}),bitrate:0,details:Te,name:"",url:ae};Te.requestScheduled=n.loading.start+ur(Te,0),C.trigger(s.MANIFEST_LOADED,{levels:[De],audioTracks:[],url:ae,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Te,this.handlePlaylistLoaded(Te,t,n,o,m,E)}handleManifestParsingError(t,n,o,m,E){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:o,error:o,reason:o.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,o=!1,m,E){let C=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?C+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(C+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(C);this.hls.logger.warn(`[playlist-loader]: ${C}`);let H=f.UNKNOWN,$=!1;const ae=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ae&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:$,url:t.url,loader:ae,context:t,error:U,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(s.ERROR,ce)}handlePlaylistLoaded(t,n,o,m,E,C){const U=this.hls,{type:H,level:$,id:ae,groupId:ce,deliveryDirectives:xe}=m,Te=ut(n,m),De=Le(m),tt=typeof m.level=="number"&&De===u.MAIN?$:void 0;if(!t.fragments.length){const Ft=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Te,error:Ft,reason:Ft.message,response:n,context:m,level:tt,parent:De,networkDetails:E,stats:o});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!U.config.ignorePlaylistParsingErrors){U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Te,error:at,reason:at.message,response:n,context:m,level:tt,parent:De,networkDetails:E,stats:o});return}t.playlistParsingError=null}switch(t.live&&C&&(C.getCacheAge&&(t.ageHeader=C.getCacheAge()||0),(!C.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:U.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||U.levels[0],level:tt||0,id:ae||0,stats:o,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:U.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break}}}class rr{static get version(){return Dn}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return we}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return rr.defaultConfig?rr.defaultConfig:tf}static set DefaultConfig(t){rr.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ks,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=X(t.debug||!1,"Hls instance",t.assetPlayerId),o=this.config=fl(rr.DefaultConfig,t,n);this.userConfig=t,o.progressive&&Wo(o,n);const{abrController:m,bufferController:E,capLevelController:C,errorController:U,fpsController:H}=o,$=new U(this),ae=this.abrController=new m(this),ce=new Or(this),xe=o.interstitialsController,Te=xe?this.interstitialsController=new xe(this,rr):null,De=this.bufferController=new E(this,ce),tt=this.capLevelController=new C(this),at=new H(this),Ft=new Nt(this),hr=o.contentSteeringController,ar=hr?new hr(this):null,zr=this.levelController=new Bf(this,ar),Wr=new Hf(this),dn=new ve(this.config),Gr=this.streamController=new Z(this,ce,dn),un=this.gapController=new mf(this,ce);tt.setStreamController(Gr),at.setStreamController(Gr);const mn=[Ft,zr,Gr];Te&&mn.splice(1,0,Te),ar&&mn.splice(1,0,ar),this.networkControllers=mn;const Qr=[ae,De,un,tt,at,Wr,ce];this.audioTrackController=this.createController(o.audioTrackController,mn);const Yn=o.audioStreamController;Yn&&mn.push(this.audioStreamController=new Yn(this,ce,dn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,mn);const hi=o.subtitleStreamController;hi&&mn.push(this.subtititleStreamController=new hi(this,ce,dn)),this.createController(o.timelineController,Qr),dn.emeController=this.emeController=this.createController(o.emeController,Qr),this.cmcdController=this.createController(o.cmcdController,Qr),this.latencyController=this.createController(Cf,Qr),this.coreComponents=Qr,mn.push($);const os=$.onErrorOut;typeof os=="function"&&this.on(s.ERROR,os,$),this.on(s.MANIFEST_LOADED,Ft.onManifestLoaded,Ft)}createController(t,n){if(t){const o=new t(this);return n&&n.push(o),o}return null}on(t,n,o=this){this._emitter.on(t,n,o)}once(t,n,o=this){this._emitter.once(t,n,o)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,o=this,m){this._emitter.off(t,n,o,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,o){return this._emitter.emit(t,n,o)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(o){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+o.message+'". Here is a stacktrace:',o),!this.triggeringException){this.triggeringException=!0;const m=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:o}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,o=n?t.media:t,m=n?t:{media:o};this._media=o,this.trigger(s.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,o=this._url,m=this._url=le.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&o&&(o!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let o=0;o{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ki()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const o=t.length;for(let m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:o}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,o)for(let E=m;E--;){const C=t[E].attrs["HDCP-LEVEL"];if(C&&C<=o)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const o=mi(n);return _t(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var s=f||{},h=s.noTrailing,u=h===void 0?!1:h,a=s.noLeading,x=a===void 0?!1:a,p=s.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var M=D||{},N=M.upcomingOnly,j=N===void 0?!1:N;R(),b=!j}function T(){for(var D=arguments.length,M=new Array(D),N=0;Nl?x?(S=Date.now(),u||(_=setTimeout(y?Y:X,l))):X():u!==!0&&(_=setTimeout(y?Y:X,y===void 0?l-Q:l))}return T.cancel=L,T}function i(l,c,f){var s=f||{},h=s.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"5ac27def",33:"62274dbc",67:"22cd85d4",109:"5f9efbf5",169:"d23d080e",195:"2f68237d",264:"6b5fc814",265:"0c6b602d",292:"a89f8d21",310:"e5a97e98",316:"1f60ada6",337:"6b3fed7e",342:"6ec13e6a",354:"d4d139cf",391:"3b36d1ac",400:"d04d52bd",479:"a1147c4c",485:"97c43a9c",508:"1a67a6e4",532:"274c5881",533:"6528dc43",547:"db28ee96",556:"489891cd",559:"08c06823",570:"847cbc80",576:"d92c7fdc",599:"ed444d24",629:"44a1d9a5",643:"f21cff49",671:"4a609b8d",672:"30ae0d09",680:"b81db7ca",700:"fff3a809",737:"28686f04",741:"ac5fd360",799:"eefcedce",869:"e52598e3",895:"11583a36",921:"5ddbf9e2",928:"3beb70a2",981:"24da50c7",1006:"ece37beb",1043:"fdafa962",1045:"013ca23f",1048:"5e6c2f33",1070:"0b15f636",1134:"b76b3ddd",1144:"c90eccaf",1148:"a569eb65",1154:"8cb80842",1211:"3258e65d",1253:"bb5eb91a",1257:"4de335f6",1265:"355894ab",1274:"5f6ea65a",1276:"5a16a6b9",1343:"233a1c11",1416:"f0bc6df2",1423:"dfa5ddb4",1427:"2e57a93f",1450:"84b901b6",1461:"6a30072c",1462:"fcf08abc",1470:"42207f91",1475:"94fcda3e",1482:"4dd173ea",1512:"d8e3190a",1520:"34057789",1545:"c9fb6de0",1578:"bd0dc120",1581:"f2c2e3a6",1582:"f3089871",1646:"e6e27b60",1657:"57e9eedc",1660:"7ef463dc",1674:"c02df625",1702:"82ca08fa",1713:"21b00e0a",1717:"dd19e6ee",1727:"b12d5952",1783:"3f22c779",1799:"ff17f0c2",1831:"b0dfccc1",1836:"2604d8fb",1855:"a387e74d",1880:"5679481a",1939:"dbb01f87",1953:"db9a75f8",1962:"82976146",2011:"59d51f98",2045:"84fa5c08",2076:"7404c19f",2102:"37ebcd9c",2141:"1d29db04",2216:"a7a35ebc",2240:"3f870813",2249:"f4830452",2254:"141fb031",2300:"f7b34b30",2303:"6568d6e6",2307:"154d044a",2338:"9ba90f8c",2339:"337b97ab",2364:"f89faf70",2386:"192e235c",2396:"9b5d3f78",2404:"76a9d67d",2412:"8ba7cd86",2425:"db1a9388",2443:"2b048691",2476:"a5521d90",2494:"68080a87",2501:"229b1c55",2529:"249b73cb",2538:"de4a3723",2539:"e42e7069",2548:"aa53f43d",2570:"c769f6c3",2594:"e87d3761",2603:"5ab477af",2659:"eb719cac",2707:"70275a0d",2806:"e2cecdf0",2819:"553f9ac5",2823:"eaac4ef7",2826:"8dc05a57",2829:"27173129",2837:"54a82605",2865:"76c34631",2875:"0205a186",2884:"4e0bcb27",2969:"ab3357d7",2983:"a15c3078",3006:"f4685cae",3133:"9bf3f89c",3141:"ac7ab4e1",3157:"a5ecae7c",3183:"ea4c9434",3198:"8e655451",3212:"a590cf3a",3220:"8fce6ee9",3247:"2809f0c3",3260:"5f5cf859",3276:"3ce86eb5",3282:"fb41bd2d",3317:"860a753e",3332:"f2bc1ccf",3355:"8920cc04",3356:"454b4e33",3391:"4fb7fe3f",3433:"411ff7c4",3442:"05815f1d",3447:"1ac11541",3451:"0fb3242b",3496:"5bf0479c",3509:"f282bd97",3550:"3dc83156",3581:"e356b455",3585:"590e214b",3665:"df48f6ff",3668:"7af02588",3697:"481a10d9",3747:"d3131211",3754:"a157c791",3777:"d5b0f2f1",3784:"8148bbba",3805:"9dbcb95e",3862:"43117f72",3873:"fc59659a",3885:"f87f7f15",3910:"a3b97753",3935:"74d0c027",3951:"97247def",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"82207d2d",4056:"c7f38407",4058:"82246f46",4078:"69d3514c",4088:"236723f3",4093:"a363e26b",4105:"dc74e996",4142:"9c4d20a7",4144:"e54263c2",4164:"641940cc",4216:"d4314c2e",4217:"afffadf3",4227:"847022c5",4259:"5ccef5de",4264:"ae140b33",4317:"cd48e9f7",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"cbce7a89",4492:"c2d99b91",4495:"1b35a497",4496:"3f0dd725",4498:"0af86223",4504:"823ab034",4514:"1f94f70e",4520:"3a54f2dc",4546:"15c5bfd8",4565:"ae294bdd",4572:"08645974",4599:"61def4cb",4601:"63673abe",4610:"cc1808e2",4621:"a81fab58",4628:"ece2c60c",4662:"22d04921",4685:"c33f1528",4715:"89043e6e",4736:"d824f15b",4741:"8943c739",4757:"b238a32e",4766:"8e4c898e",4770:"3b8de87f",4790:"619413e4",4795:"a656db2e",4797:"a24e92db",4800:"b62d7467",4849:"dc3c360a",4850:"1edda4b7",4862:"7c2ec705",4884:"9ba8dc65",4889:"2eb41eae",4928:"24bb7f6e",4973:"cf3a187c",4994:"edc9bd53",5022:"eb28ddb0",5043:"984d40c5",5048:"8cfb53ec",5060:"85dafcc6",5096:"65d21f3b",5111:"73842bdc",5125:"4e912faa",5148:"c48a633b",5176:"07ea56f3",5179:"0869e466",5186:"4eeeed30",5191:"b62d04ce",5238:"3a24768b",5265:"74b07bb9",5290:"5dabcdc2",5297:"63a3b27f",5319:"66a7eba6",5321:"1163c84e",5335:"b1a1e258",5354:"7ae70604",5357:"ef473ad7",5359:"bcaa4d79",5382:"99d5cd70",5402:"e83fe768",5416:"454536b7",5434:"38b302a6",5470:"a27ec10f",5494:"d89549c4",5518:"fce6a0ca",5549:"29490bcf",5572:"b8ab27b2",5573:"e3d1a632",5599:"464e1ede",5624:"09f063be",5631:"e00d3d36",5650:"f673f39a",5679:"4a090bef",5705:"956a5d8e",5729:"577116da",5764:"e0d7e586",5775:"0150c295",5786:"a972d493",5798:"a75de45a",5816:"d7f8d6e9",5825:"b6acc9c6",5876:"5eded409",5888:"07ac5a7a",5891:"0c8f43fe",5895:"e2215934",5902:"988ffc12",5915:"8ec01b35",5972:"5a6a223f",5992:"5f1dc82e",6029:"0db76ed3",6034:"6eb56d2c",6045:"d268f87f",6047:"3ce45acd",6052:"393ca4ef",6063:"d206a83e",6069:"5513ec6a",6126:"99519171",6127:"7fdafd59",6170:"c4b92aae",6265:"9879fe28",6270:"923fade7",6277:"885d34c8",6328:"df69f356",6366:"01ef6868",6378:"7f3a946a",6411:"c9f1e451",6434:"c37e3f9b",6444:"a6594a6b",6452:"6dd54924",6531:"5b8bb018",6541:"5c09d937",6583:"bebdb876",6587:"1ee4d88e",6634:"234d0c80",6651:"522d5d71",6656:"fc39d1b9",6685:"17de7d52",6729:"c379dfad",6741:"f647133f",6758:"9f00edd9",6774:"59d4d618",6784:"6ce93f72",6788:"8f34fac0",6796:"7824b8d9",6805:"3fa0dc14",6820:"68387769",6845:"eac7f531",6882:"213c8701",6883:"6cb80143",6904:"4f1ca3bc",6913:"7576648a",6963:"c49e9b24",6982:"2da469a7",7008:"1253f460",7043:"013a6116",7045:"cd661209",7046:"decbb342",7058:"58b8370a",7062:"8c1e44d9",7084:"46ccce72",7156:"e7466006",7178:"79aa89b4",7182:"6e49e73f",7242:"bb32eb5a",7260:"264823b4",7331:"2e27a23b",7333:"e5a7f74e",7365:"1005464f",7395:"52bbd294",7460:"2174ce69",7477:"b1fbd3e9",7482:"0bb903a2",7527:"987b1297",7545:"992e6ec1",7560:"8d07ea63",7589:"1aa3044a",7591:"c8233ce9",7614:"88413be7",7622:"054f3421",7686:"4fcec9f9",7706:"c2a79e40",7806:"32fb4e4c",7852:"c772351b",7855:"3df9042b",7857:"91ee9735",7878:"dd237772",7883:"30b53572",7884:"cd25ad5d",7890:"ca5e41c9",7922:"a1e6a679",7948:"20c6f2cc",7963:"64ac60d4",7964:"29aed9a1",8014:"7d816772",8062:"94652a80",8072:"5975e767",8077:"bde7c3bd",8085:"8961bb87",8089:"d536b13a",8143:"94aadb29",8155:"a189e74f",8161:"83c5fa9a",8237:"15956a10",8241:"31d65ec5",8302:"4d9f0d89",8307:"1eee8b1c",8340:"99315e52",8350:"07df8a75",8365:"bbdeda3c",8398:"ebed64dd",8431:"9bee28c7",8435:"33fe1a12",8447:"de55f118",8517:"85045403",8561:"333e8ec9",8563:"19f5d825",8634:"4f867966",8639:"ebbaf1d9",8665:"0bc439fb",8688:"d2ca098f",8689:"5c1f12ab",8723:"bad1175f",8737:"ce7dad23",8776:"0ad26240",8782:"194c5d46",8787:"413475f8",8797:"9b1c9e2f",8823:"409d244f",8827:"b9269f36",8842:"9f25a3e2",8866:"cae5f846",8882:"3f7f0e39",8885:"298e8c35",8898:"d002bcd8",8909:"63bf2ffc",8920:"7f82440c",8963:"790aecdd",8982:"c634b5db",8999:"ed3bce1d",9076:"b772835c",9104:"bbcb2345",9133:"651cc548",9205:"e62168bf",9215:"9d7b9033",9252:"0d791a59",9260:"cf5f8140",9332:"24cc98b7",9360:"3040ff36",9366:"da93f466",9391:"23eb12bc",9404:"9fcc3d3e",9408:"09ebee53",9416:"75fe5100",9487:"4d567133",9489:"0634028c",9507:"0d65b8aa",9519:"721f40fc",9554:"ed358e7b",9559:"f794af19",9590:"53a4baeb",9647:"9a6683fa",9649:"fc6bd4a1",9674:"27a54e3b",9677:"9652e855",9695:"c8ddfad8",9715:"60e03c98",9716:"9e34dae9",9785:"9d460586",9788:"9e0955f0",9890:"065e0f93",9891:"a420aa0f",9895:"b8e31ff2",9921:"1ad8b682",9922:"467a52cb",9928:"5989f5e0",9944:"126ebd53",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4495:"p__Account__Resource__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"35d7aa5b",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"9a299665",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"ad1c3799",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4495:"da48110d",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e5826b73",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6656:"03cdfb68",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"ced4496f",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"72de0470",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"a204e6fe",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"3ac78858",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s0&&arguments[0]!==void 0?arguments[0]:"";return Tn.endsWith("/")?Tn:"".concat(Tn,"/")}var Yl=__webpack_require__(38127),Lu=__webpack_require__(38329),So=__webpack_require__(8616),nl=["content"],Su=["content"],vc=/^(http:|https:)?\/\//;function Mu(Tn){return vc.test(Tn)||Tn.startsWith("/")&&!Tn.startsWith("/*")||Tn.startsWith("./")||Tn.startsWith("../")}var Zo=function(){return ze.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},il=function(Kn){var Ni,Ea=Kn.loaderData,Zi=Kn.htmlPageOpts,ua=Kn.manifest,ha=(ua==null||(Ni=ua.assets)===null||Ni===void 0?void 0:Ni["umi.css"])||"";return ze.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ea||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Zi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ha,"'")}})};function Au(Tn){var Kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Tn=="string")return Mu(Tn)?(0,ko.Z)({src:Tn},Kn):{content:Tn};if((0,So.Z)(Tn)==="object")return(0,ko.Z)((0,ko.Z)({},Tn),Kn);throw new Error("Invalid script type: ".concat((0,So.Z)(Tn)))}function Dc(Tn){return Mu(Tn)?{type:"link",href:Tn}:{type:"style",content:Tn}}var Kc=function(Kn){var Ni,Ea,Zi,ua,ha,vs,Ki=Kn.htmlPageOpts;return ze.createElement(ze.Fragment,null,(Ki==null?void 0:Ki.title)&&ze.createElement("title",null,Ki.title),Ki==null||(Ni=Ki.favicons)===null||Ni===void 0?void 0:Ni.map(function(es,Ku){return ze.createElement("link",{key:Ku,rel:"shortcut icon",href:es})}),(Ki==null?void 0:Ki.description)&&ze.createElement("meta",{name:"description",content:Ki.description}),(Ki==null||(Ea=Ki.keywords)===null||Ea===void 0?void 0:Ea.length)&&ze.createElement("meta",{name:"keywords",content:Ki.keywords.join(",")}),Ki==null||(Zi=Ki.metas)===null||Zi===void 0?void 0:Zi.map(function(es){return ze.createElement("meta",{key:es.name,name:es.name,content:es.content})}),Ki==null||(ua=Ki.links)===null||ua===void 0?void 0:ua.map(function(es,Ku){return ze.createElement("link",(0,Lu.Z)({key:Ku},es))}),Ki==null||(ha=Ki.styles)===null||ha===void 0?void 0:ha.map(function(es,Ku){var ju=Dc(es),Yu=ju.type,ul=ju.href,ll=ju.content;if(Yu==="link")return ze.createElement("link",{key:Ku,rel:"stylesheet",href:ul});if(Yu==="style")return ze.createElement("style",{key:Ku},ll)}),Ki==null||(vs=Ki.headScripts)===null||vs===void 0?void 0:vs.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,nl);return ze.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))}))};function oo(Tn){var Kn,Ni=Tn.children,Ea=Tn.loaderData,Zi=Tn.manifest,ua=Tn.htmlPageOpts,ha=Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=Tn.mountElementId;if(ha!=null&&ha.pureHtml)return ze.createElement("html",null,ze.createElement("head",null),ze.createElement("body",null,ze.createElement(Zo,null),ze.createElement("div",{id:vs},Ni),ze.createElement(il,{manifest:Zi,loaderData:Ea,htmlPageOpts:ua})));if(ha!=null&&ha.pureApp)return ze.createElement(ze.Fragment,null,Ni);var Ki=typeof window=="undefined"?Zi==null?void 0:Zi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ze.createElement("html",{suppressHydrationWarning:!0,lang:(ua==null?void 0:ua.lang)||"en"},ze.createElement("head",null,ze.createElement("meta",{charSet:"utf-8"}),ze.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Ki&&ze.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Ki}),ze.createElement(Kc,{htmlPageOpts:ua})),ze.createElement("body",null,ze.createElement(Zo,null),ze.createElement("div",{id:vs},Ni),ze.createElement(il,{manifest:Zi,loaderData:Ea,htmlPageOpts:ua}),ua==null||(Kn=ua.scripts)===null||Kn===void 0?void 0:Kn.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,Su);return ze.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))})))}var du=ze.createContext(void 0);function Dl(){return ze.useContext(du)}var Xl=["redirect"];function Ql(Tn){var Kn=Tn.routesById,Ni=Tn.parentId,Ea=Tn.routeComponents,Zi=Tn.useStream,ua=Zi===void 0?!0:Zi;return Object.keys(Kn).filter(function(ha){return Kn[ha].parentId===Ni}).map(function(ha){var vs=Ol((0,ko.Z)((0,ko.Z)({route:Kn[ha],routeComponent:Ea[ha],loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat},Tn.reactRouter5Compat&&{hasChildren:Object.keys(Kn).filter(function(es){return Kn[es].parentId===ha}).length>0}),{},{useStream:ua})),Ki=Ql({routesById:Kn,routeComponents:Ea,parentId:vs.id,loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat,useStream:ua});return Ki.length>0&&(vs.children=Ki,vs.routes=Ki),vs})}function gl(Tn){var Kn=(0,Qo.UO)(),Ni=(0,Qo.Gn)(Tn.to,Kn),Ea=(0,Kl.T$)(),Zi=(0,Qo.TH)();if(Ea!=null&&Ea.keepQuery){var ua=Zi.search+Zi.hash;Ni+=ua}var ha=(0,ko.Z)((0,ko.Z)({},Tn),{},{to:Ni});return ze.createElement(Qo.Fg,(0,Lu.Z)({replace:!0},ha))}function Ol(Tn){var Kn=Tn.route,Ni=Tn.useStream,Ea=Ni===void 0?!0:Ni,Zi=Kn.redirect,ua=(0,Yl.Z)(Kn,Xl),ha=Tn.reactRouter5Compat?kl:ql;return(0,ko.Z)({element:Zi?ze.createElement(gl,{to:Zi}):ze.createElement(du.Provider,{value:{route:Tn.route}},ze.createElement(ha,{loader:ze.memo(Tn.routeComponent),loadingComponent:Tn.loadingComponent||df,hasChildren:Tn.hasChildren,useStream:Ea}))},ua)}function df(){return ze.createElement("div",null)}function kl(Tn){var Kn=Dl(),Ni=Kn.route,Ea=(0,Kl.Ov)(),Zi=Ea.history,ua=Ea.clientRoutes,ha=(0,Qo.UO)(),vs={params:ha,isExact:!0,path:Ni.path,url:Zi.location.pathname},Ki=Tn.loader,es={location:Zi.location,match:vs,history:Zi,params:ha,route:Ni,routes:ua};return Tn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Tn.loadingComponent,null)},ze.createElement(Ki,es,Tn.hasChildren&&ze.createElement(Qo.j3,null))):ze.createElement(Ki,es,Tn.hasChildren&&ze.createElement(Qo.j3,null))}function ql(Tn){var Kn=Tn.loader;return Tn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Tn.loadingComponent,null)},ze.createElement(Kn,null)):ze.createElement(Kn,null)}var yl=null;function Yc(){return yl}function Fu(Tn){var Kn=Tn.history,Ni=ze.useState({action:Kn.action,location:Kn.location}),Ea=(0,Il.Z)(Ni,2),Zi=Ea[0],ua=Ea[1];return(0,ze.useLayoutEffect)(function(){return Kn.listen(ua)},[Kn]),(0,ze.useLayoutEffect)(function(){function ha(vs){Tn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Tn.routes,clientRoutes:Tn.clientRoutes,location:vs.location,action:vs.action,basename:Tn.basename,isFirst:!!vs.isFirst}})}return ha({location:Zi.location,action:Zi.action,isFirst:!0}),Kn.listen(ha)},[Kn,Tn.routes,Tn.clientRoutes]),ze.createElement(Qo.F0,{navigator:Kn,location:Zi.location,basename:Tn.basename},Tn.children)}function Bu(){var Tn=(0,Kl.Ov)(),Kn=Tn.clientRoutes;return(0,Qo.V$)(Kn)}var iu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],qo=function(Kn,Ni){var Ea=Kn.basename||"/",Zi=Ql({routesById:Kn.routes,routeComponents:Kn.routeComponents,loadingComponent:Kn.loadingComponent,reactRouter5Compat:Kn.reactRouter5Compat,useStream:Kn.useStream});Kn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Zi}});for(var ua=ze.createElement(Fu,{basename:Ea,pluginManager:Kn.pluginManager,routes:Kn.routes,clientRoutes:Zi,history:Kn.history},Ni),ha=0,vs=iu;hanew Promise((Ea,Zi)=>{var ua=Ki=>{try{vs(Ni.next(Ki))}catch(es){Zi(es)}},ha=Ki=>{try{vs(Ni.throw(Ki))}catch(es){Zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Ni=Ni.apply(Tn,Kn)).next())});function Oc(){return yc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/account/resource",parentId:"318",id:"325"},326:{path:"/ch",parentId:"1",id:"326"},327:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"326",id:"327"},328:{path:"/ch/rest/",exact:!0,parentId:"326",id:"328"},329:{path:"/ch/rest/:id",exact:!0,parentId:"326",id:"329"},330:{path:"/order",parentId:"1",id:"330"},331:{path:"/order",parentId:"330",id:"331"},332:{path:"/order/invoice",parentId:"330",id:"332"},333:{path:"/order/records",parentId:"330",id:"333"},334:{path:"/order/apply",parentId:"330",id:"334"},335:{path:"/order/view",parentId:"330",id:"335"},336:{path:"/order/:courseId/information",parentId:"330",id:"336"},337:{path:"/order/:courseId/pay",parentId:"330",id:"337"},338:{path:"/order/:orderNum/result",parentId:"330",id:"338"},339:{path:"/messages",parentId:"1",id:"339"},340:{path:"/messages/:userId/user_tidings",parentId:"339",id:"340"},341:{path:"/messages/:userId/private_messages",parentId:"339",id:"341"},342:{path:"/messages/:userId/message_detail",parentId:"339",id:"342"},343:{path:"/vtrs",parentId:"1",id:"343"},344:{path:"/vtrs/:virtual_spacesId",parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"344",id:"345"},346:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"344",id:"346"},347:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"344",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"344",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"344",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"344",id:"350"},351:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"344",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey",parentId:"344",id:"352"},353:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"344",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"344",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"344",id:"355"},356:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"344",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material",parentId:"344",id:"357"},358:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"344",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"344",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"344",id:"360"},361:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"344",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"344",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"344",id:"363"},364:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"344",id:"364"},365:{path:"/vtrs/:virtual_spacesId/settings",parentId:"344",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources",parentId:"344",id:"366"},367:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"344",id:"367"},368:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"344",id:"368"},369:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"344",id:"369"},370:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"344",id:"370"},371:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"344",id:"371"},372:{path:"/vtrs/:virtual_spacesId/*",parentId:"344",id:"372"},373:{path:"/101",parentId:"1",id:"373"},374:{path:"/101/:virtual_spacesId",parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId",exact:!0,parentId:"374",id:"375"},376:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"374",id:"376"},377:{path:"/101/:virtual_spacesId/experiment",parentId:"374",id:"377"},378:{path:"/101/:virtual_spacesId/announcement",parentId:"374",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/add",parentId:"374",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"374",id:"380"},381:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"374",id:"381"},382:{path:"/101/:virtual_spacesId/survey",parentId:"374",id:"382"},383:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"374",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge",parentId:"374",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"374",id:"385"},386:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"374",id:"386"},387:{path:"/101/:virtual_spacesId/material",parentId:"374",id:"387"},388:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"374",id:"388"},389:{path:"/101/:virtual_spacesId/lesson",parentId:"374",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"374",id:"390"},391:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"374",id:"391"},392:{path:"/101/:virtual_spacesId/discussion",parentId:"374",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"374",id:"393"},394:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"374",id:"394"},395:{path:"/101/:virtual_spacesId/settings",parentId:"374",id:"395"},396:{path:"/101/:virtual_spacesId/resources",parentId:"374",id:"396"},397:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"374",id:"397"},398:{path:"/101/:virtual_spacesId/Plan",parentId:"374",id:"398"},399:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"374",id:"399"},400:{path:"/101/:virtual_spacesId/digtal",parentId:"374",id:"400"},401:{path:"/101/:virtual_spacesId/homepage",parentId:"374",id:"401"},402:{path:"/101/:virtual_spacesId/*",parentId:"374",id:"402"},403:{path:"/administration",parentId:"1",id:"403"},404:{path:"/administration",parentId:"403",id:"404"},405:{path:"/administration/college",parentId:"404",id:"405"},406:{path:"/administration/student",parentId:"404",id:"406"},407:{path:"/administration/student/:studentId/edit",parentId:"404",id:"407"},408:{path:"/administration/profession",parentId:"404",id:"408"},409:{path:"/graduations",parentId:"1",id:"409"},410:{path:"/graduations",exact:!0,parentId:"409",id:"410"},411:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"409",id:"411"},412:{path:"/graduations/:id",parentId:"409",id:"412"},413:{path:"/graduations/:id/index",parentId:"412",id:"413"},414:{path:"/graduations/:id/topics",parentId:"412",id:"414"},415:{path:"/graduations/:id/student_selection",parentId:"412",id:"415"},416:{path:"/graduations/:id/tasks",parentId:"412",id:"416"},417:{path:"/graduations/:id/opening_report",parentId:"412",id:"417"},418:{path:"/graduations/:id/midterm_report",parentId:"412",id:"418"},419:{path:"/graduations/:id/thesis",parentId:"412",id:"419"},420:{path:"/graduations/:id/final_defense",parentId:"412",id:"420"},421:{path:"/graduations/:id/final_thesis",parentId:"412",id:"421"},422:{path:"/graduations/:id/settings",parentId:"412",id:"422"},423:{path:"/graduations/:id/teachers",parentId:"412",id:"423"},424:{path:"/graduations/:id/students",parentId:"412",id:"424"},425:{path:"/graduations/:id/archives",parentId:"412",id:"425"},426:{path:"/graduations/:id/grading_summary",parentId:"412",id:"426"},427:{path:"/dataset",parentId:"1",id:"427"},428:{path:"/dataset",exact:!0,parentId:"427",id:"428"},429:{path:"/dataset/:id/detail",exact:!0,parentId:"427",id:"429"},430:{path:"/knowledgegraph",parentId:"1",id:"430"},431:{path:"/knowledgegraph/:pathId",parentId:"430",id:"431"},432:{path:"/knowledgegraph/:pathId/statistics",parentId:"430",id:"432"},433:{path:"/onlinenum",parentId:"1",id:"433"},434:{path:"/onlinenum",parentId:"433",id:"434"},435:{path:"/shixuncontext",parentId:"1",id:"435"},436:{path:"/shixuncontext",parentId:"435",id:"436"},437:{path:"/shixuncontext/:Id/detail",parentId:"435",id:"437"},438:{path:"/educoder-demo",exact:!0,parentId:"1",id:"438"},439:{path:"/training",parentId:"1",id:"439"},440:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"439",id:"440"},441:{path:"/largeScreen",exact:!0,parentId:"1",id:"441"},442:{path:"/quality",parentId:"1",id:"442"},443:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"442",id:"443"},444:{path:"/otherlogin",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginqq",exact:!0,parentId:"1",id:"445"},446:{path:"/otherloginstart",exact:!0,parentId:"1",id:"446"},447:{path:"/pathsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"449"},450:{path:"/login",parentId:"1",id:"450"},451:{path:"/login",parentId:"450",id:"451"},452:{path:"/user",parentId:"1",id:"452"},453:{path:"/user/login",parentId:"452",id:"453"},454:{path:"/user/register",parentId:"452",id:"454"},455:{path:"/user/reset-password",parentId:"452",id:"455"},456:{path:"/colleges",parentId:"1",id:"456"},457:{path:"/colleges/:id/statistics",parentId:"456",id:"457"},458:{path:"/help",parentId:"1",id:"458"},459:{path:"/help/:id",parentId:"458",id:"459"},460:{path:"/video",parentId:"1",id:"460"},461:{path:"/video/:videoId",parentId:"460",id:"461"},462:{path:"/terminal",parentId:"1",id:"462"},463:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"463"},464:{path:"/",parentId:"1",id:"464"},465:{path:"/",exact:!0,parentId:"464",id:"465"},466:{path:"/api/*",exact:!0,parentId:"464",id:"466"},467:{path:"/search",exact:!0,parentId:"464",id:"467"},468:{path:"/moop_cases",exact:!0,parentId:"464",id:"468"},469:{path:"/moop_cases/new",exact:!0,parentId:"464",id:"469"},470:{path:"/moop_cases/:caseId",exact:!0,parentId:"464",id:"470"},471:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"464",id:"471"},472:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"464",id:"472"},473:{path:"/randompaper",exact:!0,parentId:"464",id:"473"},474:{path:"/randompaper/edit/:id",exact:!0,parentId:"464",id:"474"},475:{path:"/randompaper/detail/:id",exact:!0,parentId:"464",id:"475"},476:{path:"/403",parentId:"464",id:"476"},477:{path:"/500",parentId:"464",id:"477"},478:{path:"/404",parentId:"464",id:"478"},479:{path:"/download",parentId:"464",id:"479"},480:{path:"/iwce",parentId:"464",id:"480"},481:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"464",id:"481"},482:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"464",id:"482"},483:{path:"/Activities",parentId:"464",id:"483"},484:{path:"/iwce/:itemname",parentId:"464",id:"484"},485:{path:"/hpc-course",parentId:"464",id:"485"},486:{path:"/user_agents",parentId:"464",id:"486"},487:{path:"/three",parentId:"464",id:"487"},488:{path:"/introduction",parentId:"464",id:"488"},489:{path:"/chatgpt",parentId:"464",id:"489"},490:{path:"/*",parentId:"464",id:"490"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),3:ze.lazy(()=>Promise.all([__webpack_require__.e(4317),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,7621))),4:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),8:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),10:ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,19372))),11:ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),13:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),14:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,98287))),15:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,22834))),16:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),17:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),18:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),19:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),20:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),21:ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),25:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),26:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,89358))),32:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,88924))),33:ze.lazy(()=>Promise.all([__webpack_require__.e(4317),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,63437))),34:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,29289))),37:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,61995))),38:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,44597))),43:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),44:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1134),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1134),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,8282))),47:ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),48:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),49:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),50:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,84511))),51:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,84511))),52:ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),53:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,84611))),54:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,84611))),55:ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),56:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),57:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),58:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),60:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),62:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),63:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),64:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),65:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),66:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),67:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),68:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),69:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),70:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),71:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),72:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),73:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),74:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),75:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),76:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),77:ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),78:ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),79:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),80:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),81:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),82:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),83:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),84:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),85:ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),86:ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),87:ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,21229))),88:ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),89:ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),90:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),92:ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),93:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),94:ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),95:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),96:ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),97:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),98:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),99:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),100:ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),101:ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,93365))),102:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),103:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),104:ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),105:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),107:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,57720))),108:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,57720))),109:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),110:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),111:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),112:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),113:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),114:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),115:ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,6218))),116:ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,83443))),117:ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,5010))),118:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),119:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),120:ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),121:ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),122:ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),123:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),124:ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),125:ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),126:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),127:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),128:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),130:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),131:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),132:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),133:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),134:ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),135:ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),136:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),137:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),138:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),139:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),140:ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),141:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),142:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),143:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),144:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),145:ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),146:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),148:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),150:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),151:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),152:ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),153:ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),154:ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),155:ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),156:ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),157:ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),158:ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),159:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),160:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),161:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),162:ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),163:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),164:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),166:ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),167:ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),168:ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),169:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,29526))),170:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),171:ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),172:ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,24564))),173:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),175:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),176:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),177:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),178:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),180:ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),181:ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),182:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),183:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),184:ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20186))),185:ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),186:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,98622))),187:ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),188:ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),189:ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),190:ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),191:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(33),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,69638))),192:ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),193:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),194:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),196:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),198:ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56405))),199:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),200:ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),201:ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,78932))),202:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,70624))),203:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),204:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),205:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,18509))),206:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,52021))),207:ze.lazy(()=>Promise.all([__webpack_require__.e(33),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),208:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,71666))),209:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,28744))),210:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,72281))),211:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),212:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),213:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),214:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),215:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),216:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),217:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),218:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),219:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),220:ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,5134))),221:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),222:ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),223:ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),224:ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),225:ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),226:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),228:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),229:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),230:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),231:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),232:ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),233:ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),234:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),235:ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,43116))),236:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),237:ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,22802))),238:ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,49451))),239:ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,97118))),240:ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,16430))),241:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),242:ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,51705))),243:ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,36806))),244:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),245:ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),246:ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,81187))),247:ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62484))),248:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,20267))),249:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,18460))),250:ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,43173))),251:ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,68861))),252:ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,47412))),253:ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,86576))),254:ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,56543))),255:ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,55199))),256:ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),257:ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,83184))),258:ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,14631))),259:ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,88038))),260:ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),261:ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),262:ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),263:ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),264:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),265:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),266:ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),267:ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),268:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),270:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),272:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),273:ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),274:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),276:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),277:ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),278:ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),279:ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),280:ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),281:ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),282:ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),283:ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),284:ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),285:ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),286:ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),287:ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),288:ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),289:ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),290:ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),291:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),292:ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),293:ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),294:ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),295:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),296:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),297:ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),298:ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),299:ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),300:ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),301:ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),302:ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),303:ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),304:ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),305:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),307:ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),308:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),309:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),310:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),311:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),312:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),313:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),314:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),315:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),316:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91176))),317:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),318:ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),319:ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),320:ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),321:ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),322:ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),323:ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),324:ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),325:ze.lazy(()=>__webpack_require__.e(4495).then(__webpack_require__.bind(__webpack_require__,86672))),326:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),327:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),328:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),329:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),330:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),331:ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),332:ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),333:ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),334:ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),335:ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),336:ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),337:ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),338:ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),339:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),340:ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),341:ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),342:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),343:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),344:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),345:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),346:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),347:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),348:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),349:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),350:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),351:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),352:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),353:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),354:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),355:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),356:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),357:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),358:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),359:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),360:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),361:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),362:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),363:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),364:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),365:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),366:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),367:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),368:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),369:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),370:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),371:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),372:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),373:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),374:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),375:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),376:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),377:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),378:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),379:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),380:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),381:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),382:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),383:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),384:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),385:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),386:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),387:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),388:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),389:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),390:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),391:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),392:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),393:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),394:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),395:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),396:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),397:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),398:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),399:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),400:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),401:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),402:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),403:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),404:ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,28712))),405:ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),406:ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),407:ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),408:ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),409:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),410:ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),411:ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),412:ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),413:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),414:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),415:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),416:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),417:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),421:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),422:ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),423:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),424:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),425:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),426:ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),427:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),428:ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),429:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),430:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),431:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,38891))),432:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),433:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),434:ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),435:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),436:ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),437:ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,6556))),438:ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),439:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),440:ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),441:ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),442:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),443:ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),444:ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),445:ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),446:ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),447:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),448:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),449:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),450:ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),451:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),452:ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),453:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),454:ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,39090))),455:ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),456:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),457:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),458:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),459:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),460:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),461:ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),462:ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),463:ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),464:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),465:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,14917))),466:ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),467:ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),468:ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),469:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),470:ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),471:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),472:ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),473:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),474:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),475:ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),476:ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),477:ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),478:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),479:ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),480:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),481:ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),482:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),483:ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),484:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),485:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),486:ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),487:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),488:ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),489:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),490:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,15221)))}}})}var I=__webpack_require__(3191),O=__webpack_require__(58293),k=__webpack_require__(71418),me=__webpack_require__(5755),ke=()=>ze.createElement(k.Z,{size:"middle",className:me.Z.loading}),tn=__webpack_require__(25690),jn=__webpack_require__(61186),hn=__webpack_require__.n(jn),Di=__webpack_require__(91392),Ha=__webpack_require__.n(Di),Oa=__webpack_require__(34749),Ao=__webpack_require__.n(Oa),Ma=__webpack_require__(19277),io=__webpack_require__.n(Ma),ys=__webpack_require__(10238),kc=__webpack_require__.n(ys),Jl=__webpack_require__(33656),ec=__webpack_require__.n(Jl),bc=__webpack_require__(90111),Nu=__webpack_require__.n(bc),Oi=__webpack_require__(74959),tc=__webpack_require__.n(Oi),Rl=__webpack_require__(23250),Ro=__webpack_require__.n(Rl),Ws=__webpack_require__(58862),Ja=__webpack_require__.n(Ws),al=__webpack_require__(58319),sl=__webpack_require__.n(al),bl=__webpack_require__(62053),xl=__webpack_require__.n(bl),ol=__webpack_require__(47477),Xc=__webpack_require__.n(ol),Rc=__webpack_require__(59717),Vu=__webpack_require__.n(Rc);hn().extend(Ao()),hn().extend(io()),hn().extend(kc()),hn().extend(ec()),hn().extend(Nu()),hn().extend(tc()),hn().extend(Ro()),hn().extend(Ja()),hn().extend(sl()),hn().extend(xl()),hn().extend(Xc()),hn().extend(Vu()),hn().extend(Ha());var Qc=Object.defineProperty,Ll=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,hu=Object.prototype.propertyIsEnumerable,$u=(Tn,Kn,Ni)=>Kn in Tn?Qc(Tn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Ni}):Tn[Kn]=Ni,El=(Tn,Kn)=>{for(var Ni in Kn||(Kn={}))qc.call(Kn,Ni)&&$u(Tn,Ni,Kn[Ni]);if(Ll)for(var Ni of Ll(Kn))hu.call(Kn,Ni)&&$u(Tn,Ni,Kn[Ni]);return Tn},rc=(Tn,Kn,Ni)=>new Promise((Ea,Zi)=>{var ua=Ki=>{try{vs(Ni.next(Ki))}catch(es){Zi(es)}},ha=Ki=>{try{vs(Ni.throw(Ki))}catch(es){Zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Ni=Ni.apply(Tn,Kn)).next())});const Cu="/react/build/",nc=!1;function Ml(){return rc(this,null,function*(){const Tn=(0,I.gD)(),{routes:Kn,routeComponents:Ni}=yield Oc(Tn);yield Tn.applyPlugins({key:"patchRoutes",type:tn.ApplyPluginsType.event,args:{routes:Kn,routeComponents:Ni}});const Ea=Tn.applyPlugins({key:"modifyContextOpts",type:tn.ApplyPluginsType.modify,initialValue:{}}),Zi=Ea.basename||"/",ua=Ea.historyType||"browser",ha=(0,O.fi)(El({type:ua,basename:Zi},Ea.historyOpts));return Tn.applyPlugins({key:"render",type:tn.ApplyPluginsType.compose,initialValue(){const vs={useStream:!0,routes:Kn,routeComponents:Ni,pluginManager:Tn,mountElementId:"root",rootElement:Ea.rootElement||document.getElementById("root"),loadingComponent:ke,publicPath:Cu,runtimePublicPath:nc,history:ha,historyType:ua,basename:Zi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ea.callback},Ki=Tn.applyPlugins({key:"modifyClientRenderOpts",type:tn.ApplyPluginsType.modify,initialValue:vs});return gc(Ki)}})()})}Ml(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();