diff --git a/2763.d329ec31.async.js b/2763.a226dca2.async.js similarity index 99% rename from 2763.d329ec31.async.js rename to 2763.a226dca2.async.js index de864c5331..179e19fdab 100644 --- a/2763.d329ec31.async.js +++ b/2763.a226dca2.async.js @@ -122,7 +122,7 @@ `]:{[Dt]:{position:"relative",height:ht+we.lineWidth*2+we.paddingXS*2,padding:we.paddingXS,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusLG,"&:hover":{background:"transparent"},[`${Dt}-thumbnail`]:Object.assign(Object.assign({},Ze.vS),{width:ht,height:ht,lineHeight:`${ht+we.paddingSM}px`,textAlign:"center",flex:"none",[c]:{fontSize:we.fontSizeHeading2,color:we.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Dt}-progress`]:{bottom:Lt,width:`calc(100% - ${we.paddingSM*2}px)`,marginTop:0,paddingInlineStart:ht+we.paddingXS}},[`${Dt}-error`]:{borderColor:we.colorError,[`${Dt}-thumbnail ${c}`]:{[`svg path[fill='${Zn.blue[0]}']`]:{fill:we.colorErrorBg},[`svg path[fill='${Zn.blue.primary}']`]:{fill:we.colorError}}},[`${Dt}-uploading`]:{borderStyle:"dashed",[`${Dt}-name`]:{marginBottom:Lt}}},[`${He}${He}-picture-circle ${Dt}`]:{[`&, &::before, ${Dt}-thumbnail`]:{borderRadius:"50%"}}}}},Zr=we=>{const{componentCls:ie,iconCls:c,fontSizeLG:ht,colorTextLightSolid:Lt}=we,He=`${ie}-list`,Dt=`${He}-item`,Ot=we.uploadPicCardSize;return{[` ${ie}-wrapper${ie}-picture-card-wrapper, ${ie}-wrapper${ie}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,Ze.dF)()),{display:"inline-block",width:"100%",[`${ie}${ie}-select`]:{width:Ot,height:Ot,marginInlineEnd:we.marginXS,marginBottom:we.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:we.colorFillAlter,border:`${we.lineWidth}px dashed ${we.colorBorder}`,borderRadius:we.borderRadiusLG,cursor:"pointer",transition:`border-color ${we.motionDurationSlow}`,[`> ${ie}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${ie}-disabled):hover`]:{borderColor:we.colorPrimary}},[`${He}${He}-picture-card, ${He}${He}-picture-circle`]:{[`${He}-item-container`]:{display:"inline-block",width:Ot,height:Ot,marginBlock:`0 ${we.marginXS}px`,marginInline:`0 ${we.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Dt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${we.paddingXS*2}px)`,height:`calc(100% - ${we.paddingXS*2}px)`,backgroundColor:we.colorBgMask,opacity:0,transition:`all ${we.motionDurationSlow}`,content:'" "'}},[`${Dt}:hover`]:{[`&::before, ${Dt}-actions`]:{opacity:1}},[`${Dt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${we.motionDurationSlow}`,[`${c}-eye, ${c}-download, ${c}-delete`]:{zIndex:10,width:ht,margin:`0 ${we.marginXXS}px`,fontSize:ht,cursor:"pointer",transition:`all ${we.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Dt}-actions, ${Dt}-actions:hover`]:{[`${c}-eye, ${c}-download, ${c}-delete`]:{color:new Cr.C(Lt).setAlpha(.65).toRgbString(),"&:hover":{color:Lt}}},[`${Dt}-thumbnail, ${Dt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Dt}-name`]:{display:"none",textAlign:"center"},[`${Dt}-file + ${Dt}-name`]:{position:"absolute",bottom:we.margin,display:"block",width:`calc(100% - ${we.paddingXS*2}px)`},[`${Dt}-uploading`]:{[`&${Dt}`]:{backgroundColor:we.colorFillAlter},[`&::before, ${c}-eye, ${c}-download, ${c}-delete`]:{display:"none"}},[`${Dt}-progress`]:{bottom:we.marginXL,width:`calc(100% - ${we.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${ie}-wrapper${ie}-picture-circle-wrapper`]:{[`${ie}${ie}-select`]:{borderRadius:"50%"}}}};var ir=we=>{const{componentCls:ie}=we;return{[`${ie}-rtl`]:{direction:"rtl"}}};const Kn=we=>{const{componentCls:ie,colorTextDisabled:c}=we;return{[`${ie}-wrapper`]:Object.assign(Object.assign({},(0,Ze.Wf)(we)),{[ie]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${ie}-select`]:{display:"inline-block"},[`${ie}-disabled`]:{color:c,cursor:"not-allowed"}})}};var Vn=(0,An.Z)("Upload",we=>{const{fontSizeHeading3:ie,fontSize:c,lineHeight:ht,lineWidth:Lt,controlHeightLG:He}=we,Dt=Math.round(c*ht),Ot=(0,_t.TS)(we,{uploadThumbnailSize:ie*2,uploadProgressOffset:Dt/2+Lt,uploadPicCardSize:He*2.55});return[Kn(Ot),Ln(Ot),Vr(Ot),Zr(Ot),Gn(Ot),Sr(Ot),ir(Ot),(0,kn.Z)(Ot)]},we=>({actionsColor:we.colorTextDescription})),Gr=function(we,ie,c,ht){function Lt(He){return He instanceof c?He:new c(function(Dt){Dt(He)})}return new(c||(c=Promise))(function(He,Dt){function Ot(ue){try{En(ht.next(ue))}catch(Pn){Dt(Pn)}}function Sn(ue){try{En(ht.throw(ue))}catch(Pn){Dt(Pn)}}function En(ue){ue.done?He(ue.value):Lt(ue.value).then(Ot,Sn)}En((ht=ht.apply(we,ie||[])).next())})};const Nr=`__LIST_IGNORE_${Date.now()}__`,Rt=(we,ie)=>{const{fileList:c,defaultFileList:ht,onRemove:Lt,showUploadList:He=!0,listType:Dt="text",onPreview:Ot,onDownload:Sn,onChange:En,onDrop:ue,previewFile:Pn,disabled:ar,locale:Rn,iconRender:T,isImageUrl:I,progress:Mt,prefixCls:H,className:xe,type:Xn="select",children:qt,style:Mn,itemRender:Dr,maxCount:mn,data:sr={},multiple:Pr=!1,action:Br="",accept:Fe="",supportServerRender:Xr=!0,rootClassName:qe}=we,va=i.useContext(Wt.Z),ta=ar!=null?ar:va,[mr,ya]=(0,it.Z)(ht||[],{value:c,postState:br=>br!=null?br:[]}),[Fr,wr]=i.useState("drop"),aa=i.useRef(null);i.useMemo(()=>{const br=Date.now();(c||[]).forEach(($r,vr)=>{!$r.uid&&!Object.isFrozen($r)&&($r.uid=`__AUTO__${br}_${vr}__`)})},[c]);const qr=(br,$r,vr)=>{let be=(0,p.Z)($r),Mr=!1;mn===1?be=be.slice(-1):mn&&(Mr=be.length>mn,be=be.slice(0,mn)),(0,ot.flushSync)(()=>{ya(be)});const Qr={file:br,fileList:be};vr&&(Qr.event=vr),(!Mr||be.some(ba=>ba.uid===br.uid))&&(0,ot.flushSync)(()=>{En==null||En(Qr)})},dr=(br,$r)=>Gr(void 0,void 0,void 0,function*(){const{beforeUpload:vr,transformFile:be}=we;let Mr=br;if(vr){const Qr=yield vr(br,$r);if(Qr===!1)return!1;if(delete br[Nr],Qr===Nr)return Object.defineProperty(br,Nr,{value:!0,configurable:!0}),!1;typeof Qr=="object"&&Qr&&(Mr=Qr)}return be&&(Mr=yield be(Mr)),Mr}),Yn=br=>{const $r=br.filter(Mr=>!Mr.file[Nr]);if(!$r.length)return;const vr=$r.map(Mr=>he(Mr.file));let be=(0,p.Z)(mr);vr.forEach(Mr=>{be=Q(Mr,be)}),vr.forEach((Mr,Qr)=>{let ba=Mr;if($r[Qr].parsedFile)Mr.status="uploading";else{const{originFileObj:Et}=Mr;let Rr;try{Rr=new File([Et],Et.name,{type:Et.type})}catch(Da){Rr=new Blob([Et],{type:Et.type}),Rr.name=Et.name,Rr.lastModifiedDate=new Date,Rr.lastModified=new Date().getTime()}Rr.uid=Mr.uid,ba=Rr}qr(ba,be)})},fn=(br,$r,vr)=>{try{typeof br=="string"&&(br=JSON.parse(br))}catch(Qr){}if(!ke($r,mr))return;const be=he($r);be.status="done",be.percent=100,be.response=br,be.xhr=vr;const Mr=Q(be,mr);qr(be,Mr)},Tr=(br,$r)=>{if(!ke($r,mr))return;const vr=he($r);vr.status="uploading",vr.percent=br.percent;const be=Q(vr,mr);qr(vr,be,br)},hr=(br,$r,vr)=>{if(!ke(vr,mr))return;const be=he(vr);be.error=br,be.response=$r,be.status="error";const Mr=Q(be,mr);qr(be,Mr)},da=br=>{let $r;Promise.resolve(typeof Lt=="function"?Lt(br):Lt).then(vr=>{var be;if(vr===!1)return;const Mr=dt(br,mr);Mr&&($r=Object.assign(Object.assign({},br),{status:"removed"}),mr==null||mr.forEach(Qr=>{const ba=$r.uid!==void 0?"uid":"name";Qr[ba]===$r[ba]&&!Object.isFrozen(Qr)&&(Qr.status="removed")}),(be=aa.current)===null||be===void 0||be.abort($r),qr($r,Mr))})},ia=br=>{wr(br.type),br.type==="drop"&&(ue==null||ue(br))};i.useImperativeHandle(ie,()=>({onBatchStart:Yn,onSuccess:fn,onProgress:Tr,onError:hr,fileList:mr,upload:aa.current}));const{getPrefixCls:Ta,direction:pa,upload:gr}=i.useContext(Bt.E_),Lr=Ta("upload",H),Ea=Object.assign(Object.assign({onBatchStart:Yn,onError:hr,onProgress:Tr,onSuccess:fn},we),{data:sr,multiple:Pr,action:Br,accept:Fe,supportServerRender:Xr,prefixCls:Lr,disabled:ta,beforeUpload:dr,onChange:void 0});delete Ea.className,delete Ea.style,(!qt||ta)&&delete Ea.id;const[Ja,Za]=Vn(Lr),[xa]=(0,wt.Z)("Upload",R.Z.Upload),{showRemoveIcon:oi,showPreviewIcon:ri,showDownloadIcon:pi,removeIcon:Ka,previewIcon:Aa,downloadIcon:La}=typeof He=="boolean"?{}:He,na=(br,$r)=>He?i.createElement(nn,{prefixCls:Lr,listType:Dt,items:mr,previewFile:Pn,onPreview:Ot,onDownload:Sn,onRemove:da,showRemoveIcon:!ta&&oi,showPreviewIcon:ri,showDownloadIcon:pi,removeIcon:Ka,previewIcon:Aa,downloadIcon:La,iconRender:T,locale:Object.assign(Object.assign({},xa),Rn),isImageUrl:I,progress:Mt,appendAction:br,appendActionVisible:$r,itemRender:Dr,disabled:ta}):br,Pa=h()(`${Lr}-wrapper`,xe,qe,Za,gr==null?void 0:gr.className,{[`${Lr}-rtl`]:pa==="rtl",[`${Lr}-picture-card-wrapper`]:Dt==="picture-card",[`${Lr}-picture-circle-wrapper`]:Dt==="picture-circle"}),Mi=Object.assign(Object.assign({},gr==null?void 0:gr.style),Mn);if(Xn==="drag"){const br=h()(Za,Lr,`${Lr}-drag`,{[`${Lr}-drag-uploading`]:mr.some($r=>$r.status==="uploading"),[`${Lr}-drag-hover`]:Fr==="dragover",[`${Lr}-disabled`]:ta,[`${Lr}-rtl`]:pa==="rtl"});return Ja(i.createElement("span",{className:Pa},i.createElement("div",{className:br,style:Mi,onDrop:ia,onDragOver:ia,onDragLeave:ia},i.createElement(Be,Object.assign({},Ea,{ref:aa,className:`${Lr}-btn`}),i.createElement("div",{className:`${Lr}-drag-container`},qt))),na()))}const Si=h()(Lr,`${Lr}-select`,{[`${Lr}-disabled`]:ta}),Ti=(br=>i.createElement("div",{className:Si,style:br},i.createElement(Be,Object.assign({},Ea,{ref:aa}))))(qt?void 0:{display:"none"});return Ja(Dt==="picture-card"||Dt==="picture-circle"?i.createElement("span",{className:Pa},na(Ti,!!qt)):i.createElement("span",{className:Pa},Ti,na()))};var $t=i.forwardRef(Rt),vt=function(we,ie){var c={};for(var ht in we)Object.prototype.hasOwnProperty.call(we,ht)&&ie.indexOf(ht)<0&&(c[ht]=we[ht]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,ht=Object.getOwnPropertySymbols(we);Lt{var{style:c,height:ht}=we,Lt=vt(we,["style","height"]);return i.createElement($t,Object.assign({ref:ie},Lt,{type:"drag",style:Object.assign(Object.assign({},c),{height:ht})}))});const bt=$t;bt.Dragger=Cn,bt.LIST_IGNORE=Nr;var gn=bt},58951:function(S,s){"use strict";var t;s.Q=h,t=A;var i=",",p=" ",g="";function h(y){for(var f=[],F=String(y||g),U=F.indexOf(i),ne=0,re=!1,pe;!re;)U===-1&&(U=F.length,re=!0),pe=F.slice(ne,U).trim(),(pe||!re)&&f.push(pe),ne=U+1,U=F.indexOf(i,ne);return f}function A(y,f){var F=f||{},U=F.padLeft===!1?g:p,ne=F.padRight?p:g;return y[y.length-1]===g&&(y=y.concat(g)),y.join(ne+i+U).trim()}},86204:function(S){"use strict";var s=typeof Reflect=="object"?Reflect:null,t=s&&typeof s.apply=="function"?s.apply:function(Z,B,Y){return Function.prototype.apply.call(Z,B,Y)},i;s&&typeof s.ownKeys=="function"?i=s.ownKeys:Object.getOwnPropertySymbols?i=function(Z){return Object.getOwnPropertyNames(Z).concat(Object.getOwnPropertySymbols(Z))}:i=function(Z){return Object.getOwnPropertyNames(Z)};function p(G){console&&console.warn&&console.warn(G)}var g=Number.isNaN||function(Z){return Z!==Z};function h(){h.init.call(this)}S.exports=h,S.exports.once=ge,h.EventEmitter=h,h.prototype._events=void 0,h.prototype._eventsCount=0,h.prototype._maxListeners=void 0;var A=10;function y(G){if(typeof G!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof G)}Object.defineProperty(h,"defaultMaxListeners",{enumerable:!0,get:function(){return A},set:function(G){if(typeof G!="number"||G<0||g(G))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+G+".");A=G}}),h.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},h.prototype.setMaxListeners=function(Z){if(typeof Z!="number"||Z<0||g(Z))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Z+".");return this._maxListeners=Z,this};function f(G){return G._maxListeners===void 0?h.defaultMaxListeners:G._maxListeners}h.prototype.getMaxListeners=function(){return f(this)},h.prototype.emit=function(Z){for(var B=[],Y=1;Y0&&(ee=B[0]),ee instanceof Error)throw ee;var X=new Error("Unhandled error."+(ee?" ("+ee.message+")":""));throw X.context=ee,X}var Se=se[Z];if(Se===void 0)return!1;if(typeof Se=="function")t(Se,this,B);else for(var me=Se.length,D=ye(Se,me),Y=0;Y0&&ee.length>V&&!ee.warned){ee.warned=!0;var X=new Error("Possible EventEmitter memory leak detected. "+ee.length+" "+String(Z)+" listeners added. Use emitter.setMaxListeners() to increase limit");X.name="MaxListenersExceededWarning",X.emitter=G,X.type=Z,X.count=ee.length,p(X)}return G}h.prototype.addListener=function(Z,B){return F(this,Z,B,!1)},h.prototype.on=h.prototype.addListener,h.prototype.prependListener=function(Z,B){return F(this,Z,B,!0)};function U(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function ne(G,Z,B){var Y={fired:!1,wrapFn:void 0,target:G,type:Z,listener:B},V=U.bind(Y);return V.listener=B,Y.wrapFn=V,V}h.prototype.once=function(Z,B){return y(B),this.on(Z,ne(this,Z,B)),this},h.prototype.prependOnceListener=function(Z,B){return y(B),this.prependListener(Z,ne(this,Z,B)),this},h.prototype.removeListener=function(Z,B){var Y,V,se,ee,X;if(y(B),V=this._events,V===void 0)return this;if(Y=V[Z],Y===void 0)return this;if(Y===B||Y.listener===B)--this._eventsCount===0?this._events=Object.create(null):(delete V[Z],V.removeListener&&this.emit("removeListener",Z,Y.listener||B));else if(typeof Y!="function"){for(se=-1,ee=Y.length-1;ee>=0;ee--)if(Y[ee]===B||Y[ee].listener===B){X=Y[ee].listener,se=ee;break}if(se<0)return this;se===0?Y.shift():ce(Y,se),Y.length===1&&(V[Z]=Y[0]),V.removeListener!==void 0&&this.emit("removeListener",Z,X||B)}return this},h.prototype.off=h.prototype.removeListener,h.prototype.removeAllListeners=function(Z){var B,Y,V;if(Y=this._events,Y===void 0)return this;if(Y.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Y[Z]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Y[Z]),this;if(arguments.length===0){var se=Object.keys(Y),ee;for(V=0;V=0;V--)this.removeListener(Z,B[V]);return this};function re(G,Z,B){var Y=G._events;if(Y===void 0)return[];var V=Y[Z];return V===void 0?[]:typeof V=="function"?B?[V.listener||V]:[V]:B?Ee(V):ye(V,V.length)}h.prototype.listeners=function(Z){return re(this,Z,!0)},h.prototype.rawListeners=function(Z){return re(this,Z,!1)},h.listenerCount=function(G,Z){return typeof G.listenerCount=="function"?G.listenerCount(Z):pe.call(G,Z)},h.prototype.listenerCount=pe;function pe(G){var Z=this._events;if(Z!==void 0){var B=Z[G];if(typeof B=="function")return 1;if(B!==void 0)return B.length}return 0}h.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function ye(G,Z){for(var B=new Array(Z),Y=0;Y ${ie}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${ie}-disabled):hover`]:{borderColor:we.colorPrimary}},[`${He}${He}-picture-card, ${He}${He}-picture-circle`]:{[`${He}-item-container`]:{display:"inline-block",width:Ot,height:Ot,marginBlock:`0 ${we.marginXS}px`,marginInline:`0 ${we.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Dt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${we.paddingXS*2}px)`,height:`calc(100% - ${we.paddingXS*2}px)`,backgroundColor:we.colorBgMask,opacity:0,transition:`all ${we.motionDurationSlow}`,content:'" "'}},[`${Dt}:hover`]:{[`&::before, ${Dt}-actions`]:{opacity:1}},[`${Dt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${we.motionDurationSlow}`,[`${c}-eye, ${c}-download, ${c}-delete`]:{zIndex:10,width:ht,margin:`0 ${we.marginXXS}px`,fontSize:ht,cursor:"pointer",transition:`all ${we.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Dt}-actions, ${Dt}-actions:hover`]:{[`${c}-eye, ${c}-download, ${c}-delete`]:{color:new Cr.C(Lt).setAlpha(.65).toRgbString(),"&:hover":{color:Lt}}},[`${Dt}-thumbnail, ${Dt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Dt}-name`]:{display:"none",textAlign:"center"},[`${Dt}-file + ${Dt}-name`]:{position:"absolute",bottom:we.margin,display:"block",width:`calc(100% - ${we.paddingXS*2}px)`},[`${Dt}-uploading`]:{[`&${Dt}`]:{backgroundColor:we.colorFillAlter},[`&::before, ${c}-eye, ${c}-download, ${c}-delete`]:{display:"none"}},[`${Dt}-progress`]:{bottom:we.marginXL,width:`calc(100% - ${we.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${ie}-wrapper${ie}-picture-circle-wrapper`]:{[`${ie}${ie}-select`]:{borderRadius:"50%"}}}};var ir=we=>{const{componentCls:ie}=we;return{[`${ie}-rtl`]:{direction:"rtl"}}};const Kn=we=>{const{componentCls:ie,colorTextDisabled:c}=we;return{[`${ie}-wrapper`]:Object.assign(Object.assign({},(0,Ze.Wf)(we)),{[ie]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${ie}-select`]:{display:"inline-block"},[`${ie}-disabled`]:{color:c,cursor:"not-allowed"}})}};var Vn=(0,An.Z)("Upload",we=>{const{fontSizeHeading3:ie,fontSize:c,lineHeight:ht,lineWidth:Lt,controlHeightLG:He}=we,Dt=Math.round(c*ht),Ot=(0,_t.TS)(we,{uploadThumbnailSize:ie*2,uploadProgressOffset:Dt/2+Lt,uploadPicCardSize:He*2.55});return[Kn(Ot),Ln(Ot),Vr(Ot),Zr(Ot),Gn(Ot),Sr(Ot),ir(Ot),(0,kn.Z)(Ot)]},we=>({actionsColor:we.colorTextDescription})),Gr=function(we,ie,c,ht){function Lt(He){return He instanceof c?He:new c(function(Dt){Dt(He)})}return new(c||(c=Promise))(function(He,Dt){function Ot(ue){try{En(ht.next(ue))}catch(Pn){Dt(Pn)}}function Sn(ue){try{En(ht.throw(ue))}catch(Pn){Dt(Pn)}}function En(ue){ue.done?He(ue.value):Lt(ue.value).then(Ot,Sn)}En((ht=ht.apply(we,ie||[])).next())})};const Nr=`__LIST_IGNORE_${Date.now()}__`,Rt=(we,ie)=>{const{fileList:c,defaultFileList:ht,onRemove:Lt,showUploadList:He=!0,listType:Dt="text",onPreview:Ot,onDownload:Sn,onChange:En,onDrop:ue,previewFile:Pn,disabled:ar,locale:Rn,iconRender:T,isImageUrl:I,progress:Mt,prefixCls:H,className:xe,type:Xn="select",children:qt,style:Mn,itemRender:Dr,maxCount:mn,data:sr={},multiple:Pr=!1,action:Br="",accept:Fe="",supportServerRender:Xr=!0,rootClassName:qe}=we,va=i.useContext(Wt.Z),ta=ar!=null?ar:va,[mr,ya]=(0,it.Z)(ht||[],{value:c,postState:br=>br!=null?br:[]}),[Fr,wr]=i.useState("drop"),aa=i.useRef(null);i.useMemo(()=>{const br=Date.now();(c||[]).forEach(($r,vr)=>{!$r.uid&&!Object.isFrozen($r)&&($r.uid=`__AUTO__${br}_${vr}__`)})},[c]);const qr=(br,$r,vr)=>{let be=(0,p.Z)($r),Mr=!1;mn===1?be=be.slice(-1):mn&&(Mr=be.length>mn,be=be.slice(0,mn)),(0,ot.flushSync)(()=>{ya(be)});const Qr={file:br,fileList:be};vr&&(Qr.event=vr),(!Mr||be.some(ba=>ba.uid===br.uid))&&(0,ot.flushSync)(()=>{En==null||En(Qr)})},dr=(br,$r)=>Gr(void 0,void 0,void 0,function*(){const{beforeUpload:vr,transformFile:be}=we;let Mr=br;if(vr){const Qr=yield vr(br,$r);if(Qr===!1)return!1;if(delete br[Nr],Qr===Nr)return Object.defineProperty(br,Nr,{value:!0,configurable:!0}),!1;typeof Qr=="object"&&Qr&&(Mr=Qr)}return be&&(Mr=yield be(Mr)),Mr}),Yn=br=>{const $r=br.filter(Mr=>!Mr.file[Nr]);if(!$r.length)return;const vr=$r.map(Mr=>he(Mr.file));let be=(0,p.Z)(mr);vr.forEach(Mr=>{be=Q(Mr,be)}),vr.forEach((Mr,Qr)=>{let ba=Mr;if($r[Qr].parsedFile)Mr.status="uploading";else{const{originFileObj:Et}=Mr;let Rr;try{Rr=new File([Et],Et.name,{type:Et.type})}catch(Da){Rr=new Blob([Et],{type:Et.type}),Rr.name=Et.name,Rr.lastModifiedDate=new Date,Rr.lastModified=new Date().getTime()}Rr.uid=Mr.uid,ba=Rr}qr(ba,be)})},fn=(br,$r,vr)=>{try{typeof br=="string"&&(br=JSON.parse(br))}catch(Qr){}if(!ke($r,mr))return;const be=he($r);be.status="done",be.percent=100,be.response=br,be.xhr=vr;const Mr=Q(be,mr);qr(be,Mr)},Tr=(br,$r)=>{if(!ke($r,mr))return;const vr=he($r);vr.status="uploading",vr.percent=br.percent;const be=Q(vr,mr);qr(vr,be,br)},hr=(br,$r,vr)=>{if(!ke(vr,mr))return;const be=he(vr);be.error=br,be.response=$r,be.status="error";const Mr=Q(be,mr);qr(be,Mr)},da=br=>{let $r;Promise.resolve(typeof Lt=="function"?Lt(br):Lt).then(vr=>{var be;if(vr===!1)return;const Mr=dt(br,mr);Mr&&($r=Object.assign(Object.assign({},br),{status:"removed"}),mr==null||mr.forEach(Qr=>{const ba=$r.uid!==void 0?"uid":"name";Qr[ba]===$r[ba]&&!Object.isFrozen(Qr)&&(Qr.status="removed")}),(be=aa.current)===null||be===void 0||be.abort($r),qr($r,Mr))})},ia=br=>{wr(br.type),br.type==="drop"&&(ue==null||ue(br))};i.useImperativeHandle(ie,()=>({onBatchStart:Yn,onSuccess:fn,onProgress:Tr,onError:hr,fileList:mr,upload:aa.current}));const{getPrefixCls:Ta,direction:pa,upload:gr}=i.useContext(Bt.E_),Lr=Ta("upload",H),Ea=Object.assign(Object.assign({onBatchStart:Yn,onError:hr,onProgress:Tr,onSuccess:fn},we),{data:sr,multiple:Pr,action:Br,accept:Fe,supportServerRender:Xr,prefixCls:Lr,disabled:ta,beforeUpload:dr,onChange:void 0});delete Ea.className,delete Ea.style,(!qt||ta)&&delete Ea.id;const[Ja,Za]=Vn(Lr),[xa]=(0,wt.Z)("Upload",R.Z.Upload),{showRemoveIcon:oi,showPreviewIcon:ri,showDownloadIcon:pi,removeIcon:Ka,previewIcon:Aa,downloadIcon:La}=typeof He=="boolean"?{}:He,na=(br,$r)=>He?i.createElement(nn,{prefixCls:Lr,listType:Dt,items:mr,previewFile:Pn,onPreview:Ot,onDownload:Sn,onRemove:da,showRemoveIcon:!ta&&oi,showPreviewIcon:ri,showDownloadIcon:pi,removeIcon:Ka,previewIcon:Aa,downloadIcon:La,iconRender:T,locale:Object.assign(Object.assign({},xa),Rn),isImageUrl:I,progress:Mt,appendAction:br,appendActionVisible:$r,itemRender:Dr,disabled:ta}):br,Pa=h()(`${Lr}-wrapper`,xe,qe,Za,gr==null?void 0:gr.className,{[`${Lr}-rtl`]:pa==="rtl",[`${Lr}-picture-card-wrapper`]:Dt==="picture-card",[`${Lr}-picture-circle-wrapper`]:Dt==="picture-circle"}),Mi=Object.assign(Object.assign({},gr==null?void 0:gr.style),Mn);if(Xn==="drag"){const br=h()(Za,Lr,`${Lr}-drag`,{[`${Lr}-drag-uploading`]:mr.some($r=>$r.status==="uploading"),[`${Lr}-drag-hover`]:Fr==="dragover",[`${Lr}-disabled`]:ta,[`${Lr}-rtl`]:pa==="rtl"});return Ja(i.createElement("span",{className:Pa},i.createElement("div",{className:br,style:Mi,onDrop:ia,onDragOver:ia,onDragLeave:ia},i.createElement(Be,Object.assign({},Ea,{ref:aa,className:`${Lr}-btn`}),i.createElement("div",{className:`${Lr}-drag-container`},qt))),na()))}const Si=h()(Lr,`${Lr}-select`,{[`${Lr}-disabled`]:ta}),Ti=(br=>i.createElement("div",{className:Si,style:br},i.createElement(Be,Object.assign({},Ea,{ref:aa}))))(qt?void 0:{display:"none"});return Ja(Dt==="picture-card"||Dt==="picture-circle"?i.createElement("span",{className:Pa},na(Ti,!!qt)):i.createElement("span",{className:Pa},Ti,na()))};var $t=i.forwardRef(Rt),vt=function(we,ie){var c={};for(var ht in we)Object.prototype.hasOwnProperty.call(we,ht)&&ie.indexOf(ht)<0&&(c[ht]=we[ht]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,ht=Object.getOwnPropertySymbols(we);Lt{var{style:c,height:ht}=we,Lt=vt(we,["style","height"]);return i.createElement($t,Object.assign({ref:ie},Lt,{type:"drag",style:Object.assign(Object.assign({},c),{height:ht})}))});const bt=$t;bt.Dragger=Cn,bt.LIST_IGNORE=Nr;var gn=bt},58951:function(S,s){"use strict";var t;s.Q=h,t=A;var i=",",p=" ",g="";function h(y){for(var f=[],F=String(y||g),U=F.indexOf(i),ne=0,re=!1,pe;!re;)U===-1&&(U=F.length,re=!0),pe=F.slice(ne,U).trim(),(pe||!re)&&f.push(pe),ne=U+1,U=F.indexOf(i,ne);return f}function A(y,f){var F=f||{},U=F.padLeft===!1?g:p,ne=F.padRight?p:g;return y[y.length-1]===g&&(y=y.concat(g)),y.join(ne+i+U).trim()}},86204:function(S){"use strict";var s=typeof Reflect=="object"?Reflect:null,t=s&&typeof s.apply=="function"?s.apply:function(Z,B,Y){return Function.prototype.apply.call(Z,B,Y)},i;s&&typeof s.ownKeys=="function"?i=s.ownKeys:Object.getOwnPropertySymbols?i=function(Z){return Object.getOwnPropertyNames(Z).concat(Object.getOwnPropertySymbols(Z))}:i=function(Z){return Object.getOwnPropertyNames(Z)};function p(G){console&&console.warn&&console.warn(G)}var g=Number.isNaN||function(Z){return Z!==Z};function h(){h.init.call(this)}S.exports=h,S.exports.once=ge,h.EventEmitter=h,h.prototype._events=void 0,h.prototype._eventsCount=0,h.prototype._maxListeners=void 0;var A=10;function y(G){if(typeof G!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof G)}Object.defineProperty(h,"defaultMaxListeners",{enumerable:!0,get:function(){return A},set:function(G){if(typeof G!="number"||G<0||g(G))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+G+".");A=G}}),h.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},h.prototype.setMaxListeners=function(Z){if(typeof Z!="number"||Z<0||g(Z))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Z+".");return this._maxListeners=Z,this};function f(G){return G._maxListeners===void 0?h.defaultMaxListeners:G._maxListeners}h.prototype.getMaxListeners=function(){return f(this)},h.prototype.emit=function(Z){for(var B=[],Y=1;Y0&&(ee=B[0]),ee instanceof Error)throw ee;var X=new Error("Unhandled error."+(ee?" ("+ee.message+")":""));throw X.context=ee,X}var Se=se[Z];if(Se===void 0)return!1;if(typeof Se=="function")t(Se,this,B);else for(var me=Se.length,D=ye(Se,me),Y=0;Y0&&ee.length>V&&!ee.warned){ee.warned=!0;var X=new Error("Possible EventEmitter memory leak detected. "+ee.length+" "+String(Z)+" listeners added. Use emitter.setMaxListeners() to increase limit");X.name="MaxListenersExceededWarning",X.emitter=G,X.type=Z,X.count=ee.length,p(X)}return G}h.prototype.addListener=function(Z,B){return F(this,Z,B,!1)},h.prototype.on=h.prototype.addListener,h.prototype.prependListener=function(Z,B){return F(this,Z,B,!0)};function U(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function ne(G,Z,B){var Y={fired:!1,wrapFn:void 0,target:G,type:Z,listener:B},V=U.bind(Y);return V.listener=B,Y.wrapFn=V,V}h.prototype.once=function(Z,B){return y(B),this.on(Z,ne(this,Z,B)),this},h.prototype.prependOnceListener=function(Z,B){return y(B),this.prependListener(Z,ne(this,Z,B)),this},h.prototype.removeListener=function(Z,B){var Y,V,se,ee,X;if(y(B),V=this._events,V===void 0)return this;if(Y=V[Z],Y===void 0)return this;if(Y===B||Y.listener===B)--this._eventsCount===0?this._events=Object.create(null):(delete V[Z],V.removeListener&&this.emit("removeListener",Z,Y.listener||B));else if(typeof Y!="function"){for(se=-1,ee=Y.length-1;ee>=0;ee--)if(Y[ee]===B||Y[ee].listener===B){X=Y[ee].listener,se=ee;break}if(se<0)return this;se===0?Y.shift():ce(Y,se),Y.length===1&&(V[Z]=Y[0]),V.removeListener!==void 0&&this.emit("removeListener",Z,X||B)}return this},h.prototype.off=h.prototype.removeListener,h.prototype.removeAllListeners=function(Z){var B,Y,V;if(Y=this._events,Y===void 0)return this;if(Y.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Y[Z]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Y[Z]),this;if(arguments.length===0){var se=Object.keys(Y),ee;for(V=0;V=0;V--)this.removeListener(Z,B[V]);return this};function re(G,Z,B){var Y=G._events;if(Y===void 0)return[];var V=Y[Z];return V===void 0?[]:typeof V=="function"?B?[V.listener||V]:[V]:B?Ee(V):ye(V,V.length)}h.prototype.listeners=function(Z){return re(this,Z,!0)},h.prototype.rawListeners=function(Z){return re(this,Z,!1)},h.listenerCount=function(G,Z){return typeof G.listenerCount=="function"?G.listenerCount(Z):pe.call(G,Z)},h.prototype.listenerCount=pe;function pe(G){var Z=this._events;if(Z!==void 0){var B=Z[G];if(typeof B=="function")return 1;if(B!==void 0)return B.length}return 0}h.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function ye(G,Z){for(var B=new Array(Z),Y=0;Y=97&&i<=122||i>=65&&i<=90}},21127:function(S,s,t){"use strict";var i=t(91241),p=t(22347);S.exports=g;function g(h){return i(h)||p(h)}},22347:function(S){"use strict";S.exports=s;function s(t){var i=typeof t=="string"?t.charCodeAt(0):t;return i>=48&&i<=57}},65207:function(S){"use strict";S.exports=s;function s(t){var i=typeof t=="string"?t.charCodeAt(0):t;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}},67842:function(S){"use strict";var s,t=59;S.exports=i;function i(p){var g="&"+p+";",h;return s=s||document.createElement("i"),s.innerHTML=g,h=s.textContent,h.charCodeAt(h.length-1)===t&&p!=="semi"||h===g?!1:h}},12256:function(S,s,t){"use strict";var i=t(47854),p=t(80501),g=t(22347),h=t(65207),A=t(21127),y=t(67842);S.exports=Bt;var f={}.hasOwnProperty,F=String.fromCharCode,U=Function.prototype,ne={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},re=9,pe=10,ye=12,ce=32,Ee=38,ge=59,Ce=60,j=61,G=35,Z=88,B=120,Y=65533,V="named",se="hexadecimal",ee="decimal",X={};X[se]=16,X[ee]=10;var Se={};Se[V]=A,Se[ee]=g,Se[se]=h;var me=1,D=2,Ue=3,nt=4,kt=5,Be=6,it=7,ot={};ot[me]="Named character references must be terminated by a semicolon",ot[D]="Numeric character references must be terminated by a semicolon",ot[Ue]="Named character references cannot be empty",ot[nt]="Numeric character references cannot be empty",ot[kt]="Named character references must be known",ot[Be]="Numeric character references cannot be disallowed",ot[it]="Numeric character references cannot be outside the permissible Unicode range";function Bt(ze,tt){var Ie={},pt,Ye;tt||(tt={});for(Ye in ne)pt=tt[Ye],Ie[Ye]=pt==null?ne[Ye]:pt;return(Ie.position.indent||Ie.position.start)&&(Ie.indent=Ie.position.indent||[],Ie.position=Ie.position.start),Wt(ze,Ie)}function Wt(ze,tt){var Ie=tt.additional,pt=tt.nonTerminated,Ye=tt.text,en=tt.reference,Ht=tt.warning,ln=tt.textContext,dn=tt.referenceContext,At=tt.warningContext,xt=tt.position,Xt=tt.indent||[],Vt=ze.length,Re=0,_e=-1,q=xt.column||1,L=xt.line||1,Te="",rt=[],W,z,De,he,Q,ke,dt,st,mt,gt,yt,te,Ge,Qe,Xe,_,at,Ct,Oe;for(typeof Ie=="string"&&(Ie=Ie.charCodeAt(0)),_=Jt(),st=Ht?cn:U,Re--,Vt++;++Re65535&&(ke-=65536,gt+=F(ke>>>10|55296),ke=56320|ke&1023),ke=gt+F(ke))):Qe!==V&&st(nt,Ct)),ke?(nn(),_=Jt(),Re=Oe-1,q+=Oe-Ge+1,rt.push(ke),at=Jt(),at.offset++,en&&en.call(dn,ke,{start:_,end:at},ze.slice(Ge-1,Oe)),_=at):(he=ze.slice(Ge-1,Oe),Te+=he,q+=he.length,Re=Oe-1)}else Q===10&&(L++,_e++,q=0),Q===Q?(Te+=F(Q),q++):nn();return rt.join("");function Jt(){return{line:L,column:q,offset:Re+(xt.offset||0)}}function cn(Ze,kn){var An=Jt();An.column+=kn,An.offset+=kn,Ht.call(At,ot[Ze],An,Ze)}function nn(){Te&&(rt.push(Te),Ye&&Ye.call(ln,Te,{start:_,end:Jt()}),Te="")}}function wt(ze){return ze>=55296&&ze<=57343||ze>1114111}function R(ze){return ze>=1&&ze<=8||ze===11||ze>=13&&ze<=31||ze>=127&&ze<=159||ze>=64976&&ze<=65007||(ze&65535)===65535||(ze&65535)===65534}},68398:function(S,s,t){var i=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var p=function(g){var h=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,A=0,y={},f={manual:g.Prism&&g.Prism.manual,disableWorkerMessageHandler:g.Prism&&g.Prism.disableWorkerMessageHandler,util:{encode:function j(G){return G instanceof F?new F(G.type,j(G.content),G.alias):Array.isArray(G)?G.map(j):G.replace(/&/g,"&").replace(/"+Y.content+""};function U(j,G,Z,B){j.lastIndex=G;var Y=j.exec(Z);if(Y&&B&&Y[1]){var V=Y[1].length;Y.index+=V,Y[0]=Y[0].slice(V)}return Y}function ne(j,G,Z,B,Y,V){for(var se in Z)if(!(!Z.hasOwnProperty(se)||!Z[se])){var ee=Z[se];ee=Array.isArray(ee)?ee:[ee];for(var X=0;X=V.reach);ot+=it.value.length,it=it.next){var Bt=it.value;if(G.length>j.length)return;if(!(Bt instanceof F)){var Wt=1,wt;if(Ue){if(wt=U(Be,ot,j,D),!wt||wt.index>=j.length)break;var Ie=wt.index,R=wt.index+wt[0].length,ze=ot;for(ze+=it.value.length;Ie>=ze;)it=it.next,ze+=it.value.length;if(ze-=it.value.length,ot=ze,it.value instanceof F)continue;for(var tt=it;tt!==G.tail&&(zeV.reach&&(V.reach=Ht);var ln=it.prev;Ye&&(ln=pe(G,ln,Ye),ot+=Ye.length),ye(G,ln,Wt);var dn=new F(se,me?f.tokenize(pt,me):pt,nt,pt);if(it=pe(G,ln,dn),en&&pe(G,it,en),Wt>1){var At={cause:se+","+X,reach:Ht};ne(j,G,Z,it.prev,ot,At),V&&At.reach>V.reach&&(V.reach=At.reach)}}}}}}function re(){var j={value:null,prev:null,next:null},G={value:null,prev:j,next:null};j.next=G,this.head=j,this.tail=G,this.length=0}function pe(j,G,Z){var B=G.next,Y={value:Z,prev:G,next:B};return G.next=Y,B.prev=Y,j.length++,Y}function ye(j,G,Z){for(var B=G.next,Y=0;Y4&&Ee.slice(0,4)===h&&A.test(ce)&&(ce.charAt(4)==="-"?ge=U(ce):ce=ne(ce),Ce=p),new Ce(ge,ce))}function U(ye){var ce=ye.slice(5).replace(y,pe);return h+ce.charAt(0).toUpperCase()+ce.slice(1)}function ne(ye){var ce=ye.slice(4);return y.test(ce)?ye:(ce=ce.replace(f,re),ce.charAt(0)!=="-"&&(ce="-"+ce),h+ce)}function re(ye){return"-"+ye.toLowerCase()}function pe(ye){return ye.charAt(1).toUpperCase()}},18795:function(S,s,t){"use strict";var i=t(83576),p=t(8179),g=t(59780),h=t(68244),A=t(20019),y=t(38567);S.exports=i([g,p,h,A,y])},20019:function(S,s,t){"use strict";var i=t(70167),p=t(79318),g=i.booleanish,h=i.number,A=i.spaceSeparated;S.exports=p({transform:y,properties:{ariaActiveDescendant:null,ariaAtomic:g,ariaAutoComplete:null,ariaBusy:g,ariaChecked:g,ariaColCount:h,ariaColIndex:h,ariaColSpan:h,ariaControls:A,ariaCurrent:null,ariaDescribedBy:A,ariaDetails:null,ariaDisabled:g,ariaDropEffect:A,ariaErrorMessage:null,ariaExpanded:g,ariaFlowTo:A,ariaGrabbed:g,ariaHasPopup:null,ariaHidden:g,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:A,ariaLevel:h,ariaLive:null,ariaModal:g,ariaMultiLine:g,ariaMultiSelectable:g,ariaOrientation:null,ariaOwns:A,ariaPlaceholder:null,ariaPosInSet:h,ariaPressed:g,ariaReadOnly:g,ariaRelevant:null,ariaRequired:g,ariaRoleDescription:A,ariaRowCount:h,ariaRowIndex:h,ariaRowSpan:h,ariaSelected:g,ariaSetSize:h,ariaSort:null,ariaValueMax:h,ariaValueMin:h,ariaValueNow:h,ariaValueText:null,role:null}});function y(f,F){return F==="role"?F:"aria-"+F.slice(4).toLowerCase()}},38567:function(S,s,t){"use strict";var i=t(70167),p=t(79318),g=t(85804),h=i.boolean,A=i.overloadedBoolean,y=i.booleanish,f=i.number,F=i.spaceSeparated,U=i.commaSeparated;S.exports=p({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:g,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:U,acceptCharset:F,accessKey:F,action:null,allow:null,allowFullScreen:h,allowPaymentRequest:h,allowUserMedia:h,alt:null,as:null,async:h,autoCapitalize:null,autoComplete:F,autoFocus:h,autoPlay:h,capture:h,charSet:null,checked:h,cite:null,className:F,cols:f,colSpan:null,content:null,contentEditable:y,controls:h,controlsList:F,coords:f|U,crossOrigin:null,data:null,dateTime:null,decoding:null,default:h,defer:h,dir:null,dirName:null,disabled:h,download:A,draggable:y,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:h,formTarget:null,headers:F,height:f,hidden:h,high:f,href:null,hrefLang:null,htmlFor:F,httpEquiv:F,id:null,imageSizes:null,imageSrcSet:U,inputMode:null,integrity:null,is:null,isMap:h,itemId:null,itemProp:F,itemRef:F,itemScope:h,itemType:F,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:h,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:h,muted:h,name:null,nonce:null,noModule:h,noValidate:h,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:h,optimum:f,pattern:null,ping:F,placeholder:null,playsInline:h,poster:null,preload:null,readOnly:h,referrerPolicy:null,rel:F,required:h,reversed:h,rows:f,rowSpan:f,sandbox:F,scope:null,scoped:h,seamless:h,selected:h,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:y,src:null,srcDoc:null,srcLang:null,srcSet:U,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:h,useMap:null,value:y,width:f,wrap:null,align:null,aLink:null,archive:F,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:h,declare:h,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:h,noHref:h,noShade:h,noWrap:h,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:y,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:h,disableRemotePlayback:h,prefix:null,property:null,results:f,security:null,unselectable:null}})},85804:function(S,s,t){"use strict";var i=t(56432);S.exports=p;function p(g,h){return i(g,h.toLowerCase())}},56432:function(S){"use strict";S.exports=s;function s(t,i){return i in t?t[i]:i}},79318:function(S,s,t){"use strict";var i=t(47178),p=t(44347),g=t(19095);S.exports=h;function h(A){var y=A.space,f=A.mustUseProperty||[],F=A.attributes||{},U=A.properties,ne=A.transform,re={},pe={},ye,ce;for(ye in U)ce=new g(ye,ne(F,ye),U[ye],y),f.indexOf(ye)!==-1&&(ce.mustUseProperty=!0),re[ye]=ce,pe[i(ye)]=ye,pe[i(ce.attribute)]=ye;return new p(re,pe,y)}},19095:function(S,s,t){"use strict";var i=t(1969),p=t(70167);S.exports=A,A.prototype=new i,A.prototype.defined=!0;var g=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],h=g.length;function A(f,F,U,ne){var re=-1,pe;for(y(this,"space",ne),i.call(this,f,F);++re0&&arguments[0]!==void 0?arguments[0]:[],_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],q=Re.length,L=_e.length;if(Math.abs(q-L)!==1)return{add:!1,key:null};function Te(rt,W){var z=new Map;rt.forEach(function(he){z.set(he,!0)});var De=W.filter(function(he){return!z.has(he)});return De.length===1?De[0]:null}return q ").concat(_e);return _e}var Ye=ge.forwardRef(function(Re,_e){var q=Re.prefixCls,L=Re.data,Te=Re.selectable,rt=Re.checkable,W=Re.expandedKeys,z=Re.selectedKeys,De=Re.checkedKeys,he=Re.loadedKeys,Q=Re.loadingKeys,ke=Re.halfCheckedKeys,dt=Re.keyEntities,st=Re.disabled,mt=Re.dragging,gt=Re.dragOverNodeKey,yt=Re.dropPosition,te=Re.motion,Ge=Re.height,Qe=Re.itemHeight,Xe=Re.virtual,_=Re.focusable,at=Re.activeItem,Ct=Re.focused,Oe=Re.tabIndex,Jt=Re.onKeyDown,cn=Re.onFocus,nn=Re.onBlur,Ze=Re.onActiveChange,kn=Re.onListChangeStart,An=Re.onListChangeEnd,_t=(0,B.Z)(Re,it),zn=ge.useRef(null),Ln=ge.useRef(null);ge.useImperativeHandle(_e,function(){return{scrollTo:function(gn){zn.current.scrollTo(gn)},getIndentWidth:function(){return Ln.current.offsetWidth}}});var Dn=ge.useState(W),Gn=(0,Z.Z)(Dn,2),fr=Gn[0],er=Gn[1],xr=ge.useState(L),kr=(0,Z.Z)(xr,2),On=kr[0],Sr=kr[1],Zn=ge.useState(L),Cr=(0,Z.Z)(Zn,2),Vr=Cr[0],Zr=Cr[1],Ir=ge.useState([]),ir=(0,Z.Z)(Ir,2),Kn=ir[0],Vn=ir[1],Gr=ge.useState(null),Nr=(0,Z.Z)(Gr,2),Rt=Nr[0],lt=Nr[1],$t=ge.useRef(L);$t.current=L;function vt(){var bt=$t.current;Sr(bt),Zr(bt),Vn([]),lt(null),An()}(0,Y.Z)(function(){er(W);var bt=kt(fr,W);if(bt.key!==null)if(bt.add){var gn=On.findIndex(function(He){var Dt=He.key;return Dt===bt.key}),we=tt(Be(On,L,bt.key),Xe,Ge,Qe),ie=On.slice();ie.splice(gn+1,0,ze),Zr(ie),Vn(we),lt("show")}else{var c=L.findIndex(function(He){var Dt=He.key;return Dt===bt.key}),ht=tt(Be(L,On,bt.key),Xe,Ge,Qe),Lt=L.slice();Lt.splice(c+1,0,ze),Zr(Lt),Vn(ht),lt("hide")}else On!==L&&(Sr(L),Zr(L))},[W,L]),ge.useEffect(function(){mt||vt()},[mt]);var un=te?Vr:L,Cn={expandedKeys:W,selectedKeys:z,loadedKeys:he,loadingKeys:Q,checkedKeys:De,halfCheckedKeys:ke,dragOverNodeKey:gt,dropPosition:yt,keyEntities:dt};return ge.createElement(ge.Fragment,null,Ct&&at&&ge.createElement("span",{style:ot,"aria-live":"assertive"},pt(at)),ge.createElement("div",null,ge.createElement("input",{style:ot,disabled:_===!1||st,tabIndex:_!==!1?Oe:null,onKeyDown:Jt,onFocus:cn,onBlur:nn,value:"",onChange:Bt,"aria-label":"for screen reader"})),ge.createElement("div",{className:"".concat(q,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ge.createElement("div",{className:"".concat(q,"-indent")},ge.createElement("div",{ref:Ln,className:"".concat(q,"-indent-unit")}))),ge.createElement(V.Z,(0,i.Z)({},_t,{data:un,itemKey:Ie,height:Ge,fullHeight:!1,virtual:Xe,itemHeight:Qe,prefixCls:"".concat(q,"-list"),ref:zn,onVisibleChange:function(gn,we){var ie=new Set(gn),c=we.filter(function(ht){return!ie.has(ht)});c.some(function(ht){return Ie(ht)===Wt})&&vt()}}),function(bt){var gn=bt.pos,we=(0,i.Z)({},(G(bt.data),bt.data)),ie=bt.title,c=bt.key,ht=bt.isStart,Lt=bt.isEnd,He=(0,Se.km)(c,gn);delete we.key,delete we.children;var Dt=(0,Se.H8)(He,Cn);return ge.createElement(nt,(0,i.Z)({},we,Dt,{title:ie,active:!!at&&c===at.key,pos:gn,data:bt.data,isStart:ht,isEnd:Lt,motion:te,motionNodes:c===Wt?Kn:null,motionType:Rt,onMotionStart:kn,onMotionEnd:vt,treeNodeRequiredProps:Cn,onMouseMove:function(){Ze(null)}}))}))});Ye.displayName="NodeList";var en=Ye,Ht=t(35654),ln=t(90782),dn=t(67841),At=10,xt=function(Re){(0,U.Z)(q,Re);var _e=(0,ne.Z)(q);function q(){var L;(0,y.Z)(this,q);for(var Te=arguments.length,rt=new Array(Te),W=0;W2&&arguments[2]!==void 0?arguments[2]:!1,ke=L.state,dt=ke.dragChildrenKeys,st=ke.dropPosition,mt=ke.dropTargetKey,gt=ke.dropTargetPos,yt=ke.dropAllowed;if(yt){var te=L.props.onDrop;if(L.setState({dragOverNodeKey:null}),L.cleanDragState(),mt!==null){var Ge=(0,h.Z)((0,h.Z)({},(0,Se.H8)(mt,L.getTreeNodeRequiredProps())),{},{active:((he=L.getActiveItem())===null||he===void 0?void 0:he.key)===mt,data:(0,dn.Z)(L.state.keyEntities,mt).node}),Qe=dt.indexOf(mt)!==-1;(0,Ee.ZP)(!Qe,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Xe=(0,Ht.yx)(gt),_={event:z,node:(0,Se.F)(Ge),dragNode:L.dragNode?(0,Se.F)(L.dragNode.props):null,dragNodesKeys:[L.dragNode.props.eventKey].concat(dt),dropToGap:st!==0,dropPosition:st+Number(Xe[Xe.length-1])};Q||te==null||te(_),L.dragNode=null}}},L.cleanDragState=function(){var z=L.state.draggingNodeKey;z!==null&&L.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),L.dragStartMousePosition=null,L.currentMouseOverDroppableNodeKey=null},L.triggerExpandActionExpand=function(z,De){var he=L.state,Q=he.expandedKeys,ke=he.flattenNodes,dt=De.expanded,st=De.key,mt=De.isLeaf;if(!(mt||z.shiftKey||z.metaKey||z.ctrlKey)){var gt=ke.filter(function(te){return te.key===st})[0],yt=(0,Se.F)((0,h.Z)((0,h.Z)({},(0,Se.H8)(st,L.getTreeNodeRequiredProps())),{},{data:gt.data}));L.setExpandedKeys(dt?(0,Ht._5)(Q,st):(0,Ht.L0)(Q,st)),L.onNodeExpand(z,yt)}},L.onNodeClick=function(z,De){var he=L.props,Q=he.onClick,ke=he.expandAction;ke==="click"&&L.triggerExpandActionExpand(z,De),Q==null||Q(z,De)},L.onNodeDoubleClick=function(z,De){var he=L.props,Q=he.onDoubleClick,ke=he.expandAction;ke==="doubleClick"&&L.triggerExpandActionExpand(z,De),Q==null||Q(z,De)},L.onNodeSelect=function(z,De){var he=L.state.selectedKeys,Q=L.state,ke=Q.keyEntities,dt=Q.fieldNames,st=L.props,mt=st.onSelect,gt=st.multiple,yt=De.selected,te=De[dt.key],Ge=!yt;Ge?gt?he=(0,Ht.L0)(he,te):he=[te]:he=(0,Ht._5)(he,te);var Qe=he.map(function(Xe){var _=(0,dn.Z)(ke,Xe);return _?_.node:null}).filter(function(Xe){return Xe});L.setUncontrolledState({selectedKeys:he}),mt==null||mt(he,{event:"select",selected:Ge,node:De,selectedNodes:Qe,nativeEvent:z.nativeEvent})},L.onNodeCheck=function(z,De,he){var Q=L.state,ke=Q.keyEntities,dt=Q.checkedKeys,st=Q.halfCheckedKeys,mt=L.props,gt=mt.checkStrictly,yt=mt.onCheck,te=De.key,Ge,Qe={event:"check",node:De,checked:he,nativeEvent:z.nativeEvent};if(gt){var Xe=he?(0,Ht.L0)(dt,te):(0,Ht._5)(dt,te),_=(0,Ht._5)(st,te);Ge={checked:Xe,halfChecked:_},Qe.checkedNodes=Xe.map(function(nn){return(0,dn.Z)(ke,nn)}).filter(function(nn){return nn}).map(function(nn){return nn.node}),L.setUncontrolledState({checkedKeys:Xe})}else{var at=(0,ln.S)([].concat((0,A.Z)(dt),[te]),!0,ke),Ct=at.checkedKeys,Oe=at.halfCheckedKeys;if(!he){var Jt=new Set(Ct);Jt.delete(te);var cn=(0,ln.S)(Array.from(Jt),{checked:!1,halfCheckedKeys:Oe},ke);Ct=cn.checkedKeys,Oe=cn.halfCheckedKeys}Ge=Ct,Qe.checkedNodes=[],Qe.checkedNodesPositions=[],Qe.halfCheckedKeys=Oe,Ct.forEach(function(nn){var Ze=(0,dn.Z)(ke,nn);if(Ze){var kn=Ze.node,An=Ze.pos;Qe.checkedNodes.push(kn),Qe.checkedNodesPositions.push({node:kn,pos:An})}}),L.setUncontrolledState({checkedKeys:Ct},!1,{halfCheckedKeys:Oe})}yt==null||yt(Ge,Qe)},L.onNodeLoad=function(z){var De=z.key,he=new Promise(function(Q,ke){L.setState(function(dt){var st=dt.loadedKeys,mt=st===void 0?[]:st,gt=dt.loadingKeys,yt=gt===void 0?[]:gt,te=L.props,Ge=te.loadData,Qe=te.onLoad;if(!Ge||mt.indexOf(De)!==-1||yt.indexOf(De)!==-1)return null;var Xe=Ge(z);return Xe.then(function(){var _=L.state.loadedKeys,at=(0,Ht.L0)(_,De);Qe==null||Qe(at,{event:"load",node:z}),L.setUncontrolledState({loadedKeys:at}),L.setState(function(Ct){return{loadingKeys:(0,Ht._5)(Ct.loadingKeys,De)}}),Q()}).catch(function(_){if(L.setState(function(Ct){return{loadingKeys:(0,Ht._5)(Ct.loadingKeys,De)}}),L.loadingRetryTimes[De]=(L.loadingRetryTimes[De]||0)+1,L.loadingRetryTimes[De]>=At){var at=L.state.loadedKeys;(0,Ee.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),L.setUncontrolledState({loadedKeys:(0,Ht.L0)(at,De)}),Q()}ke(_)}),{loadingKeys:(0,Ht.L0)(yt,De)}})});return he.catch(function(){}),he},L.onNodeMouseEnter=function(z,De){var he=L.props.onMouseEnter;he==null||he({event:z,node:De})},L.onNodeMouseLeave=function(z,De){var he=L.props.onMouseLeave;he==null||he({event:z,node:De})},L.onNodeContextMenu=function(z,De){var he=L.props.onRightClick;he&&(z.preventDefault(),he({event:z,node:De}))},L.onFocus=function(){var z=L.props.onFocus;L.setState({focused:!0});for(var De=arguments.length,he=new Array(De),Q=0;Q1&&arguments[1]!==void 0?arguments[1]:!1,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!L.destroyed){var Q=!1,ke=!0,dt={};Object.keys(z).forEach(function(st){if(st in L.props){ke=!1;return}Q=!0,dt[st]=z[st]}),Q&&(!De||ke)&&L.setState((0,h.Z)((0,h.Z)({},dt),he))}},L.scrollTo=function(z){L.listRef.current.scrollTo(z)},L}return(0,f.Z)(q,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Te=this.props.activeKey;Te!==void 0&&Te!==this.state.activeKey&&(this.setState({activeKey:Te}),Te!==null&&this.scrollTo({key:Te}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Te,rt=this.state,W=rt.focused,z=rt.flattenNodes,De=rt.keyEntities,he=rt.draggingNodeKey,Q=rt.activeKey,ke=rt.dropLevelOffset,dt=rt.dropContainerKey,st=rt.dropTargetKey,mt=rt.dropPosition,gt=rt.dragOverNodeKey,yt=rt.indent,te=this.props,Ge=te.prefixCls,Qe=te.className,Xe=te.style,_=te.showLine,at=te.focusable,Ct=te.tabIndex,Oe=Ct===void 0?0:Ct,Jt=te.selectable,cn=te.showIcon,nn=te.icon,Ze=te.switcherIcon,kn=te.draggable,An=te.checkable,_t=te.checkStrictly,zn=te.disabled,Ln=te.motion,Dn=te.loadData,Gn=te.filterTreeNode,fr=te.height,er=te.itemHeight,xr=te.virtual,kr=te.titleRender,On=te.dropIndicatorRender,Sr=te.onContextMenu,Zn=te.onScroll,Cr=te.direction,Vr=te.rootClassName,Zr=te.rootStyle,Ir=(0,ce.Z)(this.props,{aria:!0,data:!0}),ir;return kn&&((0,g.Z)(kn)==="object"?ir=kn:typeof kn=="function"?ir={nodeDraggable:kn}:ir={}),ge.createElement(Ce.k.Provider,{value:{prefixCls:Ge,selectable:Jt,showIcon:cn,icon:nn,switcherIcon:Ze,draggable:ir,draggingNodeKey:he,checkable:An,checkStrictly:_t,disabled:zn,keyEntities:De,dropLevelOffset:ke,dropContainerKey:dt,dropTargetKey:st,dropPosition:mt,dragOverNodeKey:gt,indent:yt,direction:Cr,dropIndicatorRender:On,loadData:Dn,filterTreeNode:Gn,titleRender:kr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},ge.createElement("div",{role:"tree",className:pe()(Ge,Qe,Vr,(Te={},(0,p.Z)(Te,"".concat(Ge,"-show-line"),_),(0,p.Z)(Te,"".concat(Ge,"-focused"),W),(0,p.Z)(Te,"".concat(Ge,"-active-focused"),Q!==null),Te)),style:Zr},ge.createElement(en,(0,i.Z)({ref:this.listRef,prefixCls:Ge,style:Xe,data:z,disabled:zn,selectable:Jt,checkable:!!An,motion:Ln,dragging:he!==null,height:fr,itemHeight:er,virtual:xr,focusable:at,focused:W,tabIndex:Oe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Sr,onScroll:Zn},this.getTreeNodeRequiredProps(),Ir))))}}],[{key:"getDerivedStateFromProps",value:function(Te,rt){var W=rt.prevProps,z={prevProps:Te};function De(at){return!W&&at in Te||W&&W[at]!==Te[at]}var he,Q=rt.fieldNames;if(De("fieldNames")&&(Q=(0,Se.w$)(Te.fieldNames),z.fieldNames=Q),De("treeData")?he=Te.treeData:De("children")&&((0,Ee.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),he=(0,Se.zn)(Te.children)),he){z.treeData=he;var ke=(0,Se.I8)(he,{fieldNames:Q});z.keyEntities=(0,h.Z)((0,p.Z)({},Wt,R),ke.keyEntities)}var dt=z.keyEntities||rt.keyEntities;if(De("expandedKeys")||W&&De("autoExpandParent"))z.expandedKeys=Te.autoExpandParent||!W&&Te.defaultExpandParent?(0,Ht.r7)(Te.expandedKeys,dt):Te.expandedKeys;else if(!W&&Te.defaultExpandAll){var st=(0,h.Z)({},dt);delete st[Wt],z.expandedKeys=Object.keys(st).map(function(at){return st[at].key})}else!W&&Te.defaultExpandedKeys&&(z.expandedKeys=Te.autoExpandParent||Te.defaultExpandParent?(0,Ht.r7)(Te.defaultExpandedKeys,dt):Te.defaultExpandedKeys);if(z.expandedKeys||delete z.expandedKeys,he||z.expandedKeys){var mt=(0,Se.oH)(he||rt.treeData,z.expandedKeys||rt.expandedKeys,Q);z.flattenNodes=mt}if(Te.selectable&&(De("selectedKeys")?z.selectedKeys=(0,Ht.BT)(Te.selectedKeys,Te):!W&&Te.defaultSelectedKeys&&(z.selectedKeys=(0,Ht.BT)(Te.defaultSelectedKeys,Te))),Te.checkable){var gt;if(De("checkedKeys")?gt=(0,Ht.E6)(Te.checkedKeys)||{}:!W&&Te.defaultCheckedKeys?gt=(0,Ht.E6)(Te.defaultCheckedKeys)||{}:he&&(gt=(0,Ht.E6)(Te.checkedKeys)||{checkedKeys:rt.checkedKeys,halfCheckedKeys:rt.halfCheckedKeys}),gt){var yt=gt,te=yt.checkedKeys,Ge=te===void 0?[]:te,Qe=yt.halfCheckedKeys,Xe=Qe===void 0?[]:Qe;if(!Te.checkStrictly){var _=(0,ln.S)(Ge,!0,dt);Ge=_.checkedKeys,Xe=_.halfCheckedKeys}z.checkedKeys=Ge,z.halfCheckedKeys=Xe}}return De("loadedKeys")&&(z.loadedKeys=Te.loadedKeys),z}}]),q}(ge.Component);xt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:j,allowDrop:function(){return!0},expandAction:!1},xt.TreeNode=ee.Z;var Xt=xt,Vt=Xt},35654:function(S,s,t){"use strict";t.d(s,{BT:function(){return ge},E6:function(){return G},L0:function(){return ne},OM:function(){return Ee},_5:function(){return U},r7:function(){return Z},wA:function(){return pe},yx:function(){return re}});var i=t(94480),p=t(76190),g=t(48736),h=t(59301),A=t(39417),y=t(67841),f=t(71430),F=null;function U(B,Y){if(!B)return[];var V=B.slice(),se=V.indexOf(Y);return se>=0&&V.splice(se,1),V}function ne(B,Y){var V=(B||[]).slice();return V.indexOf(Y)===-1&&V.push(Y),V}function re(B){return B.split("-")}function pe(B,Y){var V=[],se=(0,y.Z)(Y,B);function ee(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];X.forEach(function(Se){var me=Se.key,D=Se.children;V.push(me),ee(D)})}return ee(se.children),V}function ye(B){if(B.parent){var Y=re(B.pos);return Number(Y[Y.length-1])===B.parent.children.length-1}return!1}function ce(B){var Y=re(B.pos);return Number(Y[Y.length-1])===0}function Ee(B,Y,V,se,ee,X,Se,me,D,Ue){var nt,kt=B.clientX,Be=B.clientY,it=B.target.getBoundingClientRect(),ot=it.top,Bt=it.height,Wt=(Ue==="rtl"?-1:1)*(((ee==null?void 0:ee.x)||0)-kt),wt=(Wt-12)/se,R=(0,y.Z)(me,V.props.eventKey);if(Be-1.5?X({dragNode:At,dropNode:xt,dropPosition:1})?Ht=1:Xt=!1:X({dragNode:At,dropNode:xt,dropPosition:0})?Ht=0:X({dragNode:At,dropNode:xt,dropPosition:1})?Ht=1:Xt=!1:X({dragNode:At,dropNode:xt,dropPosition:1})?Ht=1:Xt=!1,{dropPosition:Ht,dropLevelOffset:ln,dropTargetKey:R.key,dropTargetPos:R.pos,dragOverNodeKey:en,dropContainerKey:Ht===0?null:((nt=R.parent)===null||nt===void 0?void 0:nt.key)||null,dropAllowed:Xt}}function ge(B,Y){if(B){var V=Y.multiple;return V?B.slice():B.length?[B[0]]:B}}var Ce=function(Y){return Y};function j(B,Y){if(!B)return[];var V=Y||{},se=V.processProps,ee=se===void 0?Ce:se,X=Array.isArray(B)?B:[B];return X.map(function(Se){var me=Se.children,D=_objectWithoutProperties(Se,F),Ue=j(me,Y);return React.createElement(TreeNode,_extends({key:D.key},ee(D)),Ue)})}function G(B){if(!B)return null;var Y;if(Array.isArray(B))Y={checkedKeys:B,halfCheckedKeys:void 0};else if((0,p.Z)(B)==="object")Y={checkedKeys:B.checked||void 0,halfCheckedKeys:B.halfChecked||void 0};else return(0,g.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Y}function Z(B,Y){var V=new Set;function se(ee){if(!V.has(ee)){var X=(0,y.Z)(Y,ee);if(X){V.add(ee);var Se=X.parent,me=X.node;me.disabled||Se&&se(Se.key)}}}return(B||[]).forEach(function(ee){se(ee)}),(0,i.Z)(V)}},90782:function(S,s,t){"use strict";t.d(s,{S:function(){return f}});var i=t(48736),p=t(67841);function g(F,U){var ne=new Set;return F.forEach(function(re){U.has(re)||ne.add(re)}),ne}function h(F){var U=F||{},ne=U.disabled,re=U.disableCheckbox,pe=U.checkable;return!!(ne||re)||pe===!1}function A(F,U,ne,re){for(var pe=new Set(F),ye=new Set,ce=0;ce<=ne;ce+=1){var Ee=U.get(ce)||new Set;Ee.forEach(function(G){var Z=G.key,B=G.node,Y=G.children,V=Y===void 0?[]:Y;pe.has(Z)&&!re(B)&&V.filter(function(se){return!re(se.node)}).forEach(function(se){pe.add(se.key)})})}for(var ge=new Set,Ce=ne;Ce>=0;Ce-=1){var j=U.get(Ce)||new Set;j.forEach(function(G){var Z=G.parent,B=G.node;if(!(re(B)||!G.parent||ge.has(G.parent.key))){if(re(G.parent.node)){ge.add(Z.key);return}var Y=!0,V=!1;(Z.children||[]).filter(function(se){return!re(se.node)}).forEach(function(se){var ee=se.key,X=pe.has(ee);Y&&!X&&(Y=!1),!V&&(X||ye.has(ee))&&(V=!0)}),Y&&pe.add(Z.key),V&&ye.add(Z.key),ge.add(Z.key)}})}return{checkedKeys:Array.from(pe),halfCheckedKeys:Array.from(g(ye,pe))}}function y(F,U,ne,re,pe){for(var ye=new Set(F),ce=new Set(U),Ee=0;Ee<=re;Ee+=1){var ge=ne.get(Ee)||new Set;ge.forEach(function(Z){var B=Z.key,Y=Z.node,V=Z.children,se=V===void 0?[]:V;!ye.has(B)&&!ce.has(B)&&!pe(Y)&&se.filter(function(ee){return!pe(ee.node)}).forEach(function(ee){ye.delete(ee.key)})})}ce=new Set;for(var Ce=new Set,j=re;j>=0;j-=1){var G=ne.get(j)||new Set;G.forEach(function(Z){var B=Z.parent,Y=Z.node;if(!(pe(Y)||!Z.parent||Ce.has(Z.parent.key))){if(pe(Z.parent.node)){Ce.add(B.key);return}var V=!0,se=!1;(B.children||[]).filter(function(ee){return!pe(ee.node)}).forEach(function(ee){var X=ee.key,Se=ye.has(X);V&&!Se&&(V=!1),!se&&(Se||ce.has(X))&&(se=!0)}),V||ye.delete(B.key),se&&ce.add(B.key),Ce.add(B.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(g(ce,ye))}}function f(F,U,ne,re){var pe=[],ye;re?ye=re:ye=h;var ce=new Set(F.filter(function(j){var G=!!(0,p.Z)(ne,j);return G||pe.push(j),G})),Ee=new Map,ge=0;Object.keys(ne).forEach(function(j){var G=ne[j],Z=G.level,B=Ee.get(Z);B||(B=new Set,Ee.set(Z,B)),B.add(G),ge=Math.max(ge,Z)}),(0,i.ZP)(!pe.length,"Tree missing follow keys: ".concat(pe.slice(0,100).map(function(j){return"'".concat(j,"'")}).join(", ")));var Ce;return U===!0?Ce=A(ce,Ee,ge,ye):Ce=y(ce,U.halfCheckedKeys,Ee,ge,ye),Ce}},67841:function(S,s,t){"use strict";t.d(s,{Z:function(){return i}});function i(p,g){return p[g]}},71430:function(S,s,t){"use strict";t.d(s,{F:function(){return Z},H8:function(){return G},I8:function(){return j},km:function(){return pe},oH:function(){return ge},w$:function(){return ye},zn:function(){return Ee}});var i=t(76190),p=t(94480),g=t(33885),h=t(75931),A=t(11592),y=t(2738),f=t(48736),F=t(67841),U=["children"];function ne(B,Y){return"".concat(B,"-").concat(Y)}function re(B){return B&&B.type&&B.type.isTreeNode}function pe(B,Y){return B!=null?B:Y}function ye(B){var Y=B||{},V=Y.title,se=Y._title,ee=Y.key,X=Y.children,Se=V||"title";return{title:Se,_title:se||[Se],key:ee||"key",children:X||"children"}}function ce(B,Y){var V=new Map;function se(ee){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ee||[]).forEach(function(Se){var me=Se[Y.key],D=Se[Y.children];warning(me!=null,"Tree node must have a certain key: [".concat(X).concat(me,"]"));var Ue=String(me);warning(!V.has(Ue)||me===null||me===void 0,"Same 'key' exist in the Tree: ".concat(Ue)),V.set(Ue,!0),se(D,"".concat(X).concat(Ue," > "))})}se(B)}function Ee(B){function Y(V){var se=(0,A.Z)(V);return se.map(function(ee){if(!re(ee))return(0,f.ZP)(!ee,"Tree/TreeNode can only accept TreeNode as children."),null;var X=ee.key,Se=ee.props,me=Se.children,D=(0,h.Z)(Se,U),Ue=(0,g.Z)({key:X},D),nt=Y(me);return nt.length&&(Ue.children=nt),Ue}).filter(function(ee){return ee})}return Y(B)}function ge(B,Y,V){var se=ye(V),ee=se._title,X=se.key,Se=se.children,me=new Set(Y===!0?[]:Y),D=[];function Ue(nt){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return nt.map(function(Be,it){for(var ot=ne(kt?kt.pos:"0",it),Bt=pe(Be[X],ot),Wt,wt=0;wt1&&arguments[1]!==void 0?arguments[1]:{},V=Y.initWrapper,se=Y.processEntity,ee=Y.onProcessFinished,X=Y.externalGetKey,Se=Y.childrenPropName,me=Y.fieldNames,D=arguments.length>2?arguments[2]:void 0,Ue=X||D,nt={},kt={},Be={posEntities:nt,keyEntities:kt};return V&&(Be=V(Be)||Be),Ce(B,function(it){var ot=it.node,Bt=it.index,Wt=it.pos,wt=it.key,R=it.parentPos,ze=it.level,tt=it.nodes,Ie={node:ot,nodes:tt,index:Bt,key:wt,pos:Wt,level:ze},pt=pe(wt,Wt);nt[Wt]=Ie,kt[pt]=Ie,Ie.parent=nt[R],Ie.parent&&(Ie.parent.children=Ie.parent.children||[],Ie.parent.children.push(Ie)),se&&se(Ie,Be)},{externalGetKey:Ue,childrenPropName:Se,fieldNames:me}),ee&&ee(Be),Be}function G(B,Y){var V=Y.expandedKeys,se=Y.selectedKeys,ee=Y.loadedKeys,X=Y.loadingKeys,Se=Y.checkedKeys,me=Y.halfCheckedKeys,D=Y.dragOverNodeKey,Ue=Y.dropPosition,nt=Y.keyEntities,kt=(0,F.Z)(nt,B),Be={eventKey:B,expanded:V.indexOf(B)!==-1,selected:se.indexOf(B)!==-1,loaded:ee.indexOf(B)!==-1,loading:X.indexOf(B)!==-1,checked:Se.indexOf(B)!==-1,halfChecked:me.indexOf(B)!==-1,pos:String(kt?kt.pos:""),dragOver:D===B&&Ue===0,dragOverGapTop:D===B&&Ue===-1,dragOverGapBottom:D===B&&Ue===1};return Be}function Z(B){var Y=B.data,V=B.expanded,se=B.selected,ee=B.checked,X=B.loaded,Se=B.loading,me=B.halfChecked,D=B.dragOver,Ue=B.dragOverGapTop,nt=B.dragOverGapBottom,kt=B.pos,Be=B.active,it=B.eventKey,ot=(0,g.Z)((0,g.Z)({},Y),{},{expanded:V,selected:se,checked:ee,loaded:X,loading:Se,halfChecked:me,dragOver:D,dragOverGapTop:Ue,dragOverGapBottom:nt,pos:kt,active:Be,key:it});return"props"in ot||Object.defineProperty(ot,"props",{get:function(){return(0,f.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),B}}),ot}},8224:function(S,s,t){"use strict";t.d(s,{Z:function(){return p}});var i=t(4676);function p(g,h,A,y){var f=i.unstable_batchedUpdates?function(U){i.unstable_batchedUpdates(A,U)}:A;return g!=null&&g.addEventListener&&g.addEventListener(h,f,y),{remove:function(){g!=null&&g.removeEventListener&&g.removeEventListener(h,f,y)}}}},55468:function(S,s,t){"use strict";t.d(s,{g1:function(){return re},os:function(){return ye}});var i=/margin|padding|width|height|max|min|offset/,p={left:!0,top:!0},g={cssFloat:1,styleFloat:1,float:1};function h(ce){return ce.nodeType===1?ce.ownerDocument.defaultView.getComputedStyle(ce,null):{}}function A(ce,Ee,ge){if(Ee=Ee.toLowerCase(),ge==="auto"){if(Ee==="height")return ce.offsetHeight;if(Ee==="width")return ce.offsetWidth}return Ee in p||(p[Ee]=i.test(Ee)),p[Ee]?parseFloat(ge)||0:ge}function y(ce,Ee){var ge=arguments.length,Ce=h(ce);return Ee=g[Ee]?"cssFloat"in ce.style?"cssFloat":"styleFloat":Ee,ge===1?Ce:A(ce,Ee,Ce[Ee]||ce.style[Ee])}function f(ce,Ee,ge){var Ce=arguments.length;if(Ee=g[Ee]?"cssFloat"in ce.style?"cssFloat":"styleFloat":Ee,Ce===3)return typeof ge=="number"&&i.test(Ee)&&(ge="".concat(ge,"px")),ce.style[Ee]=ge,ge;for(var j in Ee)Ee.hasOwnProperty(j)&&f(ce,j,Ee[j]);return h(ce)}function F(ce){return ce===document.body?document.documentElement.clientWidth:ce.offsetWidth}function U(ce){return ce===document.body?window.innerHeight||document.documentElement.clientHeight:ce.offsetHeight}function ne(){var ce=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Ee=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ce,height:Ee}}function re(){var ce=document.documentElement.clientWidth,Ee=window.innerHeight||document.documentElement.clientHeight;return{width:ce,height:Ee}}function pe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ye(ce){var Ee=ce.getBoundingClientRect(),ge=document.documentElement;return{left:Ee.left+(window.pageXOffset||ge.scrollLeft)-(ge.clientLeft||document.body.clientLeft||0),top:Ee.top+(window.pageYOffset||ge.scrollTop)-(ge.clientTop||document.body.clientTop||0)}}},3465:function(S,s,t){"use strict";t.d(s,{G:function(){return h}});var i=t(47273),p=function(y){if((0,i.Z)()&&window.document.documentElement){var f=Array.isArray(y)?y:[y],F=window.document.documentElement;return f.some(function(U){return U in F.style})}return!1},g=function(y,f){if(!p(y))return!1;var F=document.createElement("div"),U=F.style[y];return F.style[y]=f,F.style[y]!==U};function h(A,y){return!Array.isArray(A)&&y!==void 0?g(A,y):p(A)}},66328:function(S,s,t){"use strict";t.d(s,{Z:function(){return wt}});var i=t(75931),p=t(94480),g=t(20068),h=t(59301),A=t(54476);function y(R,ze){var tt=Object.keys(R);if(Object.getOwnPropertySymbols){var Ie=Object.getOwnPropertySymbols(R);ze&&(Ie=Ie.filter(function(pt){return Object.getOwnPropertyDescriptor(R,pt).enumerable})),tt.push.apply(tt,Ie)}return tt}function f(R){for(var ze=1;ze=4)return[R[0],R[1],R[2],R[3],"".concat(R[0],".").concat(R[1]),"".concat(R[0],".").concat(R[2]),"".concat(R[0],".").concat(R[3]),"".concat(R[1],".").concat(R[0]),"".concat(R[1],".").concat(R[2]),"".concat(R[1],".").concat(R[3]),"".concat(R[2],".").concat(R[0]),"".concat(R[2],".").concat(R[1]),"".concat(R[2],".").concat(R[3]),"".concat(R[3],".").concat(R[0]),"".concat(R[3],".").concat(R[1]),"".concat(R[3],".").concat(R[2]),"".concat(R[0],".").concat(R[1],".").concat(R[2]),"".concat(R[0],".").concat(R[1],".").concat(R[3]),"".concat(R[0],".").concat(R[2],".").concat(R[1]),"".concat(R[0],".").concat(R[2],".").concat(R[3]),"".concat(R[0],".").concat(R[3],".").concat(R[1]),"".concat(R[0],".").concat(R[3],".").concat(R[2]),"".concat(R[1],".").concat(R[0],".").concat(R[2]),"".concat(R[1],".").concat(R[0],".").concat(R[3]),"".concat(R[1],".").concat(R[2],".").concat(R[0]),"".concat(R[1],".").concat(R[2],".").concat(R[3]),"".concat(R[1],".").concat(R[3],".").concat(R[0]),"".concat(R[1],".").concat(R[3],".").concat(R[2]),"".concat(R[2],".").concat(R[0],".").concat(R[1]),"".concat(R[2],".").concat(R[0],".").concat(R[3]),"".concat(R[2],".").concat(R[1],".").concat(R[0]),"".concat(R[2],".").concat(R[1],".").concat(R[3]),"".concat(R[2],".").concat(R[3],".").concat(R[0]),"".concat(R[2],".").concat(R[3],".").concat(R[1]),"".concat(R[3],".").concat(R[0],".").concat(R[1]),"".concat(R[3],".").concat(R[0],".").concat(R[2]),"".concat(R[3],".").concat(R[1],".").concat(R[0]),"".concat(R[3],".").concat(R[1],".").concat(R[2]),"".concat(R[3],".").concat(R[2],".").concat(R[0]),"".concat(R[3],".").concat(R[2],".").concat(R[1]),"".concat(R[0],".").concat(R[1],".").concat(R[2],".").concat(R[3]),"".concat(R[0],".").concat(R[1],".").concat(R[3],".").concat(R[2]),"".concat(R[0],".").concat(R[2],".").concat(R[1],".").concat(R[3]),"".concat(R[0],".").concat(R[2],".").concat(R[3],".").concat(R[1]),"".concat(R[0],".").concat(R[3],".").concat(R[1],".").concat(R[2]),"".concat(R[0],".").concat(R[3],".").concat(R[2],".").concat(R[1]),"".concat(R[1],".").concat(R[0],".").concat(R[2],".").concat(R[3]),"".concat(R[1],".").concat(R[0],".").concat(R[3],".").concat(R[2]),"".concat(R[1],".").concat(R[2],".").concat(R[0],".").concat(R[3]),"".concat(R[1],".").concat(R[2],".").concat(R[3],".").concat(R[0]),"".concat(R[1],".").concat(R[3],".").concat(R[0],".").concat(R[2]),"".concat(R[1],".").concat(R[3],".").concat(R[2],".").concat(R[0]),"".concat(R[2],".").concat(R[0],".").concat(R[1],".").concat(R[3]),"".concat(R[2],".").concat(R[0],".").concat(R[3],".").concat(R[1]),"".concat(R[2],".").concat(R[1],".").concat(R[0],".").concat(R[3]),"".concat(R[2],".").concat(R[1],".").concat(R[3],".").concat(R[0]),"".concat(R[2],".").concat(R[3],".").concat(R[0],".").concat(R[1]),"".concat(R[2],".").concat(R[3],".").concat(R[1],".").concat(R[0]),"".concat(R[3],".").concat(R[0],".").concat(R[1],".").concat(R[2]),"".concat(R[3],".").concat(R[0],".").concat(R[2],".").concat(R[1]),"".concat(R[3],".").concat(R[1],".").concat(R[0],".").concat(R[2]),"".concat(R[3],".").concat(R[1],".").concat(R[2],".").concat(R[0]),"".concat(R[3],".").concat(R[2],".").concat(R[0],".").concat(R[1]),"".concat(R[3],".").concat(R[2],".").concat(R[1],".").concat(R[0])]}var U={};function ne(R){if(R.length===0||R.length===1)return R;var ze=R.join(".");return U[ze]||(U[ze]=F(R)),U[ze]}function re(R){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=arguments.length>2?arguments[2]:void 0,Ie=R.filter(function(Ye){return Ye!=="token"}),pt=ne(Ie);return pt.reduce(function(Ye,en){return f(f({},Ye),tt[en])},ze)}function pe(R){return R.join(" ")}function ye(R,ze){var tt=0;return function(Ie){return tt+=1,Ie.map(function(pt,Ye){return ce({node:pt,stylesheet:R,useInlineStyles:ze,key:"code-segment-".concat(tt,"-").concat(Ye)})})}}function ce(R){var ze=R.node,tt=R.stylesheet,Ie=R.style,pt=Ie===void 0?{}:Ie,Ye=R.useInlineStyles,en=R.key,Ht=ze.properties,ln=ze.type,dn=ze.tagName,At=ze.value;if(ln==="text")return At;if(dn){var xt=ye(tt,Ye),Xt;if(!Ye)Xt=f(f({},Ht),{},{className:pe(Ht.className)});else{var Vt=Object.keys(tt).reduce(function(L,Te){return Te.split(".").forEach(function(rt){L.includes(rt)||L.push(rt)}),L},[]),Re=Ht.className&&Ht.className.includes("token")?["token"]:[],_e=Ht.className&&Re.concat(Ht.className.filter(function(L){return!Vt.includes(L)}));Xt=f(f({},Ht),{},{className:pe(_e)||void 0,style:re(Ht.className,Object.assign({},Ht.style,pt),tt)})}var q=xt(ze.children);return h.createElement(dn,(0,A.Z)({key:en},Xt),q)}}var Ee=function(R,ze){var tt=R.listLanguages();return tt.indexOf(ze)!==-1},ge=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Ce(R,ze){var tt=Object.keys(R);if(Object.getOwnPropertySymbols){var Ie=Object.getOwnPropertySymbols(R);ze&&(Ie=Ie.filter(function(pt){return Object.getOwnPropertyDescriptor(R,pt).enumerable})),tt.push.apply(tt,Ie)}return tt}function j(R){for(var ze=1;ze1&&arguments[1]!==void 0?arguments[1]:[],tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ie=0;Ie2&&arguments[2]!==void 0?arguments[2]:[];return X({children:z,lineNumber:De,lineNumberStyle:Ht,largestLineNumber:en,showInlineLineNumbers:pt,lineProps:tt,className:he,showLineNumbers:Ie,wrapLongLines:ln,wrapLines:ze})}function _e(z,De){if(Ie&&De&&pt){var he=ee(Ht,De,en);z.unshift(se(De,he))}return z}function q(z,De){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return ze||he.length>0?Re(z,De,he):_e(z,De)}for(var L=function(){var De=At[Vt],he=De.children[0].value,Q=Z(he);if(Q){var ke=he.split(` @@ -130,7 +130,7 @@ `)};if(st===0){var yt=At.slice(Xt+1,Vt).concat(X({children:[gt],className:De.properties.className})),te=q(yt,mt);xt.push(te)}else if(st===ke.length-1){var Ge=At[Vt+1]&&At[Vt+1].children&&At[Vt+1].children[0],Qe={type:"text",value:"".concat(dt)};if(Ge){var Xe=X({children:[Qe],className:De.properties.className});At.splice(Vt+1,0,Xe)}else{var _=[Qe],at=q(_,mt,De.properties.className);xt.push(at)}}else{var Ct=[gt],Oe=q(Ct,mt,De.properties.className);xt.push(Oe)}}),Xt=Vt}Vt++};Vt code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},it=t(11594),ot=t.n(it),Bt=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],Wt=kt(ot(),Be);Wt.supportedLanguages=Bt;var wt=Wt},18369:function(S,s){"use strict";s.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(S,s,t){"use strict";t(84126);var i=t(59301),p=60103;if(s.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;p=g("react.element"),s.Fragment=g("react.fragment")}var h=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,A=Object.prototype.hasOwnProperty,y={key:!0,ref:!0,__self:!0,__source:!0};function f(F,U,ne){var re,pe={},ye=null,ce=null;ne!==void 0&&(ye=""+ne),U.key!==void 0&&(ye=""+U.key),U.ref!==void 0&&(ce=U.ref);for(re in U)A.call(U,re)&&!y.hasOwnProperty(re)&&(pe[re]=U[re]);if(F&&F.defaultProps)for(re in U=F.defaultProps,U)pe[re]===void 0&&(pe[re]=U[re]);return{$$typeof:p,type:F,key:ye,ref:ce,props:pe,_owner:h.current}}s.jsx=f,s.jsxs=f},37712:function(S,s,t){"use strict";S.exports=t(19524)},95489:function(S,s,t){"use strict";var i=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof t.g=="object"?t.g:{},p=Y();i.Prism={manual:!0,disableWorkerMessageHandler:!0};var g=t(43621),h=t(12256),A=t(68398),y=t(70614),f=t(54212),F=t(9720),U=t(88786);p();var ne={}.hasOwnProperty;function re(){}re.prototype=A;var pe=new re;S.exports=pe,pe.highlight=Ee,pe.register=ye,pe.alias=ce,pe.registered=ge,pe.listLanguages=Ce,ye(y),ye(f),ye(F),ye(U),pe.util.encode=Z,pe.Token.stringify=j;function ye(V){if(typeof V!="function"||!V.displayName)throw new Error("Expected `function` for `grammar`, got `"+V+"`");pe.languages[V.displayName]===void 0&&V(pe)}function ce(V,se){var ee=pe.languages,X=V,Se,me,D,Ue;se&&(X={},X[V]=se);for(Se in X)for(me=X[Se],me=typeof me=="string"?[me]:me,D=me.length,Ue=-1;++Ue]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(S){"use strict";S.exports=s,s.displayName="abnf",s.aliases=[];function s(t){(function(i){var p="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";i.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+p+"|<"+p+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}},42746:function(S){"use strict";S.exports=s,s.displayName="actionscript",s.aliases=[];function s(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}},93281:function(S){"use strict";S.exports=s,s.displayName="ada",s.aliases=[];function s(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(S){"use strict";S.exports=s,s.displayName="agda",s.aliases=[];function s(t){(function(i){i.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}},65924:function(S){"use strict";S.exports=s,s.displayName="al",s.aliases=[];function s(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(S){"use strict";S.exports=s,s.displayName="antlr4",s.aliases=["g4"];function s(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}},43556:function(S){"use strict";S.exports=s,s.displayName="apacheconf",s.aliases=[];function s(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(S,s,t){"use strict";var i=t(69435);S.exports=p,p.displayName="apex",p.aliases=[];function p(g){g.register(i),function(h){var A=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,y=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return A.source});function f(U){return RegExp(U.replace(//g,function(){return y}),"i")}var F={keyword:A,punctuation:/[()\[\]{};,:.<>]/};h.languages.apex={comment:h.languages.clike.comment,string:h.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:h.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:f(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:F},{pattern:f(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:F},{pattern:f(/(?=\s*\w+\s*[;=,(){:])/.source),inside:F}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:A,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(g)}},4248:function(S){"use strict";S.exports=s,s.displayName="apl",s.aliases=[];function s(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(S){"use strict";S.exports=s,s.displayName="applescript",s.aliases=[];function s(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(S){"use strict";S.exports=s,s.displayName="aql",s.aliases=[];function s(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(S,s,t){"use strict";var i=t(87071);S.exports=p,p.displayName="arduino",p.aliases=["ino"];function p(g){g.register(i),g.languages.arduino=g.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),g.languages.ino=g.languages.arduino}},22956:function(S){"use strict";S.exports=s,s.displayName="arff",s.aliases=[];function s(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(S){"use strict";S.exports=s,s.displayName="asciidoc",s.aliases=["adoc"];function s(t){(function(i){var p={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},g=i.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:p,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:p.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:p,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function h(A){A=A.split(" ");for(var y={},f=0,F=A.length;f>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(S,s,t){"use strict";var i=t(87648);S.exports=p,p.displayName="aspnet",p.aliases=[];function p(g){g.register(i),g.languages.aspnet=g.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:g.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:g.languages.csharp}}}),g.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,g.languages.insertBefore("inside","punctuation",{directive:g.languages.aspnet.directive},g.languages.aspnet.tag.inside["attr-value"]),g.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),g.languages.insertBefore("aspnet",g.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:g.languages.csharp||{}}})}},20803:function(S){"use strict";S.exports=s,s.displayName="autohotkey",s.aliases=[];function s(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(S){"use strict";S.exports=s,s.displayName="autoit",s.aliases=[];function s(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(S){"use strict";S.exports=s,s.displayName="avisynth",s.aliases=["avs"];function s(t){(function(i){function p(U,ne){return U.replace(/<<(\d+)>>/g,function(re,pe){return ne[+pe]})}function g(U,ne,re){return RegExp(p(U,ne),re||"")}var h=/bool|clip|float|int|string|val/.source,A=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),y=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),f=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),F=[A,y,f].join("|");i.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:g(/\b(?:<<0>>)\s+("?)\w+\1/.source,[h],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:g(/\b(?:<<0>>)\b/.source,[F],"i"),alias:"function"},"type-cast":{pattern:g(/\b(?:<<0>>)(?=\s*\()/.source,[h],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},i.languages.avs=i.languages.avisynth})(t)}},79571:function(S){"use strict";S.exports=s,s.displayName="avroIdl",s.aliases=[];function s(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}},3058:function(S){"use strict";S.exports=s,s.displayName="bash",s.aliases=["shell"];function s(t){(function(i){var p="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",g={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},h={bash:g,environment:{pattern:RegExp("\\$"+p),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+p),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+p),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:h},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:g}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:h},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:h.entity}}],environment:{pattern:RegExp("\\$?"+p),alias:"constant"},variable:h.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},g.inside=i.languages.bash;for(var A=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=h.variable[1].inside,f=0;f?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(S){"use strict";S.exports=s,s.displayName="batch",s.aliases=[];function s(t){(function(i){var p=/%%?[~:\w]+%?|!\S+!/,g={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},h=/"(?:[\\"]"|[^"])*"(?!")/,A=/(?:\b|-)\d+\b/;i.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:h,parameter:g,variable:p,number:A,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:h,parameter:g,variable:p,number:A,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:h,parameter:g,variable:[p,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:A,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:h,parameter:g,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:p,number:A,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}},2505:function(S){"use strict";S.exports=s,s.displayName="bbcode",s.aliases=["shortcode"];function s(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}},51274:function(S){"use strict";S.exports=s,s.displayName="bicep",s.aliases=[];function s(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}},23796:function(S){"use strict";S.exports=s,s.displayName="birb",s.aliases=[];function s(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="bison",p.aliases=[];function p(g){g.register(i),g.languages.bison=g.languages.extend("c",{}),g.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:g.languages.c}},comment:g.languages.c.comment,string:g.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(S){"use strict";S.exports=s,s.displayName="bnf",s.aliases=["rbnf"];function s(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}},47035:function(S){"use strict";S.exports=s,s.displayName="brainfuck",s.aliases=[];function s(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(S){"use strict";S.exports=s,s.displayName="brightscript",s.aliases=[];function s(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}},85290:function(S){"use strict";S.exports=s,s.displayName="bro",s.aliases=[];function s(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(S){"use strict";S.exports=s,s.displayName="bsl",s.aliases=[];function s(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}},79440:function(S){"use strict";S.exports=s,s.displayName="c",s.aliases=[];function s(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}},7110:function(S){"use strict";S.exports=s,s.displayName="cfscript",s.aliases=[];function s(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}},73435:function(S,s,t){"use strict";var i=t(87071);S.exports=p,p.displayName="chaiscript",p.aliases=[];function p(g){g.register(i),g.languages.chaiscript=g.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[g.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),g.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),g.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:g.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(S){"use strict";S.exports=s,s.displayName="cil",s.aliases=[];function s(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(S){"use strict";S.exports=s,s.displayName="clike",s.aliases=[];function s(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(S){"use strict";S.exports=s,s.displayName="clojure",s.aliases=[];function s(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(S){"use strict";S.exports=s,s.displayName="cmake",s.aliases=[];function s(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(S){"use strict";S.exports=s,s.displayName="cobol",s.aliases=[];function s(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(S){"use strict";S.exports=s,s.displayName="coffeescript",s.aliases=["coffee"];function s(t){(function(i){var p=/#(?!\{).+/,g={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:p,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:g}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:p,interpolation:g}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:g}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript})(t)}},35348:function(S){"use strict";S.exports=s,s.displayName="concurnas",s.aliases=["conc"];function s(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}},26841:function(S){"use strict";S.exports=s,s.displayName="coq",s.aliases=[];function s(t){(function(i){for(var p=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,g=0;g<2;g++)p=p.replace(//g,function(){return p});p=p.replace(//g,"[]"),i.languages.coq={comment:RegExp(p),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return p})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(p),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}},87071:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="cpp",p.aliases=[];function p(g){g.register(i),function(h){var A=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,y=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return A.source});h.languages.cpp=h.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return A.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:A,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),h.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return y})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),h.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:h.languages.cpp}}}}),h.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),h.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:h.languages.extend("cpp",{})}}),h.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},h.languages.cpp["base-clause"])}(g)}},13652:function(S,s,t){"use strict";var i=t(75308);S.exports=p,p.displayName="crystal",p.aliases=[];function p(g){g.register(i),function(h){h.languages.crystal=h.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,h.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),h.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:h.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:h.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(g)}},87648:function(S){"use strict";S.exports=s,s.displayName="csharp",s.aliases=["dotnet","cs"];function s(t){(function(i){function p(Bt,Wt){return Bt.replace(/<<(\d+)>>/g,function(wt,R){return"(?:"+Wt[+R]+")"})}function g(Bt,Wt,wt){return RegExp(p(Bt,Wt),wt||"")}function h(Bt,Wt){for(var wt=0;wt>/g,function(){return"(?:"+Bt+")"});return Bt.replace(/<>/g,"[^\\s\\S]")}var A={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function y(Bt){return"\\b(?:"+Bt.trim().replace(/ /g,"|")+")\\b"}var f=y(A.typeDeclaration),F=RegExp(y(A.type+" "+A.typeDeclaration+" "+A.contextual+" "+A.other)),U=y(A.typeDeclaration+" "+A.contextual+" "+A.other),ne=y(A.type+" "+A.typeDeclaration+" "+A.other),re=h(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),pe=h(/\((?:[^()]|<>)*\)/.source,2),ye=/@?\b[A-Za-z_]\w*\b/.source,ce=p(/<<0>>(?:\s*<<1>>)?/.source,[ye,re]),Ee=p(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[U,ce]),ge=/\[\s*(?:,\s*)*\]/.source,Ce=p(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[Ee,ge]),j=p(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[re,pe,ge]),G=p(/\(<<0>>+(?:,<<0>>+)+\)/.source,[j]),Z=p(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[G,Ee,ge]),B={keyword:F,punctuation:/[<>()?,.:[\]]/},Y=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,V=/"(?:\\.|[^\\"\r\n])*"/.source,se=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:g(/(^|[^$\\])<<0>>/.source,[se]),lookbehind:!0,greedy:!0},{pattern:g(/(^|[^@$\\])<<0>>/.source,[V]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:g(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[Ee]),lookbehind:!0,inside:B},{pattern:g(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[ye,Z]),lookbehind:!0,inside:B},{pattern:g(/(\busing\s+)<<0>>(?=\s*=)/.source,[ye]),lookbehind:!0},{pattern:g(/(\b<<0>>\s+)<<1>>/.source,[f,ce]),lookbehind:!0,inside:B},{pattern:g(/(\bcatch\s*\(\s*)<<0>>/.source,[Ee]),lookbehind:!0,inside:B},{pattern:g(/(\bwhere\s+)<<0>>/.source,[ye]),lookbehind:!0},{pattern:g(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[Ce]),lookbehind:!0,inside:B},{pattern:g(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Z,ne,ye]),inside:B}],keyword:F,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:g(/([(,]\s*)<<0>>(?=\s*:)/.source,[ye]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:g(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[ye]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:g(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[pe]),lookbehind:!0,alias:"class-name",inside:B},"return-type":{pattern:g(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Z,Ee]),inside:B,alias:"class-name"},"constructor-invocation":{pattern:g(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Z]),lookbehind:!0,inside:B,alias:"class-name"},"generic-method":{pattern:g(/<<0>>\s*<<1>>(?=\s*\()/.source,[ye,re]),inside:{function:g(/^<<0>>/.source,[ye]),generic:{pattern:RegExp(re),alias:"class-name",inside:B}}},"type-list":{pattern:g(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[f,ce,ye,Z,F.source,pe,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:g(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[ce,pe]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:F,"class-name":{pattern:RegExp(Z),greedy:!0,inside:B},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var ee=V+"|"+Y,X=p(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[ee]),Se=h(p(/[^"'/()]|<<0>>|\(<>*\)/.source,[X]),2),me=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=p(/<<0>>(?:\s*\(<<1>>*\))?/.source,[Ee,Se]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:g(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[me,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:g(/^<<0>>(?=\s*:)/.source,[me]),alias:"keyword"},"attribute-arguments":{pattern:g(/\(<<0>>*\)/.source,[Se]),inside:i.languages.csharp},"class-name":{pattern:RegExp(Ee),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Ue=/:[^}\r\n]+/.source,nt=h(p(/[^"'/()]|<<0>>|\(<>*\)/.source,[X]),2),kt=p(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[nt,Ue]),Be=h(p(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[ee]),2),it=p(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Be,Ue]);function ot(Bt,Wt){return{interpolation:{pattern:g(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Bt]),lookbehind:!0,inside:{"format-string":{pattern:g(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Wt,Ue]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:g(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[kt]),lookbehind:!0,greedy:!0,inside:ot(kt,nt)},{pattern:g(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[it]),lookbehind:!0,greedy:!0,inside:ot(it,Be)}],char:{pattern:RegExp(Y),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(t)}},10617:function(S,s,t){"use strict";var i=t(87648);S.exports=p,p.displayName="cshtml",p.aliases=["razor"];function p(g){g.register(i),function(h){var A=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,y=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function f(Ce,j){for(var G=0;G/g,function(){return"(?:"+Ce+")"});return Ce.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+y+")").replace(//g,"(?:"+A+")")}var F=f(/\((?:[^()'"@/]|||)*\)/.source,2),U=f(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),ne=f(/\{(?:[^{}'"@/]|||)*\}/.source,2),re=f(/<(?:[^<>'"@/]|||)*>/.source,2),pe=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,ye=/(?!\d)[^\s>\/=$<%]+/.source+pe+/\s*\/?>/.source,ce=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+pe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+ye+"|"+f(/<\1/.source+pe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+ye+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=g,i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var h={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},A={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:h,number:A,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:h,number:A})})(t)}},54212:function(S){"use strict";S.exports=s,s.displayName="css",s.aliases=[];function s(t){(function(i){var p=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+p.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+p.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+p.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:p,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var g=i.languages.markup;g&&(g.tag.addInlined("style","css"),g.tag.addAttribute("style","css"))})(t)}},69820:function(S){"use strict";S.exports=s,s.displayName="csv",s.aliases=[];function s(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(S){"use strict";S.exports=s,s.displayName="cypher",s.aliases=[];function s(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(S){"use strict";S.exports=s,s.displayName="d",s.aliases=[];function s(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(S){"use strict";S.exports=s,s.displayName="dart",s.aliases=[];function s(t){(function(i){var p=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],g=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,h={pattern:RegExp(g+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};i.languages.dart=i.languages.extend("clike",{"class-name":[h,{pattern:RegExp(g+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:h.inside}],keyword:p,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":h,keyword:p,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}},22117:function(S){"use strict";S.exports=s,s.displayName="dataweave",s.aliases=[];function s(t){(function(i){i.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}},95627:function(S){"use strict";S.exports=s,s.displayName="dax",s.aliases=[];function s(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(S){"use strict";S.exports=s,s.displayName="dhall",s.aliases=[];function s(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}},50618:function(S){"use strict";S.exports=s,s.displayName="diff",s.aliases=[];function s(t){(function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var p={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(p).forEach(function(g){var h=p[g],A=[];/^\w+$/.test(g)||A.push(/\w+/.exec(g)[0]),g==="diff"&&A.push("bold"),i.languages.diff[g]={pattern:RegExp("^(?:["+h+`].*(?:\r ?| |(?![\\s\\S])))+`,"m"),alias:A,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(g)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:p})})(t)}},32126:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="django",p.aliases=["jinja2"];function p(g){g.register(i),function(h){h.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var A=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,y=h.languages["markup-templating"];h.hooks.add("before-tokenize",function(f){y.buildPlaceholders(f,"django",A)}),h.hooks.add("after-tokenize",function(f){y.tokenizePlaceholders(f,"django")}),h.languages.jinja2=h.languages.django,h.hooks.add("before-tokenize",function(f){y.buildPlaceholders(f,"jinja2",A)}),h.hooks.add("after-tokenize",function(f){y.tokenizePlaceholders(f,"jinja2")})}(g)}},26737:function(S){"use strict";S.exports=s,s.displayName="dnsZoneFile",s.aliases=[];function s(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}},90134:function(S){"use strict";S.exports=s,s.displayName="docker",s.aliases=["dockerfile"];function s(t){(function(i){var p=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,g=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return p}),h=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,A=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return h}),y={pattern:RegExp(h),greedy:!0},f={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function F(U,ne){return U=U.replace(//g,function(){return A}).replace(//g,function(){return g}),RegExp(U,ne)}i.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:F(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[y,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:F(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:F(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:F(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:f,string:y,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:f},i.languages.dockerfile=i.languages.docker})(t)}},51348:function(S){"use strict";S.exports=s,s.displayName="dot",s.aliases=["gv"];function s(t){(function(i){var p="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",g={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:i.languages.markup}};function h(A,y){return RegExp(A.replace(//g,function(){return p}),y)}i.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:h(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:g},"attr-value":{pattern:h(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:g},"attr-name":{pattern:h(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:g},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:h(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:g},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},i.languages.gv=i.languages.dot})(t)}},60841:function(S){"use strict";S.exports=s,s.displayName="ebnf",s.aliases=[];function s(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(S){"use strict";S.exports=s,s.displayName="editorconfig",s.aliases=[];function s(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(S){"use strict";S.exports=s,s.displayName="eiffel",s.aliases=[];function s(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="ejs",p.aliases=["eta"];function p(g){g.register(i),function(h){h.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:h.languages.javascript}},h.hooks.add("before-tokenize",function(A){var y=/<%(?!%)[\s\S]+?%>/g;h.languages["markup-templating"].buildPlaceholders(A,"ejs",y)}),h.hooks.add("after-tokenize",function(A){h.languages["markup-templating"].tokenizePlaceholders(A,"ejs")}),h.languages.eta=h.languages.ejs}(g)}},83125:function(S){"use strict";S.exports=s,s.displayName="elixir",s.aliases=[];function s(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}},9438:function(S){"use strict";S.exports=s,s.displayName="elm",s.aliases=[];function s(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(S,s,t){"use strict";var i=t(75308),p=t(51478);S.exports=g,g.displayName="erb",g.aliases=[];function g(h){h.register(i),h.register(p),function(A){A.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:A.languages.ruby}},A.hooks.add("before-tokenize",function(y){var f=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;A.languages["markup-templating"].buildPlaceholders(y,"erb",f)}),A.hooks.add("after-tokenize",function(y){A.languages["markup-templating"].tokenizePlaceholders(y,"erb")})}(h)}},86549:function(S){"use strict";S.exports=s,s.displayName="erlang",s.aliases=[];function s(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(S,s,t){"use strict";var i=t(29509),p=t(51478);S.exports=g,g.displayName="etlua",g.aliases=[];function g(h){h.register(i),h.register(p),function(A){A.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:A.languages.lua}},A.hooks.add("before-tokenize",function(y){var f=/<%[\s\S]+?%>/g;A.languages["markup-templating"].buildPlaceholders(y,"etlua",f)}),A.hooks.add("after-tokenize",function(y){A.languages["markup-templating"].tokenizePlaceholders(y,"etlua")})}(h)}},59250:function(S){"use strict";S.exports=s,s.displayName="excelFormula",s.aliases=[];function s(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}},81226:function(S){"use strict";S.exports=s,s.displayName="factor",s.aliases=[];function s(t){(function(i){var p={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},g={number:/\\[^\s']|%\w/},h={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:p},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:p},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:p}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:g.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:g},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:g}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:g}},A=function(U){return(U+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},y=function(U){return new RegExp("(^|\\s)(?:"+U.map(A).join("|")+")(?=\\s|$)")},f={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(f).forEach(function(U){h[U].pattern=y(f[U])});var F=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];h.combinators.pattern=y(F),i.languages.factor=h})(t)}},65245:function(S){"use strict";S.exports=s,s.displayName="$false",s.aliases=[];function s(t){(function(i){i.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(S){"use strict";S.exports=s,s.displayName="flow",s.aliases=[];function s(t){(function(i){i.languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}},39187:function(S){"use strict";S.exports=s,s.displayName="fortran",s.aliases=[];function s(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(S){"use strict";S.exports=s,s.displayName="fsharp",s.aliases=[];function s(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="ftl",p.aliases=[];function p(g){g.register(i),function(h){for(var A=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,y=0;y<2;y++)A=A.replace(//g,function(){return A});A=A.replace(//g,/[^\s\S]/.source);var f={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return A})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return A})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};f.string[1].inside.interpolation.inside.rest=f,h.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:f}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:f}}}},h.hooks.add("before-tokenize",function(F){var U=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return A}),"gi");h.languages["markup-templating"].buildPlaceholders(F,"ftl",U)}),h.hooks.add("after-tokenize",function(F){h.languages["markup-templating"].tokenizePlaceholders(F,"ftl")})}(g)}},33534:function(S){"use strict";S.exports=s,s.displayName="gap",s.aliases=[];function s(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}},9885:function(S){"use strict";S.exports=s,s.displayName="gcode",s.aliases=[];function s(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(S){"use strict";S.exports=s,s.displayName="gdscript",s.aliases=[];function s(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(S){"use strict";S.exports=s,s.displayName="gedcom",s.aliases=[];function s(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(S){"use strict";S.exports=s,s.displayName="gherkin",s.aliases=[];function s(t){(function(i){var p=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;i.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+p+")(?:"+p+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(p),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}},58230:function(S){"use strict";S.exports=s,s.displayName="git",s.aliases=[];function s(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="glsl",p.aliases=[];function p(g){g.register(i),g.languages.glsl=g.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(S){"use strict";S.exports=s,s.displayName="gml",s.aliases=[];function s(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(S){"use strict";S.exports=s,s.displayName="gn",s.aliases=["gni"];function s(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}},95769:function(S){"use strict";S.exports=s,s.displayName="goModule",s.aliases=[];function s(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(S){"use strict";S.exports=s,s.displayName="go",s.aliases=[];function s(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}},92823:function(S){"use strict";S.exports=s,s.displayName="graphql",s.aliases=[];function s(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(p){if(p.language!=="graphql")return;var g=p.tokens.filter(function(ge){return typeof ge!="string"&&ge.type!=="comment"&&ge.type!=="scalar"}),h=0;function A(ge){return g[h+ge]}function y(ge,Ce){Ce=Ce||0;for(var j=0;j0)){var ye=f(/^\{$/,/^\}$/);if(ye===-1)continue;for(var ce=h;ce=0&&F(Ee,"variable-input")}}}}})}},63092:function(S){"use strict";S.exports=s,s.displayName="groovy",s.aliases=[];function s(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(i){if(i.language==="groovy"&&i.type==="string"){var p=i.content.value[0];if(p!="'"){var g=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;p==="$"&&(g=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),i.content.value=i.content.value.replace(/</g,"<").replace(/&/g,"&"),i.content=t.highlight(i.content.value,{expression:{pattern:g,lookbehind:!0,inside:t.languages.groovy}}),i.classes.push(p==="/"?"regex":"gstring")}}})}},21550:function(S,s,t){"use strict";var i=t(75308);S.exports=p,p.displayName="haml",p.aliases=[];function p(g){g.register(i),function(h){h.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:h.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:h.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:h.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:h.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:h.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:h.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:h.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var A="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",y=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],f={},F=0,U=y.length;F@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},h.hooks.add("before-tokenize",function(A){var y=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;h.languages["markup-templating"].buildPlaceholders(A,"handlebars",y)}),h.hooks.add("after-tokenize",function(A){h.languages["markup-templating"].tokenizePlaceholders(A,"handlebars")}),h.languages.hbs=h.languages.handlebars}(g)}},2050:function(S){"use strict";S.exports=s,s.displayName="haskell",s.aliases=["hs"];function s(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}},67967:function(S){"use strict";S.exports=s,s.displayName="haxe",s.aliases=[];function s(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(S){"use strict";S.exports=s,s.displayName="hcl",s.aliases=[];function s(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="hlsl",p.aliases=[];function p(g){g.register(i),g.languages.hlsl=g.languages.extend("c",{"class-name":[g.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(S){"use strict";S.exports=s,s.displayName="hoon",s.aliases=[];function s(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(S){"use strict";S.exports=s,s.displayName="hpkp",s.aliases=[];function s(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(S){"use strict";S.exports=s,s.displayName="hsts",s.aliases=[];function s(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(S){"use strict";S.exports=s,s.displayName="http",s.aliases=[];function s(t){(function(i){function p(ne){return RegExp("(^(?:"+ne+"):[ ]*(?![ ]))[^]+","i")}i.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:i.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:p(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:i.languages.csp},{pattern:p(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:i.languages.hpkp},{pattern:p(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:i.languages.hsts},{pattern:p(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var g=i.languages,h={"application/javascript":g.javascript,"application/json":g.json||g.javascript,"application/xml":g.xml,"text/xml":g.xml,"text/html":g.html,"text/css":g.css,"text/plain":g.plain},A={"application/json":!0,"application/xml":!0};function y(ne){var re=ne.replace(/^[a-z]+\//,""),pe="\\w+/(?:[\\w.-]+\\+)+"+re+"(?![+\\w.-])";return"(?:"+ne+"|"+pe+")"}var f;for(var F in h)if(h[F]){f=f||{};var U=A[F]?y(F):F;f[F.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+U+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:h[F]}}f&&i.languages.insertBefore("http","header",f)})(t)}},72252:function(S){"use strict";S.exports=s,s.displayName="ichigojam",s.aliases=[];function s(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(S){"use strict";S.exports=s,s.displayName="icon",s.aliases=[];function s(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(S){"use strict";S.exports=s,s.displayName="icuMessageFormat",s.aliases=[];function s(t){(function(i){function p(F,U){return U<=0?/[]/.source:F.replace(//g,function(){return p(F,U-1)})}var g=/'[{}:=,](?:[^']|'')*'(?!')/,h={pattern:/''/,greedy:!0,alias:"operator"},A={pattern:g,greedy:!0,inside:{escape:h}},y=p(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return g.source}),8),f={pattern:RegExp(y),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};i.languages["icu-message-format"]={argument:{pattern:RegExp(y),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":f,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":f,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+p(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:h,string:A},f.inside.message.inside=i.languages["icu-message-format"],i.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=i.languages["icu-message-format"]})(t)}},23328:function(S,s,t){"use strict";var i=t(2050);S.exports=p,p.displayName="idris",p.aliases=["idr"];function p(g){g.register(i),g.languages.idris=g.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),g.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),g.languages.idr=g.languages.idris}},74494:function(S){"use strict";S.exports=s,s.displayName="iecst",s.aliases=[];function s(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(S){"use strict";S.exports=s,s.displayName="ignore",s.aliases=["gitignore","hgignore","npmignore"];function s(t){(function(i){i.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore})(t)}},22152:function(S){"use strict";S.exports=s,s.displayName="inform7",s.aliases=[];function s(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(S){"use strict";S.exports=s,s.displayName="ini",s.aliases=[];function s(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(S){"use strict";S.exports=s,s.displayName="io",s.aliases=[];function s(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(S){"use strict";S.exports=s,s.displayName="java",s.aliases=[];function s(t){(function(i){var p=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,g=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,h={pattern:RegExp(g+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[h,{pattern:RegExp(g+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:h.inside}],keyword:p,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":h,keyword:p,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return p.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}},4005:function(S,s,t){"use strict";var i=t(7093),p=t(53510);S.exports=g,g.displayName="javadoc",g.aliases=[];function g(h){h.register(i),h.register(p),function(A){var y=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,f=/#\s*\w+(?:\s*\([^()]*\))?/.source,F=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return f});A.languages.javadoc=A.languages.extend("javadoclike",{}),A.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+F+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:A.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:y,lookbehind:!0,inside:A.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:y,lookbehind:!0,inside:{tag:A.languages.markup.tag,entity:A.languages.markup.entity,code:{pattern:/.+/,inside:A.languages.java,alias:"language-java"}}}}}],tag:A.languages.markup.tag,entity:A.languages.markup.entity}),A.languages.javadoclike.addSupport("java",A.languages.javadoc)}(h)}},53510:function(S){"use strict";S.exports=s,s.displayName="javadoclike",s.aliases=[];function s(t){(function(i){var p=i.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function g(A,y){var f="doc-comment",F=i.languages[A];if(F){var U=F[f];if(!U){var ne={};ne[f]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},F=i.languages.insertBefore(A,"comment",ne),U=F[f]}if(U instanceof RegExp&&(U=F[f]={pattern:U}),Array.isArray(U))for(var re=0,pe=U.length;re|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}},24799:function(S){"use strict";S.exports=s,s.displayName="javastacktrace",s.aliases=[];function s(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(S){"use strict";S.exports=s,s.displayName="jexl",s.aliases=[];function s(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(S){"use strict";S.exports=s,s.displayName="jolie",s.aliases=[];function s(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(S){"use strict";S.exports=s,s.displayName="jq",s.aliases=[];function s(t){(function(i){var p=/\\\((?:[^()]|\([^()]*\))*\)/.source,g=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return p})),h={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+p),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},A=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(g.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:h},string:{pattern:g,lookbehind:!0,greedy:!0,inside:h},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};h.interpolation.inside.content.inside=A})(t)}},89246:function(S){"use strict";S.exports=s,s.displayName="jsExtras",s.aliases=[];function s(t){(function(i){i.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+i.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),i.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+i.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),i.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function p(F,U){return RegExp(F.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),U)}i.languages.insertBefore("javascript","keyword",{imports:{pattern:p(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:i.languages.javascript},exports:{pattern:p(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:i.languages.javascript}}),i.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),i.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),i.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:p(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var g=["function","function-variable","method","method-variable","property-access"],h=0;h=Y.length)return;var X=se[ee];if(typeof X=="string"||typeof X.content=="string"){var Se=Y[j],me=typeof X=="string"?X:X.content,D=me.indexOf(Se);if(D!==-1){++j;var Ue=me.substring(0,D),nt=ne(G[Se]),kt=me.substring(D+Se.length),Be=[];if(Ue&&Be.push(Ue),Be.push(nt),kt){var it=[kt];V(it),Be.push.apply(Be,it)}typeof X=="string"?(se.splice.apply(se,[ee,1].concat(Be)),ee+=Be.length-1):X.content=Be}}else{var ot=X.content;Array.isArray(ot)?V(ot):V([ot])}}}return V(B),new i.Token(ge,B,"language-"+ge,ce)}var pe={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};i.hooks.add("after-tokenize",function(ce){if(!(ce.language in pe))return;function Ee(ge){for(var Ce=0,j=ge.length;Ce\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return f})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+f),lookbehind:!0,inside:{string:y.string,number:y.number,boolean:y.boolean,keyword:A.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:y,alias:"language-javascript"}}}}),A.languages.javadoclike.addSupport("javascript",A.languages.jsdoc)}(h)}},15628:function(S){"use strict";S.exports=s,s.displayName="json",s.aliases=["webmanifest"];function s(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}},14320:function(S,s,t){"use strict";var i=t(15628);S.exports=p,p.displayName="json5",p.aliases=[];function p(g){g.register(i),function(h){var A=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;h.languages.json5=h.languages.extend("json",{property:[{pattern:RegExp(A.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:A,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(g)}},73222:function(S,s,t){"use strict";var i=t(15628);S.exports=p,p.displayName="jsonp",p.aliases=[];function p(g){g.register(i),g.languages.jsonp=g.languages.extend("json",{punctuation:/[{}[\]();,.]/}),g.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(S){"use strict";S.exports=s,s.displayName="jsstacktrace",s.aliases=[];function s(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(S){"use strict";S.exports=s,s.displayName="jsx",s.aliases=[];function s(t){(function(i){var p=i.util.clone(i.languages.javascript),g=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,h=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,A=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function y(U,ne){return U=U.replace(//g,function(){return g}).replace(//g,function(){return h}).replace(//g,function(){return A}),RegExp(U,ne)}A=y(A).source,i.languages.jsx=i.languages.extend("markup",p),i.languages.jsx.tag.pattern=y(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.jsx.tag.inside.comment=p.comment,i.languages.insertBefore("inside","attr-name",{spread:{pattern:y(//.source),inside:i.languages.jsx}},i.languages.jsx.tag),i.languages.insertBefore("inside","special-attr",{script:{pattern:y(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:i.languages.jsx}}},i.languages.jsx.tag);var f=function(U){return U?typeof U=="string"?U:typeof U.content=="string"?U.content:U.content.map(f).join(""):""},F=function(U){for(var ne=[],re=0;re0&&ne[ne.length-1].tagName===f(pe.content[0].content[1])&&ne.pop():pe.content[pe.content.length-1].content==="/>"||ne.push({tagName:f(pe.content[0].content[1]),openedBraces:0}):ne.length>0&&pe.type==="punctuation"&&pe.content==="{"?ne[ne.length-1].openedBraces++:ne.length>0&&ne[ne.length-1].openedBraces>0&&pe.type==="punctuation"&&pe.content==="}"?ne[ne.length-1].openedBraces--:ye=!0),(ye||typeof pe=="string")&&ne.length>0&&ne[ne.length-1].openedBraces===0){var ce=f(pe);re0&&(typeof U[re-1]=="string"||U[re-1].type==="plain-text")&&(ce=f(U[re-1])+ce,U.splice(re-1,1),re--),U[re]=new i.Token("plain-text",ce,null,ce)}pe.content&&typeof pe.content!="string"&&F(pe.content)}};i.hooks.add("after-tokenize",function(U){U.language!=="jsx"&&U.language!=="tsx"||F(U.tokens)})})(t)}},40604:function(S){"use strict";S.exports=s,s.displayName="julia",s.aliases=[];function s(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(S){"use strict";S.exports=s,s.displayName="keepalived",s.aliases=[];function s(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(S){"use strict";S.exports=s,s.displayName="keyman",s.aliases=[];function s(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(S){"use strict";S.exports=s,s.displayName="kotlin",s.aliases=["kt","kts"];function s(t){(function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var p={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:p},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:p},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin})(t)}},37524:function(S){"use strict";S.exports=s,s.displayName="kumir",s.aliases=["kum"];function s(t){(function(i){var p=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function g(h,A){return RegExp(h.replace(//g,p),A)}i.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:g(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:g(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:g(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:g(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:g(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:g(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:g(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:g(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},i.languages.kum=i.languages.kumir})(t)}},6658:function(S){"use strict";S.exports=s,s.displayName="kusto",s.aliases=[];function s(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(S){"use strict";S.exports=s,s.displayName="latex",s.aliases=["tex","context"];function s(t){(function(i){var p=/\\(?:[^a-z()[\]]|[a-z*]+)/i,g={"equation-command":{pattern:p,alias:"regex"}};i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:g,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:g,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:p,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex})(t)}},22776:function(S,s,t){"use strict";var i=t(51478),p=t(53852);S.exports=g,g.displayName="latte",g.aliases=[];function g(h){h.register(i),h.register(p),function(A){A.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:A.languages.php}};var y=A.languages.extend("markup",{});A.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:A.languages.php}}}}}},y.tag),A.hooks.add("before-tokenize",function(f){if(f.language==="latte"){var F=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;A.languages["markup-templating"].buildPlaceholders(f,"latte",F),f.grammar=y}}),A.hooks.add("after-tokenize",function(f){A.languages["markup-templating"].tokenizePlaceholders(f,"latte")})}(h)}},89700:function(S){"use strict";S.exports=s,s.displayName="less",s.aliases=[];function s(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(S,s,t){"use strict";var i=t(48780);S.exports=p,p.displayName="lilypond",p.aliases=[];function p(g){g.register(i),function(h){for(var A=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,y=5,f=0;f/g,function(){return A});A=A.replace(//g,/[^\s\S]/.source);var F=h.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return A}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:h.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};F["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=F,h.languages.ly=F}(g)}},39940:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="liquid",p.aliases=[];function p(g){g.register(i),g.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},g.hooks.add("before-tokenize",function(h){var A=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,y=!1;g.languages["markup-templating"].buildPlaceholders(h,"liquid",A,function(f){var F=/^\{%-?\s*(\w+)/.exec(f);if(F){var U=F[1];if(U==="raw"&&!y)return y=!0,!0;if(U==="endraw")return y=!1,!0}return!y})}),g.hooks.add("after-tokenize",function(h){g.languages["markup-templating"].tokenizePlaceholders(h,"liquid")})}},34973:function(S){"use strict";S.exports=s,s.displayName="lisp",s.aliases=[];function s(t){(function(i){function p(ce){return RegExp(/(\()/.source+"(?:"+ce+")"+/(?=[\s\)])/.source)}function g(ce){return RegExp(/([\s([])/.source+"(?:"+ce+")"+/(?=[\s)])/.source)}var h=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,A="&"+h,y="(\\()",f="(?=\\))",F="(?=\\s)",U=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,ne={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+h+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+h),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+h),alias:"property"},splice:{pattern:RegExp(",@?"+h),alias:["symbol","variable"]},keyword:[{pattern:RegExp(y+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+F),lookbehind:!0},{pattern:RegExp(y+"(?:append|by|collect|concat|do|finally|for|in|return)"+F),lookbehind:!0}],declare:{pattern:p(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:p(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:g(/nil|t/.source),lookbehind:!0},number:{pattern:g(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(y+"def(?:const|custom|group|var)\\s+"+h),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(h)}},defun:{pattern:RegExp(y+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+h+/\s+\(/.source+U+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+h),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(y+"lambda\\s+\\(\\s*(?:&?"+h+"(?:\\s+&?"+h+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(y+h),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},re={"lisp-marker":RegExp(A),varform:{pattern:RegExp(/\(/.source+h+/\s+(?=\S)/.source+U+/\)/.source),inside:ne},argument:{pattern:RegExp(/(^|[\s(])/.source+h),lookbehind:!0,alias:"variable"},rest:ne},pe="\\S+(?:\\s+\\S+)*",ye={pattern:RegExp(y+U+f),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+pe),inside:re},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+pe),inside:re},keys:{pattern:RegExp("&key\\s+"+pe+"(?:\\s+&allow-other-keys)?"),inside:re},argument:{pattern:RegExp(h),alias:"variable"},punctuation:/[()]/}};ne.lambda.inside.arguments=ye,ne.defun.inside.arguments=i.util.clone(ye),ne.defun.inside.arguments.inside.sublist=ye,i.languages.lisp=ne,i.languages.elisp=ne,i.languages.emacs=ne,i.languages["emacs-lisp"]=ne})(t)}},98135:function(S){"use strict";S.exports=s,s.displayName="livescript",s.aliases=[];function s(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}},36907:function(S){"use strict";S.exports=s,s.displayName="llvm",s.aliases=[];function s(t){(function(i){i.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}},3567:function(S){"use strict";S.exports=s,s.displayName="log",s.aliases=[];function s(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(S){"use strict";S.exports=s,s.displayName="lolcode",s.aliases=[];function s(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},29509:function(S){"use strict";S.exports=s,s.displayName="lua",s.aliases=[];function s(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(S){"use strict";S.exports=s,s.displayName="magma",s.aliases=[];function s(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(S){"use strict";S.exports=s,s.displayName="makefile",s.aliases=[];function s(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(S){"use strict";S.exports=s,s.displayName="markdown",s.aliases=["md"];function s(t){(function(i){var p=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function g(re){return re=re.replace(//g,function(){return p}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+re+")")}var h=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,A=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return h}),y=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+A+y+"(?:"+A+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+A+y+")(?:"+A+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(h),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+A+")"+y+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+A+"$"),inside:{"table-header":{pattern:RegExp(h),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:g(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:g(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:g(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:g(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(re){["url","bold","italic","strike","code-snippet"].forEach(function(pe){re!==pe&&(i.languages.markdown[re].inside.content.inside[pe]=i.languages.markdown[pe])})}),i.hooks.add("after-tokenize",function(re){if(re.language!=="markdown"&&re.language!=="md")return;function pe(ye){if(!(!ye||typeof ye=="string"))for(var ce=0,Ee=ye.length;ce",quot:'"'},U=String.fromCodePoint||String.fromCharCode;function ne(re){var pe=re.replace(f,"");return pe=pe.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(ye,ce){if(ce=ce.toLowerCase(),ce[0]==="#"){var Ee;return ce[1]==="x"?Ee=parseInt(ce.slice(2),16):Ee=Number(ce.slice(1)),U(Ee)}else{var ge=F[ce];return ge||ye}}),pe}i.languages.md=i.languages.markdown})(t)}},51478:function(S){"use strict";S.exports=s,s.displayName="markupTemplating",s.aliases=[];function s(t){(function(i){function p(g,h){return"___"+g.toUpperCase()+h+"___"}Object.defineProperties(i.languages["markup-templating"]={},{buildPlaceholders:{value:function(g,h,A,y){if(g.language===h){var f=g.tokenStack=[];g.code=g.code.replace(A,function(F){if(typeof y=="function"&&!y(F))return F;for(var U=f.length,ne;g.code.indexOf(ne=p(h,U))!==-1;)++U;return f[U]=F,ne}),g.grammar=i.languages.markup}}},tokenizePlaceholders:{value:function(g,h){if(g.language!==h||!g.tokenStack)return;g.grammar=i.languages[h];var A=0,y=Object.keys(g.tokenStack);function f(F){for(var U=0;U=y.length);U++){var ne=F[U];if(typeof ne=="string"||ne.content&&typeof ne.content=="string"){var re=y[A],pe=g.tokenStack[re],ye=typeof ne=="string"?ne:ne.content,ce=p(h,re),Ee=ye.indexOf(ce);if(Ee>-1){++A;var ge=ye.substring(0,Ee),Ce=new i.Token(h,i.tokenize(pe,g.grammar),"language-"+h,pe),j=ye.substring(Ee+ce.length),G=[];ge&&G.push.apply(G,f([ge])),G.push(Ce),j&&G.push.apply(G,f([j])),typeof ne=="string"?F.splice.apply(F,[U,1].concat(G)):ne.content=G}}else ne.content&&f(ne.content)}return F}f(g.tokens)}}})})(t)}},70614:function(S){"use strict";S.exports=s,s.displayName="markup",s.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function s(t){t.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(p,g){var h={};h["language-"+g]={pattern:/(^$)/i,lookbehind:!0,inside:t.languages[g]},h.cdata=/^$/i;var A={"included-cdata":{pattern://i,inside:h}};A["language-"+g]={pattern:/[\s\S]+/,inside:t.languages[g]};var y={};y[p]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return p}),"i"),lookbehind:!0,greedy:!0,inside:A},t.languages.insertBefore("markup","cdata",y)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(i,p){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[p,"language-"+p],inside:t.languages[p]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}},16928:function(S){"use strict";S.exports=s,s.displayName="matlab",s.aliases=[];function s(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(S){"use strict";S.exports=s,s.displayName="maxscript",s.aliases=[];function s(t){(function(i){var p=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;i.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+p.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+p.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:p,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}},37164:function(S){"use strict";S.exports=s,s.displayName="mel",s.aliases=[];function s(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}},25153:function(S){"use strict";S.exports=s,s.displayName="mermaid",s.aliases=[];function s(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(S){"use strict";S.exports=s,s.displayName="mizar",s.aliases=[];function s(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(S){"use strict";S.exports=s,s.displayName="mongodb",s.aliases=[];function s(t){(function(i){var p=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],g=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];p=p.map(function(A){return A.replace("$","\\$")});var h="(?:"+p.join("|")+")\\b";i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+h+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+g.join("|")+")\\b"),alias:"keyword"}})})(t)}},65626:function(S){"use strict";S.exports=s,s.displayName="monkey",s.aliases=[];function s(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(S){"use strict";S.exports=s,s.displayName="moonscript",s.aliases=["moon"];function s(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}},40722:function(S){"use strict";S.exports=s,s.displayName="n1ql",s.aliases=[];function s(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(S){"use strict";S.exports=s,s.displayName="n4js",s.aliases=["n4jsd"];function s(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}},41224:function(S){"use strict";S.exports=s,s.displayName="nand2tetrisHdl",s.aliases=[];function s(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(S){"use strict";S.exports=s,s.displayName="naniscript",s.aliases=[];function s(t){(function(i){var p=/\{[^\r\n\[\]{}]*\}/,g={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:p,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};i.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:p,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:g}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:p,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:g},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},i.languages.nani=i.languages.naniscript,i.hooks.add("after-tokenize",function(y){var f=y.tokens;f.forEach(function(F){if(typeof F!="string"&&F.type==="generic-text"){var U=A(F);h(U)||(F.type="bad-line",F.content=U)}})});function h(y){for(var f="[]{}",F=[],U=0;U=&|$!]/}}},32964:function(S){"use strict";S.exports=s,s.displayName="neon",s.aliases=[];function s(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(S){"use strict";S.exports=s,s.displayName="nevod",s.aliases=[];function s(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(S){"use strict";S.exports=s,s.displayName="nginx",s.aliases=[];function s(t){(function(i){var p=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;i.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:p}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:p}},punctuation:/[{};]/}})(t)}},66791:function(S){"use strict";S.exports=s,s.displayName="nim",s.aliases=[];function s(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(S){"use strict";S.exports=s,s.displayName="nix",s.aliases=[];function s(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}},13490:function(S){"use strict";S.exports=s,s.displayName="nsis",s.aliases=[];function s(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="objectivec",p.aliases=["objc"];function p(g){g.register(i),g.languages.objectivec=g.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete g.languages.objectivec["class-name"],g.languages.objc=g.languages.objectivec}},66894:function(S){"use strict";S.exports=s,s.displayName="ocaml",s.aliases=[];function s(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(S,s,t){"use strict";var i=t(79440);S.exports=p,p.displayName="opencl",p.aliases=[];function p(g){g.register(i),function(h){h.languages.opencl=h.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),h.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var A={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};h.languages.insertBefore("c","keyword",A),h.languages.cpp&&(A["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},h.languages.insertBefore("cpp","keyword",A))}(g)}},27734:function(S){"use strict";S.exports=s,s.displayName="openqasm",s.aliases=["qasm"];function s(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}},91889:function(S){"use strict";S.exports=s,s.displayName="oz",s.aliases=[];function s(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(S){"use strict";S.exports=s,s.displayName="parigp",s.aliases=[];function s(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return i=i.map(function(p){return p.split("").join(" *")}).join("|"),RegExp("\\b(?:"+i+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(S){"use strict";S.exports=s,s.displayName="parser",s.aliases=[];function s(t){(function(i){var p=i.languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});p=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:p.keyword,variable:p.variable,function:p.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:p.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:p.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:p.expression,keyword:p.keyword,variable:p.variable,function:p.function,escape:p.escape,"parser-punctuation":{pattern:p.punctuation,alias:"punctuation"}},p.tag.inside["attr-value"])})(t)}},92949:function(S){"use strict";S.exports=s,s.displayName="pascal",s.aliases=["objectpascal"];function s(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}},5681:function(S){"use strict";S.exports=s,s.displayName="pascaligo",s.aliases=[];function s(t){(function(i){var p=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,g=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return p}),h=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return g}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return g}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return g})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},A=["comment","keyword","builtin","operator","punctuation"].reduce(function(y,f){return y[f]=h[f],y},{});h["class-name"].forEach(function(y){y.inside=A})})(t)}},70696:function(S){"use strict";S.exports=s,s.displayName="pcaxis",s.aliases=["px"];function s(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}},35790:function(S){"use strict";S.exports=s,s.displayName="peoplecode",s.aliases=["pcode"];function s(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}},25777:function(S){"use strict";S.exports=s,s.displayName="perl",s.aliases=[];function s(t){(function(i){var p=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;i.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,p].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,p].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,p+/\s*/.source+p].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}},65889:function(S,s,t){"use strict";var i=t(53852);S.exports=p,p.displayName="phpExtras",p.aliases=[];function p(g){g.register(i),g.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="php",p.aliases=[];function p(g){g.register(i),function(h){var A=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,y=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],f=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,F=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,U=/[{}\[\](),:;]/;h.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:A,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:y,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:f,operator:F,punctuation:U};var ne={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:h.languages.php},re=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:ne}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:ne}}];h.languages.insertBefore("php","variable",{string:re,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:A,string:re,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:y,number:f,operator:F,punctuation:U}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),h.hooks.add("before-tokenize",function(pe){if(/<\?/.test(pe.code)){var ye=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;h.languages["markup-templating"].buildPlaceholders(pe,"php",ye)}}),h.hooks.add("after-tokenize",function(pe){h.languages["markup-templating"].tokenizePlaceholders(pe,"php")})}(g)}},97719:function(S,s,t){"use strict";var i=t(53852),p=t(53510);S.exports=g,g.displayName="phpdoc",g.aliases=[];function g(h){h.register(i),h.register(p),function(A){var y=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;A.languages.phpdoc=A.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+y+"\\s+)?)\\$\\w+"),lookbehind:!0}}),A.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+y),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),A.languages.javadoclike.addSupport("php",A.languages.phpdoc)}(h)}},63839:function(S,s,t){"use strict";var i=t(69435);S.exports=p,p.displayName="plsql",p.aliases=[];function p(g){g.register(i),g.languages.plsql=g.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),g.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(S){"use strict";S.exports=s,s.displayName="powerquery",s.aliases=[];function s(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}},32530:function(S){"use strict";S.exports=s,s.displayName="powershell",s.aliases=[];function s(t){(function(i){var p=i.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};p.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:p},boolean:p.boolean,variable:p.variable}})(t)}},8938:function(S){"use strict";S.exports=s,s.displayName="processing",s.aliases=[];function s(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(S){"use strict";S.exports=s,s.displayName="prolog",s.aliases=[];function s(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(S){"use strict";S.exports=s,s.displayName="promql",s.aliases=[];function s(t){(function(i){var p=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],g=["on","ignoring","group_right","group_left","by","without"],h=["offset"],A=p.concat(g,h);i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+g.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+A.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}},15375:function(S){"use strict";S.exports=s,s.displayName="properties",s.aliases=[];function s(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(S){"use strict";S.exports=s,s.displayName="protobuf",s.aliases=[];function s(t){(function(i){var p=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;i.languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:p}},builtin:p,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}},83588:function(S){"use strict";S.exports=s,s.displayName="psl",s.aliases=[];function s(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(S){"use strict";S.exports=s,s.displayName="pug",s.aliases=[];function s(t){(function(i){i.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:i.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:i.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:i.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:i.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:i.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:i.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:i.languages.javascript}],punctuation:/[.\-!=|]+/};for(var p=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,g=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],h={},A=0,y=g.length;A",function(){return f.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[f.language,"language-"+f.language],inside:i.languages[f.language]}}})}i.languages.insertBefore("pug","filter",h)})(t)}},21294:function(S){"use strict";S.exports=s,s.displayName="puppet",s.aliases=[];function s(t){(function(i){i.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var p=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];i.languages.puppet.heredoc[0].inside.interpolation=p,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=p})(t)}},38709:function(S){"use strict";S.exports=s,s.displayName="pure",s.aliases=[];function s(t){(function(i){i.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var p=["c",{lang:"c++",alias:"cpp"},"fortran"],g=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;p.forEach(function(h){var A=h;if(typeof h!="string"&&(A=h.alias,h=h.lang),i.languages[A]){var y={};y["inline-lang-"+A]={pattern:RegExp(g.replace("",h.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},y["inline-lang-"+A].inside.rest=i.util.clone(i.languages[A]),i.languages.insertBefore("pure","inline-lang",y)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))})(t)}},15008:function(S){"use strict";S.exports=s,s.displayName="purebasic",s.aliases=[];function s(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}},96549:function(S,s,t){"use strict";var i=t(2050);S.exports=p,p.displayName="purescript",p.aliases=["purs"];function p(g){g.register(i),g.languages.purescript=g.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[g.languages.haskell.operator[0],g.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),g.languages.purs=g.languages.purescript}},5221:function(S){"use strict";S.exports=s,s.displayName="python",s.aliases=["py"];function s(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}},27447:function(S){"use strict";S.exports=s,s.displayName="q",s.aliases=[];function s(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(S){"use strict";S.exports=s,s.displayName="qml",s.aliases=[];function s(t){(function(i){for(var p=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,g=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,h=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return p}).replace(//g,function(){return g}),A=0;A<2;A++)h=h.replace(//g,function(){return h});h=h.replace(//g,"[^\\s\\S]"),i.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return h}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return h}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}},75542:function(S){"use strict";S.exports=s,s.displayName="qore",s.aliases=[];function s(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(S){"use strict";S.exports=s,s.displayName="qsharp",s.aliases=["qs"];function s(t){(function(i){function p(ye,ce){return ye.replace(/<<(\d+)>>/g,function(Ee,ge){return"(?:"+ce[+ge]+")"})}function g(ye,ce,Ee){return RegExp(p(ye,ce),Ee||"")}function h(ye,ce){for(var Ee=0;Ee>/g,function(){return"(?:"+ye+")"});return ye.replace(/<>/g,"[^\\s\\S]")}var A={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function y(ye){return"\\b(?:"+ye.trim().replace(/ /g,"|")+")\\b"}var f=RegExp(y(A.type+" "+A.other)),F=/\b[A-Za-z_]\w*\b/.source,U=p(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[F]),ne={keyword:f,punctuation:/[<>()?,.:[\]]/},re=/"(?:\\.|[^\\"])*"/.source;i.languages.qsharp=i.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:g(/(^|[^$\\])<<0>>/.source,[re]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:g(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[U]),lookbehind:!0,inside:ne},{pattern:g(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[U]),lookbehind:!0,inside:ne}],keyword:f,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),i.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var pe=h(p(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[re]),2);i.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:g(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[pe]),greedy:!0,inside:{interpolation:{pattern:g(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[pe]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:i.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}},44298:function(S){"use strict";S.exports=s,s.displayName="r",s.aliases=[];function s(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(S,s,t){"use strict";var i=t(48780);S.exports=p,p.displayName="racket",p.aliases=["rkt"];function p(g){g.register(i),g.languages.racket=g.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),g.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),g.languages.rkt=g.languages.racket}},75266:function(S){"use strict";S.exports=s,s.displayName="reason",s.aliases=[];function s(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}},48139:function(S){"use strict";S.exports=s,s.displayName="regex",s.aliases=[];function s(t){(function(i){var p={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},g=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,h={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},A={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},y="(?:[^\\\\-]|"+g.source+")",f=RegExp(y+"-"+y),F={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:f,inside:{escape:g,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":p,"char-set":A,escape:g}},"special-escape":p,"char-set":h,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":F}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:g,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(S){"use strict";S.exports=s,s.displayName="renpy",s.aliases=["rpy"];function s(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}},63919:function(S){"use strict";S.exports=s,s.displayName="rest",s.aliases=[];function s(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(S){"use strict";S.exports=s,s.displayName="rip",s.aliases=[];function s(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(S){"use strict";S.exports=s,s.displayName="roboconf",s.aliases=[];function s(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(S){"use strict";S.exports=s,s.displayName="robotframework",s.aliases=[];function s(t){(function(i){var p={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},g={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function h(F,U){var ne={};ne["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var re in U)ne[re]=U[re];return ne.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},ne.variable=g,ne.comment=p,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return F}),"im"),alias:"section",inside:ne}}var A={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},y={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:g}},f={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:g}};i.languages.robotframework={settings:h("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:h("Variables"),"test-cases":h("Test Cases",{"test-name":y,documentation:A,property:f}),keywords:h("Keywords",{"keyword-name":y,documentation:A,property:f}),tasks:h("Tasks",{"task-name":y,documentation:A,property:f}),comment:p},i.languages.robot=i.languages.robotframework})(t)}},75308:function(S){"use strict";S.exports=s,s.displayName="ruby",s.aliases=["rb"];function s(t){(function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var p={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var g="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",h=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+g+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:p,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:p,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+h),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+h+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+g),greedy:!0,inside:{interpolation:p,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:p,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:p,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+g),greedy:!0,inside:{interpolation:p,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:p,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby})(t)}},45315:function(S){"use strict";S.exports=s,s.displayName="rust",s.aliases=[];function s(t){(function(i){for(var p=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,g=0;g<2;g++)p=p.replace(//g,function(){return p});p=p.replace(//g,function(){return/[^\s\S]/.source}),i.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+p),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},i.languages.rust["closure-params"].inside.rest=i.languages.rust,i.languages.rust.attribute.inside.string=i.languages.rust.string})(t)}},13794:function(S){"use strict";S.exports=s,s.displayName="sas",s.aliases=[];function s(t){(function(i){var p=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,g=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,h={pattern:RegExp(p+"[bx]"),alias:"number"},A={pattern:/&[a-z_]\w*/i},y={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},f={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},F=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],U={pattern:RegExp(p),greedy:!0},ne=/[$%@.(){}\[\];,\\]/,re={pattern:/%?\b\w+(?=\()/,alias:"keyword"},pe={function:re,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":A,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:g,"numeric-constant":h,punctuation:ne,string:U},ye={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},ce={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},Ee={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},ge={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},Ce=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,j={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return Ce}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return Ce}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:F,function:re,"arg-value":pe["arg-value"],operator:pe.operator,argument:pe.arg,number:g,"numeric-constant":h,punctuation:ne,string:U}},G={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return p}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":Ee,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:g,"numeric-constant":h,punctuation:ne,string:U}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:F,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return p}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:G,"submit-statement":ge,"global-statements":Ee,number:g,"numeric-constant":h,punctuation:ne,string:U}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:F,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return p}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:G,"submit-statement":ge,"global-statements":Ee,number:g,"numeric-constant":h,punctuation:ne,string:U}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:F,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:pe}},"cas-actions":j,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:pe},step:f,keyword:G,function:re,format:ye,altformat:ce,"global-statements":Ee,number:g,"numeric-constant":h,punctuation:ne,string:U}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return p}),"im"),lookbehind:!0,inside:pe},"macro-keyword":y,"macro-variable":A,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":y,"macro-variable":A,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:ne}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:F,number:g,"numeric-constant":h}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:pe},"cas-actions":j,comment:F,function:re,format:ye,altformat:ce,"numeric-constant":h,datetime:{pattern:RegExp(p+"(?:dt?|t)"),alias:"number"},string:U,step:f,keyword:G,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:g,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:ne}})(t)}},41299:function(S){"use strict";S.exports=s,s.displayName="sass",s.aliases=[];function s(t){(function(i){i.languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule;var p=/\$[-\w]+|#\{\$[-\w]+\}/,g=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:p,operator:g}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:p,operator:g,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}},98177:function(S,s,t){"use strict";var i=t(7093);S.exports=p,p.displayName="scala",p.aliases=[];function p(g){g.register(i),g.languages.scala=g.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),g.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:g.languages.scala}}},string:/[\s\S]+/}}}),delete g.languages.scala["class-name"],delete g.languages.scala.function}},48780:function(S){"use strict";S.exports=s,s.displayName="scheme",s.aliases=[];function s(t){(function(i){i.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(p({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function p(g){for(var h in g)g[h]=g[h].replace(/<[\w\s]+>/g,function(A){return"(?:"+g[A].trim()+")"});return g[h]}})(t)}},79793:function(S){"use strict";S.exports=s,s.displayName="scss",s.aliases=[];function s(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}},52085:function(S,s,t){"use strict";var i=t(3058);S.exports=p,p.displayName="shellSession",p.aliases=[];function p(g){g.register(i),function(h){var A=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");h.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return A}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:h.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},h.languages["sh-session"]=h.languages.shellsession=h.languages["shell-session"]}(g)}},65411:function(S){"use strict";S.exports=s,s.displayName="smali",s.aliases=[];function s(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(S){"use strict";S.exports=s,s.displayName="smalltalk",s.aliases=[];function s(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="smarty",p.aliases=[];function p(g){g.register(i),function(h){h.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:h.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},h.languages.smarty["embedded-php"].inside.smarty.inside=h.languages.smarty,h.languages.smarty.string[0].inside.interpolation.inside.expression.inside=h.languages.smarty;var A=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,y=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return A.source}),"g");h.hooks.add("before-tokenize",function(f){var F="{literal}",U="{/literal}",ne=!1;h.languages["markup-templating"].buildPlaceholders(f,"smarty",y,function(re){return re===U&&(ne=!1),ne?!1:(re===F&&(ne=!0),!0)})}),h.hooks.add("after-tokenize",function(f){h.languages["markup-templating"].tokenizePlaceholders(f,"smarty")})}(g)}},66433:function(S){"use strict";S.exports=s,s.displayName="sml",s.aliases=["smlnj"];function s(t){(function(i){var p=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;i.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return p.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:p,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml})(t)}},34855:function(S){"use strict";S.exports=s,s.displayName="solidity",s.aliases=["sol"];function s(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}},12998:function(S){"use strict";S.exports=s,s.displayName="solutionFile",s.aliases=[];function s(t){(function(i){var p={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};i.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:p}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:p}},guid:p,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]})(t)}},10202:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="soy",p.aliases=[];function p(g){g.register(i),function(h){var A=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,y=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;h.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:A,greedy:!0},number:y,punctuation:/[\[\].?]/}},string:{pattern:A,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:y,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},h.hooks.add("before-tokenize",function(f){var F=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,U="{literal}",ne="{/literal}",re=!1;h.languages["markup-templating"].buildPlaceholders(f,"soy",F,function(pe){return pe===ne&&(re=!1),re?!1:(pe===U&&(re=!0),!0)})}),h.hooks.add("after-tokenize",function(f){h.languages["markup-templating"].tokenizePlaceholders(f,"soy")})}(g)}},41186:function(S,s,t){"use strict";var i=t(58710);S.exports=p,p.displayName="sparql",p.aliases=["rq"];function p(g){g.register(i),g.languages.sparql=g.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),g.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),g.languages.rq=g.languages.sparql}},68963:function(S){"use strict";S.exports=s,s.displayName="splunkSpl",s.aliases=[];function s(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(S){"use strict";S.exports=s,s.displayName="sqf",s.aliases=[];function s(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}},69435:function(S){"use strict";S.exports=s,s.displayName="sql",s.aliases=[];function s(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(S){"use strict";S.exports=s,s.displayName="squirrel",s.aliases=[];function s(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(S){"use strict";S.exports=s,s.displayName="stan",s.aliases=[];function s(t){(function(i){var p=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;i.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+p.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,p],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan})(t)}},89032:function(S){"use strict";S.exports=s,s.displayName="stylus",s.aliases=[];function s(t){(function(i){var p={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},g={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},h={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:p,number:g,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:p,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:g,punctuation:/[{}()\[\];:,]/};h.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:h}},h.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:h}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:h}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:h}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:h}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:h.interpolation}},rest:h}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:h.interpolation,comment:h.comment,punctuation:/[{},]/}},func:h.func,string:h.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:h.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}},40241:function(S){"use strict";S.exports=s,s.displayName="swift",s.aliases=[];function s(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=t.languages.swift})}},24812:function(S){"use strict";S.exports=s,s.displayName="systemd",s.aliases=[];function s(t){(function(i){var p={pattern:/^[;#].*/m,greedy:!0},g=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;i.languages.systemd={comment:p,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+g+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+g+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:p,quoted:{pattern:RegExp(/(^|\s)/.source+g),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}},16747:function(S,s,t){"use strict";var i=t(73584),p=t(87648);S.exports=g,g.displayName="t4Cs",g.aliases=[];function g(h){h.register(i),h.register(p),h.languages.t4=h.languages["t4-cs"]=h.languages["t4-templating"].createT4("csharp")}},73584:function(S){"use strict";S.exports=s,s.displayName="t4Templating",s.aliases=[];function s(t){(function(i){function p(h,A,y){return{pattern:RegExp("<#"+h+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+h+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:A,alias:y}}}}function g(h){var A=i.languages[h],y="language-"+h;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:p("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:p("=",A,y),"class-feature":p("\\+",A,y),standard:p("",A,y)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:g})})(t)}},79243:function(S,s,t){"use strict";var i=t(73584),p=t(55686);S.exports=g,g.displayName="t4Vb",g.aliases=[];function g(h){h.register(i),h.register(p),h.languages["t4-vb"]=h.languages["t4-templating"].createT4("vbnet")}},31788:function(S,s,t){"use strict";var i=t(14409);S.exports=p,p.displayName="tap",p.aliases=[];function p(g){g.register(i),g.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:g.languages.yaml,alias:"language-yaml"}}}},60871:function(S){"use strict";S.exports=s,s.displayName="tcl",s.aliases=[];function s(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(S){"use strict";S.exports=s,s.displayName="textile",s.aliases=[];function s(t){(function(i){var p=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,g=/\)|\((?![^|()\n]+\))/.source;function h(re,pe){return RegExp(re.replace(//g,function(){return"(?:"+p+")"}).replace(//g,function(){return"(?:"+g+")"}),pe||"")}var A={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},y=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:h(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:h(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:A},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:h(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:h(/(^[*#]+)+/.source),lookbehind:!0,inside:A},punctuation:/^[*#]+/}},table:{pattern:h(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:h(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:A},punctuation:/\||^\./}},inline:{pattern:h(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:h(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:h(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:h(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:h(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:h(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:h(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:h(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:h(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:A},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:h(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:h(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:h(/(^")+/.source),lookbehind:!0,inside:A},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:h(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:h(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:h(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:A},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),f=y.phrase.inside,F={inline:f.inline,link:f.link,image:f.image,footnote:f.footnote,acronym:f.acronym,mark:f.mark};y.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var U=f.inline.inside;U.bold.inside=F,U.italic.inside=F,U.inserted.inside=F,U.deleted.inside=F,U.span.inside=F;var ne=f.table.inside;ne.inline=F.inline,ne.link=F.link,ne.image=F.image,ne.footnote=F.footnote,ne.acronym=F.acronym,ne.mark=F.mark})(t)}},14693:function(S){"use strict";S.exports=s,s.displayName="toml",s.aliases=[];function s(t){(function(i){var p=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function g(h){return h.replace(/__/g,function(){return p})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(g(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(g(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}},8743:function(S){"use strict";S.exports=s,s.displayName="tremor",s.aliases=[];function s(t){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var p=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+p+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+p+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(p),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(t)}},1689:function(S,s,t){"use strict";var i=t(24103),p=t(92784);S.exports=g,g.displayName="tsx",g.aliases=[];function g(h){h.register(i),h.register(p),function(A){var y=A.util.clone(A.languages.typescript);A.languages.tsx=A.languages.extend("jsx",y),delete A.languages.tsx.parameter,delete A.languages.tsx["literal-property"];var f=A.languages.tsx.tag;f.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+f.pattern.source+")",f.pattern.flags),f.lookbehind=!0}(h)}},69210:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="tt2",p.aliases=[];function p(g){g.register(i),function(h){h.languages.tt2=h.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),h.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),h.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),h.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete h.languages.tt2.string,h.hooks.add("before-tokenize",function(A){var y=/\[%[\s\S]+?%\]/g;h.languages["markup-templating"].buildPlaceholders(A,"tt2",y)}),h.hooks.add("after-tokenize",function(A){h.languages["markup-templating"].tokenizePlaceholders(A,"tt2")})}(g)}},58710:function(S){"use strict";S.exports=s,s.displayName="turtle",s.aliases=[];function s(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}},60452:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="twig",p.aliases=[];function p(g){g.register(i),g.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},g.hooks.add("before-tokenize",function(h){if(h.language==="twig"){var A=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;g.languages["markup-templating"].buildPlaceholders(h,"twig",A)}}),g.hooks.add("after-tokenize",function(h){g.languages["markup-templating"].tokenizePlaceholders(h,"twig")})}},92784:function(S){"use strict";S.exports=s,s.displayName="typescript",s.aliases=["ts"];function s(t){(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var p=i.languages.extend("typescript",{});delete p["class-name"],i.languages.typescript["class-name"].inside=p,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:p}}}}),i.languages.ts=i.languages.typescript})(t)}},36489:function(S){"use strict";S.exports=s,s.displayName="typoscript",s.aliases=["tsconfig"];function s(t){(function(i){var p=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:p}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:p,number:/^\d+$/,punctuation:/[,|:]/}},keyword:p,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(t)}},78380:function(S){"use strict";S.exports=s,s.displayName="unrealscript",s.aliases=["uc","uscript"];function s(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}},10409:function(S){"use strict";S.exports=s,s.displayName="uorazor",s.aliases=[];function s(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(S){"use strict";S.exports=s,s.displayName="uri",s.aliases=["url"];function s(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}},82028:function(S){"use strict";S.exports=s,s.displayName="v",s.aliases=[];function s(t){(function(i){var p={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":p}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),p.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})})(t)}},62282:function(S){"use strict";S.exports=s,s.displayName="vala",s.aliases=[];function s(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(S,s,t){"use strict";var i=t(51422);S.exports=p,p.displayName="vbnet",p.aliases=[];function p(g){g.register(i),g.languages.vbnet=g.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(S){"use strict";S.exports=s,s.displayName="velocity",s.aliases=[];function s(t){(function(i){i.languages.velocity=i.languages.extend("markup",{});var p={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};p.variable.inside={string:p.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:p.number,boolean:p.boolean,punctuation:p.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:p}},variable:p.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity})(t)}},37116:function(S){"use strict";S.exports=s,s.displayName="verilog",s.aliases=[];function s(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(S){"use strict";S.exports=s,s.displayName="vhdl",s.aliases=[];function s(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(S){"use strict";S.exports=s,s.displayName="vim",s.aliases=[];function s(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(S){"use strict";S.exports=s,s.displayName="visualBasic",s.aliases=[];function s(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}},17723:function(S){"use strict";S.exports=s,s.displayName="warpscript",s.aliases=[];function s(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(S){"use strict";S.exports=s,s.displayName="wasm",s.aliases=[];function s(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(S){"use strict";S.exports=s,s.displayName="webIdl",s.aliases=[];function s(t){(function(i){var p=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,g="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+p+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,h={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+p),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp("("+/\bcallback\s+/.source+p+/\s*=\s*/.source+")"+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\btypedef\b\s*)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+p),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+p),lookbehind:!0},RegExp(p+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+p),lookbehind:!0},{pattern:RegExp(g+"(?="+/\s*(?:\.{3}\s*)?/.source+p+/\s*[(),;=]/.source+")"),inside:h}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var A in i.languages["web-idl"])A!=="class-name"&&(h[A]=i.languages["web-idl"][A]);i.languages.webidl=i.languages["web-idl"]})(t)}},8921:function(S){"use strict";S.exports=s,s.displayName="wiki",s.aliases=[];function s(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}},13429:function(S){"use strict";S.exports=s,s.displayName="wolfram",s.aliases=["mathematica","wl","nb"];function s(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}},65197:function(S){"use strict";S.exports=s,s.displayName="wren",s.aliases=[];function s(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(S){"use strict";S.exports=s,s.displayName="xeora",s.aliases=["xeoracube"];function s(t){(function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora})(t)}},35:function(S){"use strict";S.exports=s,s.displayName="xmlDoc",s.aliases=[];function s(t){(function(i){function p(y,f){i.languages[y]&&i.languages.insertBefore(y,"comment",{"doc-comment":f})}var g=i.languages.markup.tag,h={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:g}},A={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:g}};p("csharp",h),p("fsharp",h),p("vbnet",A)})(t)}},86095:function(S){"use strict";S.exports=s,s.displayName="xojo",s.aliases=[];function s(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(S){"use strict";S.exports=s,s.displayName="xquery",s.aliases=[];function s(t){(function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var p=function(h){return typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join("")},g=function(h){for(var A=[],y=0;y0&&A[A.length-1].tagName===p(f.content[0].content[1])&&A.pop():f.content[f.content.length-1].content==="/>"||A.push({tagName:p(f.content[0].content[1]),openedBraces:0}):A.length>0&&f.type==="punctuation"&&f.content==="{"&&(!h[y+1]||h[y+1].type!=="punctuation"||h[y+1].content!=="{")&&(!h[y-1]||h[y-1].type!=="plain-text"||h[y-1].content!=="{")?A[A.length-1].openedBraces++:A.length>0&&A[A.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?A[A.length-1].openedBraces--:f.type!=="comment"&&(F=!0)),(F||typeof f=="string")&&A.length>0&&A[A.length-1].openedBraces===0){var U=p(f);y0&&(typeof h[y-1]=="string"||h[y-1].type==="plain-text")&&(U=p(h[y-1])+U,h.splice(y-1,1),y--),/^\s+$/.test(U)?h[y]=U:h[y]=new i.Token("plain-text",U,null,U)}f.content&&typeof f.content!="string"&&g(f.content)}};i.hooks.add("after-tokenize",function(h){h.language==="xquery"&&g(h.tokens)})})(t)}},14409:function(S){"use strict";S.exports=s,s.displayName="yaml",s.aliases=["yml"];function s(t){(function(i){var p=/[*&][^\s[\]{},]+/,g=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,h="(?:"+g.source+"(?:[ ]+"+p.source+")?|"+p.source+"(?:[ ]+"+g.source+")?)",A=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),y=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(F,U){U=(U||"").replace(/m/g,"")+"m";var ne=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return F});return RegExp(ne,U)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return h})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return"(?:"+A+"|"+y+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(y),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:g,important:p,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(t)}},33460:function(S){"use strict";S.exports=s,s.displayName="yang",s.aliases=[];function s(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(S){"use strict";S.exports=s,s.displayName="zig",s.aliases=[];function s(t){(function(i){function p(U){return function(){return U}}var g=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,h="\\b(?!"+g.source+")(?!\\d)\\w+\\b",A=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,y=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,p(A)),f=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,p(h)),F="(?!\\s)(?:!?\\s*(?:"+y+"\\s*)*"+f+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,p(F)).replace(//g,p(A))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,p(F)).replace(//g,p(A))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:g,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(U){U.inside===null&&(U.inside=i.languages.zig)})})(t)}},92848:function(S,s){"use strict";var t;s.Q=h,t=A;var i="",p=" ",g=/[ \t\n\r\f]+/g;function h(y){var f=String(y||i).trim();return f===i?[]:f.split(g)}function A(y){return y.join(p).trim()}},95251:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}},p=i(t(69189)),g=t(32015);function h(A,y){var f={};return!A||typeof A!="string"||(0,p.default)(A,function(F,U){F&&U&&(f[(0,g.camelCase)(F,y)]=U)}),f}h.default=h,S.exports=h},32015:function(S,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,p=/^[^-]+$/,g=/^-(webkit|moz|ms|o|khtml)-/,h=/^-(ms)-/,A=function(U){return!U||p.test(U)||t.test(U)},y=function(U,ne){return ne.toUpperCase()},f=function(U,ne){return"".concat(ne,"-")},F=function(U,ne){return ne===void 0&&(ne={}),A(U)?U:(U=U.toLowerCase(),ne.reactCompat?U=U.replace(h,f):U=U.replace(g,f),U.replace(i,y))};s.camelCase=F},69189:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(s,"__esModule",{value:!0}),s.default=g;const p=i(t(80364));function g(h,A){let y=null;if(!h||typeof h!="string")return y;const f=(0,p.default)(h),F=typeof A=="function";return f.forEach(U=>{if(U.type!=="declaration")return;const{property:ne,value:re}=U;F?A(ne,re,U):re&&(y=y||{},y[ne]=re)}),y}},97270:function(S){S.exports=t;var s=Object.prototype.hasOwnProperty;function t(){for(var i={},p=0;p{const se=(X,Se)=>(Y.set(Se,X),X),ee=X=>{if(Y.has(X))return Y.get(X);const[Se,me]=V[X];switch(Se){case p:case i:return se(me,X);case g:{const D=se([],X);for(const Ue of me)D.push(ee(Ue));return D}case h:{const D=se({},X);for(const[Ue,nt]of me)D[ee(Ue)]=ee(nt);return D}case A:return se(new Date(me),X);case y:{const{source:D,flags:Ue}=me;return se(new RegExp(D,Ue),X)}case f:{const D=se(new Map,X);for(const[Ue,nt]of me)D.set(ee(Ue),ee(nt));return D}case F:{const D=se(new Set,X);for(const Ue of me)D.add(ee(Ue));return D}case U:{const{name:D,message:Ue}=me;return se(new re[D](Ue),X)}case ne:return se(BigInt(me),X);case"BigInt":return se(Object(BigInt(me)),X);case"ArrayBuffer":return se(new Uint8Array(me).buffer,me);case"DataView":{const{buffer:D}=new Uint8Array(me);return se(new DataView(D),me)}}return se(new re[Se](me),X)};return ee},ye=Y=>pe(new Map,Y)(0),ce="",{toString:Ee}={},{keys:ge}=Object,Ce=Y=>{const V=typeof Y;if(V!=="object"||!Y)return[p,V];const se=Ee.call(Y).slice(8,-1);switch(se){case"Array":return[g,ce];case"Object":return[h,ce];case"Date":return[A,ce];case"RegExp":return[y,ce];case"Map":return[f,ce];case"Set":return[F,ce];case"DataView":return[g,se]}return se.includes("Array")?[g,se]:se.includes("Error")?[U,se]:[h,se]},j=([Y,V])=>Y===p&&(V==="function"||V==="symbol"),G=(Y,V,se,ee)=>{const X=(me,D)=>{const Ue=ee.push(me)-1;return se.set(D,Ue),Ue},Se=me=>{if(se.has(me))return se.get(me);let[D,Ue]=Ce(me);switch(D){case p:{let kt=me;switch(Ue){case"bigint":D=ne,kt=me.toString();break;case"function":case"symbol":if(Y)throw new TypeError("unable to serialize "+Ue);kt=null;break;case"undefined":return X([i],me)}return X([D,kt],me)}case g:{if(Ue){let it=me;return Ue==="DataView"?it=new Uint8Array(me.buffer):Ue==="ArrayBuffer"&&(it=new Uint8Array(me)),X([Ue,[...it]],me)}const kt=[],Be=X([D,kt],me);for(const it of me)kt.push(Se(it));return Be}case h:{if(Ue)switch(Ue){case"BigInt":return X([Ue,me.toString()],me);case"Boolean":case"Number":case"String":return X([Ue,me.valueOf()],me)}if(V&&"toJSON"in me)return Se(me.toJSON());const kt=[],Be=X([D,kt],me);for(const it of ge(me))(Y||!j(Ce(me[it])))&&kt.push([Se(it),Se(me[it])]);return Be}case A:return X([D,me.toISOString()],me);case y:{const{source:kt,flags:Be}=me;return X([D,{source:kt,flags:Be}],me)}case f:{const kt=[],Be=X([D,kt],me);for(const[it,ot]of me)(Y||!(j(Ce(it))||j(Ce(ot))))&&kt.push([Se(it),Se(ot)]);return Be}case F:{const kt=[],Be=X([D,kt],me);for(const it of me)(Y||!j(Ce(it)))&&kt.push(Se(it));return Be}}const{message:nt}=me;return X([D,{name:Ue,message:nt}],me)};return Se},Z=(Y,{json:V,lossy:se}={})=>{const ee=[];return G(!(V||se),!!V,new Map,ee)(Y),ee};var B=typeof structuredClone=="function"?(Y,V)=>V&&("json"in V||"lossy"in V)?ye(Z(Y,V)):structuredClone(Y):(Y,V)=>ye(Z(Y,V))},11630:function(S,s,t){"use strict";t.d(s,{P:function(){return p},Q:function(){return i}});function i(g){const h=[],A=String(g||"");let y=A.indexOf(","),f=0,F=!1;for(;!F;){y===-1&&(y=A.length,F=!0);const U=A.slice(f,y).trim();(U||!F)&&h.push(U),f=y+1,y=A.indexOf(",",f)}return h}function p(g,h){const A=h||{};return(g[g.length-1]===""?[...g,""]:g).join((A.padRight?" ":"")+","+(A.padLeft===!1?"":" ")).trim()}},87342:function(S,s,t){"use strict";t.d(s,{ok:function(){return g},t1:function(){return h}});function i(A){return A}function p(){}function g(){}function h(){}},81994:function(S,s,t){"use strict";t.d(s,{h:function(){return ge},s:function(){return Ce}});var i=t(14470),p=t(11630);const g=/[#.]/g;function h(j,G){const Z=j||"",B={};let Y=0,V,se;for(;Y-1&&ce.test(String.fromCharCode(ge))}}},14470:function(S,s,t){"use strict";t.d(s,{dy:function(){return Ee},YP:function(){return ge}});class i{constructor(j,G,Z){this.normal=G,this.property=j,Z&&(this.space=Z)}}i.prototype.normal={},i.prototype.property={},i.prototype.space=void 0;function p(Ce,j){const G={},Z={};for(const B of Ce)Object.assign(G,B.property),Object.assign(Z,B.normal);return new i(G,Z,j)}var g=t(13830),h=t(53538);function A(Ce){const j={},G={};for(const[Z,B]of Object.entries(Ce.properties)){const Y=new h.I(Z,Ce.transform(Ce.attributes||{},Z),B,Ce.space);Ce.mustUseProperty&&Ce.mustUseProperty.includes(Z)&&(Y.mustUseProperty=!0),j[Z]=Y,G[(0,g.F)(Z)]=Z,G[(0,g.F)(Y.attribute)]=Z}return new i(j,G,Ce.space)}var y=t(71337);const f=A({properties:{ariaActiveDescendant:null,ariaAtomic:y.booleanish,ariaAutoComplete:null,ariaBusy:y.booleanish,ariaChecked:y.booleanish,ariaColCount:y.number,ariaColIndex:y.number,ariaColSpan:y.number,ariaControls:y.spaceSeparated,ariaCurrent:null,ariaDescribedBy:y.spaceSeparated,ariaDetails:null,ariaDisabled:y.booleanish,ariaDropEffect:y.spaceSeparated,ariaErrorMessage:null,ariaExpanded:y.booleanish,ariaFlowTo:y.spaceSeparated,ariaGrabbed:y.booleanish,ariaHasPopup:null,ariaHidden:y.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:y.spaceSeparated,ariaLevel:y.number,ariaLive:null,ariaModal:y.booleanish,ariaMultiLine:y.booleanish,ariaMultiSelectable:y.booleanish,ariaOrientation:null,ariaOwns:y.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:y.number,ariaPressed:y.booleanish,ariaReadOnly:y.booleanish,ariaRelevant:null,ariaRequired:y.booleanish,ariaRoleDescription:y.spaceSeparated,ariaRowCount:y.number,ariaRowIndex:y.number,ariaRowSpan:y.number,ariaSelected:y.booleanish,ariaSetSize:y.number,ariaSort:null,ariaValueMax:y.number,ariaValueMin:y.number,ariaValueNow:y.number,ariaValueText:null,role:null},transform(Ce,j){return j==="role"?j:"aria-"+j.slice(4).toLowerCase()}});function F(Ce,j){return j in Ce?Ce[j]:j}function U(Ce,j){return F(Ce,j.toLowerCase())}const ne=A({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:y.commaSeparated,acceptCharset:y.spaceSeparated,accessKey:y.spaceSeparated,action:null,allow:null,allowFullScreen:y.boolean,allowPaymentRequest:y.boolean,allowUserMedia:y.boolean,alt:null,as:null,async:y.boolean,autoCapitalize:null,autoComplete:y.spaceSeparated,autoFocus:y.boolean,autoPlay:y.boolean,blocking:y.spaceSeparated,capture:null,charSet:null,checked:y.boolean,cite:null,className:y.spaceSeparated,cols:y.number,colSpan:null,content:null,contentEditable:y.booleanish,controls:y.boolean,controlsList:y.spaceSeparated,coords:y.number|y.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y.boolean,defer:y.boolean,dir:null,dirName:null,disabled:y.boolean,download:y.overloadedBoolean,draggable:y.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y.boolean,formTarget:null,headers:y.spaceSeparated,height:y.number,hidden:y.overloadedBoolean,high:y.number,href:null,hrefLang:null,htmlFor:y.spaceSeparated,httpEquiv:y.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:y.boolean,inputMode:null,integrity:null,is:null,isMap:y.boolean,itemId:null,itemProp:y.spaceSeparated,itemRef:y.spaceSeparated,itemScope:y.boolean,itemType:y.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y.boolean,low:y.number,manifest:null,max:null,maxLength:y.number,media:null,method:null,min:null,minLength:y.number,multiple:y.boolean,muted:y.boolean,name:null,nonce:null,noModule:y.boolean,noValidate:y.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y.boolean,optimum:y.number,pattern:null,ping:y.spaceSeparated,placeholder:null,playsInline:y.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y.boolean,referrerPolicy:null,rel:y.spaceSeparated,required:y.boolean,reversed:y.boolean,rows:y.number,rowSpan:y.number,sandbox:y.spaceSeparated,scope:null,scoped:y.boolean,seamless:y.boolean,selected:y.boolean,shadowRootClonable:y.boolean,shadowRootDelegatesFocus:y.boolean,shadowRootMode:null,shape:null,size:y.number,sizes:null,slot:null,span:y.number,spellCheck:y.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:y.number,step:null,style:null,tabIndex:y.number,target:null,title:null,translate:null,type:null,typeMustMatch:y.boolean,useMap:null,value:y.booleanish,width:y.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:y.spaceSeparated,axis:null,background:null,bgColor:null,border:y.number,borderColor:null,bottomMargin:y.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y.boolean,declare:y.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:y.number,leftMargin:y.number,link:null,longDesc:null,lowSrc:null,marginHeight:y.number,marginWidth:y.number,noResize:y.boolean,noHref:y.boolean,noShade:y.boolean,noWrap:y.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:y.number,rules:null,scheme:null,scrolling:y.booleanish,standby:null,summary:null,text:null,topMargin:y.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:y.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y.boolean,disableRemotePlayback:y.boolean,prefix:null,property:null,results:y.number,security:null,unselectable:null},space:"html",transform:U}),re=A({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:y.commaOrSpaceSeparated,accentHeight:y.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:y.number,amplitude:y.number,arabicForm:null,ascent:y.number,attributeName:null,attributeType:null,azimuth:y.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:y.number,by:null,calcMode:null,capHeight:y.number,className:y.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:y.number,diffuseConstant:y.number,direction:null,display:null,dur:null,divisor:y.number,dominantBaseline:null,download:y.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:y.number,enableBackground:null,end:null,event:null,exponent:y.number,externalResourcesRequired:null,fill:null,fillOpacity:y.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:y.commaSeparated,g2:y.commaSeparated,glyphName:y.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:y.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:y.number,horizOriginX:y.number,horizOriginY:y.number,id:null,ideographic:y.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:y.number,k:y.number,k1:y.number,k2:y.number,k3:y.number,k4:y.number,kernelMatrix:y.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:y.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:y.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:y.number,overlineThickness:y.number,paintOrder:null,panose1:null,path:null,pathLength:y.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:y.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:y.number,pointsAtY:y.number,pointsAtZ:y.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:y.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:y.commaOrSpaceSeparated,rev:y.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:y.commaOrSpaceSeparated,requiredFeatures:y.commaOrSpaceSeparated,requiredFonts:y.commaOrSpaceSeparated,requiredFormats:y.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:y.number,specularExponent:y.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:y.number,strikethroughThickness:y.number,string:null,stroke:null,strokeDashArray:y.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:y.number,strokeOpacity:y.number,strokeWidth:null,style:null,surfaceScale:y.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:y.commaOrSpaceSeparated,tabIndex:y.number,tableValues:null,target:null,targetX:y.number,targetY:y.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:y.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:y.number,underlineThickness:y.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:y.number,values:null,vAlphabetic:y.number,vMathematical:y.number,vectorEffect:null,vHanging:y.number,vIdeographic:y.number,version:null,vertAdvY:y.number,vertOriginX:y.number,vertOriginY:y.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:y.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:F}),pe=A({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(Ce,j){return"xlink:"+j.slice(5).toLowerCase()}}),ye=A({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:U}),ce=A({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(Ce,j){return"xml:"+j.slice(3).toLowerCase()}}),Ee=p([f,ne,pe,ye,ce],"html"),ge=p([f,re,pe,ye,ce],"svg")},86825:function(S,s,t){"use strict";t.d(s,{s:function(){return f}});var i=t(53538),p=t(25629),g=t(13830);const h=/[A-Z]/g,A=/-[a-z]/g,y=/^data[-\w.:]+$/i;function f(ne,re){const pe=(0,g.F)(re);let ye=re,ce=p.k;if(pe in ne.normal)return ne.property[ne.normal[pe]];if(pe.length>4&&pe.slice(0,4)==="data"&&y.test(re)){if(re.charAt(4)==="-"){const Ee=re.slice(5).replace(A,U);ye="data"+Ee.charAt(0).toUpperCase()+Ee.slice(1)}else{const Ee=re.slice(4);if(!A.test(Ee)){let ge=Ee.replace(h,F);ge.charAt(0)!=="-"&&(ge="-"+ge),re="data"+ge}}ce=i.I}return new ce(ye,re)}function F(ne){return"-"+ne.toLowerCase()}function U(ne){return ne.charAt(1).toUpperCase()}},13830:function(S,s,t){"use strict";t.d(s,{F:function(){return i}});function i(p){return p.toLowerCase()}},53538:function(S,s,t){"use strict";t.d(s,{I:function(){return h}});var i=t(25629),p=t(71337);const g=Object.keys(p);class h extends i.k{constructor(f,F,U,ne){let re=-1;if(super(f,F),A(this,"space",ne),typeof U=="number")for(;++re0){const m=d.length>1?d:d[0];m&&(o.children=m)}}function pt(o,d,m){return E;function E(N,O,M,J){const Me=Array.isArray(M.children)?m:d;return J?Me(O,M,J):Me(O,M)}}function Ye(o,d){return m;function m(E,N,O,M){const J=Array.isArray(O.children),Pe=(0,B.Pk)(E);return d(N,O,M,J,{columnNumber:Pe?Pe.column-1:void 0,fileName:o,lineNumber:Pe?Pe.line:void 0},void 0)}}function en(o,d){const m={};let E,N;for(N in d.properties)if(N!=="children"&&Se.call(d.properties,N)){const O=dn(o,N,d.properties[N]);if(O){const[M,J]=O;o.tableCellAlignToStyle&&M==="align"&&typeof J=="string"&&nt.has(d.tagName)?E=J:m[M]=J}}if(E){const O=m.style||(m.style={});O[o.stylePropertyNameCase==="css"?"text-align":"textAlign"]=E}return m}function Ht(o,d){const m={};for(const E of d.attributes)if(E.type==="mdxJsxExpressionAttribute")if(E.data&&E.data.estree&&o.evaluater){const O=E.data.estree.body[0];(0,p.ok)(O.type==="ExpressionStatement");const M=O.expression;(0,p.ok)(M.type==="ObjectExpression");const J=M.properties[0];(0,p.ok)(J.type==="SpreadElement"),Object.assign(m,o.evaluater.evaluateExpression(J.argument))}else Xt(o,d.position);else{const N=E.name;let O;if(E.value&&typeof E.value=="object")if(E.value.data&&E.value.data.estree&&o.evaluater){const J=E.value.data.estree.body[0];(0,p.ok)(J.type==="ExpressionStatement"),O=o.evaluater.evaluateExpression(J.expression)}else Xt(o,d.position);else O=E.value===null?!0:E.value;m[N]=O}return m}function ln(o,d){const m=[];let E=-1;const N=o.passKeys?new Map:me;for(;++EN?0:N+d:d=d>N?N:d,m=m>0?m:0,E.length<1e4)M=Array.from(E),M.unshift(d,m),o.splice(...M);else for(m&&o.splice(d,m);O0?(Q(o,o.length,0,d),o):d}class dt{constructor(d){this.left=d?[...d]:[],this.right=[]}get(d){if(d<0||d>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+d+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return dthis.left.length?this.right.slice(this.right.length-E+this.left.length,this.right.length-d+this.left.length).reverse():this.left.slice(d).concat(this.right.slice(this.right.length-E+this.left.length).reverse())}splice(d,m,E){const N=m||0;this.setCursor(Math.trunc(d));const O=this.right.splice(this.right.length-N,Number.POSITIVE_INFINITY);return E&&st(this.left,E),O.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(d){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(d)}pushMany(d){this.setCursor(Number.POSITIVE_INFINITY),st(this.left,d)}unshift(d){this.setCursor(0),this.right.push(d)}unshiftMany(d){this.setCursor(0),st(this.right,d.reverse())}setCursor(d){if(!(d===this.left.length||d>this.left.length&&this.right.length===0||d<0&&this.left.length===0))if(dM))return;const tr=d.events.length;let pr=tr,Tn,lr;for(;pr--;)if(d.events[pr][0]==="exit"&&d.events[pr][1].type==="chunkFlow"){if(Tn){lr=d.events[pr][1].end;break}Tn=!0}for(jt(E),Ut=tr;Uton;){const qn=m[Bn];d.containerState=qn[1],qn[0].exit.call(d,o)}m.length=on}function rn(){N.write([null]),O=void 0,N=void 0,d.containerState._closeFlow=void 0}}function An(o,d,m){return(0,Ct.f)(o,o.attempt(this.parser.constructs.document,d,m),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const _t={partial:!0,tokenize:zn};function zn(o,d,m){return E;function E(O){return(0,Oe.xz)(O)?(0,Ct.f)(o,N,"linePrefix")(O):N(O)}function N(O){return O===null||(0,Oe.Ch)(O)?d(O):m(O)}}const Ln={resolve:Gn,tokenize:fr},Dn={partial:!0,tokenize:er};function Gn(o){return mt(o),o}function fr(o,d){let m;return E;function E(J){return o.enter("content"),m=o.enter("chunkContent",{contentType:"content"}),N(J)}function N(J){return J===null?O(J):(0,Oe.Ch)(J)?o.check(Dn,M,O)(J):(o.consume(J),N)}function O(J){return o.exit("chunkContent"),o.exit("content"),d(J)}function M(J){return o.consume(J),o.exit("chunkContent"),m.next=o.enter("chunkContent",{contentType:"content",previous:m}),m=m.next,N}}function er(o,d,m){const E=this;return N;function N(M){return o.exit("chunkContent"),o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),(0,Ct.f)(o,O,"linePrefix")}function O(M){if(M===null||(0,Oe.Ch)(M))return m(M);const J=E.events[E.events.length-1];return!E.parser.constructs.disable.null.includes("codeIndented")&&J&&J[1].type==="linePrefix"&&J[2].sliceSerialize(J[1],!0).length>=4?d(M):o.interrupt(E.parser.constructs.flow,m,d)(M)}}const xr={tokenize:kr};function kr(o){const d=this,m=o.attempt(_t,E,o.attempt(this.parser.constructs.flowInitial,N,(0,Ct.f)(o,o.attempt(this.parser.constructs.flow,N,o.attempt(Ln,N)),"linePrefix")));return m;function E(O){if(O===null){o.consume(O);return}return o.enter("lineEndingBlank"),o.consume(O),o.exit("lineEndingBlank"),d.currentConstruct=void 0,m}function N(O){if(O===null){o.consume(O);return}return o.enter("lineEnding"),o.consume(O),o.exit("lineEnding"),d.currentConstruct=void 0,m}}const On={resolveAll:Vr()},Sr=Cr("string"),Zn=Cr("text");function Cr(o){return{resolveAll:Vr(o==="text"?Zr:void 0),tokenize:d};function d(m){const E=this,N=this.parser.constructs[o],O=m.attempt(N,M,J);return M;function M(de){return Me(de)?O(de):J(de)}function J(de){if(de===null){m.consume(de);return}return m.enter("data"),m.consume(de),Pe}function Pe(de){return Me(de)?(m.exit("data"),O(de)):(m.consume(de),Pe)}function Me(de){if(de===null)return!0;const $e=N[de];let Le=-1;if($e)for(;++Le<$e.length;){const ve=$e[Le];if(!ve.previous||ve.previous.call(E,E.previous))return!0}return!1}}}function Vr(o){return d;function d(m,E){let N=-1,O;for(;++N<=m.length;)O===void 0?m[N]&&m[N][1].type==="data"&&(O=N,N++):(!m[N]||m[N][1].type!=="data")&&(N!==O+2&&(m[O][1].end=m[N-1][1].end,m.splice(O+2,N-O-2),N=O+2),O=void 0);return o?o(m,E):m}}function Zr(o,d){let m=0;for(;++m<=o.length;)if((m===o.length||o[m][1].type==="lineEnding")&&o[m-1][1].type==="data"){const E=o[m-1][1],N=d.sliceStream(E);let O=N.length,M=-1,J=0,Pe;for(;O--;){const Me=N[O];if(typeof Me=="string"){for(M=Me.length;Me.charCodeAt(M-1)===32;)J++,M--;if(M)break;M=-1}else if(Me===-2)Pe=!0,J++;else if(Me!==-1){O++;break}}if(d._contentTypeTextTrailing&&m===o.length&&(J=0),J){const Me={type:m===o.length||Pe||J<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:O?M:E.start._bufferIndex+M,_index:E.start._index+O,line:E.end.line,column:E.end.column-J,offset:E.end.offset-J},end:cr({},E.end)};E.end=cr({},Me.start),E.start.offset===E.end.offset?Object.assign(E,Me):(o.splice(m,0,["enter",Me,d],["exit",Me,d]),m+=2)}m++}return o}const Ir={name:"thematicBreak",tokenize:ir};function ir(o,d,m){let E=0,N;return O;function O(Me){return o.enter("thematicBreak"),M(Me)}function M(Me){return N=Me,J(Me)}function J(Me){return Me===N?(o.enter("thematicBreakSequence"),Pe(Me)):E>=3&&(Me===null||(0,Oe.Ch)(Me))?(o.exit("thematicBreak"),d(Me)):m(Me)}function Pe(Me){return Me===N?(o.consume(Me),E++,Pe):(o.exit("thematicBreakSequence"),(0,Oe.xz)(Me)?(0,Ct.f)(o,J,"whitespace")(Me):J(Me))}}const Kn={continuation:{tokenize:Rt},exit:$t,name:"list",tokenize:Nr},Vn={partial:!0,tokenize:vt},Gr={partial:!0,tokenize:lt};function Nr(o,d,m){const E=this,N=E.events[E.events.length-1];let O=N&&N[1].type==="linePrefix"?N[2].sliceSerialize(N[1],!0).length:0,M=0;return J;function J(ve){const Ft=E.containerState.type||(ve===42||ve===43||ve===45?"listUnordered":"listOrdered");if(Ft==="listUnordered"?!E.containerState.marker||ve===E.containerState.marker:(0,Oe.pY)(ve)){if(E.containerState.type||(E.containerState.type=Ft,o.enter(Ft,{_container:!0})),Ft==="listUnordered")return o.enter("listItemPrefix"),ve===42||ve===45?o.check(Ir,m,Me)(ve):Me(ve);if(!E.interrupt||ve===49)return o.enter("listItemPrefix"),o.enter("listItemValue"),Pe(ve)}return m(ve)}function Pe(ve){return(0,Oe.pY)(ve)&&++M<10?(o.consume(ve),Pe):(!E.interrupt||M<2)&&(E.containerState.marker?ve===E.containerState.marker:ve===41||ve===46)?(o.exit("listItemValue"),Me(ve)):m(ve)}function Me(ve){return o.enter("listItemMarker"),o.consume(ve),o.exit("listItemMarker"),E.containerState.marker=E.containerState.marker||ve,o.check(_t,E.interrupt?m:de,o.attempt(Vn,Le,$e))}function de(ve){return E.containerState.initialBlankLine=!0,O++,Le(ve)}function $e(ve){return(0,Oe.xz)(ve)?(o.enter("listItemPrefixWhitespace"),o.consume(ve),o.exit("listItemPrefixWhitespace"),Le):m(ve)}function Le(ve){return E.containerState.size=O+E.sliceSerialize(o.exit("listItemPrefix"),!0).length,d(ve)}}function Rt(o,d,m){const E=this;return E.containerState._closeFlow=void 0,o.check(_t,N,O);function N(J){return E.containerState.furtherBlankLines=E.containerState.furtherBlankLines||E.containerState.initialBlankLine,(0,Ct.f)(o,d,"listItemIndent",E.containerState.size+1)(J)}function O(J){return E.containerState.furtherBlankLines||!(0,Oe.xz)(J)?(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,M(J)):(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,o.attempt(Gr,d,M)(J))}function M(J){return E.containerState._closeFlow=!0,E.interrupt=void 0,(0,Ct.f)(o,o.attempt(Kn,d,m),"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J)}}function lt(o,d,m){const E=this;return(0,Ct.f)(o,N,"listItemIndent",E.containerState.size+1);function N(O){const M=E.events[E.events.length-1];return M&&M[1].type==="listItemIndent"&&M[2].sliceSerialize(M[1],!0).length===E.containerState.size?d(O):m(O)}}function $t(o){o.exit(this.containerState.type)}function vt(o,d,m){const E=this;return(0,Ct.f)(o,N,"listItemPrefixWhitespace",E.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function N(O){const M=E.events[E.events.length-1];return!(0,Oe.xz)(O)&&M&&M[1].type==="listItemPrefixWhitespace"?d(O):m(O)}}const un={continuation:{tokenize:bt},exit:gn,name:"blockQuote",tokenize:Cn};function Cn(o,d,m){const E=this;return N;function N(M){if(M===62){const J=E.containerState;return J.open||(o.enter("blockQuote",{_container:!0}),J.open=!0),o.enter("blockQuotePrefix"),o.enter("blockQuoteMarker"),o.consume(M),o.exit("blockQuoteMarker"),O}return m(M)}function O(M){return(0,Oe.xz)(M)?(o.enter("blockQuotePrefixWhitespace"),o.consume(M),o.exit("blockQuotePrefixWhitespace"),o.exit("blockQuotePrefix"),d):(o.exit("blockQuotePrefix"),d(M))}}function bt(o,d,m){const E=this;return N;function N(M){return(0,Oe.xz)(M)?(0,Ct.f)(o,O,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):O(M)}function O(M){return o.attempt(un,d,m)(M)}}function gn(o){o.exit("blockQuote")}function we(o,d,m,E,N,O,M,J,Pe){const Me=Pe||Number.POSITIVE_INFINITY;let de=0;return $e;function $e(jt){return jt===60?(o.enter(E),o.enter(N),o.enter(O),o.consume(jt),o.exit(O),Le):jt===null||jt===32||jt===41||(0,Oe.Av)(jt)?m(jt):(o.enter(E),o.enter(M),o.enter(J),o.enter("chunkString",{contentType:"string"}),Qt(jt))}function Le(jt){return jt===62?(o.enter(O),o.consume(jt),o.exit(O),o.exit(N),o.exit(E),d):(o.enter(J),o.enter("chunkString",{contentType:"string"}),ve(jt))}function ve(jt){return jt===62?(o.exit("chunkString"),o.exit(J),Le(jt)):jt===null||jt===60||(0,Oe.Ch)(jt)?m(jt):(o.consume(jt),jt===92?Ft:ve)}function Ft(jt){return jt===60||jt===62||jt===92?(o.consume(jt),ve):ve(jt)}function Qt(jt){return!de&&(jt===null||jt===41||(0,Oe.z3)(jt))?(o.exit("chunkString"),o.exit(J),o.exit(M),o.exit(E),d(jt)):de999||ve===null||ve===91||ve===93&&!Pe||ve===94&&!J&&"_hiddenFootnoteSupport"in M.parser.constructs?m(ve):ve===93?(o.exit(O),o.enter(N),o.consume(ve),o.exit(N),o.exit(E),d):(0,Oe.Ch)(ve)?(o.enter("lineEnding"),o.consume(ve),o.exit("lineEnding"),de):(o.enter("chunkString",{contentType:"string"}),$e(ve))}function $e(ve){return ve===null||ve===91||ve===93||(0,Oe.Ch)(ve)||J++>999?(o.exit("chunkString"),de(ve)):(o.consume(ve),Pe||(Pe=!(0,Oe.xz)(ve)),ve===92?Le:$e)}function Le(ve){return ve===91||ve===92||ve===93?(o.consume(ve),J++,$e):$e(ve)}}function c(o,d,m,E,N,O){let M;return J;function J(Le){return Le===34||Le===39||Le===40?(o.enter(E),o.enter(N),o.consume(Le),o.exit(N),M=Le===40?41:Le,Pe):m(Le)}function Pe(Le){return Le===M?(o.enter(N),o.consume(Le),o.exit(N),o.exit(E),d):(o.enter(O),Me(Le))}function Me(Le){return Le===M?(o.exit(O),Pe(M)):Le===null?m(Le):(0,Oe.Ch)(Le)?(o.enter("lineEnding"),o.consume(Le),o.exit("lineEnding"),(0,Ct.f)(o,Me,"linePrefix")):(o.enter("chunkString",{contentType:"string"}),de(Le))}function de(Le){return Le===M||Le===null||(0,Oe.Ch)(Le)?(o.exit("chunkString"),Me(Le)):(o.consume(Le),Le===92?$e:de)}function $e(Le){return Le===M||Le===92?(o.consume(Le),de):de(Le)}}function ht(o,d){let m;return E;function E(N){return(0,Oe.Ch)(N)?(o.enter("lineEnding"),o.consume(N),o.exit("lineEnding"),m=!0,E):(0,Oe.xz)(N)?(0,Ct.f)(o,E,m?"linePrefix":"lineSuffix")(N):d(N)}}function Lt(o){return o.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const He={name:"definition",tokenize:Ot},Dt={partial:!0,tokenize:Sn};function Ot(o,d,m){const E=this;let N;return O;function O(ve){return o.enter("definition"),M(ve)}function M(ve){return ie.call(E,o,J,m,"definitionLabel","definitionLabelMarker","definitionLabelString")(ve)}function J(ve){return N=Lt(E.sliceSerialize(E.events[E.events.length-1][1]).slice(1,-1)),ve===58?(o.enter("definitionMarker"),o.consume(ve),o.exit("definitionMarker"),Pe):m(ve)}function Pe(ve){return(0,Oe.z3)(ve)?ht(o,Me)(ve):Me(ve)}function Me(ve){return we(o,de,m,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(ve)}function de(ve){return o.attempt(Dt,$e,$e)(ve)}function $e(ve){return(0,Oe.xz)(ve)?(0,Ct.f)(o,Le,"whitespace")(ve):Le(ve)}function Le(ve){return ve===null||(0,Oe.Ch)(ve)?(o.exit("definition"),E.parser.defined.push(N),d(ve)):m(ve)}}function Sn(o,d,m){return E;function E(J){return(0,Oe.z3)(J)?ht(o,N)(J):m(J)}function N(J){return c(o,O,m,"definitionTitle","definitionTitleMarker","definitionTitleString")(J)}function O(J){return(0,Oe.xz)(J)?(0,Ct.f)(o,M,"whitespace")(J):M(J)}function M(J){return J===null||(0,Oe.Ch)(J)?d(J):m(J)}}const En={name:"codeIndented",tokenize:Pn},ue={partial:!0,tokenize:ar};function Pn(o,d,m){const E=this;return N;function N(Me){return o.enter("codeIndented"),(0,Ct.f)(o,O,"linePrefix",5)(Me)}function O(Me){const de=E.events[E.events.length-1];return de&&de[1].type==="linePrefix"&&de[2].sliceSerialize(de[1],!0).length>=4?M(Me):m(Me)}function M(Me){return Me===null?Pe(Me):(0,Oe.Ch)(Me)?o.attempt(ue,M,Pe)(Me):(o.enter("codeFlowValue"),J(Me))}function J(Me){return Me===null||(0,Oe.Ch)(Me)?(o.exit("codeFlowValue"),M(Me)):(o.consume(Me),J)}function Pe(Me){return o.exit("codeIndented"),d(Me)}}function ar(o,d,m){const E=this;return N;function N(M){return E.parser.lazy[E.now().line]?m(M):(0,Oe.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),N):(0,Ct.f)(o,O,"linePrefix",5)(M)}function O(M){const J=E.events[E.events.length-1];return J&&J[1].type==="linePrefix"&&J[2].sliceSerialize(J[1],!0).length>=4?d(M):(0,Oe.Ch)(M)?N(M):m(M)}}const Rn={name:"headingAtx",resolve:T,tokenize:I};function T(o,d){let m=o.length-2,E=3,N,O;return o[E][1].type==="whitespace"&&(E+=2),m-2>E&&o[m][1].type==="whitespace"&&(m-=2),o[m][1].type==="atxHeadingSequence"&&(E===m-1||m-4>E&&o[m-2][1].type==="whitespace")&&(m-=E+1===m?2:4),m>E&&(N={type:"atxHeadingText",start:o[E][1].start,end:o[m][1].end},O={type:"chunkText",start:o[E][1].start,end:o[m][1].end,contentType:"text"},Q(o,E,m-E+1,[["enter",N,d],["enter",O,d],["exit",O,d],["exit",N,d]])),o}function I(o,d,m){let E=0;return N;function N(de){return o.enter("atxHeading"),O(de)}function O(de){return o.enter("atxHeadingSequence"),M(de)}function M(de){return de===35&&E++<6?(o.consume(de),M):de===null||(0,Oe.z3)(de)?(o.exit("atxHeadingSequence"),J(de)):m(de)}function J(de){return de===35?(o.enter("atxHeadingSequence"),Pe(de)):de===null||(0,Oe.Ch)(de)?(o.exit("atxHeading"),d(de)):(0,Oe.xz)(de)?(0,Ct.f)(o,J,"whitespace")(de):(o.enter("atxHeadingText"),Me(de))}function Pe(de){return de===35?(o.consume(de),Pe):(o.exit("atxHeadingSequence"),J(de))}function Me(de){return de===null||de===35||(0,Oe.z3)(de)?(o.exit("atxHeadingText"),J(de)):(o.consume(de),Me)}}const Mt={name:"setextUnderline",resolveTo:H,tokenize:xe};function H(o,d){let m=o.length,E,N,O;for(;m--;)if(o[m][0]==="enter"){if(o[m][1].type==="content"){E=m;break}o[m][1].type==="paragraph"&&(N=m)}else o[m][1].type==="content"&&o.splice(m,1),!O&&o[m][1].type==="definition"&&(O=m);const M={type:"setextHeading",start:cr({},o[E][1].start),end:cr({},o[o.length-1][1].end)};return o[N][1].type="setextHeadingText",O?(o.splice(N,0,["enter",M,d]),o.splice(O+1,0,["exit",o[E][1],d]),o[E][1].end=cr({},o[O][1].end)):o[E][1]=M,o.push(["exit",M,d]),o}function xe(o,d,m){const E=this;let N;return O;function O(Me){let de=E.events.length,$e;for(;de--;)if(E.events[de][1].type!=="lineEnding"&&E.events[de][1].type!=="linePrefix"&&E.events[de][1].type!=="content"){$e=E.events[de][1].type==="paragraph";break}return!E.parser.lazy[E.now().line]&&(E.interrupt||$e)?(o.enter("setextHeadingLine"),N=Me,M(Me)):m(Me)}function M(Me){return o.enter("setextHeadingLineSequence"),J(Me)}function J(Me){return Me===N?(o.consume(Me),J):(o.exit("setextHeadingLineSequence"),(0,Oe.xz)(Me)?(0,Ct.f)(o,Pe,"lineSuffix")(Me):Pe(Me))}function Pe(Me){return Me===null||(0,Oe.Ch)(Me)?(o.exit("setextHeadingLine"),d(Me)):m(Me)}}const Xn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qt=["pre","script","style","textarea"],Mn={concrete:!0,name:"htmlFlow",resolveTo:sr,tokenize:Pr},Dr={partial:!0,tokenize:Fe},mn={partial:!0,tokenize:Br};function sr(o){let d=o.length;for(;d--&&!(o[d][0]==="enter"&&o[d][1].type==="htmlFlow"););return d>1&&o[d-2][1].type==="linePrefix"&&(o[d][1].start=o[d-2][1].start,o[d+1][1].start=o[d-2][1].start,o.splice(d-2,2)),o}function Pr(o,d,m){const E=this;let N,O,M,J,Pe;return Me;function Me(je){return de(je)}function de(je){return o.enter("htmlFlow"),o.enter("htmlFlowData"),o.consume(je),$e}function $e(je){return je===33?(o.consume(je),Le):je===47?(o.consume(je),O=!0,Qt):je===63?(o.consume(je),N=3,E.interrupt?d:Ne):(0,Oe.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function Le(je){return je===45?(o.consume(je),N=2,ve):je===91?(o.consume(je),N=5,J=0,Ft):(0,Oe.jv)(je)?(o.consume(je),N=4,E.interrupt?d:Ne):m(je)}function ve(je){return je===45?(o.consume(je),E.interrupt?d:Ne):m(je)}function Ft(je){const Jr="CDATA[";return je===Jr.charCodeAt(J++)?(o.consume(je),J===Jr.length?E.interrupt?d:Qn:Ft):m(je)}function Qt(je){return(0,Oe.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function bn(je){if(je===null||je===47||je===62||(0,Oe.z3)(je)){const Jr=je===47,oa=M.toLowerCase();return!Jr&&!O&&qt.includes(oa)?(N=1,E.interrupt?d(je):Qn(je)):Xn.includes(M.toLowerCase())?(N=6,Jr?(o.consume(je),jt):E.interrupt?d(je):Qn(je)):(N=7,E.interrupt&&!E.parser.lazy[E.now().line]?m(je):O?rn(je):on(je))}return je===45||(0,Oe.H$)(je)?(o.consume(je),M+=String.fromCharCode(je),bn):m(je)}function jt(je){return je===62?(o.consume(je),E.interrupt?d:Qn):m(je)}function rn(je){return(0,Oe.xz)(je)?(o.consume(je),rn):lr(je)}function on(je){return je===47?(o.consume(je),lr):je===58||je===95||(0,Oe.jv)(je)?(o.consume(je),Bn):(0,Oe.xz)(je)?(o.consume(je),on):lr(je)}function Bn(je){return je===45||je===46||je===58||je===95||(0,Oe.H$)(je)?(o.consume(je),Bn):qn(je)}function qn(je){return je===61?(o.consume(je),Ut):(0,Oe.xz)(je)?(o.consume(je),qn):on(je)}function Ut(je){return je===null||je===60||je===61||je===62||je===96?m(je):je===34||je===39?(o.consume(je),Pe=je,tr):(0,Oe.xz)(je)?(o.consume(je),Ut):pr(je)}function tr(je){return je===Pe?(o.consume(je),Pe=null,Tn):je===null||(0,Oe.Ch)(je)?m(je):(o.consume(je),tr)}function pr(je){return je===null||je===34||je===39||je===47||je===60||je===61||je===62||je===96||(0,Oe.z3)(je)?qn(je):(o.consume(je),pr)}function Tn(je){return je===47||je===62||(0,Oe.xz)(je)?on(je):m(je)}function lr(je){return je===62?(o.consume(je),nr):m(je)}function nr(je){return je===null||(0,Oe.Ch)(je)?Qn(je):(0,Oe.xz)(je)?(o.consume(je),nr):m(je)}function Qn(je){return je===45&&N===2?(o.consume(je),hn):je===60&&N===1?(o.consume(je),vn):je===62&&N===4?(o.consume(je),Fn):je===63&&N===3?(o.consume(je),Ne):je===93&&N===5?(o.consume(je),Jn):(0,Oe.Ch)(je)&&(N===6||N===7)?(o.exit("htmlFlowData"),o.check(Dr,or,xn)(je)):je===null||(0,Oe.Ch)(je)?(o.exit("htmlFlowData"),xn(je)):(o.consume(je),Qn)}function xn(je){return o.check(mn,Wn,or)(je)}function Wn(je){return o.enter("lineEnding"),o.consume(je),o.exit("lineEnding"),an}function an(je){return je===null||(0,Oe.Ch)(je)?xn(je):(o.enter("htmlFlowData"),Qn(je))}function hn(je){return je===45?(o.consume(je),Ne):Qn(je)}function vn(je){return je===47?(o.consume(je),M="",yn):Qn(je)}function yn(je){if(je===62){const Jr=M.toLowerCase();return qt.includes(Jr)?(o.consume(je),Fn):Qn(je)}return(0,Oe.jv)(je)&&M.length<8?(o.consume(je),M+=String.fromCharCode(je),yn):Qn(je)}function Jn(je){return je===93?(o.consume(je),Ne):Qn(je)}function Ne(je){return je===62?(o.consume(je),Fn):je===45&&N===2?(o.consume(je),Ne):Qn(je)}function Fn(je){return je===null||(0,Oe.Ch)(je)?(o.exit("htmlFlowData"),or(je)):(o.consume(je),Fn)}function or(je){return o.exit("htmlFlow"),d(je)}}function Br(o,d,m){const E=this;return N;function N(M){return(0,Oe.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),O):m(M)}function O(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}function Fe(o,d,m){return E;function E(N){return o.enter("lineEnding"),o.consume(N),o.exit("lineEnding"),o.attempt(_t,d,m)}}const Xr={partial:!0,tokenize:ta},qe={concrete:!0,name:"codeFenced",tokenize:va};function va(o,d,m){const E=this,N={partial:!0,tokenize:qn};let O=0,M=0,J;return Pe;function Pe(Ut){return Me(Ut)}function Me(Ut){const tr=E.events[E.events.length-1];return O=tr&&tr[1].type==="linePrefix"?tr[2].sliceSerialize(tr[1],!0).length:0,J=Ut,o.enter("codeFenced"),o.enter("codeFencedFence"),o.enter("codeFencedFenceSequence"),de(Ut)}function de(Ut){return Ut===J?(M++,o.consume(Ut),de):M<3?m(Ut):(o.exit("codeFencedFenceSequence"),(0,Oe.xz)(Ut)?(0,Ct.f)(o,$e,"whitespace")(Ut):$e(Ut))}function $e(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("codeFencedFence"),E.interrupt?d(Ut):o.check(Xr,Qt,Bn)(Ut)):(o.enter("codeFencedFenceInfo"),o.enter("chunkString",{contentType:"string"}),Le(Ut))}function Le(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),$e(Ut)):(0,Oe.xz)(Ut)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),(0,Ct.f)(o,ve,"whitespace")(Ut)):Ut===96&&Ut===J?m(Ut):(o.consume(Ut),Le)}function ve(Ut){return Ut===null||(0,Oe.Ch)(Ut)?$e(Ut):(o.enter("codeFencedFenceMeta"),o.enter("chunkString",{contentType:"string"}),Ft(Ut))}function Ft(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("chunkString"),o.exit("codeFencedFenceMeta"),$e(Ut)):Ut===96&&Ut===J?m(Ut):(o.consume(Ut),Ft)}function Qt(Ut){return o.attempt(N,Bn,bn)(Ut)}function bn(Ut){return o.enter("lineEnding"),o.consume(Ut),o.exit("lineEnding"),jt}function jt(Ut){return O>0&&(0,Oe.xz)(Ut)?(0,Ct.f)(o,rn,"linePrefix",O+1)(Ut):rn(Ut)}function rn(Ut){return Ut===null||(0,Oe.Ch)(Ut)?o.check(Xr,Qt,Bn)(Ut):(o.enter("codeFlowValue"),on(Ut))}function on(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("codeFlowValue"),rn(Ut)):(o.consume(Ut),on)}function Bn(Ut){return o.exit("codeFenced"),d(Ut)}function qn(Ut,tr,pr){let Tn=0;return lr;function lr(an){return Ut.enter("lineEnding"),Ut.consume(an),Ut.exit("lineEnding"),nr}function nr(an){return Ut.enter("codeFencedFence"),(0,Oe.xz)(an)?(0,Ct.f)(Ut,Qn,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(an):Qn(an)}function Qn(an){return an===J?(Ut.enter("codeFencedFenceSequence"),xn(an)):pr(an)}function xn(an){return an===J?(Tn++,Ut.consume(an),xn):Tn>=M?(Ut.exit("codeFencedFenceSequence"),(0,Oe.xz)(an)?(0,Ct.f)(Ut,Wn,"whitespace")(an):Wn(an)):pr(an)}function Wn(an){return an===null||(0,Oe.Ch)(an)?(Ut.exit("codeFencedFence"),tr(an)):pr(an)}}}function ta(o,d,m){const E=this;return N;function N(M){return M===null?m(M):(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),O)}function O(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}const mr=document.createElement("i");function ya(o){const d="&"+o+";";mr.innerHTML=d;const m=mr.textContent;return m.charCodeAt(m.length-1)===59&&o!=="semi"||m===d?!1:m}const Fr={name:"characterReference",tokenize:wr};function wr(o,d,m){const E=this;let N=0,O,M;return J;function J($e){return o.enter("characterReference"),o.enter("characterReferenceMarker"),o.consume($e),o.exit("characterReferenceMarker"),Pe}function Pe($e){return $e===35?(o.enter("characterReferenceMarkerNumeric"),o.consume($e),o.exit("characterReferenceMarkerNumeric"),Me):(o.enter("characterReferenceValue"),O=31,M=Oe.H$,de($e))}function Me($e){return $e===88||$e===120?(o.enter("characterReferenceMarkerHexadecimal"),o.consume($e),o.exit("characterReferenceMarkerHexadecimal"),o.enter("characterReferenceValue"),O=6,M=Oe.AF,de):(o.enter("characterReferenceValue"),O=7,M=Oe.pY,de($e))}function de($e){if($e===59&&N){const Le=o.exit("characterReferenceValue");return M===Oe.H$&&!ya(E.sliceSerialize(Le))?m($e):(o.enter("characterReferenceMarker"),o.consume($e),o.exit("characterReferenceMarker"),o.exit("characterReference"),d)}return M($e)&&N++1&&o[m][1].end.offset-o[m][1].start.offset>1?2:1;const $e=cr({},o[E][1].end),Le=cr({},o[m][1].start);Aa($e,-Pe),Aa(Le,Pe),M={type:Pe>1?"strongSequence":"emphasisSequence",start:$e,end:cr({},o[E][1].end)},J={type:Pe>1?"strongSequence":"emphasisSequence",start:cr({},o[m][1].start),end:Le},O={type:Pe>1?"strongText":"emphasisText",start:cr({},o[E][1].end),end:cr({},o[m][1].start)},N={type:Pe>1?"strong":"emphasis",start:cr({},M.start),end:cr({},J.end)},o[E][1].end=cr({},M.start),o[m][1].start=cr({},J.end),Me=[],o[E][1].end.offset-o[E][1].start.offset&&(Me=ke(Me,[["enter",o[E][1],d],["exit",o[E][1],d]])),Me=ke(Me,[["enter",N,d],["enter",M,d],["exit",M,d],["enter",O,d]]),Me=ke(Me,fn(d.parser.constructs.insideSpan.null,o.slice(E+1,m),d)),Me=ke(Me,[["exit",O,d],["enter",J,d],["exit",J,d],["exit",N,d]]),o[m][1].end.offset-o[m][1].start.offset?(de=2,Me=ke(Me,[["enter",o[m][1],d],["exit",o[m][1],d]])):de=0,Q(o,E-1,m-E+3,Me),m=E+Me.length-de-2;break}}for(m=-1;++m-1){const J=M[0];typeof J=="string"?M[0]=J.slice(E):M.shift()}O>0&&M.push(o[N].slice(0,O))}return M}function wn(o,d){let m=-1;const E=[];let N;for(;++m"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+h+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:A,alias:y}}}}function g(h){var A=i.languages[h],y="language-"+h;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:p("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:p("=",A,y),"class-feature":p("\\+",A,y),standard:p("",A,y)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:g})})(t)}},79243:function(S,s,t){"use strict";var i=t(73584),p=t(55686);S.exports=g,g.displayName="t4Vb",g.aliases=[];function g(h){h.register(i),h.register(p),h.languages["t4-vb"]=h.languages["t4-templating"].createT4("vbnet")}},31788:function(S,s,t){"use strict";var i=t(14409);S.exports=p,p.displayName="tap",p.aliases=[];function p(g){g.register(i),g.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:g.languages.yaml,alias:"language-yaml"}}}},60871:function(S){"use strict";S.exports=s,s.displayName="tcl",s.aliases=[];function s(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(S){"use strict";S.exports=s,s.displayName="textile",s.aliases=[];function s(t){(function(i){var p=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,g=/\)|\((?![^|()\n]+\))/.source;function h(re,pe){return RegExp(re.replace(//g,function(){return"(?:"+p+")"}).replace(//g,function(){return"(?:"+g+")"}),pe||"")}var A={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},y=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:h(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:h(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:A},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:h(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:h(/(^[*#]+)+/.source),lookbehind:!0,inside:A},punctuation:/^[*#]+/}},table:{pattern:h(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:h(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:A},punctuation:/\||^\./}},inline:{pattern:h(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:h(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:h(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:h(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:h(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:h(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:h(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:h(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:h(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:A},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:h(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:h(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:h(/(^")+/.source),lookbehind:!0,inside:A},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:h(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:h(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:h(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:A},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),f=y.phrase.inside,F={inline:f.inline,link:f.link,image:f.image,footnote:f.footnote,acronym:f.acronym,mark:f.mark};y.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var U=f.inline.inside;U.bold.inside=F,U.italic.inside=F,U.inserted.inside=F,U.deleted.inside=F,U.span.inside=F;var ne=f.table.inside;ne.inline=F.inline,ne.link=F.link,ne.image=F.image,ne.footnote=F.footnote,ne.acronym=F.acronym,ne.mark=F.mark})(t)}},14693:function(S){"use strict";S.exports=s,s.displayName="toml",s.aliases=[];function s(t){(function(i){var p=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function g(h){return h.replace(/__/g,function(){return p})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(g(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(g(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}},8743:function(S){"use strict";S.exports=s,s.displayName="tremor",s.aliases=[];function s(t){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var p=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+p+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+p+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(p),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(t)}},1689:function(S,s,t){"use strict";var i=t(24103),p=t(92784);S.exports=g,g.displayName="tsx",g.aliases=[];function g(h){h.register(i),h.register(p),function(A){var y=A.util.clone(A.languages.typescript);A.languages.tsx=A.languages.extend("jsx",y),delete A.languages.tsx.parameter,delete A.languages.tsx["literal-property"];var f=A.languages.tsx.tag;f.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+f.pattern.source+")",f.pattern.flags),f.lookbehind=!0}(h)}},69210:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="tt2",p.aliases=[];function p(g){g.register(i),function(h){h.languages.tt2=h.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),h.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),h.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),h.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete h.languages.tt2.string,h.hooks.add("before-tokenize",function(A){var y=/\[%[\s\S]+?%\]/g;h.languages["markup-templating"].buildPlaceholders(A,"tt2",y)}),h.hooks.add("after-tokenize",function(A){h.languages["markup-templating"].tokenizePlaceholders(A,"tt2")})}(g)}},58710:function(S){"use strict";S.exports=s,s.displayName="turtle",s.aliases=[];function s(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}},60452:function(S,s,t){"use strict";var i=t(51478);S.exports=p,p.displayName="twig",p.aliases=[];function p(g){g.register(i),g.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},g.hooks.add("before-tokenize",function(h){if(h.language==="twig"){var A=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;g.languages["markup-templating"].buildPlaceholders(h,"twig",A)}}),g.hooks.add("after-tokenize",function(h){g.languages["markup-templating"].tokenizePlaceholders(h,"twig")})}},92784:function(S){"use strict";S.exports=s,s.displayName="typescript",s.aliases=["ts"];function s(t){(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var p=i.languages.extend("typescript",{});delete p["class-name"],i.languages.typescript["class-name"].inside=p,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:p}}}}),i.languages.ts=i.languages.typescript})(t)}},36489:function(S){"use strict";S.exports=s,s.displayName="typoscript",s.aliases=["tsconfig"];function s(t){(function(i){var p=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:p}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:p,number:/^\d+$/,punctuation:/[,|:]/}},keyword:p,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(t)}},78380:function(S){"use strict";S.exports=s,s.displayName="unrealscript",s.aliases=["uc","uscript"];function s(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}},10409:function(S){"use strict";S.exports=s,s.displayName="uorazor",s.aliases=[];function s(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(S){"use strict";S.exports=s,s.displayName="uri",s.aliases=["url"];function s(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}},82028:function(S){"use strict";S.exports=s,s.displayName="v",s.aliases=[];function s(t){(function(i){var p={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":p}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),p.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})})(t)}},62282:function(S){"use strict";S.exports=s,s.displayName="vala",s.aliases=[];function s(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(S,s,t){"use strict";var i=t(51422);S.exports=p,p.displayName="vbnet",p.aliases=[];function p(g){g.register(i),g.languages.vbnet=g.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(S){"use strict";S.exports=s,s.displayName="velocity",s.aliases=[];function s(t){(function(i){i.languages.velocity=i.languages.extend("markup",{});var p={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};p.variable.inside={string:p.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:p.number,boolean:p.boolean,punctuation:p.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:p}},variable:p.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity})(t)}},37116:function(S){"use strict";S.exports=s,s.displayName="verilog",s.aliases=[];function s(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(S){"use strict";S.exports=s,s.displayName="vhdl",s.aliases=[];function s(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(S){"use strict";S.exports=s,s.displayName="vim",s.aliases=[];function s(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(S){"use strict";S.exports=s,s.displayName="visualBasic",s.aliases=[];function s(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}},17723:function(S){"use strict";S.exports=s,s.displayName="warpscript",s.aliases=[];function s(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(S){"use strict";S.exports=s,s.displayName="wasm",s.aliases=[];function s(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(S){"use strict";S.exports=s,s.displayName="webIdl",s.aliases=[];function s(t){(function(i){var p=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,g="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+p+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,h={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+p),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp("("+/\bcallback\s+/.source+p+/\s*=\s*/.source+")"+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\btypedef\b\s*)/.source+g),lookbehind:!0,inside:h},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+p),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+p),lookbehind:!0},RegExp(p+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+p),lookbehind:!0},{pattern:RegExp(g+"(?="+/\s*(?:\.{3}\s*)?/.source+p+/\s*[(),;=]/.source+")"),inside:h}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var A in i.languages["web-idl"])A!=="class-name"&&(h[A]=i.languages["web-idl"][A]);i.languages.webidl=i.languages["web-idl"]})(t)}},8921:function(S){"use strict";S.exports=s,s.displayName="wiki",s.aliases=[];function s(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}},13429:function(S){"use strict";S.exports=s,s.displayName="wolfram",s.aliases=["mathematica","wl","nb"];function s(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}},65197:function(S){"use strict";S.exports=s,s.displayName="wren",s.aliases=[];function s(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(S){"use strict";S.exports=s,s.displayName="xeora",s.aliases=["xeoracube"];function s(t){(function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora})(t)}},35:function(S){"use strict";S.exports=s,s.displayName="xmlDoc",s.aliases=[];function s(t){(function(i){function p(y,f){i.languages[y]&&i.languages.insertBefore(y,"comment",{"doc-comment":f})}var g=i.languages.markup.tag,h={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:g}},A={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:g}};p("csharp",h),p("fsharp",h),p("vbnet",A)})(t)}},86095:function(S){"use strict";S.exports=s,s.displayName="xojo",s.aliases=[];function s(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(S){"use strict";S.exports=s,s.displayName="xquery",s.aliases=[];function s(t){(function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var p=function(h){return typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join("")},g=function(h){for(var A=[],y=0;y0&&A[A.length-1].tagName===p(f.content[0].content[1])&&A.pop():f.content[f.content.length-1].content==="/>"||A.push({tagName:p(f.content[0].content[1]),openedBraces:0}):A.length>0&&f.type==="punctuation"&&f.content==="{"&&(!h[y+1]||h[y+1].type!=="punctuation"||h[y+1].content!=="{")&&(!h[y-1]||h[y-1].type!=="plain-text"||h[y-1].content!=="{")?A[A.length-1].openedBraces++:A.length>0&&A[A.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?A[A.length-1].openedBraces--:f.type!=="comment"&&(F=!0)),(F||typeof f=="string")&&A.length>0&&A[A.length-1].openedBraces===0){var U=p(f);y0&&(typeof h[y-1]=="string"||h[y-1].type==="plain-text")&&(U=p(h[y-1])+U,h.splice(y-1,1),y--),/^\s+$/.test(U)?h[y]=U:h[y]=new i.Token("plain-text",U,null,U)}f.content&&typeof f.content!="string"&&g(f.content)}};i.hooks.add("after-tokenize",function(h){h.language==="xquery"&&g(h.tokens)})})(t)}},14409:function(S){"use strict";S.exports=s,s.displayName="yaml",s.aliases=["yml"];function s(t){(function(i){var p=/[*&][^\s[\]{},]+/,g=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,h="(?:"+g.source+"(?:[ ]+"+p.source+")?|"+p.source+"(?:[ ]+"+g.source+")?)",A=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),y=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(F,U){U=(U||"").replace(/m/g,"")+"m";var ne=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return F});return RegExp(ne,U)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return h})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return h}).replace(/<>/g,function(){return"(?:"+A+"|"+y+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(y),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:g,important:p,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(t)}},33460:function(S){"use strict";S.exports=s,s.displayName="yang",s.aliases=[];function s(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(S){"use strict";S.exports=s,s.displayName="zig",s.aliases=[];function s(t){(function(i){function p(U){return function(){return U}}var g=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,h="\\b(?!"+g.source+")(?!\\d)\\w+\\b",A=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,y=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,p(A)),f=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,p(h)),F="(?!\\s)(?:!?\\s*(?:"+y+"\\s*)*"+f+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,p(F)).replace(//g,p(A))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,p(F)).replace(//g,p(A))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:g,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(U){U.inside===null&&(U.inside=i.languages.zig)})})(t)}},92848:function(S,s){"use strict";var t;s.Q=h,t=A;var i="",p=" ",g=/[ \t\n\r\f]+/g;function h(y){var f=String(y||i).trim();return f===i?[]:f.split(g)}function A(y){return y.join(p).trim()}},24177:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}},p=i(t(39534)),g=t(30883);function h(A,y){var f={};return!A||typeof A!="string"||(0,p.default)(A,function(F,U){F&&U&&(f[(0,g.camelCase)(F,y)]=U)}),f}h.default=h,S.exports=h},30883:function(S,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,p=/^[^-]+$/,g=/^-(webkit|moz|ms|o|khtml)-/,h=/^-(ms)-/,A=function(U){return!U||p.test(U)||t.test(U)},y=function(U,ne){return ne.toUpperCase()},f=function(U,ne){return"".concat(ne,"-")},F=function(U,ne){return ne===void 0&&(ne={}),A(U)?U:(U=U.toLowerCase(),ne.reactCompat?U=U.replace(h,f):U=U.replace(g,f),U.replace(i,y))};s.camelCase=F},39534:function(S,s,t){"use strict";var i=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(s,"__esModule",{value:!0}),s.default=g;const p=i(t(60976));function g(h,A){let y=null;if(!h||typeof h!="string")return y;const f=(0,p.default)(h),F=typeof A=="function";return f.forEach(U=>{if(U.type!=="declaration")return;const{property:ne,value:re}=U;F?A(ne,re,U):re&&(y=y||{},y[ne]=re)}),y}},97270:function(S){S.exports=t;var s=Object.prototype.hasOwnProperty;function t(){for(var i={},p=0;p{const se=(X,Se)=>(Y.set(Se,X),X),ee=X=>{if(Y.has(X))return Y.get(X);const[Se,me]=V[X];switch(Se){case p:case i:return se(me,X);case g:{const D=se([],X);for(const Ue of me)D.push(ee(Ue));return D}case h:{const D=se({},X);for(const[Ue,nt]of me)D[ee(Ue)]=ee(nt);return D}case A:return se(new Date(me),X);case y:{const{source:D,flags:Ue}=me;return se(new RegExp(D,Ue),X)}case f:{const D=se(new Map,X);for(const[Ue,nt]of me)D.set(ee(Ue),ee(nt));return D}case F:{const D=se(new Set,X);for(const Ue of me)D.add(ee(Ue));return D}case U:{const{name:D,message:Ue}=me;return se(new re[D](Ue),X)}case ne:return se(BigInt(me),X);case"BigInt":return se(Object(BigInt(me)),X);case"ArrayBuffer":return se(new Uint8Array(me).buffer,me);case"DataView":{const{buffer:D}=new Uint8Array(me);return se(new DataView(D),me)}}return se(new re[Se](me),X)};return ee},ye=Y=>pe(new Map,Y)(0),ce="",{toString:Ee}={},{keys:ge}=Object,Ce=Y=>{const V=typeof Y;if(V!=="object"||!Y)return[p,V];const se=Ee.call(Y).slice(8,-1);switch(se){case"Array":return[g,ce];case"Object":return[h,ce];case"Date":return[A,ce];case"RegExp":return[y,ce];case"Map":return[f,ce];case"Set":return[F,ce];case"DataView":return[g,se]}return se.includes("Array")?[g,se]:se.includes("Error")?[U,se]:[h,se]},j=([Y,V])=>Y===p&&(V==="function"||V==="symbol"),G=(Y,V,se,ee)=>{const X=(me,D)=>{const Ue=ee.push(me)-1;return se.set(D,Ue),Ue},Se=me=>{if(se.has(me))return se.get(me);let[D,Ue]=Ce(me);switch(D){case p:{let kt=me;switch(Ue){case"bigint":D=ne,kt=me.toString();break;case"function":case"symbol":if(Y)throw new TypeError("unable to serialize "+Ue);kt=null;break;case"undefined":return X([i],me)}return X([D,kt],me)}case g:{if(Ue){let it=me;return Ue==="DataView"?it=new Uint8Array(me.buffer):Ue==="ArrayBuffer"&&(it=new Uint8Array(me)),X([Ue,[...it]],me)}const kt=[],Be=X([D,kt],me);for(const it of me)kt.push(Se(it));return Be}case h:{if(Ue)switch(Ue){case"BigInt":return X([Ue,me.toString()],me);case"Boolean":case"Number":case"String":return X([Ue,me.valueOf()],me)}if(V&&"toJSON"in me)return Se(me.toJSON());const kt=[],Be=X([D,kt],me);for(const it of ge(me))(Y||!j(Ce(me[it])))&&kt.push([Se(it),Se(me[it])]);return Be}case A:return X([D,me.toISOString()],me);case y:{const{source:kt,flags:Be}=me;return X([D,{source:kt,flags:Be}],me)}case f:{const kt=[],Be=X([D,kt],me);for(const[it,ot]of me)(Y||!(j(Ce(it))||j(Ce(ot))))&&kt.push([Se(it),Se(ot)]);return Be}case F:{const kt=[],Be=X([D,kt],me);for(const it of me)(Y||!j(Ce(it)))&&kt.push(Se(it));return Be}}const{message:nt}=me;return X([D,{name:Ue,message:nt}],me)};return Se},Z=(Y,{json:V,lossy:se}={})=>{const ee=[];return G(!(V||se),!!V,new Map,ee)(Y),ee};var B=typeof structuredClone=="function"?(Y,V)=>V&&("json"in V||"lossy"in V)?ye(Z(Y,V)):structuredClone(Y):(Y,V)=>ye(Z(Y,V))},11630:function(S,s,t){"use strict";t.d(s,{P:function(){return p},Q:function(){return i}});function i(g){const h=[],A=String(g||"");let y=A.indexOf(","),f=0,F=!1;for(;!F;){y===-1&&(y=A.length,F=!0);const U=A.slice(f,y).trim();(U||!F)&&h.push(U),f=y+1,y=A.indexOf(",",f)}return h}function p(g,h){const A=h||{};return(g[g.length-1]===""?[...g,""]:g).join((A.padRight?" ":"")+","+(A.padLeft===!1?"":" ")).trim()}},87342:function(S,s,t){"use strict";t.d(s,{ok:function(){return g},t1:function(){return h}});function i(A){return A}function p(){}function g(){}function h(){}},81994:function(S,s,t){"use strict";t.d(s,{h:function(){return ge},s:function(){return Ce}});var i=t(14470),p=t(11630);const g=/[#.]/g;function h(j,G){const Z=j||"",B={};let Y=0,V,se;for(;Y-1&&ce.test(String.fromCharCode(ge))}}},14470:function(S,s,t){"use strict";t.d(s,{dy:function(){return Ee},YP:function(){return ge}});class i{constructor(j,G,Z){this.normal=G,this.property=j,Z&&(this.space=Z)}}i.prototype.normal={},i.prototype.property={},i.prototype.space=void 0;function p(Ce,j){const G={},Z={};for(const B of Ce)Object.assign(G,B.property),Object.assign(Z,B.normal);return new i(G,Z,j)}var g=t(13830),h=t(53538);function A(Ce){const j={},G={};for(const[Z,B]of Object.entries(Ce.properties)){const Y=new h.I(Z,Ce.transform(Ce.attributes||{},Z),B,Ce.space);Ce.mustUseProperty&&Ce.mustUseProperty.includes(Z)&&(Y.mustUseProperty=!0),j[Z]=Y,G[(0,g.F)(Z)]=Z,G[(0,g.F)(Y.attribute)]=Z}return new i(j,G,Ce.space)}var y=t(71337);const f=A({properties:{ariaActiveDescendant:null,ariaAtomic:y.booleanish,ariaAutoComplete:null,ariaBusy:y.booleanish,ariaChecked:y.booleanish,ariaColCount:y.number,ariaColIndex:y.number,ariaColSpan:y.number,ariaControls:y.spaceSeparated,ariaCurrent:null,ariaDescribedBy:y.spaceSeparated,ariaDetails:null,ariaDisabled:y.booleanish,ariaDropEffect:y.spaceSeparated,ariaErrorMessage:null,ariaExpanded:y.booleanish,ariaFlowTo:y.spaceSeparated,ariaGrabbed:y.booleanish,ariaHasPopup:null,ariaHidden:y.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:y.spaceSeparated,ariaLevel:y.number,ariaLive:null,ariaModal:y.booleanish,ariaMultiLine:y.booleanish,ariaMultiSelectable:y.booleanish,ariaOrientation:null,ariaOwns:y.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:y.number,ariaPressed:y.booleanish,ariaReadOnly:y.booleanish,ariaRelevant:null,ariaRequired:y.booleanish,ariaRoleDescription:y.spaceSeparated,ariaRowCount:y.number,ariaRowIndex:y.number,ariaRowSpan:y.number,ariaSelected:y.booleanish,ariaSetSize:y.number,ariaSort:null,ariaValueMax:y.number,ariaValueMin:y.number,ariaValueNow:y.number,ariaValueText:null,role:null},transform(Ce,j){return j==="role"?j:"aria-"+j.slice(4).toLowerCase()}});function F(Ce,j){return j in Ce?Ce[j]:j}function U(Ce,j){return F(Ce,j.toLowerCase())}const ne=A({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:y.commaSeparated,acceptCharset:y.spaceSeparated,accessKey:y.spaceSeparated,action:null,allow:null,allowFullScreen:y.boolean,allowPaymentRequest:y.boolean,allowUserMedia:y.boolean,alt:null,as:null,async:y.boolean,autoCapitalize:null,autoComplete:y.spaceSeparated,autoFocus:y.boolean,autoPlay:y.boolean,blocking:y.spaceSeparated,capture:null,charSet:null,checked:y.boolean,cite:null,className:y.spaceSeparated,cols:y.number,colSpan:null,content:null,contentEditable:y.booleanish,controls:y.boolean,controlsList:y.spaceSeparated,coords:y.number|y.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y.boolean,defer:y.boolean,dir:null,dirName:null,disabled:y.boolean,download:y.overloadedBoolean,draggable:y.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y.boolean,formTarget:null,headers:y.spaceSeparated,height:y.number,hidden:y.overloadedBoolean,high:y.number,href:null,hrefLang:null,htmlFor:y.spaceSeparated,httpEquiv:y.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:y.boolean,inputMode:null,integrity:null,is:null,isMap:y.boolean,itemId:null,itemProp:y.spaceSeparated,itemRef:y.spaceSeparated,itemScope:y.boolean,itemType:y.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y.boolean,low:y.number,manifest:null,max:null,maxLength:y.number,media:null,method:null,min:null,minLength:y.number,multiple:y.boolean,muted:y.boolean,name:null,nonce:null,noModule:y.boolean,noValidate:y.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y.boolean,optimum:y.number,pattern:null,ping:y.spaceSeparated,placeholder:null,playsInline:y.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y.boolean,referrerPolicy:null,rel:y.spaceSeparated,required:y.boolean,reversed:y.boolean,rows:y.number,rowSpan:y.number,sandbox:y.spaceSeparated,scope:null,scoped:y.boolean,seamless:y.boolean,selected:y.boolean,shadowRootClonable:y.boolean,shadowRootDelegatesFocus:y.boolean,shadowRootMode:null,shape:null,size:y.number,sizes:null,slot:null,span:y.number,spellCheck:y.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:y.number,step:null,style:null,tabIndex:y.number,target:null,title:null,translate:null,type:null,typeMustMatch:y.boolean,useMap:null,value:y.booleanish,width:y.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:y.spaceSeparated,axis:null,background:null,bgColor:null,border:y.number,borderColor:null,bottomMargin:y.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y.boolean,declare:y.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:y.number,leftMargin:y.number,link:null,longDesc:null,lowSrc:null,marginHeight:y.number,marginWidth:y.number,noResize:y.boolean,noHref:y.boolean,noShade:y.boolean,noWrap:y.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:y.number,rules:null,scheme:null,scrolling:y.booleanish,standby:null,summary:null,text:null,topMargin:y.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:y.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y.boolean,disableRemotePlayback:y.boolean,prefix:null,property:null,results:y.number,security:null,unselectable:null},space:"html",transform:U}),re=A({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:y.commaOrSpaceSeparated,accentHeight:y.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:y.number,amplitude:y.number,arabicForm:null,ascent:y.number,attributeName:null,attributeType:null,azimuth:y.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:y.number,by:null,calcMode:null,capHeight:y.number,className:y.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:y.number,diffuseConstant:y.number,direction:null,display:null,dur:null,divisor:y.number,dominantBaseline:null,download:y.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:y.number,enableBackground:null,end:null,event:null,exponent:y.number,externalResourcesRequired:null,fill:null,fillOpacity:y.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:y.commaSeparated,g2:y.commaSeparated,glyphName:y.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:y.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:y.number,horizOriginX:y.number,horizOriginY:y.number,id:null,ideographic:y.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:y.number,k:y.number,k1:y.number,k2:y.number,k3:y.number,k4:y.number,kernelMatrix:y.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:y.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:y.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:y.number,overlineThickness:y.number,paintOrder:null,panose1:null,path:null,pathLength:y.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:y.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:y.number,pointsAtY:y.number,pointsAtZ:y.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:y.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:y.commaOrSpaceSeparated,rev:y.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:y.commaOrSpaceSeparated,requiredFeatures:y.commaOrSpaceSeparated,requiredFonts:y.commaOrSpaceSeparated,requiredFormats:y.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:y.number,specularExponent:y.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:y.number,strikethroughThickness:y.number,string:null,stroke:null,strokeDashArray:y.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:y.number,strokeOpacity:y.number,strokeWidth:null,style:null,surfaceScale:y.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:y.commaOrSpaceSeparated,tabIndex:y.number,tableValues:null,target:null,targetX:y.number,targetY:y.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:y.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:y.number,underlineThickness:y.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:y.number,values:null,vAlphabetic:y.number,vMathematical:y.number,vectorEffect:null,vHanging:y.number,vIdeographic:y.number,version:null,vertAdvY:y.number,vertOriginX:y.number,vertOriginY:y.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:y.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:F}),pe=A({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(Ce,j){return"xlink:"+j.slice(5).toLowerCase()}}),ye=A({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:U}),ce=A({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(Ce,j){return"xml:"+j.slice(3).toLowerCase()}}),Ee=p([f,ne,pe,ye,ce],"html"),ge=p([f,re,pe,ye,ce],"svg")},86825:function(S,s,t){"use strict";t.d(s,{s:function(){return f}});var i=t(53538),p=t(25629),g=t(13830);const h=/[A-Z]/g,A=/-[a-z]/g,y=/^data[-\w.:]+$/i;function f(ne,re){const pe=(0,g.F)(re);let ye=re,ce=p.k;if(pe in ne.normal)return ne.property[ne.normal[pe]];if(pe.length>4&&pe.slice(0,4)==="data"&&y.test(re)){if(re.charAt(4)==="-"){const Ee=re.slice(5).replace(A,U);ye="data"+Ee.charAt(0).toUpperCase()+Ee.slice(1)}else{const Ee=re.slice(4);if(!A.test(Ee)){let ge=Ee.replace(h,F);ge.charAt(0)!=="-"&&(ge="-"+ge),re="data"+ge}}ce=i.I}return new ce(ye,re)}function F(ne){return"-"+ne.toLowerCase()}function U(ne){return ne.charAt(1).toUpperCase()}},13830:function(S,s,t){"use strict";t.d(s,{F:function(){return i}});function i(p){return p.toLowerCase()}},53538:function(S,s,t){"use strict";t.d(s,{I:function(){return h}});var i=t(25629),p=t(71337);const g=Object.keys(p);class h extends i.k{constructor(f,F,U,ne){let re=-1;if(super(f,F),A(this,"space",ne),typeof U=="number")for(;++re0){const m=d.length>1?d:d[0];m&&(o.children=m)}}function pt(o,d,m){return E;function E(N,O,M,J){const Me=Array.isArray(M.children)?m:d;return J?Me(O,M,J):Me(O,M)}}function Ye(o,d){return m;function m(E,N,O,M){const J=Array.isArray(O.children),Pe=(0,B.Pk)(E);return d(N,O,M,J,{columnNumber:Pe?Pe.column-1:void 0,fileName:o,lineNumber:Pe?Pe.line:void 0},void 0)}}function en(o,d){const m={};let E,N;for(N in d.properties)if(N!=="children"&&Se.call(d.properties,N)){const O=dn(o,N,d.properties[N]);if(O){const[M,J]=O;o.tableCellAlignToStyle&&M==="align"&&typeof J=="string"&&nt.has(d.tagName)?E=J:m[M]=J}}if(E){const O=m.style||(m.style={});O[o.stylePropertyNameCase==="css"?"text-align":"textAlign"]=E}return m}function Ht(o,d){const m={};for(const E of d.attributes)if(E.type==="mdxJsxExpressionAttribute")if(E.data&&E.data.estree&&o.evaluater){const O=E.data.estree.body[0];(0,p.ok)(O.type==="ExpressionStatement");const M=O.expression;(0,p.ok)(M.type==="ObjectExpression");const J=M.properties[0];(0,p.ok)(J.type==="SpreadElement"),Object.assign(m,o.evaluater.evaluateExpression(J.argument))}else Xt(o,d.position);else{const N=E.name;let O;if(E.value&&typeof E.value=="object")if(E.value.data&&E.value.data.estree&&o.evaluater){const J=E.value.data.estree.body[0];(0,p.ok)(J.type==="ExpressionStatement"),O=o.evaluater.evaluateExpression(J.expression)}else Xt(o,d.position);else O=E.value===null?!0:E.value;m[N]=O}return m}function ln(o,d){const m=[];let E=-1;const N=o.passKeys?new Map:me;for(;++EN?0:N+d:d=d>N?N:d,m=m>0?m:0,E.length<1e4)M=Array.from(E),M.unshift(d,m),o.splice(...M);else for(m&&o.splice(d,m);O0?(Q(o,o.length,0,d),o):d}class dt{constructor(d){this.left=d?[...d]:[],this.right=[]}get(d){if(d<0||d>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+d+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return dthis.left.length?this.right.slice(this.right.length-E+this.left.length,this.right.length-d+this.left.length).reverse():this.left.slice(d).concat(this.right.slice(this.right.length-E+this.left.length).reverse())}splice(d,m,E){const N=m||0;this.setCursor(Math.trunc(d));const O=this.right.splice(this.right.length-N,Number.POSITIVE_INFINITY);return E&&st(this.left,E),O.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(d){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(d)}pushMany(d){this.setCursor(Number.POSITIVE_INFINITY),st(this.left,d)}unshift(d){this.setCursor(0),this.right.push(d)}unshiftMany(d){this.setCursor(0),st(this.right,d.reverse())}setCursor(d){if(!(d===this.left.length||d>this.left.length&&this.right.length===0||d<0&&this.left.length===0))if(dM))return;const tr=d.events.length;let pr=tr,Tn,lr;for(;pr--;)if(d.events[pr][0]==="exit"&&d.events[pr][1].type==="chunkFlow"){if(Tn){lr=d.events[pr][1].end;break}Tn=!0}for(jt(E),Ut=tr;Uton;){const qn=m[Bn];d.containerState=qn[1],qn[0].exit.call(d,o)}m.length=on}function rn(){N.write([null]),O=void 0,N=void 0,d.containerState._closeFlow=void 0}}function An(o,d,m){return(0,Ct.f)(o,o.attempt(this.parser.constructs.document,d,m),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const _t={partial:!0,tokenize:zn};function zn(o,d,m){return E;function E(O){return(0,Oe.xz)(O)?(0,Ct.f)(o,N,"linePrefix")(O):N(O)}function N(O){return O===null||(0,Oe.Ch)(O)?d(O):m(O)}}const Ln={resolve:Gn,tokenize:fr},Dn={partial:!0,tokenize:er};function Gn(o){return mt(o),o}function fr(o,d){let m;return E;function E(J){return o.enter("content"),m=o.enter("chunkContent",{contentType:"content"}),N(J)}function N(J){return J===null?O(J):(0,Oe.Ch)(J)?o.check(Dn,M,O)(J):(o.consume(J),N)}function O(J){return o.exit("chunkContent"),o.exit("content"),d(J)}function M(J){return o.consume(J),o.exit("chunkContent"),m.next=o.enter("chunkContent",{contentType:"content",previous:m}),m=m.next,N}}function er(o,d,m){const E=this;return N;function N(M){return o.exit("chunkContent"),o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),(0,Ct.f)(o,O,"linePrefix")}function O(M){if(M===null||(0,Oe.Ch)(M))return m(M);const J=E.events[E.events.length-1];return!E.parser.constructs.disable.null.includes("codeIndented")&&J&&J[1].type==="linePrefix"&&J[2].sliceSerialize(J[1],!0).length>=4?d(M):o.interrupt(E.parser.constructs.flow,m,d)(M)}}const xr={tokenize:kr};function kr(o){const d=this,m=o.attempt(_t,E,o.attempt(this.parser.constructs.flowInitial,N,(0,Ct.f)(o,o.attempt(this.parser.constructs.flow,N,o.attempt(Ln,N)),"linePrefix")));return m;function E(O){if(O===null){o.consume(O);return}return o.enter("lineEndingBlank"),o.consume(O),o.exit("lineEndingBlank"),d.currentConstruct=void 0,m}function N(O){if(O===null){o.consume(O);return}return o.enter("lineEnding"),o.consume(O),o.exit("lineEnding"),d.currentConstruct=void 0,m}}const On={resolveAll:Vr()},Sr=Cr("string"),Zn=Cr("text");function Cr(o){return{resolveAll:Vr(o==="text"?Zr:void 0),tokenize:d};function d(m){const E=this,N=this.parser.constructs[o],O=m.attempt(N,M,J);return M;function M(de){return Me(de)?O(de):J(de)}function J(de){if(de===null){m.consume(de);return}return m.enter("data"),m.consume(de),Pe}function Pe(de){return Me(de)?(m.exit("data"),O(de)):(m.consume(de),Pe)}function Me(de){if(de===null)return!0;const $e=N[de];let Le=-1;if($e)for(;++Le<$e.length;){const ve=$e[Le];if(!ve.previous||ve.previous.call(E,E.previous))return!0}return!1}}}function Vr(o){return d;function d(m,E){let N=-1,O;for(;++N<=m.length;)O===void 0?m[N]&&m[N][1].type==="data"&&(O=N,N++):(!m[N]||m[N][1].type!=="data")&&(N!==O+2&&(m[O][1].end=m[N-1][1].end,m.splice(O+2,N-O-2),N=O+2),O=void 0);return o?o(m,E):m}}function Zr(o,d){let m=0;for(;++m<=o.length;)if((m===o.length||o[m][1].type==="lineEnding")&&o[m-1][1].type==="data"){const E=o[m-1][1],N=d.sliceStream(E);let O=N.length,M=-1,J=0,Pe;for(;O--;){const Me=N[O];if(typeof Me=="string"){for(M=Me.length;Me.charCodeAt(M-1)===32;)J++,M--;if(M)break;M=-1}else if(Me===-2)Pe=!0,J++;else if(Me!==-1){O++;break}}if(d._contentTypeTextTrailing&&m===o.length&&(J=0),J){const Me={type:m===o.length||Pe||J<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:O?M:E.start._bufferIndex+M,_index:E.start._index+O,line:E.end.line,column:E.end.column-J,offset:E.end.offset-J},end:cr({},E.end)};E.end=cr({},Me.start),E.start.offset===E.end.offset?Object.assign(E,Me):(o.splice(m,0,["enter",Me,d],["exit",Me,d]),m+=2)}m++}return o}const Ir={name:"thematicBreak",tokenize:ir};function ir(o,d,m){let E=0,N;return O;function O(Me){return o.enter("thematicBreak"),M(Me)}function M(Me){return N=Me,J(Me)}function J(Me){return Me===N?(o.enter("thematicBreakSequence"),Pe(Me)):E>=3&&(Me===null||(0,Oe.Ch)(Me))?(o.exit("thematicBreak"),d(Me)):m(Me)}function Pe(Me){return Me===N?(o.consume(Me),E++,Pe):(o.exit("thematicBreakSequence"),(0,Oe.xz)(Me)?(0,Ct.f)(o,J,"whitespace")(Me):J(Me))}}const Kn={continuation:{tokenize:Rt},exit:$t,name:"list",tokenize:Nr},Vn={partial:!0,tokenize:vt},Gr={partial:!0,tokenize:lt};function Nr(o,d,m){const E=this,N=E.events[E.events.length-1];let O=N&&N[1].type==="linePrefix"?N[2].sliceSerialize(N[1],!0).length:0,M=0;return J;function J(ve){const Ft=E.containerState.type||(ve===42||ve===43||ve===45?"listUnordered":"listOrdered");if(Ft==="listUnordered"?!E.containerState.marker||ve===E.containerState.marker:(0,Oe.pY)(ve)){if(E.containerState.type||(E.containerState.type=Ft,o.enter(Ft,{_container:!0})),Ft==="listUnordered")return o.enter("listItemPrefix"),ve===42||ve===45?o.check(Ir,m,Me)(ve):Me(ve);if(!E.interrupt||ve===49)return o.enter("listItemPrefix"),o.enter("listItemValue"),Pe(ve)}return m(ve)}function Pe(ve){return(0,Oe.pY)(ve)&&++M<10?(o.consume(ve),Pe):(!E.interrupt||M<2)&&(E.containerState.marker?ve===E.containerState.marker:ve===41||ve===46)?(o.exit("listItemValue"),Me(ve)):m(ve)}function Me(ve){return o.enter("listItemMarker"),o.consume(ve),o.exit("listItemMarker"),E.containerState.marker=E.containerState.marker||ve,o.check(_t,E.interrupt?m:de,o.attempt(Vn,Le,$e))}function de(ve){return E.containerState.initialBlankLine=!0,O++,Le(ve)}function $e(ve){return(0,Oe.xz)(ve)?(o.enter("listItemPrefixWhitespace"),o.consume(ve),o.exit("listItemPrefixWhitespace"),Le):m(ve)}function Le(ve){return E.containerState.size=O+E.sliceSerialize(o.exit("listItemPrefix"),!0).length,d(ve)}}function Rt(o,d,m){const E=this;return E.containerState._closeFlow=void 0,o.check(_t,N,O);function N(J){return E.containerState.furtherBlankLines=E.containerState.furtherBlankLines||E.containerState.initialBlankLine,(0,Ct.f)(o,d,"listItemIndent",E.containerState.size+1)(J)}function O(J){return E.containerState.furtherBlankLines||!(0,Oe.xz)(J)?(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,M(J)):(E.containerState.furtherBlankLines=void 0,E.containerState.initialBlankLine=void 0,o.attempt(Gr,d,M)(J))}function M(J){return E.containerState._closeFlow=!0,E.interrupt=void 0,(0,Ct.f)(o,o.attempt(Kn,d,m),"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J)}}function lt(o,d,m){const E=this;return(0,Ct.f)(o,N,"listItemIndent",E.containerState.size+1);function N(O){const M=E.events[E.events.length-1];return M&&M[1].type==="listItemIndent"&&M[2].sliceSerialize(M[1],!0).length===E.containerState.size?d(O):m(O)}}function $t(o){o.exit(this.containerState.type)}function vt(o,d,m){const E=this;return(0,Ct.f)(o,N,"listItemPrefixWhitespace",E.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function N(O){const M=E.events[E.events.length-1];return!(0,Oe.xz)(O)&&M&&M[1].type==="listItemPrefixWhitespace"?d(O):m(O)}}const un={continuation:{tokenize:bt},exit:gn,name:"blockQuote",tokenize:Cn};function Cn(o,d,m){const E=this;return N;function N(M){if(M===62){const J=E.containerState;return J.open||(o.enter("blockQuote",{_container:!0}),J.open=!0),o.enter("blockQuotePrefix"),o.enter("blockQuoteMarker"),o.consume(M),o.exit("blockQuoteMarker"),O}return m(M)}function O(M){return(0,Oe.xz)(M)?(o.enter("blockQuotePrefixWhitespace"),o.consume(M),o.exit("blockQuotePrefixWhitespace"),o.exit("blockQuotePrefix"),d):(o.exit("blockQuotePrefix"),d(M))}}function bt(o,d,m){const E=this;return N;function N(M){return(0,Oe.xz)(M)?(0,Ct.f)(o,O,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):O(M)}function O(M){return o.attempt(un,d,m)(M)}}function gn(o){o.exit("blockQuote")}function we(o,d,m,E,N,O,M,J,Pe){const Me=Pe||Number.POSITIVE_INFINITY;let de=0;return $e;function $e(jt){return jt===60?(o.enter(E),o.enter(N),o.enter(O),o.consume(jt),o.exit(O),Le):jt===null||jt===32||jt===41||(0,Oe.Av)(jt)?m(jt):(o.enter(E),o.enter(M),o.enter(J),o.enter("chunkString",{contentType:"string"}),Qt(jt))}function Le(jt){return jt===62?(o.enter(O),o.consume(jt),o.exit(O),o.exit(N),o.exit(E),d):(o.enter(J),o.enter("chunkString",{contentType:"string"}),ve(jt))}function ve(jt){return jt===62?(o.exit("chunkString"),o.exit(J),Le(jt)):jt===null||jt===60||(0,Oe.Ch)(jt)?m(jt):(o.consume(jt),jt===92?Ft:ve)}function Ft(jt){return jt===60||jt===62||jt===92?(o.consume(jt),ve):ve(jt)}function Qt(jt){return!de&&(jt===null||jt===41||(0,Oe.z3)(jt))?(o.exit("chunkString"),o.exit(J),o.exit(M),o.exit(E),d(jt)):de999||ve===null||ve===91||ve===93&&!Pe||ve===94&&!J&&"_hiddenFootnoteSupport"in M.parser.constructs?m(ve):ve===93?(o.exit(O),o.enter(N),o.consume(ve),o.exit(N),o.exit(E),d):(0,Oe.Ch)(ve)?(o.enter("lineEnding"),o.consume(ve),o.exit("lineEnding"),de):(o.enter("chunkString",{contentType:"string"}),$e(ve))}function $e(ve){return ve===null||ve===91||ve===93||(0,Oe.Ch)(ve)||J++>999?(o.exit("chunkString"),de(ve)):(o.consume(ve),Pe||(Pe=!(0,Oe.xz)(ve)),ve===92?Le:$e)}function Le(ve){return ve===91||ve===92||ve===93?(o.consume(ve),J++,$e):$e(ve)}}function c(o,d,m,E,N,O){let M;return J;function J(Le){return Le===34||Le===39||Le===40?(o.enter(E),o.enter(N),o.consume(Le),o.exit(N),M=Le===40?41:Le,Pe):m(Le)}function Pe(Le){return Le===M?(o.enter(N),o.consume(Le),o.exit(N),o.exit(E),d):(o.enter(O),Me(Le))}function Me(Le){return Le===M?(o.exit(O),Pe(M)):Le===null?m(Le):(0,Oe.Ch)(Le)?(o.enter("lineEnding"),o.consume(Le),o.exit("lineEnding"),(0,Ct.f)(o,Me,"linePrefix")):(o.enter("chunkString",{contentType:"string"}),de(Le))}function de(Le){return Le===M||Le===null||(0,Oe.Ch)(Le)?(o.exit("chunkString"),Me(Le)):(o.consume(Le),Le===92?$e:de)}function $e(Le){return Le===M||Le===92?(o.consume(Le),de):de(Le)}}function ht(o,d){let m;return E;function E(N){return(0,Oe.Ch)(N)?(o.enter("lineEnding"),o.consume(N),o.exit("lineEnding"),m=!0,E):(0,Oe.xz)(N)?(0,Ct.f)(o,E,m?"linePrefix":"lineSuffix")(N):d(N)}}function Lt(o){return o.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const He={name:"definition",tokenize:Ot},Dt={partial:!0,tokenize:Sn};function Ot(o,d,m){const E=this;let N;return O;function O(ve){return o.enter("definition"),M(ve)}function M(ve){return ie.call(E,o,J,m,"definitionLabel","definitionLabelMarker","definitionLabelString")(ve)}function J(ve){return N=Lt(E.sliceSerialize(E.events[E.events.length-1][1]).slice(1,-1)),ve===58?(o.enter("definitionMarker"),o.consume(ve),o.exit("definitionMarker"),Pe):m(ve)}function Pe(ve){return(0,Oe.z3)(ve)?ht(o,Me)(ve):Me(ve)}function Me(ve){return we(o,de,m,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(ve)}function de(ve){return o.attempt(Dt,$e,$e)(ve)}function $e(ve){return(0,Oe.xz)(ve)?(0,Ct.f)(o,Le,"whitespace")(ve):Le(ve)}function Le(ve){return ve===null||(0,Oe.Ch)(ve)?(o.exit("definition"),E.parser.defined.push(N),d(ve)):m(ve)}}function Sn(o,d,m){return E;function E(J){return(0,Oe.z3)(J)?ht(o,N)(J):m(J)}function N(J){return c(o,O,m,"definitionTitle","definitionTitleMarker","definitionTitleString")(J)}function O(J){return(0,Oe.xz)(J)?(0,Ct.f)(o,M,"whitespace")(J):M(J)}function M(J){return J===null||(0,Oe.Ch)(J)?d(J):m(J)}}const En={name:"codeIndented",tokenize:Pn},ue={partial:!0,tokenize:ar};function Pn(o,d,m){const E=this;return N;function N(Me){return o.enter("codeIndented"),(0,Ct.f)(o,O,"linePrefix",5)(Me)}function O(Me){const de=E.events[E.events.length-1];return de&&de[1].type==="linePrefix"&&de[2].sliceSerialize(de[1],!0).length>=4?M(Me):m(Me)}function M(Me){return Me===null?Pe(Me):(0,Oe.Ch)(Me)?o.attempt(ue,M,Pe)(Me):(o.enter("codeFlowValue"),J(Me))}function J(Me){return Me===null||(0,Oe.Ch)(Me)?(o.exit("codeFlowValue"),M(Me)):(o.consume(Me),J)}function Pe(Me){return o.exit("codeIndented"),d(Me)}}function ar(o,d,m){const E=this;return N;function N(M){return E.parser.lazy[E.now().line]?m(M):(0,Oe.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),N):(0,Ct.f)(o,O,"linePrefix",5)(M)}function O(M){const J=E.events[E.events.length-1];return J&&J[1].type==="linePrefix"&&J[2].sliceSerialize(J[1],!0).length>=4?d(M):(0,Oe.Ch)(M)?N(M):m(M)}}const Rn={name:"headingAtx",resolve:T,tokenize:I};function T(o,d){let m=o.length-2,E=3,N,O;return o[E][1].type==="whitespace"&&(E+=2),m-2>E&&o[m][1].type==="whitespace"&&(m-=2),o[m][1].type==="atxHeadingSequence"&&(E===m-1||m-4>E&&o[m-2][1].type==="whitespace")&&(m-=E+1===m?2:4),m>E&&(N={type:"atxHeadingText",start:o[E][1].start,end:o[m][1].end},O={type:"chunkText",start:o[E][1].start,end:o[m][1].end,contentType:"text"},Q(o,E,m-E+1,[["enter",N,d],["enter",O,d],["exit",O,d],["exit",N,d]])),o}function I(o,d,m){let E=0;return N;function N(de){return o.enter("atxHeading"),O(de)}function O(de){return o.enter("atxHeadingSequence"),M(de)}function M(de){return de===35&&E++<6?(o.consume(de),M):de===null||(0,Oe.z3)(de)?(o.exit("atxHeadingSequence"),J(de)):m(de)}function J(de){return de===35?(o.enter("atxHeadingSequence"),Pe(de)):de===null||(0,Oe.Ch)(de)?(o.exit("atxHeading"),d(de)):(0,Oe.xz)(de)?(0,Ct.f)(o,J,"whitespace")(de):(o.enter("atxHeadingText"),Me(de))}function Pe(de){return de===35?(o.consume(de),Pe):(o.exit("atxHeadingSequence"),J(de))}function Me(de){return de===null||de===35||(0,Oe.z3)(de)?(o.exit("atxHeadingText"),J(de)):(o.consume(de),Me)}}const Mt={name:"setextUnderline",resolveTo:H,tokenize:xe};function H(o,d){let m=o.length,E,N,O;for(;m--;)if(o[m][0]==="enter"){if(o[m][1].type==="content"){E=m;break}o[m][1].type==="paragraph"&&(N=m)}else o[m][1].type==="content"&&o.splice(m,1),!O&&o[m][1].type==="definition"&&(O=m);const M={type:"setextHeading",start:cr({},o[E][1].start),end:cr({},o[o.length-1][1].end)};return o[N][1].type="setextHeadingText",O?(o.splice(N,0,["enter",M,d]),o.splice(O+1,0,["exit",o[E][1],d]),o[E][1].end=cr({},o[O][1].end)):o[E][1]=M,o.push(["exit",M,d]),o}function xe(o,d,m){const E=this;let N;return O;function O(Me){let de=E.events.length,$e;for(;de--;)if(E.events[de][1].type!=="lineEnding"&&E.events[de][1].type!=="linePrefix"&&E.events[de][1].type!=="content"){$e=E.events[de][1].type==="paragraph";break}return!E.parser.lazy[E.now().line]&&(E.interrupt||$e)?(o.enter("setextHeadingLine"),N=Me,M(Me)):m(Me)}function M(Me){return o.enter("setextHeadingLineSequence"),J(Me)}function J(Me){return Me===N?(o.consume(Me),J):(o.exit("setextHeadingLineSequence"),(0,Oe.xz)(Me)?(0,Ct.f)(o,Pe,"lineSuffix")(Me):Pe(Me))}function Pe(Me){return Me===null||(0,Oe.Ch)(Me)?(o.exit("setextHeadingLine"),d(Me)):m(Me)}}const Xn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qt=["pre","script","style","textarea"],Mn={concrete:!0,name:"htmlFlow",resolveTo:sr,tokenize:Pr},Dr={partial:!0,tokenize:Fe},mn={partial:!0,tokenize:Br};function sr(o){let d=o.length;for(;d--&&!(o[d][0]==="enter"&&o[d][1].type==="htmlFlow"););return d>1&&o[d-2][1].type==="linePrefix"&&(o[d][1].start=o[d-2][1].start,o[d+1][1].start=o[d-2][1].start,o.splice(d-2,2)),o}function Pr(o,d,m){const E=this;let N,O,M,J,Pe;return Me;function Me(je){return de(je)}function de(je){return o.enter("htmlFlow"),o.enter("htmlFlowData"),o.consume(je),$e}function $e(je){return je===33?(o.consume(je),Le):je===47?(o.consume(je),O=!0,Qt):je===63?(o.consume(je),N=3,E.interrupt?d:Ne):(0,Oe.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function Le(je){return je===45?(o.consume(je),N=2,ve):je===91?(o.consume(je),N=5,J=0,Ft):(0,Oe.jv)(je)?(o.consume(je),N=4,E.interrupt?d:Ne):m(je)}function ve(je){return je===45?(o.consume(je),E.interrupt?d:Ne):m(je)}function Ft(je){const Jr="CDATA[";return je===Jr.charCodeAt(J++)?(o.consume(je),J===Jr.length?E.interrupt?d:Qn:Ft):m(je)}function Qt(je){return(0,Oe.jv)(je)?(o.consume(je),M=String.fromCharCode(je),bn):m(je)}function bn(je){if(je===null||je===47||je===62||(0,Oe.z3)(je)){const Jr=je===47,oa=M.toLowerCase();return!Jr&&!O&&qt.includes(oa)?(N=1,E.interrupt?d(je):Qn(je)):Xn.includes(M.toLowerCase())?(N=6,Jr?(o.consume(je),jt):E.interrupt?d(je):Qn(je)):(N=7,E.interrupt&&!E.parser.lazy[E.now().line]?m(je):O?rn(je):on(je))}return je===45||(0,Oe.H$)(je)?(o.consume(je),M+=String.fromCharCode(je),bn):m(je)}function jt(je){return je===62?(o.consume(je),E.interrupt?d:Qn):m(je)}function rn(je){return(0,Oe.xz)(je)?(o.consume(je),rn):lr(je)}function on(je){return je===47?(o.consume(je),lr):je===58||je===95||(0,Oe.jv)(je)?(o.consume(je),Bn):(0,Oe.xz)(je)?(o.consume(je),on):lr(je)}function Bn(je){return je===45||je===46||je===58||je===95||(0,Oe.H$)(je)?(o.consume(je),Bn):qn(je)}function qn(je){return je===61?(o.consume(je),Ut):(0,Oe.xz)(je)?(o.consume(je),qn):on(je)}function Ut(je){return je===null||je===60||je===61||je===62||je===96?m(je):je===34||je===39?(o.consume(je),Pe=je,tr):(0,Oe.xz)(je)?(o.consume(je),Ut):pr(je)}function tr(je){return je===Pe?(o.consume(je),Pe=null,Tn):je===null||(0,Oe.Ch)(je)?m(je):(o.consume(je),tr)}function pr(je){return je===null||je===34||je===39||je===47||je===60||je===61||je===62||je===96||(0,Oe.z3)(je)?qn(je):(o.consume(je),pr)}function Tn(je){return je===47||je===62||(0,Oe.xz)(je)?on(je):m(je)}function lr(je){return je===62?(o.consume(je),nr):m(je)}function nr(je){return je===null||(0,Oe.Ch)(je)?Qn(je):(0,Oe.xz)(je)?(o.consume(je),nr):m(je)}function Qn(je){return je===45&&N===2?(o.consume(je),hn):je===60&&N===1?(o.consume(je),vn):je===62&&N===4?(o.consume(je),Fn):je===63&&N===3?(o.consume(je),Ne):je===93&&N===5?(o.consume(je),Jn):(0,Oe.Ch)(je)&&(N===6||N===7)?(o.exit("htmlFlowData"),o.check(Dr,or,xn)(je)):je===null||(0,Oe.Ch)(je)?(o.exit("htmlFlowData"),xn(je)):(o.consume(je),Qn)}function xn(je){return o.check(mn,Wn,or)(je)}function Wn(je){return o.enter("lineEnding"),o.consume(je),o.exit("lineEnding"),an}function an(je){return je===null||(0,Oe.Ch)(je)?xn(je):(o.enter("htmlFlowData"),Qn(je))}function hn(je){return je===45?(o.consume(je),Ne):Qn(je)}function vn(je){return je===47?(o.consume(je),M="",yn):Qn(je)}function yn(je){if(je===62){const Jr=M.toLowerCase();return qt.includes(Jr)?(o.consume(je),Fn):Qn(je)}return(0,Oe.jv)(je)&&M.length<8?(o.consume(je),M+=String.fromCharCode(je),yn):Qn(je)}function Jn(je){return je===93?(o.consume(je),Ne):Qn(je)}function Ne(je){return je===62?(o.consume(je),Fn):je===45&&N===2?(o.consume(je),Ne):Qn(je)}function Fn(je){return je===null||(0,Oe.Ch)(je)?(o.exit("htmlFlowData"),or(je)):(o.consume(je),Fn)}function or(je){return o.exit("htmlFlow"),d(je)}}function Br(o,d,m){const E=this;return N;function N(M){return(0,Oe.Ch)(M)?(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),O):m(M)}function O(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}function Fe(o,d,m){return E;function E(N){return o.enter("lineEnding"),o.consume(N),o.exit("lineEnding"),o.attempt(_t,d,m)}}const Xr={partial:!0,tokenize:ta},qe={concrete:!0,name:"codeFenced",tokenize:va};function va(o,d,m){const E=this,N={partial:!0,tokenize:qn};let O=0,M=0,J;return Pe;function Pe(Ut){return Me(Ut)}function Me(Ut){const tr=E.events[E.events.length-1];return O=tr&&tr[1].type==="linePrefix"?tr[2].sliceSerialize(tr[1],!0).length:0,J=Ut,o.enter("codeFenced"),o.enter("codeFencedFence"),o.enter("codeFencedFenceSequence"),de(Ut)}function de(Ut){return Ut===J?(M++,o.consume(Ut),de):M<3?m(Ut):(o.exit("codeFencedFenceSequence"),(0,Oe.xz)(Ut)?(0,Ct.f)(o,$e,"whitespace")(Ut):$e(Ut))}function $e(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("codeFencedFence"),E.interrupt?d(Ut):o.check(Xr,Qt,Bn)(Ut)):(o.enter("codeFencedFenceInfo"),o.enter("chunkString",{contentType:"string"}),Le(Ut))}function Le(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),$e(Ut)):(0,Oe.xz)(Ut)?(o.exit("chunkString"),o.exit("codeFencedFenceInfo"),(0,Ct.f)(o,ve,"whitespace")(Ut)):Ut===96&&Ut===J?m(Ut):(o.consume(Ut),Le)}function ve(Ut){return Ut===null||(0,Oe.Ch)(Ut)?$e(Ut):(o.enter("codeFencedFenceMeta"),o.enter("chunkString",{contentType:"string"}),Ft(Ut))}function Ft(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("chunkString"),o.exit("codeFencedFenceMeta"),$e(Ut)):Ut===96&&Ut===J?m(Ut):(o.consume(Ut),Ft)}function Qt(Ut){return o.attempt(N,Bn,bn)(Ut)}function bn(Ut){return o.enter("lineEnding"),o.consume(Ut),o.exit("lineEnding"),jt}function jt(Ut){return O>0&&(0,Oe.xz)(Ut)?(0,Ct.f)(o,rn,"linePrefix",O+1)(Ut):rn(Ut)}function rn(Ut){return Ut===null||(0,Oe.Ch)(Ut)?o.check(Xr,Qt,Bn)(Ut):(o.enter("codeFlowValue"),on(Ut))}function on(Ut){return Ut===null||(0,Oe.Ch)(Ut)?(o.exit("codeFlowValue"),rn(Ut)):(o.consume(Ut),on)}function Bn(Ut){return o.exit("codeFenced"),d(Ut)}function qn(Ut,tr,pr){let Tn=0;return lr;function lr(an){return Ut.enter("lineEnding"),Ut.consume(an),Ut.exit("lineEnding"),nr}function nr(an){return Ut.enter("codeFencedFence"),(0,Oe.xz)(an)?(0,Ct.f)(Ut,Qn,"linePrefix",E.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(an):Qn(an)}function Qn(an){return an===J?(Ut.enter("codeFencedFenceSequence"),xn(an)):pr(an)}function xn(an){return an===J?(Tn++,Ut.consume(an),xn):Tn>=M?(Ut.exit("codeFencedFenceSequence"),(0,Oe.xz)(an)?(0,Ct.f)(Ut,Wn,"whitespace")(an):Wn(an)):pr(an)}function Wn(an){return an===null||(0,Oe.Ch)(an)?(Ut.exit("codeFencedFence"),tr(an)):pr(an)}}}function ta(o,d,m){const E=this;return N;function N(M){return M===null?m(M):(o.enter("lineEnding"),o.consume(M),o.exit("lineEnding"),O)}function O(M){return E.parser.lazy[E.now().line]?m(M):d(M)}}const mr=document.createElement("i");function ya(o){const d="&"+o+";";mr.innerHTML=d;const m=mr.textContent;return m.charCodeAt(m.length-1)===59&&o!=="semi"||m===d?!1:m}const Fr={name:"characterReference",tokenize:wr};function wr(o,d,m){const E=this;let N=0,O,M;return J;function J($e){return o.enter("characterReference"),o.enter("characterReferenceMarker"),o.consume($e),o.exit("characterReferenceMarker"),Pe}function Pe($e){return $e===35?(o.enter("characterReferenceMarkerNumeric"),o.consume($e),o.exit("characterReferenceMarkerNumeric"),Me):(o.enter("characterReferenceValue"),O=31,M=Oe.H$,de($e))}function Me($e){return $e===88||$e===120?(o.enter("characterReferenceMarkerHexadecimal"),o.consume($e),o.exit("characterReferenceMarkerHexadecimal"),o.enter("characterReferenceValue"),O=6,M=Oe.AF,de):(o.enter("characterReferenceValue"),O=7,M=Oe.pY,de($e))}function de($e){if($e===59&&N){const Le=o.exit("characterReferenceValue");return M===Oe.H$&&!ya(E.sliceSerialize(Le))?m($e):(o.enter("characterReferenceMarker"),o.consume($e),o.exit("characterReferenceMarker"),o.exit("characterReference"),d)}return M($e)&&N++1&&o[m][1].end.offset-o[m][1].start.offset>1?2:1;const $e=cr({},o[E][1].end),Le=cr({},o[m][1].start);Aa($e,-Pe),Aa(Le,Pe),M={type:Pe>1?"strongSequence":"emphasisSequence",start:$e,end:cr({},o[E][1].end)},J={type:Pe>1?"strongSequence":"emphasisSequence",start:cr({},o[m][1].start),end:Le},O={type:Pe>1?"strongText":"emphasisText",start:cr({},o[E][1].end),end:cr({},o[m][1].start)},N={type:Pe>1?"strong":"emphasis",start:cr({},M.start),end:cr({},J.end)},o[E][1].end=cr({},M.start),o[m][1].start=cr({},J.end),Me=[],o[E][1].end.offset-o[E][1].start.offset&&(Me=ke(Me,[["enter",o[E][1],d],["exit",o[E][1],d]])),Me=ke(Me,[["enter",N,d],["enter",M,d],["exit",M,d],["enter",O,d]]),Me=ke(Me,fn(d.parser.constructs.insideSpan.null,o.slice(E+1,m),d)),Me=ke(Me,[["exit",O,d],["enter",J,d],["exit",J,d],["exit",N,d]]),o[m][1].end.offset-o[m][1].start.offset?(de=2,Me=ke(Me,[["enter",o[m][1],d],["exit",o[m][1],d]])):de=0,Q(o,E-1,m-E+3,Me),m=E+Me.length-de-2;break}}for(m=-1;++m-1){const J=M[0];typeof J=="string"?M[0]=J.slice(E):M.shift()}O>0&&M.push(o[N].slice(0,O))}return M}function wn(o,d){let m=-1;const E=[];let N;for(;++m13&&m<32||m>126&&m<160||m>55295&&m<57344||m>64975&&m<65008||(m&65535)===65535||(m&65535)===65534||m>1114111?"\uFFFD":String.fromCodePoint(m)}const zo=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Oo(o){return o.replace(zo,Ai)}function Ai(o,d,m){if(d)return d;if(m.charCodeAt(0)===35){const N=m.charCodeAt(1),O=N===120||N===88;return Ia(m.slice(O?2:1),O?16:10)}return ya(m)||o}const ko={}.hasOwnProperty;function Na(o,d,m){return typeof d!="string"&&(m=d,d=void 0),si(m)(yt(mi(m).document().write(Sa()(o,d,!0))))}function si(o){const d={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:O(b),autolinkProtocol:Tn,autolinkEmail:Tn,atxHeading:O(ma),blockQuote:O(fa),characterEscape:Tn,characterReference:Tn,codeFenced:O($a),codeFencedFenceInfo:M,codeFencedFenceMeta:M,codeIndented:O($a,M),codeText:O(yr,M),codeTextData:Tn,data:Tn,codeFlowValue:Tn,definition:O(Or),definitionDestinationString:M,definitionLabelString:M,definitionTitleString:M,emphasis:O(Kr),hardBreakEscape:O(ha),hardBreakTrailing:O(ha),htmlFlow:O(e,M),htmlFlowData:Tn,htmlText:O(e,M),htmlTextData:Tn,image:O(r),label:M,link:O(b),listItem:O(Ke),listItemValue:Le,listOrdered:O(K,$e),listUnordered:O(K),paragraph:O(St),reference:je,referenceString:M,resourceDestinationString:M,resourceTitleString:M,setextHeading:O(ma),strong:O(Yt),thematicBreak:O($n)},exit:{atxHeading:Pe(),atxHeadingSequence:qn,autolink:Pe(),autolinkEmail:Yr,autolinkProtocol:ea,blockQuote:Pe(),characterEscapeValue:lr,characterReferenceMarkerHexadecimal:oa,characterReferenceMarkerNumeric:oa,characterReferenceValue:Fa,characterReference:ua,codeFenced:Pe(bn),codeFencedFence:Qt,codeFencedFenceInfo:ve,codeFencedFenceMeta:Ft,codeFlowValue:lr,codeIndented:Pe(jt),codeText:Pe(an),codeTextData:lr,data:lr,definition:Pe(),definitionDestinationString:Bn,definitionLabelString:rn,definitionTitleString:on,emphasis:Pe(),hardBreakEscape:Pe(Qn),hardBreakTrailing:Pe(Qn),htmlFlow:Pe(xn),htmlFlowData:lr,htmlText:Pe(Wn),htmlTextData:lr,image:Pe(vn),label:Jn,labelText:yn,lineEnding:nr,link:Pe(hn),listItem:Pe(),listOrdered:Pe(),listUnordered:Pe(),paragraph:Pe(),referenceString:Jr,resourceDestinationString:Ne,resourceTitleString:Fn,resource:or,setextHeading:Pe(pr),setextHeadingLineSequence:tr,setextHeadingText:Ut,strong:Pe(),thematicBreak:Pe()}};po(d,(o||{}).mdastExtensions||[]);const m={};return E;function E(Nt){let tn={type:"root",children:[]};const _n={stack:[tn],tokenStack:[],config:d,enter:J,exit:Me,buffer:M,resume:de,data:m},jn=[];let Hr=-1;for(;++Hr0){const _a=_n.tokenStack[_n.tokenStack.length-1];(_a[1]||Ya).call(_n,void 0,_a[0])}for(tn.position={start:Ca(Nt.length>0?Nt[0][1].start:{line:1,column:1,offset:0}),end:Ca(Nt.length>0?Nt[Nt.length-2][1].end:{line:1,column:1,offset:0})},Hr=-1;++Hr-1&&E>M||N>-1&&E>N||O>-1&&E>O||d.test(m.slice(0,E))?m:""}function li(o){const d=[];let m=-1,E=0,N=0;for(;++m55295&&O<57344){const J=o.charCodeAt(m+1);O<56320&&J>56319&&J<57344?(M=String.fromCharCode(O,J),N=1):M="\uFFFD"}else M=String.fromCharCode(O);M&&(d.push(o.slice(E,m),encodeURIComponent(M)),E=m+N+1,M=""),N&&(m+=N,N=0)}return d.join("")+o.slice(E)}function Ha(o,d){const m=[{type:"text",value:"\u21A9"}];return d>1&&m.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(d)}]}),m}function Ma(o,d){return"Back to reference "+(o+1)+(d>1?"-"+d:"")}function Qi(o){const d=typeof o.options.clobberPrefix=="string"?o.options.clobberPrefix:"user-content-",m=o.options.footnoteBackContent||Ha,E=o.options.footnoteBackLabel||Ma,N=o.options.footnoteLabel||"Footnotes",O=o.options.footnoteLabelTagName||"h2",M=o.options.footnoteLabelProperties||{className:["sr-only"]},J=[];let Pe=-1;for(;++Pe0&&Ft.push({type:"text",value:" "});let rn=typeof m=="string"?m:m(Pe,ve);typeof rn=="string"&&(rn={type:"text",value:rn}),Ft.push({type:"element",tagName:"a",properties:{href:"#"+d+"fnref-"+Le+(ve>1?"-"+ve:""),dataFootnoteBackref:"",ariaLabel:typeof E=="string"?E:E(Pe,ve),className:["data-footnote-backref"]},children:Array.isArray(rn)?rn:[rn]})}const bn=de[de.length-1];if(bn&&bn.type==="element"&&bn.tagName==="p"){const rn=bn.children[bn.children.length-1];rn&&rn.type==="text"?rn.value+=" ":bn.children.push({type:"text",value:" "}),bn.children.push(...Ft)}else de.push(...Ft);const jt={type:"element",tagName:"li",properties:{id:d+"fn-"+Le},children:o.wrap(de,!0)};o.patch(Me,jt),J.push(jt)}if(J.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:O,properties:Ro(cr({},(0,hi.ZP)(M)),{id:"footnote-label"}),children:[{type:"text",value:N}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:o.wrap(J,!0)},{type:"text",value:` diff --git a/3754.632a2854.async.js b/3754.1fc106e2.async.js similarity index 63% rename from 3754.632a2854.async.js rename to 3754.1fc106e2.async.js index b9e4a00411..95d52ea14f 100644 --- a/3754.632a2854.async.js +++ b/3754.1fc106e2.async.js @@ -1,5 +1,5 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[3754],{94907:function(d,S,n){var l=n(97671);(function(){var f,v,g,y,T,x;typeof performance!="undefined"&&performance!==null&&performance.now?d.exports=function(){return performance.now()}:typeof l!="undefined"&&l!==null&&l.hrtime?(d.exports=function(){return(f()-T)/1e6},v=l.hrtime,f=function(){var b;return b=v(),b[0]*1e9+b[1]},y=f(),x=l.uptime()*1e9,T=y-x):Date.now?(d.exports=function(){return Date.now()-g},g=Date.now()):(d.exports=function(){return new Date().getTime()-g},g=new Date().getTime())}).call(this)},32772:function(d,S,n){for(var l=n(94907),f=typeof window=="undefined"?n.g:window,v=["moz","webkit"],g="AnimationFrame",y=f["request"+g],T=f["cancel"+g]||f["cancelRequest"+g],x=0;!y&&x3&&(this.alpha=T[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var x=this.r.toString(16),b=this.g.toString(16),C=this.b.toString(16);return x.length==1&&(x="0"+x),b.length==1&&(b="0"+b),C.length==1&&(C="0"+C),"#"+x+b+C},this.getHelpXML=function(){for(var x=new Array,b=0;b "+I.toRGB()+" -> "+I.toHex());M.appendChild(w),M.appendChild(F),P.appendChild(M)}catch(j){}return P}}},38785:function(d,S,n){"use strict";var l=n(94826),f=n(76370),v=TypeError;d.exports=function(g){if(l(g))return g;throw new v(f(g)+" is not a function")}},31678:function(d,S,n){"use strict";var l=n(99424),f=n(76370),v=TypeError;d.exports=function(g){if(l(g))return g;throw new v(f(g)+" is not a constructor")}},19502:function(d,S,n){"use strict";var l=n(25372),f=String,v=TypeError;d.exports=function(g){if(l(g))return g;throw new v("Can't set "+f(g)+" as a prototype")}},39449:function(d,S,n){"use strict";var l=n(14049),f=n(8282),v=n(41026).f,g=l("unscopables"),y=Array.prototype;y[g]===void 0&&v(y,g,{configurable:!0,value:f(null)}),d.exports=function(T){y[g][T]=!0}},27451:function(d,S,n){"use strict";var l=n(60903).charAt;d.exports=function(f,v,g){return v+(g?l(f,v).length:1)}},80566:function(d,S,n){"use strict";var l=n(13771),f=TypeError;d.exports=function(v,g){if(l(g,v))return v;throw new f("Incorrect invocation")}},90254:function(d,S,n){"use strict";var l=n(37200),f=String,v=TypeError;d.exports=function(g){if(l(g))return g;throw new v(f(g)+" is not an object")}},55138:function(d,S,n){"use strict";var l=n(68581),f=n(65192),v=n(98424),g=function(y){return function(T,x,b){var C=l(T),A=v(C);if(A===0)return!y&&-1;var R=f(b,A),P;if(y&&x!==x){for(;A>R;)if(P=C[R++],P!==P)return!0}else for(;A>R;R++)if((y||R in C)&&C[R]===x)return y||R||0;return!y&&-1}};d.exports={includes:g(!0),indexOf:g(!1)}},67207:function(d,S,n){"use strict";var l=n(88139);d.exports=function(f,v){var g=[][f];return!!g&&l(function(){g.call(null,v||function(){return 1},1)})}},71713:function(d,S,n){"use strict";var l=n(38785),f=n(25084),v=n(99905),g=n(98424),y=TypeError,T="Reduce of empty array with no initial value",x=function(b){return function(C,A,R,P){var M=f(C),I=v(M),w=g(M);if(l(A),w===0&&R<2)throw new y(T);var F=b?w-1:0,Y=b?-1:1;if(R<2)for(;;){if(F in I){P=I[F],F+=Y;break}if(F+=Y,b?F<0:w<=F)throw new y(T)}for(;b?F>=0:w>F;F+=Y)F in I&&(P=A(P,I[F],F,M));return P}};d.exports={left:x(!1),right:x(!0)}},3763:function(d,S,n){"use strict";var l=n(53781);d.exports=l([].slice)},50595:function(d,S,n){"use strict";var l=n(14049),f=l("iterator"),v=!1;try{var g=0,y={next:function(){return{done:!!g++}},return:function(){v=!0}};y[f]=function(){return this},Array.from(y,function(){throw 2})}catch(T){}d.exports=function(T,x){try{if(!x&&!v)return!1}catch(A){return!1}var b=!1;try{var C={};C[f]=function(){return{next:function(){return{done:b=!0}}}},T(C)}catch(A){}return b}},76024:function(d,S,n){"use strict";var l=n(53781),f=l({}.toString),v=l("".slice);d.exports=function(g){return v(f(g),8,-1)}},93144:function(d,S,n){"use strict";var l=n(13475),f=n(94826),v=n(76024),g=n(14049),y=g("toStringTag"),T=Object,x=v(function(){return arguments}())==="Arguments",b=function(C,A){try{return C[A]}catch(R){}};d.exports=l?v:function(C){var A,R,P;return C===void 0?"Undefined":C===null?"Null":typeof(R=b(A=T(C),y))=="string"?R:x?v(A):(P=v(A))==="Object"&&f(A.callee)?"Arguments":P}},23131:function(d,S,n){"use strict";var l=n(8885),f=n(25371),v=n(21477),g=n(41026);d.exports=function(y,T,x){for(var b=f(T),C=g.f,A=v.f,R=0;R0&&x[0]<4?1:+(x[0]+x[1])),!b&&f&&(x=f.match(/Edge\/(\d+)/),(!x||x[1]>=74)&&(x=f.match(/Chrome\/(\d+)/),x&&(b=+x[1]))),d.exports=b},69326:function(d,S,n){"use strict";var l=n(9998),f=n(98501),v=n(76024),g=function(y){return f.slice(0,y.length)===y};d.exports=function(){return g("Bun/")?"BUN":g("Cloudflare-Workers")?"CLOUDFLARE":g("Deno/")?"DENO":g("Node.js/")?"NODE":l.Bun&&typeof Bun.version=="string"?"BUN":l.Deno&&typeof Deno.version=="object"?"DENO":v(l.process)==="process"?"NODE":l.window&&l.document?"BROWSER":"REST"}()},85749:function(d,S,n){"use strict";var l=n(9998),f=n(21477).f,v=n(72475),g=n(16576),y=n(11910),T=n(23131),x=n(68154);d.exports=function(b,C){var A=b.target,R=b.global,P=b.stat,M,I,w,F,Y,j;if(R?I=l:P?I=l[A]||y(A,{}):I=l[A]&&l[A].prototype,I)for(w in C){if(Y=C[w],b.dontCallGetSet?(j=f(I,w),F=j&&j.value):F=I[w],M=x(R?w:A+(P?".":"#")+w,b.forced),!M&&F!==void 0){if(typeof Y==typeof F)continue;T(Y,F)}(b.sham||F&&F.sham)&&v(Y,"sham",!0),g(I,w,Y,b)}}},88139:function(d){"use strict";d.exports=function(S){try{return!!S()}catch(n){return!0}}},81448:function(d,S,n){"use strict";n(7701);var l=n(74695),f=n(16576),v=n(74106),g=n(88139),y=n(14049),T=n(72475),x=y("species"),b=RegExp.prototype;d.exports=function(C,A,R,P){var M=y(C),I=!g(function(){var j={};return j[M]=function(){return 7},""[C](j)!==7}),w=I&&!g(function(){var j=!1,B=/a/;return C==="split"&&(B={},B.constructor={},B.constructor[x]=function(){return B},B.flags="",B[M]=/./[M]),B.exec=function(){return j=!0,null},B[M](""),!j});if(!I||!w||R){var F=/./[M],Y=A(M,""[C],function(j,B,$,X,Q){var _=B.exec;return _===v||_===b.exec?I&&!Q?{done:!0,value:l(F,B,$,X)}:{done:!0,value:l(j,$,B,X)}:{done:!1}});f(String.prototype,C,Y[0]),f(b,M,Y[1])}P&&T(b[M],"sham",!0)}},11973:function(d,S,n){"use strict";var l=n(95139),f=Function.prototype,v=f.apply,g=f.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(l?g.bind(v):function(){return g.apply(v,arguments)})},74766:function(d,S,n){"use strict";var l=n(53168),f=n(38785),v=n(95139),g=l(l.bind);d.exports=function(y,T){return f(y),T===void 0?y:v?g(y,T):function(){return y.apply(T,arguments)}}},95139:function(d,S,n){"use strict";var l=n(88139);d.exports=!l(function(){var f=function(){}.bind();return typeof f!="function"||f.hasOwnProperty("prototype")})},74695:function(d,S,n){"use strict";var l=n(95139),f=Function.prototype.call;d.exports=l?f.bind(f):function(){return f.apply(f,arguments)}},27391:function(d,S,n){"use strict";var l=n(335),f=n(8885),v=Function.prototype,g=l&&Object.getOwnPropertyDescriptor,y=f(v,"name"),T=y&&function(){}.name==="something",x=y&&(!l||l&&g(v,"name").configurable);d.exports={EXISTS:y,PROPER:T,CONFIGURABLE:x}},45550:function(d,S,n){"use strict";var l=n(53781),f=n(38785);d.exports=function(v,g,y){try{return l(f(Object.getOwnPropertyDescriptor(v,g)[y]))}catch(T){}}},53168:function(d,S,n){"use strict";var l=n(76024),f=n(53781);d.exports=function(v){if(l(v)==="Function")return f(v)}},53781:function(d,S,n){"use strict";var l=n(95139),f=Function.prototype,v=f.call,g=l&&f.bind.bind(v,v);d.exports=l?g:function(y){return function(){return v.apply(y,arguments)}}},97740:function(d,S,n){"use strict";var l=n(9998),f=n(94826),v=function(g){return f(g)?g:void 0};d.exports=function(g,y){return arguments.length<2?v(l[g]):l[g]&&l[g][y]}},55945:function(d,S,n){"use strict";var l=n(93144),f=n(61219),v=n(35779),g=n(4129),y=n(14049),T=y("iterator");d.exports=function(x){if(!v(x))return f(x,T)||f(x,"@@iterator")||g[l(x)]}},52189:function(d,S,n){"use strict";var l=n(74695),f=n(38785),v=n(90254),g=n(76370),y=n(55945),T=TypeError;d.exports=function(x,b){var C=arguments.length<2?y(x):b;if(f(C))return v(l(C,x));throw new T(g(x)+" is not iterable")}},61219:function(d,S,n){"use strict";var l=n(38785),f=n(35779);d.exports=function(v,g){var y=v[g];return f(y)?void 0:l(y)}},91450:function(d,S,n){"use strict";var l=n(53781),f=n(25084),v=Math.floor,g=l("".charAt),y=l("".replace),T=l("".slice),x=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b=/\$([$&'`]|\d{1,2})/g;d.exports=function(C,A,R,P,M,I){var w=R+C.length,F=P.length,Y=b;return M!==void 0&&(M=f(M),Y=x),y(I,Y,function(j,B){var $;switch(g(B,0)){case"$":return"$";case"&":return C;case"`":return T(A,0,R);case"'":return T(A,w);case"<":$=M[T(B,1,-1)];break;default:var X=+B;if(X===0)return j;if(X>F){var Q=v(X/10);return Q===0?j:Q<=F?P[Q-1]===void 0?g(B,1):P[Q-1]+g(B,1):j}$=P[X-1]}return $===void 0?"":$})}},9998:function(d,S,n){"use strict";var l=function(f){return f&&f.Math===Math&&f};d.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof n.g=="object"&&n.g)||l(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},8885:function(d,S,n){"use strict";var l=n(53781),f=n(25084),v=l({}.hasOwnProperty);d.exports=Object.hasOwn||function(y,T){return v(f(y),T)}},36639:function(d){"use strict";d.exports={}},43747:function(d){"use strict";d.exports=function(S,n){try{arguments.length===1?console.error(S):console.error(S,n)}catch(l){}}},58625:function(d,S,n){"use strict";var l=n(97740);d.exports=l("document","documentElement")},93773:function(d,S,n){"use strict";var l=n(335),f=n(88139),v=n(26514);d.exports=!l&&!f(function(){return Object.defineProperty(v("div"),"a",{get:function(){return 7}}).a!==7})},99905:function(d,S,n){"use strict";var l=n(53781),f=n(88139),v=n(76024),g=Object,y=l("".split);d.exports=f(function(){return!g("z").propertyIsEnumerable(0)})?function(T){return v(T)==="String"?y(T,""):g(T)}:g},57232:function(d,S,n){"use strict";var l=n(53781),f=n(94826),v=n(1875),g=l(Function.toString);f(v.inspectSource)||(v.inspectSource=function(y){return g(y)}),d.exports=v.inspectSource},82066:function(d,S,n){"use strict";var l=n(40735),f=n(9998),v=n(37200),g=n(72475),y=n(8885),T=n(1875),x=n(42830),b=n(36639),C="Object already initialized",A=f.TypeError,R=f.WeakMap,P,M,I,w=function(B){return I(B)?M(B):P(B,{})},F=function(B){return function($){var X;if(!v($)||(X=M($)).type!==B)throw new A("Incompatible receiver, "+B+" required");return X}};if(l||T.state){var Y=T.state||(T.state=new R);Y.get=Y.get,Y.has=Y.has,Y.set=Y.set,P=function(B,$){if(Y.has(B))throw new A(C);return $.facade=B,Y.set(B,$),$},M=function(B){return Y.get(B)||{}},I=function(B){return Y.has(B)}}else{var j=x("state");b[j]=!0,P=function(B,$){if(y(B,j))throw new A(C);return $.facade=B,g(B,j,$),$},M=function(B){return y(B,j)?B[j]:{}},I=function(B){return y(B,j)}}d.exports={set:P,get:M,has:I,enforce:w,getterFor:F}},94323:function(d,S,n){"use strict";var l=n(14049),f=n(4129),v=l("iterator"),g=Array.prototype;d.exports=function(y){return y!==void 0&&(f.Array===y||g[v]===y)}},30173:function(d,S,n){"use strict";var l=n(76024);d.exports=Array.isArray||function(v){return l(v)==="Array"}},94826:function(d){"use strict";var S=typeof document=="object"&&document.all;d.exports=typeof S=="undefined"&&S!==void 0?function(n){return typeof n=="function"||n===S}:function(n){return typeof n=="function"}},99424:function(d,S,n){"use strict";var l=n(53781),f=n(88139),v=n(94826),g=n(93144),y=n(97740),T=n(57232),x=function(){},b=y("Reflect","construct"),C=/^\s*(?:class|function)\b/,A=l(C.exec),R=!C.test(x),P=function(w){if(!v(w))return!1;try{return b(x,[],w),!0}catch(F){return!1}},M=function(w){if(!v(w))return!1;switch(g(w)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return R||!!A(C,T(w))}catch(F){return!0}};M.sham=!0,d.exports=!b||f(function(){var I;return P(P.call)||!P(Object)||!P(function(){I=!0})||I})?M:P},68154:function(d,S,n){"use strict";var l=n(88139),f=n(94826),v=/#|\.prototype\./,g=function(C,A){var R=T[y(C)];return R===b?!0:R===x?!1:f(A)?l(A):!!A},y=g.normalize=function(C){return String(C).replace(v,".").toLowerCase()},T=g.data={},x=g.NATIVE="N",b=g.POLYFILL="P";d.exports=g},35779:function(d){"use strict";d.exports=function(S){return S==null}},37200:function(d,S,n){"use strict";var l=n(94826);d.exports=function(f){return typeof f=="object"?f!==null:l(f)}},25372:function(d,S,n){"use strict";var l=n(37200);d.exports=function(f){return l(f)||f===null}},37151:function(d){"use strict";d.exports=!1},39594:function(d,S,n){"use strict";var l=n(37200),f=n(76024),v=n(14049),g=v("match");d.exports=function(y){var T;return l(y)&&((T=y[g])!==void 0?!!T:f(y)==="RegExp")}},17153:function(d,S,n){"use strict";var l=n(97740),f=n(94826),v=n(13771),g=n(9646),y=Object;d.exports=g?function(T){return typeof T=="symbol"}:function(T){var x=l("Symbol");return f(x)&&v(x.prototype,y(T))}},46337:function(d,S,n){"use strict";var l=n(74766),f=n(74695),v=n(90254),g=n(76370),y=n(94323),T=n(98424),x=n(13771),b=n(52189),C=n(55945),A=n(68150),R=TypeError,P=function(I,w){this.stopped=I,this.result=w},M=P.prototype;d.exports=function(I,w,F){var Y=F&&F.that,j=!!(F&&F.AS_ENTRIES),B=!!(F&&F.IS_RECORD),$=!!(F&&F.IS_ITERATOR),X=!!(F&&F.INTERRUPTED),Q=l(w,Y),_,k,lt,tt,et,st,ot,yt=function(J){return _&&A(_,"normal"),new P(!0,J)},Z=function(J){return j?(v(J),X?Q(J[0],J[1],yt):Q(J[0],J[1])):X?Q(J,yt):Q(J)};if(B)_=I.iterator;else if($)_=I;else{if(k=C(I),!k)throw new R(g(I)+" is not iterable");if(y(k)){for(lt=0,tt=T(I);tt>lt;lt++)if(et=Z(I[lt]),et&&x(M,et))return et;return new P(!1)}_=b(I,k)}for(st=B?I.next:_.next;!(ot=f(st,_)).done;){try{et=Z(ot.value)}catch(J){A(_,"throw",J)}if(typeof et=="object"&&et&&x(M,et))return et}return new P(!1)}},68150:function(d,S,n){"use strict";var l=n(74695),f=n(90254),v=n(61219);d.exports=function(g,y,T){var x,b;f(g);try{if(x=v(g,"return"),!x){if(y==="throw")throw T;return T}x=l(x,g)}catch(C){b=!0,x=C}if(y==="throw")throw T;if(b)throw x;return f(x),T}},90860:function(d,S,n){"use strict";var l=n(85265).IteratorPrototype,f=n(8282),v=n(88241),g=n(26330),y=n(4129),T=function(){return this};d.exports=function(x,b,C,A){var R=b+" Iterator";return x.prototype=f(l,{next:v(+!A,C)}),g(x,R,!1,!0),y[R]=T,x}},81622:function(d,S,n){"use strict";var l=n(85749),f=n(74695),v=n(37151),g=n(27391),y=n(94826),T=n(90860),x=n(3575),b=n(52955),C=n(26330),A=n(72475),R=n(16576),P=n(14049),M=n(4129),I=n(85265),w=g.PROPER,F=g.CONFIGURABLE,Y=I.IteratorPrototype,j=I.BUGGY_SAFARI_ITERATORS,B=P("iterator"),$="keys",X="values",Q="entries",_=function(){return this};d.exports=function(k,lt,tt,et,st,ot,yt){T(tt,lt,et);var Z=function(Vt){if(Vt===st&&ht)return ht;if(!j&&Vt&&Vt in mt)return mt[Vt];switch(Vt){case $:return function(){return new tt(this,Vt)};case X:return function(){return new tt(this,Vt)};case Q:return function(){return new tt(this,Vt)}}return function(){return new tt(this)}},J=lt+" Iterator",wt=!1,mt=k.prototype,ut=mt[B]||mt["@@iterator"]||st&&mt[st],ht=!j&&ut||Z(st),N=lt==="Array"&&mt.entries||ut,ft,Ut,At;if(N&&(ft=x(N.call(new k)),ft!==Object.prototype&&ft.next&&(!v&&x(ft)!==Y&&(b?b(ft,Y):y(ft[B])||R(ft,B,_)),C(ft,J,!0,!0),v&&(M[J]=_))),w&&st===X&&ut&&ut.name!==X&&(!v&&F?A(mt,"name",X):(wt=!0,ht=function(){return f(ut,this)})),st)if(Ut={values:Z(X),keys:ot?ht:Z($),entries:Z(Q)},yt)for(At in Ut)(j||wt||!(At in mt))&&R(mt,At,Ut[At]);else l({target:lt,proto:!0,forced:j||wt},Ut);return(!v||yt)&&mt[B]!==ht&&R(mt,B,ht,{name:st}),M[lt]=ht,Ut}},85265:function(d,S,n){"use strict";var l=n(88139),f=n(94826),v=n(37200),g=n(8282),y=n(3575),T=n(16576),x=n(14049),b=n(37151),C=x("iterator"),A=!1,R,P,M;[].keys&&(M=[].keys(),"next"in M?(P=y(y(M)),P!==Object.prototype&&(R=P)):A=!0);var I=!v(R)||l(function(){var w={};return R[C].call(w)!==w});I?R={}:b&&(R=g(R)),f(R[C])||T(R,C,function(){return this}),d.exports={IteratorPrototype:R,BUGGY_SAFARI_ITERATORS:A}},4129:function(d){"use strict";d.exports={}},98424:function(d,S,n){"use strict";var l=n(92564);d.exports=function(f){return l(f.length)}},48382:function(d,S,n){"use strict";var l=n(53781),f=n(88139),v=n(94826),g=n(8885),y=n(335),T=n(27391).CONFIGURABLE,x=n(57232),b=n(82066),C=b.enforce,A=b.get,R=String,P=Object.defineProperty,M=l("".slice),I=l("".replace),w=l([].join),F=y&&!f(function(){return P(function(){},"length",{value:8}).length!==8}),Y=String(String).split("String"),j=d.exports=function(B,$,X){M(R($),0,7)==="Symbol("&&($="["+I(R($),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),X&&X.getter&&($="get "+$),X&&X.setter&&($="set "+$),(!g(B,"name")||T&&B.name!==$)&&(y?P(B,"name",{value:$,configurable:!0}):B.name=$),F&&X&&g(X,"arity")&&B.length!==X.arity&&P(B,"length",{value:X.arity});try{X&&g(X,"constructor")&&X.constructor?y&&P(B,"prototype",{writable:!1}):B.prototype&&(B.prototype=void 0)}catch(_){}var Q=C(B);return g(Q,"source")||(Q.source=w(Y,typeof $=="string"?$:"")),B};Function.prototype.toString=j(function(){return v(this)&&A(this).source||x(this)},"toString")},89699:function(d){"use strict";var S=Math.ceil,n=Math.floor;d.exports=Math.trunc||function(f){var v=+f;return(v>0?n:S)(v)}},43492:function(d,S,n){"use strict";var l=n(9998),f=n(84632),v=n(74766),g=n(50402).set,y=n(56532),T=n(79334),x=n(48321),b=n(39009),C=n(51045),A=l.MutationObserver||l.WebKitMutationObserver,R=l.document,P=l.process,M=l.Promise,I=f("queueMicrotask"),w,F,Y,j,B;if(!I){var $=new y,X=function(){var Q,_;for(C&&(Q=P.domain)&&Q.exit();_=$.get();)try{_()}catch(k){throw $.head&&w(),k}Q&&Q.enter()};!T&&!C&&!b&&A&&R?(F=!0,Y=R.createTextNode(""),new A(X).observe(Y,{characterData:!0}),w=function(){Y.data=F=!F}):!x&&M&&M.resolve?(j=M.resolve(void 0),j.constructor=M,B=v(j.then,j),w=function(){B(X)}):C?w=function(){P.nextTick(X)}:(g=v(g,l),w=function(){g(X)}),I=function(Q){$.head||w(),$.add(Q)}}d.exports=I},18001:function(d,S,n){"use strict";var l=n(38785),f=TypeError,v=function(g){var y,T;this.promise=new g(function(x,b){if(y!==void 0||T!==void 0)throw new f("Bad Promise constructor");y=x,T=b}),this.resolve=l(y),this.reject=l(T)};d.exports.f=function(g){return new v(g)}},43211:function(d,S,n){"use strict";var l=n(39594),f=TypeError;d.exports=function(v){if(l(v))throw new f("The method doesn't accept regular expressions");return v}},8282:function(d,S,n){"use strict";var l=n(90254),f=n(42557),v=n(7789),g=n(36639),y=n(58625),T=n(26514),x=n(42830),b=">",C="<",A="prototype",R="script",P=x("IE_PROTO"),M=function(){},I=function(B){return C+R+b+B+C+"/"+R+b},w=function(B){B.write(I("")),B.close();var $=B.parentWindow.Object;return B=null,$},F=function(){var B=T("iframe"),$="java"+R+":",X;return B.style.display="none",y.appendChild(B),B.src=String($),X=B.contentWindow.document,X.open(),X.write(I("document.F=Object")),X.close(),X.F},Y,j=function(){try{Y=new ActiveXObject("htmlfile")}catch($){}j=typeof document!="undefined"?document.domain&&Y?w(Y):F():w(Y);for(var B=v.length;B--;)delete j[A][v[B]];return j()};g[P]=!0,d.exports=Object.create||function($,X){var Q;return $!==null?(M[A]=l($),Q=new M,M[A]=null,Q[P]=$):Q=j(),X===void 0?Q:f.f(Q,X)}},42557:function(d,S,n){"use strict";var l=n(335),f=n(78588),v=n(41026),g=n(90254),y=n(68581),T=n(52758);S.f=l&&!f?Object.defineProperties:function(b,C){g(b);for(var A=y(C),R=T(C),P=R.length,M=0,I;P>M;)v.f(b,I=R[M++],A[I]);return b}},41026:function(d,S,n){"use strict";var l=n(335),f=n(93773),v=n(78588),g=n(90254),y=n(36261),T=TypeError,x=Object.defineProperty,b=Object.getOwnPropertyDescriptor,C="enumerable",A="configurable",R="writable";S.f=l?v?function(M,I,w){if(g(M),I=y(I),g(w),typeof M=="function"&&I==="prototype"&&"value"in w&&R in w&&!w[R]){var F=b(M,I);F&&F[R]&&(M[I]=w.value,w={configurable:A in w?w[A]:F[A],enumerable:C in w?w[C]:F[C],writable:!1})}return x(M,I,w)}:x:function(M,I,w){if(g(M),I=y(I),g(w),f)try{return x(M,I,w)}catch(F){}if("get"in w||"set"in w)throw new T("Accessors not supported");return"value"in w&&(M[I]=w.value),M}},21477:function(d,S,n){"use strict";var l=n(335),f=n(74695),v=n(78892),g=n(88241),y=n(68581),T=n(36261),x=n(8885),b=n(93773),C=Object.getOwnPropertyDescriptor;S.f=l?C:function(R,P){if(R=y(R),P=T(P),b)try{return C(R,P)}catch(M){}if(x(R,P))return g(!f(v.f,R,P),R[P])}},21792:function(d,S,n){"use strict";var l=n(8957),f=n(7789),v=f.concat("length","prototype");S.f=Object.getOwnPropertyNames||function(y){return l(y,v)}},28961:function(d,S){"use strict";S.f=Object.getOwnPropertySymbols},3575:function(d,S,n){"use strict";var l=n(8885),f=n(94826),v=n(25084),g=n(42830),y=n(38978),T=g("IE_PROTO"),x=Object,b=x.prototype;d.exports=y?x.getPrototypeOf:function(C){var A=v(C);if(l(A,T))return A[T];var R=A.constructor;return f(R)&&A instanceof R?R.prototype:A instanceof x?b:null}},13771:function(d,S,n){"use strict";var l=n(53781);d.exports=l({}.isPrototypeOf)},8957:function(d,S,n){"use strict";var l=n(53781),f=n(8885),v=n(68581),g=n(55138).indexOf,y=n(36639),T=l([].push);d.exports=function(x,b){var C=v(x),A=0,R=[],P;for(P in C)!f(y,P)&&f(C,P)&&T(R,P);for(;b.length>A;)f(C,P=b[A++])&&(~g(R,P)||T(R,P));return R}},52758:function(d,S,n){"use strict";var l=n(8957),f=n(7789);d.exports=Object.keys||function(g){return l(g,f)}},78892:function(d,S){"use strict";var n={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,f=l&&!n.call({1:2},1);S.f=f?function(g){var y=l(this,g);return!!y&&y.enumerable}:n},52955:function(d,S,n){"use strict";var l=n(45550),f=n(37200),v=n(94148),g=n(19502);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y=!1,T={},x;try{x=l(Object.prototype,"__proto__","set"),x(T,[]),y=T instanceof Array}catch(b){}return function(C,A){return v(C),g(A),f(C)&&(y?x(C,A):C.__proto__=A),C}}():void 0)},596:function(d,S,n){"use strict";var l=n(74695),f=n(94826),v=n(37200),g=TypeError;d.exports=function(y,T){var x,b;if(T==="string"&&f(x=y.toString)&&!v(b=l(x,y))||f(x=y.valueOf)&&!v(b=l(x,y))||T!=="string"&&f(x=y.toString)&&!v(b=l(x,y)))return b;throw new g("Can't convert object to primitive value")}},25371:function(d,S,n){"use strict";var l=n(97740),f=n(53781),v=n(21792),g=n(28961),y=n(90254),T=f([].concat);d.exports=l("Reflect","ownKeys")||function(b){var C=v.f(y(b)),A=g.f;return A?T(C,A(b)):C}},62958:function(d,S,n){"use strict";var l=n(9998);d.exports=l},18419:function(d){"use strict";d.exports=function(S){try{return{error:!1,value:S()}}catch(n){return{error:!0,value:n}}}},36446:function(d,S,n){"use strict";var l=n(9998),f=n(41467),v=n(94826),g=n(68154),y=n(57232),T=n(14049),x=n(69326),b=n(37151),C=n(94251),A=f&&f.prototype,R=T("species"),P=!1,M=v(l.PromiseRejectionEvent),I=g("Promise",function(){var w=y(f),F=w!==String(f);if(!F&&C===66||b&&!(A.catch&&A.finally))return!0;if(!C||C<51||!/native code/.test(w)){var Y=new f(function($){$(1)}),j=function($){$(function(){},function(){})},B=Y.constructor={};if(B[R]=j,P=Y.then(function(){})instanceof j,!P)return!0}return!F&&(x==="BROWSER"||x==="DENO")&&!M});d.exports={CONSTRUCTOR:I,REJECTION_EVENT:M,SUBCLASSING:P}},41467:function(d,S,n){"use strict";var l=n(9998);d.exports=l.Promise},94881:function(d,S,n){"use strict";var l=n(90254),f=n(37200),v=n(18001);d.exports=function(g,y){if(l(g),f(y)&&y.constructor===g)return y;var T=v.f(g),x=T.resolve;return x(y),T.promise}},58094:function(d,S,n){"use strict";var l=n(41467),f=n(50595),v=n(36446).CONSTRUCTOR;d.exports=v||!f(function(g){l.all(g).then(void 0,function(){})})},56532:function(d){"use strict";var S=function(){this.head=null,this.tail=null};S.prototype={add:function(n){var l={item:n,next:null},f=this.tail;f?f.next=l:this.head=l,this.tail=l},get:function(){var n=this.head;if(n){var l=this.head=n.next;return l===null&&(this.tail=null),n.item}}},d.exports=S},65644:function(d,S,n){"use strict";var l=n(74695),f=n(90254),v=n(94826),g=n(76024),y=n(74106),T=TypeError;d.exports=function(x,b){var C=x.exec;if(v(C)){var A=l(C,x,b);return A!==null&&f(A),A}if(g(x)==="RegExp")return l(y,x,b);throw new T("RegExp#exec called on incompatible receiver")}},74106:function(d,S,n){"use strict";var l=n(74695),f=n(53781),v=n(22293),g=n(1116),y=n(25842),T=n(31751),x=n(8282),b=n(82066).get,C=n(36915),A=n(4472),R=T("native-string-replace",String.prototype.replace),P=RegExp.prototype.exec,M=P,I=f("".charAt),w=f("".indexOf),F=f("".replace),Y=f("".slice),j=function(){var Q=/a/,_=/b*/g;return l(P,Q,"a"),l(P,_,"a"),Q.lastIndex!==0||_.lastIndex!==0}(),B=y.BROKEN_CARET,$=/()??/.exec("")[1]!==void 0,X=j||$||B||C||A;X&&(M=function(_){var k=this,lt=b(k),tt=v(_),et=lt.raw,st,ot,yt,Z,J,wt,mt;if(et)return et.lastIndex=k.lastIndex,st=l(M,et,tt),k.lastIndex=et.lastIndex,st;var ut=lt.groups,ht=B&&k.sticky,N=l(g,k),ft=k.source,Ut=0,At=tt;if(ht&&(N=F(N,"y",""),w(N,"g")===-1&&(N+="g"),At=Y(tt,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&I(tt,k.lastIndex-1)!==` -`)&&(ft="(?: "+ft+")",At=" "+At,Ut++),ot=new RegExp("^(?:"+ft+")",N)),$&&(ot=new RegExp("^"+ft+"$(?!\\s)",N)),j&&(yt=k.lastIndex),Z=l(P,ht?ot:k,At),ht?Z?(Z.input=Y(Z.input,Ut),Z[0]=Y(Z[0],Ut),Z.index=k.lastIndex,k.lastIndex+=Z[0].length):k.lastIndex=0:j&&Z&&(k.lastIndex=k.global?Z.index+Z[0].length:yt),$&&Z&&Z.length>1&&l(R,Z[0],ot,function(){for(J=1;Jb)","g");return g.exec("b").groups.a!=="b"||"b".replace(g,"$c")!=="bc"})},94148:function(d,S,n){"use strict";var l=n(35779),f=TypeError;d.exports=function(v){if(l(v))throw new f("Can't call method on "+v);return v}},84632:function(d,S,n){"use strict";var l=n(9998),f=n(335),v=Object.getOwnPropertyDescriptor;d.exports=function(g){if(!f)return l[g];var y=v(l,g);return y&&y.value}},61468:function(d,S,n){"use strict";var l=n(97740),f=n(14193),v=n(14049),g=n(335),y=v("species");d.exports=function(T){var x=l(T);g&&x&&!x[y]&&f(x,y,{configurable:!0,get:function(){return this}})}},26330:function(d,S,n){"use strict";var l=n(41026).f,f=n(8885),v=n(14049),g=v("toStringTag");d.exports=function(y,T,x){y&&!x&&(y=y.prototype),y&&!f(y,g)&&l(y,g,{configurable:!0,value:T})}},42830:function(d,S,n){"use strict";var l=n(31751),f=n(59831),v=l("keys");d.exports=function(g){return v[g]||(v[g]=f(g))}},1875:function(d,S,n){"use strict";var l=n(37151),f=n(9998),v=n(11910),g="__core-js_shared__",y=d.exports=f[g]||v(g,{});(y.versions||(y.versions=[])).push({version:"3.46.0",mode:l?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},31751:function(d,S,n){"use strict";var l=n(1875);d.exports=function(f,v){return l[f]||(l[f]=v||{})}},97855:function(d,S,n){"use strict";var l=n(90254),f=n(31678),v=n(35779),g=n(14049),y=g("species");d.exports=function(T,x){var b=l(T).constructor,C;return b===void 0||v(C=l(b)[y])?x:f(C)}},60903:function(d,S,n){"use strict";var l=n(53781),f=n(94257),v=n(22293),g=n(94148),y=l("".charAt),T=l("".charCodeAt),x=l("".slice),b=function(C){return function(A,R){var P=v(g(A)),M=f(R),I=P.length,w,F;return M<0||M>=I?C?"":void 0:(w=T(P,M),w<55296||w>56319||M+1===I||(F=T(P,M+1))<56320||F>57343?C?y(P,M):w:C?x(P,M,M+2):(w-55296<<10)+(F-56320)+65536)}};d.exports={codeAt:b(!1),charAt:b(!0)}},95930:function(d,S,n){"use strict";var l=n(27391).PROPER,f=n(88139),v=n(42583),g="\u200B\x85\u180E";d.exports=function(y){return f(function(){return!!v[y]()||g[y]()!==g||l&&v[y].name!==y})}},19074:function(d,S,n){"use strict";var l=n(53781),f=n(94148),v=n(22293),g=n(42583),y=l("".replace),T=RegExp("^["+g+"]+"),x=RegExp("(^|[^"+g+"])["+g+"]+$"),b=function(C){return function(A){var R=v(f(A));return C&1&&(R=y(R,T,"")),C&2&&(R=y(R,x,"$1")),R}};d.exports={start:b(1),end:b(2),trim:b(3)}},73737:function(d,S,n){"use strict";var l=n(94251),f=n(88139),v=n(9998),g=v.String;d.exports=!!Object.getOwnPropertySymbols&&!f(function(){var y=Symbol("symbol detection");return!g(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&l&&l<41})},50402:function(d,S,n){"use strict";var l=n(9998),f=n(11973),v=n(74766),g=n(94826),y=n(8885),T=n(88139),x=n(58625),b=n(3763),C=n(26514),A=n(29753),R=n(79334),P=n(51045),M=l.setImmediate,I=l.clearImmediate,w=l.process,F=l.Dispatch,Y=l.Function,j=l.MessageChannel,B=l.String,$=0,X={},Q="onreadystatechange",_,k,lt,tt;T(function(){_=l.location});var et=function(Z){if(y(X,Z)){var J=X[Z];delete X[Z],J()}},st=function(Z){return function(){et(Z)}},ot=function(Z){et(Z.data)},yt=function(Z){l.postMessage(B(Z),_.protocol+"//"+_.host)};(!M||!I)&&(M=function(J){A(arguments.length,1);var wt=g(J)?J:Y(J),mt=b(arguments,1);return X[++$]=function(){f(wt,void 0,mt)},k($),$},I=function(J){delete X[J]},P?k=function(Z){w.nextTick(st(Z))}:F&&F.now?k=function(Z){F.now(st(Z))}:j&&!R?(lt=new j,tt=lt.port2,lt.port1.onmessage=ot,k=v(tt.postMessage,tt)):l.addEventListener&&g(l.postMessage)&&!l.importScripts&&_&&_.protocol!=="file:"&&!T(yt)?(k=yt,l.addEventListener("message",ot,!1)):Q in C("script")?k=function(Z){x.appendChild(C("script"))[Q]=function(){x.removeChild(this),et(Z)}}:k=function(Z){setTimeout(st(Z),0)}),d.exports={set:M,clear:I}},65192:function(d,S,n){"use strict";var l=n(94257),f=Math.max,v=Math.min;d.exports=function(g,y){var T=l(g);return T<0?f(T+y,0):v(T,y)}},68581:function(d,S,n){"use strict";var l=n(99905),f=n(94148);d.exports=function(v){return l(f(v))}},94257:function(d,S,n){"use strict";var l=n(89699);d.exports=function(f){var v=+f;return v!==v||v===0?0:l(v)}},92564:function(d,S,n){"use strict";var l=n(94257),f=Math.min;d.exports=function(v){var g=l(v);return g>0?f(g,9007199254740991):0}},25084:function(d,S,n){"use strict";var l=n(94148),f=Object;d.exports=function(v){return f(l(v))}},21192:function(d,S,n){"use strict";var l=n(74695),f=n(37200),v=n(17153),g=n(61219),y=n(596),T=n(14049),x=TypeError,b=T("toPrimitive");d.exports=function(C,A){if(!f(C)||v(C))return C;var R=g(C,b),P;if(R){if(A===void 0&&(A="default"),P=l(R,C,A),!f(P)||v(P))return P;throw new x("Can't convert object to primitive value")}return A===void 0&&(A="number"),y(C,A)}},36261:function(d,S,n){"use strict";var l=n(21192),f=n(17153);d.exports=function(v){var g=l(v,"string");return f(g)?g:g+""}},13475:function(d,S,n){"use strict";var l=n(14049),f=l("toStringTag"),v={};v[f]="z",d.exports=String(v)==="[object z]"},22293:function(d,S,n){"use strict";var l=n(93144),f=String;d.exports=function(v){if(l(v)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return f(v)}},76370:function(d){"use strict";var S=String;d.exports=function(n){try{return S(n)}catch(l){return"Object"}}},59831:function(d,S,n){"use strict";var l=n(53781),f=0,v=Math.random(),g=l(1.1.toString);d.exports=function(y){return"Symbol("+(y===void 0?"":y)+")_"+g(++f+v,36)}},9646:function(d,S,n){"use strict";var l=n(73737);d.exports=l&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},78588:function(d,S,n){"use strict";var l=n(335),f=n(88139);d.exports=l&&f(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},29753:function(d){"use strict";var S=TypeError;d.exports=function(n,l){if(n1?arguments[1]:void 0;return T?y(this,C,A)||0:v(this,C,A)}})},43339:function(d,S,n){"use strict";var l=n(68581),f=n(39449),v=n(4129),g=n(82066),y=n(41026).f,T=n(81622),x=n(96746),b=n(37151),C=n(335),A="Array Iterator",R=g.set,P=g.getterFor(A);d.exports=T(Array,"Array",function(I,w){R(this,{type:A,target:l(I),index:0,kind:w})},function(){var I=P(this),w=I.target,F=I.index++;if(!w||F>=w.length)return I.target=null,x(void 0,!0);switch(I.kind){case"keys":return x(F,!1);case"values":return x(w[F],!1)}return x([F,w[F]],!1)},"values");var M=v.Arguments=v.Array;if(f("keys"),f("values"),f("entries"),!b&&C&&M.name!=="values")try{y(M,"name",{value:"values"})}catch(I){}},79590:function(d,S,n){"use strict";var l=n(85749),f=n(71713).left,v=n(67207),g=n(94251),y=n(51045),T=!y&&g>79&&g<83,x=T||!v("reduce");l({target:"Array",proto:!0,forced:x},{reduce:function(C){var A=arguments.length;return f(this,C,A,A>1?arguments[1]:void 0)}})},25305:function(d,S,n){"use strict";var l=n(85749),f=n(53781),v=n(30173),g=f([].reverse),y=[1,2];l({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return v(this)&&(this.length=this.length),g(this)}})},465:function(d,S,n){"use strict";var l=n(85749),f=n(74695),v=n(38785),g=n(18001),y=n(18419),T=n(46337),x=n(58094);l({target:"Promise",stat:!0,forced:x},{all:function(C){var A=this,R=g.f(A),P=R.resolve,M=R.reject,I=y(function(){var w=v(A.resolve),F=[],Y=0,j=1;T(C,function(B){var $=Y++,X=!1;j++,f(w,A,B).then(function(Q){X||(X=!0,F[$]=Q,--j||P(F))},M)}),--j||P(F)});return I.error&&M(I.value),R.promise}})},20750:function(d,S,n){"use strict";var l=n(85749),f=n(37151),v=n(36446).CONSTRUCTOR,g=n(41467),y=n(97740),T=n(94826),x=n(16576),b=g&&g.prototype;if(l({target:"Promise",proto:!0,forced:v,real:!0},{catch:function(A){return this.then(void 0,A)}}),!f&&T(g)){var C=y("Promise").prototype.catch;b.catch!==C&&x(b,"catch",C,{unsafe:!0})}},13978:function(d,S,n){"use strict";var l=n(85749),f=n(37151),v=n(51045),g=n(9998),y=n(62958),T=n(74695),x=n(16576),b=n(52955),C=n(26330),A=n(61468),R=n(38785),P=n(94826),M=n(37200),I=n(80566),w=n(97855),F=n(50402).set,Y=n(43492),j=n(43747),B=n(18419),$=n(56532),X=n(82066),Q=n(41467),_=n(36446),k=n(18001),lt="Promise",tt=_.CONSTRUCTOR,et=_.REJECTION_EVENT,st=_.SUBCLASSING,ot=X.getterFor(lt),yt=X.set,Z=Q&&Q.prototype,J=Q,wt=Z,mt=g.TypeError,ut=g.document,ht=g.process,N=k.f,ft=N,Ut=!!(ut&&ut.createEvent&&g.dispatchEvent),At="unhandledrejection",Vt="rejectionhandled",qt=0,ie=1,Qt=2,le=1,he=2,_t,fe,ce,Zt,ve=function(W){var nt;return M(W)&&P(nt=W.then)?nt:!1},ge=function(W,nt){var gt=nt.value,dt=nt.state===ie,bt=dt?W.ok:W.fail,me=W.resolve,Le=W.reject,xe=W.domain,Ee,te,$e;try{bt?(dt||(nt.rejection===he&&Ze(nt),nt.rejection=le),bt===!0?Ee=gt:(xe&&xe.enter(),Ee=bt(gt),xe&&(xe.exit(),$e=!0)),Ee===W.promise?Le(new mt("Promise-chain cycle")):(te=ve(Ee))?T(te,Ee,me,Le):me(Ee)):Le(gt)}catch(ae){xe&&!$e&&xe.exit(),Le(ae)}},de=function(W,nt){W.notified||(W.notified=!0,Y(function(){for(var gt=W.reactions,dt;dt=gt.get();)ge(dt,W);W.notified=!1,nt&&!W.rejection&&Kt(W)}))},pe=function(W,nt,gt){var dt,bt;Ut?(dt=ut.createEvent("Event"),dt.promise=nt,dt.reason=gt,dt.initEvent(W,!1,!0),g.dispatchEvent(dt)):dt={promise:nt,reason:gt},!et&&(bt=g["on"+W])?bt(dt):W===At&&j("Unhandled promise rejection",gt)},Kt=function(W){T(F,g,function(){var nt=W.facade,gt=W.value,dt=ze(W),bt;if(dt&&(bt=B(function(){v?ht.emit("unhandledRejection",gt,nt):pe(At,nt,gt)}),W.rejection=v||ze(W)?he:le,bt.error))throw bt.value})},ze=function(W){return W.rejection!==le&&!W.parent},Ze=function(W){T(F,g,function(){var nt=W.facade;v?ht.emit("rejectionHandled",nt):pe(Vt,nt,W.value)})},It=function(W,nt,gt){return function(dt){W(nt,dt,gt)}},ye=function(W,nt,gt){W.done||(W.done=!0,gt&&(W=gt),W.value=nt,W.state=Qt,de(W,!0))},De=function(W,nt,gt){if(!W.done){W.done=!0,gt&&(W=gt);try{if(W.facade===nt)throw new mt("Promise can't be resolved itself");var dt=ve(nt);dt?Y(function(){var bt={done:!1};try{T(dt,nt,It(De,bt,W),It(ye,bt,W))}catch(me){ye(bt,me,W)}}):(W.value=nt,W.state=ie,de(W,!1))}catch(bt){ye({done:!1},bt,W)}}};if(tt&&(J=function(nt){I(this,wt),R(nt),T(_t,this);var gt=ot(this);try{nt(It(De,gt),It(ye,gt))}catch(dt){ye(gt,dt)}},wt=J.prototype,_t=function(nt){yt(this,{type:lt,done:!1,notified:!1,parent:!1,reactions:new $,rejection:!1,state:qt,value:null})},_t.prototype=x(wt,"then",function(nt,gt){var dt=ot(this),bt=N(w(this,J));return dt.parent=!0,bt.ok=P(nt)?nt:!0,bt.fail=P(gt)&>,bt.domain=v?ht.domain:void 0,dt.state===qt?dt.reactions.add(bt):Y(function(){ge(bt,dt)}),bt.promise}),fe=function(){var W=new _t,nt=ot(W);this.promise=W,this.resolve=It(De,nt),this.reject=It(ye,nt)},k.f=N=function(W){return W===J||W===ce?new fe(W):ft(W)},!f&&P(Q)&&Z!==Object.prototype)){Zt=Z.then,st||x(Z,"then",function(nt,gt){var dt=this;return new J(function(bt,me){T(Zt,dt,bt,me)}).then(nt,gt)},{unsafe:!0});try{delete Z.constructor}catch(W){}b&&b(Z,wt)}l({global:!0,constructor:!0,wrap:!0,forced:tt},{Promise:J}),ce=y.Promise,C(J,lt,!1,!0),A(lt)},36034:function(d,S,n){"use strict";n(13978),n(465),n(20750),n(32987),n(92376),n(99225)},32987:function(d,S,n){"use strict";var l=n(85749),f=n(74695),v=n(38785),g=n(18001),y=n(18419),T=n(46337),x=n(58094);l({target:"Promise",stat:!0,forced:x},{race:function(C){var A=this,R=g.f(A),P=R.reject,M=y(function(){var I=v(A.resolve);T(C,function(w){f(I,A,w).then(R.resolve,P)})});return M.error&&P(M.value),R.promise}})},92376:function(d,S,n){"use strict";var l=n(85749),f=n(18001),v=n(36446).CONSTRUCTOR;l({target:"Promise",stat:!0,forced:v},{reject:function(y){var T=f.f(this),x=T.reject;return x(y),T.promise}})},99225:function(d,S,n){"use strict";var l=n(85749),f=n(97740),v=n(37151),g=n(41467),y=n(36446).CONSTRUCTOR,T=n(94881),x=f("Promise"),b=v&&!y;l({target:"Promise",stat:!0,forced:v||y},{resolve:function(A){return T(b&&this===x?g:this,A)}})},7701:function(d,S,n){"use strict";var l=n(85749),f=n(74106);l({target:"RegExp",proto:!0,forced:/./.exec!==f},{exec:f})},19416:function(d,S,n){"use strict";var l=n(27391).PROPER,f=n(16576),v=n(90254),g=n(22293),y=n(88139),T=n(45407),x="toString",b=RegExp.prototype,C=b[x],A=y(function(){return C.call({source:"a",flags:"b"})!=="/a/b"}),R=l&&C.name!==x;(A||R)&&f(b,x,function(){var M=v(this),I=g(M.source),w=g(T(M));return"/"+I+"/"+w},{unsafe:!0})},24623:function(d,S,n){"use strict";var l=n(85749),f=n(53168),v=n(21477).f,g=n(92564),y=n(22293),T=n(43211),x=n(94148),b=n(46695),C=n(37151),A=f("".slice),R=Math.min,P=b("endsWith"),M=!C&&!P&&!!function(){var I=v(String.prototype,"endsWith");return I&&!I.writable}();l({target:"String",proto:!0,forced:!M&&!P},{endsWith:function(w){var F=y(x(this));T(w);var Y=arguments.length>1?arguments[1]:void 0,j=F.length,B=Y===void 0?j:R(g(Y),j),$=y(w);return A(F,B-$.length,B)===$}})},13158:function(d,S,n){"use strict";var l=n(85749),f=n(53781),v=n(43211),g=n(94148),y=n(22293),T=n(46695),x=f("".indexOf);l({target:"String",proto:!0,forced:!T("includes")},{includes:function(C){return!!~x(y(g(this)),y(v(C)),arguments.length>1?arguments[1]:void 0)}})},50370:function(d,S,n){"use strict";var l=n(74695),f=n(53781),v=n(81448),g=n(90254),y=n(37200),T=n(92564),x=n(22293),b=n(94148),C=n(61219),A=n(27451),R=n(45407),P=n(65644),M=f("".indexOf);v("match",function(I,w,F){return[function(j){var B=b(this),$=y(j)?C(j,I):void 0;return $?l($,j,B):new RegExp(j)[I](x(B))},function(Y){var j=g(this),B=x(Y),$=F(w,j,B);if($.done)return $.value;var X=x(R(j));if(M(X,"g")===-1)return P(j,B);var Q=M(X,"u")!==-1;j.lastIndex=0;for(var _=[],k=0,lt;(lt=P(j,B))!==null;){var tt=x(lt[0]);_[k]=tt,tt===""&&(j.lastIndex=A(B,T(j.lastIndex),Q)),k++}return k===0?null:_}]})},52675:function(d,S,n){"use strict";var l=n(11973),f=n(74695),v=n(53781),g=n(81448),y=n(88139),T=n(90254),x=n(94826),b=n(37200),C=n(94257),A=n(92564),R=n(22293),P=n(94148),M=n(27451),I=n(61219),w=n(91450),F=n(45407),Y=n(65644),j=n(14049),B=j("replace"),$=Math.max,X=Math.min,Q=v([].concat),_=v([].push),k=v("".indexOf),lt=v("".slice),tt=function(yt){return yt===void 0?yt:String(yt)},et=function(){return"a".replace(/./,"$0")==="$0"}(),st=function(){return/./[B]?/./[B]("a","$0")==="":!1}(),ot=!y(function(){var yt=/./;return yt.exec=function(){var Z=[];return Z.groups={a:"7"},Z},"".replace(yt,"$")!=="7"});g("replace",function(yt,Z,J){var wt=st?"$":"$0";return[function(ut,ht){var N=P(this),ft=b(ut)?I(ut,B):void 0;return ft?f(ft,ut,N,ht):f(Z,R(N),ut,ht)},function(mt,ut){var ht=T(this),N=R(mt);if(typeof ut=="string"&&k(ut,wt)===-1&&k(ut,"$<")===-1){var ft=J(Z,ht,N,ut);if(ft.done)return ft.value}var Ut=x(ut);Ut||(ut=R(ut));var At=R(F(ht)),Vt=k(At,"g")!==-1,qt;Vt&&(qt=k(At,"u")!==-1,ht.lastIndex=0);for(var ie=[],Qt;Qt=Y(ht,N),!(Qt===null||(_(ie,Qt),!Vt));){var le=R(Qt[0]);le===""&&(ht.lastIndex=M(N,A(ht.lastIndex),qt))}for(var he="",_t=0,fe=0;fe=_t&&(he+=lt(N,_t,Zt)+ge,_t=Zt+ce.length)}return he+lt(N,_t)}]},!ot||!et||st)},25811:function(d,S,n){"use strict";var l=n(74695),f=n(53781),v=n(81448),g=n(90254),y=n(37200),T=n(94148),x=n(97855),b=n(27451),C=n(92564),A=n(22293),R=n(61219),P=n(65644),M=n(25842),I=n(88139),w=M.UNSUPPORTED_Y,F=4294967295,Y=Math.min,j=f([].push),B=f("".slice),$=!I(function(){var Q=/(?:)/,_=Q.exec;Q.exec=function(){return _.apply(this,arguments)};var k="ab".split(Q);return k.length!==2||k[0]!=="a"||k[1]!=="b"}),X="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;v("split",function(Q,_,k){var lt="0".split(void 0,0).length?function(tt,et){return tt===void 0&&et===0?[]:l(_,this,tt,et)}:_;return[function(et,st){var ot=T(this),yt=y(et)?R(et,Q):void 0;return yt?l(yt,et,ot,st):l(lt,A(ot),et,st)},function(tt,et){var st=g(this),ot=A(tt);if(!X){var yt=k(lt,st,ot,et,lt!==_);if(yt.done)return yt.value}var Z=x(st,RegExp),J=st.unicode,wt=(st.ignoreCase?"i":"")+(st.multiline?"m":"")+(st.unicode?"u":"")+(w?"g":"y"),mt=new Z(w?"^(?:"+st.source+")":st,wt),ut=et===void 0?F:et>>>0;if(ut===0)return[];if(ot.length===0)return P(mt,ot)===null?[ot]:[];for(var ht=0,N=0,ft=[];N1?arguments[1]:void 0,F.length)),j=y(w);return A(F,Y,Y+j.length)===j}})},55494:function(d,S,n){"use strict";var l=n(85749),f=n(19074).trim,v=n(95930);l({target:"String",proto:!0,forced:v("trim")},{trim:function(){return f(this)}})},79991:function(d,S,n){"use strict";var l=n(9998),f=n(44188),v=n(72217),g=n(43339),y=n(72475),T=n(26330),x=n(14049),b=x("iterator"),C=g.values,A=function(P,M){if(P){if(P[b]!==C)try{y(P,b,C)}catch(w){P[b]=C}if(T(P,M,!0),f[M]){for(var I in g)if(P[I]!==g[I])try{y(P,I,g[I])}catch(w){P[I]=g[I]}}}};for(var R in f)A(l[R]&&l[R].prototype,R);A(v,"DOMTokenList")},63754:function(d,S,n){"use strict";n.r(S),n.d(S,{AElement:function(){return un},AnimateColorElement:function(){return en},AnimateElement:function(){return qe},AnimateTransformElement:function(){return rn},BoundingBox:function(){return kt},CB1:function(){return hr},CB2:function(){return fr},CB3:function(){return cr},CB4:function(){return vr},Canvg:function(){return Ne},CircleElement:function(){return Xr},ClipPathElement:function(){return pn},DefsElement:function(){return Jr},DescElement:function(){return On},Document:function(){return ue},Element:function(){return Ct},EllipseElement:function(){return Wr},FeColorMatrixElement:function(){return br},FeCompositeElement:function(){return xn},FeDropShadowElement:function(){return yn},FeGaussianBlurElement:function(){return En},FeMorphologyElement:function(){return mn},FilterElement:function(){return We},Font:function(){return zt},FontElement:function(){return nn},FontFaceElement:function(){return an},GElement:function(){return Je},GlyphElement:function(){return xr},GradientElement:function(){return Or},ImageElement:function(){return fn},LineElement:function(){return Qr},LinearGradientElement:function(){return qr},MarkerElement:function(){return kr},MaskElement:function(){return Xe},Matrix:function(){return yr},MissingGlyphElement:function(){return sn},Mouse:function(){return Br},PSEUDO_ZERO:function(){return ae},Parser:function(){return ke},PathElement:function(){return xt},PathParser:function(){return it},PatternElement:function(){return Kr},Point:function(){return Rt},PolygonElement:function(){return Zr},PolylineElement:function(){return Tr},Property:function(){return q},QB1:function(){return gr},QB2:function(){return dr},QB3:function(){return pr},RadialGradientElement:function(){return _r},RectElement:function(){return Er},RenderedElement:function(){return Oe},Rotate:function(){return Gr},SVGElement:function(){return Be},SVGFontLoader:function(){return vn},Scale:function(){return zr},Screen:function(){return He},Skew:function(){return mr},SkewX:function(){return $r},SkewY:function(){return Hr},StopElement:function(){return tn},StyleElement:function(){return Sr},SymbolElement:function(){return cn},TRefElement:function(){return on},TSpanElement:function(){return Ye},TextElement:function(){return se},TextPathElement:function(){return hn},TitleElement:function(){return Tn},Transform:function(){return Te},Translate:function(){return jr},UnknownElement:function(){return Yr},UseElement:function(){return gn},ViewPort:function(){return Lr},compressSpaces:function(){return Kt},default:function(){return Ne},getSelectorSpecificity:function(){return $e},normalizeAttributeName:function(){return De},normalizeColor:function(){return nt},parseExternalUrl:function(){return W},presets:function(){return pe},toNumbers:function(){return It},trimLeft:function(){return ze},trimRight:function(){return Ze},vectorMagnitude:function(){return ur},vectorsAngle:function(){return lr},vectorsRatio:function(){return Ke}});var l=n(36034),f=n(3202),v=n(50370),g=n(52675),y=n(18295),T=n(43339),x=n(79991),b=n(20068),C=n(79590),A=n(24623),R=n(25811),P=n(32772),M=n(55494),I=n(45810),w=n(71826),F=n(13158),Y=n(25305);var j=function(h,t){return(j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])})(h,t)};function B(h,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=h}j(h,t),h.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function $(h){var t="";Array.isArray(h)||(h=[h]);for(var e=0;eh.phi1&&(h.phi2-=2*_),h.sweepFlag===1&&h.phi2r)return[];if(r===0)return[[h*e/(h*h+t*t),t*e/(h*h+t*t)]];var i=Math.sqrt(r);return[[(h*e+t*i)/(h*h+t*t),(t*e-h*i)/(h*h+t*t)],[(h*e-t*i)/(h*h+t*t),(t*e+h*i)/(h*h+t*t)]]}var tt,et=Math.PI/180;function st(h,t,e){return(1-e)*h+e*t}function ot(h,t,e,r){return h+Math.cos(r/180*_)*t+Math.sin(r/180*_)*e}function yt(h,t,e,r){var i=1e-6,a=t-h,o=e-t,s=3*a+3*(r-e)-6*o,u=6*(o-a),c=3*a;return Math.abs(s)H&&(m.sweepFlag=+!m.sweepFlag),m})}function o(){return function(s){var u={};for(var c in s)u[c]=s[c];return u}}h.ROUND=function(s){function u(c){return Math.round(c*s)/s}return s===void 0&&(s=1e13),Q(s),function(c){return c.x1!==void 0&&(c.x1=u(c.x1)),c.y1!==void 0&&(c.y1=u(c.y1)),c.x2!==void 0&&(c.x2=u(c.x2)),c.y2!==void 0&&(c.y2=u(c.y2)),c.x!==void 0&&(c.x=u(c.x)),c.y!==void 0&&(c.y=u(c.y)),c.rX!==void 0&&(c.rX=u(c.rX)),c.rY!==void 0&&(c.rY=u(c.rY)),c}},h.TO_ABS=t,h.TO_REL=function(){return i(function(s,u,c){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=c),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=c),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=c),s.relative=!0),s})},h.NORMALIZE_HVZ=function(s,u,c){return s===void 0&&(s=!0),u===void 0&&(u=!0),c===void 0&&(c=!0),i(function(p,E,O,m,D){if(isNaN(m)&&!(p.type&N.MOVE_TO))throw new Error("path must start with moveto");return u&&p.type&N.HORIZ_LINE_TO&&(p.type=N.LINE_TO,p.y=p.relative?0:O),c&&p.type&N.VERT_LINE_TO&&(p.type=N.LINE_TO,p.x=p.relative?0:E),s&&p.type&N.CLOSE_PATH&&(p.type=N.LINE_TO,p.x=p.relative?m-E:m,p.y=p.relative?D-O:D),p.type&N.ARC&&(p.rX===0||p.rY===0)&&(p.type=N.LINE_TO,delete p.rX,delete p.rY,delete p.xRot,delete p.lArcFlag,delete p.sweepFlag),p})},h.NORMALIZE_ST=e,h.QT_TO_C=r,h.INFO=i,h.SANITIZE=function(s){s===void 0&&(s=0),Q(s);var u=NaN,c=NaN,p=NaN,E=NaN;return i(function(O,m,D,V,L){var U=Math.abs,K=!1,G=0,z=0;if(O.type&N.SMOOTH_CURVE_TO&&(G=isNaN(u)?0:m-u,z=isNaN(c)?0:D-c),O.type&(N.CURVE_TO|N.SMOOTH_CURVE_TO)?(u=O.relative?m+O.x2:O.x2,c=O.relative?D+O.y2:O.y2):(u=NaN,c=NaN),O.type&N.SMOOTH_QUAD_TO?(p=isNaN(p)?m:2*m-p,E=isNaN(E)?D:2*D-E):O.type&N.QUAD_TO?(p=O.relative?m+O.x1:O.x1,E=O.relative?D+O.y1:O.y2):(p=NaN,E=NaN),O.type&N.LINE_COMMANDS||O.type&N.ARC&&(O.rX===0||O.rY===0||!O.lArcFlag)||O.type&N.CURVE_TO||O.type&N.SMOOTH_CURVE_TO||O.type&N.QUAD_TO||O.type&N.SMOOTH_QUAD_TO){var rt=O.x===void 0?0:O.relative?O.x:O.x-m,at=O.y===void 0?0:O.relative?O.y:O.y-D;G=isNaN(p)?O.x1===void 0?G:O.relative?O.x:O.x1-m:p-m,z=isNaN(E)?O.y1===void 0?z:O.relative?O.y:O.y1-D:E-D;var H=O.x2===void 0?0:O.relative?O.x:O.x2-m,ct=O.y2===void 0?0:O.relative?O.y:O.y2-D;U(rt)<=s&&U(at)<=s&&U(G)<=s&&U(z)<=s&&U(H)<=s&&U(ct)<=s&&(K=!0)}return O.type&N.CLOSE_PATH&&U(m-V)<=s&&U(D-L)<=s&&(K=!0),K?[]:O})},h.MATRIX=a,h.ROTATE=function(s,u,c){u===void 0&&(u=0),c===void 0&&(c=0),Q(s,u,c);var p=Math.sin(s),E=Math.cos(s);return a(E,p,-p,E,u-u*E+c*p,c-u*p-c*E)},h.TRANSLATE=function(s,u){return u===void 0&&(u=0),Q(s,u),a(1,0,0,1,s,u)},h.SCALE=function(s,u){return u===void 0&&(u=s),Q(s,u),a(s,0,0,u,0,0)},h.SKEW_X=function(s){return Q(s),a(1,0,Math.atan(s),1,0,0)},h.SKEW_Y=function(s){return Q(s),a(1,Math.atan(s),0,1,0,0)},h.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Q(s),a(-1,0,0,1,s,0)},h.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Q(s),a(1,0,0,-1,0,s)},h.A_TO_C=function(){return i(function(s,u,c){return N.ARC===s.type?function(p,E,O){var m,D,V,L;p.cX||k(p,E,O);for(var U=Math.min(p.phi1,p.phi2),K=Math.max(p.phi1,p.phi2)-U,G=Math.ceil(K/90),z=new Array(G),rt=E,at=O,H=0;HE.maxX&&(E.maxX=Ot),OtE.maxY&&(E.maxY=Ot),OtEt&&L(Z(m,V.x1,V.x2,V.x,Et));for(var z=0,rt=yt(D,V.y1,V.y2,V.y);zEt&&U(Z(D,V.y1,V.y2,V.y,Et))}if(V.type&N.ARC){L(V.x),U(V.y),k(V,m,D);for(var at=V.xRot/180*Math.PI,H=Math.cos(at)*V.rX,ct=Math.sin(at)*V.rX,vt=-Math.sin(at)*V.rY,pt=Math.cos(at)*V.rY,St=V.phi1V.phi2?[V.phi2+360,V.phi1+360]:[V.phi2,V.phi1],Tt=St[0],Lt=St[1],Bt=function(Ot){var Ft=Ot[0],Gt=Ot[1],Ht=180*Math.atan2(Gt,Ft)/Math.PI;return HtTt&&EtTt&&Etp)throw new SyntaxError('Expected positive number, got "'+p+'" at index "'+o+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"')}this.curArgs.push(p),this.curArgs.length===ft[this.curCommandType]&&(N.HORIZ_LINE_TO===this.curCommandType?a({type:N.HORIZ_LINE_TO,relative:this.curCommandRelative,x:p}):N.VERT_LINE_TO===this.curCommandType?a({type:N.VERT_LINE_TO,relative:this.curCommandRelative,y:p}):this.curCommandType===N.MOVE_TO||this.curCommandType===N.LINE_TO||this.curCommandType===N.SMOOTH_QUAD_TO?(a({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),N.MOVE_TO===this.curCommandType&&(this.curCommandType=N.LINE_TO)):this.curCommandType===N.CURVE_TO?a({type:N.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===N.SMOOTH_CURVE_TO?a({type:N.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===N.QUAD_TO?a({type:N.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===N.ARC&&a({type:N.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!mt(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(c)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=N.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=N.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=N.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=N.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=N.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=N.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=N.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=N.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=N.ARC,this.curCommandRelative=s==="a"}else r.push({type:N.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(r,i){i===void 0&&(i=[]);for(var a=0,o=Object.getPrototypeOf(this).parse.call(this,r);a>>rt;if(o[G+3]=Ce,Ce!==0){var Ae=255/Ce;o[G]=(Ot*z>>>rt)*Ae,o[G+1]=(Ft*z>>>rt)*Ae,o[G+2]=(Gt*z>>>rt)*Ae}else o[G]=o[G+1]=o[G+2]=0;Ot-=Mt,Ft-=Nt,Gt-=jt,Ht-=Et,Mt-=L.r,Nt-=L.g,jt-=L.b,Et-=L.a;var re=be+a+1;re=K+(re>>rt,Xt>0?(Xt=255/Xt,o[Wt]=(rr*z>>>rt)*Xt,o[Wt+1]=(nr*z>>>rt)*Xt,o[Wt+2]=(ir*z>>>rt)*Xt):o[Wt]=o[Wt+1]=o[Wt+2]=0,rr-=Ar,nr-=Pr,ir-=Rr,ar-=Nr,Ar-=L.r,Pr-=L.g,Rr-=L.b,Nr-=L.a,Wt=ne+((Wt=Dr+p)>>G,o[H+1]=Mt*K>>>G,o[H+2]=Nt*K>>>G,Pt-=Tt,Mt-=Lt,Nt-=Bt,Tt-=L.r,Lt-=L.g,Bt-=L.b,z=at+((z=Ht+a+1)>>G,o[z+1]=Ce*K>>>G,o[z+2]=Ae*K>>>G,be-=Fe,Ce-=Ue,Ae-=Se,Fe-=L.r,Ue-=L.g,Se-=L.b,z=$t+((z=ne+p)0&&arguments[0]!==void 0?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:h,createCanvas(e,r){return new OffscreenCanvas(e,r)},createImage(e){return(0,f.Z)(function*(){var r=yield fetch(e),i=yield r.blob(),a=yield createImageBitmap(i);return a})()}};return(typeof DOMParser!="undefined"||typeof h=="undefined")&&Reflect.deleteProperty(t,"DOMParser"),t}function de(h){var{DOMParser:t,canvas:e,fetch:r}=h;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:r,createCanvas:e.createCanvas,createImage:e.loadImage}}var pe=Object.freeze({__proto__:null,offscreen:ge,node:de});function Kt(h){return h.replace(/(?!\u3000)\s+/gm," ")}function ze(h){return h.replace(/^[\n \t]+/,"")}function Ze(h){return h.replace(/[\n \t]+$/,"")}function It(h){var t=(h||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return t.map(parseFloat)}var ye=/^[A-Z-]+$/;function De(h){return ye.test(h)?h.toLowerCase():h}function W(h){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(h)||[];return t[2]||t[3]||t[4]}function nt(h){if(!h.startsWith("rgb"))return h;var t=3,e=h.replace(/\d+(\.\d+)?/g,(r,i)=>t--&&i?String(Math.round(parseFloat(r))):r);return e}var gt=/(\[[^\]]+\])/g,dt=/(#[^\s+>~.[:]+)/g,bt=/(\.[^\s+>~.[:]+)/g,me=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,Le=/(:[\w-]+\([^)]*\))/gi,xe=/(:[^\s+>~.[:]+)/g,Ee=/([^\s+>~.[:]+)/g;function te(h,t){var e=t.exec(h);return e?[h.replace(t," "),e.length]:[h,0]}function $e(h){var t=[0,0,0],e=h.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[e,r]=te(e,gt),t[1]+=r,[e,r]=te(e,dt),t[0]+=r,[e,r]=te(e,bt),t[1]+=r,[e,r]=te(e,me),t[2]+=r,[e,r]=te(e,Le),t[1]+=r,[e,r]=te(e,xe),t[1]+=r,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,r]=te(e,Ee),t[2]+=r,t.join("")}var ae=1e-8;function ur(h){return Math.sqrt(Math.pow(h[0],2)+Math.pow(h[1],2))}function Ke(h,t){return(h[0]*t[0]+h[1]*t[1])/(ur(h)*ur(t))}function lr(h,t){return(h[0]*t[1]0&&arguments[0]!==void 0?arguments[0]:" ",{document:e,name:r}=this;return Kt(this.getString()).trim().split(t).map(i=>new q(e,r,i))}hasValue(t){var{value:e}=this;return e!==null&&e!==""&&(t||e!==0)&&typeof e!="undefined"}isString(t){var{value:e}=this,r=typeof e=="string";return!r||!t?r:t.test(e)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return typeof t=="undefined"||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return typeof t=="undefined"?0:parseFloat(t);var{value:e}=this,r=parseFloat(e);return this.isString(/%$/)&&(r/=100),r}getString(t){return typeof t=="undefined"||this.hasValue()?typeof this.value=="undefined"?"":String(this.value):String(t)}getColor(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=nt(e),this.value=e),e}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[r,i]=typeof t=="boolean"?[void 0,t]:[t],{viewPort:a}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(a.computeSize("x"),a.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(a.computeSize("x"),a.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*a.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*a.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&i):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*a.computeSize(r);default:{var o=this.getNumber();return e&&o<1?o*a.computeSize(r):o}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),e=/#([^)'"]+)/.exec(t);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}getFillStyleDefinition(t,e){var r=this.getDefinition();if(!r)return null;if(typeof r.createGradient=="function")return r.createGradient(this.document.ctx,t,e);if(typeof r.createPattern=="function"){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute("patternTransform",!0).setValue(i.value)}return r.createPattern(this.document.ctx,t,e)}return null}getTextBaseline(){return this.hasValue()?q.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var e=this.getColor(),r=e.length,i=0,a=0;a1&&arguments[1]!==void 0?arguments[1]:0,[r=e,i=e]=It(t);return new Rt(r,i)}static parseScale(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[r=e,i=r]=It(t);return new Rt(r,i)}static parsePath(t){for(var e=It(t),r=e.length,i=[],a=0;a0}runEvents(){if(this.working){var{screen:t,events:e,eventElements:r}=this,{style:i}=t.ctx.canvas;i&&(i.cursor=""),e.forEach((a,o)=>{for(var{run:s}=a,u=r[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(t,e){if(!(!this.working||!e)){var{events:r,eventElements:i}=this;r.forEach((a,o)=>{var{x:s,y:u}=a;!i[o]&&e.isPointInPath&&e.isPointInPath(s,u)&&(i[o]=t)})}}checkBoundingBox(t,e){if(!(!this.working||!e)){var{events:r,eventElements:i}=this;r.forEach((a,o)=>{var{x:s,y:u}=a;!i[o]&&e.isPointInBox(s,u)&&(i[o]=t)})}}mapXY(t,e){for(var{window:r,ctx:i}=this.screen,a=new Rt(t,e),o=i.canvas;o;)a.x-=o.offsetLeft,a.y-=o.offsetTop,o=o.offsetParent;return r.scrollX&&(a.x+=r.scrollX),r.scrollY&&(a.y+=r.scrollY),a}onClick(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:e,y:r,run(i){i.onClick&&i.onClick()}})}onMouseMove(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:e,y:r,run(i){i.onMouseMove&&i.onMouseMove()}})}}var Fr=typeof window!="undefined"?window:null,Ur=typeof fetch!="undefined"?fetch.bind(void 0):null;class He{constructor(t){var{fetch:e=Ur,window:r=Fr}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Lr,this.mouse=new Br(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=e}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every(e=>e());return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:e,ctx:r,aspectRatio:i,width:a,desiredWidth:o,height:s,desiredHeight:u,minX:c=0,minY:p=0,refX:E,refY:O,clip:m=!1,clipX:D=0,clipY:V=0}=t,L=Kt(i).replace(/^defer\s/,""),[U,K]=L.split(" "),G=U||"xMidYMid",z=K||"meet",rt=a/o,at=s/u,H=Math.min(rt,at),ct=Math.max(rt,at),vt=o,pt=u;z==="meet"&&(vt*=H,pt*=H),z==="slice"&&(vt*=ct,pt*=ct);var St=new q(e,"refX",E),Tt=new q(e,"refY",O),Lt=St.hasValue()&&Tt.hasValue();if(Lt&&r.translate(-H*St.getPixels("x"),-H*Tt.getPixels("y")),m){var Bt=H*D,Pt=H*V;r.beginPath(),r.moveTo(Bt,Pt),r.lineTo(a,Pt),r.lineTo(a,s),r.lineTo(Bt,s),r.closePath(),r.clip()}if(!Lt){var Mt=z==="meet"&&H===at,Nt=z==="slice"&&ct===at,jt=z==="meet"&&H===rt,Et=z==="slice"&&ct===rt;G.startsWith("xMid")&&(Mt||Nt)&&r.translate(a/2-vt/2,0),G.endsWith("YMid")&&(jt||Et)&&r.translate(0,s/2-pt/2),G.startsWith("xMax")&&(Mt||Nt)&&r.translate(a-vt,0),G.endsWith("YMax")&&(jt||Et)&&r.translate(0,s-pt)}switch(!0){case G==="none":r.scale(rt,at);break;case z==="meet":r.scale(H,H);break;case z==="slice":r.scale(ct,ct);break}r.translate(-c,-p)}start(t){var{enableRedraw:e=!1,ignoreMouse:r=!1,ignoreAnimation:i=!1,ignoreDimensions:a=!1,ignoreClear:o=!1,forceRedraw:s,scaleWidth:u,scaleHeight:c,offsetX:p,offsetY:E}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:O,mouse:m}=this,D=1e3/O;if(this.frameDuration=D,this.readyPromise=new Promise(G=>{this.resolveReady=G}),this.isReady()&&this.render(t,a,o,u,c,p,E),!!e){var V=Date.now(),L=V,U=0,K=()=>{V=Date.now(),U=V-L,U>=D&&(L=V-U%D,this.shouldUpdate(i,s)&&(this.render(t,a,o,u,c,p,E),m.runEvents())),this.intervalId=P(K)};r||m.start(),this.intervalId=P(K)}}stop(){this.intervalId&&(P.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,e){if(!t){var{frameDuration:r}=this,i=this.animations.reduce((a,o)=>o.update(r)||a,!1);if(i)return!0}return!!(typeof e=="function"&&e()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(t,e,r,i,a,o,s){var{CLIENT_WIDTH:u,CLIENT_HEIGHT:c,viewPort:p,ctx:E,isFirstRender:O}=this,m=E.canvas;p.clear(),m.width&&m.height?p.setCurrent(m.width,m.height):p.setCurrent(u,c);var D=t.getStyle("width"),V=t.getStyle("height");!e&&(O||typeof i!="number"&&typeof a!="number")&&(D.hasValue()&&(m.width=D.getPixels("x"),m.style&&(m.style.width="".concat(m.width,"px"))),V.hasValue()&&(m.height=V.getPixels("y"),m.style&&(m.style.height="".concat(m.height,"px"))));var L=m.clientWidth||m.width,U=m.clientHeight||m.height;if(e&&D.hasValue()&&V.hasValue()&&(L=D.getPixels("x"),U=V.getPixels("y")),p.setCurrent(L,U),typeof o=="number"&&t.getAttribute("x",!0).setValue(o),typeof s=="number"&&t.getAttribute("y",!0).setValue(s),typeof i=="number"||typeof a=="number"){var K=It(t.getAttribute("viewBox").getString()),G=0,z=0;if(typeof i=="number"){var rt=t.getStyle("width");rt.hasValue()?G=rt.getPixels("x")/i:isNaN(K[2])||(G=K[2]/i)}if(typeof a=="number"){var at=t.getStyle("height");at.hasValue()?z=at.getPixels("y")/a:isNaN(K[3])||(z=K[3]/a)}G||(G=z),z||(z=G),t.getAttribute("width",!0).setValue(i),t.getAttribute("height",!0).setValue(a);var H=t.getStyle("transform",!0,!0);H.setValue("".concat(H.getString()," scale(").concat(1/G,", ").concat(1/z,")"))}r||E.clearRect(0,0,L,U),t.render(E),O&&(this.isFirstRender=!1)}}He.defaultWindow=Fr,He.defaultFetch=Ur;var{defaultFetch:Pn}=He,Rn=typeof DOMParser!="undefined"?DOMParser:null;class ke{constructor(){var{fetch:t=Pn,DOMParser:e=Rn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=t,this.DOMParser=e}parse(t){var e=this;return(0,f.Z)(function*(){return t.startsWith("<")?e.parseFromString(t):e.load(t)})()}parseFromString(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch(r){return this.checkDocument(e.parseFromString(t,"text/xml"))}}checkDocument(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}load(t){var e=this;return(0,f.Z)(function*(){var r=yield e.fetch(t),i=yield r.text();return e.parseFromString(i)})()}}class jr{constructor(t,e){this.type="translate",this.point=null,this.point=Rt.parse(e)}apply(t){var{x:e,y:r}=this.point;t.translate(e||0,r||0)}unapply(t){var{x:e,y:r}=this.point;t.translate(-1*e||0,-1*r||0)}applyToPoint(t){var{x:e,y:r}=this.point;t.applyTransform([1,0,0,1,e||0,r||0])}}class Gr{constructor(t,e,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=It(e);this.angle=new q(t,"angle",i[0]),this.originX=r[0],this.originY=r[1],this.cx=i[1]||0,this.cy=i[2]||0}apply(t){var{cx:e,cy:r,originX:i,originY:a,angle:o}=this,s=e+i.getPixels("x"),u=r+a.getPixels("y");t.translate(s,u),t.rotate(o.getRadians()),t.translate(-s,-u)}unapply(t){var{cx:e,cy:r,originX:i,originY:a,angle:o}=this,s=e+i.getPixels("x"),u=r+a.getPixels("y");t.translate(s,u),t.rotate(-1*o.getRadians()),t.translate(-s,-u)}applyToPoint(t){var{cx:e,cy:r,angle:i}=this,a=i.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(a),Math.sin(a),-Math.sin(a),Math.cos(a),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}class zr{constructor(t,e,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var i=Rt.parseScale(e);(i.x===0||i.y===0)&&(i.x=ae,i.y=ae),this.scale=i,this.originX=r[0],this.originY=r[1]}apply(t){var{scale:{x:e,y:r},originX:i,originY:a}=this,o=i.getPixels("x"),s=a.getPixels("y");t.translate(o,s),t.scale(e,r||e),t.translate(-o,-s)}unapply(t){var{scale:{x:e,y:r},originX:i,originY:a}=this,o=i.getPixels("x"),s=a.getPixels("y");t.translate(o,s),t.scale(1/e,1/r||e),t.translate(-o,-s)}applyToPoint(t){var{x:e,y:r}=this.scale;t.applyTransform([e||0,0,0,r||0,0,0])}}class yr{constructor(t,e,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=It(e),this.originX=r[0],this.originY=r[1]}apply(t){var{originX:e,originY:r,matrix:i}=this,a=e.getPixels("x"),o=r.getPixels("y");t.translate(a,o),t.transform(i[0],i[1],i[2],i[3],i[4],i[5]),t.translate(-a,-o)}unapply(t){var{originX:e,originY:r,matrix:i}=this,a=i[0],o=i[2],s=i[4],u=i[1],c=i[3],p=i[5],E=0,O=0,m=1,D=1/(a*(c*m-p*O)-o*(u*m-p*E)+s*(u*O-c*E)),V=e.getPixels("x"),L=r.getPixels("y");t.translate(V,L),t.transform(D*(c*m-p*O),D*(p*E-u*m),D*(s*O-o*m),D*(a*m-s*E),D*(o*p-s*c),D*(s*u-a*p)),t.translate(-V,-L)}applyToPoint(t){t.applyTransform(this.matrix)}}class mr extends yr{constructor(t,e,r){super(t,e,r),this.type="skew",this.angle=null,this.angle=new q(t,"angle",e)}}class $r extends mr{constructor(t,e,r){super(t,e,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class Hr extends mr{constructor(t,e,r){super(t,e,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function Nn(h){return Kt(h).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function In(h){var[t,e]=h.split("(");return[t.trim(),e.trim().replace(")","")]}class Te{constructor(t,e,r){this.document=t,this.transforms=[];var i=Nn(e);i.forEach(a=>{if(a!=="none"){var[o,s]=In(a),u=Te.transformTypes[o];typeof u!="undefined"&&this.transforms.push(new u(this.document,s,r))}})}static fromElement(t,e){var r=e.getStyle("transform",!1,!0),[i,a=i]=e.getStyle("transform-origin",!1,!0).split(),o=[i,a];return r.hasValue()?new Te(t,r.getString(),o):null}apply(t){for(var{transforms:e}=this,r=e.length,i=0;i=0;i--)e[i].unapply(t)}applyToPoint(t){for(var{transforms:e}=this,r=e.length,i=0;i2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=t,this.node=e,this.captureTextNodes=r,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!e||e.nodeType!==1)){if(Array.from(e.attributes).forEach(s=>{var u=De(s.nodeName);this.attributes[u]=new q(t,u,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var i=this.getAttribute("style").getString().split(";").map(s=>s.trim());i.forEach(s=>{if(s){var[u,c]=s.split(":").map(p=>p.trim());this.styles[u]=new q(t,u,c)}})}var{definitions:a}=t,o=this.getAttribute("id");o.hasValue()&&(a[o.getString()]||(a[o.getString()]=this)),Array.from(e.childNodes).forEach(s=>{if(s.nodeType===1)this.addChild(s);else if(r&&(s.nodeType===3||s.nodeType===4)){var u=t.createTextNode(s);u.getText().length>0&&this.addChild(u)}})}}getAttribute(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.attributes[t];if(!r&&e){var i=new q(this.document,t,"");return this.attributes[t]=i,i}return r||q.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if(t==="href"||t.endsWith(":href"))return this.attributes[t];return q.empty(this.document)}getStyle(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.styles[t];if(i)return i;var a=this.getAttribute(t);if(a!=null&&a.hasValue())return this.styles[t]=a,a;if(!r){var{parent:o}=this;if(o){var s=o.getStyle(t);if(s!=null&&s.hasValue())return s}}if(e){var u=new q(this.document,t,"");return this.styles[t]=u,u}return i||q.empty(this.document)}render(t){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var e=Te.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach(e=>{e.render(t)})}addChild(t){var e=t instanceof Ct?t:this.document.createElement(t);e.parent=this,Ct.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(t){var e,{node:r}=this;if(typeof r.matches=="function")return r.matches(t);var i=(e=r.getAttribute)===null||e===void 0?void 0:e.call(r,"class");return!i||i===""?!1:i.split(" ").some(a=>".".concat(a)===t)}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:e}=this.document;for(var r in t)if(!r.startsWith("@")&&this.matchesSelector(r)){var i=t[r],a=e[r];if(i)for(var o in i){var s=this.stylesSpecificity[o];typeof s=="undefined"&&(s="000"),a>=s&&(this.styles[o]=i[o],this.stylesSpecificity[o]=a)}}}removeStyles(t,e){var r=e.reduce((i,a)=>{var o=t.getStyle(a);if(!o.hasValue())return i;var s=o.getString();return o.setValue(""),[...i,[a,s]]},[]);return r}restoreStyles(t,e){e.forEach(r=>{var[i,a]=r;t.getStyle(i,!0).setValue(a)})}isFirstChild(){var t;return((t=this.parent)===null||t===void 0?void 0:t.children.indexOf(this))===0}}Ct.ignoreChildTypes=["title"];class Yr extends Ct{constructor(t,e,r){super(t,e,r)}}function Mn(h){var t=h.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function wn(h){return typeof ve=="undefined"?h:h.trim().split(",").map(Mn).join(",")}function Vn(h){if(!h)return"";var t=h.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function Dn(h){if(!h)return"";var t=h.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}class zt{constructor(t,e,r,i,a,o){var s=o?typeof o=="string"?zt.parse(o):o:{};this.fontFamily=a||s.fontFamily,this.fontSize=i||s.fontSize,this.fontStyle=t||s.fontStyle,this.fontWeight=r||s.fontWeight,this.fontVariant=e||s.fontVariant}static parse(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r="",i="",a="",o="",s="",u=Kt(t).trim().split(" "),c={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return u.forEach(p=>{switch(!0){case(!c.fontStyle&&zt.styles.includes(p)):p!=="inherit"&&(r=p),c.fontStyle=!0;break;case(!c.fontVariant&&zt.variants.includes(p)):p!=="inherit"&&(i=p),c.fontStyle=!0,c.fontVariant=!0;break;case(!c.fontWeight&&zt.weights.includes(p)):p!=="inherit"&&(a=p),c.fontStyle=!0,c.fontVariant=!0,c.fontWeight=!0;break;case!c.fontSize:p!=="inherit"&&([o]=p.split("/")),c.fontStyle=!0,c.fontVariant=!0,c.fontWeight=!0,c.fontSize=!0;break;default:p!=="inherit"&&(s+=p)}}),new zt(r,i,a,o,s,e)}toString(){return[Vn(this.fontStyle),this.fontVariant,Dn(this.fontWeight),this.fontSize,wn(this.fontFamily)].join(" ").trim()}}zt.styles="normal|italic|oblique|inherit",zt.variants="normal|small-caps|inherit",zt.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class kt{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=t,this.y1=e,this.x2=r,this.y2=i,this.addPoint(t,e),this.addPoint(r,i)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,e){typeof t!="undefined"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),tthis.x2&&(this.x2=t)),typeof e!="undefined"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:e,y1:r,x2:i,y2:a}=t;this.addPoint(e,r),this.addPoint(i,a)}}sumCubic(t,e,r,i,a){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*i+Math.pow(t,3)*a}bezierCurveAdd(t,e,r,i,a){var o=6*e-12*r+6*i,s=-3*e+9*r-9*i+3*a,u=3*r-3*e;if(s===0){if(o===0)return;var c=-u/o;0=e.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",r=new Rt(this.command[t],this.command[e]);return this.makeAbsolute(r)}getAsControlPoint(t,e){var r=this.getPoint(t,e);return this.control=r,r}getAsCurrentPoint(t,e){var r=this.getPoint(t,e);return this.current=r,r}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==N.CURVE_TO&&t!==N.SMOOTH_CURVE_TO&&t!==N.QUAD_TO&&t!==N.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:r},control:{x:i,y:a}}=this,o=new Rt(2*e-i,2*r-a);return o}makeAbsolute(t){if(this.command.relative){var{x:e,y:r}=this.current;t.x+=e,t.y+=r}return t}addMarker(t,e,r){var{points:i,angles:a}=this;r&&a.length>0&&!a[a.length-1]&&(a[a.length-1]=i[i.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}addMarkerAngle(t,e){this.points.push(t),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,e=t.length,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1;if(!e){var r=this.getStyle("fill"),i=this.getStyle("fill-opacity"),a=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var s=r.getFillStyleDefinition(this,i);s&&(t.fillStyle=s)}else if(r.hasValue()){r.getString()==="currentColor"&&r.setValue(this.getStyle("color").getColor());var u=r.getColor();u!=="inherit"&&(t.fillStyle=u==="none"?"rgba(0,0,0,0)":u)}if(i.hasValue()){var c=new q(this.document,"fill",t.fillStyle).addOpacity(i).getColor();t.fillStyle=c}if(a.isUrlDefinition()){var p=a.getFillStyleDefinition(this,o);p&&(t.strokeStyle=p)}else if(a.hasValue()){a.getString()==="currentColor"&&a.setValue(this.getStyle("color").getColor());var E=a.getString();E!=="inherit"&&(t.strokeStyle=E==="none"?"rgba(0,0,0,0)":E)}if(o.hasValue()){var O=new q(this.document,"stroke",t.strokeStyle).addOpacity(o).getString();t.strokeStyle=O}var m=this.getStyle("stroke-width");if(m.hasValue()){var D=m.getPixels();t.lineWidth=D||ae}var V=this.getStyle("stroke-linecap"),L=this.getStyle("stroke-linejoin"),U=this.getStyle("stroke-miterlimit"),K=this.getStyle("stroke-dasharray"),G=this.getStyle("stroke-dashoffset");if(V.hasValue()&&(t.lineCap=V.getString()),L.hasValue()&&(t.lineJoin=L.getString()),U.hasValue()&&(t.miterLimit=U.getNumber()),K.hasValue()&&K.getString()!=="none"){var z=It(K.getString());typeof t.setLineDash!="undefined"?t.setLineDash(z):typeof t.webkitLineDash!="undefined"?t.webkitLineDash=z:typeof t.mozDash!="undefined"&&!(z.length===1&&z[0]===0)&&(t.mozDash=z);var rt=G.getPixels();typeof t.lineDashOffset!="undefined"?t.lineDashOffset=rt:typeof t.webkitLineDashOffset!="undefined"?t.webkitLineDashOffset=rt:typeof t.mozDashOffset!="undefined"&&(t.mozDashOffset=rt)}}if(this.modifiedEmSizeStack=!1,typeof t.font!="undefined"){var at=this.getStyle("font"),H=this.getStyle("font-style"),ct=this.getStyle("font-variant"),vt=this.getStyle("font-weight"),pt=this.getStyle("font-size"),St=this.getStyle("font-family"),Tt=new zt(H.getString(),ct.getString(),vt.getString(),pt.hasValue()?"".concat(pt.getPixels(!0),"px"):"",St.getString(),zt.parse(at.getString(),t.font));H.setValue(Tt.fontStyle),ct.setValue(Tt.fontVariant),vt.setValue(Tt.fontWeight),pt.setValue(Tt.fontSize),St.setValue(Tt.fontFamily),t.font=Tt.toString(),pt.isPixels()&&(this.document.emSize=pt.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class xt extends Oe{constructor(t,e,r){super(t,e,r),this.type="path",this.pathParser=null,this.pathParser=new it(this.getAttribute("d").getString())}path(t){var{pathParser:e}=this,r=new kt;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case it.MOVE_TO:this.pathM(t,r);break;case it.LINE_TO:this.pathL(t,r);break;case it.HORIZ_LINE_TO:this.pathH(t,r);break;case it.VERT_LINE_TO:this.pathV(t,r);break;case it.CURVE_TO:this.pathC(t,r);break;case it.SMOOTH_CURVE_TO:this.pathS(t,r);break;case it.QUAD_TO:this.pathQ(t,r);break;case it.SMOOTH_QUAD_TO:this.pathT(t,r);break;case it.ARC:this.pathA(t,r);break;case it.CLOSE_PATH:this.pathZ(t,r);break}return r}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,e=t.getMarkerPoints(),r=t.getMarkerAngles(),i=e.map((a,o)=>[a,r[o]]);return i}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");t.fillStyle!==""&&(e.getString("inherit")!=="inherit"?t.fill(e.getString()):t.fill()),t.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var i=r.length-1,a=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(a.isUrlDefinition()){var u=a.getDefinition(),[c,p]=r[0];u.render(t,c,p)}if(o.isUrlDefinition())for(var E=o.getDefinition(),O=1;O1&&(i*=Math.sqrt(O),a*=Math.sqrt(O));var m=(s===u?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(a,2)-Math.pow(i,2)*Math.pow(E.y,2)-Math.pow(a,2)*Math.pow(E.x,2))/(Math.pow(i,2)*Math.pow(E.y,2)+Math.pow(a,2)*Math.pow(E.x,2)));isNaN(m)&&(m=0);var D=new Rt(m*i*E.y/a,m*-a*E.x/i),V=new Rt((e.x+p.x)/2+Math.cos(c)*D.x-Math.sin(c)*D.y,(e.y+p.y)/2+Math.sin(c)*D.x+Math.cos(c)*D.y),L=lr([1,0],[(E.x-D.x)/i,(E.y-D.y)/a]),U=[(E.x-D.x)/i,(E.y-D.y)/a],K=[(-E.x-D.x)/i,(-E.y-D.y)/a],G=lr(U,K);return Ke(U,K)<=-1&&(G=Math.PI),Ke(U,K)>=1&&(G=0),{currentPoint:p,rX:i,rY:a,sweepFlag:u,xAxisRotation:c,centp:V,a1:L,ad:G}}pathA(t,e){var{pathParser:r}=this,{currentPoint:i,rX:a,rY:o,sweepFlag:s,xAxisRotation:u,centp:c,a1:p,ad:E}=xt.pathA(r),O=1-s?1:-1,m=p+O*(E/2),D=new Rt(c.x+a*Math.cos(m),c.y+o*Math.sin(m));if(r.addMarkerAngle(D,m-O*Math.PI/2),r.addMarkerAngle(i,m-O*Math.PI),e.addPoint(i.x,i.y),t&&!isNaN(p)&&!isNaN(E)){var V=a>o?a:o,L=a>o?1:a/o,U=a>o?o/a:1;t.translate(c.x,c.y),t.rotate(u),t.scale(L,U),t.arc(0,0,V,p,p+E,!!(1-s)),t.scale(1/L,1/U),t.rotate(-u),t.translate(-c.x,-c.y)}}static pathZ(t){t.current=t.start}pathZ(t,e){xt.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}class xr extends xt{constructor(t,e,r){super(t,e,r),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class se extends Oe{constructor(t,e,r){super(t,e,new.target===se?!0:r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(t,e);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if(this.type!=="text")return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var e=null;return this.children.forEach((r,i)=>{var a=this.getChildBoundingBox(t,this,this,i);e?e.addBoundingBox(a):e=a}),e}getFontSize(){var{document:t,parent:e}=this,r=zt.parse(t.ctx.font).fontSize,i=e.getStyle("font-size").getNumber(r);return i}getTElementBoundingBox(t){var e=this.getFontSize();return new kt(this.x,this.y-e,this.x+this.measureText(t),this.y)}getGlyph(t,e,r){var i=e[r],a=null;if(t.isArabic){var o=e.length,s=e[r-1],u=e[r+1],c="isolated";if((r===0||s===" ")&&r0&&s!==" "&&r0&&s!==" "&&(r===o-1||u===" ")&&(c="initial"),typeof t.glyphs[i]!="undefined"){var p=t.glyphs[i];a=p instanceof xr?p:p[c]}}else a=t.glyphs[i];return a||(a=t.missingGlyph),a}getText(){return""}getTextFromNode(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),i=r.indexOf(e),a=r.length-1,o=Kt(e.textContent||"");return i===0&&(o=ze(o)),i===a&&(o=Ze(o)),o}renderChildren(t){if(this.type!=="text"){this.renderTElementChildren(t);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((r,i)=>{this.renderChild(t,this,this,i)});var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(t))}renderTElementChildren(t){var{document:e,parent:r}=this,i=this.getText(),a=r.getStyle("font-family").getDefinition();if(a){for(var{unitsPerEm:o}=a.fontFace,s=zt.parse(e.ctx.font),u=r.getStyle("font-size").getNumber(s.fontSize),c=r.getStyle("font-style").getString(s.fontStyle),p=u/o,E=a.isRTL?i.split("").reverse().join(""):i,O=It(r.getAttribute("dx").getString()),m=E.length,D=0;D=this.leafTexts.length)){var t=this.leafTexts[this.textChunkStart],e=t.getStyle("text-anchor").getString("start"),r=!1,i=0;e==="start"&&!r||e==="end"&&r?i=t.x-this.minX:e==="end"&&!r||e==="start"&&r?i=t.x-this.maxX:i=t.x-(this.minX+this.maxX)/2;for(var a=this.textChunkStart;a{this.adjustChildCoordinatesRecursiveCore(t,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,e,r,i){var a=r.children[i];a.children.length>0?a.children.forEach((o,s)=>{e.adjustChildCoordinatesRecursiveCore(t,e,a,s)}):this.adjustChildCoordinates(t,e,r,i)}adjustChildCoordinates(t,e,r,i){var a=r.children[i];if(typeof a.measureText!="function")return a;t.save(),a.setContext(t,!0);var o=a.getAttribute("x"),s=a.getAttribute("y"),u=a.getAttribute("dx"),c=a.getAttribute("dy"),p=a.getStyle("font-family").getDefinition(),E=!!p&&p.isRTL;i===0&&(o.hasValue()||o.setValue(a.getInheritedAttribute("x")),s.hasValue()||s.setValue(a.getInheritedAttribute("y")),u.hasValue()||u.setValue(a.getInheritedAttribute("dx")),c.hasValue()||c.setValue(a.getInheritedAttribute("dy")));var O=a.measureText(t);return E&&(e.x-=O),o.hasValue()?(e.applyAnchoring(),a.x=o.getPixels("x"),u.hasValue()&&(a.x+=u.getPixels("x"))):(u.hasValue()&&(e.x+=u.getPixels("x")),a.x=e.x),e.x=a.x,E||(e.x+=O),s.hasValue()?(a.y=s.getPixels("y"),c.hasValue()&&(a.y+=c.getPixels("y"))):(c.hasValue()&&(e.y+=c.getPixels("y")),a.y=e.y),e.y=a.y,e.leafTexts.push(a),e.minX=Math.min(e.minX,a.x,a.x+O),e.maxX=Math.max(e.maxX,a.x,a.x+O),a.clearContext(t),t.restore(),a}getChildBoundingBox(t,e,r,i){var a=r.children[i];if(typeof a.getBoundingBox!="function")return null;var o=a.getBoundingBox(t);return o?(a.children.forEach((s,u)=>{var c=e.getChildBoundingBox(t,e,a,u);o.addBoundingBox(c)}),o):null}renderChild(t,e,r,i){var a=r.children[i];a.render(t),a.children.forEach((o,s)=>{e.renderChild(t,e,a,s)})}measureText(t){var{measureCache:e}=this;if(~e)return e;var r=this.getText(),i=this.measureTargetText(t,r);return this.measureCache=i,i}measureTargetText(t,e){if(!e.length)return 0;var{parent:r}=this,i=r.getStyle("font-family").getDefinition();if(i){for(var a=this.getFontSize(),o=i.isRTL?e.split("").reverse().join(""):e,s=It(r.getAttribute("dx").getString()),u=o.length,c=0,p=0;p0?"":this.getTextFromNode()}getText(){return this.text}}class Ln extends Ye{constructor(){super(...arguments),this.type="textNode"}}class Be extends Oe{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var e,{document:r}=this,{screen:i,window:a}=r,o=t.canvas;if(i.setDefaults(t),o.style&&typeof t.font!="undefined"&&a&&typeof a.getComputedStyle!="undefined"){t.font=a.getComputedStyle(o).getPropertyValue("font");var s=new q(r,"fontSize",zt.parse(t.font).fontSize);s.hasValue()&&(r.rootEmSize=s.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:c}=i.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var p=this.getAttribute("refX"),E=this.getAttribute("refY"),O=this.getAttribute("viewBox"),m=O.hasValue()?It(O.getString()):null,D=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",V=0,L=0,U=0,K=0;m&&(V=m[0],L=m[1]),this.root||(u=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y"),this.type==="marker"&&(U=V,K=L,V=0,L=0)),i.viewPort.setCurrent(u,c),this.node&&(!this.parent||((e=this.node.parentNode)===null||e===void 0?void 0:e.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),m&&(u=m[2],c=m[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:u,height:i.viewPort.height,desiredHeight:c,minX:V,minY:L,refX:p.getValue(),refY:E.getValue(),clip:D,clipX:U,clipY:K}),m&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(u,c))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.getAttribute("width",!0),a=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=i.getNumber(0),c=a.getNumber(0);if(r)if(typeof r=="string")this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var p=this.getAttribute("preserveAspectRatio");p.hasValue()&&p.setValue(p.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(t),a.setValue(e),o.hasValue()||o.setValue("0 0 ".concat(u||t," ").concat(c||e)),s.hasValue()){var E=this.getStyle("width"),O=this.getStyle("height");E.hasValue()&&E.setValue("".concat(t,"px")),O.hasValue()&&O.setValue("".concat(e,"px"))}}}class Er extends xt{constructor(){super(...arguments),this.type="rect"}path(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),i=this.getStyle("width",!1,!0).getPixels("x"),a=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),c=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(c=u),s.hasValue()&&!o.hasValue()&&(u=c),u=Math.min(u,i/2),c=Math.min(c,a/2),t){var p=4*((Math.sqrt(2)-1)/3);t.beginPath(),a>0&&i>0&&(t.moveTo(e+u,r),t.lineTo(e+i-u,r),t.bezierCurveTo(e+i-u+p*u,r,e+i,r+c-p*c,e+i,r+c),t.lineTo(e+i,r+a-c),t.bezierCurveTo(e+i,r+a-c+p*c,e+i-u+p*u,r+a,e+i-u,r+a),t.lineTo(e+u,r+a),t.bezierCurveTo(e+u-p*u,r+a,e,r+a-c+p*c,e,r+a-c),t.lineTo(e,r+c),t.bezierCurveTo(e,r+c-p*c,e+u-p*u,r,e+u,r),t.closePath())}return new kt(e,r,e+i,r+a)}getMarkers(){return null}}class Xr extends xt{constructor(){super(...arguments),this.type="circle"}path(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return t&&i>0&&(t.beginPath(),t.arc(e,r,i,0,Math.PI*2,!1),t.closePath()),new kt(e-i,r-i,e+i,r+i)}getMarkers(){return null}}class Wr extends xt{constructor(){super(...arguments),this.type="ellipse"}path(t){var e=4*((Math.sqrt(2)-1)/3),r=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),a=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return t&&r>0&&i>0&&(t.beginPath(),t.moveTo(a+r,o),t.bezierCurveTo(a+r,o+e*i,a+e*r,o+i,a,o+i),t.bezierCurveTo(a-e*r,o+i,a-r,o+e*i,a-r,o),t.bezierCurveTo(a-r,o-e*i,a-e*r,o-i,a,o-i),t.bezierCurveTo(a+e*r,o-i,a+r,o-e*i,a+r,o),t.closePath()),new kt(a-r,o-i,a+r,o+i)}getMarkers(){return null}}class Qr extends xt{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Rt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Rt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:e,y:r},{x:i,y:a}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(e,r),t.lineTo(i,a)),new kt(e,r,i,a)}getMarkers(){var[t,e]=this.getPoints(),r=t.angleTo(e);return[[t,r],[e,r]]}}class Tr extends xt{constructor(t,e,r){super(t,e,r),this.type="polyline",this.points=[],this.points=Rt.parsePath(this.getAttribute("points").getString())}path(t){var{points:e}=this,[{x:r,y:i}]=e,a=new kt(r,i);return t&&(t.beginPath(),t.moveTo(r,i)),e.forEach(o=>{var{x:s,y:u}=o;a.addPoint(s,u),t&&t.lineTo(s,u)}),a}getMarkers(){var{points:t}=this,e=t.length-1,r=[];return t.forEach((i,a)=>{a!==e&&r.push([i,i.angleTo(t[a+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}class Zr extends Tr{constructor(){super(...arguments),this.type="polygon"}path(t){var e=super.path(t),[{x:r,y:i}]=this.points;return t&&(t.lineTo(r,i),t.closePath()),e}}class Kr extends Ct{constructor(){super(...arguments),this.type="pattern"}createPattern(t,e,r){var i=this.getStyle("width").getPixels("x",!0),a=this.getStyle("height").getPixels("y",!0),o=new Be(this.document,null);o.attributes.viewBox=new q(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new q(this.document,"width","".concat(i,"px")),o.attributes.height=new q(this.document,"height","".concat(a,"px")),o.attributes.transform=new q(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(i,a),u=s.getContext("2d"),c=this.getAttribute("x"),p=this.getAttribute("y");c.hasValue()&&p.hasValue()&&u.translate(c.getPixels("x",!0),p.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var E=-1;E<=1;E++)for(var O=-1;O<=1;O++)u.save(),o.attributes.x=new q(this.document,"x",E*s.width),o.attributes.y=new q(this.document,"y",O*s.height),o.render(u),u.restore();var m=t.createPattern(s,"repeat");return m}}class kr extends Ct{constructor(){super(...arguments),this.type="marker"}render(t,e,r){if(e){var{x:i,y:a}=e,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(i,a),o==="auto"&&t.rotate(r),s==="strokeWidth"&&t.scale(t.lineWidth,t.lineWidth),t.save();var u=new Be(this.document,null);u.type=this.type,u.attributes.viewBox=new q(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new q(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new q(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new q(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new q(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new q(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new q(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new q(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(t),t.restore(),s==="strokeWidth"&&t.scale(1/t.lineWidth,1/t.lineWidth),o==="auto"&&t.rotate(-r),t.translate(-i,-a)}}}class Jr extends Ct{constructor(){super(...arguments),this.type="defs"}render(){}}class Je extends Oe{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var e=new kt;return this.children.forEach(r=>{e.addBoundingBox(r.getBoundingBox(t))}),e}}class Or extends Ct{constructor(t,e,r){super(t,e,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:i,children:a}=this;a.forEach(o=>{o.type==="stop"&&i.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,e,r){var i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var{stops:a}=i,o=this.getGradient(t,e);if(!o)return this.addParentOpacity(r,a[a.length-1].color);if(a.forEach(L=>{o.addColorStop(L.offset,this.addParentOpacity(r,L.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:c}=s.screen,[p]=c.viewPorts,E=new Er(s,null);E.attributes.x=new q(s,"x",-u/3),E.attributes.y=new q(s,"y",-u/3),E.attributes.width=new q(s,"width",u),E.attributes.height=new q(s,"height",u);var O=new Je(s,null);O.attributes.transform=new q(s,"transform",this.getAttribute("gradientTransform").getValue()),O.children=[E];var m=new Be(s,null);m.attributes.x=new q(s,"x",0),m.attributes.y=new q(s,"y",0),m.attributes.width=new q(s,"width",p.width),m.attributes.height=new q(s,"height",p.height),m.children=[O];var D=s.createCanvas(p.width,p.height),V=D.getContext("2d");return V.fillStyle=o,m.render(V),V.createPattern(D,"no-repeat")}return o}inheritStopContainer(t){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())})}addParentOpacity(t,e){if(t.hasValue()){var r=new q(this.document,"color",e);return r.addOpacity(t).getColor()}return e}}class qr extends Or{constructor(t,e,r){super(t,e,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,e){var r=this.getGradientUnits()==="objectBoundingBox",i=r?e.getBoundingBox(t):null;if(r&&!i)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var a=r?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=r?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=r?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=r?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return a===s&&o===u?null:t.createLinearGradient(a,o,s,u)}}class _r extends Or{constructor(t,e,r){super(t,e,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,e){var r=this.getGradientUnits()==="objectBoundingBox",i=e.getBoundingBox(t);if(r&&!i)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var a=r?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=r?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=a,u=o;this.getAttribute("fx").hasValue()&&(s=r?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=r?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var c=r?(i.width+i.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),p=this.getAttribute("fr").getPixels();return t.createRadialGradient(s,u,p,a,o,c)}}class tn extends Ct{constructor(t,e,r){super(t,e,r),this.type="stop";var i=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),a=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);o.getString()===""&&o.setValue("#000"),a.hasValue()&&(o=o.addOpacity(a)),this.offset=i,this.color=o.getColor()}}class qe extends Ct{constructor(t,e,r){super(t,e,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new q(t,"values",null);var i=this.getAttribute("values");i.hasValue()&&this.values.setValue(i.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return t==="CSS"?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:t}=this,{progress:e,from:r,to:i}=this.getProgress(),a=r.getNumber()+(i.getNumber()-r.getNumber())*e;return t==="%"&&(a*=100),"".concat(a).concat(t)}update(t){var{parent:e}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(i==="freeze"&&!this.frozen)this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();else if(i==="remove"&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=t;var a=!1;if(this.begin{var c=a[u];return s+(c-s)*t}).join(" ");return o}}class nn extends Ct{constructor(t,e,r){super(t,e,r),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:i}=t,{children:a}=this;for(var o of a)switch(o.type){case"font-face":{this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(i[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=o;break;case"glyph":{var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]=="undefined"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u;break}}}render(){}}class an extends Ct{constructor(t,e,r){super(t,e,r),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class sn extends xt{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class on extends se{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}class un extends se{constructor(t,e,r){super(t,e,r),this.type="a";var{childNodes:i}=e,a=i[0],o=i.length>0&&Array.from(i).every(s=>s.nodeType===3);this.hasText=o,this.text=o?this.getTextFromNode(a):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:e,x:r,y:i}=this,{mouse:a}=e.screen,o=new q(e,"fontSize",zt.parse(e.ctx.font).fontSize);a.isWorking()&&a.checkBoundingBox(this,new kt(r,i-o.getPixels("y"),r+this.measureText(t),i))}else if(this.children.length>0){var s=new Je(this.document,null);s.children=this.children,s.parent=this,s.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){var t=this.document.ctx;t.canvas.style.cursor="pointer"}}function ln(h,t){var e=Object.keys(h);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(h);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(h,i).enumerable})),e.push.apply(e,r)}return e}function _e(h){for(var t=1;t{var{type:i,points:a}=r;switch(i){case it.LINE_TO:t&&t.lineTo(a[0],a[1]);break;case it.MOVE_TO:t&&t.moveTo(a[0],a[1]);break;case it.CURVE_TO:t&&t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);break;case it.QUAD_TO:t&&t.quadraticCurveTo(a[0],a[1],a[2],a[3]);break;case it.ARC:{var[o,s,u,c,p,E,O,m]=a,D=u>c?u:c,V=u>c?1:u/c,L=u>c?c/u:1;t&&(t.translate(o,s),t.rotate(O),t.scale(V,L),t.arc(0,0,D,p,p+E,!!(1-m)),t.scale(1/V,1/L),t.rotate(-O),t.translate(-o,-s));break}case it.CLOSE_PATH:t&&t.closePath();break}})}renderChildren(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:i}=this,a=t.fillStyle;e==="underline"&&t.beginPath(),i.forEach((o,s)=>{var{p0:u,p1:c,rotation:p,text:E}=o;t.save(),t.translate(u.x,u.y),t.rotate(p),t.fillStyle&&t.fillText(E,0,0),t.strokeStyle&&t.strokeText(E,0,0),t.restore(),e==="underline"&&(s===0&&t.moveTo(u.x,u.y+r/8),t.lineTo(c.x,c.y+r/5))}),e==="underline"&&(t.lineWidth=r/20,t.strokeStyle=a,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[t]||0}findSegmentToFitChar(t,e,r,i,a,o,s,u,c){var p=o,E=this.measureText(t,u);u===" "&&e==="justify"&&r-1&&(p+=this.getLetterSpacingAt(c));var O=this.textHeight/20,m=this.getEquidistantPointOnPath(p,O,0),D=this.getEquidistantPointOnPath(p+E,O,0),V={p0:m,p1:D},L=m&&D?Math.atan2(D.y-m.y,D.x-m.x):0;if(s){var U=Math.cos(Math.PI/2+L)*s,K=Math.cos(-L)*s;V.p0=_e(_e({},m),{},{x:m.x+U,y:m.y+K}),V.p1=_e(_e({},D),{},{x:D.x+U,y:D.y+K})}return p+=E,{offset:p,segment:V,rotation:L}}measureText(t,e){var{measuresCache:r}=this,i=e||this.getText();if(r.has(i))return r.get(i);var a=this.measureTargetText(t,i);return r.set(i,a),a}setTextData(t){if(!this.glyphInfo){var e=this.getText(),r=e.split(""),i=e.split(" ").length-1,a=this.parent.getAttribute("dx").split().map(z=>z.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),c=this.parent.getStyle("letter-spacing"),p=0;!u.hasValue()||u.getValue()==="inherit"?p=c.getPixels():u.hasValue()&&u.getValue()!=="initial"&&u.getValue()!=="unset"&&(p=u.getPixels());var E=[],O=e.length;this.letterSpacingCache=E;for(var m=0;mat===0?0:z+rt||0,0),V=this.measureText(t),L=Math.max(V+D,0);this.textWidth=V,this.textHeight=this.getFontSize(),this.glyphInfo=[];var U=this.getPathLength(),K=this.getStyle("startOffset").getNumber(0)*U,G=0;(s==="middle"||s==="center")&&(G=-L/2),(s==="end"||s==="right")&&(G=-L),G+=K,r.forEach((z,rt)=>{var{offset:at,segment:H,rotation:ct}=this.findSegmentToFitChar(t,s,L,U,i,G,o,z,rt);G=at,!(!H.p0||!H.p1)&&this.glyphInfo.push({text:r[rt],p0:H.p0,p1:H.p1,rotation:ct})})}}parsePathData(t){if(this.pathLength=-1,!t)return[];var e=[],{pathParser:r}=t;for(r.reset();!r.isEnd();){var{current:i}=r,a=i?i.x:0,o=i?i.y:0,s=r.next(),u=s.type,c=[];switch(s.type){case it.MOVE_TO:this.pathM(r,c);break;case it.LINE_TO:u=this.pathL(r,c);break;case it.HORIZ_LINE_TO:u=this.pathH(r,c);break;case it.VERT_LINE_TO:u=this.pathV(r,c);break;case it.CURVE_TO:this.pathC(r,c);break;case it.SMOOTH_CURVE_TO:u=this.pathS(r,c);break;case it.QUAD_TO:this.pathQ(r,c);break;case it.SMOOTH_QUAD_TO:u=this.pathT(r,c);break;case it.ARC:c=this.pathA(r);break;case it.CLOSE_PATH:xt.pathZ(r);break}s.type!==it.CLOSE_PATH?e.push({type:u,points:c,start:{x:a,y:o},pathLength:this.calcLength(a,o,u,c)}):e.push({type:it.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(t,e){var{x:r,y:i}=xt.pathM(t).point;e.push(r,i)}pathL(t,e){var{x:r,y:i}=xt.pathL(t).point;return e.push(r,i),it.LINE_TO}pathH(t,e){var{x:r,y:i}=xt.pathH(t).point;return e.push(r,i),it.LINE_TO}pathV(t,e){var{x:r,y:i}=xt.pathV(t).point;return e.push(r,i),it.LINE_TO}pathC(t,e){var{point:r,controlPoint:i,currentPoint:a}=xt.pathC(t);e.push(r.x,r.y,i.x,i.y,a.x,a.y)}pathS(t,e){var{point:r,controlPoint:i,currentPoint:a}=xt.pathS(t);return e.push(r.x,r.y,i.x,i.y,a.x,a.y),it.CURVE_TO}pathQ(t,e){var{controlPoint:r,currentPoint:i}=xt.pathQ(t);e.push(r.x,r.y,i.x,i.y)}pathT(t,e){var{controlPoint:r,currentPoint:i}=xt.pathT(t);return e.push(r.x,r.y,i.x,i.y),it.QUAD_TO}pathA(t){var{rX:e,rY:r,sweepFlag:i,xAxisRotation:a,centp:o,a1:s,ad:u}=xt.pathA(t);return i===0&&u>0&&(u-=2*Math.PI),i===1&&u<0&&(u+=2*Math.PI),[o.x,o.y,e,r,s,u,a,i]}calcLength(t,e,r,i){var a=0,o=null,s=null,u=0;switch(r){case it.LINE_TO:return this.getLineLength(t,e,i[0],i[1]);case it.CURVE_TO:for(a=0,o=this.getPointOnCubicBezier(0,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),a+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return a;case it.QUAD_TO:for(a=0,o=this.getPointOnQuadraticBezier(0,t,e,i[0],i[1],i[2],i[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,t,e,i[0],i[1],i[2],i[3]),a+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return a;case it.ARC:{a=0;var c=i[4],p=i[5],E=i[4]+p,O=Math.PI/180;if(Math.abs(c-E)E;u-=O)s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),a+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=c+O;u5&&arguments[5]!==void 0?arguments[5]:e,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:r,u=(a-r)/(i-e+ae),c=Math.sqrt(t*t/(1+u*u));ie)return null;var{dataArray:a}=this;for(var o of a){if(o&&(o.pathLength<5e-5||r+o.pathLength+5e-5=0&&u>E)break;i=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break}case it.CURVE_TO:u=s/o.pathLength,u>1&&(u=1),i=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case it.QUAD_TO:u=s/o.pathLength,u>1&&(u=1),i=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3]);break}if(i)return i;break}return null}getLineLength(t,e,r,i){return Math.sqrt((r-t)*(r-t)+(i-e)*(i-e))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((t,e)=>e.pathLength>0?t+e.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,e,r,i,a,o,s,u,c){var p=u*hr(t)+o*fr(t)+i*cr(t)+e*vr(t),E=c*hr(t)+s*fr(t)+a*cr(t)+r*vr(t);return{x:p,y:E}}getPointOnQuadraticBezier(t,e,r,i,a,o,s){var u=o*gr(t)+i*dr(t)+e*pr(t),c=s*gr(t)+a*dr(t)+r*pr(t);return{x:u,y:c}}getPointOnEllipticalArc(t,e,r,i,a,o){var s=Math.cos(o),u=Math.sin(o),c={x:r*Math.cos(a),y:i*Math.sin(a)};return{x:t+(c.x*s-c.y*u),y:e+(c.x*u+c.y*s)}}buildEquidistantCache(t,e){var r=this.getPathLength(),i=e||.25,a=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==a||this.equidistantCache.precision!==i){this.equidistantCache={step:a,precision:i,points:[]};for(var o=0,s=0;s<=r;s+=i){var u=this.getPointOnPath(s),c=this.getPointOnPath(s+i);!u||!c||(o+=this.getLineLength(u.x,u.y,c.x,c.y),o>=a&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=a))}}}getEquidistantPointOnPath(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var i=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}var Bn=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class fn extends Oe{constructor(t,e,r){super(t,e,r),this.type="image",this.loaded=!1;var i=this.getHrefAttribute().getString();if(i){var a=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);t.images.push(this),a?this.loadSvg(i):this.loadImage(i),this.isSvg=a}}loadImage(t){var e=this;return(0,f.Z)(function*(){try{var r=yield e.document.createImage(t);e.image=r}catch(i){console.error('Error while loading image "'.concat(t,'":'),i)}e.loaded=!0})()}loadSvg(t){var e=this;return(0,f.Z)(function*(){var r=Bn.exec(t);if(r){var i=r[5];r[4]==="base64"?e.image=atob(i):e.image=decodeURIComponent(i)}else try{var a=yield e.document.fetch(t),o=yield a.text();e.image=o}catch(s){console.error('Error while loading image "'.concat(t,'":'),s)}e.loaded=!0})()}renderChildren(t){var{document:e,image:r,loaded:i}=this,a=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!(!i||!r||!s||!u)){if(t.save(),t.translate(a,o),this.isSvg){var c=e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});c.document.documentElement.parent=this,c.render()}else{var p=this.image;e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:p.width,height:u,desiredHeight:p.height}),this.loaded&&(typeof p.complete=="undefined"||p.complete)&&t.drawImage(p,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new kt(t,e,t+r,e+i)}}class cn extends Oe{constructor(){super(...arguments),this.type="symbol"}render(t){}}class vn{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var r=this;return(0,f.Z)(function*(){try{var{document:i}=r,a=yield i.canvg.parser.load(e),o=a.getElementsByTagName("font");Array.from(o).forEach(s=>{var u=i.createElement(s);i.definitions[t]=u})}catch(s){console.error('Error while loading font "'.concat(e,'":'),s)}r.loaded=!0})()}}class Sr extends Ct{constructor(t,e,r){super(t,e,r),this.type="style";var i=Kt(Array.from(e.childNodes).map(o=>o.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),a=i.split("}");a.forEach(o=>{var s=o.trim();if(s){var u=s.split("{"),c=u[0].split(","),p=u[1].split(";");c.forEach(E=>{var O=E.trim();if(O){var m=t.styles[O]||{};if(p.forEach(L=>{var U=L.indexOf(":"),K=L.substr(0,U).trim(),G=L.substr(U+1,L.length-U).trim();K&&G&&(m[K]=new q(t,K,G))}),t.styles[O]=m,t.stylesSpecificity[O]=$e(O),O==="@font-face"){var D=m["font-family"].getString().replace(/"|'/g,""),V=m.src.getString().split(",");V.forEach(L=>{if(L.indexOf('format("svg")')>0){var U=W(L);U&&new vn(t).load(D,U)}})}}})}})}}Sr.parseExternalUrl=W;class gn extends Oe{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}path(t){var{element:e}=this;e&&e.path(t)}renderChildren(t){var{document:e,element:r}=this;if(r){var i=r;if(r.type==="symbol"&&(i=new Be(e,null),i.attributes.viewBox=new q(e,"viewBox",r.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new q(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new q(e,"overflow",r.getAttribute("overflow").getString()),i.children=r.children,r.styles.opacity=new q(e,"opacity",this.calculateOpacity())),i.type==="svg"){var a=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);a.hasValue()&&(i.attributes.width=new q(e,"width",a.getString())),o.hasValue()&&(i.attributes.height=new q(e,"height",o.getString()))}var s=i.parent;i.parent=this,i.render(t),i.parent=s}}getBoundingBox(t){var{element:e}=this;return e?e.getBoundingBox(t):null}elementTransform(){var{document:t,element:e}=this;return Te.fromElement(t,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function tr(h,t,e,r,i,a){return h[e*r*4+t*4+a]}function er(h,t,e,r,i,a,o){h[e*r*4+t*4+a]=o}function Dt(h,t,e){var r=h[t];return r*e}function oe(h,t,e,r){return t+Math.cos(h)*e+Math.sin(h)*r}class br extends Ct{constructor(t,e,r){super(t,e,r),this.type="feColorMatrix";var i=It(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var a=i[0];i=[.213+.787*a,.715-.715*a,.072-.072*a,0,0,.213-.213*a,.715+.285*a,.072-.072*a,0,0,.213-.213*a,.715-.715*a,.072+.928*a,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var o=i[0]*Math.PI/180;i=[oe(o,.213,.787,-.213),oe(o,.715,-.715,-.715),oe(o,.072,-.072,.928),0,0,oe(o,.213,-.213,.143),oe(o,.715,.285,.14),oe(o,.072,-.072,-.283),0,0,oe(o,.213,-.213,-.787),oe(o,.715,-.715,.715),oe(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=i,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,e,r,i,a){for(var{includeOpacity:o,matrix:s}=this,u=t.getImageData(0,0,i,a),c=0;c{u.addBoundingBox(D.getBoundingBox(t))}),i=Math.floor(u.x1),a=Math.floor(u.y1),o=Math.floor(u.width),s=Math.floor(u.height)}var c=this.removeStyles(e,Xe.ignoreStyles),p=r.createCanvas(i+o,a+s),E=p.getContext("2d");r.screen.setDefaults(E),this.renderChildren(E),new br(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(E,0,0,i+o,a+s);var O=r.createCanvas(i+o,a+s),m=O.getContext("2d");r.screen.setDefaults(m),e.render(m),m.globalCompositeOperation="destination-in",m.fillStyle=E.createPattern(p,"no-repeat"),m.fillRect(0,0,i+o,a+s),t.fillStyle=m.createPattern(O,"no-repeat"),t.fillRect(0,0,i+o,a+s),this.restoreStyles(e,c)}render(t){}}Xe.ignoreStyles=["mask","transform","clip-path"];var dn=()=>{};class pn extends Ct{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:e}=this,r=Reflect.getPrototypeOf(t),{beginPath:i,closePath:a}=t;r&&(r.beginPath=dn,r.closePath=dn),Reflect.apply(i,t,[]),this.children.forEach(o=>{if(typeof o.path!="undefined"){var s=typeof o.elementTransform!="undefined"?o.elementTransform():null;s||(s=Te.fromElement(e,o)),s&&s.apply(t),o.path(t),r&&(r.closePath=a),s&&s.unapply(t)}}),Reflect.apply(a,t,[]),t.clip(),r&&(r.beginPath=i,r.closePath=a)}render(t){}}class We extends Ct{constructor(){super(...arguments),this.type="filter"}apply(t,e){var{document:r,children:i}=this,a=e.getBoundingBox(t);if(a){var o=0,s=0;i.forEach(U=>{var K=U.extraFilterDistance||0;o=Math.max(o,K),s=Math.max(s,K)});var u=Math.floor(a.width),c=Math.floor(a.height),p=u+2*o,E=c+2*s;if(!(p<1||E<1)){var O=Math.floor(a.x),m=Math.floor(a.y),D=this.removeStyles(e,We.ignoreStyles),V=r.createCanvas(p,E),L=V.getContext("2d");r.screen.setDefaults(L),L.translate(-O+o,-m+s),e.render(L),i.forEach(U=>{typeof U.apply=="function"&&U.apply(L,0,0,p,E)}),t.drawImage(V,0,0,p,E,O-o,m-s,p,E),this.restoreStyles(e,D)}}}render(t){}}We.ignoreStyles=["filter","transform","clip-path"];class yn extends Ct{constructor(t,e,r){super(t,e,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,e,r,i,a){}}class mn extends Ct{constructor(){super(...arguments),this.type="feMorphology"}apply(t,e,r,i,a){}}class xn extends Ct{constructor(){super(...arguments),this.type="feComposite"}apply(t,e,r,i,a){}}class En extends Ct{constructor(t,e,r){super(t,e,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,e,r,i,a){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,c=t.canvas;c.id=o.getUniqueId(),u&&(c.style.display="none",u.appendChild(c)),he(c,e,r,i,a,s),u&&u.removeChild(c)}}class Tn extends Ct{constructor(){super(...arguments),this.type="title"}}class On extends Ct{constructor(){super(...arguments),this.type="desc"}}var Fn={svg:Be,rect:Er,circle:Xr,ellipse:Wr,line:Qr,polyline:Tr,polygon:Zr,path:xt,pattern:Kr,marker:kr,defs:Jr,linearGradient:qr,radialGradient:_r,stop:tn,animate:qe,animateColor:en,animateTransform:rn,font:nn,"font-face":an,"missing-glyph":sn,glyph:xr,text:se,tspan:Ye,tref:on,a:un,textPath:hn,image:fn,g:Je,symbol:cn,style:Sr,use:gn,mask:Xe,clipPath:pn,filter:We,feDropShadow:yn,feMorphology:mn,feComposite:xn,feColorMatrix:br,feGaussianBlur:En,title:Tn,desc:On};function Sn(h,t){var e=Object.keys(h);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(h);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(h,i).enumerable})),e.push.apply(e,r)}return e}function Un(h){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:!1,e=document.createElement("img");return t&&(e.crossOrigin="Anonymous"),new Promise((r,i)=>{e.onload=()=>{r(e)},e.onerror=(a,o,s,u,c)=>{i(c)},e.src=h})}),Cr.apply(this,arguments)}class ue{constructor(t){var{rootEmSize:e=12,emSize:r=12,createCanvas:i=ue.createCanvas,createImage:a=ue.createImage,anonymousCrossOrigin:o}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=t,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=e,this.emSize=r,this.createCanvas=i,this.createImage=this.bindCreateImage(a,o),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,e){return typeof e=="boolean"?(r,i)=>t(r,typeof i=="boolean"?i:e):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:e}=this;e.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(t=>t.loaded)}isFontsLoaded(){return this.fonts.every(t=>t.loaded)}createDocumentElement(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}createElement(t){var e=t.nodeName.replace(/^[^:]+:/,""),r=ue.elementTypes[e];return typeof r!="undefined"?new r(this,t):new Yr(this,t)}createTextNode(t){return new Ln(this,t)}setViewBox(t){this.screen.setViewBox(Un({document:this},t))}}ue.createCanvas=jn,ue.createImage=Gn,ue.elementTypes=Fn;function bn(h,t){var e=Object.keys(h);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(h);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(h,i).enumerable})),e.push.apply(e,r)}return e}function Re(h){for(var t=1;t2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new ke(r),this.screen=new He(t,r),this.options=r;var i=new ue(this,r),a=i.createDocumentElement(e);this.document=i,this.documentElement=a}static from(t,e){var r=arguments;return(0,f.Z)(function*(){var i=r.length>2&&r[2]!==void 0?r[2]:{},a=new ke(i),o=yield a.parse(e);return new Ne(t,o,i)})()}static fromString(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=new ke(r),a=i.parseFromString(e);return new Ne(t,a,r)}fork(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ne.from(t,e,Re(Re({},this.options),r))}forkString(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ne.fromString(t,e,Re(Re({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return(0,f.Z)(function*(){var r=t.length>0&&t[0]!==void 0?t[0]:{};e.start(Re({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield e.ready(),e.stop()})()}start(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:e,screen:r,options:i}=this;r.start(e,Re(Re({enableRedraw:!0},i),t))}stop(){this.screen.stop()}resize(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(t,e,r)}}}}]); +(self.webpackChunk=self.webpackChunk||[]).push([[3754],{94907:function(d,S,n){var l=n(97671);(function(){var f,v,g,y,T,x;typeof performance!="undefined"&&performance!==null&&performance.now?d.exports=function(){return performance.now()}:typeof l!="undefined"&&l!==null&&l.hrtime?(d.exports=function(){return(f()-T)/1e6},v=l.hrtime,f=function(){var b;return b=v(),b[0]*1e9+b[1]},y=f(),x=l.uptime()*1e9,T=y-x):Date.now?(d.exports=function(){return Date.now()-g},g=Date.now()):(d.exports=function(){return new Date().getTime()-g},g=new Date().getTime())}).call(this)},32772:function(d,S,n){for(var l=n(94907),f=typeof window=="undefined"?n.g:window,v=["moz","webkit"],g="AnimationFrame",y=f["request"+g],T=f["cancel"+g]||f["cancelRequest"+g],x=0;!y&&x3&&(this.alpha=T[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var x=this.r.toString(16),b=this.g.toString(16),C=this.b.toString(16);return x.length==1&&(x="0"+x),b.length==1&&(b="0"+b),C.length==1&&(C="0"+C),"#"+x+b+C},this.getHelpXML=function(){for(var x=new Array,b=0;b "+I.toRGB()+" -> "+I.toHex());M.appendChild(w),M.appendChild(F),P.appendChild(M)}catch(j){}return P}}},50546:function(d,S,n){"use strict";var l=n(90910),f=n(27369),v=TypeError;d.exports=function(g){if(l(g))return g;throw new v(f(g)+" is not a function")}},60199:function(d,S,n){"use strict";var l=n(10881),f=n(27369),v=TypeError;d.exports=function(g){if(l(g))return g;throw new v(f(g)+" is not a constructor")}},23310:function(d,S,n){"use strict";var l=n(37963),f=String,v=TypeError;d.exports=function(g){if(l(g))return g;throw new v("Can't set "+f(g)+" as a prototype")}},26304:function(d,S,n){"use strict";var l=n(33323),f=n(48279),v=n(895).f,g=l("unscopables"),y=Array.prototype;y[g]===void 0&&v(y,g,{configurable:!0,value:f(null)}),d.exports=function(T){y[g][T]=!0}},79323:function(d,S,n){"use strict";var l=n(77941).charAt;d.exports=function(f,v,g){return v+(g?l(f,v).length:1)}},69669:function(d,S,n){"use strict";var l=n(38023),f=TypeError;d.exports=function(v,g){if(l(g,v))return v;throw new f("Incorrect invocation")}},91896:function(d,S,n){"use strict";var l=n(30346),f=String,v=TypeError;d.exports=function(g){if(l(g))return g;throw new v(f(g)+" is not an object")}},46135:function(d,S,n){"use strict";var l=n(19225),f=n(98398),v=n(12934),g=function(y){return function(T,x,b){var C=l(T),A=v(C);if(A===0)return!y&&-1;var R=f(b,A),P;if(y&&x!==x){for(;A>R;)if(P=C[R++],P!==P)return!0}else for(;A>R;R++)if((y||R in C)&&C[R]===x)return y||R||0;return!y&&-1}};d.exports={includes:g(!0),indexOf:g(!1)}},41766:function(d,S,n){"use strict";var l=n(21773);d.exports=function(f,v){var g=[][f];return!!g&&l(function(){g.call(null,v||function(){return 1},1)})}},34886:function(d,S,n){"use strict";var l=n(50546),f=n(33972),v=n(6781),g=n(12934),y=TypeError,T="Reduce of empty array with no initial value",x=function(b){return function(C,A,R,P){var M=f(C),I=v(M),w=g(M);if(l(A),w===0&&R<2)throw new y(T);var F=b?w-1:0,Y=b?-1:1;if(R<2)for(;;){if(F in I){P=I[F],F+=Y;break}if(F+=Y,b?F<0:w<=F)throw new y(T)}for(;b?F>=0:w>F;F+=Y)F in I&&(P=A(P,I[F],F,M));return P}};d.exports={left:x(!1),right:x(!0)}},14011:function(d,S,n){"use strict";var l=n(90839);d.exports=l([].slice)},53531:function(d,S,n){"use strict";var l=n(33323),f=l("iterator"),v=!1;try{var g=0,y={next:function(){return{done:!!g++}},return:function(){v=!0}};y[f]=function(){return this},Array.from(y,function(){throw 2})}catch(T){}d.exports=function(T,x){try{if(!x&&!v)return!1}catch(A){return!1}var b=!1;try{var C={};C[f]=function(){return{next:function(){return{done:b=!0}}}},T(C)}catch(A){}return b}},71338:function(d,S,n){"use strict";var l=n(90839),f=l({}.toString),v=l("".slice);d.exports=function(g){return v(f(g),8,-1)}},73426:function(d,S,n){"use strict";var l=n(52311),f=n(90910),v=n(71338),g=n(33323),y=g("toStringTag"),T=Object,x=v(function(){return arguments}())==="Arguments",b=function(C,A){try{return C[A]}catch(R){}};d.exports=l?v:function(C){var A,R,P;return C===void 0?"Undefined":C===null?"Null":typeof(R=b(A=T(C),y))=="string"?R:x?v(A):(P=v(A))==="Object"&&f(A.callee)?"Arguments":P}},16120:function(d,S,n){"use strict";var l=n(3159),f=n(46394),v=n(75991),g=n(895);d.exports=function(y,T,x){for(var b=f(T),C=g.f,A=v.f,R=0;R0&&x[0]<4?1:+(x[0]+x[1])),!b&&f&&(x=f.match(/Edge\/(\d+)/),(!x||x[1]>=74)&&(x=f.match(/Chrome\/(\d+)/),x&&(b=+x[1]))),d.exports=b},47060:function(d,S,n){"use strict";var l=n(74346),f=n(59473),v=n(71338),g=function(y){return f.slice(0,y.length)===y};d.exports=function(){return g("Bun/")?"BUN":g("Cloudflare-Workers")?"CLOUDFLARE":g("Deno/")?"DENO":g("Node.js/")?"NODE":l.Bun&&typeof Bun.version=="string"?"BUN":l.Deno&&typeof Deno.version=="object"?"DENO":v(l.process)==="process"?"NODE":l.window&&l.document?"BROWSER":"REST"}()},46049:function(d,S,n){"use strict";var l=n(74346),f=n(75991).f,v=n(35781),g=n(43685),y=n(70442),T=n(16120),x=n(90347);d.exports=function(b,C){var A=b.target,R=b.global,P=b.stat,M,I,w,F,Y,j;if(R?I=l:P?I=l[A]||y(A,{}):I=l[A]&&l[A].prototype,I)for(w in C){if(Y=C[w],b.dontCallGetSet?(j=f(I,w),F=j&&j.value):F=I[w],M=x(R?w:A+(P?".":"#")+w,b.forced),!M&&F!==void 0){if(typeof Y==typeof F)continue;T(Y,F)}(b.sham||F&&F.sham)&&v(Y,"sham",!0),g(I,w,Y,b)}}},21773:function(d){"use strict";d.exports=function(S){try{return!!S()}catch(n){return!0}}},80144:function(d,S,n){"use strict";n(25711);var l=n(14519),f=n(43685),v=n(91754),g=n(21773),y=n(33323),T=n(35781),x=y("species"),b=RegExp.prototype;d.exports=function(C,A,R,P){var M=y(C),I=!g(function(){var j={};return j[M]=function(){return 7},""[C](j)!==7}),w=I&&!g(function(){var j=!1,B=/a/;if(C==="split"){var $={};$[x]=function(){return B},B={constructor:$,flags:""},B[M]=/./[M]}return B.exec=function(){return j=!0,null},B[M](""),!j});if(!I||!w||R){var F=/./[M],Y=A(M,""[C],function(j,B,$,X,Q){var _=B.exec;return _===v||_===b.exec?I&&!Q?{done:!0,value:l(F,B,$,X)}:{done:!0,value:l(j,$,B,X)}:{done:!1}});f(String.prototype,C,Y[0]),f(b,M,Y[1])}P&&T(b[M],"sham",!0)}},25322:function(d,S,n){"use strict";var l=n(21589),f=Function.prototype,v=f.apply,g=f.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(l?g.bind(v):function(){return g.apply(v,arguments)})},64769:function(d,S,n){"use strict";var l=n(23680),f=n(50546),v=n(21589),g=l(l.bind);d.exports=function(y,T){return f(y),T===void 0?y:v?g(y,T):function(){return y.apply(T,arguments)}}},21589:function(d,S,n){"use strict";var l=n(21773);d.exports=!l(function(){var f=function(){}.bind();return typeof f!="function"||f.hasOwnProperty("prototype")})},14519:function(d,S,n){"use strict";var l=n(21589),f=Function.prototype.call;d.exports=l?f.bind(f):function(){return f.apply(f,arguments)}},4405:function(d,S,n){"use strict";var l=n(88851),f=n(3159),v=Function.prototype,g=l&&Object.getOwnPropertyDescriptor,y=f(v,"name"),T=y&&function(){}.name==="something",x=y&&(!l||l&&g(v,"name").configurable);d.exports={EXISTS:y,PROPER:T,CONFIGURABLE:x}},95857:function(d,S,n){"use strict";var l=n(90839),f=n(50546);d.exports=function(v,g,y){try{return l(f(Object.getOwnPropertyDescriptor(v,g)[y]))}catch(T){}}},23680:function(d,S,n){"use strict";var l=n(71338),f=n(90839);d.exports=function(v){if(l(v)==="Function")return f(v)}},90839:function(d,S,n){"use strict";var l=n(21589),f=Function.prototype,v=f.call,g=l&&f.bind.bind(v,v);d.exports=l?g:function(y){return function(){return v.apply(y,arguments)}}},43824:function(d,S,n){"use strict";var l=n(74346),f=n(90910),v=function(g){return f(g)?g:void 0};d.exports=function(g,y){return arguments.length<2?v(l[g]):l[g]&&l[g][y]}},20927:function(d,S,n){"use strict";var l=n(73426),f=n(14539),v=n(89374),g=n(79166),y=n(33323),T=y("iterator");d.exports=function(x){if(!v(x))return f(x,T)||f(x,"@@iterator")||g[l(x)]}},753:function(d,S,n){"use strict";var l=n(14519),f=n(50546),v=n(91896),g=n(27369),y=n(20927),T=TypeError;d.exports=function(x,b){var C=arguments.length<2?y(x):b;if(f(C))return v(l(C,x));throw new T(g(x)+" is not iterable")}},14539:function(d,S,n){"use strict";var l=n(50546),f=n(89374);d.exports=function(v,g){var y=v[g];return f(y)?void 0:l(y)}},99659:function(d,S,n){"use strict";var l=n(90839),f=n(33972),v=Math.floor,g=l("".charAt),y=l("".replace),T=l("".slice),x=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b=/\$([$&'`]|\d{1,2})/g;d.exports=function(C,A,R,P,M,I){var w=R+C.length,F=P.length,Y=b;return M!==void 0&&(M=f(M),Y=x),y(I,Y,function(j,B){var $;switch(g(B,0)){case"$":return"$";case"&":return C;case"`":return T(A,0,R);case"'":return T(A,w);case"<":$=M[T(B,1,-1)];break;default:var X=+B;if(X===0)return j;if(X>F){var Q=v(X/10);return Q===0?j:Q<=F?P[Q-1]===void 0?g(B,1):P[Q-1]+g(B,1):j}$=P[X-1]}return $===void 0?"":$})}},74346:function(d,S,n){"use strict";var l=function(f){return f&&f.Math===Math&&f};d.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof n.g=="object"&&n.g)||l(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},3159:function(d,S,n){"use strict";var l=n(90839),f=n(33972),v=l({}.hasOwnProperty);d.exports=Object.hasOwn||function(y,T){return v(f(y),T)}},96631:function(d){"use strict";d.exports={}},83375:function(d){"use strict";d.exports=function(S,n){try{arguments.length===1?console.error(S):console.error(S,n)}catch(l){}}},35291:function(d,S,n){"use strict";var l=n(43824);d.exports=l("document","documentElement")},34482:function(d,S,n){"use strict";var l=n(88851),f=n(21773),v=n(87358);d.exports=!l&&!f(function(){return Object.defineProperty(v("div"),"a",{get:function(){return 7}}).a!==7})},6781:function(d,S,n){"use strict";var l=n(90839),f=n(21773),v=n(71338),g=Object,y=l("".split);d.exports=f(function(){return!g("z").propertyIsEnumerable(0)})?function(T){return v(T)==="String"?y(T,""):g(T)}:g},60750:function(d,S,n){"use strict";var l=n(90839),f=n(90910),v=n(86796),g=l(Function.toString);f(v.inspectSource)||(v.inspectSource=function(y){return g(y)}),d.exports=v.inspectSource},73189:function(d,S,n){"use strict";var l=n(31487),f=n(74346),v=n(30346),g=n(35781),y=n(3159),T=n(86796),x=n(45529),b=n(96631),C="Object already initialized",A=f.TypeError,R=f.WeakMap,P,M,I,w=function(B){return I(B)?M(B):P(B,{})},F=function(B){return function($){var X;if(!v($)||(X=M($)).type!==B)throw new A("Incompatible receiver, "+B+" required");return X}};if(l||T.state){var Y=T.state||(T.state=new R);Y.get=Y.get,Y.has=Y.has,Y.set=Y.set,P=function(B,$){if(Y.has(B))throw new A(C);return $.facade=B,Y.set(B,$),$},M=function(B){return Y.get(B)||{}},I=function(B){return Y.has(B)}}else{var j=x("state");b[j]=!0,P=function(B,$){if(y(B,j))throw new A(C);return $.facade=B,g(B,j,$),$},M=function(B){return y(B,j)?B[j]:{}},I=function(B){return y(B,j)}}d.exports={set:P,get:M,has:I,enforce:w,getterFor:F}},22608:function(d,S,n){"use strict";var l=n(33323),f=n(79166),v=l("iterator"),g=Array.prototype;d.exports=function(y){return y!==void 0&&(f.Array===y||g[v]===y)}},81639:function(d,S,n){"use strict";var l=n(71338);d.exports=Array.isArray||function(v){return l(v)==="Array"}},90910:function(d){"use strict";var S=typeof document=="object"&&document.all;d.exports=typeof S=="undefined"&&S!==void 0?function(n){return typeof n=="function"||n===S}:function(n){return typeof n=="function"}},10881:function(d,S,n){"use strict";var l=n(90839),f=n(21773),v=n(90910),g=n(73426),y=n(43824),T=n(60750),x=function(){},b=y("Reflect","construct"),C=/^\s*(?:class|function)\b/,A=l(C.exec),R=!C.test(x),P=function(w){if(!v(w))return!1;try{return b(x,[],w),!0}catch(F){return!1}},M=function(w){if(!v(w))return!1;switch(g(w)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return R||!!A(C,T(w))}catch(F){return!0}};M.sham=!0,d.exports=!b||f(function(){var I;return P(P.call)||!P(Object)||!P(function(){I=!0})||I})?M:P},90347:function(d,S,n){"use strict";var l=n(21773),f=n(90910),v=/#|\.prototype\./,g=function(C,A){var R=T[y(C)];return R===b?!0:R===x?!1:f(A)?l(A):!!A},y=g.normalize=function(C){return String(C).replace(v,".").toLowerCase()},T=g.data={},x=g.NATIVE="N",b=g.POLYFILL="P";d.exports=g},89374:function(d){"use strict";d.exports=function(S){return S==null}},30346:function(d,S,n){"use strict";var l=n(90910);d.exports=function(f){return typeof f=="object"?f!==null:l(f)}},37963:function(d,S,n){"use strict";var l=n(30346);d.exports=function(f){return l(f)||f===null}},74206:function(d){"use strict";d.exports=!1},43907:function(d,S,n){"use strict";var l=n(30346),f=n(71338),v=n(33323),g=v("match");d.exports=function(y){var T;return l(y)&&((T=y[g])!==void 0?!!T:f(y)==="RegExp")}},88189:function(d,S,n){"use strict";var l=n(43824),f=n(90910),v=n(38023),g=n(81020),y=Object;d.exports=g?function(T){return typeof T=="symbol"}:function(T){var x=l("Symbol");return f(x)&&v(x.prototype,y(T))}},2033:function(d,S,n){"use strict";var l=n(64769),f=n(14519),v=n(91896),g=n(27369),y=n(22608),T=n(12934),x=n(38023),b=n(753),C=n(20927),A=n(66175),R=TypeError,P=function(I,w){this.stopped=I,this.result=w},M=P.prototype;d.exports=function(I,w,F){var Y=F&&F.that,j=!!(F&&F.AS_ENTRIES),B=!!(F&&F.IS_RECORD),$=!!(F&&F.IS_ITERATOR),X=!!(F&&F.INTERRUPTED),Q=l(w,Y),_,k,lt,tt,et,st,ot,yt=function(J){return _&&A(_,"normal"),new P(!0,J)},Z=function(J){return j?(v(J),X?Q(J[0],J[1],yt):Q(J[0],J[1])):X?Q(J,yt):Q(J)};if(B)_=I.iterator;else if($)_=I;else{if(k=C(I),!k)throw new R(g(I)+" is not iterable");if(y(k)){for(lt=0,tt=T(I);tt>lt;lt++)if(et=Z(I[lt]),et&&x(M,et))return et;return new P(!1)}_=b(I,k)}for(st=B?I.next:_.next;!(ot=f(st,_)).done;){try{et=Z(ot.value)}catch(J){A(_,"throw",J)}if(typeof et=="object"&&et&&x(M,et))return et}return new P(!1)}},66175:function(d,S,n){"use strict";var l=n(14519),f=n(91896),v=n(14539);d.exports=function(g,y,T){var x,b;f(g);try{if(x=v(g,"return"),!x){if(y==="throw")throw T;return T}x=l(x,g)}catch(C){b=!0,x=C}if(y==="throw")throw T;if(b)throw x;return f(x),T}},65423:function(d,S,n){"use strict";var l=n(85185).IteratorPrototype,f=n(48279),v=n(52505),g=n(85554),y=n(79166),T=function(){return this};d.exports=function(x,b,C,A){var R=b+" Iterator";return x.prototype=f(l,{next:v(+!A,C)}),g(x,R,!1,!0),y[R]=T,x}},37628:function(d,S,n){"use strict";var l=n(46049),f=n(14519),v=n(74206),g=n(4405),y=n(90910),T=n(65423),x=n(77723),b=n(42288),C=n(85554),A=n(35781),R=n(43685),P=n(33323),M=n(79166),I=n(85185),w=g.PROPER,F=g.CONFIGURABLE,Y=I.IteratorPrototype,j=I.BUGGY_SAFARI_ITERATORS,B=P("iterator"),$="keys",X="values",Q="entries",_=function(){return this};d.exports=function(k,lt,tt,et,st,ot,yt){T(tt,lt,et);var Z=function(Vt){if(Vt===st&&ht)return ht;if(!j&&Vt&&Vt in mt)return mt[Vt];switch(Vt){case $:return function(){return new tt(this,Vt)};case X:return function(){return new tt(this,Vt)};case Q:return function(){return new tt(this,Vt)}}return function(){return new tt(this)}},J=lt+" Iterator",wt=!1,mt=k.prototype,ut=mt[B]||mt["@@iterator"]||st&&mt[st],ht=!j&&ut||Z(st),N=lt==="Array"&&mt.entries||ut,ft,Ut,At;if(N&&(ft=x(N.call(new k)),ft!==Object.prototype&&ft.next&&(!v&&x(ft)!==Y&&(b?b(ft,Y):y(ft[B])||R(ft,B,_)),C(ft,J,!0,!0),v&&(M[J]=_))),w&&st===X&&ut&&ut.name!==X&&(!v&&F?A(mt,"name",X):(wt=!0,ht=function(){return f(ut,this)})),st)if(Ut={values:Z(X),keys:ot?ht:Z($),entries:Z(Q)},yt)for(At in Ut)(j||wt||!(At in mt))&&R(mt,At,Ut[At]);else l({target:lt,proto:!0,forced:j||wt},Ut);return(!v||yt)&&mt[B]!==ht&&R(mt,B,ht,{name:st}),M[lt]=ht,Ut}},85185:function(d,S,n){"use strict";var l=n(21773),f=n(90910),v=n(30346),g=n(48279),y=n(77723),T=n(43685),x=n(33323),b=n(74206),C=x("iterator"),A=!1,R,P,M;[].keys&&(M=[].keys(),"next"in M?(P=y(y(M)),P!==Object.prototype&&(R=P)):A=!0);var I=!v(R)||l(function(){var w={};return R[C].call(w)!==w});I?R={}:b&&(R=g(R)),f(R[C])||T(R,C,function(){return this}),d.exports={IteratorPrototype:R,BUGGY_SAFARI_ITERATORS:A}},79166:function(d){"use strict";d.exports={}},12934:function(d,S,n){"use strict";var l=n(47892);d.exports=function(f){return l(f.length)}},87587:function(d,S,n){"use strict";var l=n(90839),f=n(21773),v=n(90910),g=n(3159),y=n(88851),T=n(4405).CONFIGURABLE,x=n(60750),b=n(73189),C=b.enforce,A=b.get,R=String,P=Object.defineProperty,M=l("".slice),I=l("".replace),w=l([].join),F=y&&!f(function(){return P(function(){},"length",{value:8}).length!==8}),Y=String(String).split("String"),j=d.exports=function(B,$,X){M(R($),0,7)==="Symbol("&&($="["+I(R($),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),X&&X.getter&&($="get "+$),X&&X.setter&&($="set "+$),(!g(B,"name")||T&&B.name!==$)&&(y?P(B,"name",{value:$,configurable:!0}):B.name=$),F&&X&&g(X,"arity")&&B.length!==X.arity&&P(B,"length",{value:X.arity});try{X&&g(X,"constructor")&&X.constructor?y&&P(B,"prototype",{writable:!1}):B.prototype&&(B.prototype=void 0)}catch(_){}var Q=C(B);return g(Q,"source")||(Q.source=w(Y,typeof $=="string"?$:"")),B};Function.prototype.toString=j(function(){return v(this)&&A(this).source||x(this)},"toString")},98067:function(d){"use strict";var S=Math.ceil,n=Math.floor;d.exports=Math.trunc||function(f){var v=+f;return(v>0?n:S)(v)}},71659:function(d,S,n){"use strict";var l=n(74346),f=n(87327),v=n(64769),g=n(70402).set,y=n(27306),T=n(47740),x=n(5960),b=n(3435),C=n(79292),A=l.MutationObserver||l.WebKitMutationObserver,R=l.document,P=l.process,M=l.Promise,I=f("queueMicrotask"),w,F,Y,j,B;if(!I){var $=new y,X=function(){var Q,_;for(C&&(Q=P.domain)&&Q.exit();_=$.get();)try{_()}catch(k){throw $.head&&w(),k}Q&&Q.enter()};!T&&!C&&!b&&A&&R?(F=!0,Y=R.createTextNode(""),new A(X).observe(Y,{characterData:!0}),w=function(){Y.data=F=!F}):!x&&M&&M.resolve?(j=M.resolve(void 0),j.constructor=M,B=v(j.then,j),w=function(){B(X)}):C?w=function(){P.nextTick(X)}:(g=v(g,l),w=function(){g(X)}),I=function(Q){$.head||w(),$.add(Q)}}d.exports=I},18437:function(d,S,n){"use strict";var l=n(50546),f=TypeError,v=function(g){var y,T;this.promise=new g(function(x,b){if(y!==void 0||T!==void 0)throw new f("Bad Promise constructor");y=x,T=b}),this.resolve=l(y),this.reject=l(T)};d.exports.f=function(g){return new v(g)}},72520:function(d,S,n){"use strict";var l=n(43907),f=TypeError;d.exports=function(v){if(l(v))throw new f("The method doesn't accept regular expressions");return v}},48279:function(d,S,n){"use strict";var l=n(91896),f=n(38064),v=n(86846),g=n(96631),y=n(35291),T=n(87358),x=n(45529),b=">",C="<",A="prototype",R="script",P=x("IE_PROTO"),M=function(){},I=function(B){return C+R+b+B+C+"/"+R+b},w=function(B){B.write(I("")),B.close();var $=B.parentWindow.Object;return B=null,$},F=function(){var B=T("iframe"),$="java"+R+":",X;return B.style.display="none",y.appendChild(B),B.src=String($),X=B.contentWindow.document,X.open(),X.write(I("document.F=Object")),X.close(),X.F},Y,j=function(){try{Y=new ActiveXObject("htmlfile")}catch($){}j=typeof document!="undefined"?document.domain&&Y?w(Y):F():w(Y);for(var B=v.length;B--;)delete j[A][v[B]];return j()};g[P]=!0,d.exports=Object.create||function($,X){var Q;return $!==null?(M[A]=l($),Q=new M,M[A]=null,Q[P]=$):Q=j(),X===void 0?Q:f.f(Q,X)}},38064:function(d,S,n){"use strict";var l=n(88851),f=n(92426),v=n(895),g=n(91896),y=n(19225),T=n(74936);S.f=l&&!f?Object.defineProperties:function(b,C){g(b);for(var A=y(C),R=T(C),P=R.length,M=0,I;P>M;)v.f(b,I=R[M++],A[I]);return b}},895:function(d,S,n){"use strict";var l=n(88851),f=n(34482),v=n(92426),g=n(91896),y=n(15843),T=TypeError,x=Object.defineProperty,b=Object.getOwnPropertyDescriptor,C="enumerable",A="configurable",R="writable";S.f=l?v?function(M,I,w){if(g(M),I=y(I),g(w),typeof M=="function"&&I==="prototype"&&"value"in w&&R in w&&!w[R]){var F=b(M,I);F&&F[R]&&(M[I]=w.value,w={configurable:A in w?w[A]:F[A],enumerable:C in w?w[C]:F[C],writable:!1})}return x(M,I,w)}:x:function(M,I,w){if(g(M),I=y(I),g(w),f)try{return x(M,I,w)}catch(F){}if("get"in w||"set"in w)throw new T("Accessors not supported");return"value"in w&&(M[I]=w.value),M}},75991:function(d,S,n){"use strict";var l=n(88851),f=n(14519),v=n(60031),g=n(52505),y=n(19225),T=n(15843),x=n(3159),b=n(34482),C=Object.getOwnPropertyDescriptor;S.f=l?C:function(R,P){if(R=y(R),P=T(P),b)try{return C(R,P)}catch(M){}if(x(R,P))return g(!f(v.f,R,P),R[P])}},46465:function(d,S,n){"use strict";var l=n(66595),f=n(86846),v=f.concat("length","prototype");S.f=Object.getOwnPropertyNames||function(y){return l(y,v)}},22506:function(d,S){"use strict";S.f=Object.getOwnPropertySymbols},77723:function(d,S,n){"use strict";var l=n(3159),f=n(90910),v=n(33972),g=n(45529),y=n(31068),T=g("IE_PROTO"),x=Object,b=x.prototype;d.exports=y?x.getPrototypeOf:function(C){var A=v(C);if(l(A,T))return A[T];var R=A.constructor;return f(R)&&A instanceof R?R.prototype:A instanceof x?b:null}},38023:function(d,S,n){"use strict";var l=n(90839);d.exports=l({}.isPrototypeOf)},66595:function(d,S,n){"use strict";var l=n(90839),f=n(3159),v=n(19225),g=n(46135).indexOf,y=n(96631),T=l([].push);d.exports=function(x,b){var C=v(x),A=0,R=[],P;for(P in C)!f(y,P)&&f(C,P)&&T(R,P);for(;b.length>A;)f(C,P=b[A++])&&(~g(R,P)||T(R,P));return R}},74936:function(d,S,n){"use strict";var l=n(66595),f=n(86846);d.exports=Object.keys||function(g){return l(g,f)}},60031:function(d,S){"use strict";var n={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,f=l&&!n.call({1:2},1);S.f=f?function(g){var y=l(this,g);return!!y&&y.enumerable}:n},42288:function(d,S,n){"use strict";var l=n(95857),f=n(30346),v=n(94070),g=n(23310);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y=!1,T={},x;try{x=l(Object.prototype,"__proto__","set"),x(T,[]),y=T instanceof Array}catch(b){}return function(C,A){return v(C),g(A),f(C)&&(y?x(C,A):C.__proto__=A),C}}():void 0)},48690:function(d,S,n){"use strict";var l=n(14519),f=n(90910),v=n(30346),g=TypeError;d.exports=function(y,T){var x,b;if(T==="string"&&f(x=y.toString)&&!v(b=l(x,y))||f(x=y.valueOf)&&!v(b=l(x,y))||T!=="string"&&f(x=y.toString)&&!v(b=l(x,y)))return b;throw new g("Can't convert object to primitive value")}},46394:function(d,S,n){"use strict";var l=n(43824),f=n(90839),v=n(46465),g=n(22506),y=n(91896),T=f([].concat);d.exports=l("Reflect","ownKeys")||function(b){var C=v.f(y(b)),A=g.f;return A?T(C,A(b)):C}},31011:function(d,S,n){"use strict";var l=n(74346);d.exports=l},58541:function(d){"use strict";d.exports=function(S){try{return{error:!1,value:S()}}catch(n){return{error:!0,value:n}}}},39705:function(d,S,n){"use strict";var l=n(74346),f=n(46016),v=n(90910),g=n(90347),y=n(60750),T=n(33323),x=n(47060),b=n(74206),C=n(46910),A=f&&f.prototype,R=T("species"),P=!1,M=v(l.PromiseRejectionEvent),I=g("Promise",function(){var w=y(f),F=w!==String(f);if(!F&&C===66||b&&!(A.catch&&A.finally))return!0;if(!C||C<51||!/native code/.test(w)){var Y=new f(function($){$(1)}),j=function($){$(function(){},function(){})},B=Y.constructor={};if(B[R]=j,P=Y.then(function(){})instanceof j,!P)return!0}return!F&&(x==="BROWSER"||x==="DENO")&&!M});d.exports={CONSTRUCTOR:I,REJECTION_EVENT:M,SUBCLASSING:P}},46016:function(d,S,n){"use strict";var l=n(74346);d.exports=l.Promise},18292:function(d,S,n){"use strict";var l=n(91896),f=n(30346),v=n(18437);d.exports=function(g,y){if(l(g),f(y)&&y.constructor===g)return y;var T=v.f(g),x=T.resolve;return x(y),T.promise}},90429:function(d,S,n){"use strict";var l=n(46016),f=n(53531),v=n(39705).CONSTRUCTOR;d.exports=v||!f(function(g){l.all(g).then(void 0,function(){})})},27306:function(d){"use strict";var S=function(){this.head=null,this.tail=null};S.prototype={add:function(n){var l={item:n,next:null},f=this.tail;f?f.next=l:this.head=l,this.tail=l},get:function(){var n=this.head;if(n){var l=this.head=n.next;return l===null&&(this.tail=null),n.item}}},d.exports=S},48707:function(d,S,n){"use strict";var l=n(14519),f=n(91896),v=n(90910),g=n(71338),y=n(91754),T=TypeError;d.exports=function(x,b){var C=x.exec;if(v(C)){var A=l(C,x,b);return A!==null&&f(A),A}if(g(x)==="RegExp")return l(y,x,b);throw new T("RegExp#exec called on incompatible receiver")}},91754:function(d,S,n){"use strict";var l=n(14519),f=n(90839),v=n(79141),g=n(28011),y=n(33686),T=n(89686),x=n(48279),b=n(73189).get,C=n(37554),A=n(34242),R=T("native-string-replace",String.prototype.replace),P=RegExp.prototype.exec,M=P,I=f("".charAt),w=f("".indexOf),F=f("".replace),Y=f("".slice),j=function(){var Q=/a/,_=/b*/g;return l(P,Q,"a"),l(P,_,"a"),Q.lastIndex!==0||_.lastIndex!==0}(),B=y.BROKEN_CARET,$=/()??/.exec("")[1]!==void 0,X=j||$||B||C||A;X&&(M=function(_){var k=this,lt=b(k),tt=v(_),et=lt.raw,st,ot,yt,Z,J,wt,mt;if(et)return et.lastIndex=k.lastIndex,st=l(M,et,tt),k.lastIndex=et.lastIndex,st;var ut=lt.groups,ht=B&&k.sticky,N=l(g,k),ft=k.source,Ut=0,At=tt;if(ht&&(N=F(N,"y",""),w(N,"g")===-1&&(N+="g"),At=Y(tt,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&I(tt,k.lastIndex-1)!==` +`)&&(ft="(?: "+ft+")",At=" "+At,Ut++),ot=new RegExp("^(?:"+ft+")",N)),$&&(ot=new RegExp("^"+ft+"$(?!\\s)",N)),j&&(yt=k.lastIndex),Z=l(P,ht?ot:k,At),ht?Z?(Z.input=Y(Z.input,Ut),Z[0]=Y(Z[0],Ut),Z.index=k.lastIndex,k.lastIndex+=Z[0].length):k.lastIndex=0:j&&Z&&(k.lastIndex=k.global?Z.index+Z[0].length:yt),$&&Z&&Z.length>1&&l(R,Z[0],ot,function(){for(J=1;Jb)","g");return g.exec("b").groups.a!=="b"||"b".replace(g,"$c")!=="bc"})},94070:function(d,S,n){"use strict";var l=n(89374),f=TypeError;d.exports=function(v){if(l(v))throw new f("Can't call method on "+v);return v}},87327:function(d,S,n){"use strict";var l=n(74346),f=n(88851),v=Object.getOwnPropertyDescriptor;d.exports=function(g){if(!f)return l[g];var y=v(l,g);return y&&y.value}},56781:function(d,S,n){"use strict";var l=n(43824),f=n(15086),v=n(33323),g=n(88851),y=v("species");d.exports=function(T){var x=l(T);g&&x&&!x[y]&&f(x,y,{configurable:!0,get:function(){return this}})}},85554:function(d,S,n){"use strict";var l=n(895).f,f=n(3159),v=n(33323),g=v("toStringTag");d.exports=function(y,T,x){y&&!x&&(y=y.prototype),y&&!f(y,g)&&l(y,g,{configurable:!0,value:T})}},45529:function(d,S,n){"use strict";var l=n(89686),f=n(55515),v=l("keys");d.exports=function(g){return v[g]||(v[g]=f(g))}},86796:function(d,S,n){"use strict";var l=n(74206),f=n(74346),v=n(70442),g="__core-js_shared__",y=d.exports=f[g]||v(g,{});(y.versions||(y.versions=[])).push({version:"3.47.0",mode:l?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},89686:function(d,S,n){"use strict";var l=n(86796);d.exports=function(f,v){return l[f]||(l[f]=v||{})}},9255:function(d,S,n){"use strict";var l=n(91896),f=n(60199),v=n(89374),g=n(33323),y=g("species");d.exports=function(T,x){var b=l(T).constructor,C;return b===void 0||v(C=l(b)[y])?x:f(C)}},77941:function(d,S,n){"use strict";var l=n(90839),f=n(61951),v=n(79141),g=n(94070),y=l("".charAt),T=l("".charCodeAt),x=l("".slice),b=function(C){return function(A,R){var P=v(g(A)),M=f(R),I=P.length,w,F;return M<0||M>=I?C?"":void 0:(w=T(P,M),w<55296||w>56319||M+1===I||(F=T(P,M+1))<56320||F>57343?C?y(P,M):w:C?x(P,M,M+2):(w-55296<<10)+(F-56320)+65536)}};d.exports={codeAt:b(!1),charAt:b(!0)}},75590:function(d,S,n){"use strict";var l=n(4405).PROPER,f=n(21773),v=n(80975),g="\u200B\x85\u180E";d.exports=function(y){return f(function(){return!!v[y]()||g[y]()!==g||l&&v[y].name!==y})}},98209:function(d,S,n){"use strict";var l=n(90839),f=n(94070),v=n(79141),g=n(80975),y=l("".replace),T=RegExp("^["+g+"]+"),x=RegExp("(^|[^"+g+"])["+g+"]+$"),b=function(C){return function(A){var R=v(f(A));return C&1&&(R=y(R,T,"")),C&2&&(R=y(R,x,"$1")),R}};d.exports={start:b(1),end:b(2),trim:b(3)}},13852:function(d,S,n){"use strict";var l=n(46910),f=n(21773),v=n(74346),g=v.String;d.exports=!!Object.getOwnPropertySymbols&&!f(function(){var y=Symbol("symbol detection");return!g(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&l&&l<41})},70402:function(d,S,n){"use strict";var l=n(74346),f=n(25322),v=n(64769),g=n(90910),y=n(3159),T=n(21773),x=n(35291),b=n(14011),C=n(87358),A=n(34231),R=n(47740),P=n(79292),M=l.setImmediate,I=l.clearImmediate,w=l.process,F=l.Dispatch,Y=l.Function,j=l.MessageChannel,B=l.String,$=0,X={},Q="onreadystatechange",_,k,lt,tt;T(function(){_=l.location});var et=function(Z){if(y(X,Z)){var J=X[Z];delete X[Z],J()}},st=function(Z){return function(){et(Z)}},ot=function(Z){et(Z.data)},yt=function(Z){l.postMessage(B(Z),_.protocol+"//"+_.host)};(!M||!I)&&(M=function(J){A(arguments.length,1);var wt=g(J)?J:Y(J),mt=b(arguments,1);return X[++$]=function(){f(wt,void 0,mt)},k($),$},I=function(J){delete X[J]},P?k=function(Z){w.nextTick(st(Z))}:F&&F.now?k=function(Z){F.now(st(Z))}:j&&!R?(lt=new j,tt=lt.port2,lt.port1.onmessage=ot,k=v(tt.postMessage,tt)):l.addEventListener&&g(l.postMessage)&&!l.importScripts&&_&&_.protocol!=="file:"&&!T(yt)?(k=yt,l.addEventListener("message",ot,!1)):Q in C("script")?k=function(Z){x.appendChild(C("script"))[Q]=function(){x.removeChild(this),et(Z)}}:k=function(Z){setTimeout(st(Z),0)}),d.exports={set:M,clear:I}},98398:function(d,S,n){"use strict";var l=n(61951),f=Math.max,v=Math.min;d.exports=function(g,y){var T=l(g);return T<0?f(T+y,0):v(T,y)}},19225:function(d,S,n){"use strict";var l=n(6781),f=n(94070);d.exports=function(v){return l(f(v))}},61951:function(d,S,n){"use strict";var l=n(98067);d.exports=function(f){var v=+f;return v!==v||v===0?0:l(v)}},47892:function(d,S,n){"use strict";var l=n(61951),f=Math.min;d.exports=function(v){var g=l(v);return g>0?f(g,9007199254740991):0}},33972:function(d,S,n){"use strict";var l=n(94070),f=Object;d.exports=function(v){return f(l(v))}},41368:function(d,S,n){"use strict";var l=n(14519),f=n(30346),v=n(88189),g=n(14539),y=n(48690),T=n(33323),x=TypeError,b=T("toPrimitive");d.exports=function(C,A){if(!f(C)||v(C))return C;var R=g(C,b),P;if(R){if(A===void 0&&(A="default"),P=l(R,C,A),!f(P)||v(P))return P;throw new x("Can't convert object to primitive value")}return A===void 0&&(A="number"),y(C,A)}},15843:function(d,S,n){"use strict";var l=n(41368),f=n(88189);d.exports=function(v){var g=l(v,"string");return f(g)?g:g+""}},52311:function(d,S,n){"use strict";var l=n(33323),f=l("toStringTag"),v={};v[f]="z",d.exports=String(v)==="[object z]"},79141:function(d,S,n){"use strict";var l=n(73426),f=String;d.exports=function(v){if(l(v)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return f(v)}},27369:function(d){"use strict";var S=String;d.exports=function(n){try{return S(n)}catch(l){return"Object"}}},55515:function(d,S,n){"use strict";var l=n(90839),f=0,v=Math.random(),g=l(1.1.toString);d.exports=function(y){return"Symbol("+(y===void 0?"":y)+")_"+g(++f+v,36)}},81020:function(d,S,n){"use strict";var l=n(13852);d.exports=l&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},92426:function(d,S,n){"use strict";var l=n(88851),f=n(21773);d.exports=l&&f(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},34231:function(d){"use strict";var S=TypeError;d.exports=function(n,l){if(n1?arguments[1]:void 0;return T?y(this,C,A)||0:v(this,C,A)}})},16738:function(d,S,n){"use strict";var l=n(19225),f=n(26304),v=n(79166),g=n(73189),y=n(895).f,T=n(37628),x=n(13192),b=n(74206),C=n(88851),A="Array Iterator",R=g.set,P=g.getterFor(A);d.exports=T(Array,"Array",function(I,w){R(this,{type:A,target:l(I),index:0,kind:w})},function(){var I=P(this),w=I.target,F=I.index++;if(!w||F>=w.length)return I.target=null,x(void 0,!0);switch(I.kind){case"keys":return x(F,!1);case"values":return x(w[F],!1)}return x([F,w[F]],!1)},"values");var M=v.Arguments=v.Array;if(f("keys"),f("values"),f("entries"),!b&&C&&M.name!=="values")try{y(M,"name",{value:"values"})}catch(I){}},99532:function(d,S,n){"use strict";var l=n(46049),f=n(34886).left,v=n(41766),g=n(46910),y=n(79292),T=!y&&g>79&&g<83,x=T||!v("reduce");l({target:"Array",proto:!0,forced:x},{reduce:function(C){var A=arguments.length;return f(this,C,A,A>1?arguments[1]:void 0)}})},21952:function(d,S,n){"use strict";var l=n(46049),f=n(90839),v=n(81639),g=f([].reverse),y=[1,2];l({target:"Array",proto:!0,forced:String(y)===String(y.reverse())},{reverse:function(){return v(this)&&(this.length=this.length),g(this)}})},43452:function(d,S,n){"use strict";var l=n(46049),f=n(14519),v=n(50546),g=n(18437),y=n(58541),T=n(2033),x=n(90429);l({target:"Promise",stat:!0,forced:x},{all:function(C){var A=this,R=g.f(A),P=R.resolve,M=R.reject,I=y(function(){var w=v(A.resolve),F=[],Y=0,j=1;T(C,function(B){var $=Y++,X=!1;j++,f(w,A,B).then(function(Q){X||(X=!0,F[$]=Q,--j||P(F))},M)}),--j||P(F)});return I.error&&M(I.value),R.promise}})},20964:function(d,S,n){"use strict";var l=n(46049),f=n(74206),v=n(39705).CONSTRUCTOR,g=n(46016),y=n(43824),T=n(90910),x=n(43685),b=g&&g.prototype;if(l({target:"Promise",proto:!0,forced:v,real:!0},{catch:function(A){return this.then(void 0,A)}}),!f&&T(g)){var C=y("Promise").prototype.catch;b.catch!==C&&x(b,"catch",C,{unsafe:!0})}},61662:function(d,S,n){"use strict";var l=n(46049),f=n(74206),v=n(79292),g=n(74346),y=n(31011),T=n(14519),x=n(43685),b=n(42288),C=n(85554),A=n(56781),R=n(50546),P=n(90910),M=n(30346),I=n(69669),w=n(9255),F=n(70402).set,Y=n(71659),j=n(83375),B=n(58541),$=n(27306),X=n(73189),Q=n(46016),_=n(39705),k=n(18437),lt="Promise",tt=_.CONSTRUCTOR,et=_.REJECTION_EVENT,st=_.SUBCLASSING,ot=X.getterFor(lt),yt=X.set,Z=Q&&Q.prototype,J=Q,wt=Z,mt=g.TypeError,ut=g.document,ht=g.process,N=k.f,ft=N,Ut=!!(ut&&ut.createEvent&&g.dispatchEvent),At="unhandledrejection",Vt="rejectionhandled",qt=0,ie=1,Qt=2,le=1,he=2,_t,fe,ce,Zt,ve=function(W){var nt;return M(W)&&P(nt=W.then)?nt:!1},ge=function(W,nt){var gt=nt.value,dt=nt.state===ie,bt=dt?W.ok:W.fail,me=W.resolve,Le=W.reject,xe=W.domain,Ee,te,$e;try{bt?(dt||(nt.rejection===he&&Ze(nt),nt.rejection=le),bt===!0?Ee=gt:(xe&&xe.enter(),Ee=bt(gt),xe&&(xe.exit(),$e=!0)),Ee===W.promise?Le(new mt("Promise-chain cycle")):(te=ve(Ee))?T(te,Ee,me,Le):me(Ee)):Le(gt)}catch(ae){xe&&!$e&&xe.exit(),Le(ae)}},de=function(W,nt){W.notified||(W.notified=!0,Y(function(){for(var gt=W.reactions,dt;dt=gt.get();)ge(dt,W);W.notified=!1,nt&&!W.rejection&&Kt(W)}))},pe=function(W,nt,gt){var dt,bt;Ut?(dt=ut.createEvent("Event"),dt.promise=nt,dt.reason=gt,dt.initEvent(W,!1,!0),g.dispatchEvent(dt)):dt={promise:nt,reason:gt},!et&&(bt=g["on"+W])?bt(dt):W===At&&j("Unhandled promise rejection",gt)},Kt=function(W){T(F,g,function(){var nt=W.facade,gt=W.value,dt=ze(W),bt;if(dt&&(bt=B(function(){v?ht.emit("unhandledRejection",gt,nt):pe(At,nt,gt)}),W.rejection=v||ze(W)?he:le,bt.error))throw bt.value})},ze=function(W){return W.rejection!==le&&!W.parent},Ze=function(W){T(F,g,function(){var nt=W.facade;v?ht.emit("rejectionHandled",nt):pe(Vt,nt,W.value)})},It=function(W,nt,gt){return function(dt){W(nt,dt,gt)}},ye=function(W,nt,gt){W.done||(W.done=!0,gt&&(W=gt),W.value=nt,W.state=Qt,de(W,!0))},De=function(W,nt,gt){if(!W.done){W.done=!0,gt&&(W=gt);try{if(W.facade===nt)throw new mt("Promise can't be resolved itself");var dt=ve(nt);dt?Y(function(){var bt={done:!1};try{T(dt,nt,It(De,bt,W),It(ye,bt,W))}catch(me){ye(bt,me,W)}}):(W.value=nt,W.state=ie,de(W,!1))}catch(bt){ye({done:!1},bt,W)}}};if(tt&&(J=function(nt){I(this,wt),R(nt),T(_t,this);var gt=ot(this);try{nt(It(De,gt),It(ye,gt))}catch(dt){ye(gt,dt)}},wt=J.prototype,_t=function(nt){yt(this,{type:lt,done:!1,notified:!1,parent:!1,reactions:new $,rejection:!1,state:qt,value:null})},_t.prototype=x(wt,"then",function(nt,gt){var dt=ot(this),bt=N(w(this,J));return dt.parent=!0,bt.ok=P(nt)?nt:!0,bt.fail=P(gt)&>,bt.domain=v?ht.domain:void 0,dt.state===qt?dt.reactions.add(bt):Y(function(){ge(bt,dt)}),bt.promise}),fe=function(){var W=new _t,nt=ot(W);this.promise=W,this.resolve=It(De,nt),this.reject=It(ye,nt)},k.f=N=function(W){return W===J||W===ce?new fe(W):ft(W)},!f&&P(Q)&&Z!==Object.prototype)){Zt=Z.then,st||x(Z,"then",function(nt,gt){var dt=this;return new J(function(bt,me){T(Zt,dt,bt,me)}).then(nt,gt)},{unsafe:!0});try{delete Z.constructor}catch(W){}b&&b(Z,wt)}l({global:!0,constructor:!0,wrap:!0,forced:tt},{Promise:J}),ce=y.Promise,C(J,lt,!1,!0),A(lt)},71661:function(d,S,n){"use strict";n(61662),n(43452),n(20964),n(84652),n(35082),n(3849)},84652:function(d,S,n){"use strict";var l=n(46049),f=n(14519),v=n(50546),g=n(18437),y=n(58541),T=n(2033),x=n(90429);l({target:"Promise",stat:!0,forced:x},{race:function(C){var A=this,R=g.f(A),P=R.reject,M=y(function(){var I=v(A.resolve);T(C,function(w){f(I,A,w).then(R.resolve,P)})});return M.error&&P(M.value),R.promise}})},35082:function(d,S,n){"use strict";var l=n(46049),f=n(18437),v=n(39705).CONSTRUCTOR;l({target:"Promise",stat:!0,forced:v},{reject:function(y){var T=f.f(this),x=T.reject;return x(y),T.promise}})},3849:function(d,S,n){"use strict";var l=n(46049),f=n(43824),v=n(74206),g=n(46016),y=n(39705).CONSTRUCTOR,T=n(18292),x=f("Promise"),b=v&&!y;l({target:"Promise",stat:!0,forced:v||y},{resolve:function(A){return T(b&&this===x?g:this,A)}})},25711:function(d,S,n){"use strict";var l=n(46049),f=n(91754);l({target:"RegExp",proto:!0,forced:/./.exec!==f},{exec:f})},91829:function(d,S,n){"use strict";var l=n(4405).PROPER,f=n(43685),v=n(91896),g=n(79141),y=n(21773),T=n(81007),x="toString",b=RegExp.prototype,C=b[x],A=y(function(){return C.call({source:"a",flags:"b"})!=="/a/b"}),R=l&&C.name!==x;(A||R)&&f(b,x,function(){var M=v(this),I=g(M.source),w=g(T(M));return"/"+I+"/"+w},{unsafe:!0})},75696:function(d,S,n){"use strict";var l=n(46049),f=n(23680),v=n(75991).f,g=n(47892),y=n(79141),T=n(72520),x=n(94070),b=n(4379),C=n(74206),A=f("".slice),R=Math.min,P=b("endsWith"),M=!C&&!P&&!!function(){var I=v(String.prototype,"endsWith");return I&&!I.writable}();l({target:"String",proto:!0,forced:!M&&!P},{endsWith:function(w){var F=y(x(this));T(w);var Y=arguments.length>1?arguments[1]:void 0,j=F.length,B=Y===void 0?j:R(g(Y),j),$=y(w);return A(F,B-$.length,B)===$}})},42502:function(d,S,n){"use strict";var l=n(46049),f=n(90839),v=n(72520),g=n(94070),y=n(79141),T=n(4379),x=f("".indexOf);l({target:"String",proto:!0,forced:!T("includes")},{includes:function(C){return!!~x(y(g(this)),y(v(C)),arguments.length>1?arguments[1]:void 0)}})},4508:function(d,S,n){"use strict";var l=n(14519),f=n(90839),v=n(80144),g=n(91896),y=n(30346),T=n(47892),x=n(79141),b=n(94070),C=n(14539),A=n(79323),R=n(81007),P=n(48707),M=f("".indexOf);v("match",function(I,w,F){return[function(j){var B=b(this),$=y(j)?C(j,I):void 0;return $?l($,j,B):new RegExp(j)[I](x(B))},function(Y){var j=g(this),B=x(Y),$=F(w,j,B);if($.done)return $.value;var X=x(R(j));if(M(X,"g")===-1)return P(j,B);var Q=M(X,"u")!==-1;j.lastIndex=0;for(var _=[],k=0,lt;(lt=P(j,B))!==null;){var tt=x(lt[0]);_[k]=tt,tt===""&&(j.lastIndex=A(B,T(j.lastIndex),Q)),k++}return k===0?null:_}]})},18736:function(d,S,n){"use strict";var l=n(25322),f=n(14519),v=n(90839),g=n(80144),y=n(21773),T=n(91896),x=n(90910),b=n(30346),C=n(61951),A=n(47892),R=n(79141),P=n(94070),M=n(79323),I=n(14539),w=n(99659),F=n(81007),Y=n(48707),j=n(33323),B=j("replace"),$=Math.max,X=Math.min,Q=v([].concat),_=v([].push),k=v("".indexOf),lt=v("".slice),tt=function(yt){return yt===void 0?yt:String(yt)},et=function(){return"a".replace(/./,"$0")==="$0"}(),st=function(){return/./[B]?/./[B]("a","$0")==="":!1}(),ot=!y(function(){var yt=/./;return yt.exec=function(){var Z=[];return Z.groups={a:"7"},Z},"".replace(yt,"$")!=="7"});g("replace",function(yt,Z,J){var wt=st?"$":"$0";return[function(ut,ht){var N=P(this),ft=b(ut)?I(ut,B):void 0;return ft?f(ft,ut,N,ht):f(Z,R(N),ut,ht)},function(mt,ut){var ht=T(this),N=R(mt);if(typeof ut=="string"&&k(ut,wt)===-1&&k(ut,"$<")===-1){var ft=J(Z,ht,N,ut);if(ft.done)return ft.value}var Ut=x(ut);Ut||(ut=R(ut));var At=R(F(ht)),Vt=k(At,"g")!==-1,qt;Vt&&(qt=k(At,"u")!==-1,ht.lastIndex=0);for(var ie=[],Qt;Qt=Y(ht,N),!(Qt===null||(_(ie,Qt),!Vt));){var le=R(Qt[0]);le===""&&(ht.lastIndex=M(N,A(ht.lastIndex),qt))}for(var he="",_t=0,fe=0;fe=_t&&(he+=lt(N,_t,Zt)+ge,_t=Zt+ce.length)}return he+lt(N,_t)}]},!ot||!et||st)},4411:function(d,S,n){"use strict";var l=n(14519),f=n(90839),v=n(80144),g=n(91896),y=n(30346),T=n(94070),x=n(9255),b=n(79323),C=n(47892),A=n(79141),R=n(14539),P=n(48707),M=n(33686),I=n(21773),w=M.UNSUPPORTED_Y,F=4294967295,Y=Math.min,j=f([].push),B=f("".slice),$=!I(function(){var Q=/(?:)/,_=Q.exec;Q.exec=function(){return _.apply(this,arguments)};var k="ab".split(Q);return k.length!==2||k[0]!=="a"||k[1]!=="b"}),X="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;v("split",function(Q,_,k){var lt="0".split(void 0,0).length?function(tt,et){return tt===void 0&&et===0?[]:l(_,this,tt,et)}:_;return[function(et,st){var ot=T(this),yt=y(et)?R(et,Q):void 0;return yt?l(yt,et,ot,st):l(lt,A(ot),et,st)},function(tt,et){var st=g(this),ot=A(tt);if(!X){var yt=k(lt,st,ot,et,lt!==_);if(yt.done)return yt.value}var Z=x(st,RegExp),J=st.unicode,wt=(st.ignoreCase?"i":"")+(st.multiline?"m":"")+(st.unicode?"u":"")+(w?"g":"y"),mt=new Z(w?"^(?:"+st.source+")":st,wt),ut=et===void 0?F:et>>>0;if(ut===0)return[];if(ot.length===0)return P(mt,ot)===null?[ot]:[];for(var ht=0,N=0,ft=[];N1?arguments[1]:void 0,F.length)),j=y(w);return A(F,Y,Y+j.length)===j}})},4226:function(d,S,n){"use strict";var l=n(46049),f=n(98209).trim,v=n(75590);l({target:"String",proto:!0,forced:v("trim")},{trim:function(){return f(this)}})},7706:function(d,S,n){"use strict";var l=n(74346),f=n(36483),v=n(21324),g=n(16738),y=n(35781),T=n(85554),x=n(33323),b=x("iterator"),C=g.values,A=function(P,M){if(P){if(P[b]!==C)try{y(P,b,C)}catch(w){P[b]=C}if(T(P,M,!0),f[M]){for(var I in g)if(P[I]!==g[I])try{y(P,I,g[I])}catch(w){P[I]=g[I]}}}};for(var R in f)A(l[R]&&l[R].prototype,R);A(v,"DOMTokenList")},63754:function(d,S,n){"use strict";n.r(S),n.d(S,{AElement:function(){return un},AnimateColorElement:function(){return en},AnimateElement:function(){return qe},AnimateTransformElement:function(){return rn},BoundingBox:function(){return kt},CB1:function(){return hr},CB2:function(){return fr},CB3:function(){return cr},CB4:function(){return vr},Canvg:function(){return Ne},CircleElement:function(){return Xr},ClipPathElement:function(){return pn},DefsElement:function(){return Jr},DescElement:function(){return On},Document:function(){return ue},Element:function(){return Ct},EllipseElement:function(){return Wr},FeColorMatrixElement:function(){return br},FeCompositeElement:function(){return xn},FeDropShadowElement:function(){return yn},FeGaussianBlurElement:function(){return En},FeMorphologyElement:function(){return mn},FilterElement:function(){return We},Font:function(){return zt},FontElement:function(){return nn},FontFaceElement:function(){return an},GElement:function(){return Je},GlyphElement:function(){return xr},GradientElement:function(){return Or},ImageElement:function(){return fn},LineElement:function(){return Qr},LinearGradientElement:function(){return qr},MarkerElement:function(){return kr},MaskElement:function(){return Xe},Matrix:function(){return yr},MissingGlyphElement:function(){return sn},Mouse:function(){return Br},PSEUDO_ZERO:function(){return ae},Parser:function(){return ke},PathElement:function(){return xt},PathParser:function(){return it},PatternElement:function(){return Kr},Point:function(){return Rt},PolygonElement:function(){return Zr},PolylineElement:function(){return Tr},Property:function(){return q},QB1:function(){return gr},QB2:function(){return dr},QB3:function(){return pr},RadialGradientElement:function(){return _r},RectElement:function(){return Er},RenderedElement:function(){return Oe},Rotate:function(){return Gr},SVGElement:function(){return Be},SVGFontLoader:function(){return vn},Scale:function(){return zr},Screen:function(){return He},Skew:function(){return mr},SkewX:function(){return $r},SkewY:function(){return Hr},StopElement:function(){return tn},StyleElement:function(){return Sr},SymbolElement:function(){return cn},TRefElement:function(){return on},TSpanElement:function(){return Ye},TextElement:function(){return se},TextPathElement:function(){return hn},TitleElement:function(){return Tn},Transform:function(){return Te},Translate:function(){return jr},UnknownElement:function(){return Yr},UseElement:function(){return gn},ViewPort:function(){return Lr},compressSpaces:function(){return Kt},default:function(){return Ne},getSelectorSpecificity:function(){return $e},normalizeAttributeName:function(){return De},normalizeColor:function(){return nt},parseExternalUrl:function(){return W},presets:function(){return pe},toNumbers:function(){return It},trimLeft:function(){return ze},trimRight:function(){return Ze},vectorMagnitude:function(){return ur},vectorsAngle:function(){return lr},vectorsRatio:function(){return Ke}});var l=n(71661),f=n(3202),v=n(4508),g=n(18736),y=n(80532),T=n(16738),x=n(7706),b=n(20068),C=n(99532),A=n(75696),R=n(4411),P=n(32772),M=n(4226),I=n(45810),w=n(89568),F=n(42502),Y=n(21952);var j=function(h,t){return(j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])})(h,t)};function B(h,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=h}j(h,t),h.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function $(h){var t="";Array.isArray(h)||(h=[h]);for(var e=0;eh.phi1&&(h.phi2-=2*_),h.sweepFlag===1&&h.phi2r)return[];if(r===0)return[[h*e/(h*h+t*t),t*e/(h*h+t*t)]];var i=Math.sqrt(r);return[[(h*e+t*i)/(h*h+t*t),(t*e-h*i)/(h*h+t*t)],[(h*e-t*i)/(h*h+t*t),(t*e+h*i)/(h*h+t*t)]]}var tt,et=Math.PI/180;function st(h,t,e){return(1-e)*h+e*t}function ot(h,t,e,r){return h+Math.cos(r/180*_)*t+Math.sin(r/180*_)*e}function yt(h,t,e,r){var i=1e-6,a=t-h,o=e-t,s=3*a+3*(r-e)-6*o,u=6*(o-a),c=3*a;return Math.abs(s)H&&(m.sweepFlag=+!m.sweepFlag),m})}function o(){return function(s){var u={};for(var c in s)u[c]=s[c];return u}}h.ROUND=function(s){function u(c){return Math.round(c*s)/s}return s===void 0&&(s=1e13),Q(s),function(c){return c.x1!==void 0&&(c.x1=u(c.x1)),c.y1!==void 0&&(c.y1=u(c.y1)),c.x2!==void 0&&(c.x2=u(c.x2)),c.y2!==void 0&&(c.y2=u(c.y2)),c.x!==void 0&&(c.x=u(c.x)),c.y!==void 0&&(c.y=u(c.y)),c.rX!==void 0&&(c.rX=u(c.rX)),c.rY!==void 0&&(c.rY=u(c.rY)),c}},h.TO_ABS=t,h.TO_REL=function(){return i(function(s,u,c){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=c),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=c),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=c),s.relative=!0),s})},h.NORMALIZE_HVZ=function(s,u,c){return s===void 0&&(s=!0),u===void 0&&(u=!0),c===void 0&&(c=!0),i(function(p,E,O,m,D){if(isNaN(m)&&!(p.type&N.MOVE_TO))throw new Error("path must start with moveto");return u&&p.type&N.HORIZ_LINE_TO&&(p.type=N.LINE_TO,p.y=p.relative?0:O),c&&p.type&N.VERT_LINE_TO&&(p.type=N.LINE_TO,p.x=p.relative?0:E),s&&p.type&N.CLOSE_PATH&&(p.type=N.LINE_TO,p.x=p.relative?m-E:m,p.y=p.relative?D-O:D),p.type&N.ARC&&(p.rX===0||p.rY===0)&&(p.type=N.LINE_TO,delete p.rX,delete p.rY,delete p.xRot,delete p.lArcFlag,delete p.sweepFlag),p})},h.NORMALIZE_ST=e,h.QT_TO_C=r,h.INFO=i,h.SANITIZE=function(s){s===void 0&&(s=0),Q(s);var u=NaN,c=NaN,p=NaN,E=NaN;return i(function(O,m,D,V,L){var U=Math.abs,K=!1,G=0,z=0;if(O.type&N.SMOOTH_CURVE_TO&&(G=isNaN(u)?0:m-u,z=isNaN(c)?0:D-c),O.type&(N.CURVE_TO|N.SMOOTH_CURVE_TO)?(u=O.relative?m+O.x2:O.x2,c=O.relative?D+O.y2:O.y2):(u=NaN,c=NaN),O.type&N.SMOOTH_QUAD_TO?(p=isNaN(p)?m:2*m-p,E=isNaN(E)?D:2*D-E):O.type&N.QUAD_TO?(p=O.relative?m+O.x1:O.x1,E=O.relative?D+O.y1:O.y2):(p=NaN,E=NaN),O.type&N.LINE_COMMANDS||O.type&N.ARC&&(O.rX===0||O.rY===0||!O.lArcFlag)||O.type&N.CURVE_TO||O.type&N.SMOOTH_CURVE_TO||O.type&N.QUAD_TO||O.type&N.SMOOTH_QUAD_TO){var rt=O.x===void 0?0:O.relative?O.x:O.x-m,at=O.y===void 0?0:O.relative?O.y:O.y-D;G=isNaN(p)?O.x1===void 0?G:O.relative?O.x:O.x1-m:p-m,z=isNaN(E)?O.y1===void 0?z:O.relative?O.y:O.y1-D:E-D;var H=O.x2===void 0?0:O.relative?O.x:O.x2-m,ct=O.y2===void 0?0:O.relative?O.y:O.y2-D;U(rt)<=s&&U(at)<=s&&U(G)<=s&&U(z)<=s&&U(H)<=s&&U(ct)<=s&&(K=!0)}return O.type&N.CLOSE_PATH&&U(m-V)<=s&&U(D-L)<=s&&(K=!0),K?[]:O})},h.MATRIX=a,h.ROTATE=function(s,u,c){u===void 0&&(u=0),c===void 0&&(c=0),Q(s,u,c);var p=Math.sin(s),E=Math.cos(s);return a(E,p,-p,E,u-u*E+c*p,c-u*p-c*E)},h.TRANSLATE=function(s,u){return u===void 0&&(u=0),Q(s,u),a(1,0,0,1,s,u)},h.SCALE=function(s,u){return u===void 0&&(u=s),Q(s,u),a(s,0,0,u,0,0)},h.SKEW_X=function(s){return Q(s),a(1,0,Math.atan(s),1,0,0)},h.SKEW_Y=function(s){return Q(s),a(1,Math.atan(s),0,1,0,0)},h.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Q(s),a(-1,0,0,1,s,0)},h.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Q(s),a(1,0,0,-1,0,s)},h.A_TO_C=function(){return i(function(s,u,c){return N.ARC===s.type?function(p,E,O){var m,D,V,L;p.cX||k(p,E,O);for(var U=Math.min(p.phi1,p.phi2),K=Math.max(p.phi1,p.phi2)-U,G=Math.ceil(K/90),z=new Array(G),rt=E,at=O,H=0;HE.maxX&&(E.maxX=Ot),OtE.maxY&&(E.maxY=Ot),OtEt&&L(Z(m,V.x1,V.x2,V.x,Et));for(var z=0,rt=yt(D,V.y1,V.y2,V.y);zEt&&U(Z(D,V.y1,V.y2,V.y,Et))}if(V.type&N.ARC){L(V.x),U(V.y),k(V,m,D);for(var at=V.xRot/180*Math.PI,H=Math.cos(at)*V.rX,ct=Math.sin(at)*V.rX,vt=-Math.sin(at)*V.rY,pt=Math.cos(at)*V.rY,St=V.phi1V.phi2?[V.phi2+360,V.phi1+360]:[V.phi2,V.phi1],Tt=St[0],Lt=St[1],Bt=function(Ot){var Ft=Ot[0],Gt=Ot[1],Ht=180*Math.atan2(Gt,Ft)/Math.PI;return HtTt&&EtTt&&Etp)throw new SyntaxError('Expected positive number, got "'+p+'" at index "'+o+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"')}this.curArgs.push(p),this.curArgs.length===ft[this.curCommandType]&&(N.HORIZ_LINE_TO===this.curCommandType?a({type:N.HORIZ_LINE_TO,relative:this.curCommandRelative,x:p}):N.VERT_LINE_TO===this.curCommandType?a({type:N.VERT_LINE_TO,relative:this.curCommandRelative,y:p}):this.curCommandType===N.MOVE_TO||this.curCommandType===N.LINE_TO||this.curCommandType===N.SMOOTH_QUAD_TO?(a({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),N.MOVE_TO===this.curCommandType&&(this.curCommandType=N.LINE_TO)):this.curCommandType===N.CURVE_TO?a({type:N.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===N.SMOOTH_CURVE_TO?a({type:N.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===N.QUAD_TO?a({type:N.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===N.ARC&&a({type:N.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!mt(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(c)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=N.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=N.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=N.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=N.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=N.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=N.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=N.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=N.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=N.ARC,this.curCommandRelative=s==="a"}else r.push({type:N.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(r,i){i===void 0&&(i=[]);for(var a=0,o=Object.getPrototypeOf(this).parse.call(this,r);a>>rt;if(o[G+3]=Ce,Ce!==0){var Ae=255/Ce;o[G]=(Ot*z>>>rt)*Ae,o[G+1]=(Ft*z>>>rt)*Ae,o[G+2]=(Gt*z>>>rt)*Ae}else o[G]=o[G+1]=o[G+2]=0;Ot-=Mt,Ft-=Nt,Gt-=jt,Ht-=Et,Mt-=L.r,Nt-=L.g,jt-=L.b,Et-=L.a;var re=be+a+1;re=K+(re>>rt,Xt>0?(Xt=255/Xt,o[Wt]=(rr*z>>>rt)*Xt,o[Wt+1]=(nr*z>>>rt)*Xt,o[Wt+2]=(ir*z>>>rt)*Xt):o[Wt]=o[Wt+1]=o[Wt+2]=0,rr-=Ar,nr-=Pr,ir-=Rr,ar-=Nr,Ar-=L.r,Pr-=L.g,Rr-=L.b,Nr-=L.a,Wt=ne+((Wt=Dr+p)>>G,o[H+1]=Mt*K>>>G,o[H+2]=Nt*K>>>G,Pt-=Tt,Mt-=Lt,Nt-=Bt,Tt-=L.r,Lt-=L.g,Bt-=L.b,z=at+((z=Ht+a+1)>>G,o[z+1]=Ce*K>>>G,o[z+2]=Ae*K>>>G,be-=Fe,Ce-=Ue,Ae-=Se,Fe-=L.r,Ue-=L.g,Se-=L.b,z=$t+((z=ne+p)0&&arguments[0]!==void 0?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:h,createCanvas(e,r){return new OffscreenCanvas(e,r)},createImage(e){return(0,f.Z)(function*(){var r=yield fetch(e),i=yield r.blob(),a=yield createImageBitmap(i);return a})()}};return(typeof DOMParser!="undefined"||typeof h=="undefined")&&Reflect.deleteProperty(t,"DOMParser"),t}function de(h){var{DOMParser:t,canvas:e,fetch:r}=h;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:r,createCanvas:e.createCanvas,createImage:e.loadImage}}var pe=Object.freeze({__proto__:null,offscreen:ge,node:de});function Kt(h){return h.replace(/(?!\u3000)\s+/gm," ")}function ze(h){return h.replace(/^[\n \t]+/,"")}function Ze(h){return h.replace(/[\n \t]+$/,"")}function It(h){var t=(h||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return t.map(parseFloat)}var ye=/^[A-Z-]+$/;function De(h){return ye.test(h)?h.toLowerCase():h}function W(h){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(h)||[];return t[2]||t[3]||t[4]}function nt(h){if(!h.startsWith("rgb"))return h;var t=3,e=h.replace(/\d+(\.\d+)?/g,(r,i)=>t--&&i?String(Math.round(parseFloat(r))):r);return e}var gt=/(\[[^\]]+\])/g,dt=/(#[^\s+>~.[:]+)/g,bt=/(\.[^\s+>~.[:]+)/g,me=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,Le=/(:[\w-]+\([^)]*\))/gi,xe=/(:[^\s+>~.[:]+)/g,Ee=/([^\s+>~.[:]+)/g;function te(h,t){var e=t.exec(h);return e?[h.replace(t," "),e.length]:[h,0]}function $e(h){var t=[0,0,0],e=h.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[e,r]=te(e,gt),t[1]+=r,[e,r]=te(e,dt),t[0]+=r,[e,r]=te(e,bt),t[1]+=r,[e,r]=te(e,me),t[2]+=r,[e,r]=te(e,Le),t[1]+=r,[e,r]=te(e,xe),t[1]+=r,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,r]=te(e,Ee),t[2]+=r,t.join("")}var ae=1e-8;function ur(h){return Math.sqrt(Math.pow(h[0],2)+Math.pow(h[1],2))}function Ke(h,t){return(h[0]*t[0]+h[1]*t[1])/(ur(h)*ur(t))}function lr(h,t){return(h[0]*t[1]0&&arguments[0]!==void 0?arguments[0]:" ",{document:e,name:r}=this;return Kt(this.getString()).trim().split(t).map(i=>new q(e,r,i))}hasValue(t){var{value:e}=this;return e!==null&&e!==""&&(t||e!==0)&&typeof e!="undefined"}isString(t){var{value:e}=this,r=typeof e=="string";return!r||!t?r:t.test(e)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return typeof t=="undefined"||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return typeof t=="undefined"?0:parseFloat(t);var{value:e}=this,r=parseFloat(e);return this.isString(/%$/)&&(r/=100),r}getString(t){return typeof t=="undefined"||this.hasValue()?typeof this.value=="undefined"?"":String(this.value):String(t)}getColor(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=nt(e),this.value=e),e}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[r,i]=typeof t=="boolean"?[void 0,t]:[t],{viewPort:a}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(a.computeSize("x"),a.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(a.computeSize("x"),a.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*a.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*a.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&i):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*a.computeSize(r);default:{var o=this.getNumber();return e&&o<1?o*a.computeSize(r):o}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),e=/#([^)'"]+)/.exec(t);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}getFillStyleDefinition(t,e){var r=this.getDefinition();if(!r)return null;if(typeof r.createGradient=="function")return r.createGradient(this.document.ctx,t,e);if(typeof r.createPattern=="function"){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute("patternTransform",!0).setValue(i.value)}return r.createPattern(this.document.ctx,t,e)}return null}getTextBaseline(){return this.hasValue()?q.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var e=this.getColor(),r=e.length,i=0,a=0;a1&&arguments[1]!==void 0?arguments[1]:0,[r=e,i=e]=It(t);return new Rt(r,i)}static parseScale(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[r=e,i=r]=It(t);return new Rt(r,i)}static parsePath(t){for(var e=It(t),r=e.length,i=[],a=0;a0}runEvents(){if(this.working){var{screen:t,events:e,eventElements:r}=this,{style:i}=t.ctx.canvas;i&&(i.cursor=""),e.forEach((a,o)=>{for(var{run:s}=a,u=r[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(t,e){if(!(!this.working||!e)){var{events:r,eventElements:i}=this;r.forEach((a,o)=>{var{x:s,y:u}=a;!i[o]&&e.isPointInPath&&e.isPointInPath(s,u)&&(i[o]=t)})}}checkBoundingBox(t,e){if(!(!this.working||!e)){var{events:r,eventElements:i}=this;r.forEach((a,o)=>{var{x:s,y:u}=a;!i[o]&&e.isPointInBox(s,u)&&(i[o]=t)})}}mapXY(t,e){for(var{window:r,ctx:i}=this.screen,a=new Rt(t,e),o=i.canvas;o;)a.x-=o.offsetLeft,a.y-=o.offsetTop,o=o.offsetParent;return r.scrollX&&(a.x+=r.scrollX),r.scrollY&&(a.y+=r.scrollY),a}onClick(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:e,y:r,run(i){i.onClick&&i.onClick()}})}onMouseMove(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:e,y:r,run(i){i.onMouseMove&&i.onMouseMove()}})}}var Fr=typeof window!="undefined"?window:null,Ur=typeof fetch!="undefined"?fetch.bind(void 0):null;class He{constructor(t){var{fetch:e=Ur,window:r=Fr}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Lr,this.mouse=new Br(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=e}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every(e=>e());return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:e,ctx:r,aspectRatio:i,width:a,desiredWidth:o,height:s,desiredHeight:u,minX:c=0,minY:p=0,refX:E,refY:O,clip:m=!1,clipX:D=0,clipY:V=0}=t,L=Kt(i).replace(/^defer\s/,""),[U,K]=L.split(" "),G=U||"xMidYMid",z=K||"meet",rt=a/o,at=s/u,H=Math.min(rt,at),ct=Math.max(rt,at),vt=o,pt=u;z==="meet"&&(vt*=H,pt*=H),z==="slice"&&(vt*=ct,pt*=ct);var St=new q(e,"refX",E),Tt=new q(e,"refY",O),Lt=St.hasValue()&&Tt.hasValue();if(Lt&&r.translate(-H*St.getPixels("x"),-H*Tt.getPixels("y")),m){var Bt=H*D,Pt=H*V;r.beginPath(),r.moveTo(Bt,Pt),r.lineTo(a,Pt),r.lineTo(a,s),r.lineTo(Bt,s),r.closePath(),r.clip()}if(!Lt){var Mt=z==="meet"&&H===at,Nt=z==="slice"&&ct===at,jt=z==="meet"&&H===rt,Et=z==="slice"&&ct===rt;G.startsWith("xMid")&&(Mt||Nt)&&r.translate(a/2-vt/2,0),G.endsWith("YMid")&&(jt||Et)&&r.translate(0,s/2-pt/2),G.startsWith("xMax")&&(Mt||Nt)&&r.translate(a-vt,0),G.endsWith("YMax")&&(jt||Et)&&r.translate(0,s-pt)}switch(!0){case G==="none":r.scale(rt,at);break;case z==="meet":r.scale(H,H);break;case z==="slice":r.scale(ct,ct);break}r.translate(-c,-p)}start(t){var{enableRedraw:e=!1,ignoreMouse:r=!1,ignoreAnimation:i=!1,ignoreDimensions:a=!1,ignoreClear:o=!1,forceRedraw:s,scaleWidth:u,scaleHeight:c,offsetX:p,offsetY:E}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:O,mouse:m}=this,D=1e3/O;if(this.frameDuration=D,this.readyPromise=new Promise(G=>{this.resolveReady=G}),this.isReady()&&this.render(t,a,o,u,c,p,E),!!e){var V=Date.now(),L=V,U=0,K=()=>{V=Date.now(),U=V-L,U>=D&&(L=V-U%D,this.shouldUpdate(i,s)&&(this.render(t,a,o,u,c,p,E),m.runEvents())),this.intervalId=P(K)};r||m.start(),this.intervalId=P(K)}}stop(){this.intervalId&&(P.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,e){if(!t){var{frameDuration:r}=this,i=this.animations.reduce((a,o)=>o.update(r)||a,!1);if(i)return!0}return!!(typeof e=="function"&&e()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(t,e,r,i,a,o,s){var{CLIENT_WIDTH:u,CLIENT_HEIGHT:c,viewPort:p,ctx:E,isFirstRender:O}=this,m=E.canvas;p.clear(),m.width&&m.height?p.setCurrent(m.width,m.height):p.setCurrent(u,c);var D=t.getStyle("width"),V=t.getStyle("height");!e&&(O||typeof i!="number"&&typeof a!="number")&&(D.hasValue()&&(m.width=D.getPixels("x"),m.style&&(m.style.width="".concat(m.width,"px"))),V.hasValue()&&(m.height=V.getPixels("y"),m.style&&(m.style.height="".concat(m.height,"px"))));var L=m.clientWidth||m.width,U=m.clientHeight||m.height;if(e&&D.hasValue()&&V.hasValue()&&(L=D.getPixels("x"),U=V.getPixels("y")),p.setCurrent(L,U),typeof o=="number"&&t.getAttribute("x",!0).setValue(o),typeof s=="number"&&t.getAttribute("y",!0).setValue(s),typeof i=="number"||typeof a=="number"){var K=It(t.getAttribute("viewBox").getString()),G=0,z=0;if(typeof i=="number"){var rt=t.getStyle("width");rt.hasValue()?G=rt.getPixels("x")/i:isNaN(K[2])||(G=K[2]/i)}if(typeof a=="number"){var at=t.getStyle("height");at.hasValue()?z=at.getPixels("y")/a:isNaN(K[3])||(z=K[3]/a)}G||(G=z),z||(z=G),t.getAttribute("width",!0).setValue(i),t.getAttribute("height",!0).setValue(a);var H=t.getStyle("transform",!0,!0);H.setValue("".concat(H.getString()," scale(").concat(1/G,", ").concat(1/z,")"))}r||E.clearRect(0,0,L,U),t.render(E),O&&(this.isFirstRender=!1)}}He.defaultWindow=Fr,He.defaultFetch=Ur;var{defaultFetch:Pn}=He,Rn=typeof DOMParser!="undefined"?DOMParser:null;class ke{constructor(){var{fetch:t=Pn,DOMParser:e=Rn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=t,this.DOMParser=e}parse(t){var e=this;return(0,f.Z)(function*(){return t.startsWith("<")?e.parseFromString(t):e.load(t)})()}parseFromString(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch(r){return this.checkDocument(e.parseFromString(t,"text/xml"))}}checkDocument(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}load(t){var e=this;return(0,f.Z)(function*(){var r=yield e.fetch(t),i=yield r.text();return e.parseFromString(i)})()}}class jr{constructor(t,e){this.type="translate",this.point=null,this.point=Rt.parse(e)}apply(t){var{x:e,y:r}=this.point;t.translate(e||0,r||0)}unapply(t){var{x:e,y:r}=this.point;t.translate(-1*e||0,-1*r||0)}applyToPoint(t){var{x:e,y:r}=this.point;t.applyTransform([1,0,0,1,e||0,r||0])}}class Gr{constructor(t,e,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=It(e);this.angle=new q(t,"angle",i[0]),this.originX=r[0],this.originY=r[1],this.cx=i[1]||0,this.cy=i[2]||0}apply(t){var{cx:e,cy:r,originX:i,originY:a,angle:o}=this,s=e+i.getPixels("x"),u=r+a.getPixels("y");t.translate(s,u),t.rotate(o.getRadians()),t.translate(-s,-u)}unapply(t){var{cx:e,cy:r,originX:i,originY:a,angle:o}=this,s=e+i.getPixels("x"),u=r+a.getPixels("y");t.translate(s,u),t.rotate(-1*o.getRadians()),t.translate(-s,-u)}applyToPoint(t){var{cx:e,cy:r,angle:i}=this,a=i.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(a),Math.sin(a),-Math.sin(a),Math.cos(a),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}class zr{constructor(t,e,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var i=Rt.parseScale(e);(i.x===0||i.y===0)&&(i.x=ae,i.y=ae),this.scale=i,this.originX=r[0],this.originY=r[1]}apply(t){var{scale:{x:e,y:r},originX:i,originY:a}=this,o=i.getPixels("x"),s=a.getPixels("y");t.translate(o,s),t.scale(e,r||e),t.translate(-o,-s)}unapply(t){var{scale:{x:e,y:r},originX:i,originY:a}=this,o=i.getPixels("x"),s=a.getPixels("y");t.translate(o,s),t.scale(1/e,1/r||e),t.translate(-o,-s)}applyToPoint(t){var{x:e,y:r}=this.scale;t.applyTransform([e||0,0,0,r||0,0,0])}}class yr{constructor(t,e,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=It(e),this.originX=r[0],this.originY=r[1]}apply(t){var{originX:e,originY:r,matrix:i}=this,a=e.getPixels("x"),o=r.getPixels("y");t.translate(a,o),t.transform(i[0],i[1],i[2],i[3],i[4],i[5]),t.translate(-a,-o)}unapply(t){var{originX:e,originY:r,matrix:i}=this,a=i[0],o=i[2],s=i[4],u=i[1],c=i[3],p=i[5],E=0,O=0,m=1,D=1/(a*(c*m-p*O)-o*(u*m-p*E)+s*(u*O-c*E)),V=e.getPixels("x"),L=r.getPixels("y");t.translate(V,L),t.transform(D*(c*m-p*O),D*(p*E-u*m),D*(s*O-o*m),D*(a*m-s*E),D*(o*p-s*c),D*(s*u-a*p)),t.translate(-V,-L)}applyToPoint(t){t.applyTransform(this.matrix)}}class mr extends yr{constructor(t,e,r){super(t,e,r),this.type="skew",this.angle=null,this.angle=new q(t,"angle",e)}}class $r extends mr{constructor(t,e,r){super(t,e,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class Hr extends mr{constructor(t,e,r){super(t,e,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function Nn(h){return Kt(h).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function In(h){var[t,e]=h.split("(");return[t.trim(),e.trim().replace(")","")]}class Te{constructor(t,e,r){this.document=t,this.transforms=[];var i=Nn(e);i.forEach(a=>{if(a!=="none"){var[o,s]=In(a),u=Te.transformTypes[o];typeof u!="undefined"&&this.transforms.push(new u(this.document,s,r))}})}static fromElement(t,e){var r=e.getStyle("transform",!1,!0),[i,a=i]=e.getStyle("transform-origin",!1,!0).split(),o=[i,a];return r.hasValue()?new Te(t,r.getString(),o):null}apply(t){for(var{transforms:e}=this,r=e.length,i=0;i=0;i--)e[i].unapply(t)}applyToPoint(t){for(var{transforms:e}=this,r=e.length,i=0;i2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=t,this.node=e,this.captureTextNodes=r,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!e||e.nodeType!==1)){if(Array.from(e.attributes).forEach(s=>{var u=De(s.nodeName);this.attributes[u]=new q(t,u,s.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var i=this.getAttribute("style").getString().split(";").map(s=>s.trim());i.forEach(s=>{if(s){var[u,c]=s.split(":").map(p=>p.trim());this.styles[u]=new q(t,u,c)}})}var{definitions:a}=t,o=this.getAttribute("id");o.hasValue()&&(a[o.getString()]||(a[o.getString()]=this)),Array.from(e.childNodes).forEach(s=>{if(s.nodeType===1)this.addChild(s);else if(r&&(s.nodeType===3||s.nodeType===4)){var u=t.createTextNode(s);u.getText().length>0&&this.addChild(u)}})}}getAttribute(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.attributes[t];if(!r&&e){var i=new q(this.document,t,"");return this.attributes[t]=i,i}return r||q.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if(t==="href"||t.endsWith(":href"))return this.attributes[t];return q.empty(this.document)}getStyle(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.styles[t];if(i)return i;var a=this.getAttribute(t);if(a!=null&&a.hasValue())return this.styles[t]=a,a;if(!r){var{parent:o}=this;if(o){var s=o.getStyle(t);if(s!=null&&s.hasValue())return s}}if(e){var u=new q(this.document,t,"");return this.styles[t]=u,u}return i||q.empty(this.document)}render(t){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var e=Te.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach(e=>{e.render(t)})}addChild(t){var e=t instanceof Ct?t:this.document.createElement(t);e.parent=this,Ct.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(t){var e,{node:r}=this;if(typeof r.matches=="function")return r.matches(t);var i=(e=r.getAttribute)===null||e===void 0?void 0:e.call(r,"class");return!i||i===""?!1:i.split(" ").some(a=>".".concat(a)===t)}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:e}=this.document;for(var r in t)if(!r.startsWith("@")&&this.matchesSelector(r)){var i=t[r],a=e[r];if(i)for(var o in i){var s=this.stylesSpecificity[o];typeof s=="undefined"&&(s="000"),a>=s&&(this.styles[o]=i[o],this.stylesSpecificity[o]=a)}}}removeStyles(t,e){var r=e.reduce((i,a)=>{var o=t.getStyle(a);if(!o.hasValue())return i;var s=o.getString();return o.setValue(""),[...i,[a,s]]},[]);return r}restoreStyles(t,e){e.forEach(r=>{var[i,a]=r;t.getStyle(i,!0).setValue(a)})}isFirstChild(){var t;return((t=this.parent)===null||t===void 0?void 0:t.children.indexOf(this))===0}}Ct.ignoreChildTypes=["title"];class Yr extends Ct{constructor(t,e,r){super(t,e,r)}}function Mn(h){var t=h.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function wn(h){return typeof ve=="undefined"?h:h.trim().split(",").map(Mn).join(",")}function Vn(h){if(!h)return"";var t=h.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function Dn(h){if(!h)return"";var t=h.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}class zt{constructor(t,e,r,i,a,o){var s=o?typeof o=="string"?zt.parse(o):o:{};this.fontFamily=a||s.fontFamily,this.fontSize=i||s.fontSize,this.fontStyle=t||s.fontStyle,this.fontWeight=r||s.fontWeight,this.fontVariant=e||s.fontVariant}static parse(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r="",i="",a="",o="",s="",u=Kt(t).trim().split(" "),c={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return u.forEach(p=>{switch(!0){case(!c.fontStyle&&zt.styles.includes(p)):p!=="inherit"&&(r=p),c.fontStyle=!0;break;case(!c.fontVariant&&zt.variants.includes(p)):p!=="inherit"&&(i=p),c.fontStyle=!0,c.fontVariant=!0;break;case(!c.fontWeight&&zt.weights.includes(p)):p!=="inherit"&&(a=p),c.fontStyle=!0,c.fontVariant=!0,c.fontWeight=!0;break;case!c.fontSize:p!=="inherit"&&([o]=p.split("/")),c.fontStyle=!0,c.fontVariant=!0,c.fontWeight=!0,c.fontSize=!0;break;default:p!=="inherit"&&(s+=p)}}),new zt(r,i,a,o,s,e)}toString(){return[Vn(this.fontStyle),this.fontVariant,Dn(this.fontWeight),this.fontSize,wn(this.fontFamily)].join(" ").trim()}}zt.styles="normal|italic|oblique|inherit",zt.variants="normal|small-caps|inherit",zt.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class kt{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=t,this.y1=e,this.x2=r,this.y2=i,this.addPoint(t,e),this.addPoint(r,i)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,e){typeof t!="undefined"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),tthis.x2&&(this.x2=t)),typeof e!="undefined"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:e,y1:r,x2:i,y2:a}=t;this.addPoint(e,r),this.addPoint(i,a)}}sumCubic(t,e,r,i,a){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*i+Math.pow(t,3)*a}bezierCurveAdd(t,e,r,i,a){var o=6*e-12*r+6*i,s=-3*e+9*r-9*i+3*a,u=3*r-3*e;if(s===0){if(o===0)return;var c=-u/o;0=e.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",r=new Rt(this.command[t],this.command[e]);return this.makeAbsolute(r)}getAsControlPoint(t,e){var r=this.getPoint(t,e);return this.control=r,r}getAsCurrentPoint(t,e){var r=this.getPoint(t,e);return this.current=r,r}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==N.CURVE_TO&&t!==N.SMOOTH_CURVE_TO&&t!==N.QUAD_TO&&t!==N.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:r},control:{x:i,y:a}}=this,o=new Rt(2*e-i,2*r-a);return o}makeAbsolute(t){if(this.command.relative){var{x:e,y:r}=this.current;t.x+=e,t.y+=r}return t}addMarker(t,e,r){var{points:i,angles:a}=this;r&&a.length>0&&!a[a.length-1]&&(a[a.length-1]=i[i.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}addMarkerAngle(t,e){this.points.push(t),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,e=t.length,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1;if(!e){var r=this.getStyle("fill"),i=this.getStyle("fill-opacity"),a=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var s=r.getFillStyleDefinition(this,i);s&&(t.fillStyle=s)}else if(r.hasValue()){r.getString()==="currentColor"&&r.setValue(this.getStyle("color").getColor());var u=r.getColor();u!=="inherit"&&(t.fillStyle=u==="none"?"rgba(0,0,0,0)":u)}if(i.hasValue()){var c=new q(this.document,"fill",t.fillStyle).addOpacity(i).getColor();t.fillStyle=c}if(a.isUrlDefinition()){var p=a.getFillStyleDefinition(this,o);p&&(t.strokeStyle=p)}else if(a.hasValue()){a.getString()==="currentColor"&&a.setValue(this.getStyle("color").getColor());var E=a.getString();E!=="inherit"&&(t.strokeStyle=E==="none"?"rgba(0,0,0,0)":E)}if(o.hasValue()){var O=new q(this.document,"stroke",t.strokeStyle).addOpacity(o).getString();t.strokeStyle=O}var m=this.getStyle("stroke-width");if(m.hasValue()){var D=m.getPixels();t.lineWidth=D||ae}var V=this.getStyle("stroke-linecap"),L=this.getStyle("stroke-linejoin"),U=this.getStyle("stroke-miterlimit"),K=this.getStyle("stroke-dasharray"),G=this.getStyle("stroke-dashoffset");if(V.hasValue()&&(t.lineCap=V.getString()),L.hasValue()&&(t.lineJoin=L.getString()),U.hasValue()&&(t.miterLimit=U.getNumber()),K.hasValue()&&K.getString()!=="none"){var z=It(K.getString());typeof t.setLineDash!="undefined"?t.setLineDash(z):typeof t.webkitLineDash!="undefined"?t.webkitLineDash=z:typeof t.mozDash!="undefined"&&!(z.length===1&&z[0]===0)&&(t.mozDash=z);var rt=G.getPixels();typeof t.lineDashOffset!="undefined"?t.lineDashOffset=rt:typeof t.webkitLineDashOffset!="undefined"?t.webkitLineDashOffset=rt:typeof t.mozDashOffset!="undefined"&&(t.mozDashOffset=rt)}}if(this.modifiedEmSizeStack=!1,typeof t.font!="undefined"){var at=this.getStyle("font"),H=this.getStyle("font-style"),ct=this.getStyle("font-variant"),vt=this.getStyle("font-weight"),pt=this.getStyle("font-size"),St=this.getStyle("font-family"),Tt=new zt(H.getString(),ct.getString(),vt.getString(),pt.hasValue()?"".concat(pt.getPixels(!0),"px"):"",St.getString(),zt.parse(at.getString(),t.font));H.setValue(Tt.fontStyle),ct.setValue(Tt.fontVariant),vt.setValue(Tt.fontWeight),pt.setValue(Tt.fontSize),St.setValue(Tt.fontFamily),t.font=Tt.toString(),pt.isPixels()&&(this.document.emSize=pt.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class xt extends Oe{constructor(t,e,r){super(t,e,r),this.type="path",this.pathParser=null,this.pathParser=new it(this.getAttribute("d").getString())}path(t){var{pathParser:e}=this,r=new kt;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case it.MOVE_TO:this.pathM(t,r);break;case it.LINE_TO:this.pathL(t,r);break;case it.HORIZ_LINE_TO:this.pathH(t,r);break;case it.VERT_LINE_TO:this.pathV(t,r);break;case it.CURVE_TO:this.pathC(t,r);break;case it.SMOOTH_CURVE_TO:this.pathS(t,r);break;case it.QUAD_TO:this.pathQ(t,r);break;case it.SMOOTH_QUAD_TO:this.pathT(t,r);break;case it.ARC:this.pathA(t,r);break;case it.CLOSE_PATH:this.pathZ(t,r);break}return r}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,e=t.getMarkerPoints(),r=t.getMarkerAngles(),i=e.map((a,o)=>[a,r[o]]);return i}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");t.fillStyle!==""&&(e.getString("inherit")!=="inherit"?t.fill(e.getString()):t.fill()),t.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var i=r.length-1,a=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(a.isUrlDefinition()){var u=a.getDefinition(),[c,p]=r[0];u.render(t,c,p)}if(o.isUrlDefinition())for(var E=o.getDefinition(),O=1;O1&&(i*=Math.sqrt(O),a*=Math.sqrt(O));var m=(s===u?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(a,2)-Math.pow(i,2)*Math.pow(E.y,2)-Math.pow(a,2)*Math.pow(E.x,2))/(Math.pow(i,2)*Math.pow(E.y,2)+Math.pow(a,2)*Math.pow(E.x,2)));isNaN(m)&&(m=0);var D=new Rt(m*i*E.y/a,m*-a*E.x/i),V=new Rt((e.x+p.x)/2+Math.cos(c)*D.x-Math.sin(c)*D.y,(e.y+p.y)/2+Math.sin(c)*D.x+Math.cos(c)*D.y),L=lr([1,0],[(E.x-D.x)/i,(E.y-D.y)/a]),U=[(E.x-D.x)/i,(E.y-D.y)/a],K=[(-E.x-D.x)/i,(-E.y-D.y)/a],G=lr(U,K);return Ke(U,K)<=-1&&(G=Math.PI),Ke(U,K)>=1&&(G=0),{currentPoint:p,rX:i,rY:a,sweepFlag:u,xAxisRotation:c,centp:V,a1:L,ad:G}}pathA(t,e){var{pathParser:r}=this,{currentPoint:i,rX:a,rY:o,sweepFlag:s,xAxisRotation:u,centp:c,a1:p,ad:E}=xt.pathA(r),O=1-s?1:-1,m=p+O*(E/2),D=new Rt(c.x+a*Math.cos(m),c.y+o*Math.sin(m));if(r.addMarkerAngle(D,m-O*Math.PI/2),r.addMarkerAngle(i,m-O*Math.PI),e.addPoint(i.x,i.y),t&&!isNaN(p)&&!isNaN(E)){var V=a>o?a:o,L=a>o?1:a/o,U=a>o?o/a:1;t.translate(c.x,c.y),t.rotate(u),t.scale(L,U),t.arc(0,0,V,p,p+E,!!(1-s)),t.scale(1/L,1/U),t.rotate(-u),t.translate(-c.x,-c.y)}}static pathZ(t){t.current=t.start}pathZ(t,e){xt.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}class xr extends xt{constructor(t,e,r){super(t,e,r),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class se extends Oe{constructor(t,e,r){super(t,e,new.target===se?!0:r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(t,e);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if(this.type!=="text")return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var e=null;return this.children.forEach((r,i)=>{var a=this.getChildBoundingBox(t,this,this,i);e?e.addBoundingBox(a):e=a}),e}getFontSize(){var{document:t,parent:e}=this,r=zt.parse(t.ctx.font).fontSize,i=e.getStyle("font-size").getNumber(r);return i}getTElementBoundingBox(t){var e=this.getFontSize();return new kt(this.x,this.y-e,this.x+this.measureText(t),this.y)}getGlyph(t,e,r){var i=e[r],a=null;if(t.isArabic){var o=e.length,s=e[r-1],u=e[r+1],c="isolated";if((r===0||s===" ")&&r0&&s!==" "&&r0&&s!==" "&&(r===o-1||u===" ")&&(c="initial"),typeof t.glyphs[i]!="undefined"){var p=t.glyphs[i];a=p instanceof xr?p:p[c]}}else a=t.glyphs[i];return a||(a=t.missingGlyph),a}getText(){return""}getTextFromNode(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),i=r.indexOf(e),a=r.length-1,o=Kt(e.textContent||"");return i===0&&(o=ze(o)),i===a&&(o=Ze(o)),o}renderChildren(t){if(this.type!=="text"){this.renderTElementChildren(t);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((r,i)=>{this.renderChild(t,this,this,i)});var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(t))}renderTElementChildren(t){var{document:e,parent:r}=this,i=this.getText(),a=r.getStyle("font-family").getDefinition();if(a){for(var{unitsPerEm:o}=a.fontFace,s=zt.parse(e.ctx.font),u=r.getStyle("font-size").getNumber(s.fontSize),c=r.getStyle("font-style").getString(s.fontStyle),p=u/o,E=a.isRTL?i.split("").reverse().join(""):i,O=It(r.getAttribute("dx").getString()),m=E.length,D=0;D=this.leafTexts.length)){var t=this.leafTexts[this.textChunkStart],e=t.getStyle("text-anchor").getString("start"),r=!1,i=0;e==="start"&&!r||e==="end"&&r?i=t.x-this.minX:e==="end"&&!r||e==="start"&&r?i=t.x-this.maxX:i=t.x-(this.minX+this.maxX)/2;for(var a=this.textChunkStart;a{this.adjustChildCoordinatesRecursiveCore(t,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,e,r,i){var a=r.children[i];a.children.length>0?a.children.forEach((o,s)=>{e.adjustChildCoordinatesRecursiveCore(t,e,a,s)}):this.adjustChildCoordinates(t,e,r,i)}adjustChildCoordinates(t,e,r,i){var a=r.children[i];if(typeof a.measureText!="function")return a;t.save(),a.setContext(t,!0);var o=a.getAttribute("x"),s=a.getAttribute("y"),u=a.getAttribute("dx"),c=a.getAttribute("dy"),p=a.getStyle("font-family").getDefinition(),E=!!p&&p.isRTL;i===0&&(o.hasValue()||o.setValue(a.getInheritedAttribute("x")),s.hasValue()||s.setValue(a.getInheritedAttribute("y")),u.hasValue()||u.setValue(a.getInheritedAttribute("dx")),c.hasValue()||c.setValue(a.getInheritedAttribute("dy")));var O=a.measureText(t);return E&&(e.x-=O),o.hasValue()?(e.applyAnchoring(),a.x=o.getPixels("x"),u.hasValue()&&(a.x+=u.getPixels("x"))):(u.hasValue()&&(e.x+=u.getPixels("x")),a.x=e.x),e.x=a.x,E||(e.x+=O),s.hasValue()?(a.y=s.getPixels("y"),c.hasValue()&&(a.y+=c.getPixels("y"))):(c.hasValue()&&(e.y+=c.getPixels("y")),a.y=e.y),e.y=a.y,e.leafTexts.push(a),e.minX=Math.min(e.minX,a.x,a.x+O),e.maxX=Math.max(e.maxX,a.x,a.x+O),a.clearContext(t),t.restore(),a}getChildBoundingBox(t,e,r,i){var a=r.children[i];if(typeof a.getBoundingBox!="function")return null;var o=a.getBoundingBox(t);return o?(a.children.forEach((s,u)=>{var c=e.getChildBoundingBox(t,e,a,u);o.addBoundingBox(c)}),o):null}renderChild(t,e,r,i){var a=r.children[i];a.render(t),a.children.forEach((o,s)=>{e.renderChild(t,e,a,s)})}measureText(t){var{measureCache:e}=this;if(~e)return e;var r=this.getText(),i=this.measureTargetText(t,r);return this.measureCache=i,i}measureTargetText(t,e){if(!e.length)return 0;var{parent:r}=this,i=r.getStyle("font-family").getDefinition();if(i){for(var a=this.getFontSize(),o=i.isRTL?e.split("").reverse().join(""):e,s=It(r.getAttribute("dx").getString()),u=o.length,c=0,p=0;p0?"":this.getTextFromNode()}getText(){return this.text}}class Ln extends Ye{constructor(){super(...arguments),this.type="textNode"}}class Be extends Oe{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var e,{document:r}=this,{screen:i,window:a}=r,o=t.canvas;if(i.setDefaults(t),o.style&&typeof t.font!="undefined"&&a&&typeof a.getComputedStyle!="undefined"){t.font=a.getComputedStyle(o).getPropertyValue("font");var s=new q(r,"fontSize",zt.parse(t.font).fontSize);s.hasValue()&&(r.rootEmSize=s.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:c}=i.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var p=this.getAttribute("refX"),E=this.getAttribute("refY"),O=this.getAttribute("viewBox"),m=O.hasValue()?It(O.getString()):null,D=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",V=0,L=0,U=0,K=0;m&&(V=m[0],L=m[1]),this.root||(u=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y"),this.type==="marker"&&(U=V,K=L,V=0,L=0)),i.viewPort.setCurrent(u,c),this.node&&(!this.parent||((e=this.node.parentNode)===null||e===void 0?void 0:e.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),m&&(u=m[2],c=m[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:u,height:i.viewPort.height,desiredHeight:c,minX:V,minY:L,refX:p.getValue(),refY:E.getValue(),clip:D,clipX:U,clipY:K}),m&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(u,c))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.getAttribute("width",!0),a=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=i.getNumber(0),c=a.getNumber(0);if(r)if(typeof r=="string")this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var p=this.getAttribute("preserveAspectRatio");p.hasValue()&&p.setValue(p.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(t),a.setValue(e),o.hasValue()||o.setValue("0 0 ".concat(u||t," ").concat(c||e)),s.hasValue()){var E=this.getStyle("width"),O=this.getStyle("height");E.hasValue()&&E.setValue("".concat(t,"px")),O.hasValue()&&O.setValue("".concat(e,"px"))}}}class Er extends xt{constructor(){super(...arguments),this.type="rect"}path(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),i=this.getStyle("width",!1,!0).getPixels("x"),a=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),c=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(c=u),s.hasValue()&&!o.hasValue()&&(u=c),u=Math.min(u,i/2),c=Math.min(c,a/2),t){var p=4*((Math.sqrt(2)-1)/3);t.beginPath(),a>0&&i>0&&(t.moveTo(e+u,r),t.lineTo(e+i-u,r),t.bezierCurveTo(e+i-u+p*u,r,e+i,r+c-p*c,e+i,r+c),t.lineTo(e+i,r+a-c),t.bezierCurveTo(e+i,r+a-c+p*c,e+i-u+p*u,r+a,e+i-u,r+a),t.lineTo(e+u,r+a),t.bezierCurveTo(e+u-p*u,r+a,e,r+a-c+p*c,e,r+a-c),t.lineTo(e,r+c),t.bezierCurveTo(e,r+c-p*c,e+u-p*u,r,e+u,r),t.closePath())}return new kt(e,r,e+i,r+a)}getMarkers(){return null}}class Xr extends xt{constructor(){super(...arguments),this.type="circle"}path(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return t&&i>0&&(t.beginPath(),t.arc(e,r,i,0,Math.PI*2,!1),t.closePath()),new kt(e-i,r-i,e+i,r+i)}getMarkers(){return null}}class Wr extends xt{constructor(){super(...arguments),this.type="ellipse"}path(t){var e=4*((Math.sqrt(2)-1)/3),r=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),a=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return t&&r>0&&i>0&&(t.beginPath(),t.moveTo(a+r,o),t.bezierCurveTo(a+r,o+e*i,a+e*r,o+i,a,o+i),t.bezierCurveTo(a-e*r,o+i,a-r,o+e*i,a-r,o),t.bezierCurveTo(a-r,o-e*i,a-e*r,o-i,a,o-i),t.bezierCurveTo(a+e*r,o-i,a+r,o-e*i,a+r,o),t.closePath()),new kt(a-r,o-i,a+r,o+i)}getMarkers(){return null}}class Qr extends xt{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Rt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Rt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:e,y:r},{x:i,y:a}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(e,r),t.lineTo(i,a)),new kt(e,r,i,a)}getMarkers(){var[t,e]=this.getPoints(),r=t.angleTo(e);return[[t,r],[e,r]]}}class Tr extends xt{constructor(t,e,r){super(t,e,r),this.type="polyline",this.points=[],this.points=Rt.parsePath(this.getAttribute("points").getString())}path(t){var{points:e}=this,[{x:r,y:i}]=e,a=new kt(r,i);return t&&(t.beginPath(),t.moveTo(r,i)),e.forEach(o=>{var{x:s,y:u}=o;a.addPoint(s,u),t&&t.lineTo(s,u)}),a}getMarkers(){var{points:t}=this,e=t.length-1,r=[];return t.forEach((i,a)=>{a!==e&&r.push([i,i.angleTo(t[a+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}class Zr extends Tr{constructor(){super(...arguments),this.type="polygon"}path(t){var e=super.path(t),[{x:r,y:i}]=this.points;return t&&(t.lineTo(r,i),t.closePath()),e}}class Kr extends Ct{constructor(){super(...arguments),this.type="pattern"}createPattern(t,e,r){var i=this.getStyle("width").getPixels("x",!0),a=this.getStyle("height").getPixels("y",!0),o=new Be(this.document,null);o.attributes.viewBox=new q(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new q(this.document,"width","".concat(i,"px")),o.attributes.height=new q(this.document,"height","".concat(a,"px")),o.attributes.transform=new q(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(i,a),u=s.getContext("2d"),c=this.getAttribute("x"),p=this.getAttribute("y");c.hasValue()&&p.hasValue()&&u.translate(c.getPixels("x",!0),p.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var E=-1;E<=1;E++)for(var O=-1;O<=1;O++)u.save(),o.attributes.x=new q(this.document,"x",E*s.width),o.attributes.y=new q(this.document,"y",O*s.height),o.render(u),u.restore();var m=t.createPattern(s,"repeat");return m}}class kr extends Ct{constructor(){super(...arguments),this.type="marker"}render(t,e,r){if(e){var{x:i,y:a}=e,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(i,a),o==="auto"&&t.rotate(r),s==="strokeWidth"&&t.scale(t.lineWidth,t.lineWidth),t.save();var u=new Be(this.document,null);u.type=this.type,u.attributes.viewBox=new q(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new q(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new q(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new q(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new q(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new q(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new q(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new q(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(t),t.restore(),s==="strokeWidth"&&t.scale(1/t.lineWidth,1/t.lineWidth),o==="auto"&&t.rotate(-r),t.translate(-i,-a)}}}class Jr extends Ct{constructor(){super(...arguments),this.type="defs"}render(){}}class Je extends Oe{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var e=new kt;return this.children.forEach(r=>{e.addBoundingBox(r.getBoundingBox(t))}),e}}class Or extends Ct{constructor(t,e,r){super(t,e,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:i,children:a}=this;a.forEach(o=>{o.type==="stop"&&i.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,e,r){var i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var{stops:a}=i,o=this.getGradient(t,e);if(!o)return this.addParentOpacity(r,a[a.length-1].color);if(a.forEach(L=>{o.addColorStop(L.offset,this.addParentOpacity(r,L.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:c}=s.screen,[p]=c.viewPorts,E=new Er(s,null);E.attributes.x=new q(s,"x",-u/3),E.attributes.y=new q(s,"y",-u/3),E.attributes.width=new q(s,"width",u),E.attributes.height=new q(s,"height",u);var O=new Je(s,null);O.attributes.transform=new q(s,"transform",this.getAttribute("gradientTransform").getValue()),O.children=[E];var m=new Be(s,null);m.attributes.x=new q(s,"x",0),m.attributes.y=new q(s,"y",0),m.attributes.width=new q(s,"width",p.width),m.attributes.height=new q(s,"height",p.height),m.children=[O];var D=s.createCanvas(p.width,p.height),V=D.getContext("2d");return V.fillStyle=o,m.render(V),V.createPattern(D,"no-repeat")}return o}inheritStopContainer(t){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())})}addParentOpacity(t,e){if(t.hasValue()){var r=new q(this.document,"color",e);return r.addOpacity(t).getColor()}return e}}class qr extends Or{constructor(t,e,r){super(t,e,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,e){var r=this.getGradientUnits()==="objectBoundingBox",i=r?e.getBoundingBox(t):null;if(r&&!i)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var a=r?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=r?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=r?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=r?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return a===s&&o===u?null:t.createLinearGradient(a,o,s,u)}}class _r extends Or{constructor(t,e,r){super(t,e,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,e){var r=this.getGradientUnits()==="objectBoundingBox",i=e.getBoundingBox(t);if(r&&!i)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var a=r?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=r?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=a,u=o;this.getAttribute("fx").hasValue()&&(s=r?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=r?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var c=r?(i.width+i.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),p=this.getAttribute("fr").getPixels();return t.createRadialGradient(s,u,p,a,o,c)}}class tn extends Ct{constructor(t,e,r){super(t,e,r),this.type="stop";var i=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),a=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);o.getString()===""&&o.setValue("#000"),a.hasValue()&&(o=o.addOpacity(a)),this.offset=i,this.color=o.getColor()}}class qe extends Ct{constructor(t,e,r){super(t,e,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new q(t,"values",null);var i=this.getAttribute("values");i.hasValue()&&this.values.setValue(i.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return t==="CSS"?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:t}=this,{progress:e,from:r,to:i}=this.getProgress(),a=r.getNumber()+(i.getNumber()-r.getNumber())*e;return t==="%"&&(a*=100),"".concat(a).concat(t)}update(t){var{parent:e}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(i==="freeze"&&!this.frozen)this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();else if(i==="remove"&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=t;var a=!1;if(this.begin{var c=a[u];return s+(c-s)*t}).join(" ");return o}}class nn extends Ct{constructor(t,e,r){super(t,e,r),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:i}=t,{children:a}=this;for(var o of a)switch(o.type){case"font-face":{this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(i[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=o;break;case"glyph":{var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]=="undefined"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u;break}}}render(){}}class an extends Ct{constructor(t,e,r){super(t,e,r),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class sn extends xt{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class on extends se{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}class un extends se{constructor(t,e,r){super(t,e,r),this.type="a";var{childNodes:i}=e,a=i[0],o=i.length>0&&Array.from(i).every(s=>s.nodeType===3);this.hasText=o,this.text=o?this.getTextFromNode(a):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:e,x:r,y:i}=this,{mouse:a}=e.screen,o=new q(e,"fontSize",zt.parse(e.ctx.font).fontSize);a.isWorking()&&a.checkBoundingBox(this,new kt(r,i-o.getPixels("y"),r+this.measureText(t),i))}else if(this.children.length>0){var s=new Je(this.document,null);s.children=this.children,s.parent=this,s.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){var t=this.document.ctx;t.canvas.style.cursor="pointer"}}function ln(h,t){var e=Object.keys(h);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(h);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(h,i).enumerable})),e.push.apply(e,r)}return e}function _e(h){for(var t=1;t{var{type:i,points:a}=r;switch(i){case it.LINE_TO:t&&t.lineTo(a[0],a[1]);break;case it.MOVE_TO:t&&t.moveTo(a[0],a[1]);break;case it.CURVE_TO:t&&t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);break;case it.QUAD_TO:t&&t.quadraticCurveTo(a[0],a[1],a[2],a[3]);break;case it.ARC:{var[o,s,u,c,p,E,O,m]=a,D=u>c?u:c,V=u>c?1:u/c,L=u>c?c/u:1;t&&(t.translate(o,s),t.rotate(O),t.scale(V,L),t.arc(0,0,D,p,p+E,!!(1-m)),t.scale(1/V,1/L),t.rotate(-O),t.translate(-o,-s));break}case it.CLOSE_PATH:t&&t.closePath();break}})}renderChildren(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:i}=this,a=t.fillStyle;e==="underline"&&t.beginPath(),i.forEach((o,s)=>{var{p0:u,p1:c,rotation:p,text:E}=o;t.save(),t.translate(u.x,u.y),t.rotate(p),t.fillStyle&&t.fillText(E,0,0),t.strokeStyle&&t.strokeText(E,0,0),t.restore(),e==="underline"&&(s===0&&t.moveTo(u.x,u.y+r/8),t.lineTo(c.x,c.y+r/5))}),e==="underline"&&(t.lineWidth=r/20,t.strokeStyle=a,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[t]||0}findSegmentToFitChar(t,e,r,i,a,o,s,u,c){var p=o,E=this.measureText(t,u);u===" "&&e==="justify"&&r-1&&(p+=this.getLetterSpacingAt(c));var O=this.textHeight/20,m=this.getEquidistantPointOnPath(p,O,0),D=this.getEquidistantPointOnPath(p+E,O,0),V={p0:m,p1:D},L=m&&D?Math.atan2(D.y-m.y,D.x-m.x):0;if(s){var U=Math.cos(Math.PI/2+L)*s,K=Math.cos(-L)*s;V.p0=_e(_e({},m),{},{x:m.x+U,y:m.y+K}),V.p1=_e(_e({},D),{},{x:D.x+U,y:D.y+K})}return p+=E,{offset:p,segment:V,rotation:L}}measureText(t,e){var{measuresCache:r}=this,i=e||this.getText();if(r.has(i))return r.get(i);var a=this.measureTargetText(t,i);return r.set(i,a),a}setTextData(t){if(!this.glyphInfo){var e=this.getText(),r=e.split(""),i=e.split(" ").length-1,a=this.parent.getAttribute("dx").split().map(z=>z.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),c=this.parent.getStyle("letter-spacing"),p=0;!u.hasValue()||u.getValue()==="inherit"?p=c.getPixels():u.hasValue()&&u.getValue()!=="initial"&&u.getValue()!=="unset"&&(p=u.getPixels());var E=[],O=e.length;this.letterSpacingCache=E;for(var m=0;mat===0?0:z+rt||0,0),V=this.measureText(t),L=Math.max(V+D,0);this.textWidth=V,this.textHeight=this.getFontSize(),this.glyphInfo=[];var U=this.getPathLength(),K=this.getStyle("startOffset").getNumber(0)*U,G=0;(s==="middle"||s==="center")&&(G=-L/2),(s==="end"||s==="right")&&(G=-L),G+=K,r.forEach((z,rt)=>{var{offset:at,segment:H,rotation:ct}=this.findSegmentToFitChar(t,s,L,U,i,G,o,z,rt);G=at,!(!H.p0||!H.p1)&&this.glyphInfo.push({text:r[rt],p0:H.p0,p1:H.p1,rotation:ct})})}}parsePathData(t){if(this.pathLength=-1,!t)return[];var e=[],{pathParser:r}=t;for(r.reset();!r.isEnd();){var{current:i}=r,a=i?i.x:0,o=i?i.y:0,s=r.next(),u=s.type,c=[];switch(s.type){case it.MOVE_TO:this.pathM(r,c);break;case it.LINE_TO:u=this.pathL(r,c);break;case it.HORIZ_LINE_TO:u=this.pathH(r,c);break;case it.VERT_LINE_TO:u=this.pathV(r,c);break;case it.CURVE_TO:this.pathC(r,c);break;case it.SMOOTH_CURVE_TO:u=this.pathS(r,c);break;case it.QUAD_TO:this.pathQ(r,c);break;case it.SMOOTH_QUAD_TO:u=this.pathT(r,c);break;case it.ARC:c=this.pathA(r);break;case it.CLOSE_PATH:xt.pathZ(r);break}s.type!==it.CLOSE_PATH?e.push({type:u,points:c,start:{x:a,y:o},pathLength:this.calcLength(a,o,u,c)}):e.push({type:it.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(t,e){var{x:r,y:i}=xt.pathM(t).point;e.push(r,i)}pathL(t,e){var{x:r,y:i}=xt.pathL(t).point;return e.push(r,i),it.LINE_TO}pathH(t,e){var{x:r,y:i}=xt.pathH(t).point;return e.push(r,i),it.LINE_TO}pathV(t,e){var{x:r,y:i}=xt.pathV(t).point;return e.push(r,i),it.LINE_TO}pathC(t,e){var{point:r,controlPoint:i,currentPoint:a}=xt.pathC(t);e.push(r.x,r.y,i.x,i.y,a.x,a.y)}pathS(t,e){var{point:r,controlPoint:i,currentPoint:a}=xt.pathS(t);return e.push(r.x,r.y,i.x,i.y,a.x,a.y),it.CURVE_TO}pathQ(t,e){var{controlPoint:r,currentPoint:i}=xt.pathQ(t);e.push(r.x,r.y,i.x,i.y)}pathT(t,e){var{controlPoint:r,currentPoint:i}=xt.pathT(t);return e.push(r.x,r.y,i.x,i.y),it.QUAD_TO}pathA(t){var{rX:e,rY:r,sweepFlag:i,xAxisRotation:a,centp:o,a1:s,ad:u}=xt.pathA(t);return i===0&&u>0&&(u-=2*Math.PI),i===1&&u<0&&(u+=2*Math.PI),[o.x,o.y,e,r,s,u,a,i]}calcLength(t,e,r,i){var a=0,o=null,s=null,u=0;switch(r){case it.LINE_TO:return this.getLineLength(t,e,i[0],i[1]);case it.CURVE_TO:for(a=0,o=this.getPointOnCubicBezier(0,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),a+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return a;case it.QUAD_TO:for(a=0,o=this.getPointOnQuadraticBezier(0,t,e,i[0],i[1],i[2],i[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,t,e,i[0],i[1],i[2],i[3]),a+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return a;case it.ARC:{a=0;var c=i[4],p=i[5],E=i[4]+p,O=Math.PI/180;if(Math.abs(c-E)E;u-=O)s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),a+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=c+O;u5&&arguments[5]!==void 0?arguments[5]:e,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:r,u=(a-r)/(i-e+ae),c=Math.sqrt(t*t/(1+u*u));ie)return null;var{dataArray:a}=this;for(var o of a){if(o&&(o.pathLength<5e-5||r+o.pathLength+5e-5=0&&u>E)break;i=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break}case it.CURVE_TO:u=s/o.pathLength,u>1&&(u=1),i=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case it.QUAD_TO:u=s/o.pathLength,u>1&&(u=1),i=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3]);break}if(i)return i;break}return null}getLineLength(t,e,r,i){return Math.sqrt((r-t)*(r-t)+(i-e)*(i-e))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((t,e)=>e.pathLength>0?t+e.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,e,r,i,a,o,s,u,c){var p=u*hr(t)+o*fr(t)+i*cr(t)+e*vr(t),E=c*hr(t)+s*fr(t)+a*cr(t)+r*vr(t);return{x:p,y:E}}getPointOnQuadraticBezier(t,e,r,i,a,o,s){var u=o*gr(t)+i*dr(t)+e*pr(t),c=s*gr(t)+a*dr(t)+r*pr(t);return{x:u,y:c}}getPointOnEllipticalArc(t,e,r,i,a,o){var s=Math.cos(o),u=Math.sin(o),c={x:r*Math.cos(a),y:i*Math.sin(a)};return{x:t+(c.x*s-c.y*u),y:e+(c.x*u+c.y*s)}}buildEquidistantCache(t,e){var r=this.getPathLength(),i=e||.25,a=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==a||this.equidistantCache.precision!==i){this.equidistantCache={step:a,precision:i,points:[]};for(var o=0,s=0;s<=r;s+=i){var u=this.getPointOnPath(s),c=this.getPointOnPath(s+i);!u||!c||(o+=this.getLineLength(u.x,u.y,c.x,c.y),o>=a&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=a))}}}getEquidistantPointOnPath(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var i=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}var Bn=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class fn extends Oe{constructor(t,e,r){super(t,e,r),this.type="image",this.loaded=!1;var i=this.getHrefAttribute().getString();if(i){var a=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);t.images.push(this),a?this.loadSvg(i):this.loadImage(i),this.isSvg=a}}loadImage(t){var e=this;return(0,f.Z)(function*(){try{var r=yield e.document.createImage(t);e.image=r}catch(i){console.error('Error while loading image "'.concat(t,'":'),i)}e.loaded=!0})()}loadSvg(t){var e=this;return(0,f.Z)(function*(){var r=Bn.exec(t);if(r){var i=r[5];r[4]==="base64"?e.image=atob(i):e.image=decodeURIComponent(i)}else try{var a=yield e.document.fetch(t),o=yield a.text();e.image=o}catch(s){console.error('Error while loading image "'.concat(t,'":'),s)}e.loaded=!0})()}renderChildren(t){var{document:e,image:r,loaded:i}=this,a=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!(!i||!r||!s||!u)){if(t.save(),t.translate(a,o),this.isSvg){var c=e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});c.document.documentElement.parent=this,c.render()}else{var p=this.image;e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:p.width,height:u,desiredHeight:p.height}),this.loaded&&(typeof p.complete=="undefined"||p.complete)&&t.drawImage(p,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new kt(t,e,t+r,e+i)}}class cn extends Oe{constructor(){super(...arguments),this.type="symbol"}render(t){}}class vn{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var r=this;return(0,f.Z)(function*(){try{var{document:i}=r,a=yield i.canvg.parser.load(e),o=a.getElementsByTagName("font");Array.from(o).forEach(s=>{var u=i.createElement(s);i.definitions[t]=u})}catch(s){console.error('Error while loading font "'.concat(e,'":'),s)}r.loaded=!0})()}}class Sr extends Ct{constructor(t,e,r){super(t,e,r),this.type="style";var i=Kt(Array.from(e.childNodes).map(o=>o.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),a=i.split("}");a.forEach(o=>{var s=o.trim();if(s){var u=s.split("{"),c=u[0].split(","),p=u[1].split(";");c.forEach(E=>{var O=E.trim();if(O){var m=t.styles[O]||{};if(p.forEach(L=>{var U=L.indexOf(":"),K=L.substr(0,U).trim(),G=L.substr(U+1,L.length-U).trim();K&&G&&(m[K]=new q(t,K,G))}),t.styles[O]=m,t.stylesSpecificity[O]=$e(O),O==="@font-face"){var D=m["font-family"].getString().replace(/"|'/g,""),V=m.src.getString().split(",");V.forEach(L=>{if(L.indexOf('format("svg")')>0){var U=W(L);U&&new vn(t).load(D,U)}})}}})}})}}Sr.parseExternalUrl=W;class gn extends Oe{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}path(t){var{element:e}=this;e&&e.path(t)}renderChildren(t){var{document:e,element:r}=this;if(r){var i=r;if(r.type==="symbol"&&(i=new Be(e,null),i.attributes.viewBox=new q(e,"viewBox",r.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new q(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new q(e,"overflow",r.getAttribute("overflow").getString()),i.children=r.children,r.styles.opacity=new q(e,"opacity",this.calculateOpacity())),i.type==="svg"){var a=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);a.hasValue()&&(i.attributes.width=new q(e,"width",a.getString())),o.hasValue()&&(i.attributes.height=new q(e,"height",o.getString()))}var s=i.parent;i.parent=this,i.render(t),i.parent=s}}getBoundingBox(t){var{element:e}=this;return e?e.getBoundingBox(t):null}elementTransform(){var{document:t,element:e}=this;return Te.fromElement(t,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function tr(h,t,e,r,i,a){return h[e*r*4+t*4+a]}function er(h,t,e,r,i,a,o){h[e*r*4+t*4+a]=o}function Dt(h,t,e){var r=h[t];return r*e}function oe(h,t,e,r){return t+Math.cos(h)*e+Math.sin(h)*r}class br extends Ct{constructor(t,e,r){super(t,e,r),this.type="feColorMatrix";var i=It(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var a=i[0];i=[.213+.787*a,.715-.715*a,.072-.072*a,0,0,.213-.213*a,.715+.285*a,.072-.072*a,0,0,.213-.213*a,.715-.715*a,.072+.928*a,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var o=i[0]*Math.PI/180;i=[oe(o,.213,.787,-.213),oe(o,.715,-.715,-.715),oe(o,.072,-.072,.928),0,0,oe(o,.213,-.213,.143),oe(o,.715,.285,.14),oe(o,.072,-.072,-.283),0,0,oe(o,.213,-.213,-.787),oe(o,.715,-.715,.715),oe(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=i,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,e,r,i,a){for(var{includeOpacity:o,matrix:s}=this,u=t.getImageData(0,0,i,a),c=0;c{u.addBoundingBox(D.getBoundingBox(t))}),i=Math.floor(u.x1),a=Math.floor(u.y1),o=Math.floor(u.width),s=Math.floor(u.height)}var c=this.removeStyles(e,Xe.ignoreStyles),p=r.createCanvas(i+o,a+s),E=p.getContext("2d");r.screen.setDefaults(E),this.renderChildren(E),new br(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(E,0,0,i+o,a+s);var O=r.createCanvas(i+o,a+s),m=O.getContext("2d");r.screen.setDefaults(m),e.render(m),m.globalCompositeOperation="destination-in",m.fillStyle=E.createPattern(p,"no-repeat"),m.fillRect(0,0,i+o,a+s),t.fillStyle=m.createPattern(O,"no-repeat"),t.fillRect(0,0,i+o,a+s),this.restoreStyles(e,c)}render(t){}}Xe.ignoreStyles=["mask","transform","clip-path"];var dn=()=>{};class pn extends Ct{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:e}=this,r=Reflect.getPrototypeOf(t),{beginPath:i,closePath:a}=t;r&&(r.beginPath=dn,r.closePath=dn),Reflect.apply(i,t,[]),this.children.forEach(o=>{if(typeof o.path!="undefined"){var s=typeof o.elementTransform!="undefined"?o.elementTransform():null;s||(s=Te.fromElement(e,o)),s&&s.apply(t),o.path(t),r&&(r.closePath=a),s&&s.unapply(t)}}),Reflect.apply(a,t,[]),t.clip(),r&&(r.beginPath=i,r.closePath=a)}render(t){}}class We extends Ct{constructor(){super(...arguments),this.type="filter"}apply(t,e){var{document:r,children:i}=this,a=e.getBoundingBox(t);if(a){var o=0,s=0;i.forEach(U=>{var K=U.extraFilterDistance||0;o=Math.max(o,K),s=Math.max(s,K)});var u=Math.floor(a.width),c=Math.floor(a.height),p=u+2*o,E=c+2*s;if(!(p<1||E<1)){var O=Math.floor(a.x),m=Math.floor(a.y),D=this.removeStyles(e,We.ignoreStyles),V=r.createCanvas(p,E),L=V.getContext("2d");r.screen.setDefaults(L),L.translate(-O+o,-m+s),e.render(L),i.forEach(U=>{typeof U.apply=="function"&&U.apply(L,0,0,p,E)}),t.drawImage(V,0,0,p,E,O-o,m-s,p,E),this.restoreStyles(e,D)}}}render(t){}}We.ignoreStyles=["filter","transform","clip-path"];class yn extends Ct{constructor(t,e,r){super(t,e,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,e,r,i,a){}}class mn extends Ct{constructor(){super(...arguments),this.type="feMorphology"}apply(t,e,r,i,a){}}class xn extends Ct{constructor(){super(...arguments),this.type="feComposite"}apply(t,e,r,i,a){}}class En extends Ct{constructor(t,e,r){super(t,e,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,e,r,i,a){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,c=t.canvas;c.id=o.getUniqueId(),u&&(c.style.display="none",u.appendChild(c)),he(c,e,r,i,a,s),u&&u.removeChild(c)}}class Tn extends Ct{constructor(){super(...arguments),this.type="title"}}class On extends Ct{constructor(){super(...arguments),this.type="desc"}}var Fn={svg:Be,rect:Er,circle:Xr,ellipse:Wr,line:Qr,polyline:Tr,polygon:Zr,path:xt,pattern:Kr,marker:kr,defs:Jr,linearGradient:qr,radialGradient:_r,stop:tn,animate:qe,animateColor:en,animateTransform:rn,font:nn,"font-face":an,"missing-glyph":sn,glyph:xr,text:se,tspan:Ye,tref:on,a:un,textPath:hn,image:fn,g:Je,symbol:cn,style:Sr,use:gn,mask:Xe,clipPath:pn,filter:We,feDropShadow:yn,feMorphology:mn,feComposite:xn,feColorMatrix:br,feGaussianBlur:En,title:Tn,desc:On};function Sn(h,t){var e=Object.keys(h);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(h);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(h,i).enumerable})),e.push.apply(e,r)}return e}function Un(h){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:!1,e=document.createElement("img");return t&&(e.crossOrigin="Anonymous"),new Promise((r,i)=>{e.onload=()=>{r(e)},e.onerror=(a,o,s,u,c)=>{i(c)},e.src=h})}),Cr.apply(this,arguments)}class ue{constructor(t){var{rootEmSize:e=12,emSize:r=12,createCanvas:i=ue.createCanvas,createImage:a=ue.createImage,anonymousCrossOrigin:o}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=t,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=e,this.emSize=r,this.createCanvas=i,this.createImage=this.bindCreateImage(a,o),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,e){return typeof e=="boolean"?(r,i)=>t(r,typeof i=="boolean"?i:e):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:e}=this;e.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(t=>t.loaded)}isFontsLoaded(){return this.fonts.every(t=>t.loaded)}createDocumentElement(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}createElement(t){var e=t.nodeName.replace(/^[^:]+:/,""),r=ue.elementTypes[e];return typeof r!="undefined"?new r(this,t):new Yr(this,t)}createTextNode(t){return new Ln(this,t)}setViewBox(t){this.screen.setViewBox(Un({document:this},t))}}ue.createCanvas=jn,ue.createImage=Gn,ue.elementTypes=Fn;function bn(h,t){var e=Object.keys(h);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(h);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(h,i).enumerable})),e.push.apply(e,r)}return e}function Re(h){for(var t=1;t2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new ke(r),this.screen=new He(t,r),this.options=r;var i=new ue(this,r),a=i.createDocumentElement(e);this.document=i,this.documentElement=a}static from(t,e){var r=arguments;return(0,f.Z)(function*(){var i=r.length>2&&r[2]!==void 0?r[2]:{},a=new ke(i),o=yield a.parse(e);return new Ne(t,o,i)})()}static fromString(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=new ke(r),a=i.parseFromString(e);return new Ne(t,a,r)}fork(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ne.from(t,e,Re(Re({},this.options),r))}forkString(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ne.fromString(t,e,Re(Re({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return(0,f.Z)(function*(){var r=t.length>0&&t[0]!==void 0?t[0]:{};e.start(Re({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield e.ready(),e.stop()})()}start(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:e,screen:r,options:i}=this;r.start(e,Re(Re({enableRedraw:!0},i),t))}stop(){this.screen.stop()}resize(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(t,e,r)}}}}]); diff --git a/index.html b/index.html index 1501be54d3..39b7f83c41 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Detail__index.f8e5d4ec.async.js b/p__Classrooms__Lists__Exercise__Detail__index.cb23cbe4.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Detail__index.f8e5d4ec.async.js rename to p__Classrooms__Lists__Exercise__Detail__index.cb23cbe4.async.js index 89be19034d..8fcd823570 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.f8e5d4ec.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.cb23cbe4.async.js @@ -97,7 +97,7 @@ `;for(let Io=0;Io{switch(Er){case xn:return a.createElement(Kt,{callback:Nl,onCancel:Zi});case Na:return a.createElement(ut.Z,{callback:Nl,onCancel:Zi});case Nt:return a.createElement(Xe.Z,{callback:Nl,onCancel:Zi});case qt:return a.createElement(wt,{callback:Nl,onCancel:Zi});case Ka:return a.createElement(we,{callback:Nl,onCancel:Zi});case"maths-latex":return a.createElement(ta,{showSaveButton:!0,callback:Nl});case"inline-latex":return a.createElement(Vn.Z,{showSaveButton:!0,callback:Nl});default:return null}},[Er]);function Zi(){co("")}(0,a.useEffect)(()=>{if(ii.current){let Lo=function(mi){hl=!0,ql=mi.pageY},Ur=function(){hl=!1},Qr=function(mi){if(hl){let gi=mi.pageY-ql;gi<0&&(gi=0),gi>300&&(gi=300);let eu=qe+gi+"px";rl(eu)}},Wr=ii.current,hl=!1,ql=0;return Wr.addEventListener("mousedown",Lo),document.addEventListener("mousemove",Qr),document.addEventListener("mouseup",Ur),()=>{Wr.removeEventListener("mousedown",Lo),document.removeEventListener("mousemove",Qr),document.removeEventListener("mouseup",Ur)}}},[Gn,ii]),(0,a.useEffect)(()=>{rl(qe)},[qe]);const gu=Ln(Ie),fu=Ln(Jr),lu={width:gu,height:fu},yl=(0,a.useMemo)(()=>{if(Do){let Lo=new Date(Do),Ur=Lo.getHours(),Qr=Lo.getMinutes(),Wr=Lo.getSeconds();return Ur=Ur<10?"0"+Ur:Ur,Qr=Qr<10?"0"+Qr:Qr,Wr=Wr<10?"0"+Wr:Wr,`${Ur}:${Qr}:${Wr}`}return 0},[Do]),pi=Lo=>{const Ur=[];if(Pa){let Qr=-1;Lo=Lo.replace(/(@▁▁@|@▁@)/g,function(Wr,hl,ql){Ur.push({multiLine:Wr!==yn})})}return Ur};function Eu(){window.sessionStorage.removeItem($t),ni(!1),uo(0)}function qu(){ni(!1),uo(0),Gn.setValue(window.sessionStorage.getItem($t))}(0,a.useEffect)(()=>{dn[Er]&&Er!==Cn&&Er!==qt&&setTimeout(()=>{const Lo=document.getElementsByClassName("markdown-popup-form")[0],Ur=window.innerWidth/2-Lo.offsetWidth/2,Qr=window.innerHeight/2-Lo.offsetHeight/2;Vl(Ur),Ro(Qr)},0)},[Er]);const ts=Lo=>{Lo.preventDefault();const Ur=Lo.clientX-Ml,Qr=Lo.clientY-Zl;document.body.onmousemove=Wr=>{let hl=Wr.clientX-Ur,ql=Wr.clientY-Qr;const mi=document.getElementsByClassName("markdown-popup-form")[0],gi=window.innerWidth-mi.offsetWidth,eu=window.innerHeight-mi.offsetHeight;hl=Math.max(0,Math.min(hl,gi)),ql=Math.max(0,Math.min(ql,eu)),ju(Wr.clientX,Wr.clientY,Ur,Qr)&&(Vl(hl),Ro(ql))},document.body.onmouseup=function(){document.body.onmousemove=null}},ju=(Lo,Ur,Qr,Wr)=>{const hl=document.body.clientHeight,ql=document.body.clientWidth;return Lo<20&&Qr>Lo||Lo>ql-20&&QrUr||Ur>hl-20&&WrTe in Se?Ze(Se,Te,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Se[Te]=xe,ee=(Se,Te)=>{for(var xe in Te||(Te={}))E.call(Te,xe)&&b(Se,xe,Te[xe]);if(y)for(var xe of y(Te))z.call(Te,xe)&&b(Se,xe,Te[xe]);return Se},te=(Se,Te)=>Ce(Se,re(Te));const{useForm:ne}=a.default,ue={width:280,marginRight:10},ce={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:Se,onCancel:Te})=>{const[xe]=ne();let ot=(0,De.useRef)();function Qe(lt){ot.current.width=xe.getFieldValue("width"),ot.current.align=xe.getFieldValue("align"),Se(lt,ot.current)}function it(lt,Pt){if(lt.status===-1){fe.ZP.error(lt.message);return}xe.setFieldsValue({src:`/api/attachments/${lt.id}`,type:Pt.type})}function Ye(lt){let Pt=lt.target.files[0];ot.current=Pt,Ae(Pt,it)}return Me.createElement(a.default,te(ee({form:xe},ce),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Me.createElement("div",{className:"flex-container"},Me.createElement(a.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Me.createElement(Re.default,{style:ue})),Me.createElement(ve,{onFileChange:Ye}))),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Me.createElement(Re.default,{style:{width:264}})),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Me.createElement(ye.Z,null,Me.createElement(a.default.Item,{name:"width",style:{margin:0}},Me.createElement(Fe.Z,{style:{width:264}})),Me.createElement("span",{className:"ml8"},"%"))),Me.createElement(a.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Me.createElement(Be.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Me.createElement("aside",null,Me.createElement(a.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Me.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Me.createElement(oe.ZP,{type:"default",onClick:Te},"\u53D6\u6D88"))))};function ve({onFileChange:Se}){return Me.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Me.createElement("input",{type:"file",onChange:Se}))}function Ae(Se,Te){if(!Se)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,be.bg)())throw fe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let xe=new FormData;xe.append("editormd-image-file",Se),xe.append("file_param_name","editormd-image-file"),xe.append("byxhr","true");var ot=new window.XMLHttpRequest;ot.withCredentials=!0,ot.addEventListener("load",function(Qe){Te(JSON.parse(Qe.target.responseText),Se)},!1),ot.addEventListener("error",function(Qe){console.error(Qe)},!1),ot.open("POST",`${Ne.KI}/api/attachments.json`),ot.send(xe)}},57261:function(Ot,st,x){"use strict";x.d(st,{Z:function(){return Re}});var a=x(59301),fe=x(4676);class Re extends a.Component{constructor(Fe){super(Fe);const Be=window.document;this.node=Be.createElement("div"),Be.body.appendChild(this.node)}render(){const{children:Fe}=this.props;return(0,fe.createPortal)(Fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(Ot,st,x){"use strict";x.d(st,{i:function(){return ce},Z:function(){return ve}});var a={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},fe=x(71418),Re=x(6848),ye=x(93948),Fe=x(92310),Be=x.n(Fe),oe=x(65862),Ne=x(2524),De=x(41867),be=x(79005),Me=x(20345),Ze=x(77882),Ce=x(31081),re=x(75309),y=x(71979),E=x(47558),z=x(42922),b=x(66832),ee=x(96593),te=x(19664),ne=x(91833),ue=x(59301);const ce=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:be,swimg:Me},{name:"101\u8BA1\u5212",ptimg:Ze,swimg:Ce},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:re,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:z},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:ee},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:ne}];var ve=({className:Ae,dataSource:Se=[],col:Te=4,right:xe,bottom:ot=23,precision:Qe=0,wrapWidth:it=1200,trackEventItems:Ye,loading:lt,onRemove:Pt=()=>{},isCurrent:Ct=!0,showAlias:vt=!1,showProgress:Lt=!1})=>{const Rt=Math.floor((it-(Te-1)*xe)/Te),Kt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(ut=>(window.ENV==="build"&&(ut.ptimg=`/react/build${ut.ptimg}`,ut.swimg=`/react/build${ut.swimg}`),ut));return ue.createElement(fe.Z,{spinning:lt},ue.createElement("div",{className:Be()(a.list,Ae)},!!(Se!=null&&Se.length)&&(Se==null?void 0:Se.map((ut,Xe)=>{var mt,Tt,_t,Wt,Rn,Ge;const{name:Gt,id:Tn,identifier:En,featured:nn,school_name:rt,image_url:ht,excellent:$e,is_plan:ze}=ut;return ue.createElement("div",{key:Tn,className:Ct&&Lt?a.wrapisCurrent:a.wrap,style:{width:Rt,marginRight:(1+Xe)%Te===0?0:xe+Qe,marginBottom:ot}},ue.createElement("a",{className:a.li,onClick:Ft=>{Ft.preventDefault(),Ft.stopPropagation(),Ye&&(0,oe.L9)([Ye]),(0,oe.xg)(`/paths/${En}`)}},ue.createElement("div",{className:a.img},ue.createElement("img",{className:a.cover,src:`${ht}`}),Ct&&(0,De.bg)()&&(ut==null?void 0:ut.studying)&&ue.createElement("div",{className:`${a.movebq} user-path-items`,onClick:Ft=>{Ft.stopPropagation(),Pt(ut)}},ue.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ue.createElement("span",{className:"c-red"},"\u79FB\u9664")),(mt=ut==null?void 0:ut.subject_tags)==null?void 0:mt.map((Ft,wt)=>{var Ke,He;if(wt===0){const Je=(Ke=Kt.find(we=>we.name==Ft))==null?void 0:Ke.swimg;return ue.createElement("img",{className:a.sign,src:Je,style:{left:"-4px"}})}const gt=(He=Kt.find(Je=>Je.name==Ft))==null?void 0:He.ptimg;return ue.createElement("img",{className:a.sign,src:gt,style:{left:`${48+52*(wt-1)+2*wt}px`}})}),ue.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ut==null?void 0:ut.excellent)&&ue.createElement("div",{className:a.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:a.name},ue.createElement(Re.Z,{title:vt&&(ut!=null&&ut.excellent_alias_name)?ue.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Gt}`,ue.createElement("br",null),ue.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ut==null?void 0:ut.excellent_alias_name}`)):Gt},ue.createElement("span",{className:a.e},vt&&(ut==null?void 0:ut.excellent_alias_name)||Gt))),Ct&&Lt&&((Tt=ut==null?void 0:ut.progress)==null?void 0:Tt.all_score)!=0&&ue.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ue.createElement(ye.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((_t=ut==null?void 0:ut.progress)==null?void 0:_t.my_score)/((Wt=ut==null?void 0:ut.progress)==null?void 0:Wt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Rn=ut==null?void 0:ut.progress)==null?void 0:Rn.my_score,"/",(Ge=ut==null?void 0:ut.progress)==null?void 0:Ge.all_score),(!Ct||!Lt)&&ue.createElement("div",{className:a.tags},ue.createElement("div",null,ue.createElement(Re.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ue.createElement("span",null,ut.stages_count))),ue.createElement(Re.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ue.createElement("span",null,ut.members_count)))))))})),!Se.length&&ue.createElement(Ne.Z,null)))}},3918:function(Ot,st,x){"use strict";x.d(st,{jL:function(){return Fe},w9:function(){return Ln},vv:function(){return Ie},dN:function(){return dn},QD:function(){return xl},cQ:function(){return wt.Z},vg:function(){return Hr},Oz:function(){return en},op:function(){return uo},O5:function(){return yl},_b:function(){return Bi},t7:function(){return ot},tT:function(){return Ye},Gi:function(){return fa},YG:function(){return Ra},Ed:function(){return ca},kT:function(){return $t},qp:function(){return z},Um:function(){return ce},K3:function(){return te},vr:function(){return Vl},qE:function(){return di},Je:function(){return Ct},wb:function(){return Ge},rC:function(){return Ft},lB:function(){return En},cq:function(){return Hn},kO:function(){return ar},tp:function(){return Ae},Si:function(){return qu},k8:function(){return si},Du:function(){return ql}});var a=x(59301),fe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0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PXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Fe=({dataSource:Kn=[],img:Jn,imgWidth:Ia=346,title:Nr,sunTitle:wo,bannerExtraContent:Ea})=>a.createElement("div",{className:fe.banner},a.createElement("div",{className:fe.content},a.createElement("aside",null,a.createElement("p",null,a.createElement("b",null,Nr),a.createElement("span",null,wo)),Kn.length>0&&a.createElement("div",{className:fe.btns},Kn.map((Ya,Io)=>a.createElement("div",{key:Io,onClick:Ya.click},Ya.name,Ya.sign?a.createElement("img",{src:Re,width:39}):null))),Ea),Jn&&a.createElement("img",{style:{marginTop:33,marginRight:38},src:Jn,width:Ia}))),Be={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},oe=x(92310),Ne=x.n(oe),De=x(89392),be=Object.defineProperty,Me=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,re=(Kn,Jn,Ia)=>Jn in Kn?be(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,y=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Ze.call(Jn,Ia)&&re(Kn,Ia,Jn[Ia]);if(Me)for(var Ia of Me(Jn))Ce.call(Jn,Ia)&&re(Kn,Ia,Jn[Ia]);return Kn},z=({dataSource:Kn=[],value:Jn,onChange:Ia,onTitleChange:Nr,className:wo,title:Ea,titleWidth:Ya=41,style:Io={},fontColor:_o="#6A7283",showCount:Kr,classNameActive:ul,styleItem:$r={}})=>{const[ei,ki]=(0,a.useState)(0),[cu,ol]=(0,a.useState)(!1),Sl=(0,a.useRef)(null),vi=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var xi;Kn.length!==0&&(((xi=Sl==null?void 0:Sl.current)==null?void 0:xi.clientHeight)>97?ki(1):ki(0)),Kn.length===0&&ki(0),ol(!1)},[Kn]),a.createElement("div",{className:Ne()(Be.row,wo),style:Io},a.createElement("div",{onClick:(0,De.throttle)(()=>Nr==null?void 0:Nr(),2e3),style:{width:Ya,marginTop:cu?12:4},className:`${Be.title} ${Nr?"current":""}`},Ea),a.createElement("div",{className:cu?`${Be.tagsWrap} ${Be.tagsBorderWrap}`:Be.tagsWrap},a.createElement("div",{className:Be.bar,ref:vi,style:ei>0?{height:ei===1?97:"auto",overflow:ei===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},a.createElement("div",{className:Be.tag,ref:Sl},Kn==null?void 0:Kn.map(xi=>a.createElement("span",{onClick:()=>Ia(xi.id),key:xi.id,style:y(y({color:_o},$r),(xi==null?void 0:xi.style)||{}),className:Jn===xi.id?Ne()(ul||Be.active,xi.classNameActive):""},a.createElement("span",{title:xi.name,className:Be.name},xi.name),!!Kr&&a.createElement("span",{className:Be.num},xi.count))))),!!ei&&a.createElement(a.Fragment,null,ei===1?a.createElement("div",{onClick:()=>{var xi;ki(2),((xi=Sl==null?void 0:Sl.current)==null?void 0:xi.clientHeight)>245?ol(!0):ol(!1)},className:Be.action},"\u5C55\u5F00",a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):a.createElement("div",{onClick:()=>{vi.current.scrollTop=0,ki(1),ol(!1)},className:Be.action},"\u6536\u8D77",a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Kn=[],value:Jn,onChange:Ia,onTitleChange:Nr,className:wo,title:Ea,titleWidth:Ya=41,style:Io={},fontColor:_o="#6A7283",showCount:Kr,expand:ul=!0})=>{const[$r,ei]=(0,a.useState)(0),[ki,cu]=(0,a.useState)(!1),ol=(0,a.useRef)(null),Sl=(0,a.useRef)(null),[vi,xi]=(0,a.useState)(ul);return a.createElement("div",{className:Ne()(b.row,wo),style:Io},a.createElement("div",{className:"flex item-center justify-between"},a.createElement("div",{onClick:(0,De.throttle)(()=>Nr==null?void 0:Nr(),2e3),style:{width:Ya,marginTop:ki?12:4},className:`${b.title} ${Nr?"current":""}`},Ea),a.createElement("i",{className:`iconfont ${vi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:vi?8:10},onClick:()=>xi(!vi)})),vi&&a.createElement("div",{className:ki?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},a.createElement("div",{className:b.fenge}),a.createElement("div",{className:b.bar,ref:Sl},a.createElement("div",{className:b.tag,ref:ol},Kn==null?void 0:Kn.map(wu=>a.createElement("span",{onClick:()=>Ia(wu.id),key:wu.id,style:{color:_o},className:Jn===wu.id?b.active:""},a.createElement("span",{title:wu.name,className:b.name},wu.name),!!Kr&&a.createElement("span",{className:b.num},wu.count)))))))},ne={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ce=({dataSource:Kn=[],value:Jn,onChange:Ia,onTitleChange:Nr,className:wo,title:Ea,titleWidth:Ya=41,style:Io={},fontColor:_o="#fff",showCount:Kr,expand:ul=!0})=>{const[$r,ei]=(0,a.useState)(0),[ki,cu]=(0,a.useState)(!1),ol=(0,a.useRef)(null),Sl=(0,a.useRef)(null),[vi,xi]=(0,a.useState)(ul);return a.createElement("div",{className:Ne()(ne.row,wo),style:Io},a.createElement("div",{className:"flex item-center justify-between"},a.createElement("div",{onClick:(0,De.throttle)(()=>Nr==null?void 0:Nr(),2e3),style:{width:Ya},className:`${ne.title} ${Nr?"current":""}`},Ea),a.createElement("i",{className:`iconfont ${vi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:vi?"#00DDC7":"#037F74",fontSize:vi?10:12},onClick:()=>xi(!vi)})),vi&&a.createElement("div",{className:ki?`${ne.tagsWrap} ${ne.tagsBorderWrap}`:ne.tagsWrap},a.createElement("div",{className:ne.bar,ref:Sl},a.createElement("div",{className:ne.tag,ref:ol},Kn==null?void 0:Kn.map(wu=>a.createElement("span",{onClick:()=>Ia(wu.id),key:wu.id,style:{color:_o},className:Jn===wu.id?ne.active:""},a.createElement("span",{title:wu.name,className:ne.name},wu.name),!!Kr&&a.createElement("span",{className:ne.num},wu.count)))))))},de={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ae=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={}})=>a.createElement("div",{style:wo,className:Ne()(de.tabs,Nr)},Kn.map(Ea=>a.createElement("span",{onClick:()=>Ia(Ea.id),className:Jn===Ea.id?de.active:"",key:Ea.id},Ea.name))),Se={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Te=x(92832),ot=({dataSource:Kn=[],value:Jn="",onChange:Ia,onInputChange:Nr=()=>{},className:wo,style:Ea={},placeholder:Ya,allowClear:Io=!1})=>{var _o;const[Kr,ul]=(0,a.useState)(""),[$r,ei]=(0,a.useState)("");(0,a.useEffect)(()=>{var ol;let Sl=Jn;(ol=JSON.stringify(Jn))!=null&&ol.includes("{")&&(ul(Jn.id),Sl=Jn.value||"");try{ei(decodeURIComponent(Sl||""))}catch(vi){ei(decodeURIComponent(Sl||""))}},[Jn]);const ki=()=>{Ia(encodeURIComponent($r),Kr||null)},cu=ol=>{ol!==Kr&&(ul(ol),Ia(encodeURIComponent($r),ol))};return a.createElement("div",{className:Ne()(Se.input,wo),style:Ea},!!Kn.length&&a.createElement("div",{className:Se.dropdown},a.createElement("div",{className:Se.text},(_o=Kn.find(ol=>ol.id===Kr))==null?void 0:_o.name,a.createElement("i",{className:"iconfont icon-zhankai4"}),a.createElement("b",{className:Se.b1}),a.createElement("b",{className:Se.b2})),a.createElement("div",{className:Se.menu},Kn.map((ol,Sl)=>a.createElement("div",{key:Sl,onClick:()=>cu(ol.id)},ol.name)))),a.createElement(Te.default,{onPressEnter:ki,value:$r,onChange:ol=>{ei(ol.target.value),Nr(encodeURIComponent(ol.target.value),Kr||null)},bordered:!1,placeholder:Ya}),a.createElement("i",{onClick:ki,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Qe={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Ye=({dataSource:Kn=[],value:Jn="",onChange:Ia,onInputChange:Nr=()=>{},className:wo,style:Ea={},placeholder:Ya,allowClear:Io=!1})=>{var _o;const[Kr,ul]=(0,a.useState)(""),[$r,ei]=(0,a.useState)("");(0,a.useEffect)(()=>{var ol;let Sl=Jn;(ol=JSON.stringify(Jn))!=null&&ol.includes("{")&&(ul(Jn.id),Sl=Jn.value||"");try{ei(decodeURIComponent(Sl||""))}catch(vi){ei(decodeURIComponent(Sl||""))}},[Jn]);const ki=()=>{Ia(encodeURIComponent($r),Kr||null)},cu=ol=>{ol!==Kr&&(ul(ol),Ia(encodeURIComponent($r),ol))};return a.createElement("div",{className:Ne()(Qe.input,wo),style:Ea},!!Kn.length&&a.createElement("div",{className:Qe.dropdown},a.createElement("div",{className:Qe.text},(_o=Kn.find(ol=>ol.id===Kr))==null?void 0:_o.name,a.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),a.createElement("div",{className:Qe.menu},Kn.map((ol,Sl)=>a.createElement("div",{key:Sl,onClick:()=>cu(ol.id)},ol.name)))),a.createElement(Te.default,{onPressEnter:ki,value:$r,onChange:ol=>{ei(ol.target.value),Nr(encodeURIComponent(ol.target.value),Kr||null)},bordered:!1,placeholder:Ya}),a.createElement("i",{onClick:ki,className:"iconfont icon-sousuo9 font14 pl10 current"}))},lt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ct=({value:Kn,onChange:Jn,className:Ia,total:Nr,pageSize:wo,style:Ea={}})=>{const Ya=Kn<2,Io=Kn>=Math.ceil(Nr/wo);return Nr<=wo?a.createElement(a.Fragment,null):a.createElement("div",{className:Ne()(lt.quickPager,Ia),style:Ea},a.createElement("div",{onClick:()=>{Ya||Jn(Kn-1,"prev")},className:Ya?lt.disabled:""},"\u4E0A\u4E00\u9875"),a.createElement("div",{onClick:()=>{Io||Jn(Kn+1,"next")},className:Io?lt.disabled:""},"\u4E0B\u4E00\u9875"))},vt={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Lt=x(71418),Rt=x(6848),Kt=x(13570),ut=x(74128),Xe=x(65862),mt=x(96908),Tt=x(57177),_t=x(81378),Wt=x(2524),Ge=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o})=>{const Kr=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:_o},a.createElement("div",{className:Ne()(vt.list,Kn)},!!Jn.length&&Jn.map((ul,$r)=>{const{name:ei,id:ki,identifier:cu,power:ol,cover_image_id:Sl,pic:vi}=ul;return a.createElement("div",{className:vt.wrap,key:ki,style:{width:Kr,marginRight:(1+$r)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/shixuns/${cu}/challenges`,className:vt.li,onClick:xi=>{xi.preventDefault(),Io&&(0,Xe.L9)([Io]),ol&&(0,Xe.xg)(`/shixuns/${cu}/challenges`)}},a.createElement("div",{className:vt.img},a.createElement("img",{className:vt.cover,src:`${vi}`}),ul.is_jupyter&&a.createElement("img",{className:vt.sign,src:mt}),ul.is_jupyter_lab&&a.createElement("img",{className:vt.sign,src:Tt}),ul.is_unity_3d&&a.createElement("img",{className:vt.sign,src:_t})),a.createElement("div",{className:vt.name},a.createElement(Rt.Z,{title:ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:vt.e},ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{className:vt.tags},a.createElement(Rt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),a.createElement("span",null,ul.challenges_count))),!!ul.myshixuns_count&&a.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),a.createElement("span",null,ul.myshixuns_count))),a.createElement(Rt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},a.createElement("span",null,a.createElement("span",null,ul.level))),a.createElement("div",{className:vt.rate},a.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:ul.score_info}),a.createElement("span",null,"\xA0",ul.score_info?`${ul.score_info}\u5206`:"5\u5206")))),!ol&&a.createElement("div",{className:vt.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&a.createElement(Wt.Z,null)))},Gt={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},En=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,wrapClassName:Io,trackEventItems:_o,loading:Kr})=>{const ul=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:Kr},a.createElement("div",{className:Ne()(Gt.list,Kn)},!!Jn.length&&Jn.map(($r,ei)=>{const{name:ki,id:cu,identifier:ol,power:Sl,cover_image_id:vi,pic:xi}=$r;return a.createElement("div",{className:Ne()(Gt.wrap,Io),key:cu,style:{width:ul,marginRight:(1+ei)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/shixuns/${ol}/challenges`,className:Gt.li,onClick:wu=>{wu.preventDefault(),_o&&(0,Xe.L9)([_o]),Sl&&(0,Xe.xg)(`/shixuns/${ol}/challenges`)}},a.createElement("img",{src:x(47621),className:Gt.titleBg}),a.createElement("div",{className:Gt.name},a.createElement(Rt.Z,{title:ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:Gt.e},ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:Gt.img},a.createElement("img",{className:Gt.cover,src:vi?`${ut.Z.API_SERVER}/api/attachments/${vi}`:`${ut.Z.IMG_SERVER+xi}`}),$r.is_jupyter&&a.createElement("div",{className:Gt.bq},"Jupyter"),$r.is_jupyter_lab&&a.createElement("div",{className:Gt.bq},"JupyterLab"),$r.is_unity_3d&&a.createElement("div",{className:Gt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),a.createElement("div",{className:"mt20 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Gt.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:Gt.value},$r.myshixuns_count)),a.createElement("div",null,a.createElement("span",{className:Gt.text},"\u56F0\u96BE\u7B49\u7EA7"),a.createElement("span",{className:Gt.value},$r.level))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Gt.text},"\u5173\u5361\u6570"),a.createElement("span",{className:Gt.value},$r.challenges_count)),a.createElement("div",{className:Gt.rate},a.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:$r.score_info}),a.createElement("span",{className:Gt.value,style:{color:"#FF9C00"}},"\xA0",$r.score_info?`${$r.score_info}\u5206`:"5\u5206"))))),!Sl&&a.createElement("div",{className:Gt.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&a.createElement(Wt.Z,null)))},nn={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aD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cHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Ft=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o,wrapClassName:Kr,imgClassName:ul})=>{const $r=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:_o},a.createElement("div",{className:Ne()(nn.list,Kn)},!!Jn.length&&Jn.map((ei,ki)=>{const{name:cu,id:ol,identifier:Sl,power:vi,cover_image_id:xi,pic:wu}=ei;return a.createElement("div",{className:Ne()(nn.wrap,Kr),key:ol,style:{width:$r,marginRight:(1+ki)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/shixuns/${Sl}/challenges`,className:nn.li,onClick:Hi=>{Hi.preventDefault(),Io&&(0,Xe.L9)([Io]),vi&&(0,Xe.xg)(`/shixuns/${Sl}/challenges`)}},a.createElement("div",{className:Ne()(nn.img,ul)},a.createElement("img",{className:nn.cover,src:xi?`${ut.Z.API_SERVER}/api/attachments/${xi}`:`${ut.Z.IMG_SERVER+wu}`}),ei.is_jupyter&&a.createElement("img",{className:nn.sign,src:rt}),ei.is_jupyter_lab&&a.createElement("img",{className:nn.sign,src:ht}),ei.is_unity_3d&&a.createElement("img",{className:nn.sign,src:$e})),a.createElement("div",{className:nn.name},a.createElement(Rt.Z,{title:cu||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:nn.e},cu||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{className:nn.tags},a.createElement(Rt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),a.createElement("span",null,ei.challenges_count))),!!ei.myshixuns_count&&a.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),a.createElement("span",null,ei.myshixuns_count))),a.createElement(Rt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},a.createElement("span",null,a.createElement("span",null,ei.level))),a.createElement("div",{className:nn.rate},a.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:ei.score_info}),a.createElement("span",null,"\xA0",ei.score_info?`${ei.score_info}\u5206`:"5\u5206")))),!vi&&a.createElement("div",{className:nn.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&a.createElement(Wt.Z,null)))},wt=x(61584),Ke={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},He=x(79005),gt=x(20345),Je=x(77882),we=x(31081),zt=x(75309),oa=x(71979),vn=x(47558),bn=x(42922),ta=x(66832),Vn=x(96593),yt=x(19664),kt=x(91833),xn=Object.defineProperty,Nt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Dn=(Kn,Jn,Ia)=>Jn in Kn?xn(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,Na=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))qt.call(Jn,Ia)&&Dn(Kn,Ia,Jn[Ia]);if(Nt)for(var Ia of Nt(Jn))Cn.call(Jn,Ia)&&Dn(Kn,Ia,Jn[Ia]);return Kn};const Ka=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:He,swimg:gt},{name:"101\u8BA1\u5212",ptimg:Je,swimg:we},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:zt,swimg:oa},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vn,swimg:bn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ta,swimg:Vn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:kt}];var en=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o,wrapClassName:Kr,imgClassName:ul,isArrow:$r=!1,imgStyle:ei={}})=>{const ki=Math.floor((Ya-(Ia-1)*Nr)/Ia),[cu,ol]=(0,a.useState)(),[Sl,vi]=(0,a.useState)(),xi=Hi=>ol(Hi),wu=()=>ol(-1);return a.createElement(Lt.Z,{spinning:_o},a.createElement("div",{className:Ne()(Ke.list,Kn)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((Hi,ls)=>{var Qs;const{name:vs,id:Ms,identifier:hs,featured:$s,school_name:fs,image_url:Os,excellent:Ss,is_plan:Ys}=Hi;return a.createElement("div",{key:Ms,className:Ne()(Ke.wrap,Kr),style:{width:ki,marginRight:(1+ls)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/paths/${hs}`,className:Ke.li,onClick:ss=>{ss.preventDefault(),Io&&(0,Xe.L9)([Io]),(0,Xe.xg)(`/paths/${hs}`)}},a.createElement("img",{src:x(39057),className:Ke.titleBg}),a.createElement("div",{className:Ke.name},a.createElement(Rt.Z,{title:vs},a.createElement("span",{className:Ke.e,style:{color:$r&&cu===ls?"#145DFF":"#000000"},onMouseEnter:()=>{xi(ls)},onMouseLeave:wu},vs))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:Ne()(Ke.img,ul)},a.createElement("img",{className:Ke.cover,style:Na({},ei),src:`${ut.Z.IMG_SERVER+Os}`}),(Qs=Hi==null?void 0:Hi.subject_tags)==null?void 0:Qs.map((ss,Bu)=>{var Ts,Ws;if(Bu===0){const cs=(Ts=Ka.find(Gs=>Gs.name==ss))==null?void 0:Ts.swimg;return a.createElement("img",{className:Ke.sign,src:cs,style:{left:"-4px"}})}const Es=(Ws=Ka.find(cs=>cs.name==ss))==null?void 0:Ws.ptimg;return a.createElement("img",{className:Ke.sign,src:Es,style:{left:`${48+52*(Bu-1)+2*Bu}px`}})}),a.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Hi==null?void 0:Hi.excellent)&&a.createElement("div",{className:Ke.bq},"\u5F00\u653E\u8BFE\u7A0B"))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Ke.text},"\u7AE0\u8282\u6570"),a.createElement("span",{className:Ke.value},Hi.stages_count)),a.createElement("div",null,a.createElement("span",{className:Ke.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:Ke.value},Hi.members_count))))))})),!Jn.length&&a.createElement(Wt.Z,null)))},Qn={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Ba=x(41867),wa=x(59301);const ja=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:He,swimg:gt},{name:"101\u8BA1\u5212",ptimg:Je,swimg:we},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:zt,swimg:oa},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vn,swimg:bn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ta,swimg:Vn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:kt}];var Hr=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o,onRemove:Kr=()=>{},isCurrent:ul=!0,showAlias:$r=!1,wrapClassName:ei,imgClassName:ki})=>{const cu=Math.floor((Ya-(Ia-1)*Nr)/Ia),ol=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Sl=>(window.ENV==="build"&&(Sl.ptimg=`/react/build${Sl.ptimg}`,Sl.swimg=`/react/build${Sl.swimg}`),Sl));return wa.createElement(Lt.Z,{spinning:_o},wa.createElement("div",{className:Ne()(Qn.list,Kn)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((Sl,vi)=>{var xi;const{name:wu,id:Hi,identifier:ls,featured:Qs,school_name:vs,image_url:Ms,excellent:hs,is_plan:$s}=Sl;return wa.createElement("div",{key:Hi,className:Ne()(Qn.wrap,ei),style:{width:cu,marginRight:(1+vi)%Ia===0?0:Nr+Ea,marginBottom:wo}},wa.createElement("a",{className:Qn.li,onClick:fs=>{fs.preventDefault(),fs.stopPropagation(),Io&&(0,Xe.L9)([Io]),(0,Xe.xg)(`/paths/${ls}`)}},wa.createElement("div",{className:Ne()(Qn.img,ki)},wa.createElement("img",{className:Qn.cover,src:`${ut.Z.IMG_SERVER+Ms}`}),ul&&(0,Ba.bg)()&&(Sl==null?void 0:Sl.studying)&&wa.createElement("div",{className:`${Qn.movebq} user-path-items`,onClick:fs=>{fs.stopPropagation(),Kr(Sl)}},wa.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),wa.createElement("span",{className:"c-red"},"\u79FB\u9664")),(xi=Sl==null?void 0:Sl.subject_tags)==null?void 0:xi.map((fs,Os)=>{var Ss,Ys;if(Os===0){const Bu=(Ss=ol.find(Ts=>Ts.name==fs))==null?void 0:Ss.swimg;return wa.createElement("img",{className:Qn.sign,src:Bu,style:{left:"-4px"}})}const ss=(Ys=ol.find(Bu=>Bu.name==fs))==null?void 0:Ys.ptimg;return wa.createElement("img",{className:Qn.sign,src:ss,style:{left:`${48+52*(Os-1)+2*Os}px`}})}),wa.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Sl==null?void 0:Sl.excellent)&&wa.createElement("div",{className:Qn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),wa.createElement("div",{className:Qn.name},wa.createElement(Rt.Z,{title:$r&&(Sl!=null&&Sl.excellent_alias_name)?wa.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${wu}`,wa.createElement("br",null),wa.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Sl==null?void 0:Sl.excellent_alias_name}`)):wu},wa.createElement("span",{className:Qn.e},$r&&(Sl==null?void 0:Sl.excellent_alias_name)||wu))),wa.createElement("div",{className:Qn.tags},wa.createElement("div",null,wa.createElement(Rt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},wa.createElement("span",null,wa.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),wa.createElement("span",null,Sl.stages_count))),wa.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},wa.createElement("span",null,wa.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),wa.createElement("span",null,Sl.members_count)))))))})),!Jn.length&&wa.createElement(Wt.Z,null)))},bt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},yn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDb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KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",$a=x(59301),Ln=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o})=>{const Kr=Math.floor((Ya-(Ia-1)*Nr)/Ia);return $a.createElement(Lt.Z,{spinning:_o},$a.createElement("div",{className:Ne()(bt.list,Kn)},!!Jn.length&&Jn.map((ul,$r)=>{const{subject_identifier:ei,id:ki,identifier:cu,power:ol}=ul,Sl=ul.is_public!=0&&ul.is_public;return $a.createElement("div",{className:bt.wrap,key:ki,style:{width:Kr,marginRight:(1+$r)%Ia===0?0:Nr+Ea,marginBottom:wo}},$a.createElement("a",{className:bt.li,onClick:vi=>{vi.preventDefault(),Io&&(0,Xe.L9)([Io]),(0,Xe.xg)(ul.first_category_url)}},$a.createElement("div",{className:bt.top},$a.createElement(Rt.Z,{title:ul.name},$a.createElement("div",{className:bt.name},ul.name)),$a.createElement("img",{className:bt.img,src:ut.Z.IMG_SERVER+"/images/"+ul.avatar_url}),$a.createElement("div",{className:bt.text,title:ul.creator},ul.creator),ei&&$a.createElement("div",{className:bt.btns},$a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),$a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Sl&&$a.createElement("div",{className:bt.sign},"\u516C\u5F00")),$a.createElement("div",{className:bt.bottom},ul.visits>0&&$a.createElement(Rt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-liulanyan"}),$a.createElement("span",null,ul.visits))),ul.course_members_count>0&&$a.createElement(Rt.Z,{title:"\u6210\u5458",placement:"bottom"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-chengyuan"}),ul.course_members_count)),ul.tasks_count>0&&$a.createElement(Rt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-zuoye"}),ul.tasks_count)),ul.is_end?$a.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):$a.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ul.is_accessible&&$a.createElement("div",{className:bt.lockWrap},$a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),$a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&$a.createElement(Wt.Z,null)))},ha={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Ta="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDx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bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,wrapClassName:Io,trackEventItems:_o,loading:Kr})=>{const ul=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:Kr},a.createElement("div",{className:Ne()(ha.list,Kn)},!!Jn.length&&Jn.map(($r,ei)=>{const{subject_identifier:ki,id:cu,identifier:ol,power:Sl}=$r,vi=$r.is_public!=0&&$r.is_public;return a.createElement("div",{className:Ne()(`${ha.wrap} ${$r.is_accessible?"":ha.warpStyle}`,Io),key:cu,style:{width:ul,marginRight:(1+ei)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{className:ha.li,onClick:xi=>{xi.preventDefault(),_o&&(0,Xe.L9)([_o]),(0,Xe.xg)($r.first_category_url)}},a.createElement("div",{className:ha.creator},a.createElement("img",{className:ha.img,src:ut.Z.IMG_SERVER+"/images/"+$r.avatar_url}),a.createElement("div",{className:ha.text,title:$r.creator},$r.creator)),a.createElement("div",{className:ha.top},a.createElement(Rt.Z,{title:$r.name},a.createElement("div",{className:ha.name},$r.name)),vi&&a.createElement("div",{className:ha.sign},"\u516C\u5F00")),a.createElement("div",{className:ha.middle},a.createElement("div",{className:ha.row,style:{marginBottom:6}},a.createElement("div",null,a.createElement("span",{className:ha.text},"\u8BBF\u95EE\u91CF"),a.createElement("span",{className:ha.value},($r==null?void 0:$r.visits)||0)),a.createElement("div",null,a.createElement("span",{className:ha.text},"\u6210\u5458"),a.createElement("span",{className:ha.value},($r==null?void 0:$r.course_members_count)||0))),a.createElement("div",{className:ha.row},a.createElement("div",null,a.createElement("span",{className:ha.text,style:{width:42}},"\u4F5C",a.createElement("span",{style:{marginLeft:14}},"\u4E1A")),a.createElement("span",{className:ha.value},($r==null?void 0:$r.tasks_count)||0)),a.createElement("div",null,a.createElement("span",{className:ha.text},"\u72B6\u6001"),$r.is_end?a.createElement("span",{className:ha.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):a.createElement("span",{className:ha.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ki&&a.createElement("div",{className:ha.btns},a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!$r.is_accessible&&a.createElement("div",{className:ha.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&a.createElement(Wt.Z,null)))},se={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/R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xXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ie=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,wrapClassName:Io,trackEventItems:_o,loading:Kr})=>{const ul=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:Kr},a.createElement("div",{className:Ne()(se.list,Kn)},!!Jn.length&&Jn.map(($r,ei)=>{const{subject_identifier:ki,id:cu,identifier:ol,power:Sl}=$r,vi=$r.is_public!=0&&$r.is_public;return a.createElement("div",{className:Ne()(`${se.wrap} ${$r.is_accessible?"":se.warpStyle}`,Io),key:cu,style:{width:ul,marginRight:(1+ei)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{className:se.li,onClick:xi=>{xi.preventDefault(),_o&&(0,Xe.L9)([_o]),(0,Xe.xg)($r.first_category_url)}},a.createElement("div",{className:se.creator},a.createElement("img",{className:se.img,src:ut.Z.IMG_SERVER+"/images/"+$r.avatar_url}),a.createElement("div",{className:se.text,title:$r.creator},$r.creator)),a.createElement("div",{className:se.top},a.createElement(Rt.Z,{title:$r.name},a.createElement("div",{className:se.name},$r.name)),vi&&a.createElement("div",{className:se.sign})),a.createElement("div",{className:se.middle},a.createElement("div",{className:se.row,style:{marginBottom:6}},a.createElement("div",null,a.createElement("span",{className:se.text},"\u8BBF\u95EE\u91CF"),a.createElement("span",{className:se.value},($r==null?void 0:$r.visits)||0)),a.createElement("div",null,a.createElement("span",{className:se.text},"\u6210\u5458"),a.createElement("span",{className:se.value},($r==null?void 0:$r.course_members_count)||0))),a.createElement("div",{className:se.row},a.createElement("div",null,a.createElement("span",{className:se.text,style:{width:42}},"\u4F5C",a.createElement("span",{style:{marginLeft:14}},"\u4E1A")),a.createElement("span",{className:se.value},($r==null?void 0:$r.tasks_count)||0)),a.createElement("div",null,a.createElement("span",{className:se.text},"\u72B6\u6001"),$r.is_end?a.createElement("span",{className:se.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):a.createElement("span",{className:se.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ki&&a.createElement("div",{className:se.btns},a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!$r.is_accessible&&a.createElement("div",{className:se.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&a.createElement(Wt.Z,null)))},qe={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},xt=x(65582),Ra=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={},tabBarExtraContent:Ea})=>a.createElement("div",{className:Ne()(qe.tabs,Nr),style:wo},a.createElement("div",{className:qe.tabsWrap},Kn.map((Ya,Io)=>a.createElement("aside",{className:qe.tab,onClick:()=>{Ia(Ya.id),Ya.link&&xt.history.push(Ya.link)},key:Io},a.createElement("div",{className:Jn===Ya.id?qe.active:""},Ya.name),(Ya==null?void 0:Ya.resetCount)==null&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement("span",null,"\uFF08",Ya==null?void 0:Ya.total,"\uFF09"),(Ya==null?void 0:Ya.resetCount)!==void 0&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement(Rt.Z,{title:(Ya==null?void 0:Ya.tip)!=null?Ya==null?void 0:Ya.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ya==null?void 0:Ya.resetCount),"/",a.createElement("span",null,Ya==null?void 0:Ya.total),"\uFF09"))))),a.createElement("div",{className:qe.tabBar},Ea)),Un={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},$t=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={},tabBarExtraContent:Ea})=>a.createElement("div",{className:Ne()(Un.tabs,Nr),style:wo},a.createElement("div",{className:Un.tabsWrap},Kn.map((Ya,Io)=>a.createElement("aside",{className:Un.tab,onClick:()=>{Ia(Ya.id),Ya.link&&xt.history.push(Ya.link)},key:Io},a.createElement("div",{className:Jn===Ya.id?Un.active:""},Ya.name),(Ya==null?void 0:Ya.resetCount)==null&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement("span",null,"\uFF08",Ya==null?void 0:Ya.total,"\uFF09"),(Ya==null?void 0:Ya.resetCount)!==void 0&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement(Rt.Z,{title:(Ya==null?void 0:Ya.tip)!=null?Ya==null?void 0:Ya.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ya==null?void 0:Ya.resetCount),"/",a.createElement("span",null,Ya==null?void 0:Ya.total),"\uFF09"))))),a.createElement("div",{className:Un.tabBar},Ea)),Nn={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},ca=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={},tabBarExtraContent:Ea})=>a.createElement("div",{className:Ne()(Nn.tabs,Nr),style:wo},a.createElement("div",{className:Nn.tabsWrap},Kn.map((Ya,Io)=>a.createElement("aside",{className:`${Nn.tab} ${Jn===Ya.id?Nn.active:""}`,onClick:()=>{Ia(Ya.id),Ya.link&&xt.history.push(Ya.link)},key:Io},a.createElement("div",null,Ya.name),(Ya==null?void 0:Ya.resetCount)==null&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement("span",null,"\uFF08",Ya==null?void 0:Ya.total,"\uFF09"),(Ya==null?void 0:Ya.resetCount)!==void 0&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement(Rt.Z,{title:(Ya==null?void 0:Ya.tip)!=null?Ya==null?void 0:Ya.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ya==null?void 0:Ya.resetCount),"/",a.createElement("span",null,Ya==null?void 0:Ya.total),"\uFF09"))))),a.createElement("div",{className:Nn.tabBar},Ea)),fa=({className:Kn,style:Jn={},children:Ia})=>a.createElement("div",{className:Ne()(Kn),style:Jn},Ia),hn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},ct=x(38854),on=x(20834);const pn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Hn=({sortValue:Kn,dropValue:Jn,className:Ia,onSort:Nr,onDrop:wo,dataSource:Ea=pn})=>{var Ya;return a.createElement("div",{className:Ne()(hn.orderWrap,Ia)},a.createElement(ct.Z,{dropdownRender:()=>a.createElement(on.default,null,Ea.map((Io,_o)=>a.createElement(on.default.Item,{key:_o,onClick:()=>wo(Io.id)},Io.name)))},a.createElement("span",{className:hn.orderTextWrap},(Ya=Ea.find(Io=>Jn===Io.id))==null?void 0:Ya.name)),a.createElement("span",{className:hn.orderIconWrap},a.createElement("span",{className:hn.orderAsc},a.createElement("i",{className:Kn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")})),a.createElement("span",{className:hn.orderDesc},a.createElement("i",{className:Kn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")}))))},cn={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const pt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ar=({sortValue:Kn,dropValue:Jn,className:Ia,onSort:Nr,onDrop:wo,dataSource:Ea=pt})=>{var Ya;return a.createElement("div",{className:Ne()(cn.orderWrap,Ia)},a.createElement(ct.Z,{dropdownRender:()=>a.createElement(on.default,null,Ea.map((Io,_o)=>a.createElement(on.default.Item,{key:_o,onClick:()=>wo(Io.id)},Io.name)))},a.createElement("span",{className:cn.orderTextWrap},(Ya=Ea.find(Io=>Jn===Io.id))==null?void 0:Ya.name)),a.createElement("span",{className:cn.orderIconWrap},a.createElement("span",{className:cn.orderAsc},a.createElement("i",{className:Kn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")})),a.createElement("span",{className:cn.orderDesc},a.createElement("i",{className:Kn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")}))))},gr={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Gn=x(3113),_r=x(2337),Gr=Object.defineProperty,lo=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,br=(Kn,Jn,Ia)=>Jn in Kn?Gr(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,yr=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Ar.call(Jn,Ia)&&br(Kn,Ia,Jn[Ia]);if(lo)for(var Ia of lo(Jn))hr.call(Jn,Ia)&&br(Kn,Ia,Jn[Ia]);return Kn},Er=(Kn,Jn)=>{var Ia={};for(var Nr in Kn)Ar.call(Kn,Nr)&&Jn.indexOf(Nr)<0&&(Ia[Nr]=Kn[Nr]);if(Kn!=null&&lo)for(var Nr of lo(Kn))Jn.indexOf(Nr)<0&&hr.call(Kn,Nr)&&(Ia[Nr]=Kn[Nr]);return Ia},co=(Kn,Jn,Ia)=>new Promise((Nr,wo)=>{var Ea=_o=>{try{Io(Ia.next(_o))}catch(Kr){wo(Kr)}},Ya=_o=>{try{Io(Ia.throw(_o))}catch(Kr){wo(Kr)}},Io=_o=>_o.done?Nr(_o.value):Promise.resolve(_o.value).then(Ea,Ya);Io((Ia=Ia.apply(Kn,Jn)).next())}),uo=Kn=>{var Jn=Kn,{className:Ia,style:Nr,children:wo,loading:Ea=!1,openLoading:Ya,onClick:Io=()=>{},size:_o="middle",shape:Kr="round",theme:ul}=Jn,$r=Er(Jn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[ei,ki]=(0,a.useState)(!1),cu=(0,a.useMemo)(()=>{switch(ul){case _r.Fy.THEMEONE:return gr.ThemeOne;case _r.Fy.DEFAULT:default:return gr.btn}},[ul]);return a.createElement(Gn.ZP,yr({onClick:(0,De.throttle)(ol=>co(void 0,null,function*(){Ya&&ki(!0);try{yield Io(ol)}catch(Sl){console.log("error",Sl)}Ya&&ki(!1)}),2e3,{leading:!0,trailing:!1}),className:Ne()(cu,gr[`${_o}-${Kr}`],Ia),style:Nr,size:_o,shape:Kr,loading:ei||Ea},$r),wo)},Jr={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},di=({className:Kn,style:Jn,children:Ia=null,onClick:Nr,title:wo})=>a.createElement("div",{className:Ne()(Jr.head,Kn),style:Jn},a.createElement("span",{className:"primary-hover",onClick:Nr},a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),a.createElement("b",{title:wo},wo),a.createElement("div",{className:Jr.node},Ia)),ni={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},xl=({confirmShow:Kn=!0,confirmTitle:Jn,confirmClick:Ia,cancelShow:Nr=!0,cancelTitle:wo,cancelClick:Ea,className:Ya,style:Io,confirmLoading:_o=!1})=>a.createElement("div",{className:Ne()(ni.btns,Ya),style:Io},Kn&&a.createElement(Gn.ZP,{loading:_o,onClick:Ia,type:"primary",className:ni.confirm},Jn),Nr&&a.createElement(Gn.ZP,{onClick:Ea,className:ni.cancel},wo)),kr={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Vl=({className:Kn,style:Jn={},LeftContent:Ia,children:Nr,RightContent:wo})=>a.createElement("div",{className:Ne()(kr.fixedBottom,Kn),style:Jn},a.createElement("div",{className:kr.wrap},a.createElement("div",{className:kr.left},Ia),a.createElement("div",{className:kr.center},Nr),a.createElement("div",{className:kr.right},wo))),Zl={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Bi=({className:Kn,style:Jn={},dataSource:Ia=[]})=>a.createElement("div",{className:Ne()(Zl.crumbs,Kn),style:Jn},Ia.map((Nr,wo)=>woxt.history.push(Nr.path)},Nr.name):a.createElement("span",null,Nr.name),a.createElement("span",null,"\xA0",">","\xA0")):a.createElement("span",{key:wo,style:{color:"#5F6368"}},Nr.name))),oi=x(31797),ii=Object.defineProperty,li=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,Rl=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,Nl=(Kn,Jn,Ia)=>Jn in Kn?ii(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,$i=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))qr.call(Jn,Ia)&&Nl(Kn,Ia,Jn[Ia]);if(Rl)for(var Ia of Rl(Jn))Hl.call(Jn,Ia)&&Nl(Kn,Ia,Jn[Ia]);return Kn},Zi=(Kn,Jn)=>li(Kn,fi(Jn)),gu=(Kn,Jn)=>{var Ia={};for(var Nr in Kn)qr.call(Kn,Nr)&&Jn.indexOf(Nr)<0&&(Ia[Nr]=Kn[Nr]);if(Kn!=null&&Rl)for(var Nr of Rl(Kn))Jn.indexOf(Nr)<0&&Hl.call(Kn,Nr)&&(Ia[Nr]=Kn[Nr]);return Ia};const{Countdown:fu}=oi.default;var yl=Kn=>{var Jn=Kn,{onChange:Ia}=Jn,Nr=gu(Jn,["onChange"]);const[wo,Ea]=(0,a.useState)(null);(0,a.useEffect)(()=>{typeof wo=="number"&&wo>=0&&Ia(wo)},[wo]);const Ya=Io=>{const _o=Math.floor(Io/1e3);Ea(_o)};return a.createElement(fu,Zi($i({},Nr),{onChange:Ya}))},pi={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},qu=({DataProps:Kn,className:Jn,style:Ia={}})=>{var Nr;return a.createElement("div",{className:Ne()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",pi.ClassRoomItem,Jn),style:Ia,onClick:()=>{(0,Xe.xg)(Kn==null?void 0:Kn.first_category_url)}},a.createElement("div",{className:"flex flex-col item-center"},a.createElement("img",{src:`${(Nr=ut.Z)==null?void 0:Nr.IMG_SERVER}/images/${Kn==null?void 0:Kn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Kn==null?void 0:Kn.subject_identifier)&&a.createElement("div",{className:"mt-40px"},a.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),a.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},a.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Kn!=null&&Kn.is_public)&&a.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),a.createElement("span",{className:Ne()("text-16px font-medium",pi.TitleDom)},Kn==null?void 0:Kn.name)),a.createElement("div",{className:"c-grey-333 font-medium"},Kn==null?void 0:Kn.creator),a.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Kn==null?void 0:Kn.course_members_count),a.createElement("div",{className:"c-grey-333 flex item-center justify-between"},a.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Kn==null?void 0:Kn.tasks_count),Kn!=null&&Kn.is_end?a.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):a.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ts=Object.defineProperty,ju=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,Qr=(Kn,Jn,Ia)=>Jn in Kn?ts(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,Wr=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Lo.call(Jn,Ia)&&Qr(Kn,Ia,Jn[Ia]);if(ju)for(var Ia of ju(Jn))Ur.call(Jn,Ia)&&Qr(Kn,Ia,Jn[Ia]);return Kn},ql=({DataProps:Kn=[],selectValue:Jn,onChange:Ia,className:Nr,style:wo={},extra:Ea,classNameItem:Ya,styleItem:Io={},barHidden:_o})=>{const[Kr,ul]=(0,a.useState)();return(0,a.useEffect)(()=>{ul(Array.isArray(Jn)?Jn:[Jn])},[Jn]),a.createElement("div",{className:Ne()("flex px-20px py-10px gap-40px",Nr),style:Wr({borderBottom:"1px solid #D3F0FF"},wo)},Kn==null?void 0:Kn.map($r=>a.createElement("div",{key:$r==null?void 0:$r.id,className:Ne()("flex item-center justify-center current c-grey-333 text-16 relative",Ya,$r==null?void 0:$r.className),style:Wr(Wr({color:Kr!=null&&Kr.includes($r==null?void 0:$r.id)?"#1890FF":"",minWidth:88},Io),($r==null?void 0:$r.style)||{}),onClick:ei=>{Ia==null||Ia({domEvent:ei,item:$r}),$r!=null&&$r.link&&xt.history.push($r==null?void 0:$r.link)}},$r==null?void 0:$r.name,!_o&&(Kr==null?void 0:Kr.includes($r==null?void 0:$r.id))&&a.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),a.createElement("div",{className:"ml-auto"},Ea))},mi=Object.defineProperty,gi=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,Ti=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,pu=Object.prototype.propertyIsEnumerable,wl=(Kn,Jn,Ia)=>Jn in Kn?mi(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,zl=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Zu.call(Jn,Ia)&&wl(Kn,Ia,Jn[Ia]);if(Ti)for(var Ia of Ti(Jn))pu.call(Jn,Ia)&&wl(Kn,Ia,Jn[Ia]);return Kn},ml=(Kn,Jn)=>gi(Kn,eu(Jn)),si=({value:Kn,onChange:Jn,onInputChange:Ia,className:Nr,style:wo={},InputProps:Ea})=>{const[Ya,Io]=(0,a.useState)(Kn);return a.createElement("div",{className:Ne()("flex item-center rounded-full px-10px py-2px",Nr),style:zl({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},wo)},a.createElement(Te.default,ml(zl({bordered:!1},Ea),{onChange:_o=>{Io(_o.target.value),Ia==null||Ia(encodeURIComponent(_o.target.value))},onPressEnter:_o=>{Jn==null||Jn({domEvent:_o,item:{value:Ya}})}})),a.createElement("img",{className:"h-22px current",src:x(25365),height:22,onClick:_o=>{Jn==null||Jn({domEvent:_o,item:{value:Ya}})}}))}},31103:function(Ot,st,x){"use strict";x.d(st,{Z:function(){return fe}});var a=x(59301);function fe(Re,ye){const Fe=(0,a.useRef)();(0,a.useEffect)(()=>{Fe.current=Re}),(0,a.useEffect)(()=>{function Be(){Fe.current()}if(ye!==null){let oe=setInterval(Be,ye);return()=>clearInterval(oe)}},[ye])}},36306:function(Ot,st,x){"use strict";x.d(st,{Z:function(){return ot}});var a=x(78241),fe=x(8591),Re=x(43418),ye=x(71418),Fe=x(6848),Be=x(57809),oe=x(5112),Ne=x(92832),De=x(1710),be=x(59301),Me=x(65582),Ze=x(38147),Ce=x(65862),re={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},y=x(41867),E=x(96565),z=x(6339),b=x(59301),ee=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ve=(Qe,it,Ye)=>it in Qe?ee(Qe,it,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Qe[it]=Ye,Ae=(Qe,it)=>{for(var Ye in it||(it={}))ce.call(it,Ye)&&ve(Qe,Ye,it[Ye]);if(ue)for(var Ye of ue(it))de.call(it,Ye)&&ve(Qe,Ye,it[Ye]);return Qe},Se=(Qe,it)=>te(Qe,ne(it)),Te=(Qe,it,Ye)=>new Promise((lt,Pt)=>{var Ct=Rt=>{try{Lt(Ye.next(Rt))}catch(Kt){Pt(Kt)}},vt=Rt=>{try{Lt(Ye.throw(Rt))}catch(Kt){Pt(Kt)}},Lt=Rt=>Rt.done?lt(Rt.value):Promise.resolve(Rt.value).then(Ct,vt);Lt((Ye=Ye.apply(Qe,it)).next())});const xe=({shixunHomeworks:Qe,exercise:it,loading:Ye,dispatch:lt})=>{var Pt,Ct,vt;const{commonHeader:Lt}=it,[Rt,Kt]=(0,be.useState)([]),[ut,Xe]=(0,be.useState)(Se(Ae({},(0,Me.useParams)()),{page:1,limit:10})),[mt,Tt]=(0,be.useState)([]),[_t,Wt]=(0,be.useState)(""),[Rn,Ge]=(0,be.useState)(1),[Gt]=a.default.useForm(),[Tn,En]=(0,be.useState)({}),[nn,rt]=(0,be.useState)(null),[ht,$e]=(0,be.useState)(!1),[ze,Ft]=(0,be.useState)([]),[wt,Ke]=(0,be.useState)(null),[He,gt]=(0,be.useState)(0),[Je,we]=(0,be.useState)(0),[zt,oa]=(0,be.useState)(!1),vn=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Cn,Dn,Na)=>(ut.page-1)*ut.limit+Na+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Cn=>Cn||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Cn,Dn)=>b.createElement("div",{className:re.banding,title:Cn||"--"},Cn||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Cn,Dn)=>Cn===0?b.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Cn===1?b.createElement("span",{style:{color:"#DF3042"}},!Dn.is_make_up&&"\u8003\u8BD5\u4E2D",Dn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Cn===2?b.createElement("span",{style:{color:"#5AB891"}},!Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377",Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):b.createElement("span",{style:{color:"#5AB891"}},!Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(Lt==null?void 0:Lt.exercise_type)==2&&!(0,y.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(Cn,Dn)=>Dn.commit_status===0||Dn.commit_status===1?"--":!Dn.open_total_score&&(0,y.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Cn=typeof Cn=="number"?Number(Cn):Cn,console.log(typeof Cn),Cn||(Cn=0),Cn===100?b.createElement("span",{className:"c-green"},Cn):Cn>60?b.createElement("span",{className:"c-orange"},Cn):Cn==Je*.6?b.createElement("span",{className:"c-red"},Cn):b.createElement("span",null,Cn))}].filter(Cn=>!!Cn);(0,be.useEffect)(()=>{var Cn;((Cn=it.actionTabs)==null?void 0:Cn.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Ft([]),Ke(null),bn(),Vn(ut))},[(Pt=it.actionTabs)==null?void 0:Pt.key]);const bn=()=>Te(void 0,null,function*(){var Cn;if(!((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion))return;const Dn=yield(0,Ze.ZP)(`/api/exercises/${ut==null?void 0:ut.categoryId}/all_subj_questions.json`,{method:"get"});Dn.status==0&&Ft(Dn.data)}),ta=(Cn,Dn)=>{ut.page=Cn,ut.limit=Dn,Xe(Ae({},ut)),Vn(ut)},Vn=Cn=>Te(void 0,null,function*(){oa(!0);const Dn=yield(0,Ze.ZP)(`/api/exercises/${ut.categoryId||(ut==null?void 0:ut.exerciseId)}/exercise_users.json`,{method:"get",params:Cn});Dn.status==0&&(gt(Dn.data.total_count),Xe(Se(Ae({},ut),{total:Dn.data.total_count})),Kt(Dn.data.exercise_users),we(Dn.data.total_score)),oa(!1)}),yt=Cn=>{ut.search=Cn,ut.page=1,Gt.resetFields(),En({}),Tt([]),rt(null),Xe(Ae({},ut)),Vn(ut)},kt=Cn=>Te(void 0,null,function*(){var Dn,Na;const Ka=Ae({},Tn);if(!((Dn=Cn==null?void 0:Cn.content)!=null&&Dn.trim())){fe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}Ka.content=Cn==null?void 0:Cn.content,Ka.attachment_ids=(Na=Cn==null?void 0:Cn.attachment_ids)==null?void 0:Na.map(Pr=>Pr.response.id),xn(Ka)}),xn=Cn=>Te(void 0,null,function*(){var Dn;$e(!0);const{showSelectQuestion:Na,ai_review_settings:Ka}=it.actionTabs,Pr=yield(0,Ze.ZP)(`/api/exercises/${(ut==null?void 0:ut.categoryId)||(ut==null?void 0:ut.exerciseId)}/test_ai_review.json`,{method:"post",body:Se(Ae({},Cn),{exercise_question_id:Na?wt:(Dn=it.actionTabs)==null?void 0:Dn.questionId,ai_review_settings:Ka})});if([0,-3].includes(Pr.status)){Pr.status==0&&fe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),rt(Pr);const en=document.querySelector(".modal-ai-pfcs");if(en){const Qn=en.querySelector(".ant-modal-body");Qn&&(Qn.scrollTop=Qn.scrollHeight)}}$e(!1)}),Nt=()=>{lt({type:"exercise/setActionTabs",payload:{key:""}}),Ge(1),qt()},qt=()=>{Gt.resetFields(),En({}),Tt([]),Wt(""),rt(null)};return b.createElement(Re.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:ht,open:((Ct=it.actionTabs)==null?void 0:Ct.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>Nt(),okText:nn?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Cn;if((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion&&!wt)return fe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(Rn==1){if(mt.length==0)return fe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");xn({exercise_user_id:mt[0]})}else Rn==2&&Gt.submit()}},b.createElement(ye.Z,{spinning:ht,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((vt=it.actionTabs)==null?void 0:vt.showSelectQuestion)&&b.createElement("div",{className:"flex item-center justify-between mb10"},b.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},b.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",b.createElement(Fe.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},b.createElement("i",{className:`iconfont icon-tishixiaowenhao ${re.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),b.createElement(Be.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:wt,onChange:Cn=>Ke(Cn)},ze==null?void 0:ze.map(Cn=>b.createElement(Be.default.Option,{key:Cn==null?void 0:Cn.id,value:Cn==null?void 0:Cn.id},Cn==null?void 0:Cn.question_title)))),b.createElement("div",{className:re.radio_con},b.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),b.createElement(oe.ZP.Group,{onChange:Cn=>{Cn.target.value==1&&ta(1,10),Ge(Cn.target.value),qt()},value:Rn,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),Rn==1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"flex justify-between item-center mb10"},b.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),b.createElement(Ne.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:_t,onChange:Cn=>Wt(Cn.target.value),onSearch:yt})),b.createElement(De.default,{rowSelection:{type:"radio",selectedRowKeys:mt,onChange:(Cn,Dn)=>{Tt(Cn)},getCheckboxProps:Cn=>({disabled:[0,1].includes(Cn==null?void 0:Cn.commit_status)})},loading:zt,rowKey:"exercise_user_id",dataSource:Rt||[],columns:vn,pagination:{current:ut.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:ut.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:He,size:"default",showTotal:Ce.rU,onChange:ta},onChange:(Cn,Dn,Na)=>{ut.page=1,Na.order===void 0?(ut.order_type=null,ut.order=null):(ut.order_type=Na.order==="descend"?"desc":"asc",ut.order=Na.field),Xe(Ae({},ut)),Vn(ut)}})),Rn==2&&b.createElement("div",{style:{marginTop:20}},b.createElement(a.default,{form:Gt,className:re.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{En(Ae({},Gt.getFieldsValue()))},onFinish:kt},b.createElement(a.default.Item,{name:"content",label:"",style:{marginBottom:0}},b.createElement(E.Z,{watch:!0})))),nn&&b.createElement("div",{className:re.result_con},b.createElement("div",{className:re.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(nn==null?void 0:nn.status)==0&&b.createElement("div",{className:"p20"},b.createElement("div",{className:"mb5"},b.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),nn==null?void 0:nn.score),b.createElement("div",{className:"flex"},b.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),b.createElement(z.Z,{value:nn==null?void 0:nn.content,style:{fontSize:"14px"}}))),(nn==null?void 0:nn.status)==-3&&b.createElement("div",{className:"p20"},b.createElement(z.Z,{value:nn==null?void 0:nn.message,style:{fontSize:"14px"}})))))};var ot=(0,Me.connect)(({shixunHomeworks:Qe,exercise:it,loading:Ye,user:lt})=>({shixunHomeworks:Qe,exercise:it,loading:Ye.effects,user:lt}))(xe)},61418:function(Ot,st,x){"use strict";x.r(st),x.d(st,{default:function(){return $f}});var a=x(59301),fe=x(38147),Re=x(74128),ye=x(65582),Fe=x(43418),Be=x(20834),oe=x(8591),Ne=x(24905),De=x(6848),be=x(5112),Me=x(81327),Ze=x(66104),Ce=x(3113),re=x(95237),y=x(38854),E=x(99313),z=x(1710),b=x(87169),ee=x(27812),te=x(89489),ne=x(87513),ue=x(65862),ce=x(84454),de=x(78241),ve=x(43604),Ae=x(78673),Se=x(92832),Te=x(5871),xe=x(58421),ot=x(66649),Qe=x.n(ot),it=Object.defineProperty,Ye=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Ct=(me,pe,ie)=>pe in me?it(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,vt=(me,pe)=>{for(var ie in pe||(pe={}))lt.call(pe,ie)&&Ct(me,ie,pe[ie]);if(Ye)for(var ie of Ye(pe))Pt.call(pe,ie)&&Ct(me,ie,pe[ie]);return me},Lt=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Rt=({shixunHomeworks:me,dispatch:pe})=>{const ie=(0,ye.useParams)();return a.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){(yield(0,fe.ZP)(`/api/myshixuns/${me.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"post",body:{course_id:ie.coursesId}})).status===0&&(oe.ZP.success("\u5220\u9664\u6210\u529F"),pe({type:"shixunHomeworks/setActionTabs",payload:{}}),pe({type:"shixunHomeworks/getWorkList",payload:vt({},me.actionTabs.params)}))}),onCancel:()=>{pe({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),a.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};var Kt=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(Rt),ut=Object.defineProperty,Xe=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Tt=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,Rn=(me,pe,ie)=>pe in me?ut(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ge=(me,pe)=>{for(var ie in pe||(pe={}))_t.call(pe,ie)&&Rn(me,ie,pe[ie]);if(Tt)for(var ie of Tt(pe))Wt.call(pe,ie)&&Rn(me,ie,pe[ie]);return me},Gt=(me,pe)=>Xe(me,mt(pe)),Tn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const En=({exercise:me,dispatch:pe})=>{var ie,dt,Dt,_e,Ut,at,Oe,Pe;const Pn=(0,ye.useParams)(),[Zn,Xn]=(0,a.useState)(!0),[an]=de.default.useForm(),{actionTabs:wn}=me;(0,a.useEffect)(()=>{var Aa,_n,Wn,Ga;me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605"&&(an.resetFields(),an.setFieldsValue({subjective_score:(_n=(Aa=wn==null?void 0:wn.selectArrs)==null?void 0:Aa.record)==null?void 0:_n.subjective_score,objective_score:(Ga=(Wn=wn==null?void 0:wn.selectArrs)==null?void 0:Wn.record)==null?void 0:Ga.objective_score}))},[me.actionTabs.key]);const aa=()=>{pe({type:"exercise/setActionTabs",payload:{}})};return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u8BC4\u9605",open:me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605",onCancel:aa,footer:a.createElement(re.Z,{align:"middle",justify:"end"},a.createElement(Ce.ZP,{className:"ml10",onClick:aa}," \u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml10",onClick:()=>Tn(void 0,null,function*(){var Aa,_n;yield an.validateFields();const Wn=an.getFieldValue();(yield(0,ne.oS)(Gt(Ge({},Wn),{id:Pn.categoryId,user_id:(_n=(Aa=wn==null?void 0:wn.selectArrs)==null?void 0:Aa.record)==null?void 0:_n.user_id}))).status===0&&(oe.ZP.success("\u8BC4\u9605\u6210\u529F"),an.resetFields(),pe({type:"exercise/setActionTabs",payload:{}}),pe({type:"exercise/setUpdateIndex"}))}),type:"primary"}," \u786E\u8BA4"))},a.createElement("div",{className:"pl30"},a.createElement(de.default,{form:an},a.createElement(re.Z,null,a.createElement(ve.Z,null,a.createElement(de.default.Item,{name:"subjective_score",label:"\u4E3B\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((dt=(ie=wn==null?void 0:wn.selectArrs)==null?void 0:ie.exercise_types)==null?void 0:dt.subjective_score)*1,style:{width:150},placeholder:"\u8BF7\u586B\u5199\u4E3B\u89C2\u9898\u6210\u7EE9"}))),a.createElement(ve.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(_e=(Dt=wn==null?void 0:wn.selectArrs)==null?void 0:Dt.exercise_types)==null?void 0:_e.subjective_score,"\u5206")))),a.createElement(re.Z,null,a.createElement(ve.Z,null,a.createElement(de.default.Item,{name:"objective_score",label:"\u5BA2\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((at=(Ut=wn==null?void 0:wn.selectArrs)==null?void 0:Ut.exercise_types)==null?void 0:at.objective_score)*1,style:{width:150},width:150,placeholder:"\u8BF7\u586B\u5199\u5BA2\u89C2\u9898\u6210\u7EE9"}))),a.createElement(ve.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(Pe=(Oe=wn==null?void 0:wn.selectArrs)==null?void 0:Oe.exercise_types)==null?void 0:Pe.objective_score,"\u5206"))))))))};var nn=(0,ye.connect)(({exercise:me})=>({exercise:me}))(En);const rt=[{name:"\u672A\u8BC4\u9605",id:0,type:"unreview_counts"},{name:"\u8BC4\u9605\u4E2D",id:2,type:"reviewing_counts"},{name:"\u5DF2\u8BC4\u9605",id:1,type:"review_counts"}],ht=[{name:"\u672A\u5F00\u59CB",id:0,type:"unanswer_users"},{name:"\u8003\u8BD5\u4E2D",id:1,type:"answering_users"},{name:"\u5DF2\u4EA4\u5377",id:2,type:"answer_users"},{name:"\u5DF2\u4EA4\u5377/\u672A\u7B54",id:3,type:"commit_with_no_answers_users"}],$e=[{name:"\u65E0\u9700\u8865\u8003",id:0,type:"unmake_up_users_count"},{name:"\u53C2\u52A0\u8865\u8003",id:1,type:"make_up_users_count"}];var ze=x(2524),Ft=x(71418),wt=x(61527),Ke=x(59301),He=Object.defineProperty,gt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable,vn=(me,pe,ie)=>pe in me?He(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,bn=(me,pe)=>{for(var ie in pe||(pe={}))zt.call(pe,ie)&&vn(me,ie,pe[ie]);if(we)for(var ie of we(pe))oa.call(pe,ie)&&vn(me,ie,pe[ie]);return me},ta=(me,pe)=>gt(me,Je(pe)),Vn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const yt=({exercise:me,dispatch:pe})=>{var ie,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),Ut=de.default.useWatch("time",_e),[at,Oe]=(0,a.useState)(!1),{actionTabs:Pe,commonHeader:Pn}=me,[,Zn,Xn,an]=(0,wt.U)(ne.n7,{id:Dt.categoryId}),wn=an!=null&&an.user_end_time?Qe()(an==null?void 0:an.user_end_time).add(1,"minutes"):Qe()(),aa=Qe()(an==null?void 0:an.user_total_end_time)>wn?Math.round(Qe().duration(Qe()(an==null?void 0:an.user_total_end_time).diff(wn.startOf("minute"))).asMinutes()):0,Aa=((an==null?void 0:an.student_left_minutes)||0)+(Ut||0);(0,a.useEffect)(()=>{var Wn;Pe.key==="\u5EF6\u65F6"?(pe({type:"exercise/getWorkSetting",payload:bn({},Dt)}),Xn({user_id:Pe!=null&&Pe.isBatch?Pe==null?void 0:Pe.user_ids:[(Wn=Pe==null?void 0:Pe.selectArrs)==null?void 0:Wn.user_id]})):_e.resetFields()},[Pe.key]);const _n=()=>{pe({type:"exercise/setActionTabs",payload:{}})};return Ke.createElement(Ke.Fragment,null,Ke.createElement(Fe.default,{width:640,centered:!0,title:Pe!=null&&Pe.isBatch?"\u6279\u91CF\u5EF6\u65F6":"\u5EF6\u65F6",open:Pe.key==="\u5EF6\u65F6",okText:"\u786E\u8BA4\u5EF6\u65F6",cancelText:"\u53D6\u6D88",confirmLoading:at,onOk:()=>Vn(void 0,null,function*(){_e.submit()}),onCancel:_n},Ke.createElement(Ft.Z,{spinning:Zn},Ke.createElement(de.default,{form:_e,colon:!1,labelCol:{span:4},onFinish:Wn=>Vn(void 0,null,function*(){Oe(!0);const Ga=yield(0,ne.qz)(ta(bn({},Wn),{id:Dt.categoryId,exercise_user_id:Pe==null?void 0:Pe.exercise_user_id}));Oe(!1),Ga.status===0&&(oe.ZP.success("\u5EF6\u65F6\u6210\u529F"),pe({type:"exercise/setUpdateIndex"}),_n())})},Ke.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"\u5EF6\u65F6\u8BF4\u660E\uFF1A",Ke.createElement("br",null),"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",Ke.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1B",Ke.createElement("br",null),"3.\u82E5\u5C06\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u5EF6\u540E\uFF0C\u5C06\u5BF9\u6240\u6709\u8003\u8BD5\u8FDF\u5230\u7684\u5B66\u751F\u8FDB\u884C\u7EDF\u4E00\u5EF6\u65F6\uFF08\u5B66\u751F\u5DF2\u7B54\u9898\u65F6\u95F4+\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4+\u7EDF\u4E00\u5EF6\u65F6\u65F6\u95F4\u2264\u8003\u8BD5\u7B54\u9898\u65F6\u957F\uFF09\u3002"),Pe!=null&&Pe.isBatch?Ke.createElement("div",null,"\u5F53\u524D\u9009\u4E2D",Ke.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},Pe==null?void 0:Pe.exercise_user_id.length),"\u540D\u5B66\u751F"):Ke.createElement(re.Z,{align:"middle",gutter:40},Ke.createElement(ve.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",Ke.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(ie=Pe==null?void 0:Pe.selectArrs)==null?void 0:ie.user_name)),Ke.createElement(ve.Z,null,"\u5B66\u53F7",Ke.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=Pe==null?void 0:Pe.selectArrs)==null?void 0:dt.student_id))),Ke.createElement(de.default.Item,{className:"mt30",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u957F\u65F6\u95F4"}],name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},Ke.createElement(Te.Z,{min:0,precision:0,max:aa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${aa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(Pe!=null&&Pe.isBatch)&&Ke.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",Ke.createElement("span",{className:"ml5"},Aa),"\u5206\u949F",Aa!==0&&(an==null?void 0:an.user_end_time)&&Ke.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",Ke.createElement("span",{className:"ml5"},Qe()(an==null?void 0:an.user_end_time).add(Ut||0,"m").format("YYYY-MM-DD HH:mm:ss")))),(Pn==null?void 0:Pn.screen_open)&&Ke.createElement(de.default.Item,{style:{marginLeft:98,marginBottom:0},name:"is_clear",initialValue:!1,valuePropName:"checked"},Ke.createElement(Ne.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570"))))))};var kt=(0,ye.connect)(({exercise:me})=>({exercise:me}))(yt),xn=x(5083),Nt=x(99981),qt=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Cn=({exercise:me,dispatch:pe})=>{var ie,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),[Ut,at]=(0,a.useState)(!1),{actionTabs:Oe}=me;return(0,a.useEffect)(()=>{me.actionTabs.key==="teacher-unlock"&&(at(!1),_e.resetFields())},[me.actionTabs.key]),a.createElement(a.Fragment,null,a.createElement(Fe.default,{width:600,centered:!0,title:`\u8003\u8BD5\u89E3\u9501\uFF08${(ie=Oe==null?void 0:Oe.selectArrs)==null?void 0:ie.user_name}\uFF09`,open:me.actionTabs.key==="teacher-unlock",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",keyboard:!1,confirmLoading:Ut,onOk:()=>qt(void 0,null,function*(){var Pe,Pn;yield _e.validateFields();const Zn=_e.getFieldsValue();if(at(!0),(yield(0,ne.ZD)(Dt.categoryId,{exercise_user_id:(Pe=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pe.exercise_user_id,unlock_key:Zn.unlock_key})).status===0){if(Zn.time){const an={time:Qe()(Zn.time).format("YYYY-MM-DD HH:mm"),exercise_user_id:(Pn=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pn.exercise_user_id,id:Dt.categoryId};yield(0,ne.qz)(an)}oe.ZP.success("\u89E3\u9664\u9501\u5B9A\u6210\u529F"),pe({type:"exercise/setUpdateIndex"}),pe({type:"exercise/setActionTabs",payload:{}})}at(!1)}),onCancel:()=>{pe({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:""},a.createElement(de.default,{form:_e,layout:"vertical",autoComplete:"off"},a.createElement(de.default.Item,{className:"ml10",label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},a.createElement(Se.default.Password,{autoComplete:"off",style:{width:270},placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),a.createElement(de.default.Item,{label:a.createElement("span",null,"\u5EF6\u957F\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF08",a.createElement("span",{className:"c-grey-999"},"\u4E0D\u80FD\u8D85\u8FC7\u5F53\u524D\u8BD5\u5377\u622A\u6B62\u65F6\u95F4",Qe()((dt=Oe==null?void 0:Oe.selectArrs)==null?void 0:dt.exercise_end_at).format("YYYY-MM-DD HH:mm")),"\uFF09"),name:"time",className:"ml10"},a.createElement(xn.default,{style:{width:270},placeholder:"\u8BF7\u9009\u62E9\u4EA4\u5377\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:Pe=>{var Pn;return(0,Nt.Q8)(Pe,(Pn=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pn.exercise_end_at)},disabledTime:Pe=>{var Pn;const Zn=(Pn=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pn.exercise_end_at;if(Qe()(Pe).isSame(Qe()(Zn),"day")){const Xn=Qe()(Zn).hours(),an=Qe()(Zn).minutes();return console.log(Xn,an),{disabledHours:()=>(0,Nt.w6)(0,24).slice(Xn+1),disabledMinutes:()=>Qe()(Pe).isSame(Qe()(Zn),"hour")?(0,Nt.w6)(an,60):[]}}return(0,Nt.d0)(Pe)},allowClear:!1}))))))};var Dn=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Cn),Na=x(30214),Ka=x(77254),Pr=x(82896),en=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,wa=(me,pe)=>{var ie={};for(var dt in me)Qn.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&en)for(var dt of en(me))pe.indexOf(dt)<0&&Ba.call(me,dt)&&(ie[dt]=me[dt]);return ie},ja=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const zr=me=>{var pe=me,{shixunHomeworks:ie,dispatch:dt}=pe,Dt=wa(pe,["shixunHomeworks","dispatch"]);const _e=(0,ye.useParams)(),[Ut,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)([]);(0,a.useEffect)(()=>{ie.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Pn()},[ie.actionTabs.key]);function Pn(){return ja(this,null,function*(){const Xn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/group_list.json`,{method:"GET"});at(Xn)})}const Zn=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:ie.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ja(void 0,null,function*(){const Xn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/code_quality_analysis.json`,{method:"POST",body:{group_ids:Oe}});(Xn==null?void 0:Xn.status)===0&&(ye.history.replace(`/classrooms/${_e.coursesId}/exercise/${_e.categoryId}/detail?tabs=7`),window.location.reload(),dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Pe([]))}),onCancel:()=>{Pe([]),dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement(z.default,{rowSelection:{type:"checkbox",onChange:(Xn,an)=>{Pe([...Xn])},selectedRowKeys:Oe,getCheckboxProps:Xn=>({disabled:Xn.status==="\u8FDB\u884C\u4E2D"||Xn.works_count===0})},rowKey:Xn=>Xn.key||Xn.id,scroll:{y:300},pagination:!1,columns:Zn,dataSource:Ut==null?void 0:Ut.group_list})))};var Hr=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(zr),bt=x(41867),yn={flex_box_center:"flex_box_center____uOEt",flex_space_between:"flex_space_between___J8U9e",flex_box_vertical_center:"flex_box_vertical_center___M1l_z",flex_box_center_end:"flex_box_center_end___UsRsw",flex_box_column:"flex_box_column___gcanz",rightFilter:"rightFilter___KnaoF",classwidth:"classwidth___QPkdW",operationCol:"operationCol___hiIyI",unlockBtn:"unlockBtn___QvP_V",recordScreenModal:"recordScreenModal___tLQo7",operationLink:"operationLink___vj72A",banding:"banding___BLx2S",noShow:"noShow___mrV9r",btn_review:"btn_review___b6mDf"},$a=x(59301),Ht=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())}),ha=({item:me,renderText:pe})=>{const ie=(0,ye.useParams)(),[dt,Dt]=(0,a.useState)(),_e=Ut=>Ht(void 0,null,function*(){if(!Ut)return;const at=yield(0,ne.UH)({id:ie.categoryId,user_id:me==null?void 0:me.user_id});at&&Dt(at)});return $a.createElement(De.Z,{onOpenChange:Ut=>_e(Ut),title:$a.createElement("div",null,"\u5355\u9009\u9898 ",(dt==null?void 0:dt.single_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u591A\u9009\u9898 ",(dt==null?void 0:dt.multiple_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u5224\u65AD\u9898 ",(dt==null?void 0:dt.judgement_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u586B\u7A7A\u9898 ",(dt==null?void 0:dt.completion_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u5B9E\u8BAD\u9898 ",(dt==null?void 0:dt.shixun_question_score)||0,"\u5206")},pe)},Ta=x(89392),dr=x.n(Ta),dn=x(57809),se=x(71067),ge=x(59301),Ee=Object.defineProperty,Ie=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Ra=Object.prototype.propertyIsEnumerable,Un=(me,pe,ie)=>pe in me?Ee(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,ln=(me,pe)=>{for(var ie in pe||(pe={}))Mt.call(pe,ie)&&Un(me,ie,pe[ie]);if(xt)for(var ie of xt(pe))Ra.call(pe,ie)&&Un(me,ie,pe[ie]);return me},$t=(me,pe)=>Ie(me,qe(pe)),Nn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Xt=({exercise:me,dispatch:pe})=>{var ie,dt;const Dt=(0,ye.useParams)(),{actionTabs:_e,commonHeader:Ut}=me,[at]=de.default.useForm(),Oe=de.default.useWatch("time",at),[,Pe,Pn,Zn]=(0,wt.U)(ne.n7,{id:Dt.categoryId}),[,Xn,an]=(0,wt.U)(ne.Xo,{id:Dt.categoryId}),wn=(0,a.useRef)(null),aa=Zn!=null&&Zn.user_end_time?Qe()(Zn==null?void 0:Zn.user_end_time).add(1,"minutes"):Qe()(),Aa=Qe()(Zn==null?void 0:Zn.user_total_end_time)>aa?Math.round(Qe().duration(Qe()(Zn==null?void 0:Zn.user_total_end_time).diff(aa.startOf("minute"))).asMinutes()):0,_n=((Zn==null?void 0:Zn.student_left_minutes)||0)+(Oe||0);(0,a.useEffect)(()=>{var Ga,On;_e.key=="\u8C03\u6574\u72B6\u6001"?(pe({type:"exercise/getWorkSetting",payload:ln({},Dt)}),Pn({user_id:_e!=null&&_e.isBatch?_e==null?void 0:_e.user_ids:[(Ga=_e==null?void 0:_e.selectArrs)==null?void 0:Ga.user_id]})):(at.resetFields(),wn.current&&((On=wn.current)==null||On.changeCode({target:{value:""}})))},[_e.key]);const Wn=()=>{pe({type:"exercise/setActionTabs",payload:{}})};return ge.createElement(Fe.default,{centered:!0,title:_e!=null&&_e.isBatch?"\u6279\u91CF\u8C03\u6574\u8003\u8BD5\u72B6\u6001":"\u8C03\u6574\u8003\u8BD5\u72B6\u6001",open:_e.key=="\u8C03\u6574\u72B6\u6001",width:650,okText:"\u786E\u5B9A\u8C03\u6574",confirmLoading:Xn,onOk:()=>Nn(void 0,null,function*(){at.submit()}),onCancel:Wn},ge.createElement(Ft.Z,{spinning:Pe},ge.createElement(de.default,{initialValues:{status:"1"},form:at,colon:!1,labelCol:{span:4},onFinish:Ga=>Nn(void 0,null,function*(){if(console.log("allValue",Ga),wn.current.onVerify())return Promise.reject();(yield an($t(ln({},Ga),{exercise_user_id:_e==null?void 0:_e.exercise_user_id}))).status==0&&(oe.ZP.success("\u8C03\u6574\u6210\u529F"),Wn(),pe({type:"exercise/setUpdateIndex"}))})},_e!=null&&_e.isBatch?ge.createElement("div",{className:"mb20"},"\u5F53\u524D\u9009\u4E2D",ge.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},_e==null?void 0:_e.exercise_user_id.length),"\u540D\u5B66\u751F"):ge.createElement(re.Z,{className:"mb20",align:"middle",gutter:40},ge.createElement(ve.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(ie=_e==null?void 0:_e.selectArrs)==null?void 0:ie.user_name)),ge.createElement(ve.Z,null,"\u5B66\u53F7",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=_e==null?void 0:_e.selectArrs)==null?void 0:dt.student_id))),(Ut==null?void 0:Ut.is_locked)&&ge.createElement(de.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ge.createElement(Se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),ge.createElement(de.default.Item,{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"}],name:"status",label:"\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default.Option,{value:"1"},"\u8003\u8BD5\u4E2D\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u7EE7\u7EED\u8003\u8BD5\uFF09"),ge.createElement(dn.default.Option,{value:"2"},"\u5DF2\u4EA4\u5377\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u8FDB\u884C\u4EA4\u5377\uFF09"))),(Ut==null?void 0:Ut.time)!==-1&&ge.createElement(ge.Fragment,null,ge.createElement(de.default.Item,{className:"mt20 mb20",name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},ge.createElement(Te.Z,{min:0,precision:0,max:Aa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Aa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(_e!=null&&_e.isBatch)&&ge.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},_n),"\u5206\u949F",_n!==0&&(Zn==null?void 0:Zn.user_end_time)&&ge.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},Qe()(Zn==null?void 0:Zn.user_end_time).add(Oe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))),(Ut==null?void 0:Ut.screen_open)&&ge.createElement(de.default.Item,{style:{marginLeft:100},name:"is_clear",initialValue:!1,valuePropName:"checked"},ge.createElement(Ne.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570")),ge.createElement(de.default.Item,{label:"\u9A8C\u8BC1\u7801",required:!0,style:{marginBottom:0}},ge.createElement(se.Z,{ref:Ga=>wn.current=Ga})))))};var ca=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Xt),Pa=x(30365),fa=Object.defineProperty,hn=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,pn=(me,pe,ie)=>pe in me?fa(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,gn=(me,pe)=>{for(var ie in pe||(pe={}))ct.call(pe,ie)&&pn(me,ie,pe[ie]);if(hn)for(var ie of hn(pe))on.call(pe,ie)&&pn(me,ie,pe[ie]);return me};const Hn=me=>React.createElement("svg",gn({width:17,height:10,xmlns:"http://www.w3.org/2000/svg"},me),React.createElement("title",null,"new"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"-5%",y1:"37.065%",x2:"100%",y2:"67.301%",id:"new_svg__a"},React.createElement("stop",{stopColor:"#FF420B",offset:"0%"}),React.createElement("stop",{stopColor:"#FF9B44",offset:"100%"}))),React.createElement("path",{d:"M700.618 185h-14.236c-.781 0-1.382.629-1.382 1.447v7.106c0 .818.6 1.447 1.382 1.447h14.236c.781 0 1.382-.629 1.382-1.447v-7.106c0-.818-.6-1.447-1.382-1.447Zm-10.692 7.358h-.961l-1.863-3.836v3.836h-.6v-4.59h.84l1.923 3.962h.06v-3.963h.6v4.591Zm1.502-2.641h2.342v.629h-2.342v.126c0 .817.24 1.195.72 1.195h1.682v.629h-1.682c-.36 0-.66-.126-.9-.44-.24-.315-.361-.818-.361-1.384v-1.07c0-1.069.66-1.509 1.321-1.635h1.622v.63h-1.561c-.24.062-.781.25-.781 1.006-.06.125-.06.188-.06.314Zm7.809 2.641h-.841l-.841-3.647-.961 3.647h-.901l-1.262-4.59h.66l1.082 3.773h.06l.961-3.774h.721l.961 3.963 1.142-3.963h.6l-1.381 4.591Z",transform:"translate(-685 -185)",fill:"url(#new_svg__a)",fillRule:"nonzero"}));var cn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItNSUiIHkxPSIzNy4wNjUlIiB4Mj0iMTAwJSIgeTI9IjY3LjMwMSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkY0MjBCIiBvZmZzZXQ9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Descriptors,Gn=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable,lo=(me,pe,ie)=>pe in me?na(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ar=(me,pe)=>{for(var ie in pe||(pe={}))_r.call(pe,ie)&&lo(me,ie,pe[ie]);if(Gn)for(var ie of Gn(pe))Gr.call(pe,ie)&&lo(me,ie,pe[ie]);return me},hr=(me,pe)=>ar(me,gr(pe)),br=(me,pe)=>{var ie={};for(var dt in me)_r.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Gn)for(var dt of Gn(me))pe.indexOf(dt)<0&&Gr.call(me,dt)&&(ie[dt]=me[dt]);return ie},yr=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Er=me=>{var pe=me,{exercise:ie,loading:dt,dispatch:Dt,globalSetting:_e,checkDomainAuthority:Ut,getparams:at,user:Oe,classroomList:Pe}=pe,Pn=br(pe,["exercise","loading","dispatch","globalSetting","checkDomainAuthority","getparams","user","classroomList"]),Zn,Xn,an,wn,aa,Aa,_n,Wn,Ga;const[On]=(0,ye.useSearchParams)(),pa=(0,ye.useParams)();let[Jt,ga]=(0,a.useState)(Ar({page:1,limit:20},pa));const{commonHeader:la,updateIndex:ka}=ie,{userInfo:Yt}=Oe,[Ca,ia]=(0,a.useState)({}),[rr,ro]=(0,a.useState)(0),[Lr,Ua]=(0,a.useState)(0),[sn,tt]=(0,a.useState)(!1),[Za,va]=(0,a.useState)("alert"),[za,ur]=(0,a.useState)(0),[Ha,Vr]=(0,a.useState)(!1),[Va,Da]=(0,a.useState)(!1),[Or]=de.default.useForm(),[Sr,or]=(0,a.useState)([]),[ea,_a]=(0,a.useState)(1),[ya,ra]=(0,a.useState)(""),[xa,qn]=(0,a.useState)(),[nr,vr]=(0,a.useState)(!1),[xr,ho]=(0,a.useState)(!1),[Eo,Zr]=(0,a.useState)({name:"",id:"",list:[]}),[sr,io]=(0,a.useState)({}),[yo,kl]=(0,a.useState)({}),[Gi,Yi]=(0,a.useState)(!0),[Gl,_i]=(0,a.useState)(""),[ku,Iu]=(0,a.useState)(""),[eo,Kl]=(0,a.useState)(""),[Ui,mu]=(0,a.useState)([]),[,,Uu]=(0,wt.U)(ne.N0,{}),[su,jl]=(0,a.useState)([]),[Nu,Vs]=(0,a.useState)(!0);(0,a.useEffect)(()=>{let kn={};if(On.get("exercise_group_id")&&!ka){if(On.get("statistics")){let $n=[];const fo=On.get("scope");fo==="0"&&($n=["all"]),fo==="1"&&($n=[1,2,3]),fo==="2"&&($n=[2,3]),kn={exercise_group_id:On.get("exercise_group_id"),commit_status:$n}}else kn={review:[0,2],commit_status:[2,3]},On.get("exercise_group_id")!=="0"&&(kn.exercise_group_id=[Number(On.get("exercise_group_id"))]);Or.setFieldsValue(Ar({},kn))}return Jt=Ar(Ar({},Jt),kn),ga(Ar({},Jt)),Gu(),wr(Jt),mu([]),()=>{Dt({type:"exercise/setUpdateIndex",payload:"clear"})}},[ka]);const Gu=()=>yr(void 0,null,function*(){var kn,$n;const fo=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/header_info.json`,{method:"get"});(fo==null?void 0:fo.status)===0&&(io((fo==null?void 0:fo.data)||{}),console.log((kn=fo==null?void 0:fo.data)==null?void 0:kn.course_groups),Dt({type:"exercise/save",payload:{course_groups:($n=fo==null?void 0:fo.data)==null?void 0:$n.course_groups}}))}),wr=kn=>yr(void 0,null,function*(){var $n,fo,Mu,us,Ku,uc,kc,_s,q0,B0,rg;Yi(!0);const gs=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/exercise_users.json`,{method:"get",params:kn});if((gs==null?void 0:gs.status)===0){let og=(Mu=(fo=($n=gs==null?void 0:gs.data)==null?void 0:$n.exercise_users)==null?void 0:fo[0])==null?void 0:Mu.commit_status;Vs(og==2||og==3),kl({exercise_users:((us=gs==null?void 0:gs.data)==null?void 0:us.exercise_users)||[],current_answer_user:((Ku=gs==null?void 0:gs.data)==null?void 0:Ku.current_answer_user)||{}}),_i(((uc=gs==null?void 0:gs.data)==null?void 0:uc.appraise_user_login)||""),Iu(((kc=gs==null?void 0:gs.data)==null?void 0:kc.first_export_user_login)||""),ro((_s=gs==null?void 0:gs.data)==null?void 0:_s.total_count),Ua(typeof((q0=gs==null?void 0:gs.data)==null?void 0:q0.total_score)=="string"?Number((B0=gs==null?void 0:gs.data)==null?void 0:B0.total_score):(rg=gs==null?void 0:gs.data)==null?void 0:rg.total_score)}Kl(gs==null?void 0:gs.status),Yi(!1)});(0,a.useEffect)(()=>{Dt({type:"exercise/setSaveExerciseDownUsers",payload:Ju})},[ku,rr,JSON.stringify(Jt)]);function dl(kn){return yr(this,null,function*(){var $n,fo,Mu,us;qn(kn==null?void 0:kn.exercise_user_id),vr(kn.commit_status===2||kn.commit_status===3),Vr(!0);let Ku=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/student_info.json`,{method:"get",params:{exercise_user_id:kn==null?void 0:kn.exercise_user_id}});((fo=($n=Ku==null?void 0:Ku.data)==null?void 0:$n.exercise_user_photos)==null?void 0:fo.length)>0?tt(!0):oe.ZP.info("\u5F53\u524D\u6682\u65E0\u7167\u7247"),or((Mu=Ku==null?void 0:Ku.data)==null?void 0:Mu.exercise_user_photos),ur((us=Ku==null?void 0:Ku.data)==null?void 0:us.alert_count),Vr(!1)})}const Fi=kn=>{Jt.page=1;const $n=Object.assign({},Or.getFieldsValue());Object.keys($n).map(function(fo){fo==="objective_score_gte"||fo==="objective_score_lte"||($n[fo].includes("all")?(delete Jt[fo],Or.setFieldsValue({[fo]:"all"})):(Jt[fo]=$n[fo],$n[fo]==""||!$n[fo]?Or.setFieldsValue({[fo]:"all"}):Or.setFieldsValue({[fo]:Jt[fo]})))}),("objective_score_gte"in kn||"objective_score_lte"in kn)&&($n.objective_score_gte&&$n.objective_score_lte&&$n.objective_score_gte>$n.objective_score_lte?(Or.setFieldsValue({objective_score_lte:$n.objective_score_gte}),Jt.objective_score_lte=$n.objective_score_gte||null,Jt.objective_score_gte=$n.objective_score_gte||null):(Jt.objective_score_lte=$n.objective_score_lte||null,Jt.objective_score_gte=$n.objective_score_gte||null)),ga(Ar({},Jt)),wr(Jt),at(Ar({},Jt))},oo=(kn=1,$n=20)=>{Jt.page=kn,Jt.limit=$n,ga(Ar({},Jt)),wr(Jt)};let el=new Date().getTime();const Ol=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",render:(kn,$n,fo)=>pt.createElement(De.Z,{title:((Jt.page||1)-1)*Jt.limit+fo+1},pt.createElement("span",null,((Jt.page||1)-1)*Jt.limit+fo+1))},{title:"\u59D3\u540D",dataIndex:"user_name",fixed:"left",align:"left",render:(kn,$n)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"},onClick:()=>{var fo;if(kn&&(0,bt.GJ)()){if((0,bt.Rm)()&&!((fo=Pe.AssistantObject.exercise)!=null&&fo.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}switch($n.commit_status){case 0:if(!(0,bt.Ny)()){oe.ZP.warning("\u5B66\u751F\u672A\u5F00\u59CB\u8003\u8BD5\uFF0C\u60A8\u65E0\u6743\u67E5\u770B");return}break;default:console.log("\u5F53\u524D\u63D0\u4EA4\u72B6\u6001",$n.commit_status)}kn&&(0,bt.GJ)()&&(ui(),(0,ue.xg)(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${$n==null?void 0:$n.login}`))}}},pt.createElement("span",{className:kn&&(0,bt.GJ)()?yn.operationLink:""},kn||"--"),!!($n!=null&&$n.delayed_at)&&la.time!==-1&&pt.createElement(De.Z,{title:pt.createElement("div",null,"\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u8C03\u6574\u81F3",pt.createElement("span",{className:"ml5"},Qe()($n.delayed_at).format("YYYY-MM-DD HH:mm")))},pt.createElement("span",{className:"iconfont icon-shizhong c-blue"})))},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:kn=>kn||"--"},!(sr!=null&&sr.is_excellent)&&(sr==null?void 0:sr.groups_count)!==0&&{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(kn,$n)=>pt.createElement("div",{className:yn.banding,title:kn||"--"},kn||"--")},{title:(la==null?void 0:la.exercise_type)==2&&!(0,bt.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",sorter:!0,render:(kn,$n)=>$n.commit_status===0||$n.commit_status===1?"--":!$n.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(kn=typeof kn=="number"?Number(kn):kn,console.log(typeof kn),kn||(kn=0),kn===100?pt.createElement("span",{className:"c-green"},kn):kn>60?pt.createElement("span",{className:"c-orange"},kn):kn==Lr*.6?pt.createElement("span",{className:"c-red"},kn):pt.createElement("span",null,kn))},!((sr==null?void 0:sr.objective)!==1||(sr==null?void 0:sr.objective)===1&&(sr==null?void 0:sr.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let fo;return kn>=0&&kn<=60?fo=pt.createElement("span",null,kn):kn===100?fo=pt.createElement("span",{className:"c-green"},kn):kn>60?fo=pt.createElement("span",{className:"c-orange"},kn):fo="--",pt.createElement(ha,{renderText:fo,item:$n})}}},!((sr==null?void 0:sr.subjective)!==1||(sr==null?void 0:sr.subjective)===1&&(sr==null?void 0:sr.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{let fo;sr!=null&&sr.appraise_setting&&(sr!=null&&sr.sealed_review)&&new Date(sr==null?void 0:sr.appraise_end_time).getTime()>el&&(fo="--"),!($n!=null&&$n.has_comment)&&$n.review_status&&(fo="\u8BC4\u9605\u4E2D"),$n!=null&&$n.has_comment?fo="\u5DF2\u8BC4\u9605":fo="\u672A\u8BC4\u9605",kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let Mu;return kn===0?Mu=pt.createElement("span",null,kn," ",fo==="\u672A\u8BC4\u9605"&&pt.createElement("span",{className:"c-red"}," (\u5F85\u8BC4\u9605)")):kn>0&&kn<=60?Mu=pt.createElement("span",null,kn):kn===100?Mu=pt.createElement("span",{className:"c-green"},kn):kn>60?Mu=pt.createElement("span",{className:"c-orange"},kn):Mu="--",Mu}}},(la==null?void 0:la.open_make_up)&&{title:"\u8865\u8003\u6263\u5206",dataIndex:"make_up_score",render:(kn,$n)=>[1,2].includes($n==null?void 0:$n.commit_status)?kn:"--"},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"left",render:(kn,$n)=>kn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):kn===1?pt.createElement("span",{style:{color:"#DF3042"}},!$n.is_make_up&&"\u8003\u8BD5\u4E2D",$n.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):kn===2?pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"left",sorter:!0,render:kn=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",sorter:!0,render:(kn,$n)=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"},(0,bt.GJ)()&&(la==null?void 0:la.exercise_type)===2&&{title:pt.createElement("span",null,"\u8003\u8BD5\u6B21\u6570",pt.createElement(De.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u7684\u5DF2\u8003\u8BD5\u6B21\u6570/\u53EF\u8003\u8BD5\u6B21\u6570\uFF0C\u53EF\u70B9\u51FB\u67E5\u770B\u5B66\u751F\u7684\u8003\u8BD5\u8BB0\u5F55"},pt.createElement("i",{className:"iconfont icon-xiaowenhao font14 current"}))),dataIndex:"exercise_user_redo_count",render:(kn,$n)=>{var fo;return pt.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{const Mu={name:$n==null?void 0:$n.user_name,id:$n==null?void 0:$n.student_id,list:$n==null?void 0:$n.simulate_exercise_records};Zr(Ar({},Mu)),ho(!0)}},(fo=$n==null?void 0:$n.simulate_exercise_records)==null?void 0:fo.length,"/",la==null?void 0:la.simulate_exercise_num)||"--"}},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"exercise_user_redo_count",className:((Zn=Yt==null?void 0:Yt.course)==null?void 0:Zn.course_role)===15||(la==null?void 0:la.exercise_type)==2?yn.noShow:"",align:"left",render:(kn,$n)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"}},pt.createElement("span",{className:yn.operationLink,onClick:()=>{Dt({type:"exercise/setActionTabs",payload:{key:"\u6253\u56DE\u8BB0\u5F55",student_id:$n.user_id}})}},kn||"0"))},(la==null?void 0:la.screen_open)&&{title:pt.createElement("span",null,"\u5207\u5C4F\u6B21\u6570",pt.createElement(De.Z,{title:"\u7EA2\u8272\u4EE3\u8868\u5B66\u751F\u5207\u5C4F\u8D85\u8FC7\u89C4\u5B9A\u6B21\u6570\u88AB\u5F3A\u5236\u4EA4\u5377"},pt.createElement("span",{className:"icon-xiaowenhao"}))),dataIndex:"screen_used_num",align:"center",render:(kn,$n)=>pt.createElement("span",{style:kn>0?{cursor:"pointer"}:{},className:kn>($n==null?void 0:$n.screen_total_num)?"c-red":"",onClick:()=>yr(void 0,null,function*(){if(kn===0)return;const fo=yield(0,ne.Yu)(pa.categoryId,{exercise_user_id:$n.exercise_user_id});Fe.default.info({title:`\u5207\u5C4F\u8BB0\u5F55\uFF08${$n==null?void 0:$n.user_name}\uFF09`,icon:null,closable:!0,className:yn.recordScreenModal,maskClosable:!0,width:616,centered:!0,content:pt.createElement(z.default,{style:{marginTop:14},bordered:!0,pagination:!1,rowKey:"time",columns:[{title:"\u5F00\u59CB\u5207\u5C4F\u65F6\u95F4",align:"center",dataIndex:"time"},{title:"\u5207\u5C4F\u65F6\u957F\uFF08\u79D2\uFF09",align:"center",dataIndex:"time_long"},{title:"\u5224\u5B9A\u5207\u5C4F\u6B21\u6570",align:"center",dataIndex:"count"}],dataSource:fo==null?void 0:fo.data})})})},kn,"/",$n==null?void 0:$n.screen_total_num)},(la==null?void 0:la.exercise_status)>1&&(la==null?void 0:la.open_camera)&&(0,bt.GJ)()&&!((Xn=_e.setting)!=null&&Xn.is_local)&&{title:"\u8003\u8BD5\u7167\u7247",dataIndex:"photo_count",align:"center",render:(kn,$n)=>$n.commit_status>0?pt.createElement("a",{onClick:()=>{dl($n)}},`${kn||0}/${la==null?void 0:la.photo_count}`):"--"},(la==null?void 0:la.ip_bind)&&(0,bt.Gg)()&&{title:"\u8003\u8BD5IP",dataIndex:"last_ip",align:"center",render:(kn,$n)=>pt.createElement(pt.Fragment,null,kn||"--",$n.commit_status<=1&&la.ip_bind&&$n.last_ip&&pt.createElement(Ce.ZP,{type:"link",onClick:()=>yr(void 0,null,function*(){const fo=Fe.default.confirm({title:pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"1"},"\u89E3\u9664\u7ED1\u5B9A"),pt.createElement(ve.Z,null,pt.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>fo.destroy()}))),width:500,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",className:"custom-modal-divider",content:pt.createElement("div",null,"\u4E3A\u5B66\u751F\u89E3\u9664\u8003\u8BD5IP\u7ED1\u5B9A\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u4F7F\u7528\u65B0\u7684IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002",pt.createElement("span",{className:"c-red"},"\u5982\u679C\u8BE5\u5B66\u751F\u6B63\u5728\u8003\u8BD5\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u4F5C\u7B54\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u5165\u8003\u8BD5\u3002"),"\u60A8\u786E\u5B9A\u8981\u89E3\u9664\u8BE5\u5B66\u751F\u7684\u8003\u8BD5IP\u7ED1\u5B9A\uFF1F"),onOk:()=>yr(void 0,null,function*(){(yield(0,ne.ab)({id:Jt.categoryId,exercise_user_id:$n.exercise_user_id})).status===0&&(oe.ZP.success("\u89E3\u7ED1\u6210\u529F"),wr(Jt))})})})},"\u89E3\u7ED1"))},(la==null?void 0:la.open_camera)&&(0,bt.Gg)()&&la.exercise_status<3&&!((an=_e.setting)!=null&&an.is_local)&&{title:"\u5141\u8BB8\u4E0D\u62CD\u6444",dataIndex:"close_camera",align:"center",render:(kn,$n)=>pt.createElement(Ae.Z,{checked:kn,onClick:()=>yr(void 0,null,function*(){kn?Fe.default.info({title:"\u63D0\u793A",content:pt.createElement("div",null,"\u4E0D\u5141\u8BB8\u4FEE\u6539"),okText:"\u786E\u8BA4"}):Fe.default.confirm({title:"\u5141\u8BB8\u4E0D\u6444\u50CF\u8B66\u544A",content:pt.createElement("div",null,"\u4E3A\u4FDD\u8BC1\u8003\u8BD5\u516C\u5E73\uFF0C\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7684\u6444\u50CF\u5934\u3002\u5982\u5B66\u751F\u786C\u4EF6\u8BBE\u65BD\u786E\u6709\u95EE\u9898\uFF0C\u4E3A\u4FDD\u8BC1\u5B66\u751F\u8003\u8BD5\u6743\u5229\uFF0C\u6559\u5E08\u53EF\u4E34\u65F6\u53D6\u6D88\u9650\u5236\uFF0C\u5141\u8BB8\u5B66\u751F\u53C2\u8003\u3002 \u672C\u64CD\u4F5C\u4E0D\u53EF\u64A4\u56DE\uFF0C\u4E0D\u53EF\u4FEE\u6539\u3002 \u60A8\u786E\u8BA4\u540C\u610F\u8BE5\u5B66\u751F\u4E0D\u5F00\u542F\u6444\u50CF\u5934\u53C2\u52A0\u8003\u8BD5\u5417\uFF1F"),onOk:()=>yr(void 0,null,function*(){const fo=yield(0,ne.cC)(hr(Ar({},Jt),{exercise_user_id:$n.exercise_user_id}));(fo==null?void 0:fo.status)===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),wr(Jt))})})})})},(0,bt.GJ)()&&{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"has_comment",align:"center",render:(kn,$n)=>sr!=null&&sr.appraise_setting&&(sr!=null&&sr.sealed_review)&&new Date(sr==null?void 0:sr.appraise_end_time).getTime()>el?"--":!kn&&$n.review_status?"\u8BC4\u9605\u4E2D":kn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},((la==null?void 0:la.assistant_auth)||(0,bt.GJ)()||(0,bt.dE)())&&Ut&&{title:"\u64CD\u4F5C",fixed:"right",dataInex:"action",align:"left",className:yn.operationCol,render:(kn,$n)=>{var fo,Mu;return(la==null?void 0:la.exercise_status)===-1?pt.createElement("div",null," ",(0,bt.GJ)()&&pt.createElement("a",{onClick:us=>{us.stopPropagation(),Dt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:$n==null?void 0:$n.exercise_user_id,type:"exercise"}})}},"\u4FEE\u6539\u6210\u7EE9"),pt.createElement("a",{style:{marginLeft:(0,bt.GJ)()&&10},onClick:(0,Ta.debounce)(us=>yr(void 0,null,function*(){var Ku,uc,kc;us.stopPropagation();let _s=yield(0,fe.ZP)(`/api/exercises/${Jt==null?void 0:Jt.categoryId}/exercise_user/view_detail.json`,{method:"get",params:{exercise_user_id:$n==null?void 0:$n.exercise_user_id}});Fe.default.confirm({title:"\u8003\u8BD5\u8BE6\u60C5",closable:!0,width:1200,icon:null,content:pt.createElement("div",null,pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",null,pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),pt.createElement("span",{style:{marginLeft:10}},(Ku=_s==null?void 0:_s.data)==null?void 0:Ku.user_name)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),pt.createElement("span",{style:{marginLeft:10}},(uc=_s==null?void 0:_s.data)==null?void 0:uc.student_id)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),pt.createElement("span",{style:{marginLeft:10}},(kc=_s==null?void 0:_s.data)==null?void 0:kc.group_name))),pt.createElement("div",{style:{marginTop:22,marginBottom:20}},pt.createElement(z.default,{columns:[{title:"\u9898\u578B",dataIndex:"type_name",align:"center",render:()=>"\u5F97\u5206"},{title:"\u5355\u9009\u9898",dataIndex:"single_score",align:"center"},{title:"\u591A\u9009\u9898",dataIndex:"multiple_score",align:"center"},{title:"\u586B\u7A7A\u9898",dataIndex:"completion_score",align:"center"},{title:"\u5224\u65AD\u9898",dataIndex:"judgment_score",align:"center"},{title:"\u7F16\u7A0B\u9898",dataIndex:"program_score",align:"center"},{title:"\u5B9E\u8BAD\u9898",dataIndex:"practical_score",align:"center"},{title:"\u7EC4\u5408\u9898",dataIndex:"combination_socre",align:"center"},{title:"\u7B80\u7B54\u9898",dataIndex:"subjective_score",align:"center"},{title:"\u7A0B\u5E8F\u586B\u7A7A\u9898",dataIndex:"bprogram_score",align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",align:"center",render:(q0,B0)=>pt.createElement("span",{style:{color:(B0==null?void 0:B0.type_name)=="\u5B9E\u5F97\u5206"?"#FA2121":""}},q0)}],pagination:!1,dataSource:[Ar({},_s==null?void 0:_s.data)]}))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):pt.createElement("div",{className:"flex gap-10px"},(0,bt.GJ)()&&($n==null?void 0:$n.commit_status)===1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:($n==null?void 0:$n.commit_status)!==1,onClick:()=>{(0,ue.xg)(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${$n.login}`)}},"\u67E5\u9605"),(0,bt.GJ)()&&($n==null?void 0:$n.commit_status)!==1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:$n.commit_status<2,onClick:us=>yr(void 0,null,function*(){var Ku,uc;if(us.preventDefault(),yield(0,Pr.w)(pa.coursesId,pa.categoryId),$n.commit_status===2){if((0,bt.Rm)()&&!((Ku=Pe.AssistantObject.exercise)!=null&&Ku.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ui(),window.location.href=`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${$n.login}`}if($n.commit_status===3){if((0,bt.Rm)()&&!((uc=Pe.AssistantObject.exercise)!=null&&uc.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u66F4\u6539\u8BC4\u9605",saveExerciseUsers:ui,selectArrs:{record:Ar({},$n),exercise_types:Ar({},sr)},params:Ar({},Jt)}})}})},sr!=null&&sr.appraise_setting&&(sr!=null&&sr.sealed_review)&&new Date(sr==null?void 0:sr.appraise_end_time).getTime()>el?"\u8BC4\u9605":$n.has_comment?"\u66F4\u6539\u8BC4\u9605":!$n.has_comment&&"\u8BC4\u9605"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:($n==null?void 0:$n.commit_status)===0,onClick:()=>{var us,Ku;if((0,bt.Rm)()&&!((Ku=(us=Pe==null?void 0:Pe.AssistantObject)==null?void 0:us.exercise)!=null&&Ku.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",selectArrs:$n,exercise_user_id:[$n.exercise_user_id]}})}},"\u8C03\u6574\u72B6\u6001"),(0,bt.dE)()&&pt.createElement("span",{style:{color:sr!=null&&sr.answered_open&&((fo=yo==null?void 0:yo.current_answer_user)==null?void 0:fo.login)===($n==null?void 0:$n.login)?"#0152d9":"#000000",marginRight:"5px",cursor:"pointer"},onClick:()=>yr(void 0,null,function*(){if(!(sr!=null&&sr.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,ue.xg)(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/users/${$n==null?void 0:$n.login}?check=true`)})},sr!=null&&sr.answered_open&&((Mu=yo==null?void 0:yo.current_answer_user)==null?void 0:Mu.login)===($n==null?void 0:$n.login)?"\u67E5\u770B":"- -"),(la==null?void 0:la.exercise_time)>0&&(la==null?void 0:la.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(De.Z,{title:la.exercise_status===3?"\u672C\u8BD5\u5377\u5DF2\u622A\u6B62\uFF0C\u8BF7\u5148\u4FEE\u6539\u622A\u6B62\u65F6\u95F4\u4F7F\u672C\u8BD5\u5377\u5904\u4E8E\u201C\u8003\u8BD5\u4E2D\u201D":!1},pt.createElement(Ce.ZP,{danger:!0,ghost:!0,size:"small",disabled:la.exercise_status===3||la.exercise_status===5||(la==null?void 0:la.appraise_label)||($n==null?void 0:$n.commit_status)===0,onClick:()=>{var us,Ku;if((0,bt.Rm)()&&!((Ku=(us=Pe==null?void 0:Pe.AssistantObject)==null?void 0:us.exercise)!=null&&Ku.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:[$n.exercise_user_id],selectArrs:$n,exercise_time:la.exercise_time,params:Ar({},Jt)}})}},"\u5EF6\u65F6")))}}].filter(kn=>!!kn),bi=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",width:60,render:(kn,$n,fo)=>pt.createElement(De.Z,{title:((Jt.page||1)-1)*20+fo+1},pt.createElement("span",null,((Jt.page||1)-1)*20+fo+1))},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",width:100,render:(kn,$n)=>$n.commit_status===0||$n.commit_status===1?"--":!$n.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0),kn===100?pt.createElement("span",{className:"c-green"},kn):kn>60?pt.createElement("span",{className:"c-orange"},kn):pt.createElement("span",null,kn))},!((sr==null?void 0:sr.objective)!==1||(sr==null?void 0:sr.objective)===1&&(sr==null?void 0:sr.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let fo;return kn>=0&&kn<=60?fo=pt.createElement("span",null,kn):kn===100?fo=pt.createElement("span",{className:"c-green"},kn):kn>60?fo=pt.createElement("span",{className:"c-orange"},kn):fo="--",pt.createElement(ha,{renderText:fo,item:$n})}}},!((sr==null?void 0:sr.subjective)!==1||(sr==null?void 0:sr.subjective)===1&&(sr==null?void 0:sr.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let fo;return kn==0||kn>0&&kn<=60?fo=pt.createElement("span",null,kn):kn===100?fo=pt.createElement("span",{className:"c-green"},kn):kn>60?fo=pt.createElement("span",{className:"c-orange"},kn):fo="--",fo}}},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"center",width:200,render:(kn,$n)=>kn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):kn===1?pt.createElement("span",{style:{color:"#DF3042"}},!$n.is_make_up&&"\u8003\u8BD5\u4E2D",$n.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):kn===2?pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"center",width:200,render:kn=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",align:"center",width:200,render:kn=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"}].filter(kn=>!!kn),qi=[...Ol];qi[0]=Ar({},qi[0]),qi[(qi==null?void 0:qi.length)-1]=Ar({},qi[(qi==null?void 0:qi.length)-1]),qi[0].render=()=>"\u6211",qi[(qi==null?void 0:qi.length)-1].render=()=>{var kn;return(kn=yo==null?void 0:yo.current_answer_user)!=null&&kn.login?pt.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:()=>yr(void 0,null,function*(){var $n,fo;if(!(sr!=null&&sr.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E...");let Mu=`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/users/${($n=yo==null?void 0:yo.current_answer_user)==null?void 0:$n.login}`;((fo=yo==null?void 0:yo.current_answer_user)==null?void 0:fo.commit_status)>1&&(Mu=Mu+"?check=true"),ye.history.push(Mu)})},"\u67E5\u770B"):"--"};const ui=()=>{var kn;try{const $n=Ar({},Jt);delete $n.page,delete $n.limit,localStorage[`${(kn=Oe==null?void 0:Oe.userInfo)==null?void 0:kn.login}-${Jt.coursesId}-${Jt.categoryId}-filter`]=JSON.stringify($n)}catch($n){}},Ju=()=>{var kn;try{const $n=hr(Ar({},Jt),{firstTargetLogin:ku,totalCount:rr});delete $n.page,delete $n.limit,localStorage[`${(kn=Oe==null?void 0:Oe.userInfo)==null?void 0:kn.login}-${Jt.coursesId}-${Jt.categoryId}-downFilter`]=JSON.stringify($n)}catch($n){}};return pt.createElement("section",{className:"mb20"},(sr==null?void 0:sr.score_open)&&(0,bt.dE)()&&pt.createElement(z.default,{pagination:!1,showHeader:!1,dataSource:[Ar({},yo==null?void 0:yo.current_answer_user)],columns:qi,scroll:{x:"max-content"}}),!(0,bt.GJ)()&&pt.createElement("div",{className:"bg-white pt10 mt15"},!!(sr!=null&&sr.answer_users)&&pt.createElement("span",{className:"mr10"},pt.createElement("span",{style:{color:"#FF954C"}},sr==null?void 0:sr.answer_users," "),"\u5DF2\u4EA4"),!!(sr!=null&&sr.unanswer_users)&&pt.createElement("span",{className:"mr10"},sr==null?void 0:sr.unanswer_users,"\u672A\u4EA4"),(sr==null?void 0:sr.exercise_end_time)!=="--"&&(la!=null&&la.before_start?"":pt.createElement("span",null,"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},sr==null?void 0:sr.exercise_end_time))),(la==null?void 0:la.before_start)&&pt.createElement("span",null,"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u8FD8\u6709\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},la==null?void 0:la.before_start))),!(sr!=null&&sr.exercise_all_users)&&!(0,bt.dE)()&&pt.createElement(ze.Z,{styles:{margin:"0 auto",padding:200}}),(!!(sr!=null&&sr.exercise_all_users)||(0,bt.dE)())&&pt.createElement("aside",null,(0,bt.GJ)()&&pt.createElement("aside",{className:"pt20"},pt.createElement(de.default,{form:Or,onValuesChange:Fi,initialValues:{commit_status:"all",exercise_group_id:"all",review:"all",is_make_up:"all"}},pt.createElement(de.default.Item,{name:"exercise_group_id"},pt.createElement(Ne.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u9009\u62E9\u73ED\u7EA7:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((wn=Ca.course_group)!=null&&wn.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},(sr==null?void 0:sr.course_groups)&&(sr==null?void 0:sr.course_groups.map((kn,$n)=>pt.createElement(Ne.default,{value:kn.exercise_group_id,className:"ml0 mr8",key:kn.exercise_group_id},kn.exercise_group_name,"(",kn.exercise_group_students,")"))))))),pt.createElement(de.default.Item,{name:"commit_status"},pt.createElement(Ne.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u63D0\u4EA4\u72B6\u6001:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((aa=Ca.commit_status)!=null&&aa.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},ht.map((kn,$n)=>pt.createElement(Ne.default,{name:"commit_status",value:kn.id,key:kn.id},kn.name,"(",sr==null?void 0:sr[kn.type],")")))))),pt.createElement(de.default.Item,{name:"review"},pt.createElement(Ne.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u8BC4\u9605\u72B6\u6001:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((Aa=Ca.review)!=null&&Aa.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},(_n=rt)==null?void 0:_n.map((kn,$n)=>pt.createElement(Ne.default,{value:kn.id,key:$n},kn.name,"(",sr==null?void 0:sr[kn.type],")")))))),(sr==null?void 0:sr.open_make_up)&&pt.createElement(de.default.Item,{name:"is_make_up"},pt.createElement(Ne.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u8865\u8003\u72B6\u6001:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((Wn=Ca.is_make_up)!=null&&Wn.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},$e.map((kn,$n)=>pt.createElement(Ne.default,{name:"is_make_up",value:kn.id},kn.name,"(",sr==null?void 0:sr[kn.type],")")))))),pt.createElement(re.Z,{align:"middle"},pt.createElement(ve.Z,{flex:"1"},pt.createElement(re.Z,{align:"middle"},pt.createElement(ve.Z,null,pt.createElement(Se.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:kn=>{Jt.search=kn==null?void 0:kn.trim(),Jt.page=1,ga(Ar({},Jt)),wr(Jt)},onChange:kn=>{Jt.search=kn.target.value},style:{width:240}})))),!(la!=null&&la.is_random)&&pt.createElement(ve.Z,{className:["tr",yn.rightFilter].join(" ")},(sr==null?void 0:sr.objective)===1&&(sr==null?void 0:sr.subjective)===1&&pt.createElement(pt.Fragment,null,"\u6309\u5BA2\u89C2\u9898\u5F97\u5206\u5206\u7EC4",pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_gte"},pt.createElement(Te.Z,{min:0,max:sr==null?void 0:sr.objective_score,placeholder:"\u6700\u4F4E"}))),pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_lte"},pt.createElement(Te.Z,{min:(Jt==null?void 0:Jt.objective_score_gte)||0,max:sr==null?void 0:sr.objective_score,placeholder:"\u6700\u9AD8"})))),["\u8003\u8BD5\u4E2D","\u5DF2\u622A\u6B62"].includes(ue.ju[la.exercise_status])&&pt.createElement(y.Z,{menu:{onClick:kn=>yr(void 0,[kn],function*({key:$n,domEvent:fo}){var Mu,us;if($n==="1"){let Ku=null;const uc=Fe.default.confirm({title:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605",icon:null,centered:!0,width:560,closable:!0,content:pt.createElement("div",{className:"flex flex-col gap-20px"},pt.createElement("div",null,"\u63D0\u793A\uFF1A\u8BE5\u64CD\u4F5C\u4F1A\u5C06\u6240\u6709\u5DF2\u4F5C\u7B54\u4E14\u672A\u8BC4\u9605\u5B66\u751F\u7684\u8BD5\u5377\u8BC4\u9605\u72B6\u6001\u4FEE\u6539\u4E3A\u201C\u5DF2\u8BC4\u9605\u201D\u3002"),pt.createElement("div",null,pt.createElement("div",null,"\u8003\u8BD5\u8BC4\u4EF7\uFF1A"),pt.createElement(Se.default.TextArea,{className:"mt10",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u8BC4\u4EF7\uFF0C\u8BC4\u9605\u4E4B\u540E\u652F\u6301\u5355\u72EC\u8FDB\u884C\u4FEE\u6539",rows:4,onChange:kc=>{Ku=kc.target.value}}))),onOk:()=>yr(void 0,null,function*(){(yield Uu({review_all:!0,exercise_id:pa==null?void 0:pa.categoryId,analysis:Ku})).status===0&&(oe.ZP.success("\u6279\u91CF\u5B8C\u6210\u8BC4\u9605"),wr(Jt))}),onCancel:()=>{uc.destroy()}})}if($n==="2"){if(fo.preventDefault(),(0,bt.Rm)()&&!((us=(Mu=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Mu.exercise)!=null&&us.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId),ui(),ye.history.push(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/reviews/group`)}$n==="3"&&(window.location.href=`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/detail?random=${la==null?void 0:la.is_random}&tabs=2`)}),items:[{key:"1",label:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605"},!(la!=null&&la.is_random)&&(sr==null?void 0:sr.subjective)===1&&Ut&&{key:"2",label:"\u7B80\u7B54\u9898\u6279\u91CF\u8BC4\u9605",disabled:!Gl||!Nu},!((0,bt.dE)()||la!=null&&la.is_random||(la==null?void 0:la.exercise_type)==2)&&{key:"3",label:pt.createElement("div",null,"\u7B80\u7B54\u9898\u667A\u80FD\u8BC4\u9605",pt.createElement("img",{src:cn,style:{margin:"0 0 4px 4px"}}))}].filter(kn=>kn)},className:"ml10"},pt.createElement("div",{className:`${yn.btn_review}`},pt.createElement("img",{src:Pa.Z,className:"mr5",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),(sr==null?void 0:sr.subjective)===1&&Ut&&pt.createElement(pt.Fragment,null,pt.createElement(Ce.ZP,{type:"default",disabled:!Gl},pt.createElement("a",{onClick:kn=>yr(void 0,null,function*(){var $n,fo;if(kn.preventDefault(),(0,bt.Rm)()&&!((fo=($n=Pe==null?void 0:Pe.AssistantObject)==null?void 0:$n.exercise)!=null&&fo.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId),ui(),ye.history.push(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${Gl}`)})},pt.createElement("span",{className:"iconfont icon-filesync3x"}),pt.createElement("span",null,"\u7EC4\u5185\u987A\u5E8F\u8BC4\u9605"))))),pt.createElement(ve.Z,null,(la==null?void 0:la.exercise_status)===3&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8D28\u91CF\u68C0\u6D4B",params:Jt}})}},pt.createElement("i",{className:"iconfont icon-a-08zhiliang-xianxing font14 pr5"}),"\u8D28\u91CF\u8BC4\u5206")),pt.createElement(ve.Z,null,(la==null?void 0:la.exercise_time)>0&&(la==null?void 0:la.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",disabled:la.exercise_status===3||la.exercise_status===5||(la==null?void 0:la.appraise_label),onClick:()=>{var kn,$n;if((0,bt.Rm)()&&!(($n=(kn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:kn.exercise)!=null&&$n.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Ui.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:Ui,user_ids:su,isBatch:!0,exercise_time:la.exercise_time,params:Ar({},Jt)}})}},"\u6279\u91CF\u5EF6\u65F6"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var kn,$n;if((0,bt.Rm)()&&!(($n=(kn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:kn.exercise)!=null&&$n.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Ui.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",exercise_user_id:Ui,user_ids:su,isBatch:!0}})}},"\u6279\u91CF\u8C03\u6574\u72B6\u6001"))))),eo===-3&&!(0,bt.dE)()&&pt.createElement(ze.Z,{customText:"\u4FEE\u6539\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u5224\u5206\u4E2D\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85...",styles:{margin:"0 auto",padding:100}}),eo!==-3&&pt.createElement(z.default,{className:"mt30",loading:Gi,hideOnSinglePage:!0,pagination:!1,dataSource:(0,bt.dE)()?sr!=null&&sr.score_open?yo==null?void 0:yo.exercise_users:[(yo==null?void 0:yo.current_answer_user)||{}]:yo==null?void 0:yo.exercise_users,columns:Ol,rowSelection:!(0,bt.dE)()&&{selectedRowKeys:Ui,onChange:(kn,$n)=>{mu(kn),jl(($n==null?void 0:$n.map(fo=>fo==null?void 0:fo.user_id))||[])},getCheckboxProps:kn=>({disabled:kn.commit_status===0})},rowKey:"exercise_user_id",scroll:{x:"max-content"},size:"middle",onChange:(kn,$n,fo)=>{Jt.page=1,fo.order===void 0?(Jt.order_type=null,Jt.order=null):(Jt.order_type=fo.order==="descend"?"desc":"asc",Jt.order=fo.field),ga(Ar({},Jt)),wr(Jt)}}),rr>20&&pt.createElement("aside",{className:"tc pb30 mt30"},pt.createElement(xe.Z,{onChange:oo,current:Jt.page||1,pageSize:Jt.limit,total:rr,showQuickJumper:!0,hideOnSinglePage:!0,showTotal:kn=>pt.createElement("span",{className:"mr10"},"\u5171",pt.createElement("span",{className:"c-orange"},kn),"\u6761\u6570\u636E")}))),pt.createElement(Fe.default,{open:xr,title:pt.createElement("span",null,"\u8003\u8BD5\u8BB0\u5F55\uFF08",Eo==null?void 0:Eo.name," ",Eo==null?void 0:Eo.id,"\uFF09"),centered:!0,width:1e3,footer:null,onCancel:()=>{ho(!1)}},((Ga=Eo==null?void 0:Eo.list)==null?void 0:Ga.length)===0?pt.createElement(ze.Z,{styles:{margin:"0 auto"},customText:"\u6682\u65E0\u6570\u636E"}):pt.createElement(z.default,{dataSource:Eo==null?void 0:Eo.list,columns:bi,pagination:!1})),pt.createElement(nn,null),pt.createElement(Kt,null),pt.createElement(kt,null),pt.createElement(Dn,null),sn&&pt.createElement(Fe.default,{title:"\u9632\u4F5C\u5F0A\u5934\u50CF",open:sn,centered:!0,onCancel:()=>{_a(1),tt(!1),or([]),va("alert"),ra("")},footer:pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",{style:{flex:1,textAlign:"left"}}," ",pt.createElement(Ce.ZP,{onClick:()=>yr(void 0,null,function*(){if(!ya){oe.ZP.info("\u8F93\u5165\u6846\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A");return}Da(!0);let kn=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/send_alert.json`,{method:"post",body:{content:ya,clazz:Za,exercise_user_id:xa}});(kn==null?void 0:kn.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),_a(1),tt(!1),or([]),va("alert"),ra("")),Da(!1)}),disabled:nr,loading:Va},"\u53D1\u9001")),pt.createElement(Ce.ZP,{disabled:(Sr==null?void 0:Sr.length)===0,style:{marginRight:"10px"},onClick:()=>yr(void 0,null,function*(){yield _a(ea-1===0?Sr==null?void 0:Sr.length:ea-1)})},"\u4E0A\u4E00\u5F20"),pt.createElement(Ce.ZP,{disabled:(Sr==null?void 0:Sr.length)===0,type:"primary",onClick:()=>yr(void 0,null,function*(){yield _a(ea===(Sr==null?void 0:Sr.length)?1:ea+1)})},"\u4E0B\u4E00\u5F20"))},pt.createElement("img",{style:{width:"234px !important",height:"132px",borderRadius:"5px"},src:Sr[ea-1]}),pt.createElement("span",{onClick:()=>{Ka.Z.publish("preview-image",Sr[ea-1])},style:{background:"#0152d9",color:"#fff",display:"inline-flex",width:"54px",height:"20px",borderRadius:"10px",justifyContent:"center",lineHeight:"20px",alignItems:"center",position:"absolute",top:"70px",left:"130px",zIndex:5,cursor:"pointer"}},"\u9884\u89C8"),pt.createElement("span",{style:{color:"#0152d9",marginTop:"16px",width:"234px",justifyContent:"center",display:"flex"}},ea+"/"+(Sr==null?void 0:Sr.length)),pt.createElement(be.ZP,{className:"mt20",checked:Za==="alert",onChange:()=>va("alert")},"\u53D1\u9001\u8B66\u544A",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(be.ZP,{className:"mt10",checked:Za==="notice",onChange:()=>va("notice")},"\u53D1\u9001\u901A\u77E5",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(Se.default.TextArea,{className:"mt20",value:ya,onChange:kn=>ra(kn.target.value),placeholder:`\u8BF7\u8F93\u5165${Za==="alert"?"\u8B66\u544A":"\u901A\u77E5"}\u5185\u5BB9${Za==="alert"?"\uFF0C\u5982\uFF1A\u626D\u5934\u4F4E\u5934\u5927\u5E45\u5EA6\u52A8\u4F5C\u68C0\u6D4B":""}`}),pt.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",za,"\u6B21\u8B66\u544A")),pt.createElement(Na.Z,null),pt.createElement(Hr,null),pt.createElement(ca,null))};var co=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie,classroomList:dt,user:Dt})=>({classroomList:dt,exercise:me,loading:pe.effects,globalSetting:ie,user:Dt}))(Er),Do=x(84105),uo=x(87395),Jr={flex_box_center:"flex_box_center___Hpswl",flex_space_between:"flex_space_between___ywvKM",flex_box_vertical_center:"flex_box_vertical_center___SItpZ",flex_box_center_end:"flex_box_center_end___WIAL3",flex_box_column:"flex_box_column___FMKJn",wrap:"wrap___AW_2A",control:"control___w5xQm",btn:"btn___as1xd",customTable:"customTable___gGVV3",bgH:"bgH___J0V1_",cusModal:"cusModal___2fPK2",imgWrap:"imgWrap___crzTi",img:"img___iwJRL",iBtn:"iBtn___L11V_",text:"text___INAg4",no:"no___H7kcX",textP:"textP___Rdbzv",video:"video___yjo5C",sys:"sys___o3w4h",li:"li___WQQil",d1:"d1___KQ9j6",b1:"b1___PA3Kc",es:"es___j13_3"},rl=x(73217),di=x(17030);const ni=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;var Al=(0,a.forwardRef)(({src:me,videoId:pe,logWatchHistory:ie,courseId:dt=null,startTime:Dt,handlePause:_e=()=>{},handlePlay:Ut=()=>{},handlePlayEnded:at=()=>{},videoSpeed:Oe=1},Pe)=>{var Pn;const Xn=((Pn=me==null?void 0:me.split("."))==null?void 0:Pn.pop())==="flv",an=(0,a.useRef)(),wn=(0,a.useRef)(),aa=(0,a.useRef)(0),Aa=(0,a.useRef)(0),[_n,Wn]=(0,a.useState)(0),Ga=navigator.userAgent.toLowerCase().match(ni),On=Ga?Ga[0]:"pc";(0,a.useImperativeHandle)(Pe,()=>({getLastUpdatedTime:()=>an.current.currentTime,getDuration:()=>an.current.duration})),(0,a.useEffect)(()=>{Aa.current=void 0;try{rl.Z.isSupported&&Xn&&me&&(me==null?void 0:me.indexOf(".m3u8"))<0?(Aa.current=rl.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:me+"?t="+Date.now(),muted:!1,isLive:!0}),Aa.current.on("play",function(){console.log(21111)}),an.current&&(Aa.current.detachMediaElement(an.current),Aa.current.attachMediaElement(an.current),Aa.current.load(),Aa.current.play())):an.current.setAttribute("src",me+"?t="+Date.now())}catch(Jt){setTimeout(()=>{Wn(_n+1)},1e3)}return console.log("src:",me),()=>{var Jt,ga,la,ka,Yt,Ca,ia,rr;Aa.current&&((ga=(Jt=Aa.current)==null?void 0:Jt.unload)==null||ga.call(Jt),(ka=(la=Aa.current)==null?void 0:la.pause)==null||ka.call(la),(Ca=(Yt=Aa.current)==null?void 0:Yt.destroy)==null||Ca.call(Yt),(rr=(ia=Aa.current)==null?void 0:ia.detachMediaElement)==null||rr.call(ia,an.current),Aa.current=void 0,an.current.src="")}},[an,Xn,me,_n]),(0,a.useEffect)(()=>(wn.current=setInterval(()=>{aa.current>0&&aa.current===an.current.currentTime&&(console.log("\u64AD\u653E\u4E00\u6B21"),Wn(_n+1)),aa.current=an.current.currentTime},3e3),()=>{clearInterval(wn.current)}),[]);const pa=Jt=>{setTimeout(()=>{Wn(_n+1)},1e3)};return a.createElement("video",{ref:an,onerr:!0,onErrorCapture:()=>{Wn(_n+1)},autoPlay:!0,muted:!0})}),xl=Object.defineProperty,kr=Object.getOwnPropertySymbols,Ml=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,Zl=(me,pe,ie)=>pe in me?xl(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ro=(me,pe)=>{for(var ie in pe||(pe={}))Ml.call(pe,ie)&&Zl(me,ie,pe[ie]);if(kr)for(var ie of kr(pe))Vl.call(pe,ie)&&Zl(me,ie,pe[ie]);return me},Bi=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const oi=({exercise:me,dispatch:pe,user:ie})=>{var dt;const Dt=(0,ye.useParams)(),[_e,Ut]=(0,a.useState)({page:1,limit:20,sort_by:null,sort_direction:null,state:null,audit:null,name:"",save_name:"",exercise_id:Dt==null?void 0:Dt.categoryId}),[at]=de.default.useForm(),[Oe,Pe]=(0,a.useState)(),[Pn,Zn]=(0,a.useState)(!1),{exerciseList:Xn,commonHeader:an}=me,[wn,aa]=(0,a.useState)([]),[Aa,_n]=(0,a.useState)([]),[Wn,Ga]=(0,a.useState)(0),[On,pa]=(0,a.useState)(!0),[Jt,ga]=(0,a.useState)(!1),la=(0,a.useRef)(null);(0,a.useEffect)(()=>{ka(_e)},[]),(0,a.useEffect)(()=>(clearInterval(la.current),(an==null?void 0:an.exercise_status)===2&&(la.current=setInterval(()=>{ka(_e)},3e4)),()=>{clearInterval(la.current)}),[an==null?void 0:an.exercise_status,_e]);const ka=za=>Bi(void 0,null,function*(){const ur=dr().cloneDeep(za);console.log(ur,"sendData"),pa(!0),aa([]);const Ha=yield(0,fe.ZP)(`/api/exercises/${za==null?void 0:za.exercise_id}/exercise_identity_photos.json`,{method:"get",params:ur});_n([]),pa(!1),Ga(Ha==null?void 0:Ha.count),aa((Ha==null?void 0:Ha.exercise_users)||[])}),Yt=(za,ur)=>{_e.page=1,_e[ur]=za,Ut(Ro({},_e)),ka(_e)},Ca=za=>{_e.page=1,_e.save_name=za,Ut(Ro({},_e))},ia=()=>{_e.page=1;const za=Object.assign({},at.getFieldsValue());Object.keys(za).map(function(ur){switch(ur){case"exercise_group_id":za[ur].includes("all")||!za[ur].length?(delete _e.course_group,at.setFieldsValue({exercise_group_id:"all"})):(_e.course_group=za[ur],at.setFieldsValue({exercise_group_id:_e.course_group}));break}}),Ut(Ro({},_e)),ka(_e)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Pe(47),Zn(!0))},[document.getElementById("divhe"),Xn]);const rr=(za,ur,Ha)=>{_e.page=za==null?void 0:za.current,_e.limit=za==null?void 0:za.pageSize,Ha!=null&&Ha.order?(_e.sort_by=Ha==null?void 0:Ha.field,_e.sort_direction=(Ha==null?void 0:Ha.order)==="ascend"?"asc":"desc"):(_e.sort_by=null,_e.sort_direction=null),Ut(Ro({},_e)),ka(_e)},ro=[{title:"\u5E8F\u53F7",dataIndex:"number",width:80,render:(za,ur,Ha)=>_e.limit*(_e.page-1)+Ha+1},{title:"\u59D3\u540D",dataIndex:"user_name",width:110,ellipsis:{showTitle:!1},render:za=>a.createElement(De.Z,{placement:"bottomLeft",title:za},a.createElement("span",null,za))},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,width:140,showSorterTooltip:!1,ellipsis:{showTitle:!1},render:za=>a.createElement(De.Z,{placement:"bottomLeft",title:za||"--"},a.createElement("span",null,za||"--"))},{title:"\u5206\u73ED",dataIndex:"user_group_name",ellipsis:{showTitle:!1},render:(za,ur)=>za?a.createElement(De.Z,{placement:"bottom",title:za},a.createElement("span",{className:Jr.es},za)):"--"},{title:"\u4EBA\u8138\u7167\u7247",dataIndex:"photo_url",width:90,ellipsis:{showTitle:!1},render:(za,ur)=>a.createElement("img",{width:40,style:{maxHeight:30},src:za,className:"current",onClick:()=>{Za(ur)}})},{title:"\u5BA1\u6838\u72B6\u6001",width:100,dataIndex:"exercise_identity_photo_state",ellipsis:{showTitle:!1},render:(za,ur)=>a.createElement(a.Fragment,null,za==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),za==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),za==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:180,ellipsis:{showTitle:!1},render:za=>a.createElement("span",null,za||"--")},{title:"\u5BA1\u6838\u7C7B\u578B",dataIndex:"audit_clazz",width:90,ellipsis:{showTitle:!1},render:za=>a.createElement("span",null,za||"--")},{title:"\u64CD\u4F5C",dataIndex:"action",width:180,ellipsis:{showTitle:!1},render:(za,ur)=>{var Ha;return a.createElement(a.Fragment,null,(ur==null?void 0:ur.exercise_identity_photo_state)==="submitted"?a.createElement("span",{className:"c-light-primary current",onClick:()=>ga(ur)},"\u5BA1\u6838"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u5BA1\u6838"),(ur==null?void 0:ur.exercise_identity_photo_state)!=="submitted"?a.createElement("span",{className:"c-light-primary current ml10 mr10",onClick:()=>sn(ur)},"\u5BA1\u6838\u8BB0\u5F55"):a.createElement("span",{className:"c-grey-999 ml10 mr10 cursorNotAllowed"},"\u5BA1\u6838\u8BB0\u5F55"),(ur==null?void 0:ur.exercise_identity_photo_state)==="passed"&&((Ha=ur==null?void 0:ur.play_url)!=null&&Ha.length)?a.createElement("span",{className:"c-light-primary current",onClick:()=>tt(ur)},"\u6444\u50CF\u76D1\u63A7"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u6444\u50CF\u76D1\u63A7"))}}],Lr=za=>{_n(za)},Ua=()=>{ga(!1),ka(_e)},sn=za=>{const ur=[{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:170,render:(Vr,Va)=>a.createElement("span",null,Vr||"--")},{title:"\u5BA1\u6838\u72B6\u6001",dataIndex:"exercise_identity_photo_state",width:110,render:(Vr,Va)=>a.createElement(a.Fragment,null,Vr==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),Vr==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),Vr==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u610F\u89C1",dataIndex:"comment",render:(Vr,Va)=>Vr?a.createElement(De.Z,{placement:"bottom",title:Vr},a.createElement("span",null,Vr)):"--"},{title:"\u91C7\u96C6\u7167\u7247",dataIndex:"photo_url",width:90,render:(Vr,Va)=>a.createElement("span",{className:"current c-light-primary",onClick:()=>{Ka.Z.publish("preview-image",Vr)}},"\u67E5\u770B")}],Ha=Fe.default.confirm({icon:null,width:700,className:`${Jr.cusModal} custom-modal-divider`,centered:!0,title:a.createElement(re.Z,null,a.createElement(ve.Z,{flex:"1"},"\u5BA1\u6838\u8BB0\u5F55"),a.createElement(ve.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Ha.destroy()}))),content:a.createElement("div",null,a.createElement(z.default,{className:Jr.customTable,dataSource:[Ro({},za)],bordered:!1,columns:ur,rowKey:"exercise_identity_photo_id",rowClassName:Jr.row,pagination:!1}))})},tt=za=>{var ur,Ha;const Vr=Fe.default.confirm({icon:null,className:`${Jr.cusModal} custom-modal-divider`,centered:!0,width:((ur=za==null?void 0:za.play_url)==null?void 0:ur.length)<6?724:744,title:a.createElement(re.Z,null,a.createElement(ve.Z,{flex:"1"},"\u89C6\u9891"),a.createElement(ve.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Vr.destroy()}))),content:a.createElement("ul",{className:Jr.sys},(Ha=za==null?void 0:za.play_url)==null?void 0:Ha.map((Va,Da)=>a.createElement("li",{className:Jr.li,key:Da},a.createElement("div",{className:Jr.d1},a.createElement("div",{className:Jr.img},a.createElement(Al,{src:Va==null?void 0:Va.replace(".m3u8",".flv"),autoPlay:!0})),a.createElement("div",{className:Jr.btn},a.createElement("div",{className:Jr.b1},"\u56DE\u653E\u89C6\u9891",Da+1))))))})},Za=za=>{const ur=Fe.default.confirm({icon:null,className:`${Jr.cusModal} custom-modal-divider`,centered:!0,width:710,title:a.createElement(re.Z,null,a.createElement(ve.Z,{flex:"1"},"\u4EBA\u8138\u7167\u7247"),a.createElement(ve.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>ur.destroy()}))),content:a.createElement(re.Z,null,a.createElement("aside",{className:Jr.imgWrap,style:{marginBottom:40}},a.createElement("div",{className:Jr.img},a.createElement("img",{width:326,src:(0,ue.Tv)(za==null?void 0:za.photo_url)}),a.createElement("div",{className:Jr.textP},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:Jr.img,style:{marginLeft:20}},za!=null&&za.identity_url?a.createElement("img",{width:326,src:(0,ue.Tv)(za==null?void 0:za.identity_url)}):a.createElement("div",{className:Jr.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),a.createElement("div",{className:Jr.textP},"\u8BC1\u4EF6\u7167\u7247"))))})},va={selectedRowKeys:Aa,columnWidth:40,onChange:Lr,getCheckboxProps:za=>({disabled:(za==null?void 0:za.exercise_identity_photo_state)==="passed"})};return a.createElement("section",{className:Jr.wrap},a.createElement(de.default,{form:at,onChange:ia,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Ne.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(ve.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(ve.Z,{flex:"80px"},a.createElement(Ne.default,{value:"all"},"\u5168\u90E8")),a.createElement(ve.Z,{flex:"1",id:"divhe",style:{height:Oe+"px",overflow:"hidden"}},(dt=Xn.course_groups)==null?void 0:dt.map((za,ur)=>a.createElement(Ne.default,{key:ur,value:za.exercise_group_id,className:"ml0 mr8"},za.exercise_group_name,"(",za.exercise_group_students,")"))),Pn&&a.createElement("span",{onClick:()=>{let za=document.getElementById("divhe").scrollHeight;Oe>47?Pe(47):Pe(za)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Oe===47?"\u5C55\u5F00":"\u6536\u8D77",Oe===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(uo.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:Jr.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:_e==null?void 0:_e.save_name,onChange:za=>Ca(za.target.value),onSearch:()=>{_e.page=1,_e.name=_e.save_name,Ut(Ro({},_e)),ka(_e)}}),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",value:_e==null?void 0:_e.state,onChange:za=>Yt(za,"state")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:"submitted"},"\u5F85\u5BA1\u6838"),a.createElement(dn.default.Option,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(dn.default.Option,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7")),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u7C7B\u578B",value:_e==null?void 0:_e.audit,onChange:za=>Yt(za,"audit")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:1},"\u81EA\u52A8\u5BA1\u6838"),a.createElement(dn.default.Option,{value:2},"\u4EBA\u5DE5\u5BA1\u6838")),a.createElement("span",{className:Jr.btn,style:{cursor:"pointer"},onClick:()=>{if(!Aa.length){oe.ZP.warning("\u8BF7\u9009\u62E9\u5B66\u751F");return}ga(!0)}},a.createElement("i",{className:"iconfont icon-piliangcaozuo font14 mr5"}),"\u6279\u91CF\u5BA1\u6838")),a.createElement("div",{className:Jr.bgH}),a.createElement(z.default,{rowSelection:va,className:Jr.customTable,dataSource:wn,bordered:!1,columns:ro,rowKey:"exercise_identity_photo_id",rowClassName:Jr.row,loading:On,onChange:rr,pagination:{pageSize:_e.limit,total:Wn,current:_e.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,position:["bottomCenter"],showTotal:za=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},za),"\u6761\u6570\u636E")}}),a.createElement(li,{selectIds:Aa,visible:Jt,onCancel:()=>ga(!1),onOk:Ua,params:_e}),a.createElement(Na.Z,null))};var ii=(0,ye.connect)(({exercise:me,user:pe})=>({exercise:me,user:pe}))(oi);const li=({visible:me,onOk:pe,onCancel:ie,selectIds:dt,params:Dt})=>{const[_e,Ut]=(0,a.useState)(!1),[at,Oe]=(0,a.useState)({}),[Pe]=de.default.useForm(),Pn=Zn=>Bi(void 0,null,function*(){Ut(!0);let Xn;me===!0?Xn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/batch_audit_identity_photo.json`,{method:"post",body:Ro({identity_photo_ids:dt},Zn)}):Xn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/audit_identity_photo.json`,{method:"post",body:Ro({identity_photo_id:me==null?void 0:me.exercise_identity_photo_id},Zn)}),(Xn==null?void 0:Xn.status)===0&&pe(),Ut(!1)});return a.createElement(Fe.default,{title:me!==!0?"\u4EBA\u8138\u8EAB\u4EFD\u5BA1\u6838":"\u6279\u91CF\u5BA1\u6838",open:!!me,centered:!0,width:650,destroyOnClose:!0,onCancel:()=>{ie()},afterClose:()=>{Pe.resetFields(),Oe({})},confirmLoading:_e,onOk:()=>Pe.submit()},a.createElement(de.default,{className:Jr.formWrap,form:Pe,labelCol:{span:4},wrapperCol:{span:18},onFinish:Pn,onValuesChange:()=>{Oe(Ro({},Pe.getFieldsValue()))}},me!==!0&&a.createElement(re.Z,{style:{marginLeft:28,marginBottom:38}},a.createElement(ve.Z,null,"\u91C7\u96C6\u7167\u7247\uFF1A"),a.createElement(ve.Z,null,a.createElement("aside",{className:Jr.imgWrap},a.createElement("div",{className:Jr.img},a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.photo_url)}),a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",me==null?void 0:me.photo_url)},className:Jr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:Jr.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:Jr.img,style:{marginLeft:20}},me!=null&&me.identity_url?a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.identity_url)}):a.createElement("div",{className:Jr.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(me!=null&&me.identity_url)&&a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",(0,ue.Tv)(me==null?void 0:me.identity_url))},className:Jr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:Jr.text},"\u8BC1\u4EF6\u7167\u7247"))))),a.createElement(de.default.Item,{label:"\u5BA1\u6838\u72B6\u6001",name:"state",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u72B6\u6001"}]},a.createElement(be.ZP.Group,null,a.createElement(be.ZP,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(be.ZP,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7"))),(at==null?void 0:at.state)==="rejected"&&a.createElement(de.default.Item,{label:"\u5BA1\u6838\u610F\u89C1",name:"comment",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u610F\u89C1"}]},a.createElement(Se.default,{placeholder:"\u5982\uFF1A\u4F60\u7684\u4E2A\u4EBA\u4FE1\u606F\u4E0E\u7167\u7247\u4E0D\u4E00\u81F4\u3002",maxLength:30})),a.createElement("div",{style:{color:"#FA6400",paddingLeft:32}},"\u6CE8\u610F\uFF1A\u5BA1\u6838\u901A\u8FC7\u540E\uFF0C\u8BE5\u5B66\u751F\u5728\u672C\u573A\u8003\u8BD5\u7684\u8BA4\u8BC1\u72B6\u6001\u5C06\u66F4\u65B0\u4E3A\u201C\u5BA1\u6838\u901A\u8FC7\u201D\uFF0C\u4E14\u80FD\u591F\u8FDB\u5165\u8003\u8BD5\u3002")))};var fi=x(61621),Rl=x(64165),qr={flex_box_center:"flex_box_center___t6Zg2",flex_space_between:"flex_space_between___YFTSU",flex_box_vertical_center:"flex_box_vertical_center___qbDmM",flex_box_center_end:"flex_box_center_end___Bj6kw",flex_box_column:"flex_box_column___Ou9DO",wrap:"wrap___foAmP",control:"control___q0ttm",bgH:"bgH___NAS04",sys:"sys___rqcXV",li:"li___blFPM",d1:"d1___Xzld0",img:"img___ckn7G",btn:"btn___fSMGG",b1:"b1___zoANu",b2:"b2___bqZaY",big:"big___nQ5gf",cusModal:"cusModal___rTXoc",video:"video___E4J_7",imgWrap:"imgWrap___ENwuy",iBtn:"iBtn___bXnJy",text:"text___CK5up",no:"no___MBT10",textP:"textP___ibKK1",l:"l___Gi38o",r:"r___HNibN",fo:"fo___DQwO8",b:"b___z8B9p"},Hl=Object.defineProperty,Nl=Object.defineProperties,$i=Object.getOwnPropertyDescriptors,Zi=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,fu=Object.prototype.propertyIsEnumerable,lu=(me,pe,ie)=>pe in me?Hl(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,yl=(me,pe)=>{for(var ie in pe||(pe={}))gu.call(pe,ie)&&lu(me,ie,pe[ie]);if(Zi)for(var ie of Zi(pe))fu.call(pe,ie)&&lu(me,ie,pe[ie]);return me},pi=(me,pe)=>Nl(me,$i(pe)),Eu=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const qu=({exercise:me,dispatch:pe,user:ie})=>{var dt,Dt,_e,Ut,at,Oe,Pe,Pn,Zn;const Xn=(0,ye.useParams)(),[an,wn]=(0,a.useState)({page:1,limit:10,name:"",save_name:"",exercise_id:Xn==null?void 0:Xn.categoryId}),[aa]=de.default.useForm(),[Aa,_n]=(0,a.useState)(),[Wn,Ga]=(0,a.useState)(!1),{exerciseList:On}=me,[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)(0),[ka,Yt]=(0,a.useState)(!0),[Ca,ia]=(0,a.useState)(!1),[rr,ro]=(0,a.useState)("1"),[Lr,Ua]=(0,a.useState)(1),[sn,tt]=(0,a.useState)("alert"),[Za,va]=(0,a.useState)(1),[za,ur]=(0,a.useState)(""),[Ha,Vr]=(0,a.useState)(!1),[Va,Da]=(0,a.useState)(!1),[Or,Sr]=(0,a.useState)([]);(0,a.useEffect)(()=>{or(an)},[]);const or=Zr=>Eu(void 0,null,function*(){const sr=dr().cloneDeep(Zr);Yt(!0),Jt([]);const io=yield(0,fe.ZP)(`/api/exercises/${Zr==null?void 0:Zr.exercise_id}/exercise_videos.json`,{method:"get",params:sr});Yt(!1),la(io==null?void 0:io.count),Jt((io==null?void 0:io.exercise_users)||[])}),ea=(Zr,sr)=>{an.page=Zr,an.limit=sr,wn(yl({},an)),or(an)},_a=Zr=>{an.page=1,an.save_name=Zr,wn(yl({},an))},ya=()=>{an.page=1;const Zr=Object.assign({},aa.getFieldsValue());Object.keys(Zr).map(function(sr){switch(sr){case"exercise_group_id":Zr[sr].includes("all")||!Zr[sr].length?(delete an.course_group,aa.setFieldsValue({exercise_group_id:"all"})):(an.course_group=Zr[sr],aa.setFieldsValue({exercise_group_id:an.course_group}));break}}),or(an)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(_n(47),Ga(!0))},[document.getElementById("divhe"),On]);const ra=Zr=>Eu(void 0,null,function*(){Vr(!0),ia({});const sr=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/student_info.json`,{method:"get",params:{exercise_user_id:Zr==null?void 0:Zr.exercise_user_id}}),io=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/video_push_logs.json`,{method:"get",params:{exercise_user_id:Zr==null?void 0:Zr.exercise_user_id}});io!=null&&io.data&&Sr((io==null?void 0:io.data)||[]),sr!=null&&sr.data&&ia(pi(yl({},sr==null?void 0:sr.data),{exercise_user_id:Zr==null?void 0:Zr.exercise_user_id,datas:Zr})),Vr(!1)}),xa=Zr=>{var sr,io;Ua(Zr==="prev"?Lr-1===0?(sr=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:sr.length:Lr-1:Lr===((io=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:io.length)?1:Lr+1)},qn=()=>{Ua(1),tt("alert"),ur(""),ro("1"),va(1)},nr=Zr=>{va(Zr)},vr=Zr=>{tt(Zr),va(1),ur("")},xr=[{key:1,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:2,value:"\u8BF7\u52FF\u79BB\u5F00\u76D1\u63A7\u8303\u56F4\uFF01"},{key:3,value:"\u8BF7\u4E0D\u8981\u4E0E\u5176\u4ED6\u4EBA\u4EA4\u8C08\uFF01"},{key:4,value:"\u8BF7\u4E0D\u8981\u505A\u4E0E\u8003\u8BD5\u65E0\u5173\u7684\u884C\u4E3A\uFF01"},{key:5,value:"\u8BF7\u52FF\u5207\u5C4F\uFF0C\u8D85\u8FC73\u6B21\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF01"},{key:6,value:"\u8BF7\u52FF\u906E\u6321\u6216\u5173\u95ED\u7535\u8111\u6444\u50CF\u76D1\u63A7\uFF01"},{key:0,value:"\u5176\u4ED6"}],ho=[{key:1,value:"\u8BF7\u5C06\u624B\u673A\u653E\u7F6E\u4E8E\u4FA7\u540E\u65B945\xB0\uFF0C\u79BB\u684C\u97621\u7C73\u5DE6\u53F3\uFF0C\u4FDD\u8BC1\u80FD\u62CD\u6444\u5230\u4E0A\u534A\u8EAB\u3001\u7535\u8111\u5C4F\u5E55\u548C\u684C\u9762\u3002"},{key:2,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:0,value:"\u5176\u4ED6"}],Eo=sn==="alert"?xr:ho;return a.createElement("section",{className:qr.wrap},a.createElement(de.default,{form:aa,onChange:ya,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Ne.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(ve.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(ve.Z,{flex:"80px"},a.createElement(Ne.default,{value:"all"},"\u5168\u90E8")),a.createElement(ve.Z,{flex:"1",id:"divhe",style:{height:Aa+"px",overflow:"hidden"}},(dt=On.course_groups)==null?void 0:dt.map((Zr,sr)=>a.createElement(Ne.default,{key:sr,value:Zr.exercise_group_id,className:"ml0 mr8"},Zr.exercise_group_name,"(",Zr.exercise_group_students,")"))),Wn&&a.createElement("span",{onClick:()=>{let Zr=document.getElementById("divhe").scrollHeight;Aa>47?_n(47):_n(Zr)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Aa===47?"\u5C55\u5F00":"\u6536\u8D77",Aa===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(uo.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:qr.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:an==null?void 0:an.save_name,onChange:Zr=>_a(Zr.target.value),onSearch:()=>{an.page=1,an.name=an.save_name,wn(yl({},an)),or(an)}})),a.createElement("div",{className:qr.bgH}),a.createElement("div",{className:qr.warpList},a.createElement(fi.Z,{loading:ka,active:!0,paragraph:{rows:5}},a.createElement("div",{className:"c-grey-666 mb20 mt20"},"\u5171",a.createElement("span",{className:"c-orange"},ga),"\u540D\u5B66\u751F\u5DF2\u5F00\u542F\u624B\u673A\u6444\u5F71"),pa.length?a.createElement("ul",{className:qr.sys},pa.map((Zr,sr)=>{const{user_name:io,user_group_name:yo,video_url:kl,login:Gi,student_id:Yi}=Zr;return a.createElement("li",{className:qr.li,key:sr},a.createElement("div",{className:qr.d1},a.createElement("div",{className:qr.img},a.createElement("iframe",{style:{height:340,width:"100%",border:"none"},src:`/live-play.html?key=${sr}&video_url=${kl==null?void 0:kl.replace(".m3u8",".flv")}`})),a.createElement(De.Z,{title:"\u59D3\u540D+\u5B66\u53F7"},a.createElement("div",{className:qr.btn,onClick:()=>(0,ue.RG)(`${an.exercise_id}-${Gi}`,!0)},a.createElement("div",{title:io,className:qr.b1},io),a.createElement("div",{title:yo,className:qr.b2},"(",Yi,")"))),a.createElement("div",{onClick:()=>ra(Zr),className:qr.big},"\u67E5\u770B")))})):a.createElement(Rl.Z,null)),a.createElement(xe.Z,{showTotal:Zr=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},Zr),"\u6761\u6570\u636E"),className:"tc",showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,onChange:ea,pageSize:an==null?void 0:an.limit,current:an.page,total:ga})),a.createElement(Fe.default,{title:"\u67E5\u770B\u8BE6\u7EC6\u4FE1\u606F",open:Ca,centered:!0,width:850,destroyOnClose:!0,onCancel:()=>{ia(!1)},afterClose:qn,footer:null},a.createElement(fi.Z,{loading:Ha,active:!0,paragraph:{rows:5}},a.createElement("div",null,a.createElement("span",null,"\u59D3\u540D:",(Dt=Ca==null?void 0:Ca.datas)==null?void 0:Dt.user_name),a.createElement("span",{className:"ml20"},"\u5B66\u53F7:",(_e=Ca==null?void 0:Ca.datas)==null?void 0:_e.student_id),a.createElement("span",{className:"ml20"},"\u73ED\u7EA7:",(Ut=Ca==null?void 0:Ca.datas)==null?void 0:Ut.user_group_name)),a.createElement(E.default,{className:"mt10",defaultActiveKey:rr,onChange:Zr=>{ro(Zr)}},a.createElement(E.default.TabPane,{tab:"\u9632\u4F5C\u5F0A\u5934\u50CF",key:"1"},a.createElement("aside",{className:qr.imgWrap},a.createElement("div",{className:qr.img,style:{width:234,marginLeft:30,textAlign:"center"}},(at=Ca==null?void 0:Ca.exercise_user_photos)!=null&&at.length?a.createElement(a.Fragment,null,a.createElement("img",{height:131,src:(Oe=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:Oe[Lr-1]}),a.createElement("div",{onClick:()=>{var Zr;Ka.Z.publish("preview-image",(Zr=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:Zr[Lr-1])},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u8003\u8BD5\u4E2D\u7167\u7247",a.createElement("span",{className:"c-light-primary"},Lr,"/",(Pe=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:Pe.length)),Lr===1?a.createElement("div",{style:{color:"#ccc",cursor:"not-allowed"},className:qr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})):a.createElement("div",{onClick:()=>xa("prev"),className:qr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})),a.createElement("div",{onClick:()=>xa("next"),className:qr.r},a.createElement("i",{className:"iconfont icon-lujing"}))):a.createElement("div",{className:qr.no},a.createElement("span",null,"\u6682\u65E0\u8003\u8BD5\u4E2D\u7167\u7247"))),a.createElement("div",{className:qr.img,style:{marginLeft:60,width:234,textAlign:"center"}},Ca!=null&&Ca.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(Ca==null?void 0:Ca.identity_url)}):a.createElement("div",{className:qr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(Ca!=null&&Ca.identity_url)&&a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",(0,ue.Tv)(Ca==null?void 0:Ca.identity_url))},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u4EBA\u8138\u7167\u7247",key:"2"},a.createElement("aside",{className:qr.imgWrap,style:{marginLeft:70}},a.createElement("div",{className:qr.img},a.createElement("img",{width:234,src:Ca==null?void 0:Ca.exercise_identity_photo}),a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",Ca==null?void 0:Ca.exercise_identity_photo)},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:qr.img,style:{marginLeft:20,width:234,textAlign:"center"}},Ca!=null&&Ca.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(Ca==null?void 0:Ca.identity_url)}):a.createElement("div",{className:qr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(Ca!=null&&Ca.identity_url)&&a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",(0,ue.Tv)(Ca==null?void 0:Ca.identity_url))},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u8B66\u544A\u548C\u901A\u77E5",key:"3"},a.createElement("div",{className:qr.fo},a.createElement(be.ZP,{className:"mt20",checked:sn==="alert",onChange:()=>vr("alert")},"\u53D1\u9001\u8B66\u544A",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement(be.ZP,{className:"mt10",checked:sn==="notice",onChange:()=>vr("notice")},"\u53D1\u9001\u901A\u77E5",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement("div",{className:"mt20"},a.createElement("span",{className:"mr10"},"\u539F\u56E0:"),a.createElement(dn.default,{style:{width:570},value:Za,onChange:nr},Eo==null?void 0:Eo.map(Zr=>a.createElement(dn.default.Option,{key:Zr.key,value:Zr.key},Zr.value)))),Za===0&&a.createElement(Se.default.TextArea,{className:"mt20",value:za,onChange:Zr=>ur(Zr.target.value),placeholder:"\u8BF7\u586B\u5199\u5176\u4ED6\u539F\u56E0"}),a.createElement(re.Z,{className:"mt10",align:"middle"},a.createElement("div",{className:"mr10"},"\u53D1\u9001\u8BB0\u5F55"),a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",Ca==null?void 0:Ca.alert_count,"\u6B21\u8B66\u544A\u548C",((Pn=Ca==null?void 0:Ca.alerts)==null?void 0:Pn.length)-(Ca==null?void 0:Ca.alert_count),"\u6B21\u901A\u77E5")),a.createElement(z.default,{dataSource:(Ca==null?void 0:Ca.alerts)||[],bordered:!1,scroll:((Zn=Ca==null?void 0:Ca.alerts)==null?void 0:Zn.length)>4?{y:200}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"created_at",width:164},{title:"\u53D1\u9001\u4EBA",dataIndex:"sender",width:100,ellipsis:{showTitle:!1},render:Zr=>Zr?a.createElement("span",{title:Zr},Zr):"--"},{title:"\u53D1\u9001\u7C7B\u578B",dataIndex:"clazz",width:80,render:Zr=>Zr==="alert"?"\u8B66\u544A":"\u901A\u77E5"},{title:"\u53D1\u9001\u5185\u5BB9",dataIndex:"content",ellipsis:!0}],pagination:!1}),a.createElement(Ce.ZP,{className:qr.b,onClick:()=>Eu(void 0,null,function*(){if(!za&&Za===0){oe.ZP.info("\u8BF7\u8F93\u5165\u5176\u4ED6\u539F\u56E0");return}let Zr=za;Za&&(Zr=(sn==="alert"?xr:ho).find(yo=>yo.key===Za).value),Da(!0);let sr=yield(0,fe.ZP)(`/api/exercises/${an.exercise_id}/send_alert.json`,{method:"post",body:{content:Zr,clazz:sn,exercise_user_id:Ca==null?void 0:Ca.exercise_user_id}});(sr==null?void 0:sr.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),ia(!1)),Da(!1)}),loading:Va,type:"primary"},a.createElement("i",{className:"iconfont icon-fasongtongzhi mr5"}),"\u53D1\u9001"))),a.createElement(E.default.TabPane,{tab:"\u65AD\u6D41\u8BB0\u5F55",key:"4"},a.createElement(z.default,{dataSource:Or,bordered:!1,scroll:Or.length>7?{y:300}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"start_time",width:164},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"end_time",width:164,render:Zr=>Qe()(Zr).format("YYYY-MM-DD HH:mm:ss")||"--"},{title:"\u63A8\u6D41\u65F6\u957F",dataIndex:"push_duration",ellipsis:!0,width:120,render:Zr=>Zr&&(0,ue.li)(Number(Zr)/1e3)||0},{title:"\u65AD\u6D41\u539F\u56E0",dataIndex:"msg",ellipsis:!0}]}))))),a.createElement(Na.Z,null))};var ts=(0,ye.connect)(({exercise:me,user:pe})=>({exercise:me,user:pe}))(qu),ju={flex_box_center:"flex_box_center___xF1ge",flex_space_between:"flex_space_between___YGq9c",flex_box_vertical_center:"flex_box_vertical_center___wd_iR",flex_box_center_end:"flex_box_center_end___HoL5p",flex_box_column:"flex_box_column___Oy7FC",warp:"warp____YDkr",header:"header___BRNBu",empty:"empty___iwhMt"},Lo={flex_box_center:"flex_box_center___Xa_jj",flex_space_between:"flex_space_between___N_2qI",flex_box_vertical_center:"flex_box_vertical_center___wGZOw",flex_box_center_end:"flex_box_center_end___GYY4W",flex_box_column:"flex_box_column___jR_ZX",subjectTable:"subjectTable___WrGqf",title:"title___ZCcfg",customTable:"customTable___xSvZm",row:"row___Acnda",line:"line___nmQeX"},Ur=Object.defineProperty,Qr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,hl=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,gi=(me,pe,ie)=>pe in me?Ur(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,eu=(me,pe)=>{for(var ie in pe||(pe={}))ql.call(pe,ie)&&gi(me,ie,pe[ie]);if(hl)for(var ie of hl(pe))mi.call(pe,ie)&&gi(me,ie,pe[ie]);return me},Ti=(me,pe)=>Qr(me,Wr(pe)),Zu=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())}),wl=({index:me,bottomLine:pe,gather:ie,search:dt})=>{const[Dt,_e]=(0,a.useState)([]),[Ut,at]=(0,a.useState)(!1),[Oe,Pe]=(0,a.useState)(!1),Pn=(0,ye.useParams)(),Zn=(0,ye.useLocation)(),[Xn]=(0,ye.useSearchParams)(),[an,wn]=(0,a.useState)({page:1,limit:6,total:0});(0,a.useEffect)(()=>{console.log(ie,"gather"),me===0&&Pe(!0)},[]),(0,a.useEffect)(()=>{Oe&&Aa()},[Oe]);const aa=[{title:"\u5E8F\u53F7",dataIndex:"index",key:"index",align:"left",ellipsis:!0,render:(Ga,On,pa)=>an.limit*(an.page-1)+pa+1},{title:"\u59D3\u540D",dataIndex:"username",key:"username",align:"left",ellipsis:!0},{title:"\u73ED\u7EA7",dataIndex:"user_group_name",key:"user_group_name",align:"left",render:Ga=>Ga||"--"},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",align:"left"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",key:"code_rate",align:"left",render:Ga=>Ga+"%"},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",align:"left",render:Ga=>{let On=`/classrooms/${Pn==null?void 0:Pn.coursesId}/exercise/${Pn==null?void 0:Pn.categoryId}/detail/${Ga}/review_detail`;return Xn.get("random")&&(On=On+`?random=${Xn.get("random")}`),a.createElement(ye.Link,{to:On,target:"_blank"},"\u67E5\u770B")}}],Aa=Ga=>Zu(void 0,null,function*(){at(!0);const On=Ga||{page:1,limit:10,total:0},pa=eu({id:Pn==null?void 0:Pn.categoryId,question_id:ie==null?void 0:ie.question_id,search:dt},On),Jt=yield(0,fe.ZP)(`/api/courses/${Pn==null?void 0:Pn.coursesId}/exercises/code_review_users.json`,{method:"get",params:pa});Jt&&(_e(Jt==null?void 0:Jt.users),at(!1),wn(Ti(eu({},On),{total:(Jt==null?void 0:Jt.count)||0})))}),_n=Ga=>{const On=Ti(eu({},an),{page:Ga});wn(On),Aa(On)},Wn=()=>{Pe(!Oe)};return a.createElement("div",{className:Lo.subjectTable},a.createElement("aside",{className:Lo.title},a.createElement("span",{className:"c-light-primary"},me+1,"\u3001",ie.name||((ie==null?void 0:ie.question_type)===5?"\u5B9E\u8BAD\u9898":"\u7F16\u7A0B\u9898")),a.createElement("span",{className:"c-grey-333"},"\uFF08",ie==null?void 0:ie.score,"\u5206\uFF09\uFF1A",ie==null?void 0:ie.question_title),a.createElement("span",{className:"ml40 c-grey-999"},a.createElement("b",{className:"c-red-ee4"},ie==null?void 0:ie.checked_count),"\xA0\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08\u5171",ie==null?void 0:ie.total_count,"\u4E2A\u4F5C\u54C1\uFF09"),a.createElement("span",{onClick:Wn,style:{marginLeft:"auto",cursor:"pointer",color:"#0152d9"}},Oe?"\u6536\u8D77":"\u5C55\u5F00",Oe?a.createElement(uo.Z,null):a.createElement(Do.Z,null)),(ie==null?void 0:ie.question_type)===5&&a.createElement("a",{style:{marginLeft:20},target:"_blank",href:`/shixuns/${ie==null?void 0:ie.shixun_identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5")),a.createElement(z.default,{className:Lo.customTable,style:{display:Oe?"block":"none"},dataSource:Dt,bordered:!1,rowKey:Ga=>Ga.id,rowClassName:Lo.row,columns:aa,loading:Ut,pagination:{pageSize:an.limit,total:an.total,current:an.page,onChange:_n,showQuickJumper:!0,showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomCenter"]}}),a.createElement("div",{className:Lo.line,style:{visibility:pe?"hidden":"visible"}}))},zl=x(59149),ml=x(59301),xo=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const si=({exercise:me,globalSetting:pe,dispatch:ie})=>{const[dt,Dt]=(0,a.useState)(""),[_e,Ut]=(0,a.useState)([]),[at,Oe]=(0,a.useState)(""),[Pe,Pn]=(0,a.useState)(!1),[Zn,Xn]=(0,a.useState)(!1),an=(0,ye.useParams)();(0,a.useEffect)(()=>{wn()},[]);const wn=_n=>xo(void 0,null,function*(){Pn(!0);const Wn=yield(0,fe.ZP)(`/api/courses/${an==null?void 0:an.coursesId}/exercises/code_review_results.json`,{method:"get",params:{id:an==null?void 0:an.categoryId,search:dt}});if((Wn==null?void 0:Wn.status)===-2){Xn(!0),wn();return}Wn&&(Xn(!1),Pn(!1),Ut((Wn==null?void 0:Wn.exercise_questions)||[]),Oe(Wn==null?void 0:Wn.last_review_time))}),aa=()=>{wn()},Aa=()=>ml.createElement("div",{className:ju.empty},ml.createElement("img",{src:zl.x7,width:"258"}),ml.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E"));return ml.createElement("section",{className:ju.warp},ml.createElement("aside",{className:ju.header},ml.createElement("div",null,"\u67E5\u91CD\u65F6\u95F4\uFF1A",at||"--"),!!at&&ml.createElement(Se.default,{value:dt,onChange:_n=>Dt(_n.target.value),suffix:ml.createElement("i",{onClick:aa,className:"iconfont icon-sousuo2 c-grey-c"}),bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onPressEnter:aa})),Zn&&ml.createElement(ze.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),!Zn&&ml.createElement(fi.Z,{loading:Pe,active:!0,paragraph:{rows:5}},_e.length>0?ml.createElement("aside",{className:ju.subject},_e.map((_n,Wn)=>ml.createElement(wl,{key:Wn,index:Wn,bottomLine:Wn===_e.length-1,gather:_n,search:dt}))):Aa()))};var Kn=(0,ye.connect)(({exercise:me,globalSetting:pe})=>({exercise:me,globalSetting:pe}))(si),Jn=x(28103),Ia=x(96565),Nr=x(97805),wo=x(20633),Ea={flex_box_center:"flex_box_center___epJYP",flex_space_between:"flex_space_between___SU6BD",flex_box_vertical_center:"flex_box_vertical_center___Qes2t",flex_box_center_end:"flex_box_center_end___hGppz",flex_box_column:"flex_box_column___uzhhO",wrap:"wrap___rEjJ0",modal:"modal___gRDV9",titleWrap:"titleWrap___MK_OO",required:"required___Hja3H",title:"title___vMFKz",colorGray:"colorGray___hNhIL",choiceWrap:"choiceWrap___Xx5du",answer:"answer___cbuNE",activeAnswer:"activeAnswer___LwFG7",deleteIcon:"deleteIcon____HG4s",addIcon:"addIcon___r_Vhy",editorWrap:"editorWrap___OYwur",htmlWrap:"htmlWrap___qXHYn",radio:"radio___urtyZ",color333:"color333___Lah7k",color999:"color999___TmkZt",questionType:"questionType___r_bKw",questionChoices:"questionChoices___LA7VM",action:"action___fTTDM",difficult:"difficult___Mg7lT",fold:"fold___oVjRI",head:"head___fpwmn",divname:"divname___O7KlL"},Ya=x(6339),Io=x(62985),_o=x(27687),Kr=x(59301),ul=Object.defineProperty,$r=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,cu=(me,pe,ie)=>pe in me?ul(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,ol=(me,pe)=>{for(var ie in pe||(pe={}))ei.call(pe,ie)&&cu(me,ie,pe[ie]);if($r)for(var ie of $r(pe))ki.call(pe,ie)&&cu(me,ie,pe[ie]);return me},Sl=(me,pe)=>{var ie={};for(var dt in me)ei.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&$r)for(var dt of $r(me))pe.indexOf(dt)<0&&ki.call(me,dt)&&(ie[dt]=me[dt]);return ie},vi=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const xi=null,wu="\u2581",Hi=(me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,editData:Oe,editKey:Pe,setEditKey:Pn=()=>{},cancelAdd:Zn=()=>{},addCallback:Xn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=ie,aa=Sl(ie,["problemset","globalSetting","exercise","loading","dispatch","editData","editKey","setEditKey","cancelAdd","addCallback","reload","setIsClaer"]);const[Aa,_n]=(0,a.useState)(""),[Wn,Ga]=(0,a.useState)(""),[On,pa]=(0,a.useState)([]),[Jt,ga]=(0,a.useState)(""),[la,ka]=(0,a.useState)(),[Yt,Ca]=(0,a.useState)(!1),[ia,rr]=(0,a.useState)(),[ro,Lr]=(0,a.useState)(0),[Ua,sn]=(0,a.useState)(!1),[tt,Za]=(0,a.useState)(!1),[va,za]=(0,a.useState)([]),[ur,Ha]=(0,a.useState)(1),[Vr,Va]=(0,a.useState)(!1),Da=(0,a.useRef)(!1),Or=(0,ye.useParams)(),[Sr,or]=(0,a.useState)([]),ea=io=>{or([...Sr,ol({},io)])};(0,a.useEffect)(()=>{var io;if(Da.current)return;if(!(Oe!=null&&Oe.question_title)){sn(!0),_n(""),ka(!1),rr(2),pa([]),ga(""),Ca(!1);return}_n(Oe==null?void 0:Oe.question_title),ka(Oe==null?void 0:Oe.is_ordered),Ha(Oe==null?void 0:Oe.difficulty),Va(!(Oe!=null&&Oe.repeat_answer)),rr(Oe==null?void 0:Oe.question_score);const yo=(io=Oe==null?void 0:Oe.standard_answers)==null?void 0:io.map(kl=>kl.answer_text);pa([...yo]),za(Oe.tag_discipline_ids),Ga(Oe==null?void 0:Oe.analysis)},[Oe,Ua]),(0,a.useEffect)(()=>{Ca(!1),Ua&&io();function io(){return vi(this,null,function*(){var yo,kl;const Gi=yield(0,ne.YY)({sub_discipline_id:(kl=(yo=_e.editData)==null?void 0:yo.exercise)==null?void 0:kl.sub_discipline_id});or(Gi.tag_disciplines)})}},[Ua]),(0,a.useImperativeHandle)(pe,()=>({onSave:ya,isEdit:Ua})),(0,a.useEffect)(()=>{var io;const yo=(io=_e==null?void 0:_e.tagDisciplineData)!=null&&io.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];or(yo)},[_e.tagDisciplineData]);const _a=io=>{(io==null?void 0:io.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),sn(!1),Pn(-1),Da.current=!1,an())},ya=()=>vi(void 0,null,function*(){var io,yo,kl,Gi;let Yi=[],Gl=!1;if(Za(!0),On.forEach((ku,Iu)=>{Yi.push({choice_id:Iu+1,answer_text:[]}),ku.forEach((eo,Kl)=>{Yi[Iu].answer_text.push(eo),(!eo||!(0,ue.eR)(eo,1e4))&&(ga(`${Iu}-${Kl}`),oe.ZP.info(eo?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),Gl=!0)})}),Gl)return Za(!1),!1;Da.current=!0;let _i;return Oe.question_id?(Oe==null?void 0:Oe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>vi(void 0,null,function*(){var ku,Iu;_i=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(Iu=(ku=_e.editData)==null?void 0:ku.exercise)==null?void 0:Iu.sub_discipline_id,difficulty:ur,is_cover:1,repeat_answer:!Vr,analysis:Wn}}),_a(_i)}),onCancel:()=>vi(void 0,null,function*(){var ku,Iu;_i=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(Iu=(ku=_e.editData)==null?void 0:ku.exercise)==null?void 0:Iu.sub_discipline_id,difficulty:ur,repeat_answer:!Vr,analysis:Wn}}),_a(_i)})}):(_i=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(yo=(io=_e.editData)==null?void 0:io.exercise)==null?void 0:yo.sub_discipline_id,difficulty:ur,repeat_answer:!Vr,analysis:Wn}}),_a(_i)):(_i=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:Or.categoryId,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(Gi=(kl=_e.editData)==null?void 0:kl.exercise)==null?void 0:Gi.sub_discipline_id,difficulty:ur,repeat_answer:!Vr,analysis:Wn}}),_a(_i)),Za(!1),{name:Aa,analysis:Wn,standard_answers:Yi,is_ordered:la}}),ra=(io,yo,kl)=>{const Gi=On.slice();if(yo&&Gi.splice(io,yo),kl&&Yt||!Oe.question_id)for(let Yi=0;Yi{ga("");let Gi=On.slice();Gi[io][yo]=kl,pa(Gi)},qn=io=>{let yo=On.slice();yo[io]=[...yo[io],""],pa(yo)},nr=(io,yo)=>{let kl=On.slice();if(!kl[io][yo]){kl[io]=kl[io].filter((Gi,Yi)=>Yi!==yo),pa(kl);return}Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Ea.modal,onOk:()=>{kl[io]=kl[io].filter((Gi,Yi)=>Yi!==yo),pa(kl)}})},vr=io=>{Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Ea.modal,onOk:()=>{let yo=0;_n(Aa.replace(/\▁/g,function(kl){return yo++,yo-1===io?"":kl})),setTimeout(()=>{let kl=On.slice();kl=On.filter((Gi,Yi)=>io!==Yi),pa(kl)},500)}})},xr=()=>{},ho=()=>{var io,yo,kl,Gi,Yi,Gl;return console.log(On,"answers"),Kr.createElement("aside",null,Kr.createElement("div",{className:Ea.questionType},Kr.createElement("div",null,Kr.createElement("span",{className:"font16 c-blue"},"\u586B\u7A7A\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848 \uFF1B\u652F\u6301\u6700\u591A5\u4E2A\u7A7A\uFF0C\u6BCF\u7A7A\u5F97\u5206\u6309\u7167\u672C\u9898\u7684\u603B\u5206\u5E73\u5747\u8BA1\u7B97\uFF09")),Kr.createElement("div",null,Kr.createElement(Nr.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:Aa,onChange:_i=>_n(_i),showNullButton:((yo=(io=_e.editData)==null?void 0:io.exercise)==null?void 0:yo.exercise_status)===1,deleteEmptyDisabled:((Gi=(kl=_e.editData)==null?void 0:kl.exercise)==null?void 0:Gi.exercise_status)!==1||tt,onPlaceholderChange:ra})),Kr.createElement("div",{className:"mt20"},On.map((_i,ku)=>{var Iu,eo;return Kr.createElement(wo.Z,{key:ku,answers:_i,index:ku,is_md:!0,exerciseIsPublish:((eo=(Iu=_e.editData)==null?void 0:Iu.exercise)==null?void 0:eo.exercise_status)!==1,activeOptionErrorIndex:Jt,onAnswerChange:xa,addChildAnswer:qn,deleteChildAnswer:nr,deleteChildAnswermain:vr})})),Kr.createElement("div",{className:"mt20"},On.length>1&&Kr.createElement("span",null,Kr.createElement(Ne.default,{checked:la,onChange:_i=>ka(_i.target.checked),className:`${Ea.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Kr.createElement("span",{className:`${Ea.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),Kr.createElement("p",{className:Ea.titleWrap},Kr.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Kr.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Wn,onChange:_i=>Ga(_i)}),Kr.createElement("p",{className:""},Kr.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C\uFF1A",Kr.createElement(Te.Z,{value:ia,max:1e4,min:0,onChange:_i=>{rr(_i)}})," \u5206 \xA0 ",!!ia&&!!ro&&Kr.createElement("span",{style:{color:"red"}},"(\u6839\u636E\u5747\u5206\u89C4\u5219\uFF0C\u672C\u9898\u6BCF\u7A7A",(ia/ro).toFixed(1),"\u5206)"),Kr.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},Kr.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",Kr.createElement(be.ZP.Group,{value:ur,onChange:_i=>{Ha(_i.target.value)}},Kr.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),Kr.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),Kr.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),Kr.createElement("p",{className:Ea.titleWrap},Kr.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",Kr.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),Kr.createElement("div",{className:"mt5"},Kr.createElement(Io.N,{value:va,selectvalues:Oe==null?void 0:Oe.tag_discipline_ids,onChange:za,subId:(Gl=(Yi=_e.editData)==null?void 0:Yi.exercise)==null?void 0:Gl.sub_discipline_id,knowledgeOptions:Sr,onAddKnowledgeFinish:ea})),Kr.createElement("div",{style:{marginTop:10}},Kr.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),Kr.createElement(Ae.Z,{checked:Vr,onChange:_i=>{Va(_i)}}))),Kr.createElement("aside",{className:"tr"},(Pe!==-1||Oe.question_id)&&Kr.createElement(Ce.ZP,{type:"default",onClick:()=>{Zn(),sn(!1)}},"\u53D6\u6D88"),Kr.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{ya()}},"\u4FDD\u5B58")))},Eo=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(io=>{var yo,kl;return((kl=(yo=_e==null?void 0:_e.editData)==null?void 0:yo.exercise)==null?void 0:kl.exercise_status)===1?io:io.id!=="del"&&io.id!=="add"}),Zr=io=>vi(void 0,null,function*(){if(Pe!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(io.id){case"del":let yo;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return vi(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:ol({},Or)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:io.id}}),at({type:"exercise/editExercise",payload:ol({},Or)});break;case"edit":Pn(Oe.dragKey),sn(!0);break;case"add":Xn({key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:3});break}}),sr=()=>{var io;return Kr.createElement("aside",null,Kr.createElement("div",{className:Ea.questionType},!(Oe!=null&&Oe.isPreview)&&Kr.createElement("div",null,Kr.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u586B\u7A7A\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?Kr.createElement("div",{style:{display:"flex"}},Kr.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),Kr.createElement(Ya.Z,{value:Oe.question_title}),Kr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09")):Kr.createElement("div",{className:"mt5"},Kr.createElement(Ya.Z,{value:Oe.question_title})),Kr.createElement("div",{className:Ea.questionChoices},(io=Oe==null?void 0:Oe.standard_answers)==null?void 0:io.map(function(yo,kl){return Kr.createElement(re.Z,{key:kl,align:"middle"},Kr.createElement(ve.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",yo.choice_id,"\uFF09\uFF1A"),Kr.createElement(ve.Z,{flex:"1"},Kr.createElement(re.Z,{align:"middle",gutter:[1,1]},yo.answer_text.map(function(Gi,Yi){return Kr.createElement(ve.Z,{span:24,key:Yi},yo.model===1?Kr.createElement(Se.default,{key:kl,checked:Oe.standard_answers.includes(kl),disabled:!0,value:Gi}):Kr.createElement(_o.Z,{value:Gi,disabled:!0,style:{color:"rgba(0, 0, 0, 0.25)",backgroundColor:"rgba(0, 0, 0, 0.04)"}}))}))))})),Kr.createElement("div",{className:Ea.action},!Oe.hideAction&&Eo.map(function(yo,kl){return yo.id==="up"&&Oe.key===1||yo.id==="down"&&Oe.key===Oe.len?null:Kr.createElement(De.Z,{key:kl,placement:"bottom",title:yo.name},Kr.createElement("span",{onClick:()=>Zr(yo),className:yo.icon}))})))};return Kr.createElement("section",{className:Ea.wrap},!Ua&&sr(),Ua&&ho())};var ls=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Hi)),Qs=Object.defineProperty,vs=Object.getOwnPropertySymbols,Ms=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,$s=(me,pe,ie)=>pe in me?Qs(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,fs=(me,pe)=>{for(var ie in pe||(pe={}))Ms.call(pe,ie)&&$s(me,ie,pe[ie]);if(vs)for(var ie of vs(pe))hs.call(pe,ie)&&$s(me,ie,pe[ie]);return me},Os=(me,pe)=>{var ie={};for(var dt in me)Ms.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&vs)for(var dt of vs(me))pe.indexOf(dt)<0&&hs.call(me,dt)&&(ie[dt]=me[dt]);return ie},Ss=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Ys=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ss=(me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,editKey:Pn,setEditKey:Zn=()=>{},cancelAdd:Xn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=ie,Aa=Os(ie,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","editKey","setEditKey","cancelAdd","reload","addCallback","setIsClaer"]);const[_n,Wn]=(0,a.useState)(),[Ga,On]=(0,a.useState)(""),[pa,Jt]=(0,a.useState)(!1),[ga,la]=(0,a.useState)(),[ka,Yt]=(0,a.useState)([]),[Ca,ia]=(0,a.useState)([]),[rr,ro]=(0,a.useState)(1),[Lr,Ua]=(0,a.useState)(!1),[sn,tt]=(0,a.useState)(""),Za=(0,a.useRef)(!1),va=Sr=>{ia([...Ca,fs({},Sr)])},za=(0,ye.useParams)();(0,a.useEffect)(()=>{if(!Za.current){if(!(Pe!=null&&Pe.question_choices)){Jt(!0),On(""),la(2),Wn("");return}Ua(!(Pe!=null&&Pe.repeat_answer)),On(Pe==null?void 0:Pe.question_title),la(Pe==null?void 0:Pe.question_score),ro(Pe==null?void 0:Pe.difficulty),Wn(Pe.standard_answer[0]+""),Yt(Pe.tag_discipline_ids),tt(Pe==null?void 0:Pe.analysis)}},[Pe,pa]),(0,a.useEffect)(()=>{pa&&Sr();function Sr(){return Ss(this,null,function*(){var or,ea;const _a=yield(0,ne.YY)({sub_discipline_id:(ea=(or=_e.editData)==null?void 0:or.exercise)==null?void 0:ea.sub_discipline_id});ia(_a.tag_disciplines)})}},[pa]),(0,a.useImperativeHandle)(pe,()=>({onSave:Ha,isEdit:pa})),(0,a.useEffect)(()=>{var Sr;const or=(Sr=_e==null?void 0:_e.tagDisciplineData)!=null&&Sr.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];ia(or)},[_e.tagDisciplineData]);const ur=Sr=>{(Sr==null?void 0:Sr.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Jt(!1),Zn(-1),Za.current=!1,an())},Ha=()=>Ss(void 0,null,function*(){var Sr,or,ea,_a;if(!Ga)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(!_n)return oe.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1;const ya=[{choice_text:"\u6B63\u786E",is_answer:_n==="1"?1:0},{choice_text:"\u9519\u8BEF",is_answer:_n==="2"?2:0}];Za.current=!0;let ra;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Ss(void 0,null,function*(){var xa,qn;ra=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(nr=>nr.choice_text),standard_answers:ya.filter(nr=>nr.is_answer).map(nr=>nr.is_answer),tag_discipline_ids:ka,sub_discipline_id:(qn=(xa=_e.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id,difficulty:rr,is_cover:1,repeat_answer:!Lr,analysis:sn}}),ur(ra)}),onCancel:()=>Ss(void 0,null,function*(){var xa,qn;ra=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(nr=>nr.choice_text),standard_answers:ya.filter(nr=>nr.is_answer).map(nr=>nr.is_answer),tag_discipline_ids:ka,sub_discipline_id:(qn=(xa=_e.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:sn}}),ur(ra)})}):(ra=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(xa=>xa.choice_text),standard_answers:ya.filter(xa=>xa.is_answer).map(xa=>xa.is_answer),tag_discipline_ids:ka,sub_discipline_id:(or=(Sr=_e.editData)==null?void 0:Sr.exercise)==null?void 0:or.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:sn}}),ur(ra)):(ra=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:za.categoryId,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(xa=>xa.choice_text),standard_answers:ya.filter(xa=>xa.is_answer).map(xa=>xa.is_answer),tag_discipline_ids:ka,sub_discipline_id:(_a=(ea=_e.editData)==null?void 0:ea.exercise)==null?void 0:_a.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:sn}}),ur(ra)),{name:Ga,choices:ya}}),Vr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(Sr=>{var or,ea;return((ea=(or=_e==null?void 0:_e.editData)==null?void 0:or.exercise)==null?void 0:ea.exercise_status)===1?Sr:Sr.id!=="del"&&Sr.id!=="add"}),Va=Sr=>Ss(void 0,null,function*(){if(Pn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(Sr.id){case"del":let or;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Ss(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:fs({},za)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:Sr.id}}),at({type:"exercise/editExercise",payload:fs({},za)});break;case"edit":Zn(Pe.dragKey),Jt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:2});break}}),Da=()=>{var Sr;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5224\u65AD\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},(Sr=Pe==null?void 0:Pe.question_choices)==null?void 0:Sr.map(function(or,ea){return a.createElement(be.ZP,{key:ea,checked:Pe.standard_answer.includes(ea+1),disabled:!0},Ys[ea],". ",a.createElement("span",{className:"c-black font14"},or.choice_text))})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&Vr.map(function(or,ea){return or.id==="up"&&Pe.key===1||or.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:ea,placement:"bottom",title:or.name},a.createElement("span",{onClick:()=>Va(or),className:or.icon}))})))},Or=()=>{var Sr,or;return a.createElement("aside",null,a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u5224\u65AD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Ga,onChange:ea=>On(ea)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),a.createElement(be.ZP.Group,{buttonStyle:"solid",value:_n,onChange:ea=>Wn(ea.target.value)},a.createElement(be.ZP.Button,{value:"1",className:`${Ea.radio} mr40`},"\u6B63\u786E"),a.createElement(be.ZP.Button,{value:"2",className:Ea.radio},"\u9519\u8BEF")),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:sn,onChange:ea=>tt(ea)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ga,max:1e4,min:0,onChange:ea=>{la(ea)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:rr,onChange:ea=>{ro(ea.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{value:ka,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:Yt,subId:(or=(Sr=_e.editData)==null?void 0:Sr.exercise)==null?void 0:or.sub_discipline_id,knowledgeOptions:Ca,onAddKnowledgeFinish:va})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Lr,onChange:ea=>{Ua(ea)}}))),a.createElement("aside",{className:"tr"},(Pn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Xn(),Jt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Ha()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:Ea.wrap},!pa&&Da(),pa&&Or())};var Bu=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(ss)),Ts=Object.defineProperty,Ws=Object.getOwnPropertySymbols,Es=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,Gs=(me,pe,ie)=>pe in me?Ts(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,xs=(me,pe)=>{for(var ie in pe||(pe={}))Es.call(pe,ie)&&Gs(me,ie,pe[ie]);if(Ws)for(var ie of Ws(pe))cs.call(pe,ie)&&Gs(me,ie,pe[ie]);return me},qc=(me,pe)=>{var ie={};for(var dt in me)Es.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Ws)for(var dt of Ws(me))pe.indexOf(dt)<0&&cs.call(me,dt)&&(ie[dt]=me[dt]);return ie},ns=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ec=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],tc=(0,a.forwardRef)((me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},setIsClaer:an=()=>{},addCallback:wn=ya=>{},reload:aa=()=>{}}=ie,Aa=qc(ie,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload"]);const[_n,Wn]=(0,a.useState)([]),[Ga,On]=(0,a.useState)(),[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)(""),[ka,Yt]=(0,a.useState)(),[Ca,ia]=(0,a.useState)(!1),[rr,ro]=(0,a.useState)([]),[Lr,Ua]=(0,a.useState)(1),[sn,tt]=(0,a.useState)(!1),[Za,va]=(0,a.useState)(""),[za,ur]=(0,a.useState)([]),Ha=(0,a.useRef)(!1),Vr=ya=>{ur([...za,xs({},ya)])},Va=(0,ye.useParams)();(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Ha.current)return;if(!(Pe!=null&&Pe.question_choices)){ia(!0),la(""),Yt(5),Wn(["","","",""]),Jt([]);return}la(Pe==null?void 0:Pe.question_title),Yt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),Ua(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(ra=>ra.choice_text));const ya=[];Pe==null||Pe.standard_answer.map((ra,xa)=>{ya.push(ra-1)}),Jt(ya),ro(Pe.tag_discipline_ids),va(Pe==null?void 0:Pe.analysis)},[Pe,Ca]),(0,a.useEffect)(()=>{Ca&&ya();function ya(){return ns(this,null,function*(){var ra,xa;const qn=yield(0,ne.YY)({sub_discipline_id:(xa=(ra=_e.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id});ur(qn.tag_disciplines)})}},[Ca]),(0,a.useImperativeHandle)(pe,()=>({onSave:Or,isEdit:Ca})),(0,a.useEffect)(()=>{var ya;const ra=(ya=_e==null?void 0:_e.tagDisciplineData)!=null&&ya.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];ur(ra)},[_e.tagDisciplineData]);const Da=ya=>{(ya==null?void 0:ya.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ia(!1),Xn(-1),Ha.current=!1,aa())},Or=()=>ns(void 0,null,function*(){var ya,ra,xa,qn;if(!ga)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const nr=_n.findIndex(ho=>!ho);if(nr>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${ec[nr]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!pa.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(pa.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const vr=_n.map((ho,Eo)=>({choice_text:ho,is_answer:pa.includes(Eo)?Eo+1:0}));Ha.current=!0;let xr;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>ns(void 0,null,function*(){var ho,Eo;xr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(Zr=>Zr.choice_text),standard_answers:vr.filter(Zr=>Zr.is_answer).map(Zr=>Zr.is_answer),tag_discipline_ids:rr,sub_discipline_id:(Eo=(ho=_e.editData)==null?void 0:ho.exercise)==null?void 0:Eo.sub_discipline_id,difficulty:Lr,is_cover:1,repeat_answer:!sn,analysis:Za}}),Da(xr)}),onCancel:()=>ns(void 0,null,function*(){var ho,Eo;xr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(Zr=>Zr.choice_text),standard_answers:vr.filter(Zr=>Zr.is_answer).map(Zr=>Zr.is_answer),tag_discipline_ids:rr,sub_discipline_id:(Eo=(ho=_e.editData)==null?void 0:ho.exercise)==null?void 0:Eo.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Da(xr)})}):(xr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(ho=>ho.choice_text),standard_answers:vr.filter(ho=>ho.is_answer).map(ho=>ho.is_answer),tag_discipline_ids:rr,sub_discipline_id:(ra=(ya=_e.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Da(xr)):(xr=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:Va.categoryId,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(ho=>ho.choice_text),standard_answers:vr.filter(ho=>ho.is_answer).map(ho=>ho.is_answer),tag_discipline_ids:rr,sub_discipline_id:(qn=(xa=_e.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Da(xr))}),Sr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ya=>{var ra,xa;return((xa=(ra=_e==null?void 0:_e.editData)==null?void 0:ra.exercise)==null?void 0:xa.exercise_status)===1?ya:ya.id!=="del"&&ya.id!=="add"}),or=ya=>ns(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ya.id){case"del":let ra;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return ns(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:xs({},Va)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ya.id}}),at({type:"exercise/editExercise",payload:xs({},Va)});break;case"edit":Xn(Pe.dragKey),ia(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:1});break}}),ea=()=>{var ya;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u591A\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},(ya=Pe==null?void 0:Pe.question_choices)==null?void 0:ya.map(function(ra,xa){return a.createElement(re.Z,{key:xa},a.createElement(ve.Z,null,a.createElement(Ne.default,{key:xa,checked:Pe.standard_answer.includes(xa+1),disabled:!0},ec[xa],".")),a.createElement(ve.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(Ya.Z,{value:ra.choice_text}))))})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&Sr.map(function(ra,xa){return ra.id==="up"&&Pe.key===1||ra.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:xa,placement:"bottom",title:ra.name},a.createElement("span",{onClick:()=>or(ra),className:ra.icon}))})))},_a=()=>{var ya,ra;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ga,onChange:xa=>la(xa)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),_n.map((xa,qn)=>{var nr,vr;return a.createElement("div",{className:Ea.choiceWrap,key:qn},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${Ea.answer} ${pa.includes(qn)?Ea.activeAnswer:""}`,onClick:()=>{pa.includes(qn)?Jt(pa.filter(xr=>xr!==qn)):Jt([...pa,qn])}},ec[qn])),a.createElement("div",{className:Ea.editorWrap},Ga===qn?a.createElement(Ia.Z,{id:`single-question-option-${qn}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:xa,onChange:xr=>{_n[qn]=xr,Wn(_n)}}):a.createElement("div",{className:Ea.htmlWrap,onClick:()=>On(qn)},a.createElement(Ya.Z,{value:xa}))),((vr=(nr=_e.editData)==null?void 0:nr.exercise)==null?void 0:vr.exercise_status)===1&&a.createElement(a.Fragment,null,qn>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${Ea.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn(_n.filter((xr,ho)=>ho!==qn))})),qn<7&&qn===_n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${Ea.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([..._n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Za,onChange:xa=>va(xa)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ka,max:1e4,min:0,onChange:xa=>{Yt(xa)}})," ","\u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Lr,onChange:xa=>{Ua(xa.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{value:rr,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:ro,subId:(ra=(ya=_e.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,knowledgeOptions:za,onAddKnowledgeFinish:Vr})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:sn,onChange:xa=>{tt(xa)}}))),a.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),ia(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Or()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:Ea.wrap},!Ca&&ea(),Ca&&_a())});var xc=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})(tc),ai=x(59301),wc=Object.defineProperty,ps=Object.getOwnPropertySymbols,ws=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,_c=(me,pe,ie)=>pe in me?wc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,sc=(me,pe)=>{for(var ie in pe||(pe={}))ws.call(pe,ie)&&_c(me,ie,pe[ie]);if(ps)for(var ie of ps(pe))_u.call(pe,ie)&&_c(me,ie,pe[ie]);return me},jt=(me,pe)=>{var ie={};for(var dt in me)ws.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&ps)for(var dt of ps(me))pe.indexOf(dt)<0&&_u.call(me,dt)&&(ie[dt]=me[dt]);return ie},rn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Bn=null,Fa=(me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,editData:Oe,cancelAdd:Pe=()=>{},editKey:Pn,setEditKey:Zn=()=>{},addCallback:Xn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=ie,aa=jt(ie,["problemset","globalSetting","exercise","loading","dispatch","editData","cancelAdd","editKey","setEditKey","addCallback","reload","setIsClaer"]);const[Aa,_n]=(0,a.useState)(""),[Wn,Ga]=(0,a.useState)(""),[On,pa]=(0,a.useState)(""),[Jt,ga]=(0,a.useState)([]),[la,ka]=(0,a.useState)(""),[Yt,Ca]=(0,a.useState)(),[ia,rr]=(0,a.useState)(!1),[ro,Lr]=(0,a.useState)([]),[Ua,sn]=(0,a.useState)(!1),[tt,Za]=(0,a.useState)(!1),va=(0,ye.useParams)(),za=(0,a.useRef)(!1),[ur,Ha]=(0,a.useState)([]);(0,a.useEffect)(()=>{var ea;if(za.current)return;Oe.edit&&(sn(!0),Ga(""),_n(""),Lr([])),_n(Oe.shixun_name),Ga(Oe.question_title);const _a=[];(ea=Oe.shixun)==null||ea.map(ya=>{_a.push(ya.challenge_score),ur.push({challenge_id:ya.challenge_id,open:!0})}),Ha(ur),Lr(_a)},[Oe]),(0,a.useEffect)(()=>{rr(!1)},[Ua]),(0,a.useImperativeHandle)(pe,()=>({onSave:Va,isEdit:Ua}));const Vr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),sn(!1),Zn(-1),za.current=!1,an())},Va=()=>rn(void 0,null,function*(){let ea=[];if(!1)return!1;za.current=!0,Za(!0);let ya;return Oe.question_id?ya=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Wn,shixun_name:Aa,shixun_id:Oe.shixun_id,question_type:5,question_scores:ro}}):ya=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:va.categoryId,question_title:Wn,shixun_name:Aa,shixun_id:Oe.shixun_id,question_type:5,question_scores:ro,is_copy:Oe.is_copy}}),Vr(ya),Za(!1),{name:Wn,analysis:On,standard_answers:ea,is_ordered:Yt}}),Da=()=>{var ea;return ai.createElement("aside",null,ai.createElement("div",{className:Ea.questionType},ai.createElement("div",null,ai.createElement("span",{className:"font16 c-blue"},"\u5B9E\u8BAD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF09")),ai.createElement("div",{className:"mt10"},ai.createElement(Se.default,{defaultValue:Aa,onChange:_a=>{_n(_a.target.value)}})),ai.createElement("div",{className:"mt10"},ai.createElement(Ia.Z,{id:"single-question-option-0",height:155,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u9898\u5B8C\u6210\u8981\u6C42",defaultValue:Wn,onChange:_a=>{Ga(_a)}})),ai.createElement("div",{className:"mt20"},(ea=Oe.shixun)==null?void 0:ea.map((_a,ya)=>ai.createElement(re.Z,{gutter:[20,20]},ai.createElement(ve.Z,{flex:"1"},ya+1,".",_a.challenge_name),ai.createElement(ve.Z,null,ai.createElement(Te.Z,{defaultValue:ro[ya],onChange:ra=>{ro[ya]=ra,Lr(ro),console.log("srore:L",ro[ya])}})," \u5206")))),ai.createElement("div",{className:"mt20"},Jt.length>1&&ai.createElement("span",null,ai.createElement(Ne.default,{checked:Yt,onChange:_a=>Ca(_a.target.checked),className:`${Ea.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),ai.createElement("span",{className:`${Ea.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),ai.createElement("aside",{className:"tr"},(Pn!==-1||!(Oe!=null&&Oe.edit))&&ai.createElement(Ce.ZP,{type:"default",onClick:()=>{Pe(),sn(!1)}},"\u53D6\u6D88"),ai.createElement(Ce.ZP,{loading:tt,className:"ml20",type:"primary",onClick:()=>{Va()}},"\u4FDD\u5B58")))},Or=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5B9E\u8BAD\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var _a,ya;return((ya=(_a=_e==null?void 0:_e.editData)==null?void 0:_a.exercise)==null?void 0:ya.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),Sr=ea=>rn(void 0,null,function*(){if(Pn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let _a;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return rn(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:sc({},va)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:sc({},va)});break;case"edit":Zn(Oe.dragKey),sn(!0);break;case"add":at({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",editData:{key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:5}}});break}}),or=()=>{var ea,_a;return ai.createElement("aside",null,ai.createElement("div",{className:Ea.questionType},!(Oe!=null&&Oe.isPreview)&&ai.createElement("div",null,ai.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u5B9E\u8BAD\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?ai.createElement("div",{style:{display:"flex"}},ai.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),ai.createElement(Ya.Z,{value:Oe.question_title}),ai.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09"),!!((ea=Oe.schools)!=null&&ea.length)&&ai.createElement(De.Z,{title:"\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},ai.createElement("i",{className:"iconfont icon-zhidinggongkai1 font18 line24 c-orange"}))):ai.createElement("div",{className:"mt5"},ai.createElement(Ya.Z,{value:Oe.question_title})),ai.createElement("div",{className:"mt30"}),(_a=Oe.shixun)==null?void 0:_a.map(function(ya,ra){var xa,qn,nr,vr,xr,ho,Eo,Zr,sr,io;return ai.createElement("div",null,ai.createElement("div",{key:ra,style:{background:"#F0F7FD",color:"#3061D0",fontSize:18,padding:10,display:"flex",justifyContent:"space-between",marginBottom:(!((xa=ur[ra])!=null&&xa.open)||!((nr=(qn=_e==null?void 0:_e.editData)==null?void 0:qn.exercise)!=null&&nr.show_challenge_task_pass))&&10}},ai.createElement("div",null,ai.createElement("i",{className:"iconfont icon-renwuguanka1",style:{marginRight:5}}),"\u7B2C",ra+1,"\u5173 ",ai.createElement("span",{className:"ml10"},ya.challenge_name)," ",ai.createElement("span",{className:"ml10"},ya.challenge_score," \u5206")),((xr=(vr=_e==null?void 0:_e.editData)==null?void 0:vr.exercise)==null?void 0:xr.show_challenge_task_pass)&&ai.createElement("div",{style:{cursor:"pointer",color:"#666666",fontSize:14},onClick:()=>{var yo;ur[ra].open=!((yo=ur[ra])!=null&&yo.open),Ha([...ur])}},(ho=ur[ra])!=null&&ho.open?"\u6536\u8D77":"\u5C55\u5F00",(Eo=ur[ra])!=null&&Eo.open?ai.createElement(uo.Z,{style:{marginLeft:8}}):ai.createElement(Do.Z,{style:{marginLeft:8}}))),((sr=(Zr=_e==null?void 0:_e.editData)==null?void 0:Zr.exercise)==null?void 0:sr.show_challenge_task_pass)&&ai.createElement(Ya.Z,{style:{border:"1px solid #F1F4F9",borderTop:"none",padding:10,display:!((io=ur[ra])!=null&&io.open)&&"none"},value:(ya==null?void 0:ya.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))}),ai.createElement("div",{className:Ea.action},ai.createElement(ye.Link,{target:"_blank",to:`/shixuns/${Oe.shixun_identifier}/challenges?exercise=true`},"\u5B9E\u8BAD\u8BE6\u60C5"),!Oe.hideAction&&Or.map(function(ya,ra){return ya.id==="up"&&Oe.key===1||ya.id==="down"&&Oe.key===Oe.len?null:ai.createElement(De.Z,{key:ra,placement:"bottom",title:ya.name},ai.createElement("span",{onClick:()=>Sr(ya),className:ya.icon}))})))};return ai.createElement("section",{className:Ea.wrap},!Ua&&or(),Ua&&Da())};var sl=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Fa)),Cr=x(2337),Pl=Object.defineProperty,ko=Object.getOwnPropertySymbols,jo=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,gl=(me,pe,ie)=>pe in me?Pl(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,_l=(me,pe)=>{for(var ie in pe||(pe={}))jo.call(pe,ie)&&gl(me,ie,pe[ie]);if(ko)for(var ie of ko(pe))Tl.call(pe,ie)&&gl(me,ie,pe[ie]);return me},Ri=(me,pe)=>{var ie={};for(var dt in me)jo.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&ko)for(var dt of ko(me))pe.indexOf(dt)<0&&Tl.call(me,dt)&&(ie[dt]=me[dt]);return ie},Ql=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Yr=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},setIsClaer:an=()=>{},reload:wn=()=>{},addCallback:aa=ra=>{}}=ie,Aa=Ri(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","reload","addCallback"]);const[_n,Wn]=(0,a.useState)([]),[Ga,On]=(0,a.useState)(),[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)(""),[ka,Yt]=(0,a.useState)(),[Ca,ia]=(0,a.useState)([]),[rr,ro]=(0,a.useState)(!1),[Lr,Ua]=(0,a.useState)(1),[sn,tt]=(0,a.useState)(!1),[Za,va]=(0,a.useState)(""),za=(0,ye.useParams)(),ur=(0,a.useRef)(null),Ha=(0,a.useRef)(!1),[Vr,Va]=(0,a.useState)([]),Da=ra=>{Va([...Vr,_l({},ra)])};(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Ha.current)return;if(!(Pe!=null&&Pe.question_choices)){ro(!0),la(""),Yt(5),Wn(["","","",""]),Jt([]);return}la(Pe==null?void 0:Pe.question_title),Yt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),va(Pe==null?void 0:Pe.analysis),Ua(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(xa=>xa.choice_text));const ra=[];Pe==null||Pe.standard_answer.map((xa,qn)=>{ra.push(xa-1)}),ia(Pe.tag_discipline_ids),Jt(ra)},[Pe,rr]),(0,a.useEffect)(()=>{rr&&ra();function ra(){return Ql(this,null,function*(){var xa,qn;const nr=yield(0,ne.YY)({sub_discipline_id:(qn=(xa=Dt.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id});Va(nr.tag_disciplines)})}},[rr]),(0,a.useEffect)(()=>{var ra;const xa=(ra=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ra.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];Va(xa)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(pe,()=>({onSave:Sr,isEdit:rr}));const Or=ra=>{(ra==null?void 0:ra.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ro(!1),Xn(-1),Ha.current=!1,wn())},Sr=()=>Ql(void 0,null,function*(){var ra,xa,qn,nr;if(!ga)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const vr=_n.findIndex(Eo=>!Eo);if(vr>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Cr.k4[vr]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!pa.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(pa.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const xr=_n.map((Eo,Zr)=>({choice_text:Eo,is_answer:pa.includes(Zr)?Zr+1:0}));Ha.current=!0;let ho;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Ql(void 0,null,function*(){var Eo,Zr;ho=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(sr=>sr.choice_text),standard_answers:xr.filter(sr=>sr.is_answer).map(sr=>sr.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(Zr=(Eo=Dt.editData)==null?void 0:Eo.exercise)==null?void 0:Zr.sub_discipline_id,difficulty:Lr,is_cover:1,repeat_answer:!sn,analysis:Za}}),Or(ho)}),onCancel:()=>Ql(void 0,null,function*(){var Eo,Zr;ho=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(sr=>sr.choice_text),standard_answers:xr.filter(sr=>sr.is_answer).map(sr=>sr.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(Zr=(Eo=Dt.editData)==null?void 0:Eo.exercise)==null?void 0:Zr.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Or(ho)})}):(ho=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(Eo=>Eo.choice_text),standard_answers:xr.filter(Eo=>Eo.is_answer).map(Eo=>Eo.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Or(ho)):(ho=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:za.categoryId,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(Eo=>Eo.choice_text),standard_answers:xr.filter(Eo=>Eo.is_answer).map(Eo=>Eo.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(nr=(qn=Dt.editData)==null?void 0:qn.exercise)==null?void 0:nr.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Or(ho))}),or=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ra=>{var xa,qn;return((qn=(xa=Dt==null?void 0:Dt.editData)==null?void 0:xa.exercise)==null?void 0:qn.exercise_status)===1?ra:ra.id!=="del"&&ra.id!=="add"}),ea=ra=>Ql(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ra.id){case"del":let xa;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Ql(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:_l({},za)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ra.id}}),at({type:"exercise/editExercise",payload:_l({},za)});break;case"edit":Xn(Pe.dragKey),ro(!0);break;case"add":aa({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),_a=()=>{var ra;return a.createElement("aside",{ref:ur},a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5355\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},(ra=Pe==null?void 0:Pe.question_choices)==null?void 0:ra.map(function(xa,qn){return a.createElement(re.Z,{key:qn},a.createElement(ve.Z,null,a.createElement(be.ZP,{key:qn,checked:Pe.standard_answer.includes(qn+1),disabled:!0},Cr.k4[qn],".")),a.createElement(ve.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(Ya.Z,{value:xa.choice_text}))))})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&or.map(function(xa,qn){return xa.id==="up"&&Pe.key===1||xa.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:qn,placement:"bottom",title:xa.name},a.createElement("span",{onClick:()=>ea(xa),className:xa.icon}))})))},ya=()=>{var ra,xa;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ga,onChange:qn=>la(qn)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),_n.map((qn,nr)=>{var vr,xr;return a.createElement("div",{className:Ea.choiceWrap,key:nr},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${Ea.answer} ${pa.includes(nr)?Ea.activeAnswer:""}`,onClick:()=>{pa.includes(nr)?Jt(pa.filter(ho=>ho!==nr)):Jt([...pa,nr])}},Cr.k4[nr])),a.createElement("div",{className:Ea.editorWrap},Ga===nr?a.createElement(Ia.Z,{id:`single-question-option-${nr}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:qn,onChange:ho=>{_n[nr]=ho,Wn(_n)}}):a.createElement("div",{className:Ea.htmlWrap,onClick:()=>On(nr)},a.createElement(Ya.Z,{value:qn}))),((xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.exercise_status)===1&&a.createElement(a.Fragment,null,nr>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${Ea.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn(_n.filter((ho,Eo)=>Eo!==nr))})),nr<7&&nr===_n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${Ea.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([..._n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Za,onChange:qn=>va(qn)}),a.createElement("div",{style:{marginBottom:14}},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ka,max:1e4,min:0,onChange:qn=>{Yt(qn)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Lr,onChange:qn=>{Ua(qn.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("div",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:Ca,onChange:ia,subId:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id,knowledgeOptions:Vr,onAddKnowledgeFinish:Da})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:sn,onChange:qn=>{tt(qn)}}))),a.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),ro(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Sr()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:Ea.wrap},!rr&&_a(),rr&&ya())};var zo=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Yr)),bl=x(12563),tl=({value:me=[[],[]],onChange:pe})=>{var ie,dt;const[Dt,_e]=(0,a.useState)(""),[Ut,at]=(0,a.useState)(""),Oe=Pe=>{if(!Pe)return!1;let Pn=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Pe==="|"?(oe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0};return a.createElement("div",null,a.createElement("p",{className:"font14"},"\u5173\u952E\u8BCD",a.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u952E\u8BCD\u53EF\u7528\u4E8E\u81EA\u52A8\u5224\u5206\uFF09"),a.createElement(De.Z,{overlayStyle:{maxWidth:350},title:a.createElement("div",null,a.createElement("div",null,"\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD\u7684\u5206\u6570\u662F\u666E\u901A\u5173\u952E\u8BCD\u5206\u6570\u7684\u4E24\u500D"),a.createElement("div",null,"\u4F8B\u5982\uFF1A"),a.createElement("div",null,"\u672C\u989810\u5206\uFF0C\u666E\u901A\u5173\u952E\u8BCD1\u4E2A\uFF0C\u6838\u5FC3\u5173\u952E\u8BCD2\u4E2A\uFF0C\u5219\u6BCF\u4E2A"),a.createElement("div",null,"\u666E\u901A\u5173\u952E\u8BCD2\u5206\uFF0C\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD4\u5206"))},a.createElement("span",{className:"iconfont icon-a-wenhaobeifen2 font14"}))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u666E\u901A\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Dt,onChange:Pe=>{_e(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var Pn,Zn,Xn;const an=(Pn=Pe.target)==null?void 0:Pn.value;Oe(an)&&((Xn=me[0])==null||Xn.push((Zn=an==null?void 0:an.split("|"))==null?void 0:Zn.filter(wn=>!!wn)),pe([...me]),_e(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(ie=me==null?void 0:me[0])==null?void 0:ie.map((Pe,Pn)=>a.createElement(bl.Z,{className:"mb10",key:Pn,closable:!0,onClose:Zn=>{var Xn;Zn.preventDefault(),me[0]=(Xn=me[0])==null?void 0:Xn.filter((an,wn)=>wn!==Pn),pe([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u6838\u5FC3\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Ut,onChange:Pe=>{at(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var Pn,Zn,Xn;const an=(Pn=Pe.target)==null?void 0:Pn.value;Oe(an)&&((Xn=me[1])==null||Xn.push((Zn=an==null?void 0:an.split("|"))==null?void 0:Zn.filter(wn=>!!wn)),pe([...me]),at(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(dt=me==null?void 0:me[1])==null?void 0:dt.map((Pe,Pn)=>a.createElement(bl.Z,{className:"mb10",key:Pn,closable:!0,onClose:Zn=>{var Xn;Zn.preventDefault(),me[1]=(Xn=me[1])==null?void 0:Xn.filter((an,wn)=>wn!==Pn),pe([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))))},Le=Object.defineProperty,Ve=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Et=(me,pe,ie)=>pe in me?Le(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Vt=(me,pe)=>{for(var ie in pe||(pe={}))Ue.call(pe,ie)&&Et(me,ie,pe[ie]);if(Ve)for(var ie of Ve(pe))St.call(pe,ie)&&Et(me,ie,pe[ie]);return me},fn=(me,pe)=>{var ie={};for(var dt in me)Ue.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Ve)for(var dt of Ve(me))pe.indexOf(dt)<0&&St.call(me,dt)&&(ie[dt]=me[dt]);return ie},da=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ba=null,Xa=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=ie,Aa=fn(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","reload","addCallback","setIsClaer"]);const[_n,Wn]=(0,a.useState)(""),[Ga,On]=(0,a.useState)(""),[pa,Jt]=(0,a.useState)(""),[ga,la]=(0,a.useState)(),[ka,Yt]=(0,a.useState)(!1),[Ca,ia]=(0,a.useState)([]),[rr,ro]=(0,a.useState)(1),[Lr,Ua]=(0,a.useState)(!1),[sn,tt]=(0,a.useState)([[],[]]),Za=(0,a.useRef)(!1),va=(0,ye.useParams)(),[za,ur]=(0,a.useState)([]),Ha=ea=>{ur([...za,Vt({},ea)])};(0,a.useEffect)(()=>{var ea;if(!Za.current){if(!(Pe!=null&&Pe.question_title)){Yt(!0),Wn(""),Jt(""),la(10);return}Ua(!(Pe!=null&&Pe.repeat_answer)),Wn(Pe==null?void 0:Pe.question_title),Jt((ea=Pe==null?void 0:Pe.standard_answer)==null?void 0:ea[0]),la(Pe==null?void 0:Pe.question_score),ia(Pe.tag_discipline_ids),ro(Pe==null?void 0:Pe.difficulty),On(Pe==null?void 0:Pe.analysis),tt([Pe==null?void 0:Pe.normal_keywords,Pe==null?void 0:Pe.main_keywords])}},[dt.editData,ka]),(0,a.useEffect)(()=>{var ea;const _a=(ea=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ea.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];ur(_a)},[Dt.tagDisciplineData]),(0,a.useEffect)(()=>{ka&&ea();function ea(){return da(this,null,function*(){var _a,ya;const ra=yield(0,ne.YY)({sub_discipline_id:(ya=(_a=Dt.editData)==null?void 0:_a.exercise)==null?void 0:ya.sub_discipline_id});ur(ra.tag_disciplines)})}},[ka]),(0,a.useImperativeHandle)(pe,()=>({onSave:Va,isEdit:ka}));const Vr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Yt(!1),Xn(-1),Za.current=!1,an())},Va=()=>da(void 0,null,function*(){var ea,_a,ya,ra;if(!_n)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const xa=sn[0],qn=sn[1];Za.current=!0;let nr;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>da(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:rr,is_cover:1,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)}),onCancel:()=>da(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)})}):(nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(_a=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:_a.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)):(nr=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:va.categoryId,exercise_bank_id:va.categoryId,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(ra=(ya=Dt.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)),{name:_n,answer_texts:[pa],analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Da=()=>{var ea,_a;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u4E3B\u89C2\u9898"),"\uFF08\u4E3B\u89C2\u9898\uFF0C\u672A\u4F5C\u7B54\u7684\u60C5\u51B5\u4E0B\u81EA\u52A8\u8BC4\u4E3A\u96F6\u5206\uFF09")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:_n,onChange:ya=>Wn(ya)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(Ia.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:pa,onChange:ya=>Jt(ya)}),a.createElement(tl,{value:sn,onChange:tt}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Ga,onChange:ya=>On(ya)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ga,max:1e4,min:0,onChange:ya=>{la(ya)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:rr,onChange:ya=>{ro(ya.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{value:Ca,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:ia,subId:(_a=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:_a.sub_discipline_id,knowledgeOptions:za,onAddKnowledgeFinish:Ha})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Lr,onChange:ya=>{Ua(ya)}}))),a.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),Yt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Va()}},"\u4FDD\u5B58")))},Or=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var _a,ya;return((ya=(_a=Dt==null?void 0:Dt.editData)==null?void 0:_a.exercise)==null?void 0:ya.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),Sr=ea=>da(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let _a;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return da(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Vt({},va)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:Vt({},va)});break;case"edit":Xn(Pe.dragKey),Yt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:4});break}}),or=()=>a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7B80\u7B54\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},a.createElement("p",null,a.createElement("strong",null,"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(Ya.Z,{value:pa||""})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&Or.map(function(ea,_a){return ea.id==="up"&&Pe.key===1||ea.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:_a,placement:"bottom",title:ea.name},a.createElement("span",{onClick:()=>Sr(ea),className:ea.icon}))})));return a.createElement("section",{className:Ea.wrap},!ka&&or(),ka&&Da())};var Ja=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Xa)),Sa=x(59301),cr=Object.defineProperty,tr=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable,Qa=(me,pe,ie)=>pe in me?cr(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Br=(me,pe)=>{for(var ie in pe||(pe={}))fr.call(pe,ie)&&Qa(me,ie,pe[ie]);if(tr)for(var ie of tr(pe))ma.call(pe,ie)&&Qa(me,ie,pe[ie]);return me},So=(me,pe)=>{var ie={};for(var dt in me)fr.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&tr)for(var dt of tr(me))pe.indexOf(dt)<0&&ma.call(me,dt)&&(ie[dt]=me[dt]);return ie},so=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Oo=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Mo=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},addCallback:an=()=>{},setIsClaer:wn=()=>{}}=ie,aa=So(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","addCallback","setIsClaer"]);const[Aa,_n]=(0,a.useState)([]),[Wn,Ga]=(0,a.useState)(),[On,pa]=(0,a.useState)([]),[Jt,ga]=(0,a.useState)(""),[la,ka]=(0,a.useState)(5),[Yt,Ca]=(0,a.useState)(!1),ia=(0,ye.useParams)();(0,a.useEffect)(()=>{_n(["","","",""])},[]),(0,a.useEffect)(()=>{if(!(Pe!=null&&Pe.question_choices)){Ca(!0),ga(""),ka(5),_n(["","","",""]),pa([]);return}ga(Pe==null?void 0:Pe.question_title),ka(Pe==null?void 0:Pe.question_score),_n(Pe==null?void 0:Pe.question_choices.map(Za=>Za.choice_text));const tt=[];Pe==null||Pe.standard_answer.map((Za,va)=>{tt.push(Za-1)}),pa(tt)},[Pe]),(0,a.useImperativeHandle)(pe,()=>({onSave:rr,isEdit:Yt}));const rr=()=>so(void 0,null,function*(){if(!Jt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const tt=Aa.findIndex(za=>!za);if(tt>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Oo[tt]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!On.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(On.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const Za=Aa.map((za,ur)=>({choice_text:za,is_answer:On.includes(ur)?ur+1:0}));let va;Pe.question_id?va=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Jt,question_type:1,question_score:la,question_choices:Za.map(za=>za.choice_text),standard_answers:Za.filter(za=>za.is_answer).map(za=>za.is_answer)}}):va=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ia.categoryId,question_title:Jt,question_type:1,question_score:"5.0",question_choices:Za.map(za=>za.choice_text),standard_answers:Za.filter(za=>za.is_answer).map(za=>za.is_answer)}}),va.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ca(!1),at({type:"exercise/editExercise",payload:Br({},ia)}))}),ro=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(tt=>{var Za,va;return((va=(Za=Dt==null?void 0:Dt.editData)==null?void 0:Za.exercise)==null?void 0:va.exercise_status)===1?tt:tt.id!=="del"&&tt.id!=="add"}),Lr=tt=>so(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(tt.id){case"del":let Za;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return so(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Br({},ia)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:tt.id}}),at({type:"exercise/editExercise",payload:Br({},ia)});break;case"edit":ye.history.push(`/problems/${Pe==null?void 0:Pe.hack_identifier}/edit?type=exercises&express_id=${ia.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=${location.pathname}`);break;case"add":an({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:6});break}}),Ua=tt=>so(void 0,null,function*(){tt.preventDefault();const Za=yield(0,ne.nF)({id:Pe==null?void 0:Pe.hack_identifier});Za.status===0&&(0,ue.xg)(`/myproblems/${Za==null?void 0:Za.identifier}`)}),sn=()=>{var tt,Za,va,za,ur,Ha,Vr;return Sa.createElement("aside",null,Sa.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&Sa.createElement("div",null,Sa.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7F16\u7A0B\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Sa.createElement(Sa.Fragment,null,Sa.createElement("div",{style:{display:"flex"}},Sa.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Sa.createElement(Ya.Z,{value:Pe.question_title}),Sa.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")),Sa.createElement("div",{style:{fontWeight:600,marginTop:10,fontSize:16}},"\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00\uFF1A",(tt=Pe==null?void 0:Pe.languages)==null?void 0:tt.join("/")),((va=(Za=Dt==null?void 0:Dt.editData)==null?void 0:Za.exercise)==null?void 0:va.show_hack_sets)&&Sa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Sa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Sa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Sa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Va,Da,Or)=>Or+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)},Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)}," ",Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))):Sa.createElement("div",{className:"mt5"},Sa.createElement(Ya.Z,{value:Pe.question_title}),((ur=(za=Dt==null?void 0:Dt.editData)==null?void 0:za.exercise)==null?void 0:ur.show_hack_sets)&&Sa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Sa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Sa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Sa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Va,Da,Or)=>Or+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)},Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)}," ",Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))),((Vr=(Ha=Dt==null?void 0:Dt.editData)==null?void 0:Ha.exercise)==null?void 0:Vr.show_hack_description)&&Sa.createElement("div",{className:Ea.questionChoices},Sa.createElement(Ya.Z,{value:Pe.description||""})),Sa.createElement("div",{className:Ea.action},Sa.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{(0,ue.xg)(`/problems/newedit/${Pe==null?void 0:Pe.hack_identifier}?type=exercises&express_id=${ia.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=/classrooms/${ia.coursesId}/exercise/add/${ia.categoryId}?type=2`)}},"\u67E5\u770B\u8BE6\u60C5"),!Pe.hideAction&&ro.map(function(Va,Da){return Va.id==="up"&&Pe.key===1||Va.id==="down"&&Pe.key===Pe.len?null:Sa.createElement(De.Z,{key:Da,placement:"bottom",title:Va.name},Sa.createElement("span",{onClick:()=>Lr(Va),className:Va.icon}))})))};return Sa.createElement("section",{className:Ea.wrap},sn())};var No=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Mo)),po=x(88436),Fl={ai_review_warp:"ai_review_warp___xdNyj",under_review:"under_review___LPpOL",btn_operate:"btn_operate___owqg5",btn_review:"btn_review___RoZoh",is_disabled:"is_disabled___T2_8u",title_sty:"title_sty___nTv6u",btns_pfbz:"btns_pfbz___kGOTA"},El=x(78455),Qo=x(59301),Ci=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const wi=({exercise:me,globalSetting:pe,user:ie,loading:dt,questionInfo:Dt,dispatch:_e})=>{var Ut;const at=(0,ye.useParams)(),{is_open_ai_review:Oe,zero_commit_student_works:Pe,unified_ai_setting:Pn,ai_review_settings:Zn,is_random:Xn}=me.commonHeader,[an,wn]=(0,a.useState)({}),[aa,Aa]=(0,a.useState)(!1),[_n,Wn]=(0,a.useState)(0),[Ga,On]=(0,a.useState)(!1),pa=Pn?Zn:((Ut=Dt==null?void 0:Dt.ai_review_settings)==null?void 0:Ut.length)>0?Dt.ai_review_settings:Zn;(0,a.useEffect)(()=>{!dt["exercise/getCommonHeader"]&&Oe&&!(0,bt.dE)()&&Jt()},[dt["exercise/getCommonHeader"]]),(0,a.useEffect)(()=>{if((an==null?void 0:an.status)=="running"){const Yt=setInterval(()=>{Jt()},3e3);return()=>clearInterval(Yt)}},[an==null?void 0:an.status]);const Jt=()=>Ci(void 0,null,function*(){const Yt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit_status.json",{method:"get",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Yt==null?void 0:Yt.status)===0&&wn(Yt==null?void 0:Yt.data)}),ga=Yt=>{_e({type:"exercise/setActionTabs",payload:{key:"\u667A\u80FD\u8BC4\u9605\u7ED3\u679C",id:an==null?void 0:an.id,status:Yt,questionId:Dt==null?void 0:Dt.question_id,onOK:()=>{Jt()}}})},la=()=>{_e({type:"exercise/setActionTabs",payload:{key:"AI\u8BC4\u9605\u64CD\u4F5C\u8BB0\u5F55",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}}})},ka=()=>Ci(void 0,null,function*(){if(Oe){if(Pe)return oe.ZP.warning("\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u6570\u4E3A0\uFF0C\u65E0\u6CD5\u667A\u80FD\u8BC4\u9605!")}else return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!");On(!0);const Yt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit.json",{method:"post",body:{exercise_id:at==null?void 0:at.categoryId,range:_n,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Yt==null?void 0:Yt.status)===0&&(Aa(!1),Jt()),On(!1)});return Qo.createElement("div",{className:Fl.ai_review_warp},Qo.createElement("div",null,Oe&&(an==null?void 0:an.status)=="running"&&Qo.createElement("div",{className:Fl.under_review},Qo.createElement(Ft.Z,{spinning:!0,className:"mr6",size:"small"}),Qo.createElement("span",{className:"ml10"},"\u667A\u80FD\u8BC4\u9605\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6"),Qo.createElement("span",{className:"ml5",style:{color:"#3061D0"}},an==null?void 0:an.rate,(an==null?void 0:an.rate)=="0.0%"&&Qo.createElement("span",{className:"ml10"},"\u4EFB\u52A1\u6392\u961F\u4E2D\uFF0C\u9884\u8BA1\u7A0D\u540E\u5F00\u59CB\u8BC4\u9605!"))),Oe&&["success","failed"].includes(an==null?void 0:an.status)&&Qo.createElement("div",{className:Fl.under_review},"\u667A\u80FD\u8BC4\u9605\u6210\u529F",Qo.createElement("span",{style:{color:"#3061D0"},onClick:()=>ga(1)},an==null?void 0:an.success_count),"\u4EBA\uFF0C \u5931\u8D25",Qo.createElement("span",{style:{color:"#ff0000"},onClick:()=>ga(0)},an==null?void 0:an.fail_count),"\u4EBA")),Qo.createElement("div",{className:"flex"},Qo.createElement("div",{className:Fl.btn_operate,onClick:la},Qo.createElement("i",{className:"iconfont icon-lishijilu mr8"}),"\u64CD\u4F5C\u8BB0\u5F55"),Qo.createElement("div",{className:`${Fl.btn_review} ${(an==null?void 0:an.status)=="running"&&Fl.is_disabled}`,onClick:()=>{if((an==null?void 0:an.status)!="running"){if(!Oe)return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!"),!1;Wn(0),Aa(!0)}}},Qo.createElement("img",{src:Pa.Z,className:"mr8",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),Qo.createElement(Fe.default,{width:1150,centered:!0,title:"\u667A\u80FD\u8BC4\u9605",open:aa,destroyOnClose:!0,onCancel:()=>Aa(!1),okText:"\u5F00\u59CB\u8BC4\u9605",confirmLoading:Ga,onOk:()=>ka()},Qo.createElement("div",{className:"flex item-center justify-between mb10"},Qo.createElement("div",{className:Fl.title_sty,style:{marginBottom:0}},"\u8BC4\u5206\u6807\u51C6"),Qo.createElement("div",{className:"flex"},Qo.createElement("div",{className:Fl.btns_pfbz,onClick:()=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:Dt==null?void 0:Dt.question_id,ai_review_settings:pa}})}},Qo.createElement("img",{src:El.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"),Qo.createElement("div",{className:Fl.btns_pfbz,onClick:()=>{Pn?window.location.href=`/classrooms/${at.coursesId}/exercise/${at.categoryId}/detail?random=${Xn}&tabs=11`:ye.history.push(`/classrooms/${at.coursesId}/exercise/add/${at.categoryId}?random=${Xn}&type=2`)}},Qo.createElement("i",{className:"iconfont icon-bianji15 font14 mr5"}),"\u4FEE\u6539\u8BC4\u5206\u6807\u51C6"))),Qo.createElement(z.default,{pagination:!1,dataSource:pa,columns:[{title:"\u8BC4\u5206\u9879\u76EE",dataIndex:"name",width:236},{title:"\u8BC4\u5206\u6807\u51C6",dataIndex:"content",width:684,ellipsis:!0},{title:"\u6743\u91CD\uFF08%\uFF09",dataIndex:"weight",width:140}]}),Qo.createElement("div",{className:Fl.title_sty,style:{marginTop:30}},"\u8BC4\u9605\u8303\u56F4"),Qo.createElement("div",{className:Fl.znpy,style:{background:"#F6F7F9",padding:"13px 20px"}},Qo.createElement(be.ZP.Group,{style:{display:"flex",flexDirection:"column",gap:18},onChange:Yt=>Wn(Yt.target.value),value:_n,options:[{value:0,label:"\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u672A\u8BC4\u9605\u7684\u5B66\u751F"},{value:1,label:"\u6240\u6709\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F"}]}))))};var Ki=(0,ye.connect)(({exercise:me,globalSetting:pe,loading:ie,user:dt})=>({exercise:me,globalSetting:pe,loading:ie.effects,user:dt}))(wi),Rr=x(59301),zi=Object.defineProperty,hi=Object.defineProperties,Si=Object.getOwnPropertyDescriptors,Qi=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,jn=(me,pe,ie)=>pe in me?zi(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,jr=(me,pe)=>{for(var ie in pe||(pe={}))Vi.call(pe,ie)&&jn(me,ie,pe[ie]);if(Qi)for(var ie of Qi(pe))Mi.call(pe,ie)&&jn(me,ie,pe[ie]);return me},Wo=(me,pe)=>hi(me,Si(pe)),We=(me,pe)=>{var ie={};for(var dt in me)Vi.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Qi)for(var dt of Qi(me))pe.indexOf(dt)<0&&Mi.call(me,dt)&&(ie[dt]=me[dt]);return ie},je=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Bt=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},setIsClaer:an=()=>{},addCallback:wn=ya=>{},reload:aa=()=>{},markBtnVisible:Aa,handleMarkWrongQuestion:_n,handleAddCorrectAnswers:Wn}=ie,Ga=We(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload","markBtnVisible","handleMarkWrongQuestion","handleAddCorrectAnswers"]);const[On,pa]=(0,a.useState)([]),[Jt,ga]=(0,a.useState)(!1),[la,ka]=(0,a.useState)(!0),[Yt,Ca]=(0,a.useState)(1),[ia,rr]=(0,a.useState)(!1),[ro,Lr]=(0,a.useState)([]),Ua=(0,ye.useParams)(),sn=(0,a.useRef)(null),[tt,Za]=(0,a.useState)(""),[va,za]=(0,a.useState)([]),ur=(0,a.useRef)(!1),Ha=ya=>{Lr([...ro,jr({},ya)])};(0,a.useEffect)(()=>{var ya;if(ur.current)return;if(!(Pe!=null&&Pe.question_title)){ga(!0),Za("");return}Za(Pe==null?void 0:Pe.question_title),rr(!(Pe!=null&&Pe.repeat_answer)),Ca(Pe==null?void 0:Pe.difficulty),pa(Pe.tag_discipline_ids);const ra=(ya=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:ya.map(xa=>{var qn,nr,vr;return Wo(jr({},xa),{id:xa.question_id,name:xa.question_title,open:!1,score:xa.question_score,qusList:(qn=xa==null?void 0:xa.question_choices)==null?void 0:qn.map(xr=>xr.choice_text),activeQusEditor:null,qusAnswer:(vr=[(nr=xa==null?void 0:xa.question_choices)==null?void 0:nr.findIndex(xr=>xr.standard_boolean)])==null?void 0:vr.filter(xr=>xr!==-1)})});za(ra)},[Pe,Jt]),(0,a.useEffect)(()=>{Jt&&ya();function ya(){return je(this,null,function*(){var ra,xa;const qn=yield(0,ne.YY)({sub_discipline_id:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id});Lr(qn.tag_disciplines)})}},[Jt]),(0,a.useEffect)(()=>{var ya;const ra=(ya=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ya.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];Lr(ra)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(pe,()=>({onSave:Va,isEdit:Jt}));const Vr=ya=>{(ya==null?void 0:ya.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ga(!1),Xn(-1),ur.current=!1,aa())},Va=()=>je(void 0,null,function*(){var ya,ra,xa;if(!tt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(va.length===0)return oe.ZP.info("\u8BF7\u60A8\u6DFB\u52A0\u5C0F\u9898"),!1;for(let vr=0;vr!Eo);if(ho>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165\u7B2C${vr+1}\u5C0F\u9898${Cr.k4[ho]}\u9009\u9879\u7684\u5185\u5BB9`),!1;if(!(xr!=null&&xr.qusAnswer.length))return oe.ZP.info(`\u8BF7\u8BBE\u7F6E\u7B2C${vr+1}\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E`),!1}const qn=va.map(vr=>{var xr;return{id:vr.id>1?vr.id:null,question_title:vr.name,question_type:1,question_choices:vr.qusList,question_score:vr.score,standard_answers:[((xr=vr.qusAnswer)==null?void 0:xr[0])+1]}});ur.current=!0;let nr;Pe.question_id&&((Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>je(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:Yt,is_cover:1,repeat_answer:!ia}}),Vr(nr)}),onCancel:()=>je(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:Yt,repeat_answer:!ia}}),Vr(nr)})}):(nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id,difficulty:Yt,repeat_answer:!ia}}),Vr(nr)))}),Da=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ya=>{var ra,xa;return((xa=(ra=Dt==null?void 0:Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.exercise_status)===1?ya:ya.id!=="del"&&ya.id!=="add"}),Or=ya=>je(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ya.id){case"del":let ra;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return je(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:jr({},Ua)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ya.id}}),at({type:"exercise/editExercise",payload:jr({},Ua)});break;case"edit":Xn(Pe.dragKey),ga(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),Sr=()=>{var ya;return Rr.createElement("aside",{ref:sn},Rr.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&Rr.createElement("div",null,Rr.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7EC4\u5408\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Rr.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},Rr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Rr.createElement(Ya.Z,{value:Pe.question_title}),Rr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08\u5171",Pe==null?void 0:Pe.sub_q_count,"\u5C0F\u9898\uFF0C",Pe.question_score,"\u5206\uFF09")):Rr.createElement("div",{className:"mt5"},Rr.createElement(Ya.Z,{value:Pe.question_title})),Rr.createElement("div",{style:{display:la?"block":"none"},className:Ea.questionChoices},(ya=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:ya.map((ra,xa)=>{var qn,nr,vr,xr;return Rr.createElement("div",{key:xa,style:{marginBottom:"20px"}},Rr.createElement("div",{style:{display:"flex",alignItems:"flex-start",marginBottom:"15px"}},Rr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,".",xa+1,(ra==null?void 0:ra.question_type)==0?"\uFF08\u5355\u9009\u9898\uFF09":(ra==null?void 0:ra.question_type)==1?"\uFF08\u591A\u9009\u9898\uFF09":(ra==null?void 0:ra.question_type)==2?"\uFF08\u5224\u65AD\u9898\uFF09":(ra==null?void 0:ra.question_type)==3?"\uFF08\u586B\u7A7A\u9898\uFF09":"\uFF08\u7B80\u7B54\u9898\uFF09"),Rr.createElement(Ya.Z,{value:ra.question_title}),Rr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",ra.question_score,"\u5206\uFF09")),(ra==null?void 0:ra.question_type)==3&&((qn=ra==null?void 0:ra.standard_answers)==null?void 0:qn.map(function(ho,Eo){return Rr.createElement(re.Z,{key:Eo,align:"middle",justify:"start",style:{marginBottom:"5px"}},Rr.createElement(ve.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",ho==null?void 0:ho.choice_id,"\uFF09\uFF1A"),Rr.createElement(ve.Z,{flex:"1"},Rr.createElement(re.Z,{align:"middle",gutter:[1,1]},ho.answer_text.map(function(Zr,sr){var io;return Rr.createElement(ve.Z,{span:24,key:sr},Rr.createElement(Se.default,{key:Eo,checked:(io=ra==null?void 0:ra.standard_answers)==null?void 0:io.includes(Eo),disabled:!0,value:Zr}))}))))})),(ra==null?void 0:ra.question_type)==4&&Rr.createElement(Ya.Z,{value:((nr=ra==null?void 0:ra.answer_texts)==null?void 0:nr[0])||""}),((ra==null?void 0:ra.question_type)==0||(ra==null?void 0:ra.question_type)==1||(ra==null?void 0:ra.question_type)==2)&&((vr=ra==null?void 0:ra.question_choices)==null?void 0:vr.map(function(ho,Eo){return Rr.createElement(re.Z,{key:Eo,align:"middle"},Rr.createElement(ve.Z,null,Rr.createElement(be.ZP,{key:Eo,checked:ra.standard_answer.includes(Eo+1),disabled:!0},Cr.k4[Eo],".")),Rr.createElement(ve.Z,{flex:"1"},Rr.createElement("span",{className:"c-black font14"},Rr.createElement(Ya.Z,{value:ho.choice_text}))))})),Aa&&Rr.createElement(re.Z,{className:"mt20",align:"middle",gutter:20},Rr.createElement(ve.Z,null,Rr.createElement(po.Z,{state:ra==null?void 0:ra.is_wrong,onClick:()=>_n({value:ra,type:ra==null?void 0:ra.question_type})})),(ra==null?void 0:ra.question_type)==0&&Rr.createElement(ve.Z,null,Rr.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{Wn==null||Wn({value:ra})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),(ra==null?void 0:ra.question_type)==4&&((xr=Dt==null?void 0:Dt.commonHeader)==null?void 0:xr.teacher_permission)&&Rr.createElement(Ki,{questionInfo:ra}))})),Rr.createElement("div",{className:Ea.action},Rr.createElement("span",{className:"c-light-primary current",onClick:()=>ka(!la),style:{}},la?"\u6536\u8D77":"\u5C55\u5F00"),!Pe.hideAction&&Da.map(function(ra,xa){return ra.id==="up"&&Pe.key===1||ra.id==="down"&&Pe.key===Pe.len?null:Rr.createElement(De.Z,{key:xa,placement:"bottom",title:ra.name},Rr.createElement("span",{onClick:()=>Or(ra),className:ra.icon}))})))},or=()=>{var ya,ra;return Rr.createElement("aside",null,Rr.createElement("div",{className:Ea.questionType},Rr.createElement("div",null,Rr.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),Rr.createElement("section",{className:Ea.wrap,style:{padding:0}},Rr.createElement("p",{className:Ea.titleWrap},Rr.createElement("span",{className:Ea.required},"*"),Rr.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),Rr.createElement(Ia.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:tt,onChange:xa=>Za(xa)}),Rr.createElement("p",null,"\u5C0F\u9898\u6570\uFF1A",va==null?void 0:va.length),va==null?void 0:va.map((xa,qn)=>{var nr;return Rr.createElement("div",{className:Ea.fold,key:xa.id},Rr.createElement("div",{onClick:()=>_a("open",qn),className:Ea.head},Rr.createElement("i",{className:"iconfont icon-sanjiaoxing",style:{transform:xa.open?"initial":"rotate(270deg) translate(2px, 4px)"}}),Rr.createElement("span",null,"\u7B2C",qn+1,"\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"),Rr.createElement("b",{onClick:vr=>{vr.stopPropagation(),_a("delete",qn)},className:"iconfont icon-shanchu8"})),Rr.createElement("div",{className:"mb10",style:{display:xa.open?"block":"none"}},Rr.createElement(Ia.Z,{watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:xa==null?void 0:xa.name,onChange:vr=>_a("value",qn,vr)}),Rr.createElement("p",{className:Ea.titleWrap},Rr.createElement("span",{className:Ea.required},"*"),Rr.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",Rr.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),(nr=xa==null?void 0:xa.qusList)==null?void 0:nr.map((vr,xr)=>{var ho,Eo;return Rr.createElement("div",{className:Ea.choiceWrap,key:xr},Rr.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},Rr.createElement("div",{className:`${Ea.answer} ${(ho=xa==null?void 0:xa.qusAnswer)!=null&&ho.includes(xr)?Ea.activeAnswer:""}`,onClick:()=>_a("answer",qn,xr)},Cr.k4[xr])),Rr.createElement("div",{className:Ea.editorWrap},(xa==null?void 0:xa.activeQusEditor)===xr?Rr.createElement(Ia.Z,{id:`single-question-option-${xr}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:vr,onChange:Zr=>_a("details",qn,Zr)}):Rr.createElement("div",{className:Ea.htmlWrap,onClick:()=>_a("edit",qn,xr)},Rr.createElement(Ya.Z,{value:vr}))),xr>1&&Rr.createElement(De.Z,{title:"\u5220\u9664"},Rr.createElement("i",{className:`${Ea.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>_a("deleteQus",qn,xr)})),xr<7&&xr===((Eo=xa==null?void 0:xa.qusList)==null?void 0:Eo.length)-1&&Rr.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Rr.createElement("i",{className:`${Ea.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>_a("addQus",qn)})))}),Rr.createElement("p",{className:"mt10"},"\u5206\u503C\uFF1A",Rr.createElement(Te.Z,{value:xa.score,max:1e4,min:0,onChange:vr=>_a("score",qn,vr)})," ","\u5206")))}),va.length<20&&Rr.createElement(Ce.ZP,{type:"primary",onClick:ea},Rr.createElement("i",{className:"iconfont icon-tianjiatimu mr5 font14"}),"\u6DFB\u52A0\u5C0F\u9898")),Rr.createElement("p",{className:"mt10"},Rr.createElement("span",{className:Ea.difficult},Rr.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",Rr.createElement(be.ZP.Group,{value:Yt,onChange:xa=>{Ca(xa.target.value)}},Rr.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),Rr.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),Rr.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),Rr.createElement("p",{className:Ea.titleWrap},Rr.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",Rr.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),Rr.createElement("div",{className:"mt5"},Rr.createElement(Io.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:On,onChange:pa,subId:(ra=(ya=Dt.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,knowledgeOptions:ro,onAddKnowledgeFinish:Ha}))),Rr.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&Rr.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),ga(!1)}},"\u53D6\u6D88"),Rr.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Va()}},"\u4FDD\u5B58")))},ea=()=>{const ya={id:Math.random(),item_type:"SINGLE",open:!1,name:"",qusList:["","","",""],activeQusEditor:null,qusAnswer:[],analysis:""};za(va.concat(ya))},_a=(ya,ra,xa)=>{var qn;const nr=(0,Ta.cloneDeep)(va);ya==="open"&&(nr[ra].open=!nr[ra].open),ya==="delete"&&nr.splice(ra,1),ya==="value"&&(nr[ra].name=xa),ya==="answer"&&(nr[ra].qusAnswer=[xa]),ya==="edit"&&(nr[ra].activeQusEditor=xa),ya==="details"&&(nr[ra].qusList[nr[ra].activeQusEditor]=xa),ya==="addQus"&&(nr[ra].qusList=nr[ra].qusList.concat("")),ya==="deleteQus"&&(nr[ra].qusList=nr[ra].qusList.filter((vr,xr)=>xr!==xa),nr[ra].qusAnswer=(qn=nr[ra].qusAnswer)==null?void 0:qn.filter(vr=>vr!==xa)),ya==="analysis"&&(nr[ra].analysis=xa),ya==="score"&&(nr[ra].score=xa),za(nr)};return Rr.createElement("section",{className:Ea.wrap},!Jt&&Sr(),Jt&&or())};var It=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Bt)),Qt=x(11414),Zt={flex_box_center:"flex_box_center___dDNpp",flex_space_between:"flex_space_between___ovpjv",flex_box_vertical_center:"flex_box_vertical_center___oqAEt",flex_box_center_end:"flex_box_center_end___mHCIK",flex_box_column:"flex_box_column___GZMP2",posWarp:"posWarp___ZUxXl",pos:"pos___A7NKx",tips:"tips___ap6NV"},Mn=x(25965),Sn=x(24334),zn=Object.defineProperty,Oa=Object.defineProperties,An=Object.getOwnPropertyDescriptors,ua=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,mr=(me,pe,ie)=>pe in me?zn(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Fr=(me,pe)=>{for(var ie in pe||(pe={}))lr.call(pe,ie)&&mr(me,ie,pe[ie]);if(ua)for(var ie of ua(pe))er.call(pe,ie)&&mr(me,ie,pe[ie]);return me},Dr=(me,pe)=>Oa(me,An(pe)),Tr=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Mr=({data:me,exercise:pe,isDragDisabled:ie=!1,editorProps:dt={},onDragEnd:Dt=()=>{},dispatch:_e,markBtnVisible:Ut=!1,batchScore:at=[],reload:Oe=()=>{}})=>{const Pe=(0,a.useRef)(),Pn=(0,ye.useParams)(),[Zn,Xn]=Fe.default.useModal(),an=()=>{var ga,la,ka,Yt,Ca,ia,rr,ro,Lr,Ua,sn,tt,Za,va,za,ur;return[{name:"\u5355\u9009\u9898",type:0,count:(ga=me==null?void 0:me.exercise_types)==null?void 0:ga.q_singles,score:(la=me==null?void 0:me.exercise_types)==null?void 0:la.q_singles_scores,items:[]},{name:"\u591A\u9009\u9898",type:1,count:(ka=me==null?void 0:me.exercise_types)==null?void 0:ka.q_doubles,score:(Yt=me==null?void 0:me.exercise_types)==null?void 0:Yt.q_doubles_scores,items:[]},{name:"\u5224\u65AD\u9898",type:2,count:(Ca=me==null?void 0:me.exercise_types)==null?void 0:Ca.q_judges,score:(ia=me==null?void 0:me.exercise_types)==null?void 0:ia.q_judges_scores,items:[]},{name:"\u586B\u7A7A\u9898",type:3,count:(rr=me==null?void 0:me.exercise_types)==null?void 0:rr.q_nulls,score:(ro=me==null?void 0:me.exercise_types)==null?void 0:ro.q_nulls_scores,items:[]},{name:"\u7B80\u7B54\u9898",type:4,count:(Lr=me==null?void 0:me.exercise_types)==null?void 0:Lr.q_mains,score:(Ua=me==null?void 0:me.exercise_types)==null?void 0:Ua.q_mains_scores,items:[]},{name:"\u5B9E\u8BAD\u9898",type:5,count:(sn=me==null?void 0:me.exercise_types)==null?void 0:sn.q_shixuns,score:(tt=me==null?void 0:me.exercise_types)==null?void 0:tt.q_shixuns_scores,items:[]},{name:"\u7F16\u7A0B\u9898",type:6,count:(Za=me==null?void 0:me.exercise_types)==null?void 0:Za.q_pros,score:(va=me==null?void 0:me.exercise_types)==null?void 0:va.q_pros_scores,items:[]},{name:"\u7EC4\u5408\u9898",type:7,count:(za=me==null?void 0:me.exercise_types)==null?void 0:za.q_combinations,score:(ur=me==null?void 0:me.exercise_types)==null?void 0:ur.q_combination_scores,items:[]}]},wn=(ga,la,ka)=>{const Yt=Array.from(ga),[Ca]=Yt.splice(la,1);return Yt.splice(ka,0,Ca),Yt},aa=(ga,la,ka)=>{if(!ga.destination)return;const Yt=wn(la,ga.source.index,ga.destination.index);Dt(Yt,ka)},Aa=ga=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6807\u8BB0\u9519\u9898",params:ga}})},_n=(ga,la)=>{var ka,Yt,Ca;if(la===0)return a.createElement(zo,Fr({reload:Oe,editData:ga},ga));if(la===1)return a.createElement(xc,Fr({reload:Oe,editData:ga},ga));if(la===2)return a.createElement(Bu,Fr({reload:Oe,editData:ga},ga));if(la===3)return a.createElement(ls,Fr({reload:Oe,editData:ga},ga));if(la===4)return a.createElement(Ja,Fr({reload:Oe,editData:ga},ga));if(la===5)return a.createElement(sl,Fr({reload:Oe,editData:ga},ga));if(la===6)return a.createElement(No,Fr({editData:ga},ga));if(la===7)return a.createElement(It,Fr({handleAddCorrectAnswers:pa,handleMarkWrongQuestion:Aa,markBtnVisible:Ut,reload:Oe,editData:ga},ga));if(la===8)return a.createElement("div",{style:{padding:"20px 30px"}},a.createElement(Ya.Z,{value:ga.key+"."+((ka=ga==null?void 0:ga.program_attr)==null?void 0:ka.description)}),a.createElement(Ya.Z,{style:{paddingLeft:10},showProgramFill:!0,disabledFill:!0,value:Sn.Base64.decode(((Yt=ga==null?void 0:ga.program_attr)==null?void 0:Yt.code)||"")}),(Ca=ga==null?void 0:ga.standard_answer)==null?void 0:Ca.map(function(ia,rr){return a.createElement(re.Z,{key:rr,align:"middle",style:{marginTop:20}},a.createElement(ve.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",ia.choice_id,"\uFF09\uFF1A"),a.createElement(ve.Z,{flex:"1"},a.createElement(re.Z,{align:"middle",gutter:[1,1]},a.createElement(Se.default,{key:rr,disabled:!0,value:ia.answer_text||"- -"}))))}))},Wn=(ga,la,ka)=>a.createElement(Qt.Z5,{onDragEnd:Yt=>aa(Yt,ga,la)},a.createElement(Qt.bK,{droppableId:"droppable"},(Yt,Ca)=>a.createElement("div",Dr(Fr({ref:Yt.innerRef},Yt.droppableProps),{style:{width:"100%"}}),ga==null?void 0:ga.map((ia,rr)=>{var ro;const Lr=Fr(Dr(Fr({},ia),{key:rr+1,hideAction:!0,isPreview:!0,dragKey:la+"-"+rr}),dt);return a.createElement(Qt._l,{key:Lr==null?void 0:Lr.question_id,draggableId:(ro=Lr==null?void 0:Lr.question_id)==null?void 0:ro.toString(),index:rr,isDragDisabled:ie},(Ua,sn)=>{var tt;return a.createElement("aside",Fr(Fr({ref:Ua.innerRef},Ua.draggableProps),Ua.dragHandleProps),a.createElement("div",{className:Zt.posWarp,id:Lr.dragKey},_n(Lr,la),a.createElement(re.Z,{className:"pl30",align:"middle",gutter:20},Ut&&![5,6,7,8].includes(la)&&a.createElement(ve.Z,null,a.createElement(po.Z,{state:Lr==null?void 0:Lr.is_wrong,onClick:()=>Aa({value:Lr,type:la})})),[5,6,8].includes(la)&&(Lr==null?void 0:Lr.show_resubmit)&&a.createElement(ve.Z,null,a.createElement(Mn.C,{dataSource:Lr})),Ut&&[0].includes(la)&&a.createElement(ve.Z,null,a.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{pa({value:Lr})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),la===4&&((tt=pe==null?void 0:pe.commonHeader)==null?void 0:tt.teacher_permission)&&a.createElement(Ki,{questionInfo:Lr}),a.createElement(Jn.Z,null),!ie&&a.createElement("div",{className:Zt.pos},a.createElement("div",{className:Zt.tips},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u8BD5\u9898\u663E\u793A\u987A\u5E8F"))))})}),Yt.placeholder))),Ga=ga=>({\u5355\u9009\u9898:2,\u591A\u9009\u9898:5,\u586B\u7A7A\u9898:2,\u5224\u65AD\u9898:2,\u7B80\u7B54\u9898:10,\u7F16\u7A0B\u9898:10,\u5B9E\u8BAD\u9898:5,\u7EC4\u5408\u9898:10})[ga]||0,On=(ga,la)=>{Pe.current=Ga(la),Fe.default.confirm({centered:!0,title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u6570",content:a.createElement("div",{className:""},a.createElement("span",null,la==="\u7EC4\u5408\u9898"?"\u7EC4\u5408\u9898\u4E2D\u7684\u6BCF\u5C0F\u9898":la,"\uFF1A"),a.createElement(Te.Z,{min:1,defaultValue:Pe.current,onChange:ka=>{Pe.current=ka}}),a.createElement("span",{className:"ml5"},"\u5206/\u9898"),a.createElement("br",null),la==="\u586B\u7A7A\u9898"&&a.createElement("div",{style:{color:"rgb(255, 0, 0)"}},"\u6BCF\u7A7A\u5206\u503C\u6309\u6BCF\u9898\u5206\u503C\u53D6\u5E73\u5747\u5206\u8BA1\u7B97")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Tr(void 0,null,function*(){(yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/batch_set_score.json`,{method:"post",body:{question_type:ga,score:Pe.current}})).status!==-1&&Oe()})})},pa=({value:ga}={})=>{var la,ka;let Yt=(ga==null?void 0:ga.standard_answer)||[];const Ca=Zn.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:a.createElement(a.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",(la=ga==null?void 0:ga.standard_answer)==null?void 0:la.map(ia=>{var rr;return(rr=Cr.k4)==null?void 0:rr[ia-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",a.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",a.createElement("br",null),a.createElement(Ne.default.Group,{className:"flex-col mt20",options:(ka=ga==null?void 0:ga.question_choices)==null?void 0:ka.map((ia,rr)=>{var ro;return{value:ia==null?void 0:ia.choice_position,label:a.createElement(Ya.Z,{className:"c-black font14",value:`${(ro=Cr.k4)==null?void 0:ro[rr]}. ${ia==null?void 0:ia.choice_text}`}),disabled:ia==null?void 0:ia.origin_standard_answer}}),defaultValue:Yt,onChange:ia=>{Yt=ia}})),onOk:()=>Tr(void 0,null,function*(){const ia=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/questions/${ga==null?void 0:ga.question_id}/add_standard_answers.json`,{method:"put",body:{standard_answer:Yt}});(ia==null?void 0:ia.status)===0&&(oe.ZP.success("\u4FEE\u6539\u6210\u529F"),_e({type:"exercise/editExercise",payload:{categoryId:Pn.categoryId,coursesId:Pn.coursesId}}))})})},Jt=function(){var ga;const la=an();return(ga=me==null?void 0:me.exercise_questions)==null||ga.forEach(function(Yt,Ca){var ia,rr,ro,Lr,Ua,sn,tt,Za,va,za,ur,Ha,Vr,Va,Da,Or;Yt.question_type===0&&((rr=(ia=la[Yt.question_type])==null?void 0:ia.items)==null||rr.push(Yt)),Yt.question_type===1&&((Lr=(ro=la[Yt.question_type])==null?void 0:ro.items)==null||Lr.push(Yt)),Yt.question_type===2&&((sn=(Ua=la[Yt.question_type])==null?void 0:Ua.items)==null||sn.push(Yt)),Yt.question_type===3&&((Za=(tt=la[Yt.question_type])==null?void 0:tt.items)==null||Za.push(Yt)),Yt.question_type===4&&((za=(va=la[Yt.question_type])==null?void 0:va.items)==null||za.push(Yt)),Yt.question_type===5&&((Ha=(ur=la[Yt.question_type])==null?void 0:ur.items)==null||Ha.push(Yt)),Yt.question_type===6&&((Va=(Vr=la[Yt.question_type])==null?void 0:Vr.items)==null||Va.push(Yt)),Yt.question_type===7&&((Or=(Da=la[Yt.question_type])==null?void 0:Da.items)==null||Or.push(Yt))}),me==null?void 0:me.map((Yt,Ca)=>{var ia,rr;return a.createElement(a.Fragment,{key:Ca},a.createElement("div",{className:"pl20",style:{display:"flex",alignItems:"center"}},a.createElement("span",{className:"font16 c-light-primary"},(0,ue.EM)(Ca+1),"\u3001",Yt.name),a.createElement("span",{className:"c-grey-999"},"\uFF08\u5171",Yt.count,"\u9898",(Yt==null?void 0:Yt.question_type)===7?`\uFF0C\u5305\u542B${Yt.sub_count}\u5C0F\u9898`:"","\uFF1B\u5171",Yt.score,"\u5206\uFF09"),(Yt.question_type==5||Yt.question_type==6)&&a.createElement("div",{style:{flex:1,textAlign:"end",paddingRight:20}},Yt.question_type==5&&a.createElement(Ne.default,{defaultChecked:(rr=(ia=pe==null?void 0:pe.editData)==null?void 0:ia.exercise)==null?void 0:rr.show_challenge_task_pass,onChange:ro=>Tr(this,null,function*(){let Lr=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:ro.target.checked}});(Lr==null?void 0:Lr.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),_e({type:"exercise/editExercise",payload:Fr({},Pn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Yt==null?void 0:Yt.question_type)===6&&a.createElement("span",{style:{marginLeft:20},onClick:()=>{var ro,Lr,Ua,sn;Fe.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:a.createElement("div",null,a.createElement(Ne.default,{defaultChecked:(Lr=(ro=pe==null?void 0:pe.editData)==null?void 0:ro.exercise)==null?void 0:Lr.show_hack_sets,onChange:tt=>Tr(this,null,function*(){let Za=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_sets:tt.target.checked}});(Za==null?void 0:Za.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Fr({},Pn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),a.createElement("br",null),a.createElement(Ne.default,{defaultChecked:(sn=(Ua=pe==null?void 0:pe.editData)==null?void 0:Ua.exercise)==null?void 0:sn.show_hack_description,onChange:tt=>Tr(this,null,function*(){let Za=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_description:tt.target.checked}});(Za==null?void 0:Za.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Fr({},Pn)}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),(at==null?void 0:at.includes(Yt==null?void 0:Yt.name))&&a.createElement(Ce.ZP,{onClick:()=>On(Yt==null?void 0:Yt.question_type,Yt==null?void 0:Yt.name),style:{float:"right"},type:"primary",ghost:!0},"\u6279\u91CF\u8BBE\u7F6E\u5F97\u5206")),Wn(Yt.items,Yt==null?void 0:Yt.question_type,Yt==null?void 0:Yt.name))})};return a.createElement("div",null," ",Jt(),Xn," ")};var to=(0,ye.connect)()(Mr),Go=x(60546),qo=x(12586),Fo=x(59301),Yo=Object.defineProperty,Cl=Object.getOwnPropertySymbols,mo=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Bo=(me,pe,ie)=>pe in me?Yo(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Xr=(me,pe)=>{for(var ie in pe||(pe={}))mo.call(pe,ie)&&Bo(me,ie,pe[ie]);if(Cl)for(var ie of Cl(pe))To.call(pe,ie)&&Bo(me,ie,pe[ie]);return me},no=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Xo=({exercise:me,loading:pe,dispatch:ie,activeTabs:dt})=>{var Dt;const _e=(0,ye.useParams)(),[Ut]=(0,a.useState)(Xr(Xr({},_e),{page:1,per_page:10})),{editData:at,commonHeader:{exercise_status:Oe}}=me;(0,a.useEffect)(()=>{dt==="2"&&Pe()},[_e.categoryId,dt]);const Pe=()=>no(void 0,null,function*(){yield(0,Pr.w)(_e.coursesId,_e.categoryId,"",2,3),ie({type:"exercise/editExercise",payload:Xr({},Ut)})});return(0,a.useEffect)(()=>(ie({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),ie({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),()=>{ie({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),ie({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),Fo.createElement("div",null,Fo.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},Fo.createElement(b.Z,{style:{marginRight:5,color:"#E99237"}}),Fo.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),Fo.createElement(Ce.ZP,{onClick:()=>{ie({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[_e.categoryId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Fo.createElement("section",{className:"minH1050 mb20 pt30 pb30 pl60 bg-white relative"},Fo.createElement(Ft.Z,{spinning:pe["exercise/editExercise"]},Fo.createElement(Go.Z,{sealStyle:{left:-540},isPreview:!0,activeTabs:dt,showExportBtn:!0}),Fo.createElement(Jn.Z,null),Fo.createElement(to,{data:at==null?void 0:at.exercise_question_types,exercise:me,isDragDisabled:!0,markBtnVisible:Oe===3&&(((Dt=at==null?void 0:at.exercise)==null?void 0:Dt.is_creator)||(0,bt.Ny)())}),Fo.createElement(qo.Z,null))))};var Wl=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe.effects}))(Xo),ll={flex_box_center:"flex_box_center___VaA8k",flex_space_between:"flex_space_between___TqHqG",flex_box_vertical_center:"flex_box_vertical_center___lRanp",flex_box_center_end:"flex_box_center_end___BPjtN",flex_box_column:"flex_box_column___jWLBM",title:"title___L0cG8",search:"search____WeIQ",head:"head___xmSl4",row:"row___HJKId",btns:"btns___m0Vc7",sort:"sort___qMLQP"},Zo=x(26724),Dl=x.n(Zo),Yl=x(70414),ti=x(59477),Ir=x(59301),nu=Object.defineProperty,Xl=Object.defineProperties,fl=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Di=(me,pe,ie)=>pe in me?nu(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ei=(me,pe)=>{for(var ie in pe||(pe={}))nl.call(pe,ie)&&Di(me,ie,pe[ie]);if(au)for(var ie of au(pe))Xi.call(pe,ie)&&Di(me,ie,pe[ie]);return me},Uo=(me,pe)=>Xl(me,fl(pe)),Ko=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const $o=({exercise:me,loading:pe,dispatch:ie,cb:dt})=>{const Dt=Uo(Ei({},(0,ye.useParams)()),{page:0,limit:50,one:null,two:null,save_one:null,save_two:null,sort:null,course_group:"",student_id:"",realname:"",save_course_group:"",save_student_id:"",save_realname:"",commit_types:[0],course_group_ids:[]});let[_e,Ut]=(0,a.useState)(Ei({},Dt)),[at,Oe]=(0,a.useState)([]);const[Pe,Pn]=(0,a.useState)(!0),[Zn,Xn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(0),[aa,Aa]=(0,a.useState)(!1),[_n,Wn]=(0,a.useState)([]),[Ga,On]=(0,a.useState)([]),[pa,Jt]=(0,a.useState)([]),[ga]=de.default.useForm(),[la,ka]=(0,a.useState)("");(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u91CD\u505A"&&(at=[],Yt(),Ca(1))},[me.actionTabs.key,_e.commit_types]);const Yt=()=>Ko(void 0,null,function*(){var Za,va;const za=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/header_info.json`,{method:"get"});(za==null?void 0:za.status)===0&&(Jt([...(Za=za==null?void 0:za.data)==null?void 0:Za.course_groups]),On([...(va=za==null?void 0:za.data)==null?void 0:va.course_groups]))}),Ca=Za=>Ko(void 0,null,function*(){var va;Za==1&&(at=[]),Pn(!0),_e.page=Za,Xn(!0);const za=yield ie({type:"exercise/getRedoModal",payload:Uo(Ei({},_e),{commit_types:_e.commit_types.includes(0)?[]:_e.commit_types,score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});((va=za==null?void 0:za.exercise_users)==null?void 0:va.length)<_e.limit&&Pn(!1),za!=null&&za.exercise_users&&(Ut(Ei({},_e)),Oe([...at,...za==null?void 0:za.exercise_users]),Xn(!1))}),ia=Za=>{if(Za.target.checked){const va=at==null?void 0:at.map(za=>za.user_id);Wn(va)}else Wn([])},rr=Za=>{_e.course_group=_e.save_course_group,_e.student_id=_e.save_student_id,_e.realname=_e.save_realname,Ut(Ei({},_e)),Oe([]),Ca(1)},ro=()=>{_e.one=_e.save_one,_e.two=_e.save_two,wn(an+1),Ut(Ei({},_e)),Oe([]),Ca(1)},Lr=()=>{(_e==null?void 0:_e.sort)===null?_e.sort="asc":(_e==null?void 0:_e.sort)==="asc"?_e.sort="desc":(_e==null?void 0:_e.sort)==="desc"&&(_e.sort=null),Ut(Ei({},_e)),Oe([]),Ca(1)},Ua=()=>{let Za=!1;const va=()=>Ko(void 0,null,function*(){(yield(0,ne.q6)(Uo(Ei({},_e),{is_reset:Za,user_ids:_n}))).status===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),dt&&dt(),ie({type:"exercise/setActionTabs",payload:{}})),ie({type:"exercise/getCommonHeader",payload:Ei({},_e)})});Fe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Ir.createElement("div",{style:{margin:"13px 0 0px 0"}},Ir.createElement("p",null,"\u786E\u5B9A\u5C06\u9009\u4E2D\u7684\u5B66\u751F\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Ir.createElement(Ne.default,{onChange:za=>{Za=za.target.checked}},"\u6E05\u7A7A\u5B66\u751F\u7684\u7B54\u9898\u8BB0\u5F55")),onOk:va})},sn=Za=>{const va=parseInt(Za);return isNaN(va)?"":va},tt=(Za,va)=>Za===0?Ir.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Za===1?Ir.createElement("span",{style:{color:"#DF3042"}},!va.is_make_up&&"\u8003\u8BD5\u4E2D",va.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Za===2?Ir.createElement("span",{style:{color:"#5AB891"}},!va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377",va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):Ir.createElement("span",{style:{color:"#5AB891"}},!va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)");return Ir.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u91CD\u505A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",width:1e3,bodyStyle:{minHeight:200},confirmLoading:aa,afterClose:()=>{Ut(Ei({},Dt)),Wn([]),Oe([]),ka(""),On([]),Jt([]),ga.resetFields()},onOk:Ua,onCancel:()=>{ie({type:"exercise/setActionTabs",payload:{}})}},Ir.createElement(re.Z,{align:"middle",gutter:20},Ir.createElement(ve.Z,null,Ir.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Ir.createElement(ve.Z,null,Ir.createElement(Ne.default,{className:"mr10",onChange:Za=>{Ut(Uo(Ei({},_e),{commit_types:[0]}))},checked:_e==null?void 0:_e.commit_types.includes(0)},"\u5168\u90E8"),Ir.createElement(Ne.default.Group,{options:[{label:"\u5DF2\u4EA4\u5377",value:1},{label:"\u5DF2\u4EA4\u5377\uFF08\u5F3A\u5236\uFF09",value:2},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54",value:3},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54\uFF08\u5F3A\u5236\uFF09",value:4}],value:_e.commit_types,onChange:Za=>{Ut(Uo(Ei({},_e),{commit_types:Za}))}}))),Ir.createElement(re.Z,{className:"mt20 mb20",align:"middle",justify:"space-between"},Ir.createElement(ve.Z,null,Ir.createElement(re.Z,{align:"middle",gutter:20},Ir.createElement(ve.Z,null,Ir.createElement("span",null,"\u5206\u6570\u533A\u95F4")),Ir.createElement(ve.Z,null,Ir.createElement(Te.Z,{parser:sn,onChange:Za=>{Ut(Uo(Ei({},_e),{save_one:Za}))},value:_e.save_one,min:0}),Ir.createElement("span",{className:"mr10 ml10"},"-"),Ir.createElement(Te.Z,{parser:sn,onChange:Za=>{Ut(Uo(Ei({},_e),{save_two:Za}))},value:_e.save_two,min:0})),Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{onClick:()=>{Ut(Uo(Ei({},_e),{one:"",two:"",save_one:"",save_two:""}))}},"\u6E05\u7A7A")),Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{type:"primary",onClick:ro},"\u786E\u8BA4")))),Ir.createElement(ve.Z,null,Ir.createElement(re.Z,{wrap:!1,align:"middle",gutter:20},Ir.createElement(ve.Z,null,Ir.createElement(Se.default.Search,{value:_e.save_realname,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",onChange:Za=>{_e.save_realname=Za.target.value,Ut(Ei({},_e))},onSearch:rr})),Ir.createElement(ve.Z,null,Ir.createElement(y.Z,{dropdownRender:Za=>Ir.createElement("div",{className:"bg-white",style:{maxWidth:200,border:"1px solid #f7f7f7"}},Ir.createElement(de.default,{form:ga,initialValues:{course_group_ids:[]},onValuesChange:va=>{Ut(Ei(Ei({},_e),va))},onFinish:()=>{Ca(1)}},Ir.createElement("div",{style:{maxHeight:500,overflow:"auto",padding:"10px"}},Ir.createElement(Se.default,{allowClear:!0,suffix:Ir.createElement("i",{className:`iconfont icon-sousuo9 font14 ${ll.searchIcon}`}),className:ll.search,placeholder:"\u73ED\u7EA7\u540D\u79F0\u68C0\u7D22",size:"middle",value:la,onChange:va=>Ko(void 0,null,function*(){var za;ka((za=va==null?void 0:va.target)==null?void 0:za.value),Jt([...Ga.filter(ur=>{var Ha;return(Ha=ur==null?void 0:ur.exercise_group_name)==null?void 0:Ha.includes(va.target.value)})])})}),Ir.createElement(de.default.Item,{name:"course_group_ids",valuePropName:"checked"},Ir.createElement(Ne.default.Group,null,Ir.createElement(Me.Z,{direction:"vertical",size:10},pa==null?void 0:pa.map((va,za)=>Ir.createElement(Ne.default,{key:za,value:va==null?void 0:va.exercise_group_id},va==null?void 0:va.exercise_group_name)))))),Ir.createElement(re.Z,{wrap:!1,align:"middle"},Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{type:"link",htmlType:"submit"},"\u786E\u8BA4")),Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{type:"link",htmlType:"reset",onClick:()=>{Ut(Uo(Ei({},_e),{course_group_ids:[]})),Jt([...Ga]),ka("")}},"\u91CD\u7F6E")))))},Ir.createElement("a",{onClick:Za=>Za.preventDefault()}," ",Ir.createElement(Me.Z,null," \u5206\u73ED ",Ir.createElement("i",{className:"iconfont icon-a-bianzu11 font12"})," "))))))),Ir.createElement("div",{className:ll.head,style:(at==null?void 0:at.length)>5?{paddingRight:15}:{width:944}},Ir.createElement("div",null,Ir.createElement(Ne.default,{className:"font14",checked:at!=null&&at.length?(_n==null?void 0:_n.length)===(at==null?void 0:at.length):!1,onChange:ia},"\u59D3\u540D")),Ir.createElement("div",null,Ir.createElement("span",null,"\u5B66\u53F7")),Ir.createElement("div",null,Ir.createElement("span",null,"\u5206\u73ED")),Ir.createElement("div",null,Ir.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Ir.createElement("div",{className:ll.sort,onClick:Lr},Ir.createElement("span",null,"\u6210\u7EE9\u5206\u6570"),Ir.createElement("aside",null,Ir.createElement(ti.Z,{style:{color:(_e==null?void 0:_e.sort)==="asc"?"#0152d9":"#bfbfbf"}}),Ir.createElement(te.Z,{style:{color:(_e==null?void 0:_e.sort)==="desc"?"#0152d9":"#bfbfbf"}})))),Ir.createElement("div",{style:{height:260,overflow:"auto"}},Ir.createElement(Dl(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!Zn&&Pe&&Ca((_e==null?void 0:_e.page)+1)},hasMore:!Zn&&Pe,useWindow:!1},Ir.createElement(Ne.default.Group,{style:{width:"100%"},value:_n,onChange:Za=>{console.log(Za,444),Wn(Za)}},at==null?void 0:at.map(function(Za,va){return Ir.createElement("div",{key:Za.user_id,className:ll.row},Ir.createElement("div",null,Ir.createElement(Ne.default,{className:"font14",value:Za.user_id},Za.user_name)),Ir.createElement("div",null,Za.student_id),Ir.createElement("div",null,Za.course_group_name),Ir.createElement("div",null,tt(Za.commit_status,Za)),Ir.createElement("div",{className:"pl10"},Ir.createElement("span",null,Za.user_score)))})),Ir.createElement(Ft.Z,{className:"edu-ant-spin",spinning:Zn}))),Ir.createElement("div",{className:ll.title},Ir.createElement("img",{style:{objectFit:"contain"},src:Yl.Z}),"\u6253\u56DE\u4E4B\u540E\u5B66\u751F\u5C06\u5F97\u5230\u4E00\u6B21\u91CD\u65B0\u7B54\u9898\u7684\u673A\u4F1A\u3002"))};var Ho=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe}))($o),Po={flex_box_center:"flex_box_center___PohMo",flex_space_between:"flex_space_between___ZyAuO",flex_box_vertical_center:"flex_box_vertical_center___eh0B6",flex_box_center_end:"flex_box_center_end___O1yBK",flex_box_column:"flex_box_column___rCOUW",customModal:"customModal___gYgfZ",checking:"checking___70GE9",content:"content___FtAfN",group:"group___kIfCW",footer:"footer___A6aEg",scoremodal:"scoremodal___FKFBU",selectWrapper:"selectWrapper___J8t1k",allqingchu:"allqingchu___UjfNm",title:"title___tB39D",search:"search___Pnsp3",searchIcon:"searchIcon___mVW2x"},qa=x(59301),vo=Object.defineProperty,pl=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,Tu=(me,pe,ie)=>pe in me?vo(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Wu=(me,pe)=>{for(var ie in pe||(pe={}))Jl.call(pe,ie)&&Tu(me,ie,pe[ie]);if(pl)for(var ie of pl(pe))Qu.call(pe,ie)&&Tu(me,ie,pe[ie]);return me},Su=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Au=({exercise:me,dispatch:pe,onOk:ie})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Ut,at]=(0,a.useState)(),[Oe,Pe]=(0,a.useState)([]),[Pn,Zn]=(0,a.useState)(!0),[Xn,an]=(0,a.useState)(!1),[wn]=de.default.useForm(),[aa,Aa]=(0,a.useState)({page:1,limit:10,is_random:"",exercise_status:""}),_n=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",render:(Jt,ga,la)=>aa.limit*(aa.page-1)+la+1},{title:"\u8865\u8003\u8BD5\u5377",dataIndex:"exercise_name",key:"id",width:200,render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u7C7B\u578B",dataIndex:"is_random",key:"is_random",render:(Jt,ga,la)=>qa.createElement("span",null,Jt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377")},{title:"\u8BD5\u9898\u6570",dataIndex:"question_count",key:"question_count",render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u603B\u5206",dataIndex:"total_score",key:"total_score",render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u8865\u8003\u4EBA\u6570",dataIndex:"exercise_user_count",key:"exercise_user_count",render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",render:(Jt,ga,la)=>qa.createElement("span",null,Jt===1?"\u672A\u5F00\u59CB":Jt===2?"\u8003\u8BD5\u4E2D":"\u5DF2\u622A\u6B62")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",width:80,align:"right",render:(Jt,ga,la)=>qa.createElement("div",{style:{flex:1,textAlign:"right"}},qa.createElement("a",{onClick:()=>{(0,ue.xg)(`/classrooms/${dt.coursesId}/exercise/${ga.id}/detail?random=${ga.is_random}`)}},"\u67E5\u770B"))}].filter(Jt=>!!Jt);(0,a.useEffect)(()=>{me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55"&&Wn(aa)},[me.actionTabs.key]);const Wn=Jt=>Su(void 0,null,function*(){var ga,la;Zn(!0);const ka=yield(0,fe.ZP)(`/api/exercises/${dt==null?void 0:dt.categoryId}/make_up_records.json`,{method:"get",params:Wu({},Jt)});ka&&(_e(((ga=ka==null?void 0:ka.data)==null?void 0:ga.make_up_exercises)||[]),at((la=ka==null?void 0:ka.data)==null?void 0:la.count)),Zn(!1)}),Ga=()=>{pe({type:"exercise/setActionTabs",payload:{}})},On=()=>{ie(Oe)},pa=Jt=>{Pe(Jt),an(Jt.length===Dt.length)};return qa.createElement(Fe.default,{centered:!0,afterClose:()=>{Pe([]),an(!1),wn.resetFields(),Aa({page:1,limit:10,is_random:"",exercise_status:""})},title:"\u8865\u8003\u8BB0\u5F55",className:Po.scoremodal,open:me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55",width:1e3,onOk:()=>pe({type:"exercise/setActionTabs",payload:{}}),onCancel:Ga},qa.createElement(de.default,{layout:"inline",form:wn,onValuesChange:(Jt,ga)=>{console.log(Jt),!(Jt.keywords||Jt.keywords==="")&&wn.submit()},onFinish:Jt=>{console.log(Jt),Aa(Wu(Wu({},aa),Jt)),Wn(Wu(Wu({},aa),Jt))},initialValues:{is_random:"",exercise_status:""}},qa.createElement(de.default.Item,{name:"is_random"},qa.createElement(dn.default,{className:Po.selectWrapper,placeholder:"\u5168\u90E8\u7C7B\u578B",style:{width:160},size:"middle"},qa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u7C7B\u578B"),qa.createElement(dn.default.Option,{value:0},"\u4EBA\u5DE5\u7EC4\u5377"),qa.createElement(dn.default.Option,{value:1},"\u968F\u673A\u7EC4\u5377"))),qa.createElement(de.default.Item,{name:"exercise_status"},qa.createElement(dn.default,{className:Po.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:160},size:"middle"},qa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u72B6\u6001"),qa.createElement(dn.default.Option,{value:1},"\u672A\u5F00\u59CB"),qa.createElement(dn.default.Option,{value:2},"\u8003\u8BD5\u4E2D"),qa.createElement(dn.default.Option,{value:3},"\u5DF2\u622A\u6B62"))),qa.createElement(de.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keywords"},qa.createElement(Se.default.Search,{className:Po.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,suffix:qa.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Po.searchIcon}`,onClick:()=>wn.submit()}),onSearch:Jt=>{wn.submit()}}))),qa.createElement(z.default,{style:{marginTop:20,marginBottom:15},scroll:{y:260},dataSource:Dt,pagination:!1,loading:Pn,columns:_n}),(Dt==null?void 0:Dt.length)>0&&qa.createElement(xe.Z,{current:aa.page,total:Ut,style:{marginBottom:20},defaultPageSize:aa.limit,showTotal:Jt=>qa.createElement("span",null,"\u5171\xA0",qa.createElement("span",{style:{color:"#165DFF"}},Jt),"\xA0\u6761\u6570\u636E"),pageSize:aa.limit,onChange:(Jt,ga)=>{aa.page=Jt,aa.limit=ga,Aa(Wu({},aa)),Wn(Wu({},aa))}}))};var al=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Au),Hu={info:"info___FCajO",info_name:"info_name___nVPNy",info_studeng_id:"info_studeng_id___afKvd",info_group:"info_group___xadCu"},as="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfQlwW8eZZvcDQIIXeIgnCJ4iRUK8SUmUKFmSZcty4nicTCaZOJ44lgk6s1u73kxqZ7d2Z1Nj18y6tnYmm0ylslOxSMtSZqxax0msXJYlS6Jk8SZAALzFSyRx8BQJgARIAni91TSAgQiAeHh4OEi8rlJREvv4++v+Xh//0RCwiUWARcAjApDFhkWARcAzAixB2NnBIrALAixB2OnBIsAShJ0DLAL0EGBXEHq4saUiBAGWIBEy0Gw36SHAEoQebmypCEGAJUiEDDTbTXoIsAShhxtbKkIQYAkSIQPNdpMeAixB6OHGlooQBFiCRMhAs92khwBLEHq4saUiBAGWIBEy0Gw36SHAEoQebmypCEGAJUiEDDTbTXoIsAShhxtbKkIQYAkSIQPNdpMeAixB6OHGlooQBFiCRMhAs92khwBLEHq4saUiBAGWIBEy0Gw36SHAEoQebmypCEGAJUiEDDTbTXoIsAShhxtbKkIQYAkSIQPNdpMeAixB6OHGlooQBFiCRMhAs92khwBLEHq4saUiBAGWIBEy0Gw36SHAEoQebnum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lIgQBliARMtBsN+khwBKEHm5sqQhBgCVIhAw02016CLAEoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEAT+Py6PXhNcWplkAAAAAElFTkSuQmCC",Wi=Object.defineProperty,Ji=Object.defineProperties,ru=Object.getOwnPropertyDescriptors,vu=Object.getOwnPropertySymbols,Pu=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,Vu=(me,pe,ie)=>pe in me?Wi(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Lu=(me,pe)=>{for(var ie in pe||(pe={}))Pu.call(pe,ie)&&Vu(me,ie,pe[ie]);if(vu)for(var ie of vu(pe))ci.call(pe,ie)&&Vu(me,ie,pe[ie]);return me},Ii=(me,pe)=>Ji(me,ru(pe)),cl=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Ou=({exercise:me,loading:pe,dispatch:ie,cb:dt})=>{const Dt=Ii(Lu({},(0,ye.useParams)()),{page:0,limit:20});let[_e,Ut]=(0,a.useState)(Lu({},Dt)),[at,Oe]=(0,a.useState)([]),[Pe,Pn]=(0,a.useState)({});const[Zn,Xn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(!0);(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55"&&(at=[],Aa(1))},[me.actionTabs.key]);const aa=[{title:"\u6253\u56DE\u6B21\u6570",ellipsis:!0,dataIndex:"index",align:"center",render:(_n,Wn,Ga)=>a.createElement(De.Z,{placement:"bottom",title:Ga+1},a.createElement("span",null,Ga+1))},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"submission_time",ellipsis:!0,align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:Qe()(_n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Qe()(_n).format("YYYY-MM-DD HH:mm")))},{title:"\u6253\u56DE\u65F6\u95F4",dataIndex:"created_at",align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:Qe()(_n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Qe()(_n).format("YYYY-MM-DD HH:mm")))},{title:"\u8003\u8BD5\u5F97\u5206",dataIndex:"score",ellipsis:!0,align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:_n},a.createElement("span",null,_n||"--"))},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"option_user_name",ellipsis:!0,align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:_n},a.createElement("span",null,_n||"--"))}],Aa=_n=>cl(void 0,null,function*(){var Wn;_n==1&&(at=[]),Xn(!0),_e.page=_n,_e.student_id=me.actionTabs.student_id,wn(!0);const Ga=yield ie({type:"exercise/getRedoListModal",payload:Ii(Lu({},_e),{score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});Pn(Lu({},Ga)),((Wn=Ga==null?void 0:Ga.student_redo_lists)==null?void 0:Wn.length)<_e.limit&&Xn(!1),Ga!=null&&Ga.student_redo_lists&&(Ut(Lu({},_e)),Oe([...at,...Ga==null?void 0:Ga.student_redo_lists]),wn(!1))});return a.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u8BB0\u5F55",open:me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55",width:1e3,bodyStyle:{minHeight:300},cancelButtonProps:{style:{display:"none"}},okButtonProps:{style:{display:"none"}},afterClose:()=>{Ut(Lu({},Dt)),Oe([])},onCancel:()=>{ie({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:Hu.info},a.createElement("div",{className:Hu.info_name},"\u59D3\u540D\uFF1A",(Pe==null?void 0:Pe.name)||"--"),a.createElement("div",{className:Hu.info_studeng_id},"\u5B66\u53F7\uFF1A",(Pe==null?void 0:Pe.student_id)||"--"),a.createElement("div",{className:Hu.info_group},"\u5206\u73ED\uFF1A",(Pe==null?void 0:Pe.course_group_name)||"--")),(at==null?void 0:at.length)===0&&!an&&a.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},a.createElement("img",{src:as,width:"100",alt:""}),a.createElement("br",null),a.createElement("p",{className:"mt20"},"\u8BE5\u5B66\u751F\u65E0\u6253\u56DE\u8BB0\u5F55!")),((at==null?void 0:at.length)>0||an)&&a.createElement("section",null,a.createElement("div",{className:"flexd-table-header mt20"},a.createElement(z.default,{pagination:!1,dataSource:[],columns:aa})),a.createElement("div",{style:{maxHeight:170,overflow:"auto"}},a.createElement(Dl(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!an&&Zn&&Aa((_e==null?void 0:_e.page)+1)},hasMore:Zn,useWindow:!1},a.createElement(z.default,{loading:an,showHeader:!1,pagination:!1,rowKey:"submission_time",dataSource:at,columns:aa})))))};var hu=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe}))(Ou),Ns=x(72936),As=x(74768),$u={flex_box_center:"flex_box_center___WY2F6",flex_space_between:"flex_space_between___iUTlt",flex_box_vertical_center:"flex_box_vertical_center___mDkSS",flex_box_center_end:"flex_box_center_end___Wn6Ih",flex_box_column:"flex_box_column___fErgP",customModal:"customModal___WBifT",checking:"checking___THUYH",content:"content___OYuOv",group:"group___mn5IG",footer:"footer___yBjyD"},rs=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const yu=({exercise:me,dispatch:pe,onOk:ie})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Ut,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)(!0),[Pn,Zn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"&&Xn()},[me.actionTabs.key]);const Xn=()=>rs(void 0,null,function*(){Pe(!0);const Aa=yield(0,fe.ZP)(`/api/courses/${dt==null?void 0:dt.coursesId}/exercises/exercise_course_groups.json`,{method:"get",params:{id:dt==null?void 0:dt.categoryId}});Aa&&_e((Aa==null?void 0:Aa.course_groups)||[]),Pe(!1)}),an=()=>{pe({type:"exercise/setActionTabs",payload:{}})},wn=()=>{ie(Ut)},aa=Aa=>{at(Aa),Zn(Aa.length===Dt.length)};return a.createElement(Fe.default,{centered:!0,afterClose:()=>{at([]),Zn(!1)},title:"\u4EE3\u7801\u67E5\u91CD",open:me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD",footer:null,width:718,wrapClassName:$u.customModal,onCancel:an},a.createElement("aside",{className:$u.checking},a.createElement("div",{className:$u.content},a.createElement("div",{className:$u.group},Dt.length>0?a.createElement("p",null,"\u9009\u62E9\u73ED\u7EA7\uFF1A"):a.createElement("p",null,"\u6682\u65E0\u5206\u73ED"),a.createElement(Ne.default.Group,{value:Ut,onChange:aa},Dt.map(Aa=>a.createElement(Ne.default,{key:Aa.id,value:Aa.id},Aa.name))))),a.createElement("div",{className:$u.footer},a.createElement(Ne.default,{checked:Pn,onChange:Aa=>{const _n=Aa.target.checked?Dt.map(Wn=>Wn.id):[];at(_n),Zn(Aa.target.checked)}},"\u5168\u9009"),a.createElement(Ce.ZP,{onClick:an},"\u53D6\u6D88"),a.createElement(Ce.ZP,{onClick:wn,type:"primary"},"\u786E\u8BA4"))))};var bu=(0,ye.connect)(({exercise:me})=>({exercise:me}))(yu),ks=x(24528),Ll={flex_box_center:"flex_box_center___Onpg9",flex_space_between:"flex_space_between___nYRpC",flex_box_vertical_center:"flex_box_vertical_center___NGA7H",flex_box_center_end:"flex_box_center_end___a2dUm",flex_box_column:"flex_box_column___c5CN2",formDom:"formDom___ahHwX",form:"form___TDc55",fjpy:"fjpy___dshUa",tips:"tips___sHetw",buttonFixed:"buttonFixed___oKPiL",buttonWrap:"buttonWrap___LDtpG",button:"button___ydPRd",scoreSettingWrapper:"scoreSettingWrapper___L7weV",ipItem:"ipItem___nAf_u",ipWrp:"ipWrp___x3LTQ",tagWrap:"tagWrap___PMN4b",tag:"tag___Auf1J",padding:"padding___veqnd",unlockKeyWrapper:"unlockKeyWrapper___UOERJ",unlockKeyInput:"unlockKeyInput___ItI9I",mb40:"mb40___eMjps",mb28:"mb28___ZxJPY",mainRuleText:"mainRuleText___U5cJS",minorRuleText:"minorRuleText___aZezx",contentInterval:"contentInterval___slPV9",CompetitionsListzhezhao:"CompetitionsListzhezhao___bTlUp",numberInput:"numberInput____ONIt",publishRuleIndex:"publishRuleIndex___s2cVA",publishRuleContent:"publishRuleContent___HohmS",groupSelector:"groupSelector___Zxqsw",addAndDelete:"addAndDelete___saTVM",deleteIcon:"deleteIcon___vnkck",addIcon:"addIcon___Yz7Ef",cancelBtn:"cancelBtn___p8Klw",submitBtn:"submitBtn___pmm2G",remindForm:"remindForm___K6X21",remindItem:"remindItem___Z7rRb",remindInput:"remindInput___r_wq3",addRemind:"addRemind___jbnIp",disabled:"disabled___ebijK",removeStyle:"removeStyle___ObL0w",new_title:"new_title___Te4vd",multiple_select:"multiple_select___K8cHJ",title_icon:"title_icon___s6qSK",title:"title___N_aja"},Du=x(59301),Ds=Object.defineProperty,Us=Object.defineProperties,$c=Object.getOwnPropertyDescriptors,Pi=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,Yu=Object.prototype.propertyIsEnumerable,Fu=(me,pe,ie)=>pe in me?Ds(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,os=(me,pe)=>{for(var ie in pe||(pe={}))iu.call(pe,ie)&&Fu(me,ie,pe[ie]);if(Pi)for(var ie of Pi(pe))Yu.call(pe,ie)&&Fu(me,ie,pe[ie]);return me},Xu=(me,pe)=>Us(me,$c(pe)),js=({disabled:me,time:pe})=>Du.createElement(de.default.List,{name:"exercise_events",rules:[{validator(ie,dt){var Dt,_e;const Ut=new Set;for(const at of dt){if(Ut.has(at.reminder_time))return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u5141\u8BB8\u91CD\u590D\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E"));if(at.reminder_time>pe)return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u7B54\u9898\u65F6\u957F"));if(Ut.add(at.reminder_time),!((_e=(Dt=at.reminder_content)==null?void 0:Dt.trim())!=null&&_e.length))return Promise.reject(new Error("\u63D0\u9192\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ie,{add:dt,remove:Dt})=>Du.createElement("div",{className:Ll.remindForm},ie.length>0&&Du.createElement("div",null,ie.map((_e,Ut)=>Du.createElement(re.Z,{key:_e.key,align:"middle",wrap:!1,className:Ll.remindItem},Du.createElement("span",{className:"mr10",style:{marginLeft:"32px"}},Ut+1,".\u7B54\u9898\u7ED3\u675F\u524D"),Du.createElement(ve.Z,null,Du.createElement(de.default.Item,Xu(os({},_e),{name:[_e.name,"reminder_time"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u65F6\u95F4"}],noStyle:!0}),Du.createElement(Te.Z,{precision:0,min:1,disabled:me,addonAfter:"\u5206\u949F",className:Ll.remindInput}))),Du.createElement("span",{className:"mr10 ml10"},"\u8FDB\u884C\u63D0\u9192\uFF0C\u63D0\u9192\u5185\u5BB9\u4E3A"),Du.createElement(ve.Z,{flex:1},Du.createElement(de.default.Item,Xu(os({},_e),{name:[_e.name,"reminder_content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u5185\u5BB9"}],noStyle:!0}),Du.createElement(Se.default,{className:Ll.remindInput,disabled:me,showCount:!0,maxLength:100}))),Du.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187",opacity:me?.5:1},onClick:()=>{me||dt({reminder_time:""})}}),Du.createElement("i",{className:"iconfont icon-shanjian1",style:{color:"#E30000",cursor:"pointer",fontSize:16,visibility:me?"hidden":"visible"},onClick:()=>Dt(_e.name)})))),ie.length<5&&Du.createElement(re.Z,{style:{marginLeft:"30px"}},Du.createElement(ve.Z,{className:`${Ll.addRemind} ${me?Ll.disabled:""}`,onClick:()=>{me||dt({reminder_time:""})}},Du.createElement("i",{className:"iconfont icon-tianjiashitixiaojiahao mr5 font14"}),"\u6DFB\u52A0\u7B54\u9898\u63D0\u9192")))),cc=x(41996),jc=x(66457),ed=x(83028),Zc=x(60979),Co=x(59301),Hc=Object.defineProperty,dc=Object.defineProperties,nc=Object.getOwnPropertyDescriptors,vd=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,td=Object.prototype.propertyIsEnumerable,gc=(me,pe,ie)=>pe in me?Hc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Cs=(me,pe)=>{for(var ie in pe||(pe={}))mc.call(pe,ie)&&gc(me,ie,pe[ie]);if(vd)for(var ie of vd(pe))td.call(pe,ie)&&gc(me,ie,pe[ie]);return me},fc=(me,pe)=>dc(me,nc(pe)),ac=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const{RangePicker:pc}=xn.default,{Option:zc}=dn.default,Sd=({user:me,classroomList:pe,exercise:ie,globalSetting:dt,loading:Dt,dispatch:_e,changeActive:Ut})=>{var at,Oe,Pe,Pn,Zn,Xn,an,wn,aa,Aa,_n,Wn,Ga;const{workSetting:On,commonHeader:pa}=ie,Jt=(0,ye.useParams)();Jt.category=Jt.categoryId;const[ga,la]=(0,a.useState)(!1),[ka,Yt]=(0,a.useState)(!1),[Ca,ia]=(0,a.useState)(),[rr,ro]=(0,a.useState)({});let[Lr,Ua]=(0,a.useState)([]),[sn,tt]=(0,a.useState)({unified_setting:!1,publish_time:"",end_time:"",group_settings:[],time:-1,enable_last_times:!1,last_times:1,open_make_up:!1,unified_make_up:!1,make_up_score:0,group_make_ups:[],miss_exam_count:0,no_passing_count:0,is_make_up_exercise:!1,exercise_status:1,is_appoint_user:!1,is_no_passing_user:!1,is_miss_exam_user:!1,enable_answer_time:!1,answer_time:"",exercise_type:1,simulate_exercise_num:3,show_acm:!1});const[Za,va]=(0,a.useState)(1),[za,ur]=(0,a.useState)(!1),[Ha,Vr]=(0,a.useState)(!1),[Va,Da]=(0,a.useState)(!1),[Or,Sr]=(0,a.useState)(!1),[or,ea]=(0,a.useState)([]),[_a,ya]=(0,a.useState)([]),[ra,xa]=(0,a.useState)(!1),[qn,nr]=(0,a.useState)(null),[vr,xr]=(0,a.useState)({});(0,a.useEffect)(()=>{((pa==null?void 0:pa.exercise_status)==="5"||pa!=null&&pa.appraise_label||(0,bt.aQ)())&&la(!0)},[pa]),(0,a.useEffect)(()=>{Zr()},[On]),(0,a.useEffect)(()=>{(0,bt.dE)()||ho()},[]),(0,a.useEffect)(()=>{ie.actionTabs.key=="\u8C03\u6574tabs\u9009\u4E2D"&&Ut("2")},[ie.actionTabs.key]);function ho(){return ac(this,null,function*(){const eo=yield(0,fe.ZP)(`/api/courses/${Jt==null?void 0:Jt.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:Jt==null?void 0:Jt.coursesId}});ia(eo==null?void 0:eo.alert)})}const Eo=eo=>{var Kl;const Ui=sn.publish_time;if(!Ui||(Kl=On==null?void 0:On.exercise)!=null&&Kl.publish_time)return;let mu;eo===1?mu=Qe()(Ui).add(120,"minutes"):mu=Qe()(Ui).add(7,"days"),sn.end_time=mu,tt(Object.assign({},sn))},Zr=()=>{var eo,Kl,Ui,mu,Uu;console.log("\u53D6\u6D88");const su=JSON.parse(JSON.stringify(On));if(Object.keys(sn).forEach(jl=>{var Nu;sn[jl]=(Nu=su==null?void 0:su.exercise)==null?void 0:Nu[jl]}),Lr=((eo=su==null?void 0:su.published_course_groups)==null?void 0:eo.map(jl=>({course_group_id:jl.course_group_id,end_time:jl.course_end_time,publish_time:jl.course_publish_time})))||[{}],(Kl=On==null?void 0:On.course_groups)==null||Kl.map(jl=>{var Nu;(Nu=On==null?void 0:On.published_course_groups)==null||Nu.map((Vs,Gu)=>{var wr;(wr=Vs==null?void 0:Vs.course_group_id)!=null&&wr.includes(jl==null?void 0:jl.course_group_id)&&(jl.cilckkey=Gu,jl.isselect=!0)})}),ie.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"&&Gl(""),ur(sn.time!==-1),tt(sn),sn!=null&&sn.is_appoint_user){const jl=((mu=(Ui=su==null?void 0:su.exercise)==null?void 0:Ui.all_exercise_users)==null?void 0:mu.map(Nu=>Nu.user_id))||[];ea([...jl])}Vr(sn.is_appoint_user),Da(sn.is_miss_exam_user),Sr(sn.is_no_passing_user),Ua(Lr.length>0?Lr:[{}]),Iu.setFieldsValue({exercise_events:(Uu=su==null?void 0:su.exercise)==null?void 0:Uu.exercise_events})},sr=()=>ac(void 0,null,function*(){var eo,Kl,Ui,mu,Uu,su;if(((eo=me==null?void 0:me.userInfo)==null?void 0:eo.user_status)===2){(0,jc.Rd)();return}if((pa==null?void 0:pa.exercise_question_count)===0){oe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}const jl=JSON.parse(JSON.stringify(sn));console.log("\u63D0\u4EA4");try{yield Iu.validateFields();const Gu=Iu.getFieldsValue();jl.exercise_events=Gu.exercise_events}catch(Gu){Gu!=null&&Gu.errorFields&&(Iu.scrollToField((Ui=(Kl=Gu==null?void 0:Gu.errorFields)==null?void 0:Kl[0])==null?void 0:Ui.name,{behavior:"smooth",block:"center"}),oe.ZP.error((su=(Uu=(mu=Gu==null?void 0:Gu.errorFields)==null?void 0:mu[0])==null?void 0:Uu.errors)==null?void 0:su[0]));return}if(jl.categoryId=Jt.categoryId,jl.publish_time_groups=Lr,sn!=null&&sn.is_make_up_exercise){if(Ha&&or.length<=0||!Ha&&!(Va||Or)){oe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}jl.is_appoint_user=Ha,jl.is_miss_exam_user=Va,jl.is_no_passing_user=Or,Ha?jl.make_up_exercise_users=or==null?void 0:or.map(Gu=>({user_id:Gu})):jl.make_up_exercise_users=[]}if(!sn.unified_setting&&!(sn!=null&&sn.is_make_up_exercise)){if(!Lr.length){oe.ZP.warning("\u63D0\u4EA4\u5931\u8D25\uFF1A\u5206\u73ED\u53D1\u5E03\u8BBE\u7F6E\u4E0D\u80FD\u4E3A\u7A7A");return}delete jl.publish_time,delete jl.end_time,Lr.map(Gu=>{var wr;if(!Gu.course_group_id||!((wr=Gu.course_group_id)!=null&&wr.length))throw oe.ZP.error("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A");if(!Gu.publish_time||!Gu.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")})}else if(!sn.publish_time||!sn.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");let{exercise:Nu}=On;const Vs=()=>ac(void 0,null,function*(){if(sn.exercise_type==2&&(Nu.is_locked||Nu.open_camera||Nu.screen_open||Nu.login_restrict||Nu.ip_bind||Nu.ip_limit=="pub"||Nu.ip_limit=="inner"||Nu.identity_verify||Nu.open_phone_video_recording)){const wr=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:Co.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",Co.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Nu)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>ac(void 0,null,function*(){let dl=yield(0,Zc.Tr)({exercise_ids:[parseInt(Jt==null?void 0:Jt.categoryId)],course_id:Jt.coursesId,type:"exercise"});(dl==null?void 0:dl.student_count)===0?io(jl):(ro(jl),xr(dl)),Ut("2")}),onCancel:()=>ac(void 0,null,function*(){wr.destroy();let dl=yield(0,Zc.Tr)({exercise_ids:[Jt==null?void 0:Jt.categoryId],course_id:Jt.coursesId,type:"exercise"});(dl==null?void 0:dl.student_count)===0?io(jl):(ro(jl),xr(dl))})});return}let Gu=yield(0,Zc.Tr)({exercise_ids:[Jt==null?void 0:Jt.categoryId],course_id:Jt.coursesId,type:"exercise"});(Gu==null?void 0:Gu.student_count)===0?io(jl):(ro(jl),xr(Gu))});pa!=null&&pa.high_resources_consume&&!(pa!=null&&pa.high_resources_consume_permission)?_e({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Jt.coursesId,type:"exercise",type_id:Jt.categoryId,name:pa.exercise_name,fn:()=>{Vs()}}}):Vs()}),io=eo=>ac(void 0,null,function*(){Yt(!0),(yield(0,fe.ZP)(`/api/exercises/${Jt==null?void 0:Jt.categoryId}/publish_settings.json`,{method:"post",body:eo})).status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Gl(""),_e({type:"exercise/getCommonHeader",payload:Cs({},Jt)}),_e({type:"exercise/getWorkSetting",payload:Cs({},Jt)})),Yt(!1)}),yo=eo=>eo&&eosn.end_time?eo&&(eo{var Kl,Ui;return((Kl=On==null?void 0:On.exercise)==null?void 0:Kl.exercise_status)>1&&!(eo!=null&&eo.new)?!0:(Ui=On==null?void 0:On.published_course_groups)!=null&&Ui.some(mu=>mu.course_group_id===eo.course_group_id)?ga:!1},Yi=eo=>{var Kl;return ga?[!0,!0]:(Kl=On==null?void 0:On.published_course_groups)!=null&&Kl.some(Ui=>{var mu,Uu;return((mu=Ui.course_group_id)==null?void 0:mu[0])===((Uu=eo.course_group_id)==null?void 0:Uu[0])})?ga||Qe()()>Qe()(eo==null?void 0:eo.publish_time)?[!0,!1]:[!1,!1]:[!1,!1]};(0,a.useEffect)(()=>{Gl("\u8868\u5355\u672A\u4FDD\u5B58")},[sn]);const Gl=(eo="")=>{_e({type:"exercise/setActionTabs",payload:{key:eo}})},_i=eo=>{eo.preventDefault(),eo.returnValue=""},ku=(eo,Kl,Ui)=>{if(eo<=0){oe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}else ea(Kl),ya(Ui),xa(!1)},[Iu]=de.default.useForm();return Co.createElement("section",{className:Ll.form,style:{padding:"30px 50px",marginBottom:"0px"}},Co.createElement(Ft.Z,{spinning:Dt["exercise/getWorkSetting"]||ka},!(sn!=null&&sn.is_make_up_exercise)&&Co.createElement(Co.Fragment,null,Co.createElement("div",{className:Ll.new_title,style:{marginTop:"0px"}},"\u8003\u8BD5\u53D1\u5E03"),Co.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Co.createElement(be.ZP.Group,{onChange:()=>{var eo,Kl,Ui,mu,Uu;if((0,bt.Rm)()&&(!((Kl=(eo=pe==null?void 0:pe.AssistantObject)==null?void 0:eo.exercise)!=null&&Kl.can_publish)||!((mu=(Ui=pe==null?void 0:pe.AssistantObject)==null?void 0:Ui.exercise)!=null&&mu.can_late))){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(((Uu=On==null?void 0:On.exercise)==null?void 0:Uu.exercise_status)>1){oe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539");return}sn.unified_setting=!sn.unified_setting,sn.unified_setting===!1&&Lr==""&&Ua(Lr.concat({})),tt(Object.assign({},sn))},value:sn.unified_setting,disabled:ga||((at=On==null?void 0:On.exercise)==null?void 0:at.exercise_status)>1},Co.createElement(be.ZP,{value:!0,disabled:!((Oe=On==null?void 0:On.exercise)!=null&&Oe.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),((Pe=On.course_groups)==null?void 0:Pe.length)>0&&Co.createElement(be.ZP,{value:!1},"\u5206\u73ED\u53D1\u5E03")))),!(pa!=null&&pa.is_make_up_exercise)&&Co.createElement("div",{style:{color:"red"}},((Pn=On==null?void 0:On.exercise)==null?void 0:Pn.exercise_status)>1&&Ca&&"\u5F53\u524D\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\uFF0C\u4E3A\u63D0\u4F9B\u66F4\u597D\u7684\u670D\u52A1\uFF0C\u6211\u4EEC\u5C06\u8FDB\u884C\u670D\u52A1\u5668\u6269\u5BB9\uFF0C\u5EFA\u8BAE\u60A8\u572830\u5206\u949F\u540E\u53D1\u8D77\u8003\u8BD5\u3002\u60A8\u4E5F\u53EF\u4EE5\u7ACB\u5373\u53D1\u5E03\u3002"),(sn.unified_setting||(pa==null?void 0:pa.is_make_up_exercise))&&Co.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px",alignItems:"center",height:"50px"}},Co.createElement("div",{style:{color:"#666666",marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Co.createElement(De.Z,{placement:"bottom",title:((Zn=On==null?void 0:On.exercise)==null?void 0:Zn.exercise_status)>1&&"\u53D1\u5E03\u65F6\u95F4\u5DF2\u8FC7\uFF0C\u4E0D\u80FD\u4FEE\u6539"},Co.createElement(xn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Qe()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:yo,disabled:ga||((Xn=On==null?void 0:On.exercise)==null?void 0:Xn.exercise_status)>1||(0,bt.Rm)()&&!((wn=(an=pe==null?void 0:pe.AssistantObject)==null?void 0:an.exercise)!=null&&wn.can_publish),value:sn.publish_time?Qe()(sn.publish_time):void 0,allowClear:!1,onChange:(eo,Kl)=>{sn.publish_time=Kl,sn.end_time||(sn.end_time=sn.exercise_type===1?Qe()(eo).add(120,"minutes"):Qe()(eo).add(7,"days")),tt(Object.assign({},sn))}})),Co.createElement("div",{style:{color:"#666666",marginLeft:"60px"}},"\u622A\u6B62\u65F6\u95F4"),Co.createElement(xn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Qe()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ga||(0,bt.Rm)()&&!((Aa=(aa=pe==null?void 0:pe.AssistantObject)==null?void 0:aa.exercise)!=null&&Aa.can_late)||(pa==null?void 0:pa.open_appraise),allowClear:!1,value:sn.end_time?Qe()(sn.end_time):void 0,disabledDate:kl,onChange:(eo,Kl)=>{var Ui,mu;if((0,bt.Rm)()&&!((mu=(Ui=pe==null?void 0:pe.AssistantObject)==null?void 0:Ui.exercise)!=null&&mu.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}sn.end_time=Kl,tt(Object.assign({},sn))}})),!sn.unified_setting&&!(pa!=null&&pa.is_make_up_exercise)&&Co.createElement("div",{style:{color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Lr&&Lr.map(function(eo,Kl){var Ui,mu,Uu;return Co.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:Kl==(Lr==null?void 0:Lr.length)-1?"0px":"10px"}},Co.createElement("div",{style:{width:"75px",marginLeft:"23px"}},"\u53D1\u5E03\u89C4\u5219",Kl+1),Co.createElement(dn.default,{showArrow:!0,allowClear:!0,className:Ll.multiple_select,disabled:ga||((Ui=On==null?void 0:On.homework_status)!=null&&Ui.includes("\u672A\u53D1\u5E03")&&eo.id||Qe()(){Lr[Kl].course_group_id=su,Ua(Lr.slice()),On.course_groups.map((jl,Nu)=>{su.map((Vs,Gu)=>{jl.course_group_id===Vs&&(jl.cilckkey=Kl,jl.isselect=!0)})})},onDeselect:su=>{On.course_groups.map((jl,Nu)=>{jl.course_group_id===su&&jl.cilckkey===Kl&&(jl.cilckkey=Kl,jl.isselect=!1)})}},On.course_groups&&On.course_groups.map(function(su,jl){return Co.createElement(zc,{disabled:(su==null?void 0:su.isselect)&&su.cilckkey!=Kl,label:su.course_group_name,value:su.course_group_id,key:su.course_group_id},su.course_group_name)})),Co.createElement(pc,{disabled:Yi(eo)||(0,bt.Rm)()&&!((Uu=(mu=pe==null?void 0:pe.AssistantObject)==null?void 0:mu.exercise)!=null&&Uu.can_publish),disabledDate:yo,style:{width:"620px",marginLeft:"20px"},placeholder:["\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4","\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"],showTime:{format:"HH:mm",defaultValue:[Qe()((0,ue.U6)(),"HH:mm"),Qe()((0,ue.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",size:"large",value:eo.publish_time&&[Qe()(eo.publish_time),eo.end_time&&Qe()(eo.end_time)],onChange:(su,jl)=>{Lr[Kl].publish_time=jl[0],!eo.end_time&&jl[0]?Lr[Kl].end_time=Qe()(jl[0]).add(7,"days"):Lr[Kl].end_time=jl[1],Ua([...Lr])},onCalendarChange:(su,jl,Nu)=>{if(jl!=null&&jl[0]&&!jl[1]){const Vs=sn.exercise_type===1?Qe()(jl[0]).add(120,"minutes"):Qe()(jl[0]).add(7,"days");Lr[Kl].publish_time=jl[0],Lr[Kl].end_time=Vs,Ua([...Lr])}}}),Co.createElement("div",{style:{visibility:ga?"hidden":"visible",display:"flex",width:"50px"}},Co.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var su,jl;if((0,bt.Rm)()&&!((jl=(su=pe==null?void 0:pe.AssistantObject)==null?void 0:su.exercise)!=null&&jl.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ua(Lr.concat({new:!0}))}}),Co.createElement("i",{className:"iconfont icon-shanjian1",style:{visibility:(eo!=null&&eo.publish_time&&Qe()(){Lr=Lr.filter((su,jl)=>Kl!==jl),Ua([...Lr])}})))})),((_n=On==null?void 0:On.exercise)==null?void 0:_n.have_hacks)&&!((Wn=On==null?void 0:On.exercise)!=null&&Wn.is_random)&&Co.createElement(Co.Fragment,null,Co.createElement("div",{className:Ll.new_title,style:{marginTop:30}},"\u5C55\u793AACM\u6392\u884C\u699C",Co.createElement("span",{style:{color:"#666666"}},"\uFF08\u5C06\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u8FDB\u884C\u6392\u540D\uFF0C\u4EC5\u9488\u5BF9\u4EBA\u5DE5\u7EC4\u5377\u4E14\u8BD5\u5377\u4E2D\u5B58\u5728\u7F16\u7A0B\u9898\u7684\u60C5\u51B5\u751F\u6548\uFF09")),Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},Co.createElement(be.ZP.Group,{value:sn.show_acm,onChange:eo=>{sn.show_acm=eo.target.value,tt(Cs({},sn))},style:{marginTop:"2px"}},Co.createElement(be.ZP,{value:!0,style:{marginRight:"50px"}},"\u5C55\u793AACM\u6392\u884C\u699C"),Co.createElement(be.ZP,{value:!1},"\u9690\u85CFACM\u6392\u884C\u699C")))),!(sn!=null&&sn.is_make_up_exercise)&&Co.createElement(Co.Fragment,null,Co.createElement("div",{className:Ll.new_title,style:{marginTop:30}},"\u8003\u8BD5\u6A21\u5F0F"),Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},Co.createElement(be.ZP.Group,{value:sn.exercise_type,disabled:ga||((Ga=On==null?void 0:On.exercise)==null?void 0:Ga.exercise_status)>1,onChange:eo=>{sn.exercise_type=eo.target.value,tt(Cs({},sn)),Eo(eo.target.value)},style:{marginTop:"2px"}},Co.createElement(be.ZP,{value:1,style:{marginRight:"50px"}},"\u6B63\u5F0F\u8003\u8BD5"),Co.createElement(be.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")),(sn==null?void 0:sn.exercise_type)===2&&Co.createElement(Co.Fragment,null,Co.createElement("span",{style:{marginLeft:10,color:"#666666"}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),Co.createElement(Te.Z,{className:Ll.numberInput,addonAfter:"\u6B21",style:{width:145},precision:0,size:"large",value:sn==null?void 0:sn.simulate_exercise_num,disabled:ga,min:1,max:999,onChange:eo=>{sn.simulate_exercise_num=eo,tt(Cs({},sn))}}),Co.createElement("span",{style:{color:"#666666"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),(sn==null?void 0:sn.is_make_up_exercise)&&Co.createElement(Co.Fragment,null,Co.createElement(re.Z,null,Co.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),Co.createElement(Ae.Z,{checked:Ha,onChange:(eo,Kl)=>{var Ui,mu;if(Vr(eo),eo){if(sn!=null&&sn.is_appoint_user){const Uu=(mu=(Ui=On==null?void 0:On.exercise)==null?void 0:Ui.all_exercise_users)==null?void 0:mu.map(su=>su.user_id);ea([...Uu])}else ea([]);Da(!1),Sr(!1)}else Da(sn.is_miss_exam_user),Sr(sn.is_no_passing_user)},disabled:!((sn==null?void 0:sn.exercise_status)===1&&(pa!=null&&pa.allow_create_make_up))}),Co.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Ha&&Co.createElement(re.Z,{className:"mt20 mb20",style:{paddingLeft:"90px"},align:"middle"},Co.createElement(Ne.default,{checked:Va,disabled:!((sn==null?void 0:sn.exercise_status)===1&&(sn==null?void 0:sn.miss_exam_count)>0&&(pa!=null&&pa.allow_create_make_up)),onChange:eo=>{Da(eo.target.checked)}},Co.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),Co.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{nr(1),Vr(!1),xa(!0)}},"\uFF08",`${(sn==null?void 0:sn.miss_exam_count)||0}\u4EBA`,"\uFF09"),Co.createElement(Ne.default,{checked:Or,disabled:!((sn==null?void 0:sn.exercise_status)===1&&(sn==null?void 0:sn.no_passing_count)>0&&(pa!=null&&pa.allow_create_make_up)),onChange:eo=>{Sr(eo.target.checked)}},Co.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),Co.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{nr(2),Vr(!1),xa(!0)}},"\uFF08",`${(sn==null?void 0:sn.no_passing_count)||0}\u4EBA`,"\uFF09")),Ha&&Co.createElement(re.Z,{className:"mb20 mt20",style:{paddingLeft:"90px"}},Co.createElement(Ce.ZP,{type:"primary",ghost:!0,disabled:!((sn==null?void 0:sn.exercise_status)===1&&(pa!=null&&pa.allow_create_make_up)),onClick:()=>{xa(!0),nr(void 0)}},Co.createElement("span",null,Co.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),Co.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),Co.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${or.length||0} \u4EBA`,"\uFF09"))),Co.createElement("div",{className:Ll.new_title,style:{marginTop:"30px"}},"\u8003\u8BD5\u65F6\u957F\u8BBE\u7F6E"),Co.createElement("div",null,Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px"}},Co.createElement(Ne.default,{disabled:ga,checked:za,onChange:eo=>{eo.target.checked===!1?tt(Kl=>fc(Cs({},Kl),{time:-1})):Iu.setFieldsValue({exercise_events:[{reminder_time:30,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C30\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"},{reminder_time:15,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C15\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"}]}),ur(eo.target.checked)},style:{fontSize:"14px",marginTop:"2px"}},"\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F"),za&&Co.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},Co.createElement("div",{style:{marginRight:10,marginLeft:25}},"\u7B54\u9898\u65F6\u957F"),Co.createElement(Te.Z,{size:"large",disabled:ga,min:1,style:{width:"200px"},value:sn.time===-1?null:sn.time,precision:0,addonAfter:"\u5206\u949F",onChange:eo=>{sn.time=eo,tt(Cs({},sn))}}))),za&&Co.createElement(de.default,{form:Iu},Co.createElement(js,{disabled:ga,time:sn.time})),Co.createElement("div",null,Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Co.createElement(Ne.default,{checked:sn.enable_last_times,onChange:eo=>tt(Kl=>fc(Cs({},Kl),{enable_last_times:eo.target.checked})),disabled:ga,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u8003\u8BD5\u8FDF\u5230\u65F6\u957F\u9650\u5236"),sn.enable_last_times&&Co.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},Co.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u8003\u8BD5\u5F00\u59CB\u540E"),Co.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:sn==null?void 0:sn.last_times,disabled:ga||!sn.enable_last_times,min:0,onChange:eo=>{sn.last_times=eo,tt(Cs({},sn))}}),Co.createElement("span",{style:{marginLeft:"10px"}},"\u7981\u6B62\u5B66\u751F\u8FDB\u5165\u8003\u8BD5"))),Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Co.createElement(re.Z,null,Co.createElement(Ne.default,{checked:sn.enable_answer_time,onChange:eo=>tt(Kl=>fc(Cs({},Kl),{enable_answer_time:eo.target.checked})),disabled:ga,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u63D0\u524D\u4EA4\u5377\u65F6\u95F4\u9650\u5236")),sn.enable_answer_time&&Co.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},Co.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u5B66\u751F\u8FDB\u5165\u8003\u8BD5\u4F5C\u7B54\u65F6\u95F4\u5FC5\u987B \u2265"),Co.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:sn==null?void 0:sn.answer_time,disabled:ga||!sn.enable_answer_time,min:0,onChange:eo=>{sn.answer_time=eo,tt(Cs({},sn))}}),Co.createElement("span",{style:{marginLeft:"10px"}},"\u624D\u80FD\u4EA4\u5377")))))),!(pa!=null&&pa.appraise_label)&&(!(pa!=null&&pa.is_make_up_exercise)&&(0,bt.GJ)()||(pa==null?void 0:pa.is_make_up_exercise)&&(pa==null?void 0:pa.allow_create_make_up))&&Co.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:sr},"\u4FDD\u5B58"),Co.createElement(cc.Z,{visible:ra,setVisible:xa,onK:ku,selectKeys:or,selectRows:_a,appointStudent:Ha,modalParams:qn}),Co.createElement(ed.Z,{resdata:vr,type:"exercisepush",okloading:ka,oktext:(vr==null?void 0:vr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:eo=>ac(void 0,null,function*(){Yt(!0);let Kl=yield(0,fe.ZP)(`/api/courses/${Jt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[parseInt(Jt==null?void 0:Jt.categoryId)]}});Yt(!1),(Kl==null?void 0:Kl.status)===0&&io(rr)})}))};var nd=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie,classroomList:dt,user:Dt})=>({exercise:me,loading:pe.effects,globalSetting:ie,user:Dt,classroomList:dt}))(Sd),hd=x(19248),ad=x(46801),Qc=Object.defineProperty,Dc=Object.getOwnPropertySymbols,rd=Object.prototype.hasOwnProperty,Ed=Object.prototype.propertyIsEnumerable,vc=(me,pe,ie)=>pe in me?Qc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Wc=(me,pe)=>{for(var ie in pe||(pe={}))rd.call(pe,ie)&&vc(me,ie,pe[ie]);if(Dc)for(var ie of Dc(pe))Ed.call(pe,ie)&&vc(me,ie,pe[ie]);return me},Gc=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const{TabPane:Ic}=E.default,Uc=({exercise:me,loading:pe,dispatch:ie})=>{var dt;const Dt=(0,ye.useParams)(),_e=(0,ye.useLocation)(),[Ut]=de.default.useForm(),[at,Oe]=(0,a.useState)({}),[Pe,Pn]=(0,a.useState)("1");return(0,a.useEffect)(()=>{me.actionTabs.key==="addIp"&&(Ut.resetFields(),Pn("1"))},[me.actionTabs]),a.createElement(Fe.default,{centered:!0,title:"\u6DFB\u52A0IP\u8303\u56F4",open:me.actionTabs.key==="addIp",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:600,bodyStyle:{minHeight:200},onOk:()=>Gc(void 0,null,function*(){if(yield Ut.validateFields(),!at.ip){const Zn=at.startIP.split(".")[3];if(parseInt(Zn)>parseInt(at.endIP)){oe.ZP.warning("IP\u533A\u95F4\u6BB5\u4E0D\u5408\u6CD5");return}}ie({type:"exercise/setActionTabs",payload:{key:"insterIp",data:Wc({},Ut.getFieldValue()),type:me.actionTabs.type}})}),onCancel:()=>{ie({type:"exercise/setActionTabs",payload:{}})}},a.createElement("section",{className:"pl10 pr10"},a.createElement(E.default,{activeKey:Pe,onChange:Zn=>{Pn(Zn),Ut.resetFields()}},a.createElement(Ic,{tab:"\u65B0\u589EIP\u5730\u5740",key:"1"}),a.createElement(Ic,{tab:"\u65B0\u589EIP\u8303\u56F4",key:"2"})),a.createElement(de.default,{form:Ut,className:"pt30",name:"form",layout:"vertical",onValuesChange:(Zn,Xn)=>{Oe(Wc({},Xn))}},Pe==="1"&&a.createElement(de.default.Item,{name:"ip",rules:[{required:!0,message:"\u8BF7\u8F93\u5165IP\u5730\u5740"}],label:"IP\u5730\u5740"},a.createElement(dn.default,{open:!1,tokenSeparators:[";",",","\uFF1B"],size:"middle",mode:"tags",style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165IP\u5730\u5740,\u53EF\u540C\u65F6\u6DFB\u52A0\u591A\u4E2AIP\u5730\u5740\uFF0C\u4E2D\u95F4\u7528\u82F1\u6587\u7684\u5206\u53F7\u95F4\u9694\u3002",onChange:Zn=>{Ut.setFieldsValue({ip:[...Zn.filter(Xn=>(0,ad.t)(Xn)?!0:(oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165"),!1))]})}})),Pe==="2"&&a.createElement(re.Z,{gutter:[20,20]},a.createElement(ve.Z,{flex:"1"},a.createElement(de.default.Item,{name:"startIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740"}],label:"\u8D77\u59CBIP\u5730\u5740"},a.createElement(Se.default,{maxLength:15,placeholder:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740",onBlur:Zn=>{let Xn="";(0,ad.t)(Zn.target.value)?Xn=Zn.target.value:(Xn="",oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165")),Ut.setFieldsValue({startIP:Xn})}}))),a.createElement(ve.Z,{flex:"1"},a.createElement(de.default.Item,{name:"endIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740"},{pattern:/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,message:"\u8BF7\u8F93\u51650-255\u7684\u7F51\u6BB5"}],label:"\u7ED3\u675FIP\u5730\u5740"},a.createElement(Se.default,{onBlur:Zn=>{},prefix:a.createElement("span",{className:"font14"},(dt=at.startIP)==null?void 0:dt.substring(0,at.startIP.lastIndexOf("."))),maxLength:3,placeholder:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740\u7684\u540E\u4E09\u4F4D"})))))))};var Oc=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe}))(Uc),Ma=x(59301),Nc=Object.defineProperty,od=Object.defineProperties,Pd=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,xu=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable,Zs=(me,pe,ie)=>pe in me?Nc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,ds=(me,pe)=>{for(var ie in pe||(pe={}))xu.call(pe,ie)&&Zs(me,ie,pe[ie]);if(Oi)for(var ie of Oi(pe))Ps.call(pe,ie)&&Zs(me,ie,pe[ie]);return me},hc=(me,pe)=>od(me,Pd(pe)),Ec=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ld=({exercise:me,globalSetting:pe,loading:ie,dispatch:dt})=>{var Dt,_e,Ut,at,Oe,Pe,Pn;const{workSetting:Zn,commonHeader:Xn}=me,[an]=de.default.useForm(),wn=(0,ye.useParams)();wn.category=wn.categoryId;const[aa,Aa]=(0,a.useState)(!1),[_n,Wn]=(0,a.useState)(!1),[Ga,On]=(0,a.useState)(!1),pa={question_random:!1,choice_random:!1,start_password:((Dt=Zn==null?void 0:Zn.exercise)==null?void 0:Dt.start_password)||"",login_restrict:!1,is_start_locked:!1,use_blank_score:!1,ip_limit:!1,identity_verify:!1,open_phone_video_recording:!1,open_camera:!1,photo_count:5,screen_open:!1,screen_num:3,screen_sec:5,ip_bind:!1,ip_bind_type:!1,public_ip:[],inner_ip:[],is_locked:!1,unlock_key:((_e=Zn==null?void 0:Zn.exercise)==null?void 0:_e.unlock_key)||"",screen_shot_open:!1,forbid_copy:!1};let[Jt,ga]=(0,a.useState)(pa);const[la,ka]=(0,a.useState)(!1),[Yt,Ca]=(0,a.useState)(!1),[ia,rr]=(0,a.useState)(!1),[ro,Lr]=(0,a.useState)(null);(0,a.useEffect)(()=>{var Ha;Ua(),Zn!=null&&Zn.exercise&&!(0,bt.aN)()&&!((Ha=Zn==null?void 0:Zn.exercise)!=null&&Ha.is_creator)&&Aa(!0)},[Zn]),(0,a.useEffect)(()=>{((Xn==null?void 0:Xn.exercise_status)==="5"||Xn!=null&&Xn.appraise_label)&&Aa(!0)},[Xn]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?Jt[me.actionTabs.type]=[...Jt[me.actionTabs.type]||[],...me.actionTabs.data.ip]:Jt[me.actionTabs.type]=[...Jt[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],sn(Jt),ka(!0))},[me.actionTabs]);const Ua=()=>{const Ha=JSON.parse(JSON.stringify(Zn));Object.keys(Jt).forEach(Vr=>{var Va;Jt[Vr]=(Va=Ha==null?void 0:Ha.exercise)==null?void 0:Va[Vr]}),sn(hc(ds({},Jt),{ip_limit:Jt.ip_limit!=="no"}))},sn=Ha=>{ga(Ha),an.setFieldsValue(Ha)},tt=Ha=>{var Vr,Va;if(Ha.categoryId=wn.categoryId,Ha.ip_limit=Ha.ip_limit?"pub":"no",Ha.ip_bind||(Ha.ip_bind_type=!1),Ha.open_camera&&Ha.photo_count<1){oe.ZP.warning("\u8BF7\u586B\u5199\u672C\u573A\u8003\u8BD5\u6700\u5927\u62CD\u6444\u6B21\u6570");return}if(!Ha.start_password&&Ha.is_start_locked){oe.ZP.warning("\u8BF7\u586B\u5199\u5F00\u8003\u5BC6\u7801");return}if(Ha.ip_limit!=="no"&&!((Vr=Ha.public_ip)!=null&&Vr.length)&&!((Va=Ha.inner_ip)!=null&&Va.length)){oe.ZP.warning("\u8BF7\u586B\u5199\u516C\u7F51IP\u6216\u5185\u7F51IP\u5730\u5740");return}if(Ha.is_locked||Ha.open_camera||Ha.screen_open||Ha.login_restrict||Ha.ip_bind||Ha.ip_limit=="pub"||Ha.ip_limit=="inner"||Ha.identity_verify||Ha.open_phone_video_recording){if((Xn==null?void 0:Xn.exercise_type)==1){Za(Ha);return}Fe.default.confirm({width:666,centered:!0,title:"\u63D0\u793A",icon:null,content:Ma.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u5F00\u542F",Ma.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Ha)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u786E\u5B9A\u5F00\u542F\u5417\uFF1F"),onOk:()=>Za(Ha)});return}va(Ha)},Za=Ha=>{if(Ha.open_camera||Ha.screen_open){const Vr=Fe.default.confirm({title:"\u8003\u8BD5\u8BF4\u660E",className:"custom-modal-divider",icon:null,width:750,content:Ma.createElement("div",{className:"font16 p20"},Ha.open_camera&&Ma.createElement(re.Z,{justify:"start",className:"mt20"},Ma.createElement(ve.Z,{flex:"24px"},Ma.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),Ma.createElement(ve.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u6444\u50CF\u9632\u4F5C\u5F0A\u529F\u80FD\uFF0C",Ma.createElement("span",{className:"c-red"},"\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907"),"\u3002\u5E73\u53F0\u5C06\u4F1A\u4E25\u683C\u4FDD\u62A4\u6240\u6709\u5B66\u751F\u7684\u7167\u7247\u548C\u89C6\u9891\uFF0C\u5E76\u627F\u8BFA\u4E0D\u5728\u672C\u5E73\u53F0\u4EE5\u5916\u4F7F\u7528\u3002",Ma.createElement("br",null),"\u8BF7\u786E\u8BA4\uFF1A\u4E3A\u4E25\u683C\u76D1\u7763\u8003\u8BD5\u4EE5\u83B7\u5F97\u516C\u5E73\uFF0C\u60A8\u540C\u610F\u5E76\u548C\u8981\u6C42\u5E73\u53F0\u5728\u672C\u6B21\u8003\u8BD5\u4E2D\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907\u5E76\u83B7\u53D6\u5B66\u751F\u7684\u5F71\u50CF\u4FE1\u606F\u3002")),Ha.screen_open&&Ma.createElement(re.Z,{justify:"start",className:"mt20"},Ma.createElement(ve.Z,{flex:"24px",className:"mr20"},Ma.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),Ma.createElement(ve.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u9632\u5207\u5C4F\u529F\u80FD\uFF0C\u8FD9\u9879\u529F\u80FD\u6682\u65F6\u4EC5\u652F\u6301\u8C37\u6B4C\u3001\u706B\u72D0\u6D4F\u89C8\u5668\u3002 \u8BF7\u786E\u4FDD\uFF1A\u5728\u6B63\u5F0F\u5F00\u59CB\u8003\u8BD5\u524D\u901A\u77E5\u5168\u4F53\u5B66\u751F\uFF0C\u4F7F\u7528 ",Ma.createElement("img",{width:"26",src:zl.JA})," ",Ma.createElement("span",{className:"c-red"},"\u8C37\u6B4C\u6D4F\u89C8\u5668"),"\u6216",Ma.createElement("img",{width:"26",src:zl.Gm})," ",Ma.createElement("span",{className:"c-red"},"\u706B\u72D0\u6D4F\u89C8\u5668"),"\u8FDB\u884C\u8003\u8BD5\u3002")),Ma.createElement("p",{className:"ml40 mt40"},Ma.createElement(Ne.default,{onChange:Va=>Vr.update({okButtonProps:{disabled:!Va.target.checked}})},"\u6211\u5DF2\u9605\u8BFB"))),onOk:()=>{va(Ha)},okButtonProps:{disabled:!0}})}else va(Ha)},va=Ha=>Ec(void 0,null,function*(){Wn(!0);const Vr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/prevent_cheating_settings.json`,{method:"post",body:Ha});Wn(!1),Vr.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),dt({type:"exercise/getCommonHeader",payload:ds({},wn)}),dt({type:"exercise/getWorkSetting",payload:ds({},wn)}),ka(!1))});(0,a.useEffect)(()=>{ur(la?"\u8868\u5355\u672A\u4FDD\u5B58":"")},[la]);const za=Ha=>{Ha.preventDefault(),Ha.returnValue=""},ur=(Ha="")=>{dt({type:"exercise/setActionTabs",payload:{key:Ha}})};return Ma.createElement("section",{className:Ll.formDom,style:{padding:"30px 50px"}},Ma.createElement(Ft.Z,{spinning:ie["exercise/getWorkSetting"]||_n},Ma.createElement(de.default,{form:an,name:"basicForm",initialValues:pa,colon:!1,onValuesChange:(Ha,Vr)=>{console.log("onValuesChange",Vr);let Va=Vr;for(const Da in Ha){if(Da=="is_locked"&&!Vr[Da]&&(Va.login_restrict=!1,Va.screen_open=!1),Da=="login_restrict"&&Vr[Da]&&(Va.is_locked=!0),Da=="screen_open"&&Vr[Da]&&(Va.is_locked=!0),Da=="screen_shot_open"&&Vr[Da]){const Or=Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Ma.createElement("div",null,Ma.createElement("div",{className:"mb10"},"1.\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u524D",Ma.createElement("span",{style:{color:"#F59A23"}},"\u9700\u8981\u9009\u62E9\u4E3B\u5C4F\u5E55\u8FDB\u884C\u5171\u4EAB\uFF0C\u8003\u8BD5\u4F5C\u7B54\u8FC7\u7A0B\u4E2D\u4E5F\u4E0D\u5141\u8BB8\u5173\u95ED\u5C4F\u5E55\u5171\u4EAB\uFF0C\u5426\u5219\u5C06\u4F1A\u76F4\u63A5\u9000\u51FA\u8003\u8BD5\uFF1B")),Ma.createElement("div",null,"2.\u6559\u5E08\u53EF\u5728\u8003\u8BD5\u76D1\u63A7\u9875\u9762\u67E5\u770B\u622A\u5C4F\u8BB0\u5F55\u3002")),onOk:()=>Ec(void 0,null,function*(){Va.screen_shot_open=!0,sn(Va)}),onCancel:()=>{Va.screen_shot_open=!1,sn(Va),Or.destroy()}});break}(Da=="ip_bind"||Da=="ip_limit")&&!Vr.is_locked&&Vr[Da]&&(Va.is_locked=!0),Da=="open_camera"&&(Va.photo_count=Va.photo_count||5)}sn(Va),ka(!0)},onFinish:tt},Ma.createElement("div",{className:Ll.title},"\u63A8\u8350\u9632\u4F5C\u5F0A\u6A21\u5F0F",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u4E0D\u540C\u7684\u8003\u8BD5\u6A21\u5F0F\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u52FE\u9009\u5BF9\u5E94\u6A21\u5F0F\u63A8\u8350\u7684\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u652F\u6301\u4E8C\u6B21\u8C03\u6574\uFF09")),Ma.createElement(de.default.Item,null,Ma.createElement(be.ZP.Group,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"},value:ro,onChange:Ha=>{if(Ha.target.value==="exam")sn(hc(ds(ds({},pa),Jt),{question_random:!0,choice_random:!0,is_start_locked:!0,is_locked:!0,login_restrict:!0,screen_open:!0,ip_bind:!0,forbid_copy:!0}));else if(Ha.target.value==="practice"){Fe.default.confirm({title:"\u63D0\u793A",centered:!0,content:"\u6A21\u62DF\u8003\u8BD5\u5C06\u53EA\u4F1A\u5F00\u542F\u201C\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\u548C\u201C\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\uFF0C\u786E\u5B9A\u8981\u4F7F\u7528\u6A21\u62DF\u8003\u8BD5\u63A8\u8350\u7684\u8BBE\u7F6E\u5417\uFF1F",icon:null,onOk:()=>{sn(hc(ds({},pa),{question_random:!0,choice_random:!0,forbid_copy:!1})),Lr(Ha.target.value)}});return}Lr(Ha.target.value)},buttonStyle:"solid",disabled:aa},Ma.createElement(be.ZP,{value:"exam",style:{marginRight:"40px"}},"\u6B63\u5F0F\u6A21\u5F0F"),Ma.createElement(be.ZP,{value:"practice"},"\u6A21\u62DF\u6A21\u5F0F"))),Ma.createElement("div",{className:Ll.title,style:{marginTop:"30px"}},"\u9632\u4F5C\u5F0A\u8BBE\u7F6E"),Ma.createElement(de.default.Item,{name:"forbid_copy",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"))),Ma.createElement(de.default.Item,{name:"question_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),Ma.createElement(de.default.Item,{name:"choice_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"is_start_locked",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5F00\u8003\u5BC6\u7801 ",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u8003\u8BD5\u65F6\uFF0C\u9700\u8981\u8F93\u5165\u5F00\u8003\u5BC6\u7801\u624D\u80FD\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\uFF09"))))),Jt.is_start_locked&&(0,bt.GJ)()?Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,align:"middle"},Ma.createElement(de.default.Item,{name:"start_password",style:{marginBottom:0}},Ma.createElement(Se.default,{size:"large",className:Ll.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u5F00\u8003\u5BC6\u7801"})),Ma.createElement(ve.Z,null,!aa&&Ma.createElement(Ce.ZP,{type:"link",loading:Yt,onClick:()=>Ec(void 0,null,function*(){Ca(!0);let Ha=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Vr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:1,pwd:Ha}});Ca(!1),(Vr==null?void 0:Vr.status)===0&&an.setFieldsValue({start_password:Ha})})},"\u6362\u4E00\u6362"))):Ma.createElement(de.default.Item,{hidden:!0,name:"start_password",label:"\u5F00\u8003\u5BC6\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"is_locked",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u89E3\u9501\u7801 ",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5982\u679C\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u9014\u9000\u51FA\u60F3\u518D\u7EE7\u7EED\u8003\u8BD5\uFF0C\u9700\u8981\u4F7F\u7528\u89E3\u9501\u7801\u8FDB\u884C\u89E3\u9501\u3002\uFF09"))))),Jt.is_locked&&(0,bt.GJ)()?Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,align:"middle"},Ma.createElement(de.default.Item,{style:{marginBottom:0},name:"unlock_key"},Ma.createElement(Se.default,{size:"large",className:Ll.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),Ma.createElement(ve.Z,null,!aa&&Ma.createElement(Ce.ZP,{type:"link",loading:ia,onClick:()=>Ec(void 0,null,function*(){rr(!0);let Ha=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Vr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:2,pwd:Ha}});rr(!1),(Vr==null?void 0:Vr.status)===0&&an.setFieldsValue({unlock_key:Ha})})},"\u6362\u4E00\u6362"))):Ma.createElement(de.default.Item,{hidden:!0,name:"unlock_key",label:"\u8003\u8BD5\u89E3\u9501\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement(de.default.Item,{name:"login_restrict",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u767B\u5F55\u9650\u5236",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5728\u8003\u8BD5\u671F\u95F4\u7B2C\u4E8C\u6B21\u53CA\u540E\u7EED\u767B\u5F55\u7CFB\u7EDF\u65F6\uFF0C\u9700\u8981\u76D1\u8003\u8001\u5E08\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801\u624D\u80FD\u767B\u5F55\u7CFB\u7EDF\uFF09"))))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"screen_open",valuePropName:"checked"},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"))),Jt.screen_open?Ma.createElement(Ma.Fragment,null,Ma.createElement(re.Z,{gutter:10,className:`${Ll.unlockKeyWrapper}`,style:{color:"#666666"},align:"middle",wrap:!1},Ma.createElement(ve.Z,null,"\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u5207\u6362\u9875\u9762\u8D85\u8FC7"),Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"screen_num",style:{marginBottom:0}},Ma.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:10,addonAfter:"\u6B21",style:{width:"150px"}}))),Ma.createElement(ve.Z,null,"\u540E\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF0C\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762"),Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"screen_sec",style:{marginBottom:0}},Ma.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:60,addonAfter:"\u79D2",style:{width:"150px"}}))),Ma.createElement(ve.Z,null,"\u540E\u5373\u5224\u5B9A\u4E3A\u5207\u5C4F\u3002")),Ma.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ll.unlockKeyWrapper}`,align:"middle",wrap:!1},Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"screen_shot_open",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ae.Z,{disabled:aa||!Jt.screen_open}))),Ma.createElement(ve.Z,{style:{color:"#666666"}},"\u5B66\u751F\u9000\u51FA\u5168\u5C4F\u6216\u5207\u6362\u9875\u9762\u540E\u8FDB\u884C\u622A\u5C4F"))):Ma.createElement(Ma.Fragment,null,Ma.createElement(de.default.Item,{hidden:!0,name:"screen_num",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),Ma.createElement(de.default.Item,{hidden:!0,name:"screen_sec",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),Ma.createElement(de.default.Item,{hidden:!0,name:"screen_shot_open",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"ip_bind",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"IP\u5730\u5740\u7ED1\u5B9A",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5F00\u59CB\u8003\u8BD5\u7684\u5B66\u751F\u8D26\u53F7\u5C06\u81EA\u52A8\u4E0E\u8BBE\u5907\u516C\u7F51IP\u6216\u5185\u7F51IP\u8FDB\u884C\u7ED1\u5B9A\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u7531\u6559\u5E08/\u52A9\u6559\u8FDB\u884CIP\u89E3\u7ED1\u3002\uFF09"))))),Jt.ip_bind&&(0,bt.GJ)()?Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,style:{flexDirection:"column"}},Ma.createElement(de.default.Item,{name:"ip_bind_type",style:{marginBottom:0}},Ma.createElement(be.ZP.Group,null,Ma.createElement(be.ZP,{value:!1,style:{marginRight:"32px",fontWeight:"400"}},Ma.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5916\u7F51IP",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u6821\u6821\u56ED\u7F51\u7535\u8111\u7684\u516C\u7F51IP\u53EF\u80FD\u4F1A\u5B58\u5728\u53D8\u52A8\uFF09"))),Ma.createElement(be.ZP,{value:!0,style:{fontWeight:"400"}},Ma.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5185\u7F51IP",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9700\u8981\u5B89\u88C5\u63D2\u4EF6\u624D\u80FD\u83B7\u53D6ip\uFF0C\u524D\u5F80",Ma.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u4E0B\u8F7D\u63D2\u4EF6"),"\uFF09")))))):Ma.createElement(de.default.Item,{hidden:!0,name:"ip_bind_type",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"ip_limit",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9650\u5236\u53C2\u4E0E\u8003\u8BD5\u8BBE\u5907\u7684IP\u5730\u5740\u8303\u56F4\uFF09"))))),Ma.createElement(de.default.Item,{name:"public_ip",label:"\u516C\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),Ma.createElement(de.default.Item,{name:"inner_ip",label:"\u5185\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),(Jt==null?void 0:Jt.ip_limit)&&Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,style:{flexDirection:"column"}},Ma.createElement(ve.Z,null,Ma.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u8981\u6C42\u5B66\u751F\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),Ma.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?")),Ma.createElement(re.Z,{className:`mt15 ${Ll.ipWrp}`,style:{background:"#F6F7F9"}},Ma.createElement(ve.Z,null,"\u516C\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A"),Ma.createElement(ve.Z,null,(Ut=Jt.public_ip)==null?void 0:Ut.map((Ha,Vr)=>Ma.createElement("span",{key:Vr,className:Ll.ipItem},Ma.createElement("i",null,Ha," "),!aa&&Ma.createElement(hd.Z,{onClick:()=>{Fe.default.confirm({okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Jt.public_ip.splice(Vr,1),sn(ds({},Jt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&Ma.createElement("span",{onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"public_ip"}})},className:"font14 c-blue ml10",style:{cursor:"pointer"}}," ",Ma.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))),Ma.createElement(re.Z,{className:`mt15 ${Ll.ipWrp}`,style:{background:"#F6F7F9"}},Ma.createElement(ve.Z,null,Ma.createElement("span",null,"\u5185\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A")),Ma.createElement(ve.Z,null,(at=Jt.inner_ip)==null?void 0:at.map((Ha,Vr)=>Ma.createElement("span",{className:Ll.ipItem},Ma.createElement("i",null,Ha," "),!aa&&Ma.createElement(hd.Z,{onClick:()=>{aa||Fe.default.confirm({title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Jt.inner_ip.splice(Vr,1),sn(ds({},Jt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&Ma.createElement("span",{className:"font14 c-blue ml10",onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"inner_ip"}})},style:{cursor:"pointer"}}," ",Ma.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"open_camera",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u4F7F\u7528\u7535\u8111\u6444\u50CF\u5934\u968F\u673A\u6293\u62CD\u7167\u7247\uFF0C\u7528\u4E8E\u76D1\u8003\u548C\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u5206\u6790\u7ED3\u679C\u53EF\u5728\u5B66\u751F\u7B54\u5377\u4E2D\u67E5\u770B\uFF09"))))),Jt.open_camera?Ma.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ll.unlockKeyWrapper}`,align:"middle",wrap:!1},Ma.createElement(ve.Z,{style:{color:"#666666"}},"\u672C\u573A\u8003\u8BD5\u6700\u591A\u62CD\u6444"),Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"photo_count",style:{marginBottom:0}},Ma.createElement(Te.Z,{size:"large",disabled:aa||!Jt.open_camera,min:1,max:(0,bt.Ny)()?1e3:10,addonAfter:"\u6B21",style:{width:"150px"}}))),Ma.createElement(ve.Z,null,Ma.createElement("span",{className:"c-grey-c font14 ml10",style:{color:"#666"}},"\uFF08\u53EF\u586B\u5199\u6700\u5927\u503C\u4E3A10\uFF09"))):Ma.createElement(de.default.Item,{hidden:!0,name:"photo_count",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement(de.default.Item,{name:"identity_verify",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(Ne.default,{disabled:!(0,bt.ag)()||aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C ",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u9700\u8981\u4EBA\u8138\u9A8C\u8BC1\u5BA1\u6838\uFF0C\u5BA1\u6838\u901A\u8FC7\u540E\u624D\u53EF\u8FDB\u5165\u7B54\u9898\uFF09"))))),Ma.createElement(de.default.Item,{name:"open_phone_video_recording",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:!(0,bt.ag)()||aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u5FC5\u987B\u5148\u5F00\u542F\u624B\u673A\u5F55\u5236\u89C6\u9891\uFF0C\u6559\u5E08/\u52A9\u6559\u53EF\u5728\u8BD5\u5377\u8BE6\u60C5-\u6444\u50CF\u76D1\u63A7\u9875\u9762\u67E5\u770B\u5B66\u751F\u89C6\u9891\u52A8\u6001\uFF09")))))),((0,bt.aN)()||((Oe=me==null?void 0:me.commonHeader)==null?void 0:Oe.exercise_author))&&!(Xn!=null&&Xn.appraise_label)&&Ma.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:()=>{an.submit()}},"\u4FDD\u5B58")),Ma.createElement(Oc,null),Ma.createElement(Fe.default,{centered:!0,destroyOnClose:!0,open:Ga,title:"\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:()=>On(!1)},Ma.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},Ma.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A",(Pe=pe==null?void 0:pe.setting)==null?void 0:Pe.homepage_tea_qq_number," "),Ma.createElement("img",{src:`${Re.Z.IMG_SERVER}/${(Pn=pe==null?void 0:pe.setting)==null?void 0:Pn.homepage_tea_qq_qrcode_url}`,width:200,height:200}))))};var id=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie})=>({exercise:me,loading:pe.effects,globalSetting:ie}))(ld),vl=x(59301),t0=Object.defineProperty,n0=Object.defineProperties,bd=Object.getOwnPropertyDescriptors,Xs=Object.getOwnPropertySymbols,Md=Object.prototype.hasOwnProperty,a0=Object.prototype.propertyIsEnumerable,xd=(me,pe,ie)=>pe in me?t0(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,rc=(me,pe)=>{for(var ie in pe||(pe={}))Md.call(pe,ie)&&xd(me,ie,pe[ie]);if(Xs)for(var ie of Xs(pe))a0.call(pe,ie)&&xd(me,ie,pe[ie]);return me},ud=(me,pe)=>n0(me,bd(pe)),Td=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const r0=({exercise:me,loading:pe,dispatch:ie})=>{var dt,Dt,_e;const{workSetting:Ut,commonHeader:at}=me,Oe=(0,ye.useParams)();Oe.category=Oe.categoryId;const[Pe,Pn]=(0,a.useState)(!1),[Zn,Xn]=(0,a.useState)(!1);let[an,wn]=(0,a.useState)({score_open:!1,answer_open:!1,show_statistic:!1,open_total_score:!1,open_score_reviewed:!0,open_score_commited:!1,open_score:!1,answered_open:!1,assistant_auth:!1,passing_rate:60,use_blank_score:!1,downcase:!1,open_make_up:!1,make_up_score:1});(0,a.useEffect)(()=>{Aa("\u8868\u5355\u672A\u4FDD\u5B58")},[an]);const aa=On=>{On.preventDefault(),On.returnValue=""},Aa=(On="")=>{ie({type:"exercise/setActionTabs",payload:{key:On}})};(0,a.useEffect)(()=>{var On,pa;_n(),(On=Ut==null?void 0:Ut.exercise)!=null&&On.id&&!(0,bt.aN)()&&!((pa=Ut==null?void 0:Ut.exercise)!=null&&pa.is_creator)&&Pn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{},[]);const _n=()=>{const On=JSON.parse(JSON.stringify(Ut));Object.keys(an).forEach(pa=>{var Jt;an[pa]=(Jt=On==null?void 0:On.exercise)==null?void 0:Jt[pa]}),wn(an),me.actionTabs.key!="\u6279\u91CF\u53D1\u5E03"&&Aa("")},Wn=()=>{const On=JSON.parse(JSON.stringify(an));On.categoryId=Oe.categoryId,Ga(On)},Ga=On=>Td(void 0,null,function*(){var pa;if((On==null?void 0:On.use_blank_score)!==((pa=Ut==null?void 0:Ut.exercise)==null?void 0:pa.use_blank_score)){let ga=Fe.default.confirm({closable:!0,width:500,centered:!0,icon:null,title:"\u63D0\u793A",onOk:()=>Td(void 0,null,function*(){Xn(!0);const la=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Xn(!1),la.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Aa(""),ie({type:"exercise/getCommonHeader",payload:rc({},Oe)}),ie({type:"exercise/getWorkSetting",payload:rc({},Oe)}),Xn(!1))})});On!=null&&On.use_blank_score?ga.update({content:vl.createElement("div",null,"\u60A8\u5DF2\u52FE\u9009",vl.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")}):ga.update({content:vl.createElement("div",null,"\u60A8\u5DF2\u53D6\u6D88\u52FE\u9009",vl.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")});return}Xn(!0);const Jt=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Xn(!1),Jt.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Aa(""),ie({type:"exercise/getCommonHeader",payload:rc({},Oe)}),ie({type:"exercise/getWorkSetting",payload:rc({},Oe)}))});return vl.createElement("section",{className:Ll.scoreSettingWrapper,style:{padding:"30px 50px"}},vl.createElement(Ft.Z,{spinning:pe["exercise/getWorkSetting"]||Zn},(at==null?void 0:at.is_make_up_exercise)&&vl.createElement(vl.Fragment,null,vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.open_make_up,disabled:Pe,onChange:On=>{an.open_make_up=On.target.checked,wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u8865\u8003\u6263\u5206 ")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u7CFB\u7EDF\u5C06\u5728\u6BCF\u4E2A\u53C2\u52A0\u8865\u8003\u5B66\u751F\u6700\u7EC8\u6210\u7EE9\u7684\u57FA\u7840\u4E0A\u81EA\u52A8\u6263\u9664\u5BF9\u5E94\u8BBE\u7F6E\u7684\u5206\u503C\uFF09"))),an.open_make_up&&vl.createElement("div",{className:"flex item-center gap-10px",style:{background:"#F6F7F9",padding:"13px 54px"}},vl.createElement("div",null,"\u6263\u5206"),vl.createElement(Te.Z,{value:an==null?void 0:an.make_up_score,min:1,step:1,max:(dt=Ut==null?void 0:Ut.exercise)!=null&&dt.total_score?Number((Dt=Ut==null?void 0:Ut.exercise)==null?void 0:Dt.total_score):Number.MAX_SAFE_INTEGER,suffix:"\u5206",style:{width:"120px"},onChange:On=>{wn(ud(rc({},an),{make_up_score:Math.floor(On)}))}}))),vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.use_blank_score,disabled:Pe,onChange:On=>{an.use_blank_score=On.target.checked,wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement(vl.Fragment,null,vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206"))),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5B66\u751F\u6709\u6F0F\u9009\u6B63\u786E\u7B54\u6848\u4F46\u662F\u9009\u4E2D\u7684\u7B54\u6848\u5168\u90E8\u6B63\u786E\uFF0C\u53EF\u83B7\u5F97\u90E8\u5206\u5206\u503C\uFF0C\u5206\u503C=\u9009\u4E2D\u7684\u7B54\u6848\u4E2A\u6570*\uFF08\u8BE5\u5C0F\u9898\u5206\u503C/\u6B63\u786E\u7B54\u6848\u7684\u4E2A\u6570\uFF09\uFF09"))),vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.downcase,disabled:Pe,onChange:On=>{an.downcase=On.target.checked,wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u586B\u7A7A\u9898\u5224\u5206\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u586B\u7A7A\u9898\u5728\u5224\u5206\u65F6\uFF0C\u5C06\u5FFD\u7565\u7B54\u6848\u603B\u4E2D\u82F1\u6587\u5B57\u6BCD\u5927\u5C0F\u5199\u9650\u5236\uFF09"))),vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.open_total_score,disabled:Pe,onChange:On=>{an.open_total_score=On.target.checked,On.target.checked?(an.open_score=!1,an.open_score_reviewed=!0):(an.open_score=!0,an.open_score_reviewed=!1),wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u6210\u7EE9")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u53EF\u914D\u7F6E\u5B66\u751F\u5728\u67D0\u9636\u6BB5\u53EF\u67E5\u770B\u8003\u8BD5\u6210\u7EE9\uFF09"))),an.open_total_score&&vl.createElement(vl.Fragment,null,vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},vl.createElement(be.ZP.Group,{disabled:Pe,value:an.open_score?"afterEndTime":an!=null&&an.open_score_reviewed?"afterReview":"afterCommit",onChange:On=>{On.target.value==="afterEndTime"?wn(pa=>ud(rc({},pa),{open_score:!0,open_score_reviewed:!1,open_score_commited:!1})):On.target.value==="afterReview"?wn(pa=>ud(rc({},pa),{open_score:!1,open_score_reviewed:!0,open_score_commited:!1})):wn(pa=>ud(rc({},pa),{open_score:!1,open_score_reviewed:!1,open_score_commited:!0}))}},vl.createElement(be.ZP,{value:"afterEndTime",style:{marginRight:"80px"}},vl.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u540E")),vl.createElement(be.ZP,{value:"afterCommit",style:{marginRight:"80px"}},vl.createElement("span",{style:{color:"#000"}},"\u63D0\u4EA4\u8BD5\u5377\u540E")),vl.createElement(be.ZP,{value:"afterReview"},vl.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u4E14\u8BD5\u5377\u8BC4\u9605\u5B8C\u6210\u540E")))),vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},vl.createElement(Ne.default,{className:Ll.mainRuleText,checked:an.answered_open,disabled:Pe,onChange:On=>{an.answered_open=On.target.checked,wn(Object.assign({},an))}},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u67E5\u770B\u8BD5\u5377")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4E2A\u4EBA\u8003\u8BD5\u7B54\u5377\uFF09")),an.answered_open&&vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},vl.createElement(be.ZP.Group,{value:an.answer_open,disabled:Pe,onChange:On=>{an.answer_open=On.target.value,wn(Object.assign({},an))}},vl.createElement(be.ZP,{value:!0,style:{marginRight:"25px"}},vl.createElement("span",{style:{color:"#000"}},"\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")),vl.createElement(be.ZP,{value:!1},vl.createElement("span",{style:{color:"#000"}},"\u4E0D\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")))),vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},vl.createElement(Ne.default,{className:Ll.mainRuleText,checked:an.score_open,disabled:Pe,onChange:On=>{an.score_open=On.target.checked,wn(Object.assign({},an))}},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u6210\u7EE9")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u4ED6\u540C\u5B66\u672C\u573A\u8003\u8BD5\u7684\u6210\u7EE9\uFF09")),vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(Ne.default,{className:Ll.mainRuleText,checked:an.show_statistic,disabled:Pe,onChange:On=>{an.show_statistic=On.target.checked,wn(Object.assign({},an))}},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u7EDF\u8BA1\u7ED3\u679C")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u672C\u573A\u8003\u8BD5\u7684\u7EDF\u8BA1\u7ED3\u679C\uFF09"))),((0,bt.aN)()||((_e=me==null?void 0:me.commonHeader)==null?void 0:_e.exercise_author))&&vl.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Wn},"\u4FDD\u5B58")))};var kd=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie})=>({exercise:me,loading:pe.effects,globalSetting:ie}))(r0),Il=x(59301),o0=Object.defineProperty,l0=Object.defineProperties,sd=Object.getOwnPropertyDescriptors,cd=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,i0=Object.prototype.propertyIsEnumerable,jd=(me,pe,ie)=>pe in me?o0(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ni=(me,pe)=>{for(var ie in pe||(pe={}))wd.call(pe,ie)&&jd(me,ie,pe[ie]);if(cd)for(var ie of cd(pe))i0.call(pe,ie)&&jd(me,ie,pe[ie]);return me},Jo=(me,pe)=>l0(me,sd(pe)),$l=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ou=({exercise:me,globalSetting:pe,loading:ie,dispatch:dt})=>{const{workSetting:Dt,commonHeader:_e}=me,Ut=(0,ye.useParams)();Ut.category=Ut.categoryId;const[at,Oe]=(0,a.useState)(!1),[Pe,Pn]=(0,a.useState)(0),[Zn,Xn]=(0,a.useState)(0),[an,wn]=(0,a.useState)(!1),[aa,Aa]=(0,a.useState)({}),[_n,Wn]=(0,a.useState)(!1),[Ga,On]=(0,a.useState)([]),[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)([]),[ka,Yt]=(0,a.useState)([]),[Ca,ia]=(0,a.useState)([]);let[rr,ro]=(0,a.useState)({select_appraise:!1,sealed_review:!1,review_type:0,end_time:""});(0,a.useEffect)(()=>{var Da;!(0,bt.aN)()&&!((Da=Dt==null?void 0:Dt.exercise)!=null&&Da.is_creator)&&Oe(!0)},[Dt]),(0,a.useEffect)(()=>{Lr()},[_e]);const Lr=()=>$l(void 0,null,function*(){wn(!0);const Da=yield(0,fe.ZP)(`/api/exercises/${Ut==null?void 0:Ut.categoryId}/distinguish_exercise_setting.json`,{method:"get"});Object.keys(rr).forEach(Or=>{rr[Or]=Da==null?void 0:Da[Or]}),console.log(Da,"res"),Aa(Ni({},Da)),ia((Da==null?void 0:Da.exercise_questions)||[]),va(Ni({},Da)),Jt((Da==null?void 0:Da.course_review_teachers)||[]),ro(Jo(Ni({},rr),{select_appraise:!!Da.end_time})),Pn((Da==null?void 0:Da.total)||0),Xn((Da==null?void 0:Da.finish_total)||0),wn(!1),Va("")}),Ua=()=>{const Da=JSON.parse(JSON.stringify(rr));if(!Da.select_appraise){Lr();return}if(!Da.end_time){oe.ZP.warning("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");return}if(!Da.review_type&&!ka.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if(Da.review_type&&!Ca.some(Or=>!!Or.appraise_teachers.length)){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}Da.review_type===0&&(Da.exercises=ka==null?void 0:ka.map(Or=>{var Sr;return{id:Or.id,total:Or.total,finish_total:Or.finish_total,unfinished_total:Or.unfinished_total,appraise_teacher_ids:(Sr=Or==null?void 0:Or.appraise_teachers)==null?void 0:Sr.map(or=>({id:or.id}))}})),Da.review_type===1&&(Da.exercise_questions=Ca==null?void 0:Ca.map(Or=>{var Sr;return{id:Or.id,total:Or.total,question_id:Or.question_id,appraise_teacher_ids:(Sr=Or==null?void 0:Or.appraise_teachers)==null?void 0:Sr.map(or=>({id:or.id,message_status:or.message_status}))}})),delete Da.select_appraise,Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,closable:!0,width:650,title:"\u63D0\u793A",content:Il.createElement("div",null,Il.createElement("div",null,"\u4E3A\u786E\u4FDD\u96C6\u4E2D\u9605\u5377\u6A21\u5F0F\u8BC4\u5206\u7ED3\u679C\u7684\u51C6\u786E\u6027\uFF0C\u4FDD\u5B58\u8BC4\u9605\u8BBE\u7F6E\u4E4B\u540E\uFF0C\u672C\u573A\u8003\u8BD5\u5C06",Il.createElement("span",{style:{color:"#FA6400"}},"\u7981\u6B62"),"\u8FDB\u884C\u4EE5\u4E0B\u64CD\u4F5C\uFF1A"),Il.createElement("div",{style:{padding:10,marginTop:5,background:"#F6F7F9"}},"1.\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5",Il.createElement("br",null),"2.\u4FEE\u6539\u672C\u573A\u8003\u8BD5\u7ED3\u675F\u65F6\u95F4",Il.createElement("br",null),"3.\u5F00\u542F\u8865\u8003",Il.createElement("br",null),"4.\u7F16\u8F91\u8BD5\u5377"),Il.createElement("div",{className:"c-grey-999",style:{marginTop:10,color:"#FA6A0A",display:"flex",alignItems:"center"}},Il.createElement(b.Z,{style:{marginRight:3}})," ",Il.createElement("span",null,"\u6CE8\u610F\uFF1A\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03"))),onOk:()=>{sn(Da)}})},sn=Da=>$l(void 0,null,function*(){wn(!0);const Or=yield(0,fe.ZP)(`/api/exercises/${Ut==null?void 0:Ut.categoryId}/appraise_settings.json`,{method:"post",body:Da});if(wn(!1),Or.status===0){oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Va(""),Lr(),dt({type:"exercise/getCommonHeader",payload:Ni({},Ut)});return}}),tt=(Da,Or)=>{const Sr=Math.floor(Da/Or);let or=Da%Or;const ea=[];for(let _a=0;_a0?1:0)),or--;return ea},Za=Da=>{var Or;if(Da[0]){let Sr=[];ka.forEach(ea=>Sr=Sr.concat(ea.appraise_teachers));let or=pa.filter(ea=>Sr.every(_a=>_a.id!==ea.id));console.log(or,"newItems"),la([...or]),Wn(Da)}if(!Da[0]){let Sr=[];Sr=Sr.concat(((Or=Ca==null?void 0:Ca[Da[1]])==null?void 0:Or.appraise_teachers)||[]);let or=pa.filter(ea=>Sr.every(_a=>_a.id!==ea.id));la([...or]),Wn(Da)}},va=Da=>{if(Da!=null&&Da.start_appraise){Yt((Da==null?void 0:Da.exercises)||[]);return}let Or=Da==null?void 0:Da.exercises;const Sr=tt(Da==null?void 0:Da.total,Or.length),or=tt(Da==null?void 0:Da.finish_total,Or.length);Sr.forEach((ea,_a)=>{Or[_a].total=ea}),or.forEach((ea,_a)=>{Or[_a].finish_total=ea,Or[_a].unfinished_total=Or[_a].total-Or[_a].finish_total}),Or=Or.filter(ea=>ea.total>0),Yt(JSON.parse(JSON.stringify(Or)))},za=()=>{if(!Ga.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if(_n[0]){if(_n[1]===null){const Da=ga.filter(ea=>Ga.includes(ea.id));let Or=[...ka,...Da==null?void 0:Da.map(ea=>({appraise_teachers:[ea],total:0,finish_total:0,unfinished_total:0}))];const Sr=tt(Pe,Or.length),or=tt(Zn,Or.length);Sr.forEach((ea,_a)=>{Or[_a].total=ea}),or.forEach((ea,_a)=>{Or[_a].finish_total=ea,Or[_a].unfinished_total=Or[_a].total-Or[_a].finish_total}),Or=Or.filter(ea=>ea.total>0),Yt(JSON.parse(JSON.stringify(Or))),Wn(!1)}if(_n[1]!==null){const Da=ga.filter(Sr=>Ga.includes(Sr.id));let Or=[];ka.forEach((Sr,or)=>{if(_n[1]===or){Or.push(Jo(Ni({},Sr),{appraise_teachers:[...Sr.appraise_teachers,...Da]}));return}Or.push(Sr)}),Yt(Or),Wn(!1)}}if(!_n[0]&&_n[1]!==null){let Da=ga.filter(Sr=>Ga.includes(Sr.id));Da=Da.map(Sr=>Jo(Ni({},Sr),{message_status:aa!=null&&aa.start_appraise?1:0}));let Or=[];Ca.forEach((Sr,or)=>{if(_n[1]===or){Or.push(Jo(Ni({},Sr),{appraise_teachers:[...Sr.appraise_teachers,...Da]}));return}Or.push(Sr)}),ia(Or),Wn(!1)}},ur=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Da,Or,Sr)=>Sr+1,width:70},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",dataIndex:"appraise_teachers",className:Ll.padding,render:(Da,Or,Sr)=>Il.createElement("span",{className:Ll.tagWrap},Il.createElement("div",null,Da==null?void 0:Da.map(or=>Il.createElement("div",{className:Ll.tag,key:or.id},Il.createElement("b",{title:or.name},or.name),(or==null?void 0:or.disabled)!==!0&&!at&&Il.createElement("span",{onClick:ea=>{const _a=Da.filter(ra=>ra.id!==or.id),ya=ka.map((ra,xa)=>xa===Sr?Jo(Ni({},ra),{appraise_teachers:_a}):ra);_a.length?Yt(ya):Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5220\u9664\u6B64\u6559\u5E08\uFF0C\u8BD5\u5377\u5C06\u91CD\u65B0\u5747\u5206\u7ED9\u5176\u4ED6\u8BC4\u9605\u6559\u5E08\uFF1B\u5982\u9700\u6DFB\u52A0\u6307\u5B9A\u6559\u5E08\uFF0C\u8BF7\u70B9\u51FB\u201C+\u8BC4\u9605\u6559\u5E08\u201D\u6309\u94AE\u3002",onOk:()=>{const ra=ka==null?void 0:ka.filter((nr,vr)=>vr!==Sr),xa=tt(Pe,ra.length),qn=tt(Zn,ra.length);xa.forEach((nr,vr)=>{ra[vr].total=nr}),qn.forEach((nr,vr)=>{ra[vr].finish_total=nr,ra[vr].unfinished_total=ra[vr].total-ra[vr].finish_total}),Yt(JSON.parse(JSON.stringify(ra)))}})}},Il.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Il.createElement("span",{onClick:()=>Za([!0,Sr]),style:{fontSize:14,fontWeight:400},className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}," \u6DFB\u52A0\u5171\u8BC4\u6559\u5E08"))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}],Ha=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Da,Or,Sr)=>Sr+1,width:70},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",align:"center",width:100},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",className:Ll.padding,dataIndex:"appraise_teachers",render:(Da,Or,Sr)=>Il.createElement("span",{className:Ll.tagWrap},Il.createElement("div",null,Da==null?void 0:Da.map(or=>Il.createElement("div",{className:Ll.tag,key:or.id},Il.createElement("b",{title:or.name},or.name),(or==null?void 0:or.disabled)!==!0&&!at&&Il.createElement("span",{onClick:()=>{const ea=Da.filter(ya=>ya.id!==or.id),_a=Ca.map((ya,ra)=>ra===Sr?Jo(Ni({},ya),{appraise_teachers:ea}):ya);ia(_a)}},Il.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Il.createElement("span",{onClick:()=>Za([!1,Sr]),className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}];(0,a.useEffect)(()=>{Va("\u8868\u5355\u672A\u4FDD\u5B58")},[rr]);const Vr=Da=>{Da.preventDefault(),Da.returnValue=""},Va=(Da="")=>{dt({type:"exercise/setActionTabs",payload:{key:Da}})};return Il.createElement("section",{className:Ll.form,style:{padding:"30px 50px",marginBottom:"0px"}},Il.createElement(Ft.Z,{spinning:an},Il.createElement("div",{className:Ll.title},"\u96C6\u4E2D\u8BC4\u9605",Il.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5F53\u5B58\u5728\u5B66\u751F\u5DF2\u4EA4\u5377\u3001\u8003\u8BD5\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\uFF0C\u4E14\u8BD5\u5377\u5305\u542B\u586B\u7A7A\u3001\u7B80\u7B54\u3001\u7F16\u7A0B\u3001\u7A0B\u5E8F\u586B\u7A7A\u3001\u5B9E\u8BAD\u9898\u4EFB\u610F\u9898\u578B\u65F6\uFF0C\u65B9\u53EF\u5F00\u542F\u96C6\u4E2D\u8BC4\u9605\uFF09")),Il.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px"}},Il.createElement(Ne.default,{checked:rr.select_appraise,disabled:at||!(aa!=null&&aa.can_open_appraise&&!(aa!=null&&aa.end_time)),onChange:Da=>{rr.select_appraise=Da.target.checked,ro(Object.assign({},rr))}}),Il.createElement("span",{style:{color:"#000",fontSize:"14px",marginLeft:"10px"}},"\u96C6\u4E2D\u9605\u5377"),Il.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u5F00\u542F\u96C6\u4E2D\u9605\u5377\u540E\u65E0\u6CD5\u5173\u95ED\uFF09"),rr.select_appraise&&Il.createElement("div",{style:{marginTop:"15px",marginLeft:30}},Il.createElement("span",{style:{color:"#666666",marginRight:"20px"}},Il.createElement("span",{style:{color:"red"}},"*"),"\u622A\u6B62\u65F6\u95F4"),Il.createElement(xn.default,{style:{width:234},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Qe()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:at,allowClear:!1,value:rr.end_time?Qe()(rr.end_time):"",disabledDate:Nt.Q8,disabledTime:Da=>(0,Nt.d0)(Da),onChange:(Da,Or)=>{rr.end_time=Or,ro(Object.assign({},rr))}}))),rr.select_appraise&&Il.createElement("div",null,Il.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Il.createElement(Ne.default,{checked:rr.sealed_review,disabled:at||!(aa!=null&&aa.change_sealed_review),onChange:Da=>{rr.sealed_review=Da.target.checked,ro(Object.assign({},rr))}}),Il.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"#000"}},"\u5C01\u5377\u8BC4\u9605"),Il.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u9009\u4E2D\uFF0C\u6559\u5E08\u5728\u96C6\u4E2D\u8BC4\u9605\u754C\u9762\u4E0D\u663E\u793A\u5B66\u751F\u4FE1\u606F\uFF09")),Il.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Il.createElement("div",{style:{color:"#333333",fontSize:14,fontWeight:600,marginBottom:20}},"\u8BC4\u9605\u6A21\u5F0F",Il.createElement("span",{style:{fontWeight:400,fontSize:14,color:"#666"}},"\uFF08\u8BC4\u9605\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u66F4\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF09")),Il.createElement(be.ZP.Group,{value:rr.review_type,disabled:at||!!(aa!=null&&aa.end_time),style:{marginLeft:30},onChange:Da=>{rr.review_type=Da.target.value,ro(Object.assign({},rr))}},Il.createElement(be.ZP,{value:0},Il.createElement("span",{style:{color:"#000"}},"\u8BD5\u5377\u6A21\u5F0F"),Il.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5B66\u751F\u8BD5\u5377\u5C06\u5747\u5300\u5206\u914D\u7ED9\u8BC4\u9605\u6559\u5E08\uFF0C\u65E0\u6CD5\u5747\u5206\u591A\u51FA\u7684\u8BD5\u5377\u968F\u673A\u5206\u914D\uFF09")),Il.createElement(be.ZP,{style:{marginLeft:"50px"},value:1},Il.createElement("span",{style:{color:"#000"}},"\u8BD5\u9898\u6A21\u5F0F"),Il.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5C06\u5355\u4E2A\u8BD5\u9898\u6307\u5B9A\u7ED9\u591A\u4E2A\u6559\u5E08\u5171\u540C\u8BC4\u9605\uFF09"))),Il.createElement(re.Z,{style:{width:"100%",marginTop:"15px"},align:"middle"},Il.createElement("div",{style:{color:"#666666",marginRight:"20px"}},Il.createElement("span",{style:{color:"red"}},"*"),"\u8BC4\u9605\u6559\u5E08"),rr.review_type===0&&Il.createElement("div",{style:{flex:1}},ka.length>0&&Il.createElement(z.default,{bordered:!0,className:"mb20",pagination:!1,dataSource:ka,columns:ur}),(aa==null?void 0:aa.start_appraise)===!1&&!at&&Il.createElement("div",{onClick:()=>Za([!0,null]),style:{display:Pe==1&&(ka==null?void 0:ka.length)===1&&"none",width:"124px",height:"38px",lineHeight:"38px",border:"1px #3061D0 solid",borderRadius:"2px",textAlign:"center",cursor:"pointer",color:"#3061D0",background:"#fff"}},"\u6DFB\u52A0\u8BC4\u9605\u6559\u5E08")),rr.review_type===1&&Il.createElement("div",{style:{flex:1}},Ca.length>0&&Il.createElement(z.default,{bordered:!0,pagination:!1,rowKey:"id",dataSource:Ca,columns:Ha}))))),((0,bt.aN)()||!!aa.exercise_author)&&Il.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Ua},"\u4FDD\u5B58")),Il.createElement(Fe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:!!_n,title:(_n==null?void 0:_n[1])===null?"\u6307\u5B9A\u8BC4\u9605\u6559\u5E08":"\u5171\u540C\u8BC4\u9605\u6559\u5E08",bodyStyle:{padding:"0 16px"},okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:"800px",onOk:za,afterClose:()=>{On([])},onCancel:()=>{Wn(!1)}},Il.createElement(z.default,{pagination:{hideOnSinglePage:!0},bordered:!0,rowSelection:{type:"checkbox",onChange:Da=>{On(Da)}},rowKey:"id",dataSource:ga,columns:[{title:"\u6559\u5E08\u59D3\u540D",align:"center",dataIndex:"name",width:"25%"},{title:"\u624B\u673A",align:"center",dataIndex:"phone",width:"18%"},{title:"\u90AE\u7BB1",align:"center",dataIndex:"email",width:"28%"},{title:"\u89D2\u8272",align:"center",dataIndex:"identity"}]})))};var zu=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie})=>({exercise:me,loading:pe.effects,globalSetting:ie}))(ou),Ai=x(59301),Js=Object.defineProperty,Ac=Object.defineProperties,qs=Object.getOwnPropertyDescriptors,Kc=Object.getOwnPropertySymbols,Lc=Object.prototype.hasOwnProperty,Ks=Object.prototype.propertyIsEnumerable,u0=(me,pe,ie)=>pe in me?Js(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,s0=(me,pe)=>{for(var ie in pe||(pe={}))Lc.call(pe,ie)&&u0(me,ie,pe[ie]);if(Kc)for(var ie of Kc(pe))Ks.call(pe,ie)&&u0(me,ie,pe[ie]);return me},S0=(me,pe)=>Ac(me,qs(pe)),$0=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const P0=({exercise:me,globalSetting:pe,loading:ie,dispatch:dt})=>{var Dt,_e;const{workSetting:Ut,commonHeader:at}=me,[Oe]=de.default.useForm(),Pe=(0,ye.useParams)();Pe.category=Pe.categoryId;const[Pn,Zn]=(0,a.useState)(!1),[Xn,an]=(0,a.useState)(!1),wn={forbid_screen:!1,screen_key:((Dt=Ut==null?void 0:Ut.exercise)==null?void 0:Dt.screen_key)||"",use_white_list:!1,white_list:[],net_limit:!1,net_limit_list:""};let[aa,Aa]=(0,a.useState)(wn);const[_n,Wn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{var Yt,Ca;Ga(),(Yt=Ut==null?void 0:Ut.exercise)!=null&&Yt.id&&!(0,bt.aN)()&&!((Ca=Ut==null?void 0:Ut.exercise)!=null&&Ca.is_creator)&&Zn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{((at==null?void 0:at.exercise_status)==="5"||at!=null&&at.appraise_label)&&Zn(!0)},[at]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],...me.actionTabs.data.ip]:aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],On(aa),Wn(!0))},[me.actionTabs]);const Ga=()=>{const Yt=JSON.parse(JSON.stringify(Ut));Object.keys(aa).forEach(Ca=>{var ia;aa[Ca]=(ia=Yt==null?void 0:Yt.exercise)==null?void 0:ia[Ca]}),On(S0(s0({},aa),{ip_limit:aa.ip_limit!=="no"}))},On=Yt=>{Aa(Yt),Oe.setFieldsValue(Yt)};function pa(Yt=""){if(!Yt)return!1;const Ca=Yt.split(` +`),Gn.focus();default:throw new Error}},[Gn,Er]),$i=(0,a.useMemo)(()=>{switch(Er){case xn:return a.createElement(Kt,{callback:Nl,onCancel:Zi});case Na:return a.createElement(ut.Z,{callback:Nl,onCancel:Zi});case Nt:return a.createElement(Xe.Z,{callback:Nl,onCancel:Zi});case qt:return a.createElement(wt,{callback:Nl,onCancel:Zi});case Ka:return a.createElement(we,{callback:Nl,onCancel:Zi});case"maths-latex":return a.createElement(ta,{showSaveButton:!0,callback:Nl});case"inline-latex":return a.createElement(Vn.Z,{showSaveButton:!0,callback:Nl});default:return null}},[Er]);function Zi(){co("")}(0,a.useEffect)(()=>{if(ii.current){let Lo=function(mi){hl=!0,ql=mi.pageY},Ur=function(){hl=!1},Qr=function(mi){if(hl){let gi=mi.pageY-ql;gi<0&&(gi=0),gi>300&&(gi=300);let eu=qe+gi+"px";rl(eu)}},Wr=ii.current,hl=!1,ql=0;return Wr.addEventListener("mousedown",Lo),document.addEventListener("mousemove",Qr),document.addEventListener("mouseup",Ur),()=>{Wr.removeEventListener("mousedown",Lo),document.removeEventListener("mousemove",Qr),document.removeEventListener("mouseup",Ur)}}},[Gn,ii]),(0,a.useEffect)(()=>{rl(qe)},[qe]);const gu=Ln(Ie),fu=Ln(Jr),lu={width:gu,height:fu},yl=(0,a.useMemo)(()=>{if(Do){let Lo=new Date(Do),Ur=Lo.getHours(),Qr=Lo.getMinutes(),Wr=Lo.getSeconds();return Ur=Ur<10?"0"+Ur:Ur,Qr=Qr<10?"0"+Qr:Qr,Wr=Wr<10?"0"+Wr:Wr,`${Ur}:${Qr}:${Wr}`}return 0},[Do]),pi=Lo=>{const Ur=[];if(Pa){let Qr=-1;Lo=Lo.replace(/(@▁▁@|@▁@)/g,function(Wr,hl,ql){Ur.push({multiLine:Wr!==yn})})}return Ur};function Eu(){window.sessionStorage.removeItem($t),ni(!1),uo(0)}function qu(){ni(!1),uo(0),Gn.setValue(window.sessionStorage.getItem($t))}(0,a.useEffect)(()=>{dn[Er]&&Er!==Cn&&Er!==qt&&setTimeout(()=>{const Lo=document.getElementsByClassName("markdown-popup-form")[0],Ur=window.innerWidth/2-Lo.offsetWidth/2,Qr=window.innerHeight/2-Lo.offsetHeight/2;Vl(Ur),Ro(Qr)},0)},[Er]);const ts=Lo=>{Lo.preventDefault();const Ur=Lo.clientX-Ml,Qr=Lo.clientY-Zl;document.body.onmousemove=Wr=>{let hl=Wr.clientX-Ur,ql=Wr.clientY-Qr;const mi=document.getElementsByClassName("markdown-popup-form")[0],gi=window.innerWidth-mi.offsetWidth,eu=window.innerHeight-mi.offsetHeight;hl=Math.max(0,Math.min(hl,gi)),ql=Math.max(0,Math.min(ql,eu)),ju(Wr.clientX,Wr.clientY,Ur,Qr)&&(Vl(hl),Ro(ql))},document.body.onmouseup=function(){document.body.onmousemove=null}},ju=(Lo,Ur,Qr,Wr)=>{const hl=document.body.clientHeight,ql=document.body.clientWidth;return Lo<20&&Qr>Lo||Lo>ql-20&&QrUr||Ur>hl-20&&WrTe in Se?Ze(Se,Te,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Se[Te]=xe,ee=(Se,Te)=>{for(var xe in Te||(Te={}))E.call(Te,xe)&&b(Se,xe,Te[xe]);if(y)for(var xe of y(Te))z.call(Te,xe)&&b(Se,xe,Te[xe]);return Se},te=(Se,Te)=>Ce(Se,re(Te));const{useForm:ne}=a.default,ue={width:280,marginRight:10},ce={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:Se,onCancel:Te})=>{const[xe]=ne();let ot=(0,De.useRef)();function Qe(lt){ot.current.width=xe.getFieldValue("width"),ot.current.align=xe.getFieldValue("align"),Se(lt,ot.current)}function it(lt,Pt){if(lt.status===-1){fe.ZP.error(lt.message);return}xe.setFieldsValue({src:`/api/attachments/${lt.id}`,type:Pt.type})}function Ye(lt){let Pt=lt.target.files[0];ot.current=Pt,Ae(Pt,it)}return Me.createElement(a.default,te(ee({form:xe},ce),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Me.createElement("div",{className:"flex-container"},Me.createElement(a.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Me.createElement(Re.default,{style:ue})),Me.createElement(ve,{onFileChange:Ye}))),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Me.createElement(Re.default,{style:{width:264}})),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Me.createElement(ye.Z,null,Me.createElement(a.default.Item,{name:"width",style:{margin:0}},Me.createElement(Fe.Z,{style:{width:264}})),Me.createElement("span",{className:"ml8"},"%"))),Me.createElement(a.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Me.createElement(Be.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Me.createElement("aside",null,Me.createElement(a.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Me.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Me.createElement(oe.ZP,{type:"default",onClick:Te},"\u53D6\u6D88"))))};function ve({onFileChange:Se}){return Me.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Me.createElement("input",{type:"file",onChange:Se}))}function Ae(Se,Te){if(!Se)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,be.bg)())throw fe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let xe=new FormData;xe.append("editormd-image-file",Se),xe.append("file_param_name","editormd-image-file"),xe.append("byxhr","true");var ot=new window.XMLHttpRequest;ot.withCredentials=!0,ot.addEventListener("load",function(Qe){Te(JSON.parse(Qe.target.responseText),Se)},!1),ot.addEventListener("error",function(Qe){console.error(Qe)},!1),ot.open("POST",`${Ne.KI}/api/attachments.json`),ot.send(xe)}},57261:function(Ot,st,x){"use strict";x.d(st,{Z:function(){return Re}});var a=x(59301),fe=x(4676);class Re extends a.Component{constructor(Fe){super(Fe);const Be=window.document;this.node=Be.createElement("div"),Be.body.appendChild(this.node)}render(){const{children:Fe}=this.props;return(0,fe.createPortal)(Fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(Ot,st,x){"use strict";x.d(st,{i:function(){return ce},Z:function(){return ve}});var a={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},fe=x(71418),Re=x(6848),ye=x(93948),Fe=x(92310),Be=x.n(Fe),oe=x(65862),Ne=x(2524),De=x(41867),be=x(79005),Me=x(20345),Ze=x(77882),Ce=x(31081),re=x(75309),y=x(71979),E=x(47558),z=x(42922),b=x(66832),ee=x(96593),te=x(19664),ne=x(91833),ue=x(59301);const ce=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:be,swimg:Me},{name:"101\u8BA1\u5212",ptimg:Ze,swimg:Ce},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:re,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:z},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:ee},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:ne}];var ve=({className:Ae,dataSource:Se=[],col:Te=4,right:xe,bottom:ot=23,precision:Qe=0,wrapWidth:it=1200,trackEventItems:Ye,loading:lt,onRemove:Pt=()=>{},isCurrent:Ct=!0,showAlias:vt=!1,showProgress:Lt=!1})=>{const Rt=Math.floor((it-(Te-1)*xe)/Te),Kt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(ut=>(window.ENV==="build"&&(ut.ptimg=`/react/build${ut.ptimg}`,ut.swimg=`/react/build${ut.swimg}`),ut));return ue.createElement(fe.Z,{spinning:lt},ue.createElement("div",{className:Be()(a.list,Ae)},!!(Se!=null&&Se.length)&&(Se==null?void 0:Se.map((ut,Xe)=>{var mt,Tt,_t,Wt,Rn,Ge;const{name:Gt,id:Tn,identifier:En,featured:nn,school_name:rt,image_url:ht,excellent:$e,is_plan:ze}=ut;return ue.createElement("div",{key:Tn,className:Ct&&Lt?a.wrapisCurrent:a.wrap,style:{width:Rt,marginRight:(1+Xe)%Te===0?0:xe+Qe,marginBottom:ot}},ue.createElement("a",{className:a.li,onClick:Ft=>{Ft.preventDefault(),Ft.stopPropagation(),Ye&&(0,oe.L9)([Ye]),(0,oe.xg)(`/paths/${En}`)}},ue.createElement("div",{className:a.img},ue.createElement("img",{className:a.cover,src:`${ht}`}),Ct&&(0,De.bg)()&&(ut==null?void 0:ut.studying)&&ue.createElement("div",{className:`${a.movebq} user-path-items`,onClick:Ft=>{Ft.stopPropagation(),Pt(ut)}},ue.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ue.createElement("span",{className:"c-red"},"\u79FB\u9664")),(mt=ut==null?void 0:ut.subject_tags)==null?void 0:mt.map((Ft,wt)=>{var Ke,He;if(wt===0){const Je=(Ke=Kt.find(we=>we.name==Ft))==null?void 0:Ke.swimg;return ue.createElement("img",{className:a.sign,src:Je,style:{left:"-4px"}})}const gt=(He=Kt.find(Je=>Je.name==Ft))==null?void 0:He.ptimg;return ue.createElement("img",{className:a.sign,src:gt,style:{left:`${48+52*(wt-1)+2*wt}px`}})}),ue.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ut==null?void 0:ut.excellent)&&ue.createElement("div",{className:a.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:a.name},ue.createElement(Re.Z,{title:vt&&(ut!=null&&ut.excellent_alias_name)?ue.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Gt}`,ue.createElement("br",null),ue.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ut==null?void 0:ut.excellent_alias_name}`)):Gt},ue.createElement("span",{className:a.e},vt&&(ut==null?void 0:ut.excellent_alias_name)||Gt))),Ct&&Lt&&((Tt=ut==null?void 0:ut.progress)==null?void 0:Tt.all_score)!=0&&ue.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ue.createElement(ye.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((_t=ut==null?void 0:ut.progress)==null?void 0:_t.my_score)/((Wt=ut==null?void 0:ut.progress)==null?void 0:Wt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Rn=ut==null?void 0:ut.progress)==null?void 0:Rn.my_score,"/",(Ge=ut==null?void 0:ut.progress)==null?void 0:Ge.all_score),(!Ct||!Lt)&&ue.createElement("div",{className:a.tags},ue.createElement("div",null,ue.createElement(Re.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ue.createElement("span",null,ut.stages_count))),ue.createElement(Re.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ue.createElement("span",null,ut.members_count)))))))})),!Se.length&&ue.createElement(Ne.Z,null)))}},3918:function(Ot,st,x){"use strict";x.d(st,{jL:function(){return Fe},w9:function(){return Ln},vv:function(){return Ie},dN:function(){return dn},QD:function(){return xl},cQ:function(){return wt.Z},vg:function(){return Hr},Oz:function(){return en},op:function(){return uo},O5:function(){return yl},_b:function(){return Bi},t7:function(){return ot},tT:function(){return Ye},Gi:function(){return fa},YG:function(){return Ra},Ed:function(){return ca},kT:function(){return $t},qp:function(){return z},Um:function(){return ce},K3:function(){return te},vr:function(){return Vl},qE:function(){return di},Je:function(){return Ct},wb:function(){return Ge},rC:function(){return Ft},lB:function(){return En},cq:function(){return Hn},kO:function(){return ar},tp:function(){return Ae},Si:function(){return qu},k8:function(){return si},Du:function(){return ql}});var a=x(59301),fe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyh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NHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Fe=({dataSource:Kn=[],img:Jn,imgWidth:Ia=346,title:Nr,sunTitle:wo,bannerExtraContent:Ea})=>a.createElement("div",{className:fe.banner},a.createElement("div",{className:fe.content},a.createElement("aside",null,a.createElement("p",null,a.createElement("b",null,Nr),a.createElement("span",null,wo)),Kn.length>0&&a.createElement("div",{className:fe.btns},Kn.map((Ya,Io)=>a.createElement("div",{key:Io,onClick:Ya.click},Ya.name,Ya.sign?a.createElement("img",{src:Re,width:39}):null))),Ea),Jn&&a.createElement("img",{style:{marginTop:33,marginRight:38},src:Jn,width:Ia}))),Be={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},oe=x(92310),Ne=x.n(oe),De=x(89392),be=Object.defineProperty,Me=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,re=(Kn,Jn,Ia)=>Jn in Kn?be(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,y=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Ze.call(Jn,Ia)&&re(Kn,Ia,Jn[Ia]);if(Me)for(var Ia of Me(Jn))Ce.call(Jn,Ia)&&re(Kn,Ia,Jn[Ia]);return Kn},z=({dataSource:Kn=[],value:Jn,onChange:Ia,onTitleChange:Nr,className:wo,title:Ea,titleWidth:Ya=41,style:Io={},fontColor:_o="#6A7283",showCount:Kr,classNameActive:ul,styleItem:$r={}})=>{const[ei,ki]=(0,a.useState)(0),[cu,ol]=(0,a.useState)(!1),Sl=(0,a.useRef)(null),vi=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var xi;Kn.length!==0&&(((xi=Sl==null?void 0:Sl.current)==null?void 0:xi.clientHeight)>97?ki(1):ki(0)),Kn.length===0&&ki(0),ol(!1)},[Kn]),a.createElement("div",{className:Ne()(Be.row,wo),style:Io},a.createElement("div",{onClick:(0,De.throttle)(()=>Nr==null?void 0:Nr(),2e3),style:{width:Ya,marginTop:cu?12:4},className:`${Be.title} ${Nr?"current":""}`},Ea),a.createElement("div",{className:cu?`${Be.tagsWrap} ${Be.tagsBorderWrap}`:Be.tagsWrap},a.createElement("div",{className:Be.bar,ref:vi,style:ei>0?{height:ei===1?97:"auto",overflow:ei===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},a.createElement("div",{className:Be.tag,ref:Sl},Kn==null?void 0:Kn.map(xi=>a.createElement("span",{onClick:()=>Ia(xi.id),key:xi.id,style:y(y({color:_o},$r),(xi==null?void 0:xi.style)||{}),className:Jn===xi.id?Ne()(ul||Be.active,xi.classNameActive):""},a.createElement("span",{title:xi.name,className:Be.name},xi.name),!!Kr&&a.createElement("span",{className:Be.num},xi.count))))),!!ei&&a.createElement(a.Fragment,null,ei===1?a.createElement("div",{onClick:()=>{var xi;ki(2),((xi=Sl==null?void 0:Sl.current)==null?void 0:xi.clientHeight)>245?ol(!0):ol(!1)},className:Be.action},"\u5C55\u5F00",a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):a.createElement("div",{onClick:()=>{vi.current.scrollTop=0,ki(1),ol(!1)},className:Be.action},"\u6536\u8D77",a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Kn=[],value:Jn,onChange:Ia,onTitleChange:Nr,className:wo,title:Ea,titleWidth:Ya=41,style:Io={},fontColor:_o="#6A7283",showCount:Kr,expand:ul=!0})=>{const[$r,ei]=(0,a.useState)(0),[ki,cu]=(0,a.useState)(!1),ol=(0,a.useRef)(null),Sl=(0,a.useRef)(null),[vi,xi]=(0,a.useState)(ul);return a.createElement("div",{className:Ne()(b.row,wo),style:Io},a.createElement("div",{className:"flex item-center justify-between"},a.createElement("div",{onClick:(0,De.throttle)(()=>Nr==null?void 0:Nr(),2e3),style:{width:Ya,marginTop:ki?12:4},className:`${b.title} ${Nr?"current":""}`},Ea),a.createElement("i",{className:`iconfont ${vi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:vi?8:10},onClick:()=>xi(!vi)})),vi&&a.createElement("div",{className:ki?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},a.createElement("div",{className:b.fenge}),a.createElement("div",{className:b.bar,ref:Sl},a.createElement("div",{className:b.tag,ref:ol},Kn==null?void 0:Kn.map(wu=>a.createElement("span",{onClick:()=>Ia(wu.id),key:wu.id,style:{color:_o},className:Jn===wu.id?b.active:""},a.createElement("span",{title:wu.name,className:b.name},wu.name),!!Kr&&a.createElement("span",{className:b.num},wu.count)))))))},ne={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ce=({dataSource:Kn=[],value:Jn,onChange:Ia,onTitleChange:Nr,className:wo,title:Ea,titleWidth:Ya=41,style:Io={},fontColor:_o="#fff",showCount:Kr,expand:ul=!0})=>{const[$r,ei]=(0,a.useState)(0),[ki,cu]=(0,a.useState)(!1),ol=(0,a.useRef)(null),Sl=(0,a.useRef)(null),[vi,xi]=(0,a.useState)(ul);return a.createElement("div",{className:Ne()(ne.row,wo),style:Io},a.createElement("div",{className:"flex item-center justify-between"},a.createElement("div",{onClick:(0,De.throttle)(()=>Nr==null?void 0:Nr(),2e3),style:{width:Ya},className:`${ne.title} ${Nr?"current":""}`},Ea),a.createElement("i",{className:`iconfont ${vi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:vi?"#00DDC7":"#037F74",fontSize:vi?10:12},onClick:()=>xi(!vi)})),vi&&a.createElement("div",{className:ki?`${ne.tagsWrap} ${ne.tagsBorderWrap}`:ne.tagsWrap},a.createElement("div",{className:ne.bar,ref:Sl},a.createElement("div",{className:ne.tag,ref:ol},Kn==null?void 0:Kn.map(wu=>a.createElement("span",{onClick:()=>Ia(wu.id),key:wu.id,style:{color:_o},className:Jn===wu.id?ne.active:""},a.createElement("span",{title:wu.name,className:ne.name},wu.name),!!Kr&&a.createElement("span",{className:ne.num},wu.count)))))))},de={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ae=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={}})=>a.createElement("div",{style:wo,className:Ne()(de.tabs,Nr)},Kn.map(Ea=>a.createElement("span",{onClick:()=>Ia(Ea.id),className:Jn===Ea.id?de.active:"",key:Ea.id},Ea.name))),Se={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Te=x(92832),ot=({dataSource:Kn=[],value:Jn="",onChange:Ia,onInputChange:Nr=()=>{},className:wo,style:Ea={},placeholder:Ya,allowClear:Io=!1})=>{var _o;const[Kr,ul]=(0,a.useState)(""),[$r,ei]=(0,a.useState)("");(0,a.useEffect)(()=>{var ol;let Sl=Jn;(ol=JSON.stringify(Jn))!=null&&ol.includes("{")&&(ul(Jn.id),Sl=Jn.value||"");try{ei(decodeURIComponent(Sl||""))}catch(vi){ei(decodeURIComponent(Sl||""))}},[Jn]);const ki=()=>{Ia(encodeURIComponent($r),Kr||null)},cu=ol=>{ol!==Kr&&(ul(ol),Ia(encodeURIComponent($r),ol))};return a.createElement("div",{className:Ne()(Se.input,wo),style:Ea},!!Kn.length&&a.createElement("div",{className:Se.dropdown},a.createElement("div",{className:Se.text},(_o=Kn.find(ol=>ol.id===Kr))==null?void 0:_o.name,a.createElement("i",{className:"iconfont icon-zhankai4"}),a.createElement("b",{className:Se.b1}),a.createElement("b",{className:Se.b2})),a.createElement("div",{className:Se.menu},Kn.map((ol,Sl)=>a.createElement("div",{key:Sl,onClick:()=>cu(ol.id)},ol.name)))),a.createElement(Te.default,{onPressEnter:ki,value:$r,onChange:ol=>{ei(ol.target.value),Nr(encodeURIComponent(ol.target.value),Kr||null)},bordered:!1,placeholder:Ya}),a.createElement("i",{onClick:ki,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Qe={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Ye=({dataSource:Kn=[],value:Jn="",onChange:Ia,onInputChange:Nr=()=>{},className:wo,style:Ea={},placeholder:Ya,allowClear:Io=!1})=>{var _o;const[Kr,ul]=(0,a.useState)(""),[$r,ei]=(0,a.useState)("");(0,a.useEffect)(()=>{var ol;let Sl=Jn;(ol=JSON.stringify(Jn))!=null&&ol.includes("{")&&(ul(Jn.id),Sl=Jn.value||"");try{ei(decodeURIComponent(Sl||""))}catch(vi){ei(decodeURIComponent(Sl||""))}},[Jn]);const ki=()=>{Ia(encodeURIComponent($r),Kr||null)},cu=ol=>{ol!==Kr&&(ul(ol),Ia(encodeURIComponent($r),ol))};return a.createElement("div",{className:Ne()(Qe.input,wo),style:Ea},!!Kn.length&&a.createElement("div",{className:Qe.dropdown},a.createElement("div",{className:Qe.text},(_o=Kn.find(ol=>ol.id===Kr))==null?void 0:_o.name,a.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),a.createElement("div",{className:Qe.menu},Kn.map((ol,Sl)=>a.createElement("div",{key:Sl,onClick:()=>cu(ol.id)},ol.name)))),a.createElement(Te.default,{onPressEnter:ki,value:$r,onChange:ol=>{ei(ol.target.value),Nr(encodeURIComponent(ol.target.value),Kr||null)},bordered:!1,placeholder:Ya}),a.createElement("i",{onClick:ki,className:"iconfont icon-sousuo9 font14 pl10 current"}))},lt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ct=({value:Kn,onChange:Jn,className:Ia,total:Nr,pageSize:wo,style:Ea={}})=>{const Ya=Kn<2,Io=Kn>=Math.ceil(Nr/wo);return Nr<=wo?a.createElement(a.Fragment,null):a.createElement("div",{className:Ne()(lt.quickPager,Ia),style:Ea},a.createElement("div",{onClick:()=>{Ya||Jn(Kn-1,"prev")},className:Ya?lt.disabled:""},"\u4E0A\u4E00\u9875"),a.createElement("div",{onClick:()=>{Io||Jn(Kn+1,"next")},className:Io?lt.disabled:""},"\u4E0B\u4E00\u9875"))},vt={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Lt=x(71418),Rt=x(6848),Kt=x(13570),ut=x(74128),Xe=x(65862),mt=x(96908),Tt=x(57177),_t=x(81378),Wt=x(2524),Ge=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o})=>{const Kr=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:_o},a.createElement("div",{className:Ne()(vt.list,Kn)},!!Jn.length&&Jn.map((ul,$r)=>{const{name:ei,id:ki,identifier:cu,power:ol,cover_image_id:Sl,pic:vi}=ul;return a.createElement("div",{className:vt.wrap,key:ki,style:{width:Kr,marginRight:(1+$r)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/shixuns/${cu}/challenges`,className:vt.li,onClick:xi=>{xi.preventDefault(),Io&&(0,Xe.L9)([Io]),ol&&(0,Xe.xg)(`/shixuns/${cu}/challenges`)}},a.createElement("div",{className:vt.img},a.createElement("img",{className:vt.cover,src:`${vi}`}),ul.is_jupyter&&a.createElement("img",{className:vt.sign,src:mt}),ul.is_jupyter_lab&&a.createElement("img",{className:vt.sign,src:Tt}),ul.is_unity_3d&&a.createElement("img",{className:vt.sign,src:_t})),a.createElement("div",{className:vt.name},a.createElement(Rt.Z,{title:ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:vt.e},ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{className:vt.tags},a.createElement(Rt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),a.createElement("span",null,ul.challenges_count))),!!ul.myshixuns_count&&a.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),a.createElement("span",null,ul.myshixuns_count))),a.createElement(Rt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},a.createElement("span",null,a.createElement("span",null,ul.level))),a.createElement("div",{className:vt.rate},a.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:ul.score_info}),a.createElement("span",null,"\xA0",ul.score_info?`${ul.score_info}\u5206`:"5\u5206")))),!ol&&a.createElement("div",{className:vt.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&a.createElement(Wt.Z,null)))},Gt={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},En=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,wrapClassName:Io,trackEventItems:_o,loading:Kr})=>{const ul=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:Kr},a.createElement("div",{className:Ne()(Gt.list,Kn)},!!Jn.length&&Jn.map(($r,ei)=>{const{name:ki,id:cu,identifier:ol,power:Sl,cover_image_id:vi,pic:xi}=$r;return a.createElement("div",{className:Ne()(Gt.wrap,Io),key:cu,style:{width:ul,marginRight:(1+ei)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/shixuns/${ol}/challenges`,className:Gt.li,onClick:wu=>{wu.preventDefault(),_o&&(0,Xe.L9)([_o]),Sl&&(0,Xe.xg)(`/shixuns/${ol}/challenges`)}},a.createElement("img",{src:x(47621),className:Gt.titleBg}),a.createElement("div",{className:Gt.name},a.createElement(Rt.Z,{title:ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:Gt.e},ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:Gt.img},a.createElement("img",{className:Gt.cover,src:vi?`${ut.Z.API_SERVER}/api/attachments/${vi}`:`${ut.Z.IMG_SERVER+xi}`}),$r.is_jupyter&&a.createElement("div",{className:Gt.bq},"Jupyter"),$r.is_jupyter_lab&&a.createElement("div",{className:Gt.bq},"JupyterLab"),$r.is_unity_3d&&a.createElement("div",{className:Gt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),a.createElement("div",{className:"mt20 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Gt.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:Gt.value},$r.myshixuns_count)),a.createElement("div",null,a.createElement("span",{className:Gt.text},"\u56F0\u96BE\u7B49\u7EA7"),a.createElement("span",{className:Gt.value},$r.level))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Gt.text},"\u5173\u5361\u6570"),a.createElement("span",{className:Gt.value},$r.challenges_count)),a.createElement("div",{className:Gt.rate},a.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:$r.score_info}),a.createElement("span",{className:Gt.value,style:{color:"#FF9C00"}},"\xA0",$r.score_info?`${$r.score_info}\u5206`:"5\u5206"))))),!Sl&&a.createElement("div",{className:Gt.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&a.createElement(Wt.Z,null)))},nn={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxw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3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Ft=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o,wrapClassName:Kr,imgClassName:ul})=>{const $r=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:_o},a.createElement("div",{className:Ne()(nn.list,Kn)},!!Jn.length&&Jn.map((ei,ki)=>{const{name:cu,id:ol,identifier:Sl,power:vi,cover_image_id:xi,pic:wu}=ei;return a.createElement("div",{className:Ne()(nn.wrap,Kr),key:ol,style:{width:$r,marginRight:(1+ki)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/shixuns/${Sl}/challenges`,className:nn.li,onClick:Hi=>{Hi.preventDefault(),Io&&(0,Xe.L9)([Io]),vi&&(0,Xe.xg)(`/shixuns/${Sl}/challenges`)}},a.createElement("div",{className:Ne()(nn.img,ul)},a.createElement("img",{className:nn.cover,src:xi?`${ut.Z.API_SERVER}/api/attachments/${xi}`:`${ut.Z.IMG_SERVER+wu}`}),ei.is_jupyter&&a.createElement("img",{className:nn.sign,src:rt}),ei.is_jupyter_lab&&a.createElement("img",{className:nn.sign,src:ht}),ei.is_unity_3d&&a.createElement("img",{className:nn.sign,src:$e})),a.createElement("div",{className:nn.name},a.createElement(Rt.Z,{title:cu||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:nn.e},cu||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{className:nn.tags},a.createElement(Rt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),a.createElement("span",null,ei.challenges_count))),!!ei.myshixuns_count&&a.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),a.createElement("span",null,ei.myshixuns_count))),a.createElement(Rt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},a.createElement("span",null,a.createElement("span",null,ei.level))),a.createElement("div",{className:nn.rate},a.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:ei.score_info}),a.createElement("span",null,"\xA0",ei.score_info?`${ei.score_info}\u5206`:"5\u5206")))),!vi&&a.createElement("div",{className:nn.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&a.createElement(Wt.Z,null)))},wt=x(61584),Ke={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},He=x(79005),gt=x(20345),Je=x(77882),we=x(31081),zt=x(75309),oa=x(71979),vn=x(47558),bn=x(42922),ta=x(66832),Vn=x(96593),yt=x(19664),kt=x(91833),xn=Object.defineProperty,Nt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Dn=(Kn,Jn,Ia)=>Jn in Kn?xn(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,Na=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))qt.call(Jn,Ia)&&Dn(Kn,Ia,Jn[Ia]);if(Nt)for(var Ia of Nt(Jn))Cn.call(Jn,Ia)&&Dn(Kn,Ia,Jn[Ia]);return Kn};const Ka=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:He,swimg:gt},{name:"101\u8BA1\u5212",ptimg:Je,swimg:we},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:zt,swimg:oa},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vn,swimg:bn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ta,swimg:Vn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:kt}];var en=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o,wrapClassName:Kr,imgClassName:ul,isArrow:$r=!1,imgStyle:ei={}})=>{const ki=Math.floor((Ya-(Ia-1)*Nr)/Ia),[cu,ol]=(0,a.useState)(),[Sl,vi]=(0,a.useState)(),xi=Hi=>ol(Hi),wu=()=>ol(-1);return a.createElement(Lt.Z,{spinning:_o},a.createElement("div",{className:Ne()(Ke.list,Kn)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((Hi,ls)=>{var Qs;const{name:vs,id:Ms,identifier:hs,featured:$s,school_name:fs,image_url:Os,excellent:Ss,is_plan:Ys}=Hi;return a.createElement("div",{key:Ms,className:Ne()(Ke.wrap,Kr),style:{width:ki,marginRight:(1+ls)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{target:"_blank",href:`/paths/${hs}`,className:Ke.li,onClick:ss=>{ss.preventDefault(),Io&&(0,Xe.L9)([Io]),(0,Xe.xg)(`/paths/${hs}`)}},a.createElement("img",{src:x(39057),className:Ke.titleBg}),a.createElement("div",{className:Ke.name},a.createElement(Rt.Z,{title:vs},a.createElement("span",{className:Ke.e,style:{color:$r&&cu===ls?"#145DFF":"#000000"},onMouseEnter:()=>{xi(ls)},onMouseLeave:wu},vs))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:Ne()(Ke.img,ul)},a.createElement("img",{className:Ke.cover,style:Na({},ei),src:`${ut.Z.IMG_SERVER+Os}`}),(Qs=Hi==null?void 0:Hi.subject_tags)==null?void 0:Qs.map((ss,Bu)=>{var Ts,Ws;if(Bu===0){const cs=(Ts=Ka.find(Gs=>Gs.name==ss))==null?void 0:Ts.swimg;return a.createElement("img",{className:Ke.sign,src:cs,style:{left:"-4px"}})}const Es=(Ws=Ka.find(cs=>cs.name==ss))==null?void 0:Ws.ptimg;return a.createElement("img",{className:Ke.sign,src:Es,style:{left:`${48+52*(Bu-1)+2*Bu}px`}})}),a.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Hi==null?void 0:Hi.excellent)&&a.createElement("div",{className:Ke.bq},"\u5F00\u653E\u8BFE\u7A0B"))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Ke.text},"\u7AE0\u8282\u6570"),a.createElement("span",{className:Ke.value},Hi.stages_count)),a.createElement("div",null,a.createElement("span",{className:Ke.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:Ke.value},Hi.members_count))))))})),!Jn.length&&a.createElement(Wt.Z,null)))},Qn={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Ba=x(41867),wa=x(59301);const ja=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:He,swimg:gt},{name:"101\u8BA1\u5212",ptimg:Je,swimg:we},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:zt,swimg:oa},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vn,swimg:bn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ta,swimg:Vn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:kt}];var Hr=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o,onRemove:Kr=()=>{},isCurrent:ul=!0,showAlias:$r=!1,wrapClassName:ei,imgClassName:ki})=>{const cu=Math.floor((Ya-(Ia-1)*Nr)/Ia),ol=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Sl=>(window.ENV==="build"&&(Sl.ptimg=`/react/build${Sl.ptimg}`,Sl.swimg=`/react/build${Sl.swimg}`),Sl));return wa.createElement(Lt.Z,{spinning:_o},wa.createElement("div",{className:Ne()(Qn.list,Kn)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((Sl,vi)=>{var xi;const{name:wu,id:Hi,identifier:ls,featured:Qs,school_name:vs,image_url:Ms,excellent:hs,is_plan:$s}=Sl;return wa.createElement("div",{key:Hi,className:Ne()(Qn.wrap,ei),style:{width:cu,marginRight:(1+vi)%Ia===0?0:Nr+Ea,marginBottom:wo}},wa.createElement("a",{className:Qn.li,onClick:fs=>{fs.preventDefault(),fs.stopPropagation(),Io&&(0,Xe.L9)([Io]),(0,Xe.xg)(`/paths/${ls}`)}},wa.createElement("div",{className:Ne()(Qn.img,ki)},wa.createElement("img",{className:Qn.cover,src:`${ut.Z.IMG_SERVER+Ms}`}),ul&&(0,Ba.bg)()&&(Sl==null?void 0:Sl.studying)&&wa.createElement("div",{className:`${Qn.movebq} user-path-items`,onClick:fs=>{fs.stopPropagation(),Kr(Sl)}},wa.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),wa.createElement("span",{className:"c-red"},"\u79FB\u9664")),(xi=Sl==null?void 0:Sl.subject_tags)==null?void 0:xi.map((fs,Os)=>{var Ss,Ys;if(Os===0){const Bu=(Ss=ol.find(Ts=>Ts.name==fs))==null?void 0:Ss.swimg;return wa.createElement("img",{className:Qn.sign,src:Bu,style:{left:"-4px"}})}const ss=(Ys=ol.find(Bu=>Bu.name==fs))==null?void 0:Ys.ptimg;return wa.createElement("img",{className:Qn.sign,src:ss,style:{left:`${48+52*(Os-1)+2*Os}px`}})}),wa.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Sl==null?void 0:Sl.excellent)&&wa.createElement("div",{className:Qn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),wa.createElement("div",{className:Qn.name},wa.createElement(Rt.Z,{title:$r&&(Sl!=null&&Sl.excellent_alias_name)?wa.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${wu}`,wa.createElement("br",null),wa.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Sl==null?void 0:Sl.excellent_alias_name}`)):wu},wa.createElement("span",{className:Qn.e},$r&&(Sl==null?void 0:Sl.excellent_alias_name)||wu))),wa.createElement("div",{className:Qn.tags},wa.createElement("div",null,wa.createElement(Rt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},wa.createElement("span",null,wa.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),wa.createElement("span",null,Sl.stages_count))),wa.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},wa.createElement("span",null,wa.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),wa.createElement("span",null,Sl.members_count)))))))})),!Jn.length&&wa.createElement(Wt.Z,null)))},bt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},yn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4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aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",$a=x(59301),Ln=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,trackEventItems:Io,loading:_o})=>{const Kr=Math.floor((Ya-(Ia-1)*Nr)/Ia);return $a.createElement(Lt.Z,{spinning:_o},$a.createElement("div",{className:Ne()(bt.list,Kn)},!!Jn.length&&Jn.map((ul,$r)=>{const{subject_identifier:ei,id:ki,identifier:cu,power:ol}=ul,Sl=ul.is_public!=0&&ul.is_public;return $a.createElement("div",{className:bt.wrap,key:ki,style:{width:Kr,marginRight:(1+$r)%Ia===0?0:Nr+Ea,marginBottom:wo}},$a.createElement("a",{className:bt.li,onClick:vi=>{vi.preventDefault(),Io&&(0,Xe.L9)([Io]),(0,Xe.xg)(ul.first_category_url)}},$a.createElement("div",{className:bt.top},$a.createElement(Rt.Z,{title:ul.name},$a.createElement("div",{className:bt.name},ul.name)),$a.createElement("img",{className:bt.img,src:ut.Z.IMG_SERVER+"/images/"+ul.avatar_url}),$a.createElement("div",{className:bt.text,title:ul.creator},ul.creator),ei&&$a.createElement("div",{className:bt.btns},$a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),$a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Sl&&$a.createElement("div",{className:bt.sign},"\u516C\u5F00")),$a.createElement("div",{className:bt.bottom},ul.visits>0&&$a.createElement(Rt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-liulanyan"}),$a.createElement("span",null,ul.visits))),ul.course_members_count>0&&$a.createElement(Rt.Z,{title:"\u6210\u5458",placement:"bottom"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-chengyuan"}),ul.course_members_count)),ul.tasks_count>0&&$a.createElement(Rt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-zuoye"}),ul.tasks_count)),ul.is_end?$a.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):$a.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ul.is_accessible&&$a.createElement("div",{className:bt.lockWrap},$a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),$a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&$a.createElement(Wt.Z,null)))},ha={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Ta="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAA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XYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",dn=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,wrapClassName:Io,trackEventItems:_o,loading:Kr})=>{const ul=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:Kr},a.createElement("div",{className:Ne()(ha.list,Kn)},!!Jn.length&&Jn.map(($r,ei)=>{const{subject_identifier:ki,id:cu,identifier:ol,power:Sl}=$r,vi=$r.is_public!=0&&$r.is_public;return a.createElement("div",{className:Ne()(`${ha.wrap} ${$r.is_accessible?"":ha.warpStyle}`,Io),key:cu,style:{width:ul,marginRight:(1+ei)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{className:ha.li,onClick:xi=>{xi.preventDefault(),_o&&(0,Xe.L9)([_o]),(0,Xe.xg)($r.first_category_url)}},a.createElement("div",{className:ha.creator},a.createElement("img",{className:ha.img,src:ut.Z.IMG_SERVER+"/images/"+$r.avatar_url}),a.createElement("div",{className:ha.text,title:$r.creator},$r.creator)),a.createElement("div",{className:ha.top},a.createElement(Rt.Z,{title:$r.name},a.createElement("div",{className:ha.name},$r.name)),vi&&a.createElement("div",{className:ha.sign},"\u516C\u5F00")),a.createElement("div",{className:ha.middle},a.createElement("div",{className:ha.row,style:{marginBottom:6}},a.createElement("div",null,a.createElement("span",{className:ha.text},"\u8BBF\u95EE\u91CF"),a.createElement("span",{className:ha.value},($r==null?void 0:$r.visits)||0)),a.createElement("div",null,a.createElement("span",{className:ha.text},"\u6210\u5458"),a.createElement("span",{className:ha.value},($r==null?void 0:$r.course_members_count)||0))),a.createElement("div",{className:ha.row},a.createElement("div",null,a.createElement("span",{className:ha.text,style:{width:42}},"\u4F5C",a.createElement("span",{style:{marginLeft:14}},"\u4E1A")),a.createElement("span",{className:ha.value},($r==null?void 0:$r.tasks_count)||0)),a.createElement("div",null,a.createElement("span",{className:ha.text},"\u72B6\u6001"),$r.is_end?a.createElement("span",{className:ha.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):a.createElement("span",{className:ha.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ki&&a.createElement("div",{className:ha.btns},a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!$r.is_accessible&&a.createElement("div",{className:ha.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&a.createElement(Wt.Z,null)))},se={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmS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PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ie=({className:Kn,dataSource:Jn=[],col:Ia=4,right:Nr,bottom:wo=23,precision:Ea=0,wrapWidth:Ya=1200,wrapClassName:Io,trackEventItems:_o,loading:Kr})=>{const ul=Math.floor((Ya-(Ia-1)*Nr)/Ia);return a.createElement(Lt.Z,{spinning:Kr},a.createElement("div",{className:Ne()(se.list,Kn)},!!Jn.length&&Jn.map(($r,ei)=>{const{subject_identifier:ki,id:cu,identifier:ol,power:Sl}=$r,vi=$r.is_public!=0&&$r.is_public;return a.createElement("div",{className:Ne()(`${se.wrap} ${$r.is_accessible?"":se.warpStyle}`,Io),key:cu,style:{width:ul,marginRight:(1+ei)%Ia===0?0:Nr+Ea,marginBottom:wo}},a.createElement("a",{className:se.li,onClick:xi=>{xi.preventDefault(),_o&&(0,Xe.L9)([_o]),(0,Xe.xg)($r.first_category_url)}},a.createElement("div",{className:se.creator},a.createElement("img",{className:se.img,src:ut.Z.IMG_SERVER+"/images/"+$r.avatar_url}),a.createElement("div",{className:se.text,title:$r.creator},$r.creator)),a.createElement("div",{className:se.top},a.createElement(Rt.Z,{title:$r.name},a.createElement("div",{className:se.name},$r.name)),vi&&a.createElement("div",{className:se.sign})),a.createElement("div",{className:se.middle},a.createElement("div",{className:se.row,style:{marginBottom:6}},a.createElement("div",null,a.createElement("span",{className:se.text},"\u8BBF\u95EE\u91CF"),a.createElement("span",{className:se.value},($r==null?void 0:$r.visits)||0)),a.createElement("div",null,a.createElement("span",{className:se.text},"\u6210\u5458"),a.createElement("span",{className:se.value},($r==null?void 0:$r.course_members_count)||0))),a.createElement("div",{className:se.row},a.createElement("div",null,a.createElement("span",{className:se.text,style:{width:42}},"\u4F5C",a.createElement("span",{style:{marginLeft:14}},"\u4E1A")),a.createElement("span",{className:se.value},($r==null?void 0:$r.tasks_count)||0)),a.createElement("div",null,a.createElement("span",{className:se.text},"\u72B6\u6001"),$r.is_end?a.createElement("span",{className:se.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):a.createElement("span",{className:se.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ki&&a.createElement("div",{className:se.btns},a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!$r.is_accessible&&a.createElement("div",{className:se.lockWrap},a.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&a.createElement(Wt.Z,null)))},qe={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},xt=x(65582),Ra=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={},tabBarExtraContent:Ea})=>a.createElement("div",{className:Ne()(qe.tabs,Nr),style:wo},a.createElement("div",{className:qe.tabsWrap},Kn.map((Ya,Io)=>a.createElement("aside",{className:qe.tab,onClick:()=>{Ia(Ya.id),Ya.link&&xt.history.push(Ya.link)},key:Io},a.createElement("div",{className:Jn===Ya.id?qe.active:""},Ya.name),(Ya==null?void 0:Ya.resetCount)==null&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement("span",null,"\uFF08",Ya==null?void 0:Ya.total,"\uFF09"),(Ya==null?void 0:Ya.resetCount)!==void 0&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement(Rt.Z,{title:(Ya==null?void 0:Ya.tip)!=null?Ya==null?void 0:Ya.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ya==null?void 0:Ya.resetCount),"/",a.createElement("span",null,Ya==null?void 0:Ya.total),"\uFF09"))))),a.createElement("div",{className:qe.tabBar},Ea)),Un={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},$t=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={},tabBarExtraContent:Ea})=>a.createElement("div",{className:Ne()(Un.tabs,Nr),style:wo},a.createElement("div",{className:Un.tabsWrap},Kn.map((Ya,Io)=>a.createElement("aside",{className:Un.tab,onClick:()=>{Ia(Ya.id),Ya.link&&xt.history.push(Ya.link)},key:Io},a.createElement("div",{className:Jn===Ya.id?Un.active:""},Ya.name),(Ya==null?void 0:Ya.resetCount)==null&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement("span",null,"\uFF08",Ya==null?void 0:Ya.total,"\uFF09"),(Ya==null?void 0:Ya.resetCount)!==void 0&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement(Rt.Z,{title:(Ya==null?void 0:Ya.tip)!=null?Ya==null?void 0:Ya.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ya==null?void 0:Ya.resetCount),"/",a.createElement("span",null,Ya==null?void 0:Ya.total),"\uFF09"))))),a.createElement("div",{className:Un.tabBar},Ea)),Nn={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},ca=({dataSource:Kn=[],value:Jn,onChange:Ia,className:Nr,style:wo={},tabBarExtraContent:Ea})=>a.createElement("div",{className:Ne()(Nn.tabs,Nr),style:wo},a.createElement("div",{className:Nn.tabsWrap},Kn.map((Ya,Io)=>a.createElement("aside",{className:`${Nn.tab} ${Jn===Ya.id?Nn.active:""}`,onClick:()=>{Ia(Ya.id),Ya.link&&xt.history.push(Ya.link)},key:Io},a.createElement("div",null,Ya.name),(Ya==null?void 0:Ya.resetCount)==null&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement("span",null,"\uFF08",Ya==null?void 0:Ya.total,"\uFF09"),(Ya==null?void 0:Ya.resetCount)!==void 0&&(Ya==null?void 0:Ya.total)!==void 0&&a.createElement(Rt.Z,{title:(Ya==null?void 0:Ya.tip)!=null?Ya==null?void 0:Ya.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ya==null?void 0:Ya.resetCount),"/",a.createElement("span",null,Ya==null?void 0:Ya.total),"\uFF09"))))),a.createElement("div",{className:Nn.tabBar},Ea)),fa=({className:Kn,style:Jn={},children:Ia})=>a.createElement("div",{className:Ne()(Kn),style:Jn},Ia),hn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},ct=x(38854),on=x(20834);const pn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Hn=({sortValue:Kn,dropValue:Jn,className:Ia,onSort:Nr,onDrop:wo,dataSource:Ea=pn})=>{var Ya;return a.createElement("div",{className:Ne()(hn.orderWrap,Ia)},a.createElement(ct.Z,{dropdownRender:()=>a.createElement(on.default,null,Ea.map((Io,_o)=>a.createElement(on.default.Item,{key:_o,onClick:()=>wo(Io.id)},Io.name)))},a.createElement("span",{className:hn.orderTextWrap},(Ya=Ea.find(Io=>Jn===Io.id))==null?void 0:Ya.name)),a.createElement("span",{className:hn.orderIconWrap},a.createElement("span",{className:hn.orderAsc},a.createElement("i",{className:Kn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")})),a.createElement("span",{className:hn.orderDesc},a.createElement("i",{className:Kn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")}))))},cn={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const pt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ar=({sortValue:Kn,dropValue:Jn,className:Ia,onSort:Nr,onDrop:wo,dataSource:Ea=pt})=>{var Ya;return a.createElement("div",{className:Ne()(cn.orderWrap,Ia)},a.createElement(ct.Z,{dropdownRender:()=>a.createElement(on.default,null,Ea.map((Io,_o)=>a.createElement(on.default.Item,{key:_o,onClick:()=>wo(Io.id)},Io.name)))},a.createElement("span",{className:cn.orderTextWrap},(Ya=Ea.find(Io=>Jn===Io.id))==null?void 0:Ya.name)),a.createElement("span",{className:cn.orderIconWrap},a.createElement("span",{className:cn.orderAsc},a.createElement("i",{className:Kn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")})),a.createElement("span",{className:cn.orderDesc},a.createElement("i",{className:Kn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer}`,onClick:()=>Nr(Kn==="asc"?"desc":"asc")}))))},gr={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Gn=x(3113),_r=x(2337),Gr=Object.defineProperty,lo=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,br=(Kn,Jn,Ia)=>Jn in Kn?Gr(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,yr=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Ar.call(Jn,Ia)&&br(Kn,Ia,Jn[Ia]);if(lo)for(var Ia of lo(Jn))hr.call(Jn,Ia)&&br(Kn,Ia,Jn[Ia]);return Kn},Er=(Kn,Jn)=>{var Ia={};for(var Nr in Kn)Ar.call(Kn,Nr)&&Jn.indexOf(Nr)<0&&(Ia[Nr]=Kn[Nr]);if(Kn!=null&&lo)for(var Nr of lo(Kn))Jn.indexOf(Nr)<0&&hr.call(Kn,Nr)&&(Ia[Nr]=Kn[Nr]);return Ia},co=(Kn,Jn,Ia)=>new Promise((Nr,wo)=>{var Ea=_o=>{try{Io(Ia.next(_o))}catch(Kr){wo(Kr)}},Ya=_o=>{try{Io(Ia.throw(_o))}catch(Kr){wo(Kr)}},Io=_o=>_o.done?Nr(_o.value):Promise.resolve(_o.value).then(Ea,Ya);Io((Ia=Ia.apply(Kn,Jn)).next())}),uo=Kn=>{var Jn=Kn,{className:Ia,style:Nr,children:wo,loading:Ea=!1,openLoading:Ya,onClick:Io=()=>{},size:_o="middle",shape:Kr="round",theme:ul}=Jn,$r=Er(Jn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[ei,ki]=(0,a.useState)(!1),cu=(0,a.useMemo)(()=>{switch(ul){case _r.Fy.THEMEONE:return gr.ThemeOne;case _r.Fy.DEFAULT:default:return gr.btn}},[ul]);return a.createElement(Gn.ZP,yr({onClick:(0,De.throttle)(ol=>co(void 0,null,function*(){Ya&&ki(!0);try{yield Io(ol)}catch(Sl){console.log("error",Sl)}Ya&&ki(!1)}),2e3,{leading:!0,trailing:!1}),className:Ne()(cu,gr[`${_o}-${Kr}`],Ia),style:Nr,size:_o,shape:Kr,loading:ei||Ea},$r),wo)},Jr={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},di=({className:Kn,style:Jn,children:Ia=null,onClick:Nr,title:wo})=>a.createElement("div",{className:Ne()(Jr.head,Kn),style:Jn},a.createElement("span",{className:"primary-hover",onClick:Nr},a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),a.createElement("b",{title:wo},wo),a.createElement("div",{className:Jr.node},Ia)),ni={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},xl=({confirmShow:Kn=!0,confirmTitle:Jn,confirmClick:Ia,cancelShow:Nr=!0,cancelTitle:wo,cancelClick:Ea,className:Ya,style:Io,confirmLoading:_o=!1})=>a.createElement("div",{className:Ne()(ni.btns,Ya),style:Io},Kn&&a.createElement(Gn.ZP,{loading:_o,onClick:Ia,type:"primary",className:ni.confirm},Jn),Nr&&a.createElement(Gn.ZP,{onClick:Ea,className:ni.cancel},wo)),kr={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Vl=({className:Kn,style:Jn={},LeftContent:Ia,children:Nr,RightContent:wo})=>a.createElement("div",{className:Ne()(kr.fixedBottom,Kn),style:Jn},a.createElement("div",{className:kr.wrap},a.createElement("div",{className:kr.left},Ia),a.createElement("div",{className:kr.center},Nr),a.createElement("div",{className:kr.right},wo))),Zl={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Bi=({className:Kn,style:Jn={},dataSource:Ia=[]})=>a.createElement("div",{className:Ne()(Zl.crumbs,Kn),style:Jn},Ia.map((Nr,wo)=>woxt.history.push(Nr.path)},Nr.name):a.createElement("span",null,Nr.name),a.createElement("span",null,"\xA0",">","\xA0")):a.createElement("span",{key:wo,style:{color:"#5F6368"}},Nr.name))),oi=x(31797),ii=Object.defineProperty,li=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,Rl=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,Nl=(Kn,Jn,Ia)=>Jn in Kn?ii(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,$i=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))qr.call(Jn,Ia)&&Nl(Kn,Ia,Jn[Ia]);if(Rl)for(var Ia of Rl(Jn))Hl.call(Jn,Ia)&&Nl(Kn,Ia,Jn[Ia]);return Kn},Zi=(Kn,Jn)=>li(Kn,fi(Jn)),gu=(Kn,Jn)=>{var Ia={};for(var Nr in Kn)qr.call(Kn,Nr)&&Jn.indexOf(Nr)<0&&(Ia[Nr]=Kn[Nr]);if(Kn!=null&&Rl)for(var Nr of Rl(Kn))Jn.indexOf(Nr)<0&&Hl.call(Kn,Nr)&&(Ia[Nr]=Kn[Nr]);return Ia};const{Countdown:fu}=oi.default;var yl=Kn=>{var Jn=Kn,{onChange:Ia}=Jn,Nr=gu(Jn,["onChange"]);const[wo,Ea]=(0,a.useState)(null);(0,a.useEffect)(()=>{typeof wo=="number"&&wo>=0&&Ia(wo)},[wo]);const Ya=Io=>{const _o=Math.floor(Io/1e3);Ea(_o)};return a.createElement(fu,Zi($i({},Nr),{onChange:Ya}))},pi={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},qu=({DataProps:Kn,className:Jn,style:Ia={}})=>{var Nr;return a.createElement("div",{className:Ne()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",pi.ClassRoomItem,Jn),style:Ia,onClick:()=>{(0,Xe.xg)(Kn==null?void 0:Kn.first_category_url)}},a.createElement("div",{className:"flex flex-col item-center"},a.createElement("img",{src:`${(Nr=ut.Z)==null?void 0:Nr.IMG_SERVER}/images/${Kn==null?void 0:Kn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Kn==null?void 0:Kn.subject_identifier)&&a.createElement("div",{className:"mt-40px"},a.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),a.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},a.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Kn!=null&&Kn.is_public)&&a.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),a.createElement("span",{className:Ne()("text-16px font-medium",pi.TitleDom)},Kn==null?void 0:Kn.name)),a.createElement("div",{className:"c-grey-333 font-medium"},Kn==null?void 0:Kn.creator),a.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Kn==null?void 0:Kn.course_members_count),a.createElement("div",{className:"c-grey-333 flex item-center justify-between"},a.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Kn==null?void 0:Kn.tasks_count),Kn!=null&&Kn.is_end?a.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):a.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ts=Object.defineProperty,ju=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,Qr=(Kn,Jn,Ia)=>Jn in Kn?ts(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,Wr=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Lo.call(Jn,Ia)&&Qr(Kn,Ia,Jn[Ia]);if(ju)for(var Ia of ju(Jn))Ur.call(Jn,Ia)&&Qr(Kn,Ia,Jn[Ia]);return Kn},ql=({DataProps:Kn=[],selectValue:Jn,onChange:Ia,className:Nr,style:wo={},extra:Ea,classNameItem:Ya,styleItem:Io={},barHidden:_o})=>{const[Kr,ul]=(0,a.useState)();return(0,a.useEffect)(()=>{ul(Array.isArray(Jn)?Jn:[Jn])},[Jn]),a.createElement("div",{className:Ne()("flex px-20px py-10px gap-40px",Nr),style:Wr({borderBottom:"1px solid #D3F0FF"},wo)},Kn==null?void 0:Kn.map($r=>a.createElement("div",{key:$r==null?void 0:$r.id,className:Ne()("flex item-center justify-center current c-grey-333 text-16 relative",Ya,$r==null?void 0:$r.className),style:Wr(Wr({color:Kr!=null&&Kr.includes($r==null?void 0:$r.id)?"#1890FF":"",minWidth:88},Io),($r==null?void 0:$r.style)||{}),onClick:ei=>{Ia==null||Ia({domEvent:ei,item:$r}),$r!=null&&$r.link&&xt.history.push($r==null?void 0:$r.link)}},$r==null?void 0:$r.name,!_o&&(Kr==null?void 0:Kr.includes($r==null?void 0:$r.id))&&a.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),a.createElement("div",{className:"ml-auto"},Ea))},mi=Object.defineProperty,gi=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,Ti=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,pu=Object.prototype.propertyIsEnumerable,wl=(Kn,Jn,Ia)=>Jn in Kn?mi(Kn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ia}):Kn[Jn]=Ia,zl=(Kn,Jn)=>{for(var Ia in Jn||(Jn={}))Zu.call(Jn,Ia)&&wl(Kn,Ia,Jn[Ia]);if(Ti)for(var Ia of Ti(Jn))pu.call(Jn,Ia)&&wl(Kn,Ia,Jn[Ia]);return Kn},ml=(Kn,Jn)=>gi(Kn,eu(Jn)),si=({value:Kn,onChange:Jn,onInputChange:Ia,className:Nr,style:wo={},InputProps:Ea})=>{const[Ya,Io]=(0,a.useState)(Kn);return a.createElement("div",{className:Ne()("flex item-center rounded-full px-10px py-2px",Nr),style:zl({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},wo)},a.createElement(Te.default,ml(zl({bordered:!1},Ea),{onChange:_o=>{Io(_o.target.value),Ia==null||Ia(encodeURIComponent(_o.target.value))},onPressEnter:_o=>{Jn==null||Jn({domEvent:_o,item:{value:Ya}})}})),a.createElement("img",{className:"h-22px current",src:x(25365),height:22,onClick:_o=>{Jn==null||Jn({domEvent:_o,item:{value:Ya}})}}))}},31103:function(Ot,st,x){"use strict";x.d(st,{Z:function(){return fe}});var a=x(59301);function fe(Re,ye){const Fe=(0,a.useRef)();(0,a.useEffect)(()=>{Fe.current=Re}),(0,a.useEffect)(()=>{function Be(){Fe.current()}if(ye!==null){let oe=setInterval(Be,ye);return()=>clearInterval(oe)}},[ye])}},36306:function(Ot,st,x){"use strict";x.d(st,{Z:function(){return ot}});var a=x(78241),fe=x(8591),Re=x(43418),ye=x(71418),Fe=x(6848),Be=x(57809),oe=x(5112),Ne=x(92832),De=x(1710),be=x(59301),Me=x(65582),Ze=x(38147),Ce=x(65862),re={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},y=x(41867),E=x(96565),z=x(6339),b=x(59301),ee=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ve=(Qe,it,Ye)=>it in Qe?ee(Qe,it,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Qe[it]=Ye,Ae=(Qe,it)=>{for(var Ye in it||(it={}))ce.call(it,Ye)&&ve(Qe,Ye,it[Ye]);if(ue)for(var Ye of ue(it))de.call(it,Ye)&&ve(Qe,Ye,it[Ye]);return Qe},Se=(Qe,it)=>te(Qe,ne(it)),Te=(Qe,it,Ye)=>new Promise((lt,Pt)=>{var Ct=Rt=>{try{Lt(Ye.next(Rt))}catch(Kt){Pt(Kt)}},vt=Rt=>{try{Lt(Ye.throw(Rt))}catch(Kt){Pt(Kt)}},Lt=Rt=>Rt.done?lt(Rt.value):Promise.resolve(Rt.value).then(Ct,vt);Lt((Ye=Ye.apply(Qe,it)).next())});const xe=({shixunHomeworks:Qe,exercise:it,loading:Ye,dispatch:lt})=>{var Pt,Ct,vt;const{commonHeader:Lt}=it,[Rt,Kt]=(0,be.useState)([]),[ut,Xe]=(0,be.useState)(Se(Ae({},(0,Me.useParams)()),{page:1,limit:10})),[mt,Tt]=(0,be.useState)([]),[_t,Wt]=(0,be.useState)(""),[Rn,Ge]=(0,be.useState)(1),[Gt]=a.default.useForm(),[Tn,En]=(0,be.useState)({}),[nn,rt]=(0,be.useState)(null),[ht,$e]=(0,be.useState)(!1),[ze,Ft]=(0,be.useState)([]),[wt,Ke]=(0,be.useState)(null),[He,gt]=(0,be.useState)(0),[Je,we]=(0,be.useState)(0),[zt,oa]=(0,be.useState)(!1),vn=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Cn,Dn,Na)=>(ut.page-1)*ut.limit+Na+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Cn=>Cn||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Cn,Dn)=>b.createElement("div",{className:re.banding,title:Cn||"--"},Cn||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Cn,Dn)=>Cn===0?b.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Cn===1?b.createElement("span",{style:{color:"#DF3042"}},!Dn.is_make_up&&"\u8003\u8BD5\u4E2D",Dn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Cn===2?b.createElement("span",{style:{color:"#5AB891"}},!Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377",Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):b.createElement("span",{style:{color:"#5AB891"}},!Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Dn.is_make_up&&!Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Dn.is_make_up&&Dn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(Lt==null?void 0:Lt.exercise_type)==2&&!(0,y.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(Cn,Dn)=>Dn.commit_status===0||Dn.commit_status===1?"--":!Dn.open_total_score&&(0,y.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Cn=typeof Cn=="number"?Number(Cn):Cn,console.log(typeof Cn),Cn||(Cn=0),Cn===100?b.createElement("span",{className:"c-green"},Cn):Cn>60?b.createElement("span",{className:"c-orange"},Cn):Cn==Je*.6?b.createElement("span",{className:"c-red"},Cn):b.createElement("span",null,Cn))}].filter(Cn=>!!Cn);(0,be.useEffect)(()=>{var Cn;((Cn=it.actionTabs)==null?void 0:Cn.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Ft([]),Ke(null),bn(),Vn(ut))},[(Pt=it.actionTabs)==null?void 0:Pt.key]);const bn=()=>Te(void 0,null,function*(){var Cn;if(!((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion))return;const Dn=yield(0,Ze.ZP)(`/api/exercises/${ut==null?void 0:ut.categoryId}/all_subj_questions.json`,{method:"get"});Dn.status==0&&Ft(Dn.data)}),ta=(Cn,Dn)=>{ut.page=Cn,ut.limit=Dn,Xe(Ae({},ut)),Vn(ut)},Vn=Cn=>Te(void 0,null,function*(){oa(!0);const Dn=yield(0,Ze.ZP)(`/api/exercises/${ut.categoryId||(ut==null?void 0:ut.exerciseId)}/exercise_users.json`,{method:"get",params:Cn});Dn.status==0&&(gt(Dn.data.total_count),Xe(Se(Ae({},ut),{total:Dn.data.total_count})),Kt(Dn.data.exercise_users),we(Dn.data.total_score)),oa(!1)}),yt=Cn=>{ut.search=Cn,ut.page=1,Gt.resetFields(),En({}),Tt([]),rt(null),Xe(Ae({},ut)),Vn(ut)},kt=Cn=>Te(void 0,null,function*(){var Dn,Na;const Ka=Ae({},Tn);if(!((Dn=Cn==null?void 0:Cn.content)!=null&&Dn.trim())){fe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}Ka.content=Cn==null?void 0:Cn.content,Ka.attachment_ids=(Na=Cn==null?void 0:Cn.attachment_ids)==null?void 0:Na.map(Pr=>Pr.response.id),xn(Ka)}),xn=Cn=>Te(void 0,null,function*(){var Dn;$e(!0);const{showSelectQuestion:Na,ai_review_settings:Ka}=it.actionTabs,Pr=yield(0,Ze.ZP)(`/api/exercises/${(ut==null?void 0:ut.categoryId)||(ut==null?void 0:ut.exerciseId)}/test_ai_review.json`,{method:"post",body:Se(Ae({},Cn),{exercise_question_id:Na?wt:(Dn=it.actionTabs)==null?void 0:Dn.questionId,ai_review_settings:Ka})});if([0,-3].includes(Pr.status)){Pr.status==0&&fe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),rt(Pr);const en=document.querySelector(".modal-ai-pfcs");if(en){const Qn=en.querySelector(".ant-modal-body");Qn&&(Qn.scrollTop=Qn.scrollHeight)}}$e(!1)}),Nt=()=>{lt({type:"exercise/setActionTabs",payload:{key:""}}),Ge(1),qt()},qt=()=>{Gt.resetFields(),En({}),Tt([]),Wt(""),rt(null)};return b.createElement(Re.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:ht,open:((Ct=it.actionTabs)==null?void 0:Ct.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>Nt(),okText:nn?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Cn;if((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion&&!wt)return fe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(Rn==1){if(mt.length==0)return fe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");xn({exercise_user_id:mt[0]})}else Rn==2&&Gt.submit()}},b.createElement(ye.Z,{spinning:ht,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((vt=it.actionTabs)==null?void 0:vt.showSelectQuestion)&&b.createElement("div",{className:"flex item-center justify-between mb10"},b.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},b.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",b.createElement(Fe.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},b.createElement("i",{className:`iconfont icon-tishixiaowenhao ${re.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),b.createElement(Be.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:wt,onChange:Cn=>Ke(Cn)},ze==null?void 0:ze.map(Cn=>b.createElement(Be.default.Option,{key:Cn==null?void 0:Cn.id,value:Cn==null?void 0:Cn.id},Cn==null?void 0:Cn.question_title)))),b.createElement("div",{className:re.radio_con},b.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),b.createElement(oe.ZP.Group,{onChange:Cn=>{Cn.target.value==1&&ta(1,10),Ge(Cn.target.value),qt()},value:Rn,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),Rn==1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"flex justify-between item-center mb10"},b.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),b.createElement(Ne.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:_t,onChange:Cn=>Wt(Cn.target.value),onSearch:yt})),b.createElement(De.default,{rowSelection:{type:"radio",selectedRowKeys:mt,onChange:(Cn,Dn)=>{Tt(Cn)},getCheckboxProps:Cn=>({disabled:[0,1].includes(Cn==null?void 0:Cn.commit_status)})},loading:zt,rowKey:"exercise_user_id",dataSource:Rt||[],columns:vn,pagination:{current:ut.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:ut.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:He,size:"default",showTotal:Ce.rU,onChange:ta},onChange:(Cn,Dn,Na)=>{ut.page=1,Na.order===void 0?(ut.order_type=null,ut.order=null):(ut.order_type=Na.order==="descend"?"desc":"asc",ut.order=Na.field),Xe(Ae({},ut)),Vn(ut)}})),Rn==2&&b.createElement("div",{style:{marginTop:20}},b.createElement(a.default,{form:Gt,className:re.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{En(Ae({},Gt.getFieldsValue()))},onFinish:kt},b.createElement(a.default.Item,{name:"content",label:"",style:{marginBottom:0}},b.createElement(E.Z,{watch:!0})))),nn&&b.createElement("div",{className:re.result_con},b.createElement("div",{className:re.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(nn==null?void 0:nn.status)==0&&b.createElement("div",{className:"p20"},b.createElement("div",{className:"mb5"},b.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),nn==null?void 0:nn.score),b.createElement("div",{className:"flex"},b.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),b.createElement(z.Z,{value:nn==null?void 0:nn.content,style:{fontSize:"14px"}}))),(nn==null?void 0:nn.status)==-3&&b.createElement("div",{className:"p20"},b.createElement(z.Z,{value:nn==null?void 0:nn.message,style:{fontSize:"14px"}})))))};var ot=(0,Me.connect)(({shixunHomeworks:Qe,exercise:it,loading:Ye,user:lt})=>({shixunHomeworks:Qe,exercise:it,loading:Ye.effects,user:lt}))(xe)},61418:function(Ot,st,x){"use strict";x.r(st),x.d(st,{default:function(){return $f}});var a=x(59301),fe=x(38147),Re=x(74128),ye=x(65582),Fe=x(43418),Be=x(20834),oe=x(8591),Ne=x(24905),De=x(6848),be=x(5112),Me=x(81327),Ze=x(66104),Ce=x(3113),re=x(95237),y=x(38854),E=x(99313),z=x(1710),b=x(87169),ee=x(27812),te=x(89489),ne=x(87513),ue=x(65862),ce=x(84454),de=x(78241),ve=x(43604),Ae=x(78673),Se=x(92832),Te=x(5871),xe=x(58421),ot=x(66649),Qe=x.n(ot),it=Object.defineProperty,Ye=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Ct=(me,pe,ie)=>pe in me?it(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,vt=(me,pe)=>{for(var ie in pe||(pe={}))lt.call(pe,ie)&&Ct(me,ie,pe[ie]);if(Ye)for(var ie of Ye(pe))Pt.call(pe,ie)&&Ct(me,ie,pe[ie]);return me},Lt=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Rt=({shixunHomeworks:me,dispatch:pe})=>{const ie=(0,ye.useParams)();return a.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){(yield(0,fe.ZP)(`/api/myshixuns/${me.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"post",body:{course_id:ie.coursesId}})).status===0&&(oe.ZP.success("\u5220\u9664\u6210\u529F"),pe({type:"shixunHomeworks/setActionTabs",payload:{}}),pe({type:"shixunHomeworks/getWorkList",payload:vt({},me.actionTabs.params)}))}),onCancel:()=>{pe({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),a.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};var Kt=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(Rt),ut=Object.defineProperty,Xe=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Tt=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,Rn=(me,pe,ie)=>pe in me?ut(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ge=(me,pe)=>{for(var ie in pe||(pe={}))_t.call(pe,ie)&&Rn(me,ie,pe[ie]);if(Tt)for(var ie of Tt(pe))Wt.call(pe,ie)&&Rn(me,ie,pe[ie]);return me},Gt=(me,pe)=>Xe(me,mt(pe)),Tn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const En=({exercise:me,dispatch:pe})=>{var ie,dt,Dt,_e,Ut,at,Oe,Pe;const Pn=(0,ye.useParams)(),[Zn,Xn]=(0,a.useState)(!0),[an]=de.default.useForm(),{actionTabs:wn}=me;(0,a.useEffect)(()=>{var Aa,_n,Wn,Ga;me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605"&&(an.resetFields(),an.setFieldsValue({subjective_score:(_n=(Aa=wn==null?void 0:wn.selectArrs)==null?void 0:Aa.record)==null?void 0:_n.subjective_score,objective_score:(Ga=(Wn=wn==null?void 0:wn.selectArrs)==null?void 0:Wn.record)==null?void 0:Ga.objective_score}))},[me.actionTabs.key]);const aa=()=>{pe({type:"exercise/setActionTabs",payload:{}})};return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u8BC4\u9605",open:me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605",onCancel:aa,footer:a.createElement(re.Z,{align:"middle",justify:"end"},a.createElement(Ce.ZP,{className:"ml10",onClick:aa}," \u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml10",onClick:()=>Tn(void 0,null,function*(){var Aa,_n;yield an.validateFields();const Wn=an.getFieldValue();(yield(0,ne.oS)(Gt(Ge({},Wn),{id:Pn.categoryId,user_id:(_n=(Aa=wn==null?void 0:wn.selectArrs)==null?void 0:Aa.record)==null?void 0:_n.user_id}))).status===0&&(oe.ZP.success("\u8BC4\u9605\u6210\u529F"),an.resetFields(),pe({type:"exercise/setActionTabs",payload:{}}),pe({type:"exercise/setUpdateIndex"}))}),type:"primary"}," \u786E\u8BA4"))},a.createElement("div",{className:"pl30"},a.createElement(de.default,{form:an},a.createElement(re.Z,null,a.createElement(ve.Z,null,a.createElement(de.default.Item,{name:"subjective_score",label:"\u4E3B\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((dt=(ie=wn==null?void 0:wn.selectArrs)==null?void 0:ie.exercise_types)==null?void 0:dt.subjective_score)*1,style:{width:150},placeholder:"\u8BF7\u586B\u5199\u4E3B\u89C2\u9898\u6210\u7EE9"}))),a.createElement(ve.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(_e=(Dt=wn==null?void 0:wn.selectArrs)==null?void 0:Dt.exercise_types)==null?void 0:_e.subjective_score,"\u5206")))),a.createElement(re.Z,null,a.createElement(ve.Z,null,a.createElement(de.default.Item,{name:"objective_score",label:"\u5BA2\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((at=(Ut=wn==null?void 0:wn.selectArrs)==null?void 0:Ut.exercise_types)==null?void 0:at.objective_score)*1,style:{width:150},width:150,placeholder:"\u8BF7\u586B\u5199\u5BA2\u89C2\u9898\u6210\u7EE9"}))),a.createElement(ve.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(Pe=(Oe=wn==null?void 0:wn.selectArrs)==null?void 0:Oe.exercise_types)==null?void 0:Pe.objective_score,"\u5206"))))))))};var nn=(0,ye.connect)(({exercise:me})=>({exercise:me}))(En);const rt=[{name:"\u672A\u8BC4\u9605",id:0,type:"unreview_counts"},{name:"\u8BC4\u9605\u4E2D",id:2,type:"reviewing_counts"},{name:"\u5DF2\u8BC4\u9605",id:1,type:"review_counts"}],ht=[{name:"\u672A\u5F00\u59CB",id:0,type:"unanswer_users"},{name:"\u8003\u8BD5\u4E2D",id:1,type:"answering_users"},{name:"\u5DF2\u4EA4\u5377",id:2,type:"answer_users"},{name:"\u5DF2\u4EA4\u5377/\u672A\u7B54",id:3,type:"commit_with_no_answers_users"}],$e=[{name:"\u65E0\u9700\u8865\u8003",id:0,type:"unmake_up_users_count"},{name:"\u53C2\u52A0\u8865\u8003",id:1,type:"make_up_users_count"}];var ze=x(2524),Ft=x(71418),wt=x(61527),Ke=x(59301),He=Object.defineProperty,gt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable,vn=(me,pe,ie)=>pe in me?He(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,bn=(me,pe)=>{for(var ie in pe||(pe={}))zt.call(pe,ie)&&vn(me,ie,pe[ie]);if(we)for(var ie of we(pe))oa.call(pe,ie)&&vn(me,ie,pe[ie]);return me},ta=(me,pe)=>gt(me,Je(pe)),Vn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const yt=({exercise:me,dispatch:pe})=>{var ie,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),Ut=de.default.useWatch("time",_e),[at,Oe]=(0,a.useState)(!1),{actionTabs:Pe,commonHeader:Pn}=me,[,Zn,Xn,an]=(0,wt.U)(ne.n7,{id:Dt.categoryId}),wn=an!=null&&an.user_end_time?Qe()(an==null?void 0:an.user_end_time).add(1,"minutes"):Qe()(),aa=Qe()(an==null?void 0:an.user_total_end_time)>wn?Math.round(Qe().duration(Qe()(an==null?void 0:an.user_total_end_time).diff(wn.startOf("minute"))).asMinutes()):0,Aa=((an==null?void 0:an.student_left_minutes)||0)+(Ut||0);(0,a.useEffect)(()=>{var Wn;Pe.key==="\u5EF6\u65F6"?(pe({type:"exercise/getWorkSetting",payload:bn({},Dt)}),Xn({user_id:Pe!=null&&Pe.isBatch?Pe==null?void 0:Pe.user_ids:[(Wn=Pe==null?void 0:Pe.selectArrs)==null?void 0:Wn.user_id]})):_e.resetFields()},[Pe.key]);const _n=()=>{pe({type:"exercise/setActionTabs",payload:{}})};return Ke.createElement(Ke.Fragment,null,Ke.createElement(Fe.default,{width:640,centered:!0,title:Pe!=null&&Pe.isBatch?"\u6279\u91CF\u5EF6\u65F6":"\u5EF6\u65F6",open:Pe.key==="\u5EF6\u65F6",okText:"\u786E\u8BA4\u5EF6\u65F6",cancelText:"\u53D6\u6D88",confirmLoading:at,onOk:()=>Vn(void 0,null,function*(){_e.submit()}),onCancel:_n},Ke.createElement(Ft.Z,{spinning:Zn},Ke.createElement(de.default,{form:_e,colon:!1,labelCol:{span:4},onFinish:Wn=>Vn(void 0,null,function*(){Oe(!0);const Ga=yield(0,ne.qz)(ta(bn({},Wn),{id:Dt.categoryId,exercise_user_id:Pe==null?void 0:Pe.exercise_user_id}));Oe(!1),Ga.status===0&&(oe.ZP.success("\u5EF6\u65F6\u6210\u529F"),pe({type:"exercise/setUpdateIndex"}),_n())})},Ke.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"\u5EF6\u65F6\u8BF4\u660E\uFF1A",Ke.createElement("br",null),"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",Ke.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1B",Ke.createElement("br",null),"3.\u82E5\u5C06\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u5EF6\u540E\uFF0C\u5C06\u5BF9\u6240\u6709\u8003\u8BD5\u8FDF\u5230\u7684\u5B66\u751F\u8FDB\u884C\u7EDF\u4E00\u5EF6\u65F6\uFF08\u5B66\u751F\u5DF2\u7B54\u9898\u65F6\u95F4+\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4+\u7EDF\u4E00\u5EF6\u65F6\u65F6\u95F4\u2264\u8003\u8BD5\u7B54\u9898\u65F6\u957F\uFF09\u3002"),Pe!=null&&Pe.isBatch?Ke.createElement("div",null,"\u5F53\u524D\u9009\u4E2D",Ke.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},Pe==null?void 0:Pe.exercise_user_id.length),"\u540D\u5B66\u751F"):Ke.createElement(re.Z,{align:"middle",gutter:40},Ke.createElement(ve.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",Ke.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(ie=Pe==null?void 0:Pe.selectArrs)==null?void 0:ie.user_name)),Ke.createElement(ve.Z,null,"\u5B66\u53F7",Ke.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=Pe==null?void 0:Pe.selectArrs)==null?void 0:dt.student_id))),Ke.createElement(de.default.Item,{className:"mt30",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u957F\u65F6\u95F4"}],name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},Ke.createElement(Te.Z,{min:0,precision:0,max:aa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${aa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(Pe!=null&&Pe.isBatch)&&Ke.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",Ke.createElement("span",{className:"ml5"},Aa),"\u5206\u949F",Aa!==0&&(an==null?void 0:an.user_end_time)&&Ke.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",Ke.createElement("span",{className:"ml5"},Qe()(an==null?void 0:an.user_end_time).add(Ut||0,"m").format("YYYY-MM-DD HH:mm:ss")))),(Pn==null?void 0:Pn.screen_open)&&Ke.createElement(de.default.Item,{style:{marginLeft:98,marginBottom:0},name:"is_clear",initialValue:!1,valuePropName:"checked"},Ke.createElement(Ne.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570"))))))};var kt=(0,ye.connect)(({exercise:me})=>({exercise:me}))(yt),xn=x(5083),Nt=x(99981),qt=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Cn=({exercise:me,dispatch:pe})=>{var ie,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),[Ut,at]=(0,a.useState)(!1),{actionTabs:Oe}=me;return(0,a.useEffect)(()=>{me.actionTabs.key==="teacher-unlock"&&(at(!1),_e.resetFields())},[me.actionTabs.key]),a.createElement(a.Fragment,null,a.createElement(Fe.default,{width:600,centered:!0,title:`\u8003\u8BD5\u89E3\u9501\uFF08${(ie=Oe==null?void 0:Oe.selectArrs)==null?void 0:ie.user_name}\uFF09`,open:me.actionTabs.key==="teacher-unlock",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",keyboard:!1,confirmLoading:Ut,onOk:()=>qt(void 0,null,function*(){var Pe,Pn;yield _e.validateFields();const Zn=_e.getFieldsValue();if(at(!0),(yield(0,ne.ZD)(Dt.categoryId,{exercise_user_id:(Pe=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pe.exercise_user_id,unlock_key:Zn.unlock_key})).status===0){if(Zn.time){const an={time:Qe()(Zn.time).format("YYYY-MM-DD HH:mm"),exercise_user_id:(Pn=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pn.exercise_user_id,id:Dt.categoryId};yield(0,ne.qz)(an)}oe.ZP.success("\u89E3\u9664\u9501\u5B9A\u6210\u529F"),pe({type:"exercise/setUpdateIndex"}),pe({type:"exercise/setActionTabs",payload:{}})}at(!1)}),onCancel:()=>{pe({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:""},a.createElement(de.default,{form:_e,layout:"vertical",autoComplete:"off"},a.createElement(de.default.Item,{className:"ml10",label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},a.createElement(Se.default.Password,{autoComplete:"off",style:{width:270},placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),a.createElement(de.default.Item,{label:a.createElement("span",null,"\u5EF6\u957F\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF08",a.createElement("span",{className:"c-grey-999"},"\u4E0D\u80FD\u8D85\u8FC7\u5F53\u524D\u8BD5\u5377\u622A\u6B62\u65F6\u95F4",Qe()((dt=Oe==null?void 0:Oe.selectArrs)==null?void 0:dt.exercise_end_at).format("YYYY-MM-DD HH:mm")),"\uFF09"),name:"time",className:"ml10"},a.createElement(xn.default,{style:{width:270},placeholder:"\u8BF7\u9009\u62E9\u4EA4\u5377\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:Pe=>{var Pn;return(0,Nt.Q8)(Pe,(Pn=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pn.exercise_end_at)},disabledTime:Pe=>{var Pn;const Zn=(Pn=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pn.exercise_end_at;if(Qe()(Pe).isSame(Qe()(Zn),"day")){const Xn=Qe()(Zn).hours(),an=Qe()(Zn).minutes();return console.log(Xn,an),{disabledHours:()=>(0,Nt.w6)(0,24).slice(Xn+1),disabledMinutes:()=>Qe()(Pe).isSame(Qe()(Zn),"hour")?(0,Nt.w6)(an,60):[]}}return(0,Nt.d0)(Pe)},allowClear:!1}))))))};var Dn=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Cn),Na=x(30214),Ka=x(77254),Pr=x(82896),en=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,wa=(me,pe)=>{var ie={};for(var dt in me)Qn.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&en)for(var dt of en(me))pe.indexOf(dt)<0&&Ba.call(me,dt)&&(ie[dt]=me[dt]);return ie},ja=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const zr=me=>{var pe=me,{shixunHomeworks:ie,dispatch:dt}=pe,Dt=wa(pe,["shixunHomeworks","dispatch"]);const _e=(0,ye.useParams)(),[Ut,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)([]);(0,a.useEffect)(()=>{ie.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Pn()},[ie.actionTabs.key]);function Pn(){return ja(this,null,function*(){const Xn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/group_list.json`,{method:"GET"});at(Xn)})}const Zn=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:ie.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ja(void 0,null,function*(){const Xn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/code_quality_analysis.json`,{method:"POST",body:{group_ids:Oe}});(Xn==null?void 0:Xn.status)===0&&(ye.history.replace(`/classrooms/${_e.coursesId}/exercise/${_e.categoryId}/detail?tabs=7`),window.location.reload(),dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Pe([]))}),onCancel:()=>{Pe([]),dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement(z.default,{rowSelection:{type:"checkbox",onChange:(Xn,an)=>{Pe([...Xn])},selectedRowKeys:Oe,getCheckboxProps:Xn=>({disabled:Xn.status==="\u8FDB\u884C\u4E2D"||Xn.works_count===0})},rowKey:Xn=>Xn.key||Xn.id,scroll:{y:300},pagination:!1,columns:Zn,dataSource:Ut==null?void 0:Ut.group_list})))};var Hr=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(zr),bt=x(41867),yn={flex_box_center:"flex_box_center____uOEt",flex_space_between:"flex_space_between___J8U9e",flex_box_vertical_center:"flex_box_vertical_center___M1l_z",flex_box_center_end:"flex_box_center_end___UsRsw",flex_box_column:"flex_box_column___gcanz",rightFilter:"rightFilter___KnaoF",classwidth:"classwidth___QPkdW",operationCol:"operationCol___hiIyI",unlockBtn:"unlockBtn___QvP_V",recordScreenModal:"recordScreenModal___tLQo7",operationLink:"operationLink___vj72A",banding:"banding___BLx2S",noShow:"noShow___mrV9r",btn_review:"btn_review___b6mDf"},$a=x(59301),Ht=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())}),ha=({item:me,renderText:pe})=>{const ie=(0,ye.useParams)(),[dt,Dt]=(0,a.useState)(),_e=Ut=>Ht(void 0,null,function*(){if(!Ut)return;const at=yield(0,ne.UH)({id:ie.categoryId,user_id:me==null?void 0:me.user_id});at&&Dt(at)});return $a.createElement(De.Z,{onOpenChange:Ut=>_e(Ut),title:$a.createElement("div",null,"\u5355\u9009\u9898 ",(dt==null?void 0:dt.single_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u591A\u9009\u9898 ",(dt==null?void 0:dt.multiple_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u5224\u65AD\u9898 ",(dt==null?void 0:dt.judgement_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u586B\u7A7A\u9898 ",(dt==null?void 0:dt.completion_question_score)||0,"\u5206 ",$a.createElement("br",null),"\u5B9E\u8BAD\u9898 ",(dt==null?void 0:dt.shixun_question_score)||0,"\u5206")},pe)},Ta=x(89392),dr=x.n(Ta),dn=x(57809),se=x(71067),ge=x(59301),Ee=Object.defineProperty,Ie=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Ra=Object.prototype.propertyIsEnumerable,Un=(me,pe,ie)=>pe in me?Ee(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,ln=(me,pe)=>{for(var ie in pe||(pe={}))Mt.call(pe,ie)&&Un(me,ie,pe[ie]);if(xt)for(var ie of xt(pe))Ra.call(pe,ie)&&Un(me,ie,pe[ie]);return me},$t=(me,pe)=>Ie(me,qe(pe)),Nn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Xt=({exercise:me,dispatch:pe})=>{var ie,dt;const Dt=(0,ye.useParams)(),{actionTabs:_e,commonHeader:Ut}=me,[at]=de.default.useForm(),Oe=de.default.useWatch("time",at),[,Pe,Pn,Zn]=(0,wt.U)(ne.n7,{id:Dt.categoryId}),[,Xn,an]=(0,wt.U)(ne.Xo,{id:Dt.categoryId}),wn=(0,a.useRef)(null),aa=Zn!=null&&Zn.user_end_time?Qe()(Zn==null?void 0:Zn.user_end_time).add(1,"minutes"):Qe()(),Aa=Qe()(Zn==null?void 0:Zn.user_total_end_time)>aa?Math.round(Qe().duration(Qe()(Zn==null?void 0:Zn.user_total_end_time).diff(aa.startOf("minute"))).asMinutes()):0,_n=((Zn==null?void 0:Zn.student_left_minutes)||0)+(Oe||0);(0,a.useEffect)(()=>{var Ga,On;_e.key=="\u8C03\u6574\u72B6\u6001"?(pe({type:"exercise/getWorkSetting",payload:ln({},Dt)}),Pn({user_id:_e!=null&&_e.isBatch?_e==null?void 0:_e.user_ids:[(Ga=_e==null?void 0:_e.selectArrs)==null?void 0:Ga.user_id]})):(at.resetFields(),wn.current&&((On=wn.current)==null||On.changeCode({target:{value:""}})))},[_e.key]);const Wn=()=>{pe({type:"exercise/setActionTabs",payload:{}})};return ge.createElement(Fe.default,{centered:!0,title:_e!=null&&_e.isBatch?"\u6279\u91CF\u8C03\u6574\u8003\u8BD5\u72B6\u6001":"\u8C03\u6574\u8003\u8BD5\u72B6\u6001",open:_e.key=="\u8C03\u6574\u72B6\u6001",width:650,okText:"\u786E\u5B9A\u8C03\u6574",confirmLoading:Xn,onOk:()=>Nn(void 0,null,function*(){at.submit()}),onCancel:Wn},ge.createElement(Ft.Z,{spinning:Pe},ge.createElement(de.default,{initialValues:{status:"1"},form:at,colon:!1,labelCol:{span:4},onFinish:Ga=>Nn(void 0,null,function*(){if(console.log("allValue",Ga),wn.current.onVerify())return Promise.reject();(yield an($t(ln({},Ga),{exercise_user_id:_e==null?void 0:_e.exercise_user_id}))).status==0&&(oe.ZP.success("\u8C03\u6574\u6210\u529F"),Wn(),pe({type:"exercise/setUpdateIndex"}))})},_e!=null&&_e.isBatch?ge.createElement("div",{className:"mb20"},"\u5F53\u524D\u9009\u4E2D",ge.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},_e==null?void 0:_e.exercise_user_id.length),"\u540D\u5B66\u751F"):ge.createElement(re.Z,{className:"mb20",align:"middle",gutter:40},ge.createElement(ve.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(ie=_e==null?void 0:_e.selectArrs)==null?void 0:ie.user_name)),ge.createElement(ve.Z,null,"\u5B66\u53F7",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=_e==null?void 0:_e.selectArrs)==null?void 0:dt.student_id))),(Ut==null?void 0:Ut.is_locked)&&ge.createElement(de.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ge.createElement(Se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),ge.createElement(de.default.Item,{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"}],name:"status",label:"\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default.Option,{value:"1"},"\u8003\u8BD5\u4E2D\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u7EE7\u7EED\u8003\u8BD5\uFF09"),ge.createElement(dn.default.Option,{value:"2"},"\u5DF2\u4EA4\u5377\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u8FDB\u884C\u4EA4\u5377\uFF09"))),(Ut==null?void 0:Ut.time)!==-1&&ge.createElement(ge.Fragment,null,ge.createElement(de.default.Item,{className:"mt20 mb20",name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},ge.createElement(Te.Z,{min:0,precision:0,max:Aa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Aa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(_e!=null&&_e.isBatch)&&ge.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},_n),"\u5206\u949F",_n!==0&&(Zn==null?void 0:Zn.user_end_time)&&ge.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},Qe()(Zn==null?void 0:Zn.user_end_time).add(Oe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))),(Ut==null?void 0:Ut.screen_open)&&ge.createElement(de.default.Item,{style:{marginLeft:100},name:"is_clear",initialValue:!1,valuePropName:"checked"},ge.createElement(Ne.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570")),ge.createElement(de.default.Item,{label:"\u9A8C\u8BC1\u7801",required:!0,style:{marginBottom:0}},ge.createElement(se.Z,{ref:Ga=>wn.current=Ga})))))};var ca=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Xt),Pa=x(30365),fa=Object.defineProperty,hn=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,pn=(me,pe,ie)=>pe in me?fa(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,gn=(me,pe)=>{for(var ie in pe||(pe={}))ct.call(pe,ie)&&pn(me,ie,pe[ie]);if(hn)for(var ie of hn(pe))on.call(pe,ie)&&pn(me,ie,pe[ie]);return me};const Hn=me=>React.createElement("svg",gn({width:17,height:10,xmlns:"http://www.w3.org/2000/svg"},me),React.createElement("title",null,"new"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"-5%",y1:"37.065%",x2:"100%",y2:"67.301%",id:"new_svg__a"},React.createElement("stop",{stopColor:"#FF420B",offset:"0%"}),React.createElement("stop",{stopColor:"#FF9B44",offset:"100%"}))),React.createElement("path",{d:"M700.618 185h-14.236c-.781 0-1.382.629-1.382 1.447v7.106c0 .818.6 1.447 1.382 1.447h14.236c.781 0 1.382-.629 1.382-1.447v-7.106c0-.818-.6-1.447-1.382-1.447Zm-10.692 7.358h-.961l-1.863-3.836v3.836h-.6v-4.59h.84l1.923 3.962h.06v-3.963h.6v4.591Zm1.502-2.641h2.342v.629h-2.342v.126c0 .817.24 1.195.72 1.195h1.682v.629h-1.682c-.36 0-.66-.126-.9-.44-.24-.315-.361-.818-.361-1.384v-1.07c0-1.069.66-1.509 1.321-1.635h1.622v.63h-1.561c-.24.062-.781.25-.781 1.006-.06.125-.06.188-.06.314Zm7.809 2.641h-.841l-.841-3.647-.961 3.647h-.901l-1.262-4.59h.66l1.082 3.773h.06l.961-3.774h.721l.961 3.963 1.142-3.963h.6l-1.381 4.591Z",transform:"translate(-685 -185)",fill:"url(#new_svg__a)",fillRule:"nonzero"}));var cn="data:image/svg+xml;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zLjc3M2guMDZsLjk2MS0zLjc3NGguNzIxbC45NjEgMy45NjMgMS4xNDItMy45NjNoLjZsLTEuMzgxIDQuNTkxWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTY4NSAtMTg1KSIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+",pt=x(59301),na=Object.defineProperty,ar=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,Gn=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable,lo=(me,pe,ie)=>pe in me?na(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ar=(me,pe)=>{for(var ie in pe||(pe={}))_r.call(pe,ie)&&lo(me,ie,pe[ie]);if(Gn)for(var ie of Gn(pe))Gr.call(pe,ie)&&lo(me,ie,pe[ie]);return me},hr=(me,pe)=>ar(me,gr(pe)),br=(me,pe)=>{var ie={};for(var dt in me)_r.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Gn)for(var dt of Gn(me))pe.indexOf(dt)<0&&Gr.call(me,dt)&&(ie[dt]=me[dt]);return ie},yr=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Er=me=>{var pe=me,{exercise:ie,loading:dt,dispatch:Dt,globalSetting:_e,checkDomainAuthority:Ut,getparams:at,user:Oe,classroomList:Pe}=pe,Pn=br(pe,["exercise","loading","dispatch","globalSetting","checkDomainAuthority","getparams","user","classroomList"]),Zn,Xn,an,wn,aa,Aa,_n,Wn,Ga;const[On]=(0,ye.useSearchParams)(),pa=(0,ye.useParams)();let[Jt,ga]=(0,a.useState)(Ar({page:1,limit:20},pa));const{commonHeader:la,updateIndex:ka}=ie,{userInfo:Yt}=Oe,[Ca,ia]=(0,a.useState)({}),[rr,ro]=(0,a.useState)(0),[Lr,Ua]=(0,a.useState)(0),[sn,tt]=(0,a.useState)(!1),[Za,va]=(0,a.useState)("alert"),[za,ur]=(0,a.useState)(0),[Ha,Vr]=(0,a.useState)(!1),[Va,Da]=(0,a.useState)(!1),[Or]=de.default.useForm(),[Sr,or]=(0,a.useState)([]),[ea,_a]=(0,a.useState)(1),[ya,ra]=(0,a.useState)(""),[xa,qn]=(0,a.useState)(),[nr,vr]=(0,a.useState)(!1),[xr,ho]=(0,a.useState)(!1),[Eo,Zr]=(0,a.useState)({name:"",id:"",list:[]}),[sr,io]=(0,a.useState)({}),[yo,kl]=(0,a.useState)({}),[Gi,Yi]=(0,a.useState)(!0),[Gl,_i]=(0,a.useState)(""),[ku,Iu]=(0,a.useState)(""),[eo,Kl]=(0,a.useState)(""),[Ui,mu]=(0,a.useState)([]),[,,Uu]=(0,wt.U)(ne.N0,{}),[su,jl]=(0,a.useState)([]),[Nu,Vs]=(0,a.useState)(!0);(0,a.useEffect)(()=>{let kn={};if(On.get("exercise_group_id")&&!ka){if(On.get("statistics")){let $n=[];const fo=On.get("scope");fo==="0"&&($n=["all"]),fo==="1"&&($n=[1,2,3]),fo==="2"&&($n=[2,3]),kn={exercise_group_id:On.get("exercise_group_id"),commit_status:$n}}else kn={review:[0,2],commit_status:[2,3]},On.get("exercise_group_id")!=="0"&&(kn.exercise_group_id=[Number(On.get("exercise_group_id"))]);Or.setFieldsValue(Ar({},kn))}return Jt=Ar(Ar({},Jt),kn),ga(Ar({},Jt)),Gu(),wr(Jt),mu([]),()=>{Dt({type:"exercise/setUpdateIndex",payload:"clear"})}},[ka]);const Gu=()=>yr(void 0,null,function*(){var kn,$n;const fo=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/header_info.json`,{method:"get"});(fo==null?void 0:fo.status)===0&&(io((fo==null?void 0:fo.data)||{}),console.log((kn=fo==null?void 0:fo.data)==null?void 0:kn.course_groups),Dt({type:"exercise/save",payload:{course_groups:($n=fo==null?void 0:fo.data)==null?void 0:$n.course_groups}}))}),wr=kn=>yr(void 0,null,function*(){var $n,fo,Mu,us,Ku,uc,kc,_s,q0,B0,rg;Yi(!0);const gs=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/exercise_users.json`,{method:"get",params:kn});if((gs==null?void 0:gs.status)===0){let og=(Mu=(fo=($n=gs==null?void 0:gs.data)==null?void 0:$n.exercise_users)==null?void 0:fo[0])==null?void 0:Mu.commit_status;Vs(og==2||og==3),kl({exercise_users:((us=gs==null?void 0:gs.data)==null?void 0:us.exercise_users)||[],current_answer_user:((Ku=gs==null?void 0:gs.data)==null?void 0:Ku.current_answer_user)||{}}),_i(((uc=gs==null?void 0:gs.data)==null?void 0:uc.appraise_user_login)||""),Iu(((kc=gs==null?void 0:gs.data)==null?void 0:kc.first_export_user_login)||""),ro((_s=gs==null?void 0:gs.data)==null?void 0:_s.total_count),Ua(typeof((q0=gs==null?void 0:gs.data)==null?void 0:q0.total_score)=="string"?Number((B0=gs==null?void 0:gs.data)==null?void 0:B0.total_score):(rg=gs==null?void 0:gs.data)==null?void 0:rg.total_score)}Kl(gs==null?void 0:gs.status),Yi(!1)});(0,a.useEffect)(()=>{Dt({type:"exercise/setSaveExerciseDownUsers",payload:Ju})},[ku,rr,JSON.stringify(Jt)]);function dl(kn){return yr(this,null,function*(){var $n,fo,Mu,us;qn(kn==null?void 0:kn.exercise_user_id),vr(kn.commit_status===2||kn.commit_status===3),Vr(!0);let Ku=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/student_info.json`,{method:"get",params:{exercise_user_id:kn==null?void 0:kn.exercise_user_id}});((fo=($n=Ku==null?void 0:Ku.data)==null?void 0:$n.exercise_user_photos)==null?void 0:fo.length)>0?tt(!0):oe.ZP.info("\u5F53\u524D\u6682\u65E0\u7167\u7247"),or((Mu=Ku==null?void 0:Ku.data)==null?void 0:Mu.exercise_user_photos),ur((us=Ku==null?void 0:Ku.data)==null?void 0:us.alert_count),Vr(!1)})}const Fi=kn=>{Jt.page=1;const $n=Object.assign({},Or.getFieldsValue());Object.keys($n).map(function(fo){fo==="objective_score_gte"||fo==="objective_score_lte"||($n[fo].includes("all")?(delete Jt[fo],Or.setFieldsValue({[fo]:"all"})):(Jt[fo]=$n[fo],$n[fo]==""||!$n[fo]?Or.setFieldsValue({[fo]:"all"}):Or.setFieldsValue({[fo]:Jt[fo]})))}),("objective_score_gte"in kn||"objective_score_lte"in kn)&&($n.objective_score_gte&&$n.objective_score_lte&&$n.objective_score_gte>$n.objective_score_lte?(Or.setFieldsValue({objective_score_lte:$n.objective_score_gte}),Jt.objective_score_lte=$n.objective_score_gte||null,Jt.objective_score_gte=$n.objective_score_gte||null):(Jt.objective_score_lte=$n.objective_score_lte||null,Jt.objective_score_gte=$n.objective_score_gte||null)),ga(Ar({},Jt)),wr(Jt),at(Ar({},Jt))},oo=(kn=1,$n=20)=>{Jt.page=kn,Jt.limit=$n,ga(Ar({},Jt)),wr(Jt)};let el=new Date().getTime();const Ol=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",render:(kn,$n,fo)=>pt.createElement(De.Z,{title:((Jt.page||1)-1)*Jt.limit+fo+1},pt.createElement("span",null,((Jt.page||1)-1)*Jt.limit+fo+1))},{title:"\u59D3\u540D",dataIndex:"user_name",fixed:"left",align:"left",render:(kn,$n)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"},onClick:()=>{var fo;if(kn&&(0,bt.GJ)()){if((0,bt.Rm)()&&!((fo=Pe.AssistantObject.exercise)!=null&&fo.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}switch($n.commit_status){case 0:if(!(0,bt.Ny)()){oe.ZP.warning("\u5B66\u751F\u672A\u5F00\u59CB\u8003\u8BD5\uFF0C\u60A8\u65E0\u6743\u67E5\u770B");return}break;default:console.log("\u5F53\u524D\u63D0\u4EA4\u72B6\u6001",$n.commit_status)}kn&&(0,bt.GJ)()&&(ui(),(0,ue.xg)(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${$n==null?void 0:$n.login}`))}}},pt.createElement("span",{className:kn&&(0,bt.GJ)()?yn.operationLink:""},kn||"--"),!!($n!=null&&$n.delayed_at)&&la.time!==-1&&pt.createElement(De.Z,{title:pt.createElement("div",null,"\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u8C03\u6574\u81F3",pt.createElement("span",{className:"ml5"},Qe()($n.delayed_at).format("YYYY-MM-DD HH:mm")))},pt.createElement("span",{className:"iconfont icon-shizhong c-blue"})))},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:kn=>kn||"--"},!(sr!=null&&sr.is_excellent)&&(sr==null?void 0:sr.groups_count)!==0&&{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(kn,$n)=>pt.createElement("div",{className:yn.banding,title:kn||"--"},kn||"--")},{title:(la==null?void 0:la.exercise_type)==2&&!(0,bt.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",sorter:!0,render:(kn,$n)=>$n.commit_status===0||$n.commit_status===1?"--":!$n.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(kn=typeof kn=="number"?Number(kn):kn,console.log(typeof kn),kn||(kn=0),kn===100?pt.createElement("span",{className:"c-green"},kn):kn>60?pt.createElement("span",{className:"c-orange"},kn):kn==Lr*.6?pt.createElement("span",{className:"c-red"},kn):pt.createElement("span",null,kn))},!((sr==null?void 0:sr.objective)!==1||(sr==null?void 0:sr.objective)===1&&(sr==null?void 0:sr.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let fo;return kn>=0&&kn<=60?fo=pt.createElement("span",null,kn):kn===100?fo=pt.createElement("span",{className:"c-green"},kn):kn>60?fo=pt.createElement("span",{className:"c-orange"},kn):fo="--",pt.createElement(ha,{renderText:fo,item:$n})}}},!((sr==null?void 0:sr.subjective)!==1||(sr==null?void 0:sr.subjective)===1&&(sr==null?void 0:sr.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{let fo;sr!=null&&sr.appraise_setting&&(sr!=null&&sr.sealed_review)&&new Date(sr==null?void 0:sr.appraise_end_time).getTime()>el&&(fo="--"),!($n!=null&&$n.has_comment)&&$n.review_status&&(fo="\u8BC4\u9605\u4E2D"),$n!=null&&$n.has_comment?fo="\u5DF2\u8BC4\u9605":fo="\u672A\u8BC4\u9605",kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let Mu;return kn===0?Mu=pt.createElement("span",null,kn," ",fo==="\u672A\u8BC4\u9605"&&pt.createElement("span",{className:"c-red"}," (\u5F85\u8BC4\u9605)")):kn>0&&kn<=60?Mu=pt.createElement("span",null,kn):kn===100?Mu=pt.createElement("span",{className:"c-green"},kn):kn>60?Mu=pt.createElement("span",{className:"c-orange"},kn):Mu="--",Mu}}},(la==null?void 0:la.open_make_up)&&{title:"\u8865\u8003\u6263\u5206",dataIndex:"make_up_score",render:(kn,$n)=>[1,2].includes($n==null?void 0:$n.commit_status)?kn:"--"},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"left",render:(kn,$n)=>kn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):kn===1?pt.createElement("span",{style:{color:"#DF3042"}},!$n.is_make_up&&"\u8003\u8BD5\u4E2D",$n.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):kn===2?pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"left",sorter:!0,render:kn=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",sorter:!0,render:(kn,$n)=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"},(0,bt.GJ)()&&(la==null?void 0:la.exercise_type)===2&&{title:pt.createElement("span",null,"\u8003\u8BD5\u6B21\u6570",pt.createElement(De.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u7684\u5DF2\u8003\u8BD5\u6B21\u6570/\u53EF\u8003\u8BD5\u6B21\u6570\uFF0C\u53EF\u70B9\u51FB\u67E5\u770B\u5B66\u751F\u7684\u8003\u8BD5\u8BB0\u5F55"},pt.createElement("i",{className:"iconfont icon-xiaowenhao font14 current"}))),dataIndex:"exercise_user_redo_count",render:(kn,$n)=>{var fo;return pt.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{const Mu={name:$n==null?void 0:$n.user_name,id:$n==null?void 0:$n.student_id,list:$n==null?void 0:$n.simulate_exercise_records};Zr(Ar({},Mu)),ho(!0)}},(fo=$n==null?void 0:$n.simulate_exercise_records)==null?void 0:fo.length,"/",la==null?void 0:la.simulate_exercise_num)||"--"}},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"exercise_user_redo_count",className:((Zn=Yt==null?void 0:Yt.course)==null?void 0:Zn.course_role)===15||(la==null?void 0:la.exercise_type)==2?yn.noShow:"",align:"left",render:(kn,$n)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"}},pt.createElement("span",{className:yn.operationLink,onClick:()=>{Dt({type:"exercise/setActionTabs",payload:{key:"\u6253\u56DE\u8BB0\u5F55",student_id:$n.user_id}})}},kn||"0"))},(la==null?void 0:la.screen_open)&&{title:pt.createElement("span",null,"\u5207\u5C4F\u6B21\u6570",pt.createElement(De.Z,{title:"\u7EA2\u8272\u4EE3\u8868\u5B66\u751F\u5207\u5C4F\u8D85\u8FC7\u89C4\u5B9A\u6B21\u6570\u88AB\u5F3A\u5236\u4EA4\u5377"},pt.createElement("span",{className:"icon-xiaowenhao"}))),dataIndex:"screen_used_num",align:"center",render:(kn,$n)=>pt.createElement("span",{style:kn>0?{cursor:"pointer"}:{},className:kn>($n==null?void 0:$n.screen_total_num)?"c-red":"",onClick:()=>yr(void 0,null,function*(){if(kn===0)return;const fo=yield(0,ne.Yu)(pa.categoryId,{exercise_user_id:$n.exercise_user_id});Fe.default.info({title:`\u5207\u5C4F\u8BB0\u5F55\uFF08${$n==null?void 0:$n.user_name}\uFF09`,icon:null,closable:!0,className:yn.recordScreenModal,maskClosable:!0,width:616,centered:!0,content:pt.createElement(z.default,{style:{marginTop:14},bordered:!0,pagination:!1,rowKey:"time",columns:[{title:"\u5F00\u59CB\u5207\u5C4F\u65F6\u95F4",align:"center",dataIndex:"time"},{title:"\u5207\u5C4F\u65F6\u957F\uFF08\u79D2\uFF09",align:"center",dataIndex:"time_long"},{title:"\u5224\u5B9A\u5207\u5C4F\u6B21\u6570",align:"center",dataIndex:"count"}],dataSource:fo==null?void 0:fo.data})})})},kn,"/",$n==null?void 0:$n.screen_total_num)},(la==null?void 0:la.exercise_status)>1&&(la==null?void 0:la.open_camera)&&(0,bt.GJ)()&&!((Xn=_e.setting)!=null&&Xn.is_local)&&{title:"\u8003\u8BD5\u7167\u7247",dataIndex:"photo_count",align:"center",render:(kn,$n)=>$n.commit_status>0?pt.createElement("a",{onClick:()=>{dl($n)}},`${kn||0}/${la==null?void 0:la.photo_count}`):"--"},(la==null?void 0:la.ip_bind)&&(0,bt.Gg)()&&{title:"\u8003\u8BD5IP",dataIndex:"last_ip",align:"center",render:(kn,$n)=>pt.createElement(pt.Fragment,null,kn||"--",$n.commit_status<=1&&la.ip_bind&&$n.last_ip&&pt.createElement(Ce.ZP,{type:"link",onClick:()=>yr(void 0,null,function*(){const fo=Fe.default.confirm({title:pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"1"},"\u89E3\u9664\u7ED1\u5B9A"),pt.createElement(ve.Z,null,pt.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>fo.destroy()}))),width:500,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",className:"custom-modal-divider",content:pt.createElement("div",null,"\u4E3A\u5B66\u751F\u89E3\u9664\u8003\u8BD5IP\u7ED1\u5B9A\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u4F7F\u7528\u65B0\u7684IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002",pt.createElement("span",{className:"c-red"},"\u5982\u679C\u8BE5\u5B66\u751F\u6B63\u5728\u8003\u8BD5\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u4F5C\u7B54\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u5165\u8003\u8BD5\u3002"),"\u60A8\u786E\u5B9A\u8981\u89E3\u9664\u8BE5\u5B66\u751F\u7684\u8003\u8BD5IP\u7ED1\u5B9A\uFF1F"),onOk:()=>yr(void 0,null,function*(){(yield(0,ne.ab)({id:Jt.categoryId,exercise_user_id:$n.exercise_user_id})).status===0&&(oe.ZP.success("\u89E3\u7ED1\u6210\u529F"),wr(Jt))})})})},"\u89E3\u7ED1"))},(la==null?void 0:la.open_camera)&&(0,bt.Gg)()&&la.exercise_status<3&&!((an=_e.setting)!=null&&an.is_local)&&{title:"\u5141\u8BB8\u4E0D\u62CD\u6444",dataIndex:"close_camera",align:"center",render:(kn,$n)=>pt.createElement(Ae.Z,{checked:kn,onClick:()=>yr(void 0,null,function*(){kn?Fe.default.info({title:"\u63D0\u793A",content:pt.createElement("div",null,"\u4E0D\u5141\u8BB8\u4FEE\u6539"),okText:"\u786E\u8BA4"}):Fe.default.confirm({title:"\u5141\u8BB8\u4E0D\u6444\u50CF\u8B66\u544A",content:pt.createElement("div",null,"\u4E3A\u4FDD\u8BC1\u8003\u8BD5\u516C\u5E73\uFF0C\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7684\u6444\u50CF\u5934\u3002\u5982\u5B66\u751F\u786C\u4EF6\u8BBE\u65BD\u786E\u6709\u95EE\u9898\uFF0C\u4E3A\u4FDD\u8BC1\u5B66\u751F\u8003\u8BD5\u6743\u5229\uFF0C\u6559\u5E08\u53EF\u4E34\u65F6\u53D6\u6D88\u9650\u5236\uFF0C\u5141\u8BB8\u5B66\u751F\u53C2\u8003\u3002 \u672C\u64CD\u4F5C\u4E0D\u53EF\u64A4\u56DE\uFF0C\u4E0D\u53EF\u4FEE\u6539\u3002 \u60A8\u786E\u8BA4\u540C\u610F\u8BE5\u5B66\u751F\u4E0D\u5F00\u542F\u6444\u50CF\u5934\u53C2\u52A0\u8003\u8BD5\u5417\uFF1F"),onOk:()=>yr(void 0,null,function*(){const fo=yield(0,ne.cC)(hr(Ar({},Jt),{exercise_user_id:$n.exercise_user_id}));(fo==null?void 0:fo.status)===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),wr(Jt))})})})})},(0,bt.GJ)()&&{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"has_comment",align:"center",render:(kn,$n)=>sr!=null&&sr.appraise_setting&&(sr!=null&&sr.sealed_review)&&new Date(sr==null?void 0:sr.appraise_end_time).getTime()>el?"--":!kn&&$n.review_status?"\u8BC4\u9605\u4E2D":kn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},((la==null?void 0:la.assistant_auth)||(0,bt.GJ)()||(0,bt.dE)())&&Ut&&{title:"\u64CD\u4F5C",fixed:"right",dataInex:"action",align:"left",className:yn.operationCol,render:(kn,$n)=>{var fo,Mu;return(la==null?void 0:la.exercise_status)===-1?pt.createElement("div",null," ",(0,bt.GJ)()&&pt.createElement("a",{onClick:us=>{us.stopPropagation(),Dt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:$n==null?void 0:$n.exercise_user_id,type:"exercise"}})}},"\u4FEE\u6539\u6210\u7EE9"),pt.createElement("a",{style:{marginLeft:(0,bt.GJ)()&&10},onClick:(0,Ta.debounce)(us=>yr(void 0,null,function*(){var Ku,uc,kc;us.stopPropagation();let _s=yield(0,fe.ZP)(`/api/exercises/${Jt==null?void 0:Jt.categoryId}/exercise_user/view_detail.json`,{method:"get",params:{exercise_user_id:$n==null?void 0:$n.exercise_user_id}});Fe.default.confirm({title:"\u8003\u8BD5\u8BE6\u60C5",closable:!0,width:1200,icon:null,content:pt.createElement("div",null,pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",null,pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),pt.createElement("span",{style:{marginLeft:10}},(Ku=_s==null?void 0:_s.data)==null?void 0:Ku.user_name)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),pt.createElement("span",{style:{marginLeft:10}},(uc=_s==null?void 0:_s.data)==null?void 0:uc.student_id)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),pt.createElement("span",{style:{marginLeft:10}},(kc=_s==null?void 0:_s.data)==null?void 0:kc.group_name))),pt.createElement("div",{style:{marginTop:22,marginBottom:20}},pt.createElement(z.default,{columns:[{title:"\u9898\u578B",dataIndex:"type_name",align:"center",render:()=>"\u5F97\u5206"},{title:"\u5355\u9009\u9898",dataIndex:"single_score",align:"center"},{title:"\u591A\u9009\u9898",dataIndex:"multiple_score",align:"center"},{title:"\u586B\u7A7A\u9898",dataIndex:"completion_score",align:"center"},{title:"\u5224\u65AD\u9898",dataIndex:"judgment_score",align:"center"},{title:"\u7F16\u7A0B\u9898",dataIndex:"program_score",align:"center"},{title:"\u5B9E\u8BAD\u9898",dataIndex:"practical_score",align:"center"},{title:"\u7EC4\u5408\u9898",dataIndex:"combination_socre",align:"center"},{title:"\u7B80\u7B54\u9898",dataIndex:"subjective_score",align:"center"},{title:"\u7A0B\u5E8F\u586B\u7A7A\u9898",dataIndex:"bprogram_score",align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",align:"center",render:(q0,B0)=>pt.createElement("span",{style:{color:(B0==null?void 0:B0.type_name)=="\u5B9E\u5F97\u5206"?"#FA2121":""}},q0)}],pagination:!1,dataSource:[Ar({},_s==null?void 0:_s.data)]}))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):pt.createElement("div",{className:"flex gap-10px"},(0,bt.GJ)()&&($n==null?void 0:$n.commit_status)===1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:($n==null?void 0:$n.commit_status)!==1,onClick:()=>{(0,ue.xg)(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${$n.login}`)}},"\u67E5\u9605"),(0,bt.GJ)()&&($n==null?void 0:$n.commit_status)!==1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:$n.commit_status<2,onClick:us=>yr(void 0,null,function*(){var Ku,uc;if(us.preventDefault(),yield(0,Pr.w)(pa.coursesId,pa.categoryId),$n.commit_status===2){if((0,bt.Rm)()&&!((Ku=Pe.AssistantObject.exercise)!=null&&Ku.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ui(),window.location.href=`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${$n.login}`}if($n.commit_status===3){if((0,bt.Rm)()&&!((uc=Pe.AssistantObject.exercise)!=null&&uc.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u66F4\u6539\u8BC4\u9605",saveExerciseUsers:ui,selectArrs:{record:Ar({},$n),exercise_types:Ar({},sr)},params:Ar({},Jt)}})}})},sr!=null&&sr.appraise_setting&&(sr!=null&&sr.sealed_review)&&new Date(sr==null?void 0:sr.appraise_end_time).getTime()>el?"\u8BC4\u9605":$n.has_comment?"\u66F4\u6539\u8BC4\u9605":!$n.has_comment&&"\u8BC4\u9605"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:($n==null?void 0:$n.commit_status)===0,onClick:()=>{var us,Ku;if((0,bt.Rm)()&&!((Ku=(us=Pe==null?void 0:Pe.AssistantObject)==null?void 0:us.exercise)!=null&&Ku.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",selectArrs:$n,exercise_user_id:[$n.exercise_user_id]}})}},"\u8C03\u6574\u72B6\u6001"),(0,bt.dE)()&&pt.createElement("span",{style:{color:sr!=null&&sr.answered_open&&((fo=yo==null?void 0:yo.current_answer_user)==null?void 0:fo.login)===($n==null?void 0:$n.login)?"#0152d9":"#000000",marginRight:"5px",cursor:"pointer"},onClick:()=>yr(void 0,null,function*(){if(!(sr!=null&&sr.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,ue.xg)(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/users/${$n==null?void 0:$n.login}?check=true`)})},sr!=null&&sr.answered_open&&((Mu=yo==null?void 0:yo.current_answer_user)==null?void 0:Mu.login)===($n==null?void 0:$n.login)?"\u67E5\u770B":"- -"),(la==null?void 0:la.exercise_time)>0&&(la==null?void 0:la.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(De.Z,{title:la.exercise_status===3?"\u672C\u8BD5\u5377\u5DF2\u622A\u6B62\uFF0C\u8BF7\u5148\u4FEE\u6539\u622A\u6B62\u65F6\u95F4\u4F7F\u672C\u8BD5\u5377\u5904\u4E8E\u201C\u8003\u8BD5\u4E2D\u201D":!1},pt.createElement(Ce.ZP,{danger:!0,ghost:!0,size:"small",disabled:la.exercise_status===3||la.exercise_status===5||(la==null?void 0:la.appraise_label)||($n==null?void 0:$n.commit_status)===0,onClick:()=>{var us,Ku;if((0,bt.Rm)()&&!((Ku=(us=Pe==null?void 0:Pe.AssistantObject)==null?void 0:us.exercise)!=null&&Ku.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:[$n.exercise_user_id],selectArrs:$n,exercise_time:la.exercise_time,params:Ar({},Jt)}})}},"\u5EF6\u65F6")))}}].filter(kn=>!!kn),bi=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",width:60,render:(kn,$n,fo)=>pt.createElement(De.Z,{title:((Jt.page||1)-1)*20+fo+1},pt.createElement("span",null,((Jt.page||1)-1)*20+fo+1))},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",width:100,render:(kn,$n)=>$n.commit_status===0||$n.commit_status===1?"--":!$n.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0),kn===100?pt.createElement("span",{className:"c-green"},kn):kn>60?pt.createElement("span",{className:"c-orange"},kn):pt.createElement("span",null,kn))},!((sr==null?void 0:sr.objective)!==1||(sr==null?void 0:sr.objective)===1&&(sr==null?void 0:sr.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let fo;return kn>=0&&kn<=60?fo=pt.createElement("span",null,kn):kn===100?fo=pt.createElement("span",{className:"c-green"},kn):kn>60?fo=pt.createElement("span",{className:"c-orange"},kn):fo="--",pt.createElement(ha,{renderText:fo,item:$n})}}},!((sr==null?void 0:sr.subjective)!==1||(sr==null?void 0:sr.subjective)===1&&(sr==null?void 0:sr.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(kn,$n)=>{if($n.commit_status===0||$n.commit_status===1)return"--";if(!$n.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{kn=typeof kn=="number"?Number(kn):kn,kn||(kn=0);let fo;return kn==0||kn>0&&kn<=60?fo=pt.createElement("span",null,kn):kn===100?fo=pt.createElement("span",{className:"c-green"},kn):kn>60?fo=pt.createElement("span",{className:"c-orange"},kn):fo="--",fo}}},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"center",width:200,render:(kn,$n)=>kn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):kn===1?pt.createElement("span",{style:{color:"#DF3042"}},!$n.is_make_up&&"\u8003\u8BD5\u4E2D",$n.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):kn===2?pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",$n.is_make_up&&!$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!$n.is_make_up&&$n.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"center",width:200,render:kn=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",align:"center",width:200,render:kn=>kn?Qe()(kn).format("YYYY-MM-DD HH:mm"):"--"}].filter(kn=>!!kn),qi=[...Ol];qi[0]=Ar({},qi[0]),qi[(qi==null?void 0:qi.length)-1]=Ar({},qi[(qi==null?void 0:qi.length)-1]),qi[0].render=()=>"\u6211",qi[(qi==null?void 0:qi.length)-1].render=()=>{var kn;return(kn=yo==null?void 0:yo.current_answer_user)!=null&&kn.login?pt.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:()=>yr(void 0,null,function*(){var $n,fo;if(!(sr!=null&&sr.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E...");let Mu=`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/users/${($n=yo==null?void 0:yo.current_answer_user)==null?void 0:$n.login}`;((fo=yo==null?void 0:yo.current_answer_user)==null?void 0:fo.commit_status)>1&&(Mu=Mu+"?check=true"),ye.history.push(Mu)})},"\u67E5\u770B"):"--"};const ui=()=>{var kn;try{const $n=Ar({},Jt);delete $n.page,delete $n.limit,localStorage[`${(kn=Oe==null?void 0:Oe.userInfo)==null?void 0:kn.login}-${Jt.coursesId}-${Jt.categoryId}-filter`]=JSON.stringify($n)}catch($n){}},Ju=()=>{var kn;try{const $n=hr(Ar({},Jt),{firstTargetLogin:ku,totalCount:rr});delete $n.page,delete $n.limit,localStorage[`${(kn=Oe==null?void 0:Oe.userInfo)==null?void 0:kn.login}-${Jt.coursesId}-${Jt.categoryId}-downFilter`]=JSON.stringify($n)}catch($n){}};return pt.createElement("section",{className:"mb20"},(sr==null?void 0:sr.score_open)&&(0,bt.dE)()&&pt.createElement(z.default,{pagination:!1,showHeader:!1,dataSource:[Ar({},yo==null?void 0:yo.current_answer_user)],columns:qi,scroll:{x:"max-content"}}),!(0,bt.GJ)()&&pt.createElement("div",{className:"bg-white pt10 mt15"},!!(sr!=null&&sr.answer_users)&&pt.createElement("span",{className:"mr10"},pt.createElement("span",{style:{color:"#FF954C"}},sr==null?void 0:sr.answer_users," "),"\u5DF2\u4EA4"),!!(sr!=null&&sr.unanswer_users)&&pt.createElement("span",{className:"mr10"},sr==null?void 0:sr.unanswer_users,"\u672A\u4EA4"),(sr==null?void 0:sr.exercise_end_time)!=="--"&&(la!=null&&la.before_start?"":pt.createElement("span",null,"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},sr==null?void 0:sr.exercise_end_time))),(la==null?void 0:la.before_start)&&pt.createElement("span",null,"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u8FD8\u6709\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},la==null?void 0:la.before_start))),!(sr!=null&&sr.exercise_all_users)&&!(0,bt.dE)()&&pt.createElement(ze.Z,{styles:{margin:"0 auto",padding:200}}),(!!(sr!=null&&sr.exercise_all_users)||(0,bt.dE)())&&pt.createElement("aside",null,(0,bt.GJ)()&&pt.createElement("aside",{className:"pt20"},pt.createElement(de.default,{form:Or,onValuesChange:Fi,initialValues:{commit_status:"all",exercise_group_id:"all",review:"all",is_make_up:"all"}},pt.createElement(de.default.Item,{name:"exercise_group_id"},pt.createElement(Ne.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u9009\u62E9\u73ED\u7EA7:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((wn=Ca.course_group)!=null&&wn.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},(sr==null?void 0:sr.course_groups)&&(sr==null?void 0:sr.course_groups.map((kn,$n)=>pt.createElement(Ne.default,{value:kn.exercise_group_id,className:"ml0 mr8",key:kn.exercise_group_id},kn.exercise_group_name,"(",kn.exercise_group_students,")"))))))),pt.createElement(de.default.Item,{name:"commit_status"},pt.createElement(Ne.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u63D0\u4EA4\u72B6\u6001:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((aa=Ca.commit_status)!=null&&aa.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},ht.map((kn,$n)=>pt.createElement(Ne.default,{name:"commit_status",value:kn.id,key:kn.id},kn.name,"(",sr==null?void 0:sr[kn.type],")")))))),pt.createElement(de.default.Item,{name:"review"},pt.createElement(Ne.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u8BC4\u9605\u72B6\u6001:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((Aa=Ca.review)!=null&&Aa.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},(_n=rt)==null?void 0:_n.map((kn,$n)=>pt.createElement(Ne.default,{value:kn.id,key:$n},kn.name,"(",sr==null?void 0:sr[kn.type],")")))))),(sr==null?void 0:sr.open_make_up)&&pt.createElement(de.default.Item,{name:"is_make_up"},pt.createElement(Ne.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(ve.Z,{flex:"80px"},"\u8865\u8003\u72B6\u6001:"),pt.createElement(ve.Z,{flex:"80px"},pt.createElement(Ne.default,{value:"all",checked:!((Wn=Ca.is_make_up)!=null&&Wn.length)},"\u5168\u90E8")),pt.createElement(ve.Z,{flex:"1"},$e.map((kn,$n)=>pt.createElement(Ne.default,{name:"is_make_up",value:kn.id},kn.name,"(",sr==null?void 0:sr[kn.type],")")))))),pt.createElement(re.Z,{align:"middle"},pt.createElement(ve.Z,{flex:"1"},pt.createElement(re.Z,{align:"middle"},pt.createElement(ve.Z,null,pt.createElement(Se.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:kn=>{Jt.search=kn==null?void 0:kn.trim(),Jt.page=1,ga(Ar({},Jt)),wr(Jt)},onChange:kn=>{Jt.search=kn.target.value},style:{width:240}})))),!(la!=null&&la.is_random)&&pt.createElement(ve.Z,{className:["tr",yn.rightFilter].join(" ")},(sr==null?void 0:sr.objective)===1&&(sr==null?void 0:sr.subjective)===1&&pt.createElement(pt.Fragment,null,"\u6309\u5BA2\u89C2\u9898\u5F97\u5206\u5206\u7EC4",pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_gte"},pt.createElement(Te.Z,{min:0,max:sr==null?void 0:sr.objective_score,placeholder:"\u6700\u4F4E"}))),pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_lte"},pt.createElement(Te.Z,{min:(Jt==null?void 0:Jt.objective_score_gte)||0,max:sr==null?void 0:sr.objective_score,placeholder:"\u6700\u9AD8"})))),["\u8003\u8BD5\u4E2D","\u5DF2\u622A\u6B62"].includes(ue.ju[la.exercise_status])&&pt.createElement(y.Z,{menu:{onClick:kn=>yr(void 0,[kn],function*({key:$n,domEvent:fo}){var Mu,us;if($n==="1"){let Ku=null;const uc=Fe.default.confirm({title:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605",icon:null,centered:!0,width:560,closable:!0,content:pt.createElement("div",{className:"flex flex-col gap-20px"},pt.createElement("div",null,"\u63D0\u793A\uFF1A\u8BE5\u64CD\u4F5C\u4F1A\u5C06\u6240\u6709\u5DF2\u4F5C\u7B54\u4E14\u672A\u8BC4\u9605\u5B66\u751F\u7684\u8BD5\u5377\u8BC4\u9605\u72B6\u6001\u4FEE\u6539\u4E3A\u201C\u5DF2\u8BC4\u9605\u201D\u3002"),pt.createElement("div",null,pt.createElement("div",null,"\u8003\u8BD5\u8BC4\u4EF7\uFF1A"),pt.createElement(Se.default.TextArea,{className:"mt10",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u8BC4\u4EF7\uFF0C\u8BC4\u9605\u4E4B\u540E\u652F\u6301\u5355\u72EC\u8FDB\u884C\u4FEE\u6539",rows:4,onChange:kc=>{Ku=kc.target.value}}))),onOk:()=>yr(void 0,null,function*(){(yield Uu({review_all:!0,exercise_id:pa==null?void 0:pa.categoryId,analysis:Ku})).status===0&&(oe.ZP.success("\u6279\u91CF\u5B8C\u6210\u8BC4\u9605"),wr(Jt))}),onCancel:()=>{uc.destroy()}})}if($n==="2"){if(fo.preventDefault(),(0,bt.Rm)()&&!((us=(Mu=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Mu.exercise)!=null&&us.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId),ui(),ye.history.push(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/reviews/group`)}$n==="3"&&(window.location.href=`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/detail?random=${la==null?void 0:la.is_random}&tabs=2`)}),items:[{key:"1",label:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605"},!(la!=null&&la.is_random)&&(sr==null?void 0:sr.subjective)===1&&Ut&&{key:"2",label:"\u7B80\u7B54\u9898\u6279\u91CF\u8BC4\u9605",disabled:!Gl||!Nu},!((0,bt.dE)()||la!=null&&la.is_random||(la==null?void 0:la.exercise_type)==2)&&{key:"3",label:pt.createElement("div",null,"\u7B80\u7B54\u9898\u667A\u80FD\u8BC4\u9605",pt.createElement("img",{src:cn,style:{margin:"0 0 4px 4px"}}))}].filter(kn=>kn)},className:"ml10"},pt.createElement("div",{className:`${yn.btn_review}`},pt.createElement("img",{src:Pa.Z,className:"mr5",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),(sr==null?void 0:sr.subjective)===1&&Ut&&pt.createElement(pt.Fragment,null,pt.createElement(Ce.ZP,{type:"default",disabled:!Gl},pt.createElement("a",{onClick:kn=>yr(void 0,null,function*(){var $n,fo;if(kn.preventDefault(),(0,bt.Rm)()&&!((fo=($n=Pe==null?void 0:Pe.AssistantObject)==null?void 0:$n.exercise)!=null&&fo.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,Pr.w)(pa.coursesId,pa.categoryId),ui(),ye.history.push(`/classrooms/${Jt.coursesId}/exercise/${Jt.categoryId}/review/${Gl}`)})},pt.createElement("span",{className:"iconfont icon-filesync3x"}),pt.createElement("span",null,"\u7EC4\u5185\u987A\u5E8F\u8BC4\u9605"))))),pt.createElement(ve.Z,null,(la==null?void 0:la.exercise_status)===3&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8D28\u91CF\u68C0\u6D4B",params:Jt}})}},pt.createElement("i",{className:"iconfont icon-a-08zhiliang-xianxing font14 pr5"}),"\u8D28\u91CF\u8BC4\u5206")),pt.createElement(ve.Z,null,(la==null?void 0:la.exercise_time)>0&&(la==null?void 0:la.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",disabled:la.exercise_status===3||la.exercise_status===5||(la==null?void 0:la.appraise_label),onClick:()=>{var kn,$n;if((0,bt.Rm)()&&!(($n=(kn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:kn.exercise)!=null&&$n.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Ui.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:Ui,user_ids:su,isBatch:!0,exercise_time:la.exercise_time,params:Ar({},Jt)}})}},"\u6279\u91CF\u5EF6\u65F6"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[la.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var kn,$n;if((0,bt.Rm)()&&!(($n=(kn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:kn.exercise)!=null&&$n.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Ui.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",exercise_user_id:Ui,user_ids:su,isBatch:!0}})}},"\u6279\u91CF\u8C03\u6574\u72B6\u6001"))))),eo===-3&&!(0,bt.dE)()&&pt.createElement(ze.Z,{customText:"\u4FEE\u6539\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u5224\u5206\u4E2D\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85...",styles:{margin:"0 auto",padding:100}}),eo!==-3&&pt.createElement(z.default,{className:"mt30",loading:Gi,hideOnSinglePage:!0,pagination:!1,dataSource:(0,bt.dE)()?sr!=null&&sr.score_open?yo==null?void 0:yo.exercise_users:[(yo==null?void 0:yo.current_answer_user)||{}]:yo==null?void 0:yo.exercise_users,columns:Ol,rowSelection:!(0,bt.dE)()&&{selectedRowKeys:Ui,onChange:(kn,$n)=>{mu(kn),jl(($n==null?void 0:$n.map(fo=>fo==null?void 0:fo.user_id))||[])},getCheckboxProps:kn=>({disabled:kn.commit_status===0})},rowKey:"exercise_user_id",scroll:{x:"max-content"},size:"middle",onChange:(kn,$n,fo)=>{Jt.page=1,fo.order===void 0?(Jt.order_type=null,Jt.order=null):(Jt.order_type=fo.order==="descend"?"desc":"asc",Jt.order=fo.field),ga(Ar({},Jt)),wr(Jt)}}),rr>20&&pt.createElement("aside",{className:"tc pb30 mt30"},pt.createElement(xe.Z,{onChange:oo,current:Jt.page||1,pageSize:Jt.limit,total:rr,showQuickJumper:!0,hideOnSinglePage:!0,showTotal:kn=>pt.createElement("span",{className:"mr10"},"\u5171",pt.createElement("span",{className:"c-orange"},kn),"\u6761\u6570\u636E")}))),pt.createElement(Fe.default,{open:xr,title:pt.createElement("span",null,"\u8003\u8BD5\u8BB0\u5F55\uFF08",Eo==null?void 0:Eo.name," ",Eo==null?void 0:Eo.id,"\uFF09"),centered:!0,width:1e3,footer:null,onCancel:()=>{ho(!1)}},((Ga=Eo==null?void 0:Eo.list)==null?void 0:Ga.length)===0?pt.createElement(ze.Z,{styles:{margin:"0 auto"},customText:"\u6682\u65E0\u6570\u636E"}):pt.createElement(z.default,{dataSource:Eo==null?void 0:Eo.list,columns:bi,pagination:!1})),pt.createElement(nn,null),pt.createElement(Kt,null),pt.createElement(kt,null),pt.createElement(Dn,null),sn&&pt.createElement(Fe.default,{title:"\u9632\u4F5C\u5F0A\u5934\u50CF",open:sn,centered:!0,onCancel:()=>{_a(1),tt(!1),or([]),va("alert"),ra("")},footer:pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",{style:{flex:1,textAlign:"left"}}," ",pt.createElement(Ce.ZP,{onClick:()=>yr(void 0,null,function*(){if(!ya){oe.ZP.info("\u8F93\u5165\u6846\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A");return}Da(!0);let kn=yield(0,fe.ZP)(`/api/exercises/${Jt.categoryId}/send_alert.json`,{method:"post",body:{content:ya,clazz:Za,exercise_user_id:xa}});(kn==null?void 0:kn.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),_a(1),tt(!1),or([]),va("alert"),ra("")),Da(!1)}),disabled:nr,loading:Va},"\u53D1\u9001")),pt.createElement(Ce.ZP,{disabled:(Sr==null?void 0:Sr.length)===0,style:{marginRight:"10px"},onClick:()=>yr(void 0,null,function*(){yield _a(ea-1===0?Sr==null?void 0:Sr.length:ea-1)})},"\u4E0A\u4E00\u5F20"),pt.createElement(Ce.ZP,{disabled:(Sr==null?void 0:Sr.length)===0,type:"primary",onClick:()=>yr(void 0,null,function*(){yield _a(ea===(Sr==null?void 0:Sr.length)?1:ea+1)})},"\u4E0B\u4E00\u5F20"))},pt.createElement("img",{style:{width:"234px !important",height:"132px",borderRadius:"5px"},src:Sr[ea-1]}),pt.createElement("span",{onClick:()=>{Ka.Z.publish("preview-image",Sr[ea-1])},style:{background:"#0152d9",color:"#fff",display:"inline-flex",width:"54px",height:"20px",borderRadius:"10px",justifyContent:"center",lineHeight:"20px",alignItems:"center",position:"absolute",top:"70px",left:"130px",zIndex:5,cursor:"pointer"}},"\u9884\u89C8"),pt.createElement("span",{style:{color:"#0152d9",marginTop:"16px",width:"234px",justifyContent:"center",display:"flex"}},ea+"/"+(Sr==null?void 0:Sr.length)),pt.createElement(be.ZP,{className:"mt20",checked:Za==="alert",onChange:()=>va("alert")},"\u53D1\u9001\u8B66\u544A",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(be.ZP,{className:"mt10",checked:Za==="notice",onChange:()=>va("notice")},"\u53D1\u9001\u901A\u77E5",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(Se.default.TextArea,{className:"mt20",value:ya,onChange:kn=>ra(kn.target.value),placeholder:`\u8BF7\u8F93\u5165${Za==="alert"?"\u8B66\u544A":"\u901A\u77E5"}\u5185\u5BB9${Za==="alert"?"\uFF0C\u5982\uFF1A\u626D\u5934\u4F4E\u5934\u5927\u5E45\u5EA6\u52A8\u4F5C\u68C0\u6D4B":""}`}),pt.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",za,"\u6B21\u8B66\u544A")),pt.createElement(Na.Z,null),pt.createElement(Hr,null),pt.createElement(ca,null))};var co=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie,classroomList:dt,user:Dt})=>({classroomList:dt,exercise:me,loading:pe.effects,globalSetting:ie,user:Dt}))(Er),Do=x(84105),uo=x(87395),Jr={flex_box_center:"flex_box_center___Hpswl",flex_space_between:"flex_space_between___ywvKM",flex_box_vertical_center:"flex_box_vertical_center___SItpZ",flex_box_center_end:"flex_box_center_end___WIAL3",flex_box_column:"flex_box_column___FMKJn",wrap:"wrap___AW_2A",control:"control___w5xQm",btn:"btn___as1xd",customTable:"customTable___gGVV3",bgH:"bgH___J0V1_",cusModal:"cusModal___2fPK2",imgWrap:"imgWrap___crzTi",img:"img___iwJRL",iBtn:"iBtn___L11V_",text:"text___INAg4",no:"no___H7kcX",textP:"textP___Rdbzv",video:"video___yjo5C",sys:"sys___o3w4h",li:"li___WQQil",d1:"d1___KQ9j6",b1:"b1___PA3Kc",es:"es___j13_3"},rl=x(73217),di=x(16471);const ni=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;var Al=(0,a.forwardRef)(({src:me,videoId:pe,logWatchHistory:ie,courseId:dt=null,startTime:Dt,handlePause:_e=()=>{},handlePlay:Ut=()=>{},handlePlayEnded:at=()=>{},videoSpeed:Oe=1},Pe)=>{var Pn;const Xn=((Pn=me==null?void 0:me.split("."))==null?void 0:Pn.pop())==="flv",an=(0,a.useRef)(),wn=(0,a.useRef)(),aa=(0,a.useRef)(0),Aa=(0,a.useRef)(0),[_n,Wn]=(0,a.useState)(0),Ga=navigator.userAgent.toLowerCase().match(ni),On=Ga?Ga[0]:"pc";(0,a.useImperativeHandle)(Pe,()=>({getLastUpdatedTime:()=>an.current.currentTime,getDuration:()=>an.current.duration})),(0,a.useEffect)(()=>{Aa.current=void 0;try{rl.Z.isSupported&&Xn&&me&&(me==null?void 0:me.indexOf(".m3u8"))<0?(Aa.current=rl.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:me+"?t="+Date.now(),muted:!1,isLive:!0}),Aa.current.on("play",function(){console.log(21111)}),an.current&&(Aa.current.detachMediaElement(an.current),Aa.current.attachMediaElement(an.current),Aa.current.load(),Aa.current.play())):an.current.setAttribute("src",me+"?t="+Date.now())}catch(Jt){setTimeout(()=>{Wn(_n+1)},1e3)}return console.log("src:",me),()=>{var Jt,ga,la,ka,Yt,Ca,ia,rr;Aa.current&&((ga=(Jt=Aa.current)==null?void 0:Jt.unload)==null||ga.call(Jt),(ka=(la=Aa.current)==null?void 0:la.pause)==null||ka.call(la),(Ca=(Yt=Aa.current)==null?void 0:Yt.destroy)==null||Ca.call(Yt),(rr=(ia=Aa.current)==null?void 0:ia.detachMediaElement)==null||rr.call(ia,an.current),Aa.current=void 0,an.current.src="")}},[an,Xn,me,_n]),(0,a.useEffect)(()=>(wn.current=setInterval(()=>{aa.current>0&&aa.current===an.current.currentTime&&(console.log("\u64AD\u653E\u4E00\u6B21"),Wn(_n+1)),aa.current=an.current.currentTime},3e3),()=>{clearInterval(wn.current)}),[]);const pa=Jt=>{setTimeout(()=>{Wn(_n+1)},1e3)};return a.createElement("video",{ref:an,onerr:!0,onErrorCapture:()=>{Wn(_n+1)},autoPlay:!0,muted:!0})}),xl=Object.defineProperty,kr=Object.getOwnPropertySymbols,Ml=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,Zl=(me,pe,ie)=>pe in me?xl(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ro=(me,pe)=>{for(var ie in pe||(pe={}))Ml.call(pe,ie)&&Zl(me,ie,pe[ie]);if(kr)for(var ie of kr(pe))Vl.call(pe,ie)&&Zl(me,ie,pe[ie]);return me},Bi=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const oi=({exercise:me,dispatch:pe,user:ie})=>{var dt;const Dt=(0,ye.useParams)(),[_e,Ut]=(0,a.useState)({page:1,limit:20,sort_by:null,sort_direction:null,state:null,audit:null,name:"",save_name:"",exercise_id:Dt==null?void 0:Dt.categoryId}),[at]=de.default.useForm(),[Oe,Pe]=(0,a.useState)(),[Pn,Zn]=(0,a.useState)(!1),{exerciseList:Xn,commonHeader:an}=me,[wn,aa]=(0,a.useState)([]),[Aa,_n]=(0,a.useState)([]),[Wn,Ga]=(0,a.useState)(0),[On,pa]=(0,a.useState)(!0),[Jt,ga]=(0,a.useState)(!1),la=(0,a.useRef)(null);(0,a.useEffect)(()=>{ka(_e)},[]),(0,a.useEffect)(()=>(clearInterval(la.current),(an==null?void 0:an.exercise_status)===2&&(la.current=setInterval(()=>{ka(_e)},3e4)),()=>{clearInterval(la.current)}),[an==null?void 0:an.exercise_status,_e]);const ka=za=>Bi(void 0,null,function*(){const ur=dr().cloneDeep(za);console.log(ur,"sendData"),pa(!0),aa([]);const Ha=yield(0,fe.ZP)(`/api/exercises/${za==null?void 0:za.exercise_id}/exercise_identity_photos.json`,{method:"get",params:ur});_n([]),pa(!1),Ga(Ha==null?void 0:Ha.count),aa((Ha==null?void 0:Ha.exercise_users)||[])}),Yt=(za,ur)=>{_e.page=1,_e[ur]=za,Ut(Ro({},_e)),ka(_e)},Ca=za=>{_e.page=1,_e.save_name=za,Ut(Ro({},_e))},ia=()=>{_e.page=1;const za=Object.assign({},at.getFieldsValue());Object.keys(za).map(function(ur){switch(ur){case"exercise_group_id":za[ur].includes("all")||!za[ur].length?(delete _e.course_group,at.setFieldsValue({exercise_group_id:"all"})):(_e.course_group=za[ur],at.setFieldsValue({exercise_group_id:_e.course_group}));break}}),Ut(Ro({},_e)),ka(_e)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Pe(47),Zn(!0))},[document.getElementById("divhe"),Xn]);const rr=(za,ur,Ha)=>{_e.page=za==null?void 0:za.current,_e.limit=za==null?void 0:za.pageSize,Ha!=null&&Ha.order?(_e.sort_by=Ha==null?void 0:Ha.field,_e.sort_direction=(Ha==null?void 0:Ha.order)==="ascend"?"asc":"desc"):(_e.sort_by=null,_e.sort_direction=null),Ut(Ro({},_e)),ka(_e)},ro=[{title:"\u5E8F\u53F7",dataIndex:"number",width:80,render:(za,ur,Ha)=>_e.limit*(_e.page-1)+Ha+1},{title:"\u59D3\u540D",dataIndex:"user_name",width:110,ellipsis:{showTitle:!1},render:za=>a.createElement(De.Z,{placement:"bottomLeft",title:za},a.createElement("span",null,za))},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,width:140,showSorterTooltip:!1,ellipsis:{showTitle:!1},render:za=>a.createElement(De.Z,{placement:"bottomLeft",title:za||"--"},a.createElement("span",null,za||"--"))},{title:"\u5206\u73ED",dataIndex:"user_group_name",ellipsis:{showTitle:!1},render:(za,ur)=>za?a.createElement(De.Z,{placement:"bottom",title:za},a.createElement("span",{className:Jr.es},za)):"--"},{title:"\u4EBA\u8138\u7167\u7247",dataIndex:"photo_url",width:90,ellipsis:{showTitle:!1},render:(za,ur)=>a.createElement("img",{width:40,style:{maxHeight:30},src:za,className:"current",onClick:()=>{Za(ur)}})},{title:"\u5BA1\u6838\u72B6\u6001",width:100,dataIndex:"exercise_identity_photo_state",ellipsis:{showTitle:!1},render:(za,ur)=>a.createElement(a.Fragment,null,za==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),za==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),za==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:180,ellipsis:{showTitle:!1},render:za=>a.createElement("span",null,za||"--")},{title:"\u5BA1\u6838\u7C7B\u578B",dataIndex:"audit_clazz",width:90,ellipsis:{showTitle:!1},render:za=>a.createElement("span",null,za||"--")},{title:"\u64CD\u4F5C",dataIndex:"action",width:180,ellipsis:{showTitle:!1},render:(za,ur)=>{var Ha;return a.createElement(a.Fragment,null,(ur==null?void 0:ur.exercise_identity_photo_state)==="submitted"?a.createElement("span",{className:"c-light-primary current",onClick:()=>ga(ur)},"\u5BA1\u6838"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u5BA1\u6838"),(ur==null?void 0:ur.exercise_identity_photo_state)!=="submitted"?a.createElement("span",{className:"c-light-primary current ml10 mr10",onClick:()=>sn(ur)},"\u5BA1\u6838\u8BB0\u5F55"):a.createElement("span",{className:"c-grey-999 ml10 mr10 cursorNotAllowed"},"\u5BA1\u6838\u8BB0\u5F55"),(ur==null?void 0:ur.exercise_identity_photo_state)==="passed"&&((Ha=ur==null?void 0:ur.play_url)!=null&&Ha.length)?a.createElement("span",{className:"c-light-primary current",onClick:()=>tt(ur)},"\u6444\u50CF\u76D1\u63A7"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u6444\u50CF\u76D1\u63A7"))}}],Lr=za=>{_n(za)},Ua=()=>{ga(!1),ka(_e)},sn=za=>{const ur=[{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:170,render:(Vr,Va)=>a.createElement("span",null,Vr||"--")},{title:"\u5BA1\u6838\u72B6\u6001",dataIndex:"exercise_identity_photo_state",width:110,render:(Vr,Va)=>a.createElement(a.Fragment,null,Vr==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),Vr==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),Vr==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u610F\u89C1",dataIndex:"comment",render:(Vr,Va)=>Vr?a.createElement(De.Z,{placement:"bottom",title:Vr},a.createElement("span",null,Vr)):"--"},{title:"\u91C7\u96C6\u7167\u7247",dataIndex:"photo_url",width:90,render:(Vr,Va)=>a.createElement("span",{className:"current c-light-primary",onClick:()=>{Ka.Z.publish("preview-image",Vr)}},"\u67E5\u770B")}],Ha=Fe.default.confirm({icon:null,width:700,className:`${Jr.cusModal} custom-modal-divider`,centered:!0,title:a.createElement(re.Z,null,a.createElement(ve.Z,{flex:"1"},"\u5BA1\u6838\u8BB0\u5F55"),a.createElement(ve.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Ha.destroy()}))),content:a.createElement("div",null,a.createElement(z.default,{className:Jr.customTable,dataSource:[Ro({},za)],bordered:!1,columns:ur,rowKey:"exercise_identity_photo_id",rowClassName:Jr.row,pagination:!1}))})},tt=za=>{var ur,Ha;const Vr=Fe.default.confirm({icon:null,className:`${Jr.cusModal} custom-modal-divider`,centered:!0,width:((ur=za==null?void 0:za.play_url)==null?void 0:ur.length)<6?724:744,title:a.createElement(re.Z,null,a.createElement(ve.Z,{flex:"1"},"\u89C6\u9891"),a.createElement(ve.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Vr.destroy()}))),content:a.createElement("ul",{className:Jr.sys},(Ha=za==null?void 0:za.play_url)==null?void 0:Ha.map((Va,Da)=>a.createElement("li",{className:Jr.li,key:Da},a.createElement("div",{className:Jr.d1},a.createElement("div",{className:Jr.img},a.createElement(Al,{src:Va==null?void 0:Va.replace(".m3u8",".flv"),autoPlay:!0})),a.createElement("div",{className:Jr.btn},a.createElement("div",{className:Jr.b1},"\u56DE\u653E\u89C6\u9891",Da+1))))))})},Za=za=>{const ur=Fe.default.confirm({icon:null,className:`${Jr.cusModal} custom-modal-divider`,centered:!0,width:710,title:a.createElement(re.Z,null,a.createElement(ve.Z,{flex:"1"},"\u4EBA\u8138\u7167\u7247"),a.createElement(ve.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>ur.destroy()}))),content:a.createElement(re.Z,null,a.createElement("aside",{className:Jr.imgWrap,style:{marginBottom:40}},a.createElement("div",{className:Jr.img},a.createElement("img",{width:326,src:(0,ue.Tv)(za==null?void 0:za.photo_url)}),a.createElement("div",{className:Jr.textP},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:Jr.img,style:{marginLeft:20}},za!=null&&za.identity_url?a.createElement("img",{width:326,src:(0,ue.Tv)(za==null?void 0:za.identity_url)}):a.createElement("div",{className:Jr.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),a.createElement("div",{className:Jr.textP},"\u8BC1\u4EF6\u7167\u7247"))))})},va={selectedRowKeys:Aa,columnWidth:40,onChange:Lr,getCheckboxProps:za=>({disabled:(za==null?void 0:za.exercise_identity_photo_state)==="passed"})};return a.createElement("section",{className:Jr.wrap},a.createElement(de.default,{form:at,onChange:ia,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Ne.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(ve.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(ve.Z,{flex:"80px"},a.createElement(Ne.default,{value:"all"},"\u5168\u90E8")),a.createElement(ve.Z,{flex:"1",id:"divhe",style:{height:Oe+"px",overflow:"hidden"}},(dt=Xn.course_groups)==null?void 0:dt.map((za,ur)=>a.createElement(Ne.default,{key:ur,value:za.exercise_group_id,className:"ml0 mr8"},za.exercise_group_name,"(",za.exercise_group_students,")"))),Pn&&a.createElement("span",{onClick:()=>{let za=document.getElementById("divhe").scrollHeight;Oe>47?Pe(47):Pe(za)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Oe===47?"\u5C55\u5F00":"\u6536\u8D77",Oe===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(uo.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:Jr.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:_e==null?void 0:_e.save_name,onChange:za=>Ca(za.target.value),onSearch:()=>{_e.page=1,_e.name=_e.save_name,Ut(Ro({},_e)),ka(_e)}}),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",value:_e==null?void 0:_e.state,onChange:za=>Yt(za,"state")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:"submitted"},"\u5F85\u5BA1\u6838"),a.createElement(dn.default.Option,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(dn.default.Option,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7")),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u7C7B\u578B",value:_e==null?void 0:_e.audit,onChange:za=>Yt(za,"audit")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:1},"\u81EA\u52A8\u5BA1\u6838"),a.createElement(dn.default.Option,{value:2},"\u4EBA\u5DE5\u5BA1\u6838")),a.createElement("span",{className:Jr.btn,style:{cursor:"pointer"},onClick:()=>{if(!Aa.length){oe.ZP.warning("\u8BF7\u9009\u62E9\u5B66\u751F");return}ga(!0)}},a.createElement("i",{className:"iconfont icon-piliangcaozuo font14 mr5"}),"\u6279\u91CF\u5BA1\u6838")),a.createElement("div",{className:Jr.bgH}),a.createElement(z.default,{rowSelection:va,className:Jr.customTable,dataSource:wn,bordered:!1,columns:ro,rowKey:"exercise_identity_photo_id",rowClassName:Jr.row,loading:On,onChange:rr,pagination:{pageSize:_e.limit,total:Wn,current:_e.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,position:["bottomCenter"],showTotal:za=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},za),"\u6761\u6570\u636E")}}),a.createElement(li,{selectIds:Aa,visible:Jt,onCancel:()=>ga(!1),onOk:Ua,params:_e}),a.createElement(Na.Z,null))};var ii=(0,ye.connect)(({exercise:me,user:pe})=>({exercise:me,user:pe}))(oi);const li=({visible:me,onOk:pe,onCancel:ie,selectIds:dt,params:Dt})=>{const[_e,Ut]=(0,a.useState)(!1),[at,Oe]=(0,a.useState)({}),[Pe]=de.default.useForm(),Pn=Zn=>Bi(void 0,null,function*(){Ut(!0);let Xn;me===!0?Xn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/batch_audit_identity_photo.json`,{method:"post",body:Ro({identity_photo_ids:dt},Zn)}):Xn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/audit_identity_photo.json`,{method:"post",body:Ro({identity_photo_id:me==null?void 0:me.exercise_identity_photo_id},Zn)}),(Xn==null?void 0:Xn.status)===0&&pe(),Ut(!1)});return a.createElement(Fe.default,{title:me!==!0?"\u4EBA\u8138\u8EAB\u4EFD\u5BA1\u6838":"\u6279\u91CF\u5BA1\u6838",open:!!me,centered:!0,width:650,destroyOnClose:!0,onCancel:()=>{ie()},afterClose:()=>{Pe.resetFields(),Oe({})},confirmLoading:_e,onOk:()=>Pe.submit()},a.createElement(de.default,{className:Jr.formWrap,form:Pe,labelCol:{span:4},wrapperCol:{span:18},onFinish:Pn,onValuesChange:()=>{Oe(Ro({},Pe.getFieldsValue()))}},me!==!0&&a.createElement(re.Z,{style:{marginLeft:28,marginBottom:38}},a.createElement(ve.Z,null,"\u91C7\u96C6\u7167\u7247\uFF1A"),a.createElement(ve.Z,null,a.createElement("aside",{className:Jr.imgWrap},a.createElement("div",{className:Jr.img},a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.photo_url)}),a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",me==null?void 0:me.photo_url)},className:Jr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:Jr.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:Jr.img,style:{marginLeft:20}},me!=null&&me.identity_url?a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.identity_url)}):a.createElement("div",{className:Jr.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(me!=null&&me.identity_url)&&a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",(0,ue.Tv)(me==null?void 0:me.identity_url))},className:Jr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:Jr.text},"\u8BC1\u4EF6\u7167\u7247"))))),a.createElement(de.default.Item,{label:"\u5BA1\u6838\u72B6\u6001",name:"state",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u72B6\u6001"}]},a.createElement(be.ZP.Group,null,a.createElement(be.ZP,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(be.ZP,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7"))),(at==null?void 0:at.state)==="rejected"&&a.createElement(de.default.Item,{label:"\u5BA1\u6838\u610F\u89C1",name:"comment",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u610F\u89C1"}]},a.createElement(Se.default,{placeholder:"\u5982\uFF1A\u4F60\u7684\u4E2A\u4EBA\u4FE1\u606F\u4E0E\u7167\u7247\u4E0D\u4E00\u81F4\u3002",maxLength:30})),a.createElement("div",{style:{color:"#FA6400",paddingLeft:32}},"\u6CE8\u610F\uFF1A\u5BA1\u6838\u901A\u8FC7\u540E\uFF0C\u8BE5\u5B66\u751F\u5728\u672C\u573A\u8003\u8BD5\u7684\u8BA4\u8BC1\u72B6\u6001\u5C06\u66F4\u65B0\u4E3A\u201C\u5BA1\u6838\u901A\u8FC7\u201D\uFF0C\u4E14\u80FD\u591F\u8FDB\u5165\u8003\u8BD5\u3002")))};var fi=x(61621),Rl=x(64165),qr={flex_box_center:"flex_box_center___t6Zg2",flex_space_between:"flex_space_between___YFTSU",flex_box_vertical_center:"flex_box_vertical_center___qbDmM",flex_box_center_end:"flex_box_center_end___Bj6kw",flex_box_column:"flex_box_column___Ou9DO",wrap:"wrap___foAmP",control:"control___q0ttm",bgH:"bgH___NAS04",sys:"sys___rqcXV",li:"li___blFPM",d1:"d1___Xzld0",img:"img___ckn7G",btn:"btn___fSMGG",b1:"b1___zoANu",b2:"b2___bqZaY",big:"big___nQ5gf",cusModal:"cusModal___rTXoc",video:"video___E4J_7",imgWrap:"imgWrap___ENwuy",iBtn:"iBtn___bXnJy",text:"text___CK5up",no:"no___MBT10",textP:"textP___ibKK1",l:"l___Gi38o",r:"r___HNibN",fo:"fo___DQwO8",b:"b___z8B9p"},Hl=Object.defineProperty,Nl=Object.defineProperties,$i=Object.getOwnPropertyDescriptors,Zi=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,fu=Object.prototype.propertyIsEnumerable,lu=(me,pe,ie)=>pe in me?Hl(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,yl=(me,pe)=>{for(var ie in pe||(pe={}))gu.call(pe,ie)&&lu(me,ie,pe[ie]);if(Zi)for(var ie of Zi(pe))fu.call(pe,ie)&&lu(me,ie,pe[ie]);return me},pi=(me,pe)=>Nl(me,$i(pe)),Eu=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const qu=({exercise:me,dispatch:pe,user:ie})=>{var dt,Dt,_e,Ut,at,Oe,Pe,Pn,Zn;const Xn=(0,ye.useParams)(),[an,wn]=(0,a.useState)({page:1,limit:10,name:"",save_name:"",exercise_id:Xn==null?void 0:Xn.categoryId}),[aa]=de.default.useForm(),[Aa,_n]=(0,a.useState)(),[Wn,Ga]=(0,a.useState)(!1),{exerciseList:On}=me,[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)(0),[ka,Yt]=(0,a.useState)(!0),[Ca,ia]=(0,a.useState)(!1),[rr,ro]=(0,a.useState)("1"),[Lr,Ua]=(0,a.useState)(1),[sn,tt]=(0,a.useState)("alert"),[Za,va]=(0,a.useState)(1),[za,ur]=(0,a.useState)(""),[Ha,Vr]=(0,a.useState)(!1),[Va,Da]=(0,a.useState)(!1),[Or,Sr]=(0,a.useState)([]);(0,a.useEffect)(()=>{or(an)},[]);const or=Zr=>Eu(void 0,null,function*(){const sr=dr().cloneDeep(Zr);Yt(!0),Jt([]);const io=yield(0,fe.ZP)(`/api/exercises/${Zr==null?void 0:Zr.exercise_id}/exercise_videos.json`,{method:"get",params:sr});Yt(!1),la(io==null?void 0:io.count),Jt((io==null?void 0:io.exercise_users)||[])}),ea=(Zr,sr)=>{an.page=Zr,an.limit=sr,wn(yl({},an)),or(an)},_a=Zr=>{an.page=1,an.save_name=Zr,wn(yl({},an))},ya=()=>{an.page=1;const Zr=Object.assign({},aa.getFieldsValue());Object.keys(Zr).map(function(sr){switch(sr){case"exercise_group_id":Zr[sr].includes("all")||!Zr[sr].length?(delete an.course_group,aa.setFieldsValue({exercise_group_id:"all"})):(an.course_group=Zr[sr],aa.setFieldsValue({exercise_group_id:an.course_group}));break}}),or(an)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(_n(47),Ga(!0))},[document.getElementById("divhe"),On]);const ra=Zr=>Eu(void 0,null,function*(){Vr(!0),ia({});const sr=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/student_info.json`,{method:"get",params:{exercise_user_id:Zr==null?void 0:Zr.exercise_user_id}}),io=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/video_push_logs.json`,{method:"get",params:{exercise_user_id:Zr==null?void 0:Zr.exercise_user_id}});io!=null&&io.data&&Sr((io==null?void 0:io.data)||[]),sr!=null&&sr.data&&ia(pi(yl({},sr==null?void 0:sr.data),{exercise_user_id:Zr==null?void 0:Zr.exercise_user_id,datas:Zr})),Vr(!1)}),xa=Zr=>{var sr,io;Ua(Zr==="prev"?Lr-1===0?(sr=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:sr.length:Lr-1:Lr===((io=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:io.length)?1:Lr+1)},qn=()=>{Ua(1),tt("alert"),ur(""),ro("1"),va(1)},nr=Zr=>{va(Zr)},vr=Zr=>{tt(Zr),va(1),ur("")},xr=[{key:1,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:2,value:"\u8BF7\u52FF\u79BB\u5F00\u76D1\u63A7\u8303\u56F4\uFF01"},{key:3,value:"\u8BF7\u4E0D\u8981\u4E0E\u5176\u4ED6\u4EBA\u4EA4\u8C08\uFF01"},{key:4,value:"\u8BF7\u4E0D\u8981\u505A\u4E0E\u8003\u8BD5\u65E0\u5173\u7684\u884C\u4E3A\uFF01"},{key:5,value:"\u8BF7\u52FF\u5207\u5C4F\uFF0C\u8D85\u8FC73\u6B21\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF01"},{key:6,value:"\u8BF7\u52FF\u906E\u6321\u6216\u5173\u95ED\u7535\u8111\u6444\u50CF\u76D1\u63A7\uFF01"},{key:0,value:"\u5176\u4ED6"}],ho=[{key:1,value:"\u8BF7\u5C06\u624B\u673A\u653E\u7F6E\u4E8E\u4FA7\u540E\u65B945\xB0\uFF0C\u79BB\u684C\u97621\u7C73\u5DE6\u53F3\uFF0C\u4FDD\u8BC1\u80FD\u62CD\u6444\u5230\u4E0A\u534A\u8EAB\u3001\u7535\u8111\u5C4F\u5E55\u548C\u684C\u9762\u3002"},{key:2,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:0,value:"\u5176\u4ED6"}],Eo=sn==="alert"?xr:ho;return a.createElement("section",{className:qr.wrap},a.createElement(de.default,{form:aa,onChange:ya,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Ne.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(ve.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(ve.Z,{flex:"80px"},a.createElement(Ne.default,{value:"all"},"\u5168\u90E8")),a.createElement(ve.Z,{flex:"1",id:"divhe",style:{height:Aa+"px",overflow:"hidden"}},(dt=On.course_groups)==null?void 0:dt.map((Zr,sr)=>a.createElement(Ne.default,{key:sr,value:Zr.exercise_group_id,className:"ml0 mr8"},Zr.exercise_group_name,"(",Zr.exercise_group_students,")"))),Wn&&a.createElement("span",{onClick:()=>{let Zr=document.getElementById("divhe").scrollHeight;Aa>47?_n(47):_n(Zr)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Aa===47?"\u5C55\u5F00":"\u6536\u8D77",Aa===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(uo.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:qr.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:an==null?void 0:an.save_name,onChange:Zr=>_a(Zr.target.value),onSearch:()=>{an.page=1,an.name=an.save_name,wn(yl({},an)),or(an)}})),a.createElement("div",{className:qr.bgH}),a.createElement("div",{className:qr.warpList},a.createElement(fi.Z,{loading:ka,active:!0,paragraph:{rows:5}},a.createElement("div",{className:"c-grey-666 mb20 mt20"},"\u5171",a.createElement("span",{className:"c-orange"},ga),"\u540D\u5B66\u751F\u5DF2\u5F00\u542F\u624B\u673A\u6444\u5F71"),pa.length?a.createElement("ul",{className:qr.sys},pa.map((Zr,sr)=>{const{user_name:io,user_group_name:yo,video_url:kl,login:Gi,student_id:Yi}=Zr;return a.createElement("li",{className:qr.li,key:sr},a.createElement("div",{className:qr.d1},a.createElement("div",{className:qr.img},a.createElement("iframe",{style:{height:340,width:"100%",border:"none"},src:`/live-play.html?key=${sr}&video_url=${kl==null?void 0:kl.replace(".m3u8",".flv")}`})),a.createElement(De.Z,{title:"\u59D3\u540D+\u5B66\u53F7"},a.createElement("div",{className:qr.btn,onClick:()=>(0,ue.RG)(`${an.exercise_id}-${Gi}`,!0)},a.createElement("div",{title:io,className:qr.b1},io),a.createElement("div",{title:yo,className:qr.b2},"(",Yi,")"))),a.createElement("div",{onClick:()=>ra(Zr),className:qr.big},"\u67E5\u770B")))})):a.createElement(Rl.Z,null)),a.createElement(xe.Z,{showTotal:Zr=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},Zr),"\u6761\u6570\u636E"),className:"tc",showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,onChange:ea,pageSize:an==null?void 0:an.limit,current:an.page,total:ga})),a.createElement(Fe.default,{title:"\u67E5\u770B\u8BE6\u7EC6\u4FE1\u606F",open:Ca,centered:!0,width:850,destroyOnClose:!0,onCancel:()=>{ia(!1)},afterClose:qn,footer:null},a.createElement(fi.Z,{loading:Ha,active:!0,paragraph:{rows:5}},a.createElement("div",null,a.createElement("span",null,"\u59D3\u540D:",(Dt=Ca==null?void 0:Ca.datas)==null?void 0:Dt.user_name),a.createElement("span",{className:"ml20"},"\u5B66\u53F7:",(_e=Ca==null?void 0:Ca.datas)==null?void 0:_e.student_id),a.createElement("span",{className:"ml20"},"\u73ED\u7EA7:",(Ut=Ca==null?void 0:Ca.datas)==null?void 0:Ut.user_group_name)),a.createElement(E.default,{className:"mt10",defaultActiveKey:rr,onChange:Zr=>{ro(Zr)}},a.createElement(E.default.TabPane,{tab:"\u9632\u4F5C\u5F0A\u5934\u50CF",key:"1"},a.createElement("aside",{className:qr.imgWrap},a.createElement("div",{className:qr.img,style:{width:234,marginLeft:30,textAlign:"center"}},(at=Ca==null?void 0:Ca.exercise_user_photos)!=null&&at.length?a.createElement(a.Fragment,null,a.createElement("img",{height:131,src:(Oe=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:Oe[Lr-1]}),a.createElement("div",{onClick:()=>{var Zr;Ka.Z.publish("preview-image",(Zr=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:Zr[Lr-1])},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u8003\u8BD5\u4E2D\u7167\u7247",a.createElement("span",{className:"c-light-primary"},Lr,"/",(Pe=Ca==null?void 0:Ca.exercise_user_photos)==null?void 0:Pe.length)),Lr===1?a.createElement("div",{style:{color:"#ccc",cursor:"not-allowed"},className:qr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})):a.createElement("div",{onClick:()=>xa("prev"),className:qr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})),a.createElement("div",{onClick:()=>xa("next"),className:qr.r},a.createElement("i",{className:"iconfont icon-lujing"}))):a.createElement("div",{className:qr.no},a.createElement("span",null,"\u6682\u65E0\u8003\u8BD5\u4E2D\u7167\u7247"))),a.createElement("div",{className:qr.img,style:{marginLeft:60,width:234,textAlign:"center"}},Ca!=null&&Ca.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(Ca==null?void 0:Ca.identity_url)}):a.createElement("div",{className:qr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(Ca!=null&&Ca.identity_url)&&a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",(0,ue.Tv)(Ca==null?void 0:Ca.identity_url))},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u4EBA\u8138\u7167\u7247",key:"2"},a.createElement("aside",{className:qr.imgWrap,style:{marginLeft:70}},a.createElement("div",{className:qr.img},a.createElement("img",{width:234,src:Ca==null?void 0:Ca.exercise_identity_photo}),a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",Ca==null?void 0:Ca.exercise_identity_photo)},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:qr.img,style:{marginLeft:20,width:234,textAlign:"center"}},Ca!=null&&Ca.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(Ca==null?void 0:Ca.identity_url)}):a.createElement("div",{className:qr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(Ca!=null&&Ca.identity_url)&&a.createElement("div",{onClick:()=>{Ka.Z.publish("preview-image",(0,ue.Tv)(Ca==null?void 0:Ca.identity_url))},className:qr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:qr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u8B66\u544A\u548C\u901A\u77E5",key:"3"},a.createElement("div",{className:qr.fo},a.createElement(be.ZP,{className:"mt20",checked:sn==="alert",onChange:()=>vr("alert")},"\u53D1\u9001\u8B66\u544A",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement(be.ZP,{className:"mt10",checked:sn==="notice",onChange:()=>vr("notice")},"\u53D1\u9001\u901A\u77E5",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement("div",{className:"mt20"},a.createElement("span",{className:"mr10"},"\u539F\u56E0:"),a.createElement(dn.default,{style:{width:570},value:Za,onChange:nr},Eo==null?void 0:Eo.map(Zr=>a.createElement(dn.default.Option,{key:Zr.key,value:Zr.key},Zr.value)))),Za===0&&a.createElement(Se.default.TextArea,{className:"mt20",value:za,onChange:Zr=>ur(Zr.target.value),placeholder:"\u8BF7\u586B\u5199\u5176\u4ED6\u539F\u56E0"}),a.createElement(re.Z,{className:"mt10",align:"middle"},a.createElement("div",{className:"mr10"},"\u53D1\u9001\u8BB0\u5F55"),a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",Ca==null?void 0:Ca.alert_count,"\u6B21\u8B66\u544A\u548C",((Pn=Ca==null?void 0:Ca.alerts)==null?void 0:Pn.length)-(Ca==null?void 0:Ca.alert_count),"\u6B21\u901A\u77E5")),a.createElement(z.default,{dataSource:(Ca==null?void 0:Ca.alerts)||[],bordered:!1,scroll:((Zn=Ca==null?void 0:Ca.alerts)==null?void 0:Zn.length)>4?{y:200}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"created_at",width:164},{title:"\u53D1\u9001\u4EBA",dataIndex:"sender",width:100,ellipsis:{showTitle:!1},render:Zr=>Zr?a.createElement("span",{title:Zr},Zr):"--"},{title:"\u53D1\u9001\u7C7B\u578B",dataIndex:"clazz",width:80,render:Zr=>Zr==="alert"?"\u8B66\u544A":"\u901A\u77E5"},{title:"\u53D1\u9001\u5185\u5BB9",dataIndex:"content",ellipsis:!0}],pagination:!1}),a.createElement(Ce.ZP,{className:qr.b,onClick:()=>Eu(void 0,null,function*(){if(!za&&Za===0){oe.ZP.info("\u8BF7\u8F93\u5165\u5176\u4ED6\u539F\u56E0");return}let Zr=za;Za&&(Zr=(sn==="alert"?xr:ho).find(yo=>yo.key===Za).value),Da(!0);let sr=yield(0,fe.ZP)(`/api/exercises/${an.exercise_id}/send_alert.json`,{method:"post",body:{content:Zr,clazz:sn,exercise_user_id:Ca==null?void 0:Ca.exercise_user_id}});(sr==null?void 0:sr.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),ia(!1)),Da(!1)}),loading:Va,type:"primary"},a.createElement("i",{className:"iconfont icon-fasongtongzhi mr5"}),"\u53D1\u9001"))),a.createElement(E.default.TabPane,{tab:"\u65AD\u6D41\u8BB0\u5F55",key:"4"},a.createElement(z.default,{dataSource:Or,bordered:!1,scroll:Or.length>7?{y:300}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"start_time",width:164},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"end_time",width:164,render:Zr=>Qe()(Zr).format("YYYY-MM-DD HH:mm:ss")||"--"},{title:"\u63A8\u6D41\u65F6\u957F",dataIndex:"push_duration",ellipsis:!0,width:120,render:Zr=>Zr&&(0,ue.li)(Number(Zr)/1e3)||0},{title:"\u65AD\u6D41\u539F\u56E0",dataIndex:"msg",ellipsis:!0}]}))))),a.createElement(Na.Z,null))};var ts=(0,ye.connect)(({exercise:me,user:pe})=>({exercise:me,user:pe}))(qu),ju={flex_box_center:"flex_box_center___xF1ge",flex_space_between:"flex_space_between___YGq9c",flex_box_vertical_center:"flex_box_vertical_center___wd_iR",flex_box_center_end:"flex_box_center_end___HoL5p",flex_box_column:"flex_box_column___Oy7FC",warp:"warp____YDkr",header:"header___BRNBu",empty:"empty___iwhMt"},Lo={flex_box_center:"flex_box_center___Xa_jj",flex_space_between:"flex_space_between___N_2qI",flex_box_vertical_center:"flex_box_vertical_center___wGZOw",flex_box_center_end:"flex_box_center_end___GYY4W",flex_box_column:"flex_box_column___jR_ZX",subjectTable:"subjectTable___WrGqf",title:"title___ZCcfg",customTable:"customTable___xSvZm",row:"row___Acnda",line:"line___nmQeX"},Ur=Object.defineProperty,Qr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,hl=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,gi=(me,pe,ie)=>pe in me?Ur(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,eu=(me,pe)=>{for(var ie in pe||(pe={}))ql.call(pe,ie)&&gi(me,ie,pe[ie]);if(hl)for(var ie of hl(pe))mi.call(pe,ie)&&gi(me,ie,pe[ie]);return me},Ti=(me,pe)=>Qr(me,Wr(pe)),Zu=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())}),wl=({index:me,bottomLine:pe,gather:ie,search:dt})=>{const[Dt,_e]=(0,a.useState)([]),[Ut,at]=(0,a.useState)(!1),[Oe,Pe]=(0,a.useState)(!1),Pn=(0,ye.useParams)(),Zn=(0,ye.useLocation)(),[Xn]=(0,ye.useSearchParams)(),[an,wn]=(0,a.useState)({page:1,limit:6,total:0});(0,a.useEffect)(()=>{console.log(ie,"gather"),me===0&&Pe(!0)},[]),(0,a.useEffect)(()=>{Oe&&Aa()},[Oe]);const aa=[{title:"\u5E8F\u53F7",dataIndex:"index",key:"index",align:"left",ellipsis:!0,render:(Ga,On,pa)=>an.limit*(an.page-1)+pa+1},{title:"\u59D3\u540D",dataIndex:"username",key:"username",align:"left",ellipsis:!0},{title:"\u73ED\u7EA7",dataIndex:"user_group_name",key:"user_group_name",align:"left",render:Ga=>Ga||"--"},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",align:"left"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",key:"code_rate",align:"left",render:Ga=>Ga+"%"},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",align:"left",render:Ga=>{let On=`/classrooms/${Pn==null?void 0:Pn.coursesId}/exercise/${Pn==null?void 0:Pn.categoryId}/detail/${Ga}/review_detail`;return Xn.get("random")&&(On=On+`?random=${Xn.get("random")}`),a.createElement(ye.Link,{to:On,target:"_blank"},"\u67E5\u770B")}}],Aa=Ga=>Zu(void 0,null,function*(){at(!0);const On=Ga||{page:1,limit:10,total:0},pa=eu({id:Pn==null?void 0:Pn.categoryId,question_id:ie==null?void 0:ie.question_id,search:dt},On),Jt=yield(0,fe.ZP)(`/api/courses/${Pn==null?void 0:Pn.coursesId}/exercises/code_review_users.json`,{method:"get",params:pa});Jt&&(_e(Jt==null?void 0:Jt.users),at(!1),wn(Ti(eu({},On),{total:(Jt==null?void 0:Jt.count)||0})))}),_n=Ga=>{const On=Ti(eu({},an),{page:Ga});wn(On),Aa(On)},Wn=()=>{Pe(!Oe)};return a.createElement("div",{className:Lo.subjectTable},a.createElement("aside",{className:Lo.title},a.createElement("span",{className:"c-light-primary"},me+1,"\u3001",ie.name||((ie==null?void 0:ie.question_type)===5?"\u5B9E\u8BAD\u9898":"\u7F16\u7A0B\u9898")),a.createElement("span",{className:"c-grey-333"},"\uFF08",ie==null?void 0:ie.score,"\u5206\uFF09\uFF1A",ie==null?void 0:ie.question_title),a.createElement("span",{className:"ml40 c-grey-999"},a.createElement("b",{className:"c-red-ee4"},ie==null?void 0:ie.checked_count),"\xA0\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08\u5171",ie==null?void 0:ie.total_count,"\u4E2A\u4F5C\u54C1\uFF09"),a.createElement("span",{onClick:Wn,style:{marginLeft:"auto",cursor:"pointer",color:"#0152d9"}},Oe?"\u6536\u8D77":"\u5C55\u5F00",Oe?a.createElement(uo.Z,null):a.createElement(Do.Z,null)),(ie==null?void 0:ie.question_type)===5&&a.createElement("a",{style:{marginLeft:20},target:"_blank",href:`/shixuns/${ie==null?void 0:ie.shixun_identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5")),a.createElement(z.default,{className:Lo.customTable,style:{display:Oe?"block":"none"},dataSource:Dt,bordered:!1,rowKey:Ga=>Ga.id,rowClassName:Lo.row,columns:aa,loading:Ut,pagination:{pageSize:an.limit,total:an.total,current:an.page,onChange:_n,showQuickJumper:!0,showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomCenter"]}}),a.createElement("div",{className:Lo.line,style:{visibility:pe?"hidden":"visible"}}))},zl=x(59149),ml=x(59301),xo=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const si=({exercise:me,globalSetting:pe,dispatch:ie})=>{const[dt,Dt]=(0,a.useState)(""),[_e,Ut]=(0,a.useState)([]),[at,Oe]=(0,a.useState)(""),[Pe,Pn]=(0,a.useState)(!1),[Zn,Xn]=(0,a.useState)(!1),an=(0,ye.useParams)();(0,a.useEffect)(()=>{wn()},[]);const wn=_n=>xo(void 0,null,function*(){Pn(!0);const Wn=yield(0,fe.ZP)(`/api/courses/${an==null?void 0:an.coursesId}/exercises/code_review_results.json`,{method:"get",params:{id:an==null?void 0:an.categoryId,search:dt}});if((Wn==null?void 0:Wn.status)===-2){Xn(!0),wn();return}Wn&&(Xn(!1),Pn(!1),Ut((Wn==null?void 0:Wn.exercise_questions)||[]),Oe(Wn==null?void 0:Wn.last_review_time))}),aa=()=>{wn()},Aa=()=>ml.createElement("div",{className:ju.empty},ml.createElement("img",{src:zl.x7,width:"258"}),ml.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E"));return ml.createElement("section",{className:ju.warp},ml.createElement("aside",{className:ju.header},ml.createElement("div",null,"\u67E5\u91CD\u65F6\u95F4\uFF1A",at||"--"),!!at&&ml.createElement(Se.default,{value:dt,onChange:_n=>Dt(_n.target.value),suffix:ml.createElement("i",{onClick:aa,className:"iconfont icon-sousuo2 c-grey-c"}),bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onPressEnter:aa})),Zn&&ml.createElement(ze.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),!Zn&&ml.createElement(fi.Z,{loading:Pe,active:!0,paragraph:{rows:5}},_e.length>0?ml.createElement("aside",{className:ju.subject},_e.map((_n,Wn)=>ml.createElement(wl,{key:Wn,index:Wn,bottomLine:Wn===_e.length-1,gather:_n,search:dt}))):Aa()))};var Kn=(0,ye.connect)(({exercise:me,globalSetting:pe})=>({exercise:me,globalSetting:pe}))(si),Jn=x(28103),Ia=x(96565),Nr=x(97805),wo=x(20633),Ea={flex_box_center:"flex_box_center___epJYP",flex_space_between:"flex_space_between___SU6BD",flex_box_vertical_center:"flex_box_vertical_center___Qes2t",flex_box_center_end:"flex_box_center_end___hGppz",flex_box_column:"flex_box_column___uzhhO",wrap:"wrap___rEjJ0",modal:"modal___gRDV9",titleWrap:"titleWrap___MK_OO",required:"required___Hja3H",title:"title___vMFKz",colorGray:"colorGray___hNhIL",choiceWrap:"choiceWrap___Xx5du",answer:"answer___cbuNE",activeAnswer:"activeAnswer___LwFG7",deleteIcon:"deleteIcon____HG4s",addIcon:"addIcon___r_Vhy",editorWrap:"editorWrap___OYwur",htmlWrap:"htmlWrap___qXHYn",radio:"radio___urtyZ",color333:"color333___Lah7k",color999:"color999___TmkZt",questionType:"questionType___r_bKw",questionChoices:"questionChoices___LA7VM",action:"action___fTTDM",difficult:"difficult___Mg7lT",fold:"fold___oVjRI",head:"head___fpwmn",divname:"divname___O7KlL"},Ya=x(6339),Io=x(62985),_o=x(27687),Kr=x(59301),ul=Object.defineProperty,$r=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,cu=(me,pe,ie)=>pe in me?ul(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,ol=(me,pe)=>{for(var ie in pe||(pe={}))ei.call(pe,ie)&&cu(me,ie,pe[ie]);if($r)for(var ie of $r(pe))ki.call(pe,ie)&&cu(me,ie,pe[ie]);return me},Sl=(me,pe)=>{var ie={};for(var dt in me)ei.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&$r)for(var dt of $r(me))pe.indexOf(dt)<0&&ki.call(me,dt)&&(ie[dt]=me[dt]);return ie},vi=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const xi=null,wu="\u2581",Hi=(me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,editData:Oe,editKey:Pe,setEditKey:Pn=()=>{},cancelAdd:Zn=()=>{},addCallback:Xn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=ie,aa=Sl(ie,["problemset","globalSetting","exercise","loading","dispatch","editData","editKey","setEditKey","cancelAdd","addCallback","reload","setIsClaer"]);const[Aa,_n]=(0,a.useState)(""),[Wn,Ga]=(0,a.useState)(""),[On,pa]=(0,a.useState)([]),[Jt,ga]=(0,a.useState)(""),[la,ka]=(0,a.useState)(),[Yt,Ca]=(0,a.useState)(!1),[ia,rr]=(0,a.useState)(),[ro,Lr]=(0,a.useState)(0),[Ua,sn]=(0,a.useState)(!1),[tt,Za]=(0,a.useState)(!1),[va,za]=(0,a.useState)([]),[ur,Ha]=(0,a.useState)(1),[Vr,Va]=(0,a.useState)(!1),Da=(0,a.useRef)(!1),Or=(0,ye.useParams)(),[Sr,or]=(0,a.useState)([]),ea=io=>{or([...Sr,ol({},io)])};(0,a.useEffect)(()=>{var io;if(Da.current)return;if(!(Oe!=null&&Oe.question_title)){sn(!0),_n(""),ka(!1),rr(2),pa([]),ga(""),Ca(!1);return}_n(Oe==null?void 0:Oe.question_title),ka(Oe==null?void 0:Oe.is_ordered),Ha(Oe==null?void 0:Oe.difficulty),Va(!(Oe!=null&&Oe.repeat_answer)),rr(Oe==null?void 0:Oe.question_score);const yo=(io=Oe==null?void 0:Oe.standard_answers)==null?void 0:io.map(kl=>kl.answer_text);pa([...yo]),za(Oe.tag_discipline_ids),Ga(Oe==null?void 0:Oe.analysis)},[Oe,Ua]),(0,a.useEffect)(()=>{Ca(!1),Ua&&io();function io(){return vi(this,null,function*(){var yo,kl;const Gi=yield(0,ne.YY)({sub_discipline_id:(kl=(yo=_e.editData)==null?void 0:yo.exercise)==null?void 0:kl.sub_discipline_id});or(Gi.tag_disciplines)})}},[Ua]),(0,a.useImperativeHandle)(pe,()=>({onSave:ya,isEdit:Ua})),(0,a.useEffect)(()=>{var io;const yo=(io=_e==null?void 0:_e.tagDisciplineData)!=null&&io.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];or(yo)},[_e.tagDisciplineData]);const _a=io=>{(io==null?void 0:io.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),sn(!1),Pn(-1),Da.current=!1,an())},ya=()=>vi(void 0,null,function*(){var io,yo,kl,Gi;let Yi=[],Gl=!1;if(Za(!0),On.forEach((ku,Iu)=>{Yi.push({choice_id:Iu+1,answer_text:[]}),ku.forEach((eo,Kl)=>{Yi[Iu].answer_text.push(eo),(!eo||!(0,ue.eR)(eo,1e4))&&(ga(`${Iu}-${Kl}`),oe.ZP.info(eo?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),Gl=!0)})}),Gl)return Za(!1),!1;Da.current=!0;let _i;return Oe.question_id?(Oe==null?void 0:Oe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>vi(void 0,null,function*(){var ku,Iu;_i=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(Iu=(ku=_e.editData)==null?void 0:ku.exercise)==null?void 0:Iu.sub_discipline_id,difficulty:ur,is_cover:1,repeat_answer:!Vr,analysis:Wn}}),_a(_i)}),onCancel:()=>vi(void 0,null,function*(){var ku,Iu;_i=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(Iu=(ku=_e.editData)==null?void 0:ku.exercise)==null?void 0:Iu.sub_discipline_id,difficulty:ur,repeat_answer:!Vr,analysis:Wn}}),_a(_i)})}):(_i=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(yo=(io=_e.editData)==null?void 0:io.exercise)==null?void 0:yo.sub_discipline_id,difficulty:ur,repeat_answer:!Vr,analysis:Wn}}),_a(_i)):(_i=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:Or.categoryId,question_title:Aa,question_type:3,question_score:ia,is_ordered:la,standard_answers:Yi,tag_discipline_ids:va,sub_discipline_id:(Gi=(kl=_e.editData)==null?void 0:kl.exercise)==null?void 0:Gi.sub_discipline_id,difficulty:ur,repeat_answer:!Vr,analysis:Wn}}),_a(_i)),Za(!1),{name:Aa,analysis:Wn,standard_answers:Yi,is_ordered:la}}),ra=(io,yo,kl)=>{const Gi=On.slice();if(yo&&Gi.splice(io,yo),kl&&Yt||!Oe.question_id)for(let Yi=0;Yi{ga("");let Gi=On.slice();Gi[io][yo]=kl,pa(Gi)},qn=io=>{let yo=On.slice();yo[io]=[...yo[io],""],pa(yo)},nr=(io,yo)=>{let kl=On.slice();if(!kl[io][yo]){kl[io]=kl[io].filter((Gi,Yi)=>Yi!==yo),pa(kl);return}Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Ea.modal,onOk:()=>{kl[io]=kl[io].filter((Gi,Yi)=>Yi!==yo),pa(kl)}})},vr=io=>{Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Ea.modal,onOk:()=>{let yo=0;_n(Aa.replace(/\▁/g,function(kl){return yo++,yo-1===io?"":kl})),setTimeout(()=>{let kl=On.slice();kl=On.filter((Gi,Yi)=>io!==Yi),pa(kl)},500)}})},xr=()=>{},ho=()=>{var io,yo,kl,Gi,Yi,Gl;return console.log(On,"answers"),Kr.createElement("aside",null,Kr.createElement("div",{className:Ea.questionType},Kr.createElement("div",null,Kr.createElement("span",{className:"font16 c-blue"},"\u586B\u7A7A\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848 \uFF1B\u652F\u6301\u6700\u591A5\u4E2A\u7A7A\uFF0C\u6BCF\u7A7A\u5F97\u5206\u6309\u7167\u672C\u9898\u7684\u603B\u5206\u5E73\u5747\u8BA1\u7B97\uFF09")),Kr.createElement("div",null,Kr.createElement(Nr.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:Aa,onChange:_i=>_n(_i),showNullButton:((yo=(io=_e.editData)==null?void 0:io.exercise)==null?void 0:yo.exercise_status)===1,deleteEmptyDisabled:((Gi=(kl=_e.editData)==null?void 0:kl.exercise)==null?void 0:Gi.exercise_status)!==1||tt,onPlaceholderChange:ra})),Kr.createElement("div",{className:"mt20"},On.map((_i,ku)=>{var Iu,eo;return Kr.createElement(wo.Z,{key:ku,answers:_i,index:ku,is_md:!0,exerciseIsPublish:((eo=(Iu=_e.editData)==null?void 0:Iu.exercise)==null?void 0:eo.exercise_status)!==1,activeOptionErrorIndex:Jt,onAnswerChange:xa,addChildAnswer:qn,deleteChildAnswer:nr,deleteChildAnswermain:vr})})),Kr.createElement("div",{className:"mt20"},On.length>1&&Kr.createElement("span",null,Kr.createElement(Ne.default,{checked:la,onChange:_i=>ka(_i.target.checked),className:`${Ea.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Kr.createElement("span",{className:`${Ea.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),Kr.createElement("p",{className:Ea.titleWrap},Kr.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Kr.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Wn,onChange:_i=>Ga(_i)}),Kr.createElement("p",{className:""},Kr.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C\uFF1A",Kr.createElement(Te.Z,{value:ia,max:1e4,min:0,onChange:_i=>{rr(_i)}})," \u5206 \xA0 ",!!ia&&!!ro&&Kr.createElement("span",{style:{color:"red"}},"(\u6839\u636E\u5747\u5206\u89C4\u5219\uFF0C\u672C\u9898\u6BCF\u7A7A",(ia/ro).toFixed(1),"\u5206)"),Kr.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},Kr.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",Kr.createElement(be.ZP.Group,{value:ur,onChange:_i=>{Ha(_i.target.value)}},Kr.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),Kr.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),Kr.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),Kr.createElement("p",{className:Ea.titleWrap},Kr.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",Kr.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),Kr.createElement("div",{className:"mt5"},Kr.createElement(Io.N,{value:va,selectvalues:Oe==null?void 0:Oe.tag_discipline_ids,onChange:za,subId:(Gl=(Yi=_e.editData)==null?void 0:Yi.exercise)==null?void 0:Gl.sub_discipline_id,knowledgeOptions:Sr,onAddKnowledgeFinish:ea})),Kr.createElement("div",{style:{marginTop:10}},Kr.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),Kr.createElement(Ae.Z,{checked:Vr,onChange:_i=>{Va(_i)}}))),Kr.createElement("aside",{className:"tr"},(Pe!==-1||Oe.question_id)&&Kr.createElement(Ce.ZP,{type:"default",onClick:()=>{Zn(),sn(!1)}},"\u53D6\u6D88"),Kr.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{ya()}},"\u4FDD\u5B58")))},Eo=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(io=>{var yo,kl;return((kl=(yo=_e==null?void 0:_e.editData)==null?void 0:yo.exercise)==null?void 0:kl.exercise_status)===1?io:io.id!=="del"&&io.id!=="add"}),Zr=io=>vi(void 0,null,function*(){if(Pe!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(io.id){case"del":let yo;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return vi(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:ol({},Or)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:io.id}}),at({type:"exercise/editExercise",payload:ol({},Or)});break;case"edit":Pn(Oe.dragKey),sn(!0);break;case"add":Xn({key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:3});break}}),sr=()=>{var io;return Kr.createElement("aside",null,Kr.createElement("div",{className:Ea.questionType},!(Oe!=null&&Oe.isPreview)&&Kr.createElement("div",null,Kr.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u586B\u7A7A\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?Kr.createElement("div",{style:{display:"flex"}},Kr.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),Kr.createElement(Ya.Z,{value:Oe.question_title}),Kr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09")):Kr.createElement("div",{className:"mt5"},Kr.createElement(Ya.Z,{value:Oe.question_title})),Kr.createElement("div",{className:Ea.questionChoices},(io=Oe==null?void 0:Oe.standard_answers)==null?void 0:io.map(function(yo,kl){return Kr.createElement(re.Z,{key:kl,align:"middle"},Kr.createElement(ve.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",yo.choice_id,"\uFF09\uFF1A"),Kr.createElement(ve.Z,{flex:"1"},Kr.createElement(re.Z,{align:"middle",gutter:[1,1]},yo.answer_text.map(function(Gi,Yi){return Kr.createElement(ve.Z,{span:24,key:Yi},yo.model===1?Kr.createElement(Se.default,{key:kl,checked:Oe.standard_answers.includes(kl),disabled:!0,value:Gi}):Kr.createElement(_o.Z,{value:Gi,disabled:!0,style:{color:"rgba(0, 0, 0, 0.25)",backgroundColor:"rgba(0, 0, 0, 0.04)"}}))}))))})),Kr.createElement("div",{className:Ea.action},!Oe.hideAction&&Eo.map(function(yo,kl){return yo.id==="up"&&Oe.key===1||yo.id==="down"&&Oe.key===Oe.len?null:Kr.createElement(De.Z,{key:kl,placement:"bottom",title:yo.name},Kr.createElement("span",{onClick:()=>Zr(yo),className:yo.icon}))})))};return Kr.createElement("section",{className:Ea.wrap},!Ua&&sr(),Ua&&ho())};var ls=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Hi)),Qs=Object.defineProperty,vs=Object.getOwnPropertySymbols,Ms=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,$s=(me,pe,ie)=>pe in me?Qs(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,fs=(me,pe)=>{for(var ie in pe||(pe={}))Ms.call(pe,ie)&&$s(me,ie,pe[ie]);if(vs)for(var ie of vs(pe))hs.call(pe,ie)&&$s(me,ie,pe[ie]);return me},Os=(me,pe)=>{var ie={};for(var dt in me)Ms.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&vs)for(var dt of vs(me))pe.indexOf(dt)<0&&hs.call(me,dt)&&(ie[dt]=me[dt]);return ie},Ss=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Ys=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ss=(me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,editKey:Pn,setEditKey:Zn=()=>{},cancelAdd:Xn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=ie,Aa=Os(ie,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","editKey","setEditKey","cancelAdd","reload","addCallback","setIsClaer"]);const[_n,Wn]=(0,a.useState)(),[Ga,On]=(0,a.useState)(""),[pa,Jt]=(0,a.useState)(!1),[ga,la]=(0,a.useState)(),[ka,Yt]=(0,a.useState)([]),[Ca,ia]=(0,a.useState)([]),[rr,ro]=(0,a.useState)(1),[Lr,Ua]=(0,a.useState)(!1),[sn,tt]=(0,a.useState)(""),Za=(0,a.useRef)(!1),va=Sr=>{ia([...Ca,fs({},Sr)])},za=(0,ye.useParams)();(0,a.useEffect)(()=>{if(!Za.current){if(!(Pe!=null&&Pe.question_choices)){Jt(!0),On(""),la(2),Wn("");return}Ua(!(Pe!=null&&Pe.repeat_answer)),On(Pe==null?void 0:Pe.question_title),la(Pe==null?void 0:Pe.question_score),ro(Pe==null?void 0:Pe.difficulty),Wn(Pe.standard_answer[0]+""),Yt(Pe.tag_discipline_ids),tt(Pe==null?void 0:Pe.analysis)}},[Pe,pa]),(0,a.useEffect)(()=>{pa&&Sr();function Sr(){return Ss(this,null,function*(){var or,ea;const _a=yield(0,ne.YY)({sub_discipline_id:(ea=(or=_e.editData)==null?void 0:or.exercise)==null?void 0:ea.sub_discipline_id});ia(_a.tag_disciplines)})}},[pa]),(0,a.useImperativeHandle)(pe,()=>({onSave:Ha,isEdit:pa})),(0,a.useEffect)(()=>{var Sr;const or=(Sr=_e==null?void 0:_e.tagDisciplineData)!=null&&Sr.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];ia(or)},[_e.tagDisciplineData]);const ur=Sr=>{(Sr==null?void 0:Sr.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Jt(!1),Zn(-1),Za.current=!1,an())},Ha=()=>Ss(void 0,null,function*(){var Sr,or,ea,_a;if(!Ga)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(!_n)return oe.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1;const ya=[{choice_text:"\u6B63\u786E",is_answer:_n==="1"?1:0},{choice_text:"\u9519\u8BEF",is_answer:_n==="2"?2:0}];Za.current=!0;let ra;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Ss(void 0,null,function*(){var xa,qn;ra=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(nr=>nr.choice_text),standard_answers:ya.filter(nr=>nr.is_answer).map(nr=>nr.is_answer),tag_discipline_ids:ka,sub_discipline_id:(qn=(xa=_e.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id,difficulty:rr,is_cover:1,repeat_answer:!Lr,analysis:sn}}),ur(ra)}),onCancel:()=>Ss(void 0,null,function*(){var xa,qn;ra=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(nr=>nr.choice_text),standard_answers:ya.filter(nr=>nr.is_answer).map(nr=>nr.is_answer),tag_discipline_ids:ka,sub_discipline_id:(qn=(xa=_e.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:sn}}),ur(ra)})}):(ra=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(xa=>xa.choice_text),standard_answers:ya.filter(xa=>xa.is_answer).map(xa=>xa.is_answer),tag_discipline_ids:ka,sub_discipline_id:(or=(Sr=_e.editData)==null?void 0:Sr.exercise)==null?void 0:or.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:sn}}),ur(ra)):(ra=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:za.categoryId,question_title:Ga,question_type:2,question_score:ga,question_choices:ya.map(xa=>xa.choice_text),standard_answers:ya.filter(xa=>xa.is_answer).map(xa=>xa.is_answer),tag_discipline_ids:ka,sub_discipline_id:(_a=(ea=_e.editData)==null?void 0:ea.exercise)==null?void 0:_a.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:sn}}),ur(ra)),{name:Ga,choices:ya}}),Vr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(Sr=>{var or,ea;return((ea=(or=_e==null?void 0:_e.editData)==null?void 0:or.exercise)==null?void 0:ea.exercise_status)===1?Sr:Sr.id!=="del"&&Sr.id!=="add"}),Va=Sr=>Ss(void 0,null,function*(){if(Pn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(Sr.id){case"del":let or;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Ss(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:fs({},za)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:Sr.id}}),at({type:"exercise/editExercise",payload:fs({},za)});break;case"edit":Zn(Pe.dragKey),Jt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:2});break}}),Da=()=>{var Sr;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5224\u65AD\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},(Sr=Pe==null?void 0:Pe.question_choices)==null?void 0:Sr.map(function(or,ea){return a.createElement(be.ZP,{key:ea,checked:Pe.standard_answer.includes(ea+1),disabled:!0},Ys[ea],". ",a.createElement("span",{className:"c-black font14"},or.choice_text))})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&Vr.map(function(or,ea){return or.id==="up"&&Pe.key===1||or.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:ea,placement:"bottom",title:or.name},a.createElement("span",{onClick:()=>Va(or),className:or.icon}))})))},Or=()=>{var Sr,or;return a.createElement("aside",null,a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u5224\u65AD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Ga,onChange:ea=>On(ea)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),a.createElement(be.ZP.Group,{buttonStyle:"solid",value:_n,onChange:ea=>Wn(ea.target.value)},a.createElement(be.ZP.Button,{value:"1",className:`${Ea.radio} mr40`},"\u6B63\u786E"),a.createElement(be.ZP.Button,{value:"2",className:Ea.radio},"\u9519\u8BEF")),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:sn,onChange:ea=>tt(ea)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ga,max:1e4,min:0,onChange:ea=>{la(ea)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:rr,onChange:ea=>{ro(ea.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{value:ka,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:Yt,subId:(or=(Sr=_e.editData)==null?void 0:Sr.exercise)==null?void 0:or.sub_discipline_id,knowledgeOptions:Ca,onAddKnowledgeFinish:va})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Lr,onChange:ea=>{Ua(ea)}}))),a.createElement("aside",{className:"tr"},(Pn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Xn(),Jt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Ha()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:Ea.wrap},!pa&&Da(),pa&&Or())};var Bu=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(ss)),Ts=Object.defineProperty,Ws=Object.getOwnPropertySymbols,Es=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,Gs=(me,pe,ie)=>pe in me?Ts(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,xs=(me,pe)=>{for(var ie in pe||(pe={}))Es.call(pe,ie)&&Gs(me,ie,pe[ie]);if(Ws)for(var ie of Ws(pe))cs.call(pe,ie)&&Gs(me,ie,pe[ie]);return me},qc=(me,pe)=>{var ie={};for(var dt in me)Es.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Ws)for(var dt of Ws(me))pe.indexOf(dt)<0&&cs.call(me,dt)&&(ie[dt]=me[dt]);return ie},ns=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ec=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],tc=(0,a.forwardRef)((me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},setIsClaer:an=()=>{},addCallback:wn=ya=>{},reload:aa=()=>{}}=ie,Aa=qc(ie,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload"]);const[_n,Wn]=(0,a.useState)([]),[Ga,On]=(0,a.useState)(),[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)(""),[ka,Yt]=(0,a.useState)(),[Ca,ia]=(0,a.useState)(!1),[rr,ro]=(0,a.useState)([]),[Lr,Ua]=(0,a.useState)(1),[sn,tt]=(0,a.useState)(!1),[Za,va]=(0,a.useState)(""),[za,ur]=(0,a.useState)([]),Ha=(0,a.useRef)(!1),Vr=ya=>{ur([...za,xs({},ya)])},Va=(0,ye.useParams)();(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Ha.current)return;if(!(Pe!=null&&Pe.question_choices)){ia(!0),la(""),Yt(5),Wn(["","","",""]),Jt([]);return}la(Pe==null?void 0:Pe.question_title),Yt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),Ua(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(ra=>ra.choice_text));const ya=[];Pe==null||Pe.standard_answer.map((ra,xa)=>{ya.push(ra-1)}),Jt(ya),ro(Pe.tag_discipline_ids),va(Pe==null?void 0:Pe.analysis)},[Pe,Ca]),(0,a.useEffect)(()=>{Ca&&ya();function ya(){return ns(this,null,function*(){var ra,xa;const qn=yield(0,ne.YY)({sub_discipline_id:(xa=(ra=_e.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id});ur(qn.tag_disciplines)})}},[Ca]),(0,a.useImperativeHandle)(pe,()=>({onSave:Or,isEdit:Ca})),(0,a.useEffect)(()=>{var ya;const ra=(ya=_e==null?void 0:_e.tagDisciplineData)!=null&&ya.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];ur(ra)},[_e.tagDisciplineData]);const Da=ya=>{(ya==null?void 0:ya.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ia(!1),Xn(-1),Ha.current=!1,aa())},Or=()=>ns(void 0,null,function*(){var ya,ra,xa,qn;if(!ga)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const nr=_n.findIndex(ho=>!ho);if(nr>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${ec[nr]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!pa.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(pa.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const vr=_n.map((ho,Eo)=>({choice_text:ho,is_answer:pa.includes(Eo)?Eo+1:0}));Ha.current=!0;let xr;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>ns(void 0,null,function*(){var ho,Eo;xr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(Zr=>Zr.choice_text),standard_answers:vr.filter(Zr=>Zr.is_answer).map(Zr=>Zr.is_answer),tag_discipline_ids:rr,sub_discipline_id:(Eo=(ho=_e.editData)==null?void 0:ho.exercise)==null?void 0:Eo.sub_discipline_id,difficulty:Lr,is_cover:1,repeat_answer:!sn,analysis:Za}}),Da(xr)}),onCancel:()=>ns(void 0,null,function*(){var ho,Eo;xr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(Zr=>Zr.choice_text),standard_answers:vr.filter(Zr=>Zr.is_answer).map(Zr=>Zr.is_answer),tag_discipline_ids:rr,sub_discipline_id:(Eo=(ho=_e.editData)==null?void 0:ho.exercise)==null?void 0:Eo.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Da(xr)})}):(xr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(ho=>ho.choice_text),standard_answers:vr.filter(ho=>ho.is_answer).map(ho=>ho.is_answer),tag_discipline_ids:rr,sub_discipline_id:(ra=(ya=_e.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Da(xr)):(xr=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:Va.categoryId,question_title:ga,question_type:1,question_score:ka,question_choices:vr.map(ho=>ho.choice_text),standard_answers:vr.filter(ho=>ho.is_answer).map(ho=>ho.is_answer),tag_discipline_ids:rr,sub_discipline_id:(qn=(xa=_e.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Da(xr))}),Sr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ya=>{var ra,xa;return((xa=(ra=_e==null?void 0:_e.editData)==null?void 0:ra.exercise)==null?void 0:xa.exercise_status)===1?ya:ya.id!=="del"&&ya.id!=="add"}),or=ya=>ns(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ya.id){case"del":let ra;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return ns(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:xs({},Va)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ya.id}}),at({type:"exercise/editExercise",payload:xs({},Va)});break;case"edit":Xn(Pe.dragKey),ia(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:1});break}}),ea=()=>{var ya;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u591A\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},(ya=Pe==null?void 0:Pe.question_choices)==null?void 0:ya.map(function(ra,xa){return a.createElement(re.Z,{key:xa},a.createElement(ve.Z,null,a.createElement(Ne.default,{key:xa,checked:Pe.standard_answer.includes(xa+1),disabled:!0},ec[xa],".")),a.createElement(ve.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(Ya.Z,{value:ra.choice_text}))))})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&Sr.map(function(ra,xa){return ra.id==="up"&&Pe.key===1||ra.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:xa,placement:"bottom",title:ra.name},a.createElement("span",{onClick:()=>or(ra),className:ra.icon}))})))},_a=()=>{var ya,ra;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ga,onChange:xa=>la(xa)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),_n.map((xa,qn)=>{var nr,vr;return a.createElement("div",{className:Ea.choiceWrap,key:qn},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${Ea.answer} ${pa.includes(qn)?Ea.activeAnswer:""}`,onClick:()=>{pa.includes(qn)?Jt(pa.filter(xr=>xr!==qn)):Jt([...pa,qn])}},ec[qn])),a.createElement("div",{className:Ea.editorWrap},Ga===qn?a.createElement(Ia.Z,{id:`single-question-option-${qn}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:xa,onChange:xr=>{_n[qn]=xr,Wn(_n)}}):a.createElement("div",{className:Ea.htmlWrap,onClick:()=>On(qn)},a.createElement(Ya.Z,{value:xa}))),((vr=(nr=_e.editData)==null?void 0:nr.exercise)==null?void 0:vr.exercise_status)===1&&a.createElement(a.Fragment,null,qn>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${Ea.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn(_n.filter((xr,ho)=>ho!==qn))})),qn<7&&qn===_n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${Ea.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([..._n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Za,onChange:xa=>va(xa)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ka,max:1e4,min:0,onChange:xa=>{Yt(xa)}})," ","\u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Lr,onChange:xa=>{Ua(xa.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{value:rr,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:ro,subId:(ra=(ya=_e.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,knowledgeOptions:za,onAddKnowledgeFinish:Vr})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:sn,onChange:xa=>{tt(xa)}}))),a.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),ia(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Or()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:Ea.wrap},!Ca&&ea(),Ca&&_a())});var xc=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})(tc),ai=x(59301),wc=Object.defineProperty,ps=Object.getOwnPropertySymbols,ws=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,_c=(me,pe,ie)=>pe in me?wc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,sc=(me,pe)=>{for(var ie in pe||(pe={}))ws.call(pe,ie)&&_c(me,ie,pe[ie]);if(ps)for(var ie of ps(pe))_u.call(pe,ie)&&_c(me,ie,pe[ie]);return me},jt=(me,pe)=>{var ie={};for(var dt in me)ws.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&ps)for(var dt of ps(me))pe.indexOf(dt)<0&&_u.call(me,dt)&&(ie[dt]=me[dt]);return ie},rn=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Bn=null,Fa=(me,pe)=>{var ie=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Ut,dispatch:at,editData:Oe,cancelAdd:Pe=()=>{},editKey:Pn,setEditKey:Zn=()=>{},addCallback:Xn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=ie,aa=jt(ie,["problemset","globalSetting","exercise","loading","dispatch","editData","cancelAdd","editKey","setEditKey","addCallback","reload","setIsClaer"]);const[Aa,_n]=(0,a.useState)(""),[Wn,Ga]=(0,a.useState)(""),[On,pa]=(0,a.useState)(""),[Jt,ga]=(0,a.useState)([]),[la,ka]=(0,a.useState)(""),[Yt,Ca]=(0,a.useState)(),[ia,rr]=(0,a.useState)(!1),[ro,Lr]=(0,a.useState)([]),[Ua,sn]=(0,a.useState)(!1),[tt,Za]=(0,a.useState)(!1),va=(0,ye.useParams)(),za=(0,a.useRef)(!1),[ur,Ha]=(0,a.useState)([]);(0,a.useEffect)(()=>{var ea;if(za.current)return;Oe.edit&&(sn(!0),Ga(""),_n(""),Lr([])),_n(Oe.shixun_name),Ga(Oe.question_title);const _a=[];(ea=Oe.shixun)==null||ea.map(ya=>{_a.push(ya.challenge_score),ur.push({challenge_id:ya.challenge_id,open:!0})}),Ha(ur),Lr(_a)},[Oe]),(0,a.useEffect)(()=>{rr(!1)},[Ua]),(0,a.useImperativeHandle)(pe,()=>({onSave:Va,isEdit:Ua}));const Vr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),sn(!1),Zn(-1),za.current=!1,an())},Va=()=>rn(void 0,null,function*(){let ea=[];if(!1)return!1;za.current=!0,Za(!0);let ya;return Oe.question_id?ya=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Wn,shixun_name:Aa,shixun_id:Oe.shixun_id,question_type:5,question_scores:ro}}):ya=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:va.categoryId,question_title:Wn,shixun_name:Aa,shixun_id:Oe.shixun_id,question_type:5,question_scores:ro,is_copy:Oe.is_copy}}),Vr(ya),Za(!1),{name:Wn,analysis:On,standard_answers:ea,is_ordered:Yt}}),Da=()=>{var ea;return ai.createElement("aside",null,ai.createElement("div",{className:Ea.questionType},ai.createElement("div",null,ai.createElement("span",{className:"font16 c-blue"},"\u5B9E\u8BAD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF09")),ai.createElement("div",{className:"mt10"},ai.createElement(Se.default,{defaultValue:Aa,onChange:_a=>{_n(_a.target.value)}})),ai.createElement("div",{className:"mt10"},ai.createElement(Ia.Z,{id:"single-question-option-0",height:155,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u9898\u5B8C\u6210\u8981\u6C42",defaultValue:Wn,onChange:_a=>{Ga(_a)}})),ai.createElement("div",{className:"mt20"},(ea=Oe.shixun)==null?void 0:ea.map((_a,ya)=>ai.createElement(re.Z,{gutter:[20,20]},ai.createElement(ve.Z,{flex:"1"},ya+1,".",_a.challenge_name),ai.createElement(ve.Z,null,ai.createElement(Te.Z,{defaultValue:ro[ya],onChange:ra=>{ro[ya]=ra,Lr(ro),console.log("srore:L",ro[ya])}})," \u5206")))),ai.createElement("div",{className:"mt20"},Jt.length>1&&ai.createElement("span",null,ai.createElement(Ne.default,{checked:Yt,onChange:_a=>Ca(_a.target.checked),className:`${Ea.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),ai.createElement("span",{className:`${Ea.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),ai.createElement("aside",{className:"tr"},(Pn!==-1||!(Oe!=null&&Oe.edit))&&ai.createElement(Ce.ZP,{type:"default",onClick:()=>{Pe(),sn(!1)}},"\u53D6\u6D88"),ai.createElement(Ce.ZP,{loading:tt,className:"ml20",type:"primary",onClick:()=>{Va()}},"\u4FDD\u5B58")))},Or=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5B9E\u8BAD\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var _a,ya;return((ya=(_a=_e==null?void 0:_e.editData)==null?void 0:_a.exercise)==null?void 0:ya.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),Sr=ea=>rn(void 0,null,function*(){if(Pn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let _a;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return rn(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:sc({},va)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:sc({},va)});break;case"edit":Zn(Oe.dragKey),sn(!0);break;case"add":at({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",editData:{key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:5}}});break}}),or=()=>{var ea,_a;return ai.createElement("aside",null,ai.createElement("div",{className:Ea.questionType},!(Oe!=null&&Oe.isPreview)&&ai.createElement("div",null,ai.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u5B9E\u8BAD\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?ai.createElement("div",{style:{display:"flex"}},ai.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),ai.createElement(Ya.Z,{value:Oe.question_title}),ai.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09"),!!((ea=Oe.schools)!=null&&ea.length)&&ai.createElement(De.Z,{title:"\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},ai.createElement("i",{className:"iconfont icon-zhidinggongkai1 font18 line24 c-orange"}))):ai.createElement("div",{className:"mt5"},ai.createElement(Ya.Z,{value:Oe.question_title})),ai.createElement("div",{className:"mt30"}),(_a=Oe.shixun)==null?void 0:_a.map(function(ya,ra){var xa,qn,nr,vr,xr,ho,Eo,Zr,sr,io;return ai.createElement("div",null,ai.createElement("div",{key:ra,style:{background:"#F0F7FD",color:"#3061D0",fontSize:18,padding:10,display:"flex",justifyContent:"space-between",marginBottom:(!((xa=ur[ra])!=null&&xa.open)||!((nr=(qn=_e==null?void 0:_e.editData)==null?void 0:qn.exercise)!=null&&nr.show_challenge_task_pass))&&10}},ai.createElement("div",null,ai.createElement("i",{className:"iconfont icon-renwuguanka1",style:{marginRight:5}}),"\u7B2C",ra+1,"\u5173 ",ai.createElement("span",{className:"ml10"},ya.challenge_name)," ",ai.createElement("span",{className:"ml10"},ya.challenge_score," \u5206")),((xr=(vr=_e==null?void 0:_e.editData)==null?void 0:vr.exercise)==null?void 0:xr.show_challenge_task_pass)&&ai.createElement("div",{style:{cursor:"pointer",color:"#666666",fontSize:14},onClick:()=>{var yo;ur[ra].open=!((yo=ur[ra])!=null&&yo.open),Ha([...ur])}},(ho=ur[ra])!=null&&ho.open?"\u6536\u8D77":"\u5C55\u5F00",(Eo=ur[ra])!=null&&Eo.open?ai.createElement(uo.Z,{style:{marginLeft:8}}):ai.createElement(Do.Z,{style:{marginLeft:8}}))),((sr=(Zr=_e==null?void 0:_e.editData)==null?void 0:Zr.exercise)==null?void 0:sr.show_challenge_task_pass)&&ai.createElement(Ya.Z,{style:{border:"1px solid #F1F4F9",borderTop:"none",padding:10,display:!((io=ur[ra])!=null&&io.open)&&"none"},value:(ya==null?void 0:ya.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))}),ai.createElement("div",{className:Ea.action},ai.createElement(ye.Link,{target:"_blank",to:`/shixuns/${Oe.shixun_identifier}/challenges?exercise=true`},"\u5B9E\u8BAD\u8BE6\u60C5"),!Oe.hideAction&&Or.map(function(ya,ra){return ya.id==="up"&&Oe.key===1||ya.id==="down"&&Oe.key===Oe.len?null:ai.createElement(De.Z,{key:ra,placement:"bottom",title:ya.name},ai.createElement("span",{onClick:()=>Sr(ya),className:ya.icon}))})))};return ai.createElement("section",{className:Ea.wrap},!Ua&&or(),Ua&&Da())};var sl=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Fa)),Cr=x(2337),Pl=Object.defineProperty,ko=Object.getOwnPropertySymbols,jo=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,gl=(me,pe,ie)=>pe in me?Pl(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,_l=(me,pe)=>{for(var ie in pe||(pe={}))jo.call(pe,ie)&&gl(me,ie,pe[ie]);if(ko)for(var ie of ko(pe))Tl.call(pe,ie)&&gl(me,ie,pe[ie]);return me},Ri=(me,pe)=>{var ie={};for(var dt in me)jo.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&ko)for(var dt of ko(me))pe.indexOf(dt)<0&&Tl.call(me,dt)&&(ie[dt]=me[dt]);return ie},Ql=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Yr=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},setIsClaer:an=()=>{},reload:wn=()=>{},addCallback:aa=ra=>{}}=ie,Aa=Ri(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","reload","addCallback"]);const[_n,Wn]=(0,a.useState)([]),[Ga,On]=(0,a.useState)(),[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)(""),[ka,Yt]=(0,a.useState)(),[Ca,ia]=(0,a.useState)([]),[rr,ro]=(0,a.useState)(!1),[Lr,Ua]=(0,a.useState)(1),[sn,tt]=(0,a.useState)(!1),[Za,va]=(0,a.useState)(""),za=(0,ye.useParams)(),ur=(0,a.useRef)(null),Ha=(0,a.useRef)(!1),[Vr,Va]=(0,a.useState)([]),Da=ra=>{Va([...Vr,_l({},ra)])};(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Ha.current)return;if(!(Pe!=null&&Pe.question_choices)){ro(!0),la(""),Yt(5),Wn(["","","",""]),Jt([]);return}la(Pe==null?void 0:Pe.question_title),Yt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),va(Pe==null?void 0:Pe.analysis),Ua(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(xa=>xa.choice_text));const ra=[];Pe==null||Pe.standard_answer.map((xa,qn)=>{ra.push(xa-1)}),ia(Pe.tag_discipline_ids),Jt(ra)},[Pe,rr]),(0,a.useEffect)(()=>{rr&&ra();function ra(){return Ql(this,null,function*(){var xa,qn;const nr=yield(0,ne.YY)({sub_discipline_id:(qn=(xa=Dt.editData)==null?void 0:xa.exercise)==null?void 0:qn.sub_discipline_id});Va(nr.tag_disciplines)})}},[rr]),(0,a.useEffect)(()=>{var ra;const xa=(ra=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ra.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];Va(xa)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(pe,()=>({onSave:Sr,isEdit:rr}));const Or=ra=>{(ra==null?void 0:ra.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ro(!1),Xn(-1),Ha.current=!1,wn())},Sr=()=>Ql(void 0,null,function*(){var ra,xa,qn,nr;if(!ga)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const vr=_n.findIndex(Eo=>!Eo);if(vr>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Cr.k4[vr]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!pa.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(pa.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const xr=_n.map((Eo,Zr)=>({choice_text:Eo,is_answer:pa.includes(Zr)?Zr+1:0}));Ha.current=!0;let ho;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Ql(void 0,null,function*(){var Eo,Zr;ho=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(sr=>sr.choice_text),standard_answers:xr.filter(sr=>sr.is_answer).map(sr=>sr.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(Zr=(Eo=Dt.editData)==null?void 0:Eo.exercise)==null?void 0:Zr.sub_discipline_id,difficulty:Lr,is_cover:1,repeat_answer:!sn,analysis:Za}}),Or(ho)}),onCancel:()=>Ql(void 0,null,function*(){var Eo,Zr;ho=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(sr=>sr.choice_text),standard_answers:xr.filter(sr=>sr.is_answer).map(sr=>sr.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(Zr=(Eo=Dt.editData)==null?void 0:Eo.exercise)==null?void 0:Zr.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Or(ho)})}):(ho=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(Eo=>Eo.choice_text),standard_answers:xr.filter(Eo=>Eo.is_answer).map(Eo=>Eo.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Or(ho)):(ho=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:za.categoryId,question_title:ga,question_type:1,question_score:ka,question_choices:xr.map(Eo=>Eo.choice_text),standard_answers:xr.filter(Eo=>Eo.is_answer).map(Eo=>Eo.is_answer),tag_discipline_ids:Ca,sub_discipline_id:(nr=(qn=Dt.editData)==null?void 0:qn.exercise)==null?void 0:nr.sub_discipline_id,difficulty:Lr,repeat_answer:!sn,analysis:Za}}),Or(ho))}),or=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ra=>{var xa,qn;return((qn=(xa=Dt==null?void 0:Dt.editData)==null?void 0:xa.exercise)==null?void 0:qn.exercise_status)===1?ra:ra.id!=="del"&&ra.id!=="add"}),ea=ra=>Ql(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ra.id){case"del":let xa;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Ql(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:_l({},za)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ra.id}}),at({type:"exercise/editExercise",payload:_l({},za)});break;case"edit":Xn(Pe.dragKey),ro(!0);break;case"add":aa({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),_a=()=>{var ra;return a.createElement("aside",{ref:ur},a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5355\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},(ra=Pe==null?void 0:Pe.question_choices)==null?void 0:ra.map(function(xa,qn){return a.createElement(re.Z,{key:qn},a.createElement(ve.Z,null,a.createElement(be.ZP,{key:qn,checked:Pe.standard_answer.includes(qn+1),disabled:!0},Cr.k4[qn],".")),a.createElement(ve.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(Ya.Z,{value:xa.choice_text}))))})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&or.map(function(xa,qn){return xa.id==="up"&&Pe.key===1||xa.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:qn,placement:"bottom",title:xa.name},a.createElement("span",{onClick:()=>ea(xa),className:xa.icon}))})))},ya=()=>{var ra,xa;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ga,onChange:qn=>la(qn)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.required},"*"),a.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),_n.map((qn,nr)=>{var vr,xr;return a.createElement("div",{className:Ea.choiceWrap,key:nr},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${Ea.answer} ${pa.includes(nr)?Ea.activeAnswer:""}`,onClick:()=>{pa.includes(nr)?Jt(pa.filter(ho=>ho!==nr)):Jt([...pa,nr])}},Cr.k4[nr])),a.createElement("div",{className:Ea.editorWrap},Ga===nr?a.createElement(Ia.Z,{id:`single-question-option-${nr}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:qn,onChange:ho=>{_n[nr]=ho,Wn(_n)}}):a.createElement("div",{className:Ea.htmlWrap,onClick:()=>On(nr)},a.createElement(Ya.Z,{value:qn}))),((xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.exercise_status)===1&&a.createElement(a.Fragment,null,nr>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${Ea.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn(_n.filter((ho,Eo)=>Eo!==nr))})),nr<7&&nr===_n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${Ea.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([..._n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Za,onChange:qn=>va(qn)}),a.createElement("div",{style:{marginBottom:14}},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ka,max:1e4,min:0,onChange:qn=>{Yt(qn)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Lr,onChange:qn=>{Ua(qn.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("div",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:Ca,onChange:ia,subId:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id,knowledgeOptions:Vr,onAddKnowledgeFinish:Da})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:sn,onChange:qn=>{tt(qn)}}))),a.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),ro(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Sr()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:Ea.wrap},!rr&&_a(),rr&&ya())};var zo=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Yr)),bl=x(12563),tl=({value:me=[[],[]],onChange:pe})=>{var ie,dt;const[Dt,_e]=(0,a.useState)(""),[Ut,at]=(0,a.useState)(""),Oe=Pe=>{if(!Pe)return!1;let Pn=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Pe==="|"?(oe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0};return a.createElement("div",null,a.createElement("p",{className:"font14"},"\u5173\u952E\u8BCD",a.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u952E\u8BCD\u53EF\u7528\u4E8E\u81EA\u52A8\u5224\u5206\uFF09"),a.createElement(De.Z,{overlayStyle:{maxWidth:350},title:a.createElement("div",null,a.createElement("div",null,"\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD\u7684\u5206\u6570\u662F\u666E\u901A\u5173\u952E\u8BCD\u5206\u6570\u7684\u4E24\u500D"),a.createElement("div",null,"\u4F8B\u5982\uFF1A"),a.createElement("div",null,"\u672C\u989810\u5206\uFF0C\u666E\u901A\u5173\u952E\u8BCD1\u4E2A\uFF0C\u6838\u5FC3\u5173\u952E\u8BCD2\u4E2A\uFF0C\u5219\u6BCF\u4E2A"),a.createElement("div",null,"\u666E\u901A\u5173\u952E\u8BCD2\u5206\uFF0C\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD4\u5206"))},a.createElement("span",{className:"iconfont icon-a-wenhaobeifen2 font14"}))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u666E\u901A\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Dt,onChange:Pe=>{_e(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var Pn,Zn,Xn;const an=(Pn=Pe.target)==null?void 0:Pn.value;Oe(an)&&((Xn=me[0])==null||Xn.push((Zn=an==null?void 0:an.split("|"))==null?void 0:Zn.filter(wn=>!!wn)),pe([...me]),_e(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(ie=me==null?void 0:me[0])==null?void 0:ie.map((Pe,Pn)=>a.createElement(bl.Z,{className:"mb10",key:Pn,closable:!0,onClose:Zn=>{var Xn;Zn.preventDefault(),me[0]=(Xn=me[0])==null?void 0:Xn.filter((an,wn)=>wn!==Pn),pe([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u6838\u5FC3\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Ut,onChange:Pe=>{at(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var Pn,Zn,Xn;const an=(Pn=Pe.target)==null?void 0:Pn.value;Oe(an)&&((Xn=me[1])==null||Xn.push((Zn=an==null?void 0:an.split("|"))==null?void 0:Zn.filter(wn=>!!wn)),pe([...me]),at(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(dt=me==null?void 0:me[1])==null?void 0:dt.map((Pe,Pn)=>a.createElement(bl.Z,{className:"mb10",key:Pn,closable:!0,onClose:Zn=>{var Xn;Zn.preventDefault(),me[1]=(Xn=me[1])==null?void 0:Xn.filter((an,wn)=>wn!==Pn),pe([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))))},Le=Object.defineProperty,Ve=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Et=(me,pe,ie)=>pe in me?Le(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Vt=(me,pe)=>{for(var ie in pe||(pe={}))Ue.call(pe,ie)&&Et(me,ie,pe[ie]);if(Ve)for(var ie of Ve(pe))St.call(pe,ie)&&Et(me,ie,pe[ie]);return me},fn=(me,pe)=>{var ie={};for(var dt in me)Ue.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Ve)for(var dt of Ve(me))pe.indexOf(dt)<0&&St.call(me,dt)&&(ie[dt]=me[dt]);return ie},da=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ba=null,Xa=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=ie,Aa=fn(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","reload","addCallback","setIsClaer"]);const[_n,Wn]=(0,a.useState)(""),[Ga,On]=(0,a.useState)(""),[pa,Jt]=(0,a.useState)(""),[ga,la]=(0,a.useState)(),[ka,Yt]=(0,a.useState)(!1),[Ca,ia]=(0,a.useState)([]),[rr,ro]=(0,a.useState)(1),[Lr,Ua]=(0,a.useState)(!1),[sn,tt]=(0,a.useState)([[],[]]),Za=(0,a.useRef)(!1),va=(0,ye.useParams)(),[za,ur]=(0,a.useState)([]),Ha=ea=>{ur([...za,Vt({},ea)])};(0,a.useEffect)(()=>{var ea;if(!Za.current){if(!(Pe!=null&&Pe.question_title)){Yt(!0),Wn(""),Jt(""),la(10);return}Ua(!(Pe!=null&&Pe.repeat_answer)),Wn(Pe==null?void 0:Pe.question_title),Jt((ea=Pe==null?void 0:Pe.standard_answer)==null?void 0:ea[0]),la(Pe==null?void 0:Pe.question_score),ia(Pe.tag_discipline_ids),ro(Pe==null?void 0:Pe.difficulty),On(Pe==null?void 0:Pe.analysis),tt([Pe==null?void 0:Pe.normal_keywords,Pe==null?void 0:Pe.main_keywords])}},[dt.editData,ka]),(0,a.useEffect)(()=>{var ea;const _a=(ea=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ea.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];ur(_a)},[Dt.tagDisciplineData]),(0,a.useEffect)(()=>{ka&&ea();function ea(){return da(this,null,function*(){var _a,ya;const ra=yield(0,ne.YY)({sub_discipline_id:(ya=(_a=Dt.editData)==null?void 0:_a.exercise)==null?void 0:ya.sub_discipline_id});ur(ra.tag_disciplines)})}},[ka]),(0,a.useImperativeHandle)(pe,()=>({onSave:Va,isEdit:ka}));const Vr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Yt(!1),Xn(-1),Za.current=!1,an())},Va=()=>da(void 0,null,function*(){var ea,_a,ya,ra;if(!_n)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const xa=sn[0],qn=sn[1];Za.current=!0;let nr;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>da(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:rr,is_cover:1,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)}),onCancel:()=>da(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)})}):(nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(_a=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:_a.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)):(nr=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:va.categoryId,exercise_bank_id:va.categoryId,question_title:_n,question_type:4,question_score:ga,standard_answers:[pa],tag_discipline_ids:Ca,sub_discipline_id:(ra=(ya=Dt.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,difficulty:rr,repeat_answer:!Lr,analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Vr(nr)),{name:_n,answer_texts:[pa],analysis:Ga,normal_keywords:xa,main_keywords:qn}}),Da=()=>{var ea,_a;return a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u4E3B\u89C2\u9898"),"\uFF08\u4E3B\u89C2\u9898\uFF0C\u672A\u4F5C\u7B54\u7684\u60C5\u51B5\u4E0B\u81EA\u52A8\u8BC4\u4E3A\u96F6\u5206\uFF09")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:_n,onChange:ya=>Wn(ya)}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(Ia.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:pa,onChange:ya=>Jt(ya)}),a.createElement(tl,{value:sn,onChange:tt}),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:Ea.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ia.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Ga,onChange:ya=>On(ya)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:ga,max:1e4,min:0,onChange:ya=>{la(ya)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:Ea.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:rr,onChange:ya=>{ro(ya.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:Ea.titleWrap},a.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Io.N,{value:Ca,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:ia,subId:(_a=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:_a.sub_discipline_id,knowledgeOptions:za,onAddKnowledgeFinish:Ha})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Lr,onChange:ya=>{Ua(ya)}}))),a.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),Yt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Va()}},"\u4FDD\u5B58")))},Or=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var _a,ya;return((ya=(_a=Dt==null?void 0:Dt.editData)==null?void 0:_a.exercise)==null?void 0:ya.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),Sr=ea=>da(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let _a;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return da(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Vt({},va)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:Vt({},va)});break;case"edit":Xn(Pe.dragKey),Yt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:4});break}}),or=()=>a.createElement("aside",null,a.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7B80\u7B54\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(Ya.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(Ya.Z,{value:Pe.question_title})),a.createElement("div",{className:Ea.questionChoices},a.createElement("p",null,a.createElement("strong",null,"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(Ya.Z,{value:pa||""})),a.createElement("div",{className:Ea.action},!Pe.hideAction&&Or.map(function(ea,_a){return ea.id==="up"&&Pe.key===1||ea.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:_a,placement:"bottom",title:ea.name},a.createElement("span",{onClick:()=>Sr(ea),className:ea.icon}))})));return a.createElement("section",{className:Ea.wrap},!ka&&or(),ka&&Da())};var Ja=(0,ye.connect)(({problemset:me,loading:pe,exercise:ie,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:ie,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Xa)),Sa=x(59301),cr=Object.defineProperty,tr=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable,Qa=(me,pe,ie)=>pe in me?cr(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Br=(me,pe)=>{for(var ie in pe||(pe={}))fr.call(pe,ie)&&Qa(me,ie,pe[ie]);if(tr)for(var ie of tr(pe))ma.call(pe,ie)&&Qa(me,ie,pe[ie]);return me},So=(me,pe)=>{var ie={};for(var dt in me)fr.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&tr)for(var dt of tr(me))pe.indexOf(dt)<0&&ma.call(me,dt)&&(ie[dt]=me[dt]);return ie},so=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Oo=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Mo=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},addCallback:an=()=>{},setIsClaer:wn=()=>{}}=ie,aa=So(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","addCallback","setIsClaer"]);const[Aa,_n]=(0,a.useState)([]),[Wn,Ga]=(0,a.useState)(),[On,pa]=(0,a.useState)([]),[Jt,ga]=(0,a.useState)(""),[la,ka]=(0,a.useState)(5),[Yt,Ca]=(0,a.useState)(!1),ia=(0,ye.useParams)();(0,a.useEffect)(()=>{_n(["","","",""])},[]),(0,a.useEffect)(()=>{if(!(Pe!=null&&Pe.question_choices)){Ca(!0),ga(""),ka(5),_n(["","","",""]),pa([]);return}ga(Pe==null?void 0:Pe.question_title),ka(Pe==null?void 0:Pe.question_score),_n(Pe==null?void 0:Pe.question_choices.map(Za=>Za.choice_text));const tt=[];Pe==null||Pe.standard_answer.map((Za,va)=>{tt.push(Za-1)}),pa(tt)},[Pe]),(0,a.useImperativeHandle)(pe,()=>({onSave:rr,isEdit:Yt}));const rr=()=>so(void 0,null,function*(){if(!Jt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const tt=Aa.findIndex(za=>!za);if(tt>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Oo[tt]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!On.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(On.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const Za=Aa.map((za,ur)=>({choice_text:za,is_answer:On.includes(ur)?ur+1:0}));let va;Pe.question_id?va=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Jt,question_type:1,question_score:la,question_choices:Za.map(za=>za.choice_text),standard_answers:Za.filter(za=>za.is_answer).map(za=>za.is_answer)}}):va=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ia.categoryId,question_title:Jt,question_type:1,question_score:"5.0",question_choices:Za.map(za=>za.choice_text),standard_answers:Za.filter(za=>za.is_answer).map(za=>za.is_answer)}}),va.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Ca(!1),at({type:"exercise/editExercise",payload:Br({},ia)}))}),ro=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(tt=>{var Za,va;return((va=(Za=Dt==null?void 0:Dt.editData)==null?void 0:Za.exercise)==null?void 0:va.exercise_status)===1?tt:tt.id!=="del"&&tt.id!=="add"}),Lr=tt=>so(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(tt.id){case"del":let Za;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return so(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Br({},ia)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:tt.id}}),at({type:"exercise/editExercise",payload:Br({},ia)});break;case"edit":ye.history.push(`/problems/${Pe==null?void 0:Pe.hack_identifier}/edit?type=exercises&express_id=${ia.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=${location.pathname}`);break;case"add":an({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:6});break}}),Ua=tt=>so(void 0,null,function*(){tt.preventDefault();const Za=yield(0,ne.nF)({id:Pe==null?void 0:Pe.hack_identifier});Za.status===0&&(0,ue.xg)(`/myproblems/${Za==null?void 0:Za.identifier}`)}),sn=()=>{var tt,Za,va,za,ur,Ha,Vr;return Sa.createElement("aside",null,Sa.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&Sa.createElement("div",null,Sa.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7F16\u7A0B\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Sa.createElement(Sa.Fragment,null,Sa.createElement("div",{style:{display:"flex"}},Sa.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Sa.createElement(Ya.Z,{value:Pe.question_title}),Sa.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")),Sa.createElement("div",{style:{fontWeight:600,marginTop:10,fontSize:16}},"\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00\uFF1A",(tt=Pe==null?void 0:Pe.languages)==null?void 0:tt.join("/")),((va=(Za=Dt==null?void 0:Dt.editData)==null?void 0:Za.exercise)==null?void 0:va.show_hack_sets)&&Sa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Sa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Sa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Sa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Va,Da,Or)=>Or+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)},Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)}," ",Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))):Sa.createElement("div",{className:"mt5"},Sa.createElement(Ya.Z,{value:Pe.question_title}),((ur=(za=Dt==null?void 0:Dt.editData)==null?void 0:za.exercise)==null?void 0:ur.show_hack_sets)&&Sa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Sa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Sa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Sa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Va,Da,Or)=>Or+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)},Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Va,Da,Or)=>Sa.createElement(De.Z,{title:Sa.createElement("pre",null,Va)}," ",Sa.createElement("div",{className:Ea.divname},Va))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))),((Vr=(Ha=Dt==null?void 0:Dt.editData)==null?void 0:Ha.exercise)==null?void 0:Vr.show_hack_description)&&Sa.createElement("div",{className:Ea.questionChoices},Sa.createElement(Ya.Z,{value:Pe.description||""})),Sa.createElement("div",{className:Ea.action},Sa.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{(0,ue.xg)(`/problems/newedit/${Pe==null?void 0:Pe.hack_identifier}?type=exercises&express_id=${ia.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=/classrooms/${ia.coursesId}/exercise/add/${ia.categoryId}?type=2`)}},"\u67E5\u770B\u8BE6\u60C5"),!Pe.hideAction&&ro.map(function(Va,Da){return Va.id==="up"&&Pe.key===1||Va.id==="down"&&Pe.key===Pe.len?null:Sa.createElement(De.Z,{key:Da,placement:"bottom",title:Va.name},Sa.createElement("span",{onClick:()=>Lr(Va),className:Va.icon}))})))};return Sa.createElement("section",{className:Ea.wrap},sn())};var No=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Mo)),po=x(88436),Fl={ai_review_warp:"ai_review_warp___xdNyj",under_review:"under_review___LPpOL",btn_operate:"btn_operate___owqg5",btn_review:"btn_review___RoZoh",is_disabled:"is_disabled___T2_8u",title_sty:"title_sty___nTv6u",btns_pfbz:"btns_pfbz___kGOTA"},El=x(78455),Qo=x(59301),Ci=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const wi=({exercise:me,globalSetting:pe,user:ie,loading:dt,questionInfo:Dt,dispatch:_e})=>{var Ut;const at=(0,ye.useParams)(),{is_open_ai_review:Oe,zero_commit_student_works:Pe,unified_ai_setting:Pn,ai_review_settings:Zn,is_random:Xn}=me.commonHeader,[an,wn]=(0,a.useState)({}),[aa,Aa]=(0,a.useState)(!1),[_n,Wn]=(0,a.useState)(0),[Ga,On]=(0,a.useState)(!1),pa=Pn?Zn:((Ut=Dt==null?void 0:Dt.ai_review_settings)==null?void 0:Ut.length)>0?Dt.ai_review_settings:Zn;(0,a.useEffect)(()=>{!dt["exercise/getCommonHeader"]&&Oe&&!(0,bt.dE)()&&Jt()},[dt["exercise/getCommonHeader"]]),(0,a.useEffect)(()=>{if((an==null?void 0:an.status)=="running"){const Yt=setInterval(()=>{Jt()},3e3);return()=>clearInterval(Yt)}},[an==null?void 0:an.status]);const Jt=()=>Ci(void 0,null,function*(){const Yt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit_status.json",{method:"get",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Yt==null?void 0:Yt.status)===0&&wn(Yt==null?void 0:Yt.data)}),ga=Yt=>{_e({type:"exercise/setActionTabs",payload:{key:"\u667A\u80FD\u8BC4\u9605\u7ED3\u679C",id:an==null?void 0:an.id,status:Yt,questionId:Dt==null?void 0:Dt.question_id,onOK:()=>{Jt()}}})},la=()=>{_e({type:"exercise/setActionTabs",payload:{key:"AI\u8BC4\u9605\u64CD\u4F5C\u8BB0\u5F55",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}}})},ka=()=>Ci(void 0,null,function*(){if(Oe){if(Pe)return oe.ZP.warning("\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u6570\u4E3A0\uFF0C\u65E0\u6CD5\u667A\u80FD\u8BC4\u9605!")}else return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!");On(!0);const Yt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit.json",{method:"post",body:{exercise_id:at==null?void 0:at.categoryId,range:_n,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Yt==null?void 0:Yt.status)===0&&(Aa(!1),Jt()),On(!1)});return Qo.createElement("div",{className:Fl.ai_review_warp},Qo.createElement("div",null,Oe&&(an==null?void 0:an.status)=="running"&&Qo.createElement("div",{className:Fl.under_review},Qo.createElement(Ft.Z,{spinning:!0,className:"mr6",size:"small"}),Qo.createElement("span",{className:"ml10"},"\u667A\u80FD\u8BC4\u9605\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6"),Qo.createElement("span",{className:"ml5",style:{color:"#3061D0"}},an==null?void 0:an.rate,(an==null?void 0:an.rate)=="0.0%"&&Qo.createElement("span",{className:"ml10"},"\u4EFB\u52A1\u6392\u961F\u4E2D\uFF0C\u9884\u8BA1\u7A0D\u540E\u5F00\u59CB\u8BC4\u9605!"))),Oe&&["success","failed"].includes(an==null?void 0:an.status)&&Qo.createElement("div",{className:Fl.under_review},"\u667A\u80FD\u8BC4\u9605\u6210\u529F",Qo.createElement("span",{style:{color:"#3061D0"},onClick:()=>ga(1)},an==null?void 0:an.success_count),"\u4EBA\uFF0C \u5931\u8D25",Qo.createElement("span",{style:{color:"#ff0000"},onClick:()=>ga(0)},an==null?void 0:an.fail_count),"\u4EBA")),Qo.createElement("div",{className:"flex"},Qo.createElement("div",{className:Fl.btn_operate,onClick:la},Qo.createElement("i",{className:"iconfont icon-lishijilu mr8"}),"\u64CD\u4F5C\u8BB0\u5F55"),Qo.createElement("div",{className:`${Fl.btn_review} ${(an==null?void 0:an.status)=="running"&&Fl.is_disabled}`,onClick:()=>{if((an==null?void 0:an.status)!="running"){if(!Oe)return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!"),!1;Wn(0),Aa(!0)}}},Qo.createElement("img",{src:Pa.Z,className:"mr8",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),Qo.createElement(Fe.default,{width:1150,centered:!0,title:"\u667A\u80FD\u8BC4\u9605",open:aa,destroyOnClose:!0,onCancel:()=>Aa(!1),okText:"\u5F00\u59CB\u8BC4\u9605",confirmLoading:Ga,onOk:()=>ka()},Qo.createElement("div",{className:"flex item-center justify-between mb10"},Qo.createElement("div",{className:Fl.title_sty,style:{marginBottom:0}},"\u8BC4\u5206\u6807\u51C6"),Qo.createElement("div",{className:"flex"},Qo.createElement("div",{className:Fl.btns_pfbz,onClick:()=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:Dt==null?void 0:Dt.question_id,ai_review_settings:pa}})}},Qo.createElement("img",{src:El.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"),Qo.createElement("div",{className:Fl.btns_pfbz,onClick:()=>{Pn?window.location.href=`/classrooms/${at.coursesId}/exercise/${at.categoryId}/detail?random=${Xn}&tabs=11`:ye.history.push(`/classrooms/${at.coursesId}/exercise/add/${at.categoryId}?random=${Xn}&type=2`)}},Qo.createElement("i",{className:"iconfont icon-bianji15 font14 mr5"}),"\u4FEE\u6539\u8BC4\u5206\u6807\u51C6"))),Qo.createElement(z.default,{pagination:!1,dataSource:pa,columns:[{title:"\u8BC4\u5206\u9879\u76EE",dataIndex:"name",width:236},{title:"\u8BC4\u5206\u6807\u51C6",dataIndex:"content",width:684,ellipsis:!0},{title:"\u6743\u91CD\uFF08%\uFF09",dataIndex:"weight",width:140}]}),Qo.createElement("div",{className:Fl.title_sty,style:{marginTop:30}},"\u8BC4\u9605\u8303\u56F4"),Qo.createElement("div",{className:Fl.znpy,style:{background:"#F6F7F9",padding:"13px 20px"}},Qo.createElement(be.ZP.Group,{style:{display:"flex",flexDirection:"column",gap:18},onChange:Yt=>Wn(Yt.target.value),value:_n,options:[{value:0,label:"\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u672A\u8BC4\u9605\u7684\u5B66\u751F"},{value:1,label:"\u6240\u6709\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F"}]}))))};var Ki=(0,ye.connect)(({exercise:me,globalSetting:pe,loading:ie,user:dt})=>({exercise:me,globalSetting:pe,loading:ie.effects,user:dt}))(wi),Rr=x(59301),zi=Object.defineProperty,hi=Object.defineProperties,Si=Object.getOwnPropertyDescriptors,Qi=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,jn=(me,pe,ie)=>pe in me?zi(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,jr=(me,pe)=>{for(var ie in pe||(pe={}))Vi.call(pe,ie)&&jn(me,ie,pe[ie]);if(Qi)for(var ie of Qi(pe))Mi.call(pe,ie)&&jn(me,ie,pe[ie]);return me},Wo=(me,pe)=>hi(me,Si(pe)),We=(me,pe)=>{var ie={};for(var dt in me)Vi.call(me,dt)&&pe.indexOf(dt)<0&&(ie[dt]=me[dt]);if(me!=null&&Qi)for(var dt of Qi(me))pe.indexOf(dt)<0&&Mi.call(me,dt)&&(ie[dt]=me[dt]);return ie},je=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Bt=(me,pe)=>{var ie=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Ut,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:Pn=()=>{},editKey:Zn,setEditKey:Xn=()=>{},setIsClaer:an=()=>{},addCallback:wn=ya=>{},reload:aa=()=>{},markBtnVisible:Aa,handleMarkWrongQuestion:_n,handleAddCorrectAnswers:Wn}=ie,Ga=We(ie,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload","markBtnVisible","handleMarkWrongQuestion","handleAddCorrectAnswers"]);const[On,pa]=(0,a.useState)([]),[Jt,ga]=(0,a.useState)(!1),[la,ka]=(0,a.useState)(!0),[Yt,Ca]=(0,a.useState)(1),[ia,rr]=(0,a.useState)(!1),[ro,Lr]=(0,a.useState)([]),Ua=(0,ye.useParams)(),sn=(0,a.useRef)(null),[tt,Za]=(0,a.useState)(""),[va,za]=(0,a.useState)([]),ur=(0,a.useRef)(!1),Ha=ya=>{Lr([...ro,jr({},ya)])};(0,a.useEffect)(()=>{var ya;if(ur.current)return;if(!(Pe!=null&&Pe.question_title)){ga(!0),Za("");return}Za(Pe==null?void 0:Pe.question_title),rr(!(Pe!=null&&Pe.repeat_answer)),Ca(Pe==null?void 0:Pe.difficulty),pa(Pe.tag_discipline_ids);const ra=(ya=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:ya.map(xa=>{var qn,nr,vr;return Wo(jr({},xa),{id:xa.question_id,name:xa.question_title,open:!1,score:xa.question_score,qusList:(qn=xa==null?void 0:xa.question_choices)==null?void 0:qn.map(xr=>xr.choice_text),activeQusEditor:null,qusAnswer:(vr=[(nr=xa==null?void 0:xa.question_choices)==null?void 0:nr.findIndex(xr=>xr.standard_boolean)])==null?void 0:vr.filter(xr=>xr!==-1)})});za(ra)},[Pe,Jt]),(0,a.useEffect)(()=>{Jt&&ya();function ya(){return je(this,null,function*(){var ra,xa;const qn=yield(0,ne.YY)({sub_discipline_id:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id});Lr(qn.tag_disciplines)})}},[Jt]),(0,a.useEffect)(()=>{var ya;const ra=(ya=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ya.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];Lr(ra)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(pe,()=>({onSave:Va,isEdit:Jt}));const Vr=ya=>{(ya==null?void 0:ya.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ga(!1),Xn(-1),ur.current=!1,aa())},Va=()=>je(void 0,null,function*(){var ya,ra,xa;if(!tt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(va.length===0)return oe.ZP.info("\u8BF7\u60A8\u6DFB\u52A0\u5C0F\u9898"),!1;for(let vr=0;vr!Eo);if(ho>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165\u7B2C${vr+1}\u5C0F\u9898${Cr.k4[ho]}\u9009\u9879\u7684\u5185\u5BB9`),!1;if(!(xr!=null&&xr.qusAnswer.length))return oe.ZP.info(`\u8BF7\u8BBE\u7F6E\u7B2C${vr+1}\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E`),!1}const qn=va.map(vr=>{var xr;return{id:vr.id>1?vr.id:null,question_title:vr.name,question_type:1,question_choices:vr.qusList,question_score:vr.score,standard_answers:[((xr=vr.qusAnswer)==null?void 0:xr[0])+1]}});ur.current=!0;let nr;Pe.question_id&&((Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>je(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:Yt,is_cover:1,repeat_answer:!ia}}),Vr(nr)}),onCancel:()=>je(void 0,null,function*(){var vr,xr;nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(xr=(vr=Dt.editData)==null?void 0:vr.exercise)==null?void 0:xr.sub_discipline_id,difficulty:Yt,repeat_answer:!ia}}),Vr(nr)})}):(nr=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(xa=(ra=Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.sub_discipline_id,difficulty:Yt,repeat_answer:!ia}}),Vr(nr)))}),Da=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ya=>{var ra,xa;return((xa=(ra=Dt==null?void 0:Dt.editData)==null?void 0:ra.exercise)==null?void 0:xa.exercise_status)===1?ya:ya.id!=="del"&&ya.id!=="add"}),Or=ya=>je(void 0,null,function*(){if(Zn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ya.id){case"del":let ra;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return je(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:jr({},Ua)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ya.id}}),at({type:"exercise/editExercise",payload:jr({},Ua)});break;case"edit":Xn(Pe.dragKey),ga(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),Sr=()=>{var ya;return Rr.createElement("aside",{ref:sn},Rr.createElement("div",{className:Ea.questionType},!(Pe!=null&&Pe.isPreview)&&Rr.createElement("div",null,Rr.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7EC4\u5408\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Rr.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},Rr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Rr.createElement(Ya.Z,{value:Pe.question_title}),Rr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08\u5171",Pe==null?void 0:Pe.sub_q_count,"\u5C0F\u9898\uFF0C",Pe.question_score,"\u5206\uFF09")):Rr.createElement("div",{className:"mt5"},Rr.createElement(Ya.Z,{value:Pe.question_title})),Rr.createElement("div",{style:{display:la?"block":"none"},className:Ea.questionChoices},(ya=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:ya.map((ra,xa)=>{var qn,nr,vr,xr;return Rr.createElement("div",{key:xa,style:{marginBottom:"20px"}},Rr.createElement("div",{style:{display:"flex",alignItems:"flex-start",marginBottom:"15px"}},Rr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,".",xa+1,(ra==null?void 0:ra.question_type)==0?"\uFF08\u5355\u9009\u9898\uFF09":(ra==null?void 0:ra.question_type)==1?"\uFF08\u591A\u9009\u9898\uFF09":(ra==null?void 0:ra.question_type)==2?"\uFF08\u5224\u65AD\u9898\uFF09":(ra==null?void 0:ra.question_type)==3?"\uFF08\u586B\u7A7A\u9898\uFF09":"\uFF08\u7B80\u7B54\u9898\uFF09"),Rr.createElement(Ya.Z,{value:ra.question_title}),Rr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",ra.question_score,"\u5206\uFF09")),(ra==null?void 0:ra.question_type)==3&&((qn=ra==null?void 0:ra.standard_answers)==null?void 0:qn.map(function(ho,Eo){return Rr.createElement(re.Z,{key:Eo,align:"middle",justify:"start",style:{marginBottom:"5px"}},Rr.createElement(ve.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",ho==null?void 0:ho.choice_id,"\uFF09\uFF1A"),Rr.createElement(ve.Z,{flex:"1"},Rr.createElement(re.Z,{align:"middle",gutter:[1,1]},ho.answer_text.map(function(Zr,sr){var io;return Rr.createElement(ve.Z,{span:24,key:sr},Rr.createElement(Se.default,{key:Eo,checked:(io=ra==null?void 0:ra.standard_answers)==null?void 0:io.includes(Eo),disabled:!0,value:Zr}))}))))})),(ra==null?void 0:ra.question_type)==4&&Rr.createElement(Ya.Z,{value:((nr=ra==null?void 0:ra.answer_texts)==null?void 0:nr[0])||""}),((ra==null?void 0:ra.question_type)==0||(ra==null?void 0:ra.question_type)==1||(ra==null?void 0:ra.question_type)==2)&&((vr=ra==null?void 0:ra.question_choices)==null?void 0:vr.map(function(ho,Eo){return Rr.createElement(re.Z,{key:Eo,align:"middle"},Rr.createElement(ve.Z,null,Rr.createElement(be.ZP,{key:Eo,checked:ra.standard_answer.includes(Eo+1),disabled:!0},Cr.k4[Eo],".")),Rr.createElement(ve.Z,{flex:"1"},Rr.createElement("span",{className:"c-black font14"},Rr.createElement(Ya.Z,{value:ho.choice_text}))))})),Aa&&Rr.createElement(re.Z,{className:"mt20",align:"middle",gutter:20},Rr.createElement(ve.Z,null,Rr.createElement(po.Z,{state:ra==null?void 0:ra.is_wrong,onClick:()=>_n({value:ra,type:ra==null?void 0:ra.question_type})})),(ra==null?void 0:ra.question_type)==0&&Rr.createElement(ve.Z,null,Rr.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{Wn==null||Wn({value:ra})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),(ra==null?void 0:ra.question_type)==4&&((xr=Dt==null?void 0:Dt.commonHeader)==null?void 0:xr.teacher_permission)&&Rr.createElement(Ki,{questionInfo:ra}))})),Rr.createElement("div",{className:Ea.action},Rr.createElement("span",{className:"c-light-primary current",onClick:()=>ka(!la),style:{}},la?"\u6536\u8D77":"\u5C55\u5F00"),!Pe.hideAction&&Da.map(function(ra,xa){return ra.id==="up"&&Pe.key===1||ra.id==="down"&&Pe.key===Pe.len?null:Rr.createElement(De.Z,{key:xa,placement:"bottom",title:ra.name},Rr.createElement("span",{onClick:()=>Or(ra),className:ra.icon}))})))},or=()=>{var ya,ra;return Rr.createElement("aside",null,Rr.createElement("div",{className:Ea.questionType},Rr.createElement("div",null,Rr.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),Rr.createElement("section",{className:Ea.wrap,style:{padding:0}},Rr.createElement("p",{className:Ea.titleWrap},Rr.createElement("span",{className:Ea.required},"*"),Rr.createElement("span",{className:Ea.title},"\u9898\u5E72\uFF1A")),Rr.createElement(Ia.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:tt,onChange:xa=>Za(xa)}),Rr.createElement("p",null,"\u5C0F\u9898\u6570\uFF1A",va==null?void 0:va.length),va==null?void 0:va.map((xa,qn)=>{var nr;return Rr.createElement("div",{className:Ea.fold,key:xa.id},Rr.createElement("div",{onClick:()=>_a("open",qn),className:Ea.head},Rr.createElement("i",{className:"iconfont icon-sanjiaoxing",style:{transform:xa.open?"initial":"rotate(270deg) translate(2px, 4px)"}}),Rr.createElement("span",null,"\u7B2C",qn+1,"\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"),Rr.createElement("b",{onClick:vr=>{vr.stopPropagation(),_a("delete",qn)},className:"iconfont icon-shanchu8"})),Rr.createElement("div",{className:"mb10",style:{display:xa.open?"block":"none"}},Rr.createElement(Ia.Z,{watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:xa==null?void 0:xa.name,onChange:vr=>_a("value",qn,vr)}),Rr.createElement("p",{className:Ea.titleWrap},Rr.createElement("span",{className:Ea.required},"*"),Rr.createElement("span",{className:Ea.title},"\u7B54\u6848\u9009\u9879\uFF1A",Rr.createElement("span",{className:Ea.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),(nr=xa==null?void 0:xa.qusList)==null?void 0:nr.map((vr,xr)=>{var ho,Eo;return Rr.createElement("div",{className:Ea.choiceWrap,key:xr},Rr.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},Rr.createElement("div",{className:`${Ea.answer} ${(ho=xa==null?void 0:xa.qusAnswer)!=null&&ho.includes(xr)?Ea.activeAnswer:""}`,onClick:()=>_a("answer",qn,xr)},Cr.k4[xr])),Rr.createElement("div",{className:Ea.editorWrap},(xa==null?void 0:xa.activeQusEditor)===xr?Rr.createElement(Ia.Z,{id:`single-question-option-${xr}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:vr,onChange:Zr=>_a("details",qn,Zr)}):Rr.createElement("div",{className:Ea.htmlWrap,onClick:()=>_a("edit",qn,xr)},Rr.createElement(Ya.Z,{value:vr}))),xr>1&&Rr.createElement(De.Z,{title:"\u5220\u9664"},Rr.createElement("i",{className:`${Ea.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>_a("deleteQus",qn,xr)})),xr<7&&xr===((Eo=xa==null?void 0:xa.qusList)==null?void 0:Eo.length)-1&&Rr.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Rr.createElement("i",{className:`${Ea.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>_a("addQus",qn)})))}),Rr.createElement("p",{className:"mt10"},"\u5206\u503C\uFF1A",Rr.createElement(Te.Z,{value:xa.score,max:1e4,min:0,onChange:vr=>_a("score",qn,vr)})," ","\u5206")))}),va.length<20&&Rr.createElement(Ce.ZP,{type:"primary",onClick:ea},Rr.createElement("i",{className:"iconfont icon-tianjiatimu mr5 font14"}),"\u6DFB\u52A0\u5C0F\u9898")),Rr.createElement("p",{className:"mt10"},Rr.createElement("span",{className:Ea.difficult},Rr.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",Rr.createElement(be.ZP.Group,{value:Yt,onChange:xa=>{Ca(xa.target.value)}},Rr.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),Rr.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),Rr.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),Rr.createElement("p",{className:Ea.titleWrap},Rr.createElement("span",{className:`${Ea.title}`},"\u77E5\u8BC6\u70B9\uFF1A",Rr.createElement("span",{className:Ea.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),Rr.createElement("div",{className:"mt5"},Rr.createElement(Io.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:On,onChange:pa,subId:(ra=(ya=Dt.editData)==null?void 0:ya.exercise)==null?void 0:ra.sub_discipline_id,knowledgeOptions:ro,onAddKnowledgeFinish:Ha}))),Rr.createElement("aside",{className:"tr"},(Zn!==-1||Pe.question_id)&&Rr.createElement(Ce.ZP,{type:"default",onClick:()=>{Pn(),ga(!1)}},"\u53D6\u6D88"),Rr.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Va()}},"\u4FDD\u5B58")))},ea=()=>{const ya={id:Math.random(),item_type:"SINGLE",open:!1,name:"",qusList:["","","",""],activeQusEditor:null,qusAnswer:[],analysis:""};za(va.concat(ya))},_a=(ya,ra,xa)=>{var qn;const nr=(0,Ta.cloneDeep)(va);ya==="open"&&(nr[ra].open=!nr[ra].open),ya==="delete"&&nr.splice(ra,1),ya==="value"&&(nr[ra].name=xa),ya==="answer"&&(nr[ra].qusAnswer=[xa]),ya==="edit"&&(nr[ra].activeQusEditor=xa),ya==="details"&&(nr[ra].qusList[nr[ra].activeQusEditor]=xa),ya==="addQus"&&(nr[ra].qusList=nr[ra].qusList.concat("")),ya==="deleteQus"&&(nr[ra].qusList=nr[ra].qusList.filter((vr,xr)=>xr!==xa),nr[ra].qusAnswer=(qn=nr[ra].qusAnswer)==null?void 0:qn.filter(vr=>vr!==xa)),ya==="analysis"&&(nr[ra].analysis=xa),ya==="score"&&(nr[ra].score=xa),za(nr)};return Rr.createElement("section",{className:Ea.wrap},!Jt&&Sr(),Jt&&or())};var It=(0,ye.connect)(({problemset:me,loading:pe,globalSetting:ie,exercise:dt})=>({problemset:me,globalSetting:ie,exercise:dt,loading:pe.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Bt)),Qt=x(11414),Zt={flex_box_center:"flex_box_center___dDNpp",flex_space_between:"flex_space_between___ovpjv",flex_box_vertical_center:"flex_box_vertical_center___oqAEt",flex_box_center_end:"flex_box_center_end___mHCIK",flex_box_column:"flex_box_column___GZMP2",posWarp:"posWarp___ZUxXl",pos:"pos___A7NKx",tips:"tips___ap6NV"},Mn=x(25965),Sn=x(24334),zn=Object.defineProperty,Oa=Object.defineProperties,An=Object.getOwnPropertyDescriptors,ua=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,mr=(me,pe,ie)=>pe in me?zn(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Fr=(me,pe)=>{for(var ie in pe||(pe={}))lr.call(pe,ie)&&mr(me,ie,pe[ie]);if(ua)for(var ie of ua(pe))er.call(pe,ie)&&mr(me,ie,pe[ie]);return me},Dr=(me,pe)=>Oa(me,An(pe)),Tr=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Mr=({data:me,exercise:pe,isDragDisabled:ie=!1,editorProps:dt={},onDragEnd:Dt=()=>{},dispatch:_e,markBtnVisible:Ut=!1,batchScore:at=[],reload:Oe=()=>{}})=>{const Pe=(0,a.useRef)(),Pn=(0,ye.useParams)(),[Zn,Xn]=Fe.default.useModal(),an=()=>{var ga,la,ka,Yt,Ca,ia,rr,ro,Lr,Ua,sn,tt,Za,va,za,ur;return[{name:"\u5355\u9009\u9898",type:0,count:(ga=me==null?void 0:me.exercise_types)==null?void 0:ga.q_singles,score:(la=me==null?void 0:me.exercise_types)==null?void 0:la.q_singles_scores,items:[]},{name:"\u591A\u9009\u9898",type:1,count:(ka=me==null?void 0:me.exercise_types)==null?void 0:ka.q_doubles,score:(Yt=me==null?void 0:me.exercise_types)==null?void 0:Yt.q_doubles_scores,items:[]},{name:"\u5224\u65AD\u9898",type:2,count:(Ca=me==null?void 0:me.exercise_types)==null?void 0:Ca.q_judges,score:(ia=me==null?void 0:me.exercise_types)==null?void 0:ia.q_judges_scores,items:[]},{name:"\u586B\u7A7A\u9898",type:3,count:(rr=me==null?void 0:me.exercise_types)==null?void 0:rr.q_nulls,score:(ro=me==null?void 0:me.exercise_types)==null?void 0:ro.q_nulls_scores,items:[]},{name:"\u7B80\u7B54\u9898",type:4,count:(Lr=me==null?void 0:me.exercise_types)==null?void 0:Lr.q_mains,score:(Ua=me==null?void 0:me.exercise_types)==null?void 0:Ua.q_mains_scores,items:[]},{name:"\u5B9E\u8BAD\u9898",type:5,count:(sn=me==null?void 0:me.exercise_types)==null?void 0:sn.q_shixuns,score:(tt=me==null?void 0:me.exercise_types)==null?void 0:tt.q_shixuns_scores,items:[]},{name:"\u7F16\u7A0B\u9898",type:6,count:(Za=me==null?void 0:me.exercise_types)==null?void 0:Za.q_pros,score:(va=me==null?void 0:me.exercise_types)==null?void 0:va.q_pros_scores,items:[]},{name:"\u7EC4\u5408\u9898",type:7,count:(za=me==null?void 0:me.exercise_types)==null?void 0:za.q_combinations,score:(ur=me==null?void 0:me.exercise_types)==null?void 0:ur.q_combination_scores,items:[]}]},wn=(ga,la,ka)=>{const Yt=Array.from(ga),[Ca]=Yt.splice(la,1);return Yt.splice(ka,0,Ca),Yt},aa=(ga,la,ka)=>{if(!ga.destination)return;const Yt=wn(la,ga.source.index,ga.destination.index);Dt(Yt,ka)},Aa=ga=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6807\u8BB0\u9519\u9898",params:ga}})},_n=(ga,la)=>{var ka,Yt,Ca;if(la===0)return a.createElement(zo,Fr({reload:Oe,editData:ga},ga));if(la===1)return a.createElement(xc,Fr({reload:Oe,editData:ga},ga));if(la===2)return a.createElement(Bu,Fr({reload:Oe,editData:ga},ga));if(la===3)return a.createElement(ls,Fr({reload:Oe,editData:ga},ga));if(la===4)return a.createElement(Ja,Fr({reload:Oe,editData:ga},ga));if(la===5)return a.createElement(sl,Fr({reload:Oe,editData:ga},ga));if(la===6)return a.createElement(No,Fr({editData:ga},ga));if(la===7)return a.createElement(It,Fr({handleAddCorrectAnswers:pa,handleMarkWrongQuestion:Aa,markBtnVisible:Ut,reload:Oe,editData:ga},ga));if(la===8)return a.createElement("div",{style:{padding:"20px 30px"}},a.createElement(Ya.Z,{value:ga.key+"."+((ka=ga==null?void 0:ga.program_attr)==null?void 0:ka.description)}),a.createElement(Ya.Z,{style:{paddingLeft:10},showProgramFill:!0,disabledFill:!0,value:Sn.Base64.decode(((Yt=ga==null?void 0:ga.program_attr)==null?void 0:Yt.code)||"")}),(Ca=ga==null?void 0:ga.standard_answer)==null?void 0:Ca.map(function(ia,rr){return a.createElement(re.Z,{key:rr,align:"middle",style:{marginTop:20}},a.createElement(ve.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",ia.choice_id,"\uFF09\uFF1A"),a.createElement(ve.Z,{flex:"1"},a.createElement(re.Z,{align:"middle",gutter:[1,1]},a.createElement(Se.default,{key:rr,disabled:!0,value:ia.answer_text||"- -"}))))}))},Wn=(ga,la,ka)=>a.createElement(Qt.Z5,{onDragEnd:Yt=>aa(Yt,ga,la)},a.createElement(Qt.bK,{droppableId:"droppable"},(Yt,Ca)=>a.createElement("div",Dr(Fr({ref:Yt.innerRef},Yt.droppableProps),{style:{width:"100%"}}),ga==null?void 0:ga.map((ia,rr)=>{var ro;const Lr=Fr(Dr(Fr({},ia),{key:rr+1,hideAction:!0,isPreview:!0,dragKey:la+"-"+rr}),dt);return a.createElement(Qt._l,{key:Lr==null?void 0:Lr.question_id,draggableId:(ro=Lr==null?void 0:Lr.question_id)==null?void 0:ro.toString(),index:rr,isDragDisabled:ie},(Ua,sn)=>{var tt;return a.createElement("aside",Fr(Fr({ref:Ua.innerRef},Ua.draggableProps),Ua.dragHandleProps),a.createElement("div",{className:Zt.posWarp,id:Lr.dragKey},_n(Lr,la),a.createElement(re.Z,{className:"pl30",align:"middle",gutter:20},Ut&&![5,6,7,8].includes(la)&&a.createElement(ve.Z,null,a.createElement(po.Z,{state:Lr==null?void 0:Lr.is_wrong,onClick:()=>Aa({value:Lr,type:la})})),[5,6,8].includes(la)&&(Lr==null?void 0:Lr.show_resubmit)&&a.createElement(ve.Z,null,a.createElement(Mn.C,{dataSource:Lr})),Ut&&[0].includes(la)&&a.createElement(ve.Z,null,a.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{pa({value:Lr})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),la===4&&((tt=pe==null?void 0:pe.commonHeader)==null?void 0:tt.teacher_permission)&&a.createElement(Ki,{questionInfo:Lr}),a.createElement(Jn.Z,null),!ie&&a.createElement("div",{className:Zt.pos},a.createElement("div",{className:Zt.tips},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u8BD5\u9898\u663E\u793A\u987A\u5E8F"))))})}),Yt.placeholder))),Ga=ga=>({\u5355\u9009\u9898:2,\u591A\u9009\u9898:5,\u586B\u7A7A\u9898:2,\u5224\u65AD\u9898:2,\u7B80\u7B54\u9898:10,\u7F16\u7A0B\u9898:10,\u5B9E\u8BAD\u9898:5,\u7EC4\u5408\u9898:10})[ga]||0,On=(ga,la)=>{Pe.current=Ga(la),Fe.default.confirm({centered:!0,title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u6570",content:a.createElement("div",{className:""},a.createElement("span",null,la==="\u7EC4\u5408\u9898"?"\u7EC4\u5408\u9898\u4E2D\u7684\u6BCF\u5C0F\u9898":la,"\uFF1A"),a.createElement(Te.Z,{min:1,defaultValue:Pe.current,onChange:ka=>{Pe.current=ka}}),a.createElement("span",{className:"ml5"},"\u5206/\u9898"),a.createElement("br",null),la==="\u586B\u7A7A\u9898"&&a.createElement("div",{style:{color:"rgb(255, 0, 0)"}},"\u6BCF\u7A7A\u5206\u503C\u6309\u6BCF\u9898\u5206\u503C\u53D6\u5E73\u5747\u5206\u8BA1\u7B97")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Tr(void 0,null,function*(){(yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/batch_set_score.json`,{method:"post",body:{question_type:ga,score:Pe.current}})).status!==-1&&Oe()})})},pa=({value:ga}={})=>{var la,ka;let Yt=(ga==null?void 0:ga.standard_answer)||[];const Ca=Zn.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:a.createElement(a.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",(la=ga==null?void 0:ga.standard_answer)==null?void 0:la.map(ia=>{var rr;return(rr=Cr.k4)==null?void 0:rr[ia-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",a.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",a.createElement("br",null),a.createElement(Ne.default.Group,{className:"flex-col mt20",options:(ka=ga==null?void 0:ga.question_choices)==null?void 0:ka.map((ia,rr)=>{var ro;return{value:ia==null?void 0:ia.choice_position,label:a.createElement(Ya.Z,{className:"c-black font14",value:`${(ro=Cr.k4)==null?void 0:ro[rr]}. ${ia==null?void 0:ia.choice_text}`}),disabled:ia==null?void 0:ia.origin_standard_answer}}),defaultValue:Yt,onChange:ia=>{Yt=ia}})),onOk:()=>Tr(void 0,null,function*(){const ia=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/questions/${ga==null?void 0:ga.question_id}/add_standard_answers.json`,{method:"put",body:{standard_answer:Yt}});(ia==null?void 0:ia.status)===0&&(oe.ZP.success("\u4FEE\u6539\u6210\u529F"),_e({type:"exercise/editExercise",payload:{categoryId:Pn.categoryId,coursesId:Pn.coursesId}}))})})},Jt=function(){var ga;const la=an();return(ga=me==null?void 0:me.exercise_questions)==null||ga.forEach(function(Yt,Ca){var ia,rr,ro,Lr,Ua,sn,tt,Za,va,za,ur,Ha,Vr,Va,Da,Or;Yt.question_type===0&&((rr=(ia=la[Yt.question_type])==null?void 0:ia.items)==null||rr.push(Yt)),Yt.question_type===1&&((Lr=(ro=la[Yt.question_type])==null?void 0:ro.items)==null||Lr.push(Yt)),Yt.question_type===2&&((sn=(Ua=la[Yt.question_type])==null?void 0:Ua.items)==null||sn.push(Yt)),Yt.question_type===3&&((Za=(tt=la[Yt.question_type])==null?void 0:tt.items)==null||Za.push(Yt)),Yt.question_type===4&&((za=(va=la[Yt.question_type])==null?void 0:va.items)==null||za.push(Yt)),Yt.question_type===5&&((Ha=(ur=la[Yt.question_type])==null?void 0:ur.items)==null||Ha.push(Yt)),Yt.question_type===6&&((Va=(Vr=la[Yt.question_type])==null?void 0:Vr.items)==null||Va.push(Yt)),Yt.question_type===7&&((Or=(Da=la[Yt.question_type])==null?void 0:Da.items)==null||Or.push(Yt))}),me==null?void 0:me.map((Yt,Ca)=>{var ia,rr;return a.createElement(a.Fragment,{key:Ca},a.createElement("div",{className:"pl20",style:{display:"flex",alignItems:"center"}},a.createElement("span",{className:"font16 c-light-primary"},(0,ue.EM)(Ca+1),"\u3001",Yt.name),a.createElement("span",{className:"c-grey-999"},"\uFF08\u5171",Yt.count,"\u9898",(Yt==null?void 0:Yt.question_type)===7?`\uFF0C\u5305\u542B${Yt.sub_count}\u5C0F\u9898`:"","\uFF1B\u5171",Yt.score,"\u5206\uFF09"),(Yt.question_type==5||Yt.question_type==6)&&a.createElement("div",{style:{flex:1,textAlign:"end",paddingRight:20}},Yt.question_type==5&&a.createElement(Ne.default,{defaultChecked:(rr=(ia=pe==null?void 0:pe.editData)==null?void 0:ia.exercise)==null?void 0:rr.show_challenge_task_pass,onChange:ro=>Tr(this,null,function*(){let Lr=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:ro.target.checked}});(Lr==null?void 0:Lr.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),_e({type:"exercise/editExercise",payload:Fr({},Pn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Yt==null?void 0:Yt.question_type)===6&&a.createElement("span",{style:{marginLeft:20},onClick:()=>{var ro,Lr,Ua,sn;Fe.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:a.createElement("div",null,a.createElement(Ne.default,{defaultChecked:(Lr=(ro=pe==null?void 0:pe.editData)==null?void 0:ro.exercise)==null?void 0:Lr.show_hack_sets,onChange:tt=>Tr(this,null,function*(){let Za=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_sets:tt.target.checked}});(Za==null?void 0:Za.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Fr({},Pn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),a.createElement("br",null),a.createElement(Ne.default,{defaultChecked:(sn=(Ua=pe==null?void 0:pe.editData)==null?void 0:Ua.exercise)==null?void 0:sn.show_hack_description,onChange:tt=>Tr(this,null,function*(){let Za=yield(0,fe.ZP)(`/api/exercises/${Pn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_description:tt.target.checked}});(Za==null?void 0:Za.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Fr({},Pn)}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),(at==null?void 0:at.includes(Yt==null?void 0:Yt.name))&&a.createElement(Ce.ZP,{onClick:()=>On(Yt==null?void 0:Yt.question_type,Yt==null?void 0:Yt.name),style:{float:"right"},type:"primary",ghost:!0},"\u6279\u91CF\u8BBE\u7F6E\u5F97\u5206")),Wn(Yt.items,Yt==null?void 0:Yt.question_type,Yt==null?void 0:Yt.name))})};return a.createElement("div",null," ",Jt(),Xn," ")};var to=(0,ye.connect)()(Mr),Go=x(60546),qo=x(12586),Fo=x(59301),Yo=Object.defineProperty,Cl=Object.getOwnPropertySymbols,mo=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Bo=(me,pe,ie)=>pe in me?Yo(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Xr=(me,pe)=>{for(var ie in pe||(pe={}))mo.call(pe,ie)&&Bo(me,ie,pe[ie]);if(Cl)for(var ie of Cl(pe))To.call(pe,ie)&&Bo(me,ie,pe[ie]);return me},no=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Xo=({exercise:me,loading:pe,dispatch:ie,activeTabs:dt})=>{var Dt;const _e=(0,ye.useParams)(),[Ut]=(0,a.useState)(Xr(Xr({},_e),{page:1,per_page:10})),{editData:at,commonHeader:{exercise_status:Oe}}=me;(0,a.useEffect)(()=>{dt==="2"&&Pe()},[_e.categoryId,dt]);const Pe=()=>no(void 0,null,function*(){yield(0,Pr.w)(_e.coursesId,_e.categoryId,"",2,3),ie({type:"exercise/editExercise",payload:Xr({},Ut)})});return(0,a.useEffect)(()=>(ie({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),ie({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),()=>{ie({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),ie({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),Fo.createElement("div",null,Fo.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},Fo.createElement(b.Z,{style:{marginRight:5,color:"#E99237"}}),Fo.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),Fo.createElement(Ce.ZP,{onClick:()=>{ie({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[_e.categoryId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Fo.createElement("section",{className:"minH1050 mb20 pt30 pb30 pl60 bg-white relative"},Fo.createElement(Ft.Z,{spinning:pe["exercise/editExercise"]},Fo.createElement(Go.Z,{sealStyle:{left:-540},isPreview:!0,activeTabs:dt,showExportBtn:!0}),Fo.createElement(Jn.Z,null),Fo.createElement(to,{data:at==null?void 0:at.exercise_question_types,exercise:me,isDragDisabled:!0,markBtnVisible:Oe===3&&(((Dt=at==null?void 0:at.exercise)==null?void 0:Dt.is_creator)||(0,bt.Ny)())}),Fo.createElement(qo.Z,null))))};var Wl=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe.effects}))(Xo),ll={flex_box_center:"flex_box_center___VaA8k",flex_space_between:"flex_space_between___TqHqG",flex_box_vertical_center:"flex_box_vertical_center___lRanp",flex_box_center_end:"flex_box_center_end___BPjtN",flex_box_column:"flex_box_column___jWLBM",title:"title___L0cG8",search:"search____WeIQ",head:"head___xmSl4",row:"row___HJKId",btns:"btns___m0Vc7",sort:"sort___qMLQP"},Zo=x(26724),Dl=x.n(Zo),Yl=x(70414),ti=x(59477),Ir=x(59301),nu=Object.defineProperty,Xl=Object.defineProperties,fl=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Di=(me,pe,ie)=>pe in me?nu(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ei=(me,pe)=>{for(var ie in pe||(pe={}))nl.call(pe,ie)&&Di(me,ie,pe[ie]);if(au)for(var ie of au(pe))Xi.call(pe,ie)&&Di(me,ie,pe[ie]);return me},Uo=(me,pe)=>Xl(me,fl(pe)),Ko=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const $o=({exercise:me,loading:pe,dispatch:ie,cb:dt})=>{const Dt=Uo(Ei({},(0,ye.useParams)()),{page:0,limit:50,one:null,two:null,save_one:null,save_two:null,sort:null,course_group:"",student_id:"",realname:"",save_course_group:"",save_student_id:"",save_realname:"",commit_types:[0],course_group_ids:[]});let[_e,Ut]=(0,a.useState)(Ei({},Dt)),[at,Oe]=(0,a.useState)([]);const[Pe,Pn]=(0,a.useState)(!0),[Zn,Xn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(0),[aa,Aa]=(0,a.useState)(!1),[_n,Wn]=(0,a.useState)([]),[Ga,On]=(0,a.useState)([]),[pa,Jt]=(0,a.useState)([]),[ga]=de.default.useForm(),[la,ka]=(0,a.useState)("");(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u91CD\u505A"&&(at=[],Yt(),Ca(1))},[me.actionTabs.key,_e.commit_types]);const Yt=()=>Ko(void 0,null,function*(){var Za,va;const za=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/header_info.json`,{method:"get"});(za==null?void 0:za.status)===0&&(Jt([...(Za=za==null?void 0:za.data)==null?void 0:Za.course_groups]),On([...(va=za==null?void 0:za.data)==null?void 0:va.course_groups]))}),Ca=Za=>Ko(void 0,null,function*(){var va;Za==1&&(at=[]),Pn(!0),_e.page=Za,Xn(!0);const za=yield ie({type:"exercise/getRedoModal",payload:Uo(Ei({},_e),{commit_types:_e.commit_types.includes(0)?[]:_e.commit_types,score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});((va=za==null?void 0:za.exercise_users)==null?void 0:va.length)<_e.limit&&Pn(!1),za!=null&&za.exercise_users&&(Ut(Ei({},_e)),Oe([...at,...za==null?void 0:za.exercise_users]),Xn(!1))}),ia=Za=>{if(Za.target.checked){const va=at==null?void 0:at.map(za=>za.user_id);Wn(va)}else Wn([])},rr=Za=>{_e.course_group=_e.save_course_group,_e.student_id=_e.save_student_id,_e.realname=_e.save_realname,Ut(Ei({},_e)),Oe([]),Ca(1)},ro=()=>{_e.one=_e.save_one,_e.two=_e.save_two,wn(an+1),Ut(Ei({},_e)),Oe([]),Ca(1)},Lr=()=>{(_e==null?void 0:_e.sort)===null?_e.sort="asc":(_e==null?void 0:_e.sort)==="asc"?_e.sort="desc":(_e==null?void 0:_e.sort)==="desc"&&(_e.sort=null),Ut(Ei({},_e)),Oe([]),Ca(1)},Ua=()=>{let Za=!1;const va=()=>Ko(void 0,null,function*(){(yield(0,ne.q6)(Uo(Ei({},_e),{is_reset:Za,user_ids:_n}))).status===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),dt&&dt(),ie({type:"exercise/setActionTabs",payload:{}})),ie({type:"exercise/getCommonHeader",payload:Ei({},_e)})});Fe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Ir.createElement("div",{style:{margin:"13px 0 0px 0"}},Ir.createElement("p",null,"\u786E\u5B9A\u5C06\u9009\u4E2D\u7684\u5B66\u751F\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Ir.createElement(Ne.default,{onChange:za=>{Za=za.target.checked}},"\u6E05\u7A7A\u5B66\u751F\u7684\u7B54\u9898\u8BB0\u5F55")),onOk:va})},sn=Za=>{const va=parseInt(Za);return isNaN(va)?"":va},tt=(Za,va)=>Za===0?Ir.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Za===1?Ir.createElement("span",{style:{color:"#DF3042"}},!va.is_make_up&&"\u8003\u8BD5\u4E2D",va.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Za===2?Ir.createElement("span",{style:{color:"#5AB891"}},!va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377",va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):Ir.createElement("span",{style:{color:"#5AB891"}},!va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",va.is_make_up&&!va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!va.is_make_up&&va.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)");return Ir.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u91CD\u505A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",width:1e3,bodyStyle:{minHeight:200},confirmLoading:aa,afterClose:()=>{Ut(Ei({},Dt)),Wn([]),Oe([]),ka(""),On([]),Jt([]),ga.resetFields()},onOk:Ua,onCancel:()=>{ie({type:"exercise/setActionTabs",payload:{}})}},Ir.createElement(re.Z,{align:"middle",gutter:20},Ir.createElement(ve.Z,null,Ir.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Ir.createElement(ve.Z,null,Ir.createElement(Ne.default,{className:"mr10",onChange:Za=>{Ut(Uo(Ei({},_e),{commit_types:[0]}))},checked:_e==null?void 0:_e.commit_types.includes(0)},"\u5168\u90E8"),Ir.createElement(Ne.default.Group,{options:[{label:"\u5DF2\u4EA4\u5377",value:1},{label:"\u5DF2\u4EA4\u5377\uFF08\u5F3A\u5236\uFF09",value:2},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54",value:3},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54\uFF08\u5F3A\u5236\uFF09",value:4}],value:_e.commit_types,onChange:Za=>{Ut(Uo(Ei({},_e),{commit_types:Za}))}}))),Ir.createElement(re.Z,{className:"mt20 mb20",align:"middle",justify:"space-between"},Ir.createElement(ve.Z,null,Ir.createElement(re.Z,{align:"middle",gutter:20},Ir.createElement(ve.Z,null,Ir.createElement("span",null,"\u5206\u6570\u533A\u95F4")),Ir.createElement(ve.Z,null,Ir.createElement(Te.Z,{parser:sn,onChange:Za=>{Ut(Uo(Ei({},_e),{save_one:Za}))},value:_e.save_one,min:0}),Ir.createElement("span",{className:"mr10 ml10"},"-"),Ir.createElement(Te.Z,{parser:sn,onChange:Za=>{Ut(Uo(Ei({},_e),{save_two:Za}))},value:_e.save_two,min:0})),Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{onClick:()=>{Ut(Uo(Ei({},_e),{one:"",two:"",save_one:"",save_two:""}))}},"\u6E05\u7A7A")),Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{type:"primary",onClick:ro},"\u786E\u8BA4")))),Ir.createElement(ve.Z,null,Ir.createElement(re.Z,{wrap:!1,align:"middle",gutter:20},Ir.createElement(ve.Z,null,Ir.createElement(Se.default.Search,{value:_e.save_realname,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",onChange:Za=>{_e.save_realname=Za.target.value,Ut(Ei({},_e))},onSearch:rr})),Ir.createElement(ve.Z,null,Ir.createElement(y.Z,{dropdownRender:Za=>Ir.createElement("div",{className:"bg-white",style:{maxWidth:200,border:"1px solid #f7f7f7"}},Ir.createElement(de.default,{form:ga,initialValues:{course_group_ids:[]},onValuesChange:va=>{Ut(Ei(Ei({},_e),va))},onFinish:()=>{Ca(1)}},Ir.createElement("div",{style:{maxHeight:500,overflow:"auto",padding:"10px"}},Ir.createElement(Se.default,{allowClear:!0,suffix:Ir.createElement("i",{className:`iconfont icon-sousuo9 font14 ${ll.searchIcon}`}),className:ll.search,placeholder:"\u73ED\u7EA7\u540D\u79F0\u68C0\u7D22",size:"middle",value:la,onChange:va=>Ko(void 0,null,function*(){var za;ka((za=va==null?void 0:va.target)==null?void 0:za.value),Jt([...Ga.filter(ur=>{var Ha;return(Ha=ur==null?void 0:ur.exercise_group_name)==null?void 0:Ha.includes(va.target.value)})])})}),Ir.createElement(de.default.Item,{name:"course_group_ids",valuePropName:"checked"},Ir.createElement(Ne.default.Group,null,Ir.createElement(Me.Z,{direction:"vertical",size:10},pa==null?void 0:pa.map((va,za)=>Ir.createElement(Ne.default,{key:za,value:va==null?void 0:va.exercise_group_id},va==null?void 0:va.exercise_group_name)))))),Ir.createElement(re.Z,{wrap:!1,align:"middle"},Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{type:"link",htmlType:"submit"},"\u786E\u8BA4")),Ir.createElement(ve.Z,null,Ir.createElement(Ce.ZP,{type:"link",htmlType:"reset",onClick:()=>{Ut(Uo(Ei({},_e),{course_group_ids:[]})),Jt([...Ga]),ka("")}},"\u91CD\u7F6E")))))},Ir.createElement("a",{onClick:Za=>Za.preventDefault()}," ",Ir.createElement(Me.Z,null," \u5206\u73ED ",Ir.createElement("i",{className:"iconfont icon-a-bianzu11 font12"})," "))))))),Ir.createElement("div",{className:ll.head,style:(at==null?void 0:at.length)>5?{paddingRight:15}:{width:944}},Ir.createElement("div",null,Ir.createElement(Ne.default,{className:"font14",checked:at!=null&&at.length?(_n==null?void 0:_n.length)===(at==null?void 0:at.length):!1,onChange:ia},"\u59D3\u540D")),Ir.createElement("div",null,Ir.createElement("span",null,"\u5B66\u53F7")),Ir.createElement("div",null,Ir.createElement("span",null,"\u5206\u73ED")),Ir.createElement("div",null,Ir.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Ir.createElement("div",{className:ll.sort,onClick:Lr},Ir.createElement("span",null,"\u6210\u7EE9\u5206\u6570"),Ir.createElement("aside",null,Ir.createElement(ti.Z,{style:{color:(_e==null?void 0:_e.sort)==="asc"?"#0152d9":"#bfbfbf"}}),Ir.createElement(te.Z,{style:{color:(_e==null?void 0:_e.sort)==="desc"?"#0152d9":"#bfbfbf"}})))),Ir.createElement("div",{style:{height:260,overflow:"auto"}},Ir.createElement(Dl(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!Zn&&Pe&&Ca((_e==null?void 0:_e.page)+1)},hasMore:!Zn&&Pe,useWindow:!1},Ir.createElement(Ne.default.Group,{style:{width:"100%"},value:_n,onChange:Za=>{console.log(Za,444),Wn(Za)}},at==null?void 0:at.map(function(Za,va){return Ir.createElement("div",{key:Za.user_id,className:ll.row},Ir.createElement("div",null,Ir.createElement(Ne.default,{className:"font14",value:Za.user_id},Za.user_name)),Ir.createElement("div",null,Za.student_id),Ir.createElement("div",null,Za.course_group_name),Ir.createElement("div",null,tt(Za.commit_status,Za)),Ir.createElement("div",{className:"pl10"},Ir.createElement("span",null,Za.user_score)))})),Ir.createElement(Ft.Z,{className:"edu-ant-spin",spinning:Zn}))),Ir.createElement("div",{className:ll.title},Ir.createElement("img",{style:{objectFit:"contain"},src:Yl.Z}),"\u6253\u56DE\u4E4B\u540E\u5B66\u751F\u5C06\u5F97\u5230\u4E00\u6B21\u91CD\u65B0\u7B54\u9898\u7684\u673A\u4F1A\u3002"))};var Ho=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe}))($o),Po={flex_box_center:"flex_box_center___PohMo",flex_space_between:"flex_space_between___ZyAuO",flex_box_vertical_center:"flex_box_vertical_center___eh0B6",flex_box_center_end:"flex_box_center_end___O1yBK",flex_box_column:"flex_box_column___rCOUW",customModal:"customModal___gYgfZ",checking:"checking___70GE9",content:"content___FtAfN",group:"group___kIfCW",footer:"footer___A6aEg",scoremodal:"scoremodal___FKFBU",selectWrapper:"selectWrapper___J8t1k",allqingchu:"allqingchu___UjfNm",title:"title___tB39D",search:"search___Pnsp3",searchIcon:"searchIcon___mVW2x"},qa=x(59301),vo=Object.defineProperty,pl=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,Tu=(me,pe,ie)=>pe in me?vo(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Wu=(me,pe)=>{for(var ie in pe||(pe={}))Jl.call(pe,ie)&&Tu(me,ie,pe[ie]);if(pl)for(var ie of pl(pe))Qu.call(pe,ie)&&Tu(me,ie,pe[ie]);return me},Su=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Au=({exercise:me,dispatch:pe,onOk:ie})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Ut,at]=(0,a.useState)(),[Oe,Pe]=(0,a.useState)([]),[Pn,Zn]=(0,a.useState)(!0),[Xn,an]=(0,a.useState)(!1),[wn]=de.default.useForm(),[aa,Aa]=(0,a.useState)({page:1,limit:10,is_random:"",exercise_status:""}),_n=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",render:(Jt,ga,la)=>aa.limit*(aa.page-1)+la+1},{title:"\u8865\u8003\u8BD5\u5377",dataIndex:"exercise_name",key:"id",width:200,render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u7C7B\u578B",dataIndex:"is_random",key:"is_random",render:(Jt,ga,la)=>qa.createElement("span",null,Jt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377")},{title:"\u8BD5\u9898\u6570",dataIndex:"question_count",key:"question_count",render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u603B\u5206",dataIndex:"total_score",key:"total_score",render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u8865\u8003\u4EBA\u6570",dataIndex:"exercise_user_count",key:"exercise_user_count",render:(Jt,ga,la)=>qa.createElement("span",null,Jt||"- -")},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",render:(Jt,ga,la)=>qa.createElement("span",null,Jt===1?"\u672A\u5F00\u59CB":Jt===2?"\u8003\u8BD5\u4E2D":"\u5DF2\u622A\u6B62")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",width:80,align:"right",render:(Jt,ga,la)=>qa.createElement("div",{style:{flex:1,textAlign:"right"}},qa.createElement("a",{onClick:()=>{(0,ue.xg)(`/classrooms/${dt.coursesId}/exercise/${ga.id}/detail?random=${ga.is_random}`)}},"\u67E5\u770B"))}].filter(Jt=>!!Jt);(0,a.useEffect)(()=>{me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55"&&Wn(aa)},[me.actionTabs.key]);const Wn=Jt=>Su(void 0,null,function*(){var ga,la;Zn(!0);const ka=yield(0,fe.ZP)(`/api/exercises/${dt==null?void 0:dt.categoryId}/make_up_records.json`,{method:"get",params:Wu({},Jt)});ka&&(_e(((ga=ka==null?void 0:ka.data)==null?void 0:ga.make_up_exercises)||[]),at((la=ka==null?void 0:ka.data)==null?void 0:la.count)),Zn(!1)}),Ga=()=>{pe({type:"exercise/setActionTabs",payload:{}})},On=()=>{ie(Oe)},pa=Jt=>{Pe(Jt),an(Jt.length===Dt.length)};return qa.createElement(Fe.default,{centered:!0,afterClose:()=>{Pe([]),an(!1),wn.resetFields(),Aa({page:1,limit:10,is_random:"",exercise_status:""})},title:"\u8865\u8003\u8BB0\u5F55",className:Po.scoremodal,open:me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55",width:1e3,onOk:()=>pe({type:"exercise/setActionTabs",payload:{}}),onCancel:Ga},qa.createElement(de.default,{layout:"inline",form:wn,onValuesChange:(Jt,ga)=>{console.log(Jt),!(Jt.keywords||Jt.keywords==="")&&wn.submit()},onFinish:Jt=>{console.log(Jt),Aa(Wu(Wu({},aa),Jt)),Wn(Wu(Wu({},aa),Jt))},initialValues:{is_random:"",exercise_status:""}},qa.createElement(de.default.Item,{name:"is_random"},qa.createElement(dn.default,{className:Po.selectWrapper,placeholder:"\u5168\u90E8\u7C7B\u578B",style:{width:160},size:"middle"},qa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u7C7B\u578B"),qa.createElement(dn.default.Option,{value:0},"\u4EBA\u5DE5\u7EC4\u5377"),qa.createElement(dn.default.Option,{value:1},"\u968F\u673A\u7EC4\u5377"))),qa.createElement(de.default.Item,{name:"exercise_status"},qa.createElement(dn.default,{className:Po.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:160},size:"middle"},qa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u72B6\u6001"),qa.createElement(dn.default.Option,{value:1},"\u672A\u5F00\u59CB"),qa.createElement(dn.default.Option,{value:2},"\u8003\u8BD5\u4E2D"),qa.createElement(dn.default.Option,{value:3},"\u5DF2\u622A\u6B62"))),qa.createElement(de.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keywords"},qa.createElement(Se.default.Search,{className:Po.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,suffix:qa.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Po.searchIcon}`,onClick:()=>wn.submit()}),onSearch:Jt=>{wn.submit()}}))),qa.createElement(z.default,{style:{marginTop:20,marginBottom:15},scroll:{y:260},dataSource:Dt,pagination:!1,loading:Pn,columns:_n}),(Dt==null?void 0:Dt.length)>0&&qa.createElement(xe.Z,{current:aa.page,total:Ut,style:{marginBottom:20},defaultPageSize:aa.limit,showTotal:Jt=>qa.createElement("span",null,"\u5171\xA0",qa.createElement("span",{style:{color:"#165DFF"}},Jt),"\xA0\u6761\u6570\u636E"),pageSize:aa.limit,onChange:(Jt,ga)=>{aa.page=Jt,aa.limit=ga,Aa(Wu({},aa)),Wn(Wu({},aa))}}))};var al=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Au),Hu={info:"info___FCajO",info_name:"info_name___nVPNy",info_studeng_id:"info_studeng_id___afKvd",info_group:"info_group___xadCu"},as="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfQlwW8eZZvcDQIIXeIgnCJ4iRUK8SUmUKFmSZcty4nicTCaZOJ44lgk6s1u73kxqZ7d2Z1Nj18y6tnYmm0ylslOxSMtSZqxax0msXJYlS6Jk8SZAALzFSyRx8BQJgARIAni91TSAgQiAeHh4OEi8rlJREvv4++v+Xh//0RCwiUWARcAjApDFhkWARcAzAixB2NnBIrALAixB2OnBIsAShJ0DLAL0EGBXEHq4saUiBAGWIBEy0Gw36SHAEoQebmypCEGAJUiEDDTbTXoIsAShhxtbKkIQYAkSIQPNdpMeAixB6OHGlooQ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iIRmV5eVlgMpkEHA5HYLVat6+E8eNAVqtVHxMToz9w4IA+RKKxzTohwBKEnQ4sArsgwBKEnR4sAixB2DnAIkAPAXYFoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEARYgkTIQLPdpIcASxB6uLGlIgQBliARMtBsN+khwBKEHm5sqQhBgCVIhAw02016CLAEoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEARYgkTIQLPdpIcASxB6uLGlIgQBliARMtBsN+khwBKEHm5sqQhBgCVIhAw02016CLAEoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEAT+Py6PXhNcWplkAAAAAElFTkSuQmCC",Wi=Object.defineProperty,Ji=Object.defineProperties,ru=Object.getOwnPropertyDescriptors,vu=Object.getOwnPropertySymbols,Pu=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,Vu=(me,pe,ie)=>pe in me?Wi(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Lu=(me,pe)=>{for(var ie in pe||(pe={}))Pu.call(pe,ie)&&Vu(me,ie,pe[ie]);if(vu)for(var ie of vu(pe))ci.call(pe,ie)&&Vu(me,ie,pe[ie]);return me},Ii=(me,pe)=>Ji(me,ru(pe)),cl=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const Ou=({exercise:me,loading:pe,dispatch:ie,cb:dt})=>{const Dt=Ii(Lu({},(0,ye.useParams)()),{page:0,limit:20});let[_e,Ut]=(0,a.useState)(Lu({},Dt)),[at,Oe]=(0,a.useState)([]),[Pe,Pn]=(0,a.useState)({});const[Zn,Xn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(!0);(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55"&&(at=[],Aa(1))},[me.actionTabs.key]);const aa=[{title:"\u6253\u56DE\u6B21\u6570",ellipsis:!0,dataIndex:"index",align:"center",render:(_n,Wn,Ga)=>a.createElement(De.Z,{placement:"bottom",title:Ga+1},a.createElement("span",null,Ga+1))},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"submission_time",ellipsis:!0,align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:Qe()(_n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Qe()(_n).format("YYYY-MM-DD HH:mm")))},{title:"\u6253\u56DE\u65F6\u95F4",dataIndex:"created_at",align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:Qe()(_n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Qe()(_n).format("YYYY-MM-DD HH:mm")))},{title:"\u8003\u8BD5\u5F97\u5206",dataIndex:"score",ellipsis:!0,align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:_n},a.createElement("span",null,_n||"--"))},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"option_user_name",ellipsis:!0,align:"center",render:_n=>a.createElement(De.Z,{placement:"bottom",title:_n},a.createElement("span",null,_n||"--"))}],Aa=_n=>cl(void 0,null,function*(){var Wn;_n==1&&(at=[]),Xn(!0),_e.page=_n,_e.student_id=me.actionTabs.student_id,wn(!0);const Ga=yield ie({type:"exercise/getRedoListModal",payload:Ii(Lu({},_e),{score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});Pn(Lu({},Ga)),((Wn=Ga==null?void 0:Ga.student_redo_lists)==null?void 0:Wn.length)<_e.limit&&Xn(!1),Ga!=null&&Ga.student_redo_lists&&(Ut(Lu({},_e)),Oe([...at,...Ga==null?void 0:Ga.student_redo_lists]),wn(!1))});return a.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u8BB0\u5F55",open:me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55",width:1e3,bodyStyle:{minHeight:300},cancelButtonProps:{style:{display:"none"}},okButtonProps:{style:{display:"none"}},afterClose:()=>{Ut(Lu({},Dt)),Oe([])},onCancel:()=>{ie({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:Hu.info},a.createElement("div",{className:Hu.info_name},"\u59D3\u540D\uFF1A",(Pe==null?void 0:Pe.name)||"--"),a.createElement("div",{className:Hu.info_studeng_id},"\u5B66\u53F7\uFF1A",(Pe==null?void 0:Pe.student_id)||"--"),a.createElement("div",{className:Hu.info_group},"\u5206\u73ED\uFF1A",(Pe==null?void 0:Pe.course_group_name)||"--")),(at==null?void 0:at.length)===0&&!an&&a.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},a.createElement("img",{src:as,width:"100",alt:""}),a.createElement("br",null),a.createElement("p",{className:"mt20"},"\u8BE5\u5B66\u751F\u65E0\u6253\u56DE\u8BB0\u5F55!")),((at==null?void 0:at.length)>0||an)&&a.createElement("section",null,a.createElement("div",{className:"flexd-table-header mt20"},a.createElement(z.default,{pagination:!1,dataSource:[],columns:aa})),a.createElement("div",{style:{maxHeight:170,overflow:"auto"}},a.createElement(Dl(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!an&&Zn&&Aa((_e==null?void 0:_e.page)+1)},hasMore:Zn,useWindow:!1},a.createElement(z.default,{loading:an,showHeader:!1,pagination:!1,rowKey:"submission_time",dataSource:at,columns:aa})))))};var hu=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe}))(Ou),Ns=x(72936),As=x(74768),$u={flex_box_center:"flex_box_center___WY2F6",flex_space_between:"flex_space_between___iUTlt",flex_box_vertical_center:"flex_box_vertical_center___mDkSS",flex_box_center_end:"flex_box_center_end___Wn6Ih",flex_box_column:"flex_box_column___fErgP",customModal:"customModal___WBifT",checking:"checking___THUYH",content:"content___OYuOv",group:"group___mn5IG",footer:"footer___yBjyD"},rs=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const yu=({exercise:me,dispatch:pe,onOk:ie})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Ut,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)(!0),[Pn,Zn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"&&Xn()},[me.actionTabs.key]);const Xn=()=>rs(void 0,null,function*(){Pe(!0);const Aa=yield(0,fe.ZP)(`/api/courses/${dt==null?void 0:dt.coursesId}/exercises/exercise_course_groups.json`,{method:"get",params:{id:dt==null?void 0:dt.categoryId}});Aa&&_e((Aa==null?void 0:Aa.course_groups)||[]),Pe(!1)}),an=()=>{pe({type:"exercise/setActionTabs",payload:{}})},wn=()=>{ie(Ut)},aa=Aa=>{at(Aa),Zn(Aa.length===Dt.length)};return a.createElement(Fe.default,{centered:!0,afterClose:()=>{at([]),Zn(!1)},title:"\u4EE3\u7801\u67E5\u91CD",open:me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD",footer:null,width:718,wrapClassName:$u.customModal,onCancel:an},a.createElement("aside",{className:$u.checking},a.createElement("div",{className:$u.content},a.createElement("div",{className:$u.group},Dt.length>0?a.createElement("p",null,"\u9009\u62E9\u73ED\u7EA7\uFF1A"):a.createElement("p",null,"\u6682\u65E0\u5206\u73ED"),a.createElement(Ne.default.Group,{value:Ut,onChange:aa},Dt.map(Aa=>a.createElement(Ne.default,{key:Aa.id,value:Aa.id},Aa.name))))),a.createElement("div",{className:$u.footer},a.createElement(Ne.default,{checked:Pn,onChange:Aa=>{const _n=Aa.target.checked?Dt.map(Wn=>Wn.id):[];at(_n),Zn(Aa.target.checked)}},"\u5168\u9009"),a.createElement(Ce.ZP,{onClick:an},"\u53D6\u6D88"),a.createElement(Ce.ZP,{onClick:wn,type:"primary"},"\u786E\u8BA4"))))};var bu=(0,ye.connect)(({exercise:me})=>({exercise:me}))(yu),ks=x(24528),Ll={flex_box_center:"flex_box_center___Onpg9",flex_space_between:"flex_space_between___nYRpC",flex_box_vertical_center:"flex_box_vertical_center___NGA7H",flex_box_center_end:"flex_box_center_end___a2dUm",flex_box_column:"flex_box_column___c5CN2",formDom:"formDom___ahHwX",form:"form___TDc55",fjpy:"fjpy___dshUa",tips:"tips___sHetw",buttonFixed:"buttonFixed___oKPiL",buttonWrap:"buttonWrap___LDtpG",button:"button___ydPRd",scoreSettingWrapper:"scoreSettingWrapper___L7weV",ipItem:"ipItem___nAf_u",ipWrp:"ipWrp___x3LTQ",tagWrap:"tagWrap___PMN4b",tag:"tag___Auf1J",padding:"padding___veqnd",unlockKeyWrapper:"unlockKeyWrapper___UOERJ",unlockKeyInput:"unlockKeyInput___ItI9I",mb40:"mb40___eMjps",mb28:"mb28___ZxJPY",mainRuleText:"mainRuleText___U5cJS",minorRuleText:"minorRuleText___aZezx",contentInterval:"contentInterval___slPV9",CompetitionsListzhezhao:"CompetitionsListzhezhao___bTlUp",numberInput:"numberInput____ONIt",publishRuleIndex:"publishRuleIndex___s2cVA",publishRuleContent:"publishRuleContent___HohmS",groupSelector:"groupSelector___Zxqsw",addAndDelete:"addAndDelete___saTVM",deleteIcon:"deleteIcon___vnkck",addIcon:"addIcon___Yz7Ef",cancelBtn:"cancelBtn___p8Klw",submitBtn:"submitBtn___pmm2G",remindForm:"remindForm___K6X21",remindItem:"remindItem___Z7rRb",remindInput:"remindInput___r_wq3",addRemind:"addRemind___jbnIp",disabled:"disabled___ebijK",removeStyle:"removeStyle___ObL0w",new_title:"new_title___Te4vd",multiple_select:"multiple_select___K8cHJ",title_icon:"title_icon___s6qSK",title:"title___N_aja"},Du=x(59301),Ds=Object.defineProperty,Us=Object.defineProperties,$c=Object.getOwnPropertyDescriptors,Pi=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,Yu=Object.prototype.propertyIsEnumerable,Fu=(me,pe,ie)=>pe in me?Ds(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,os=(me,pe)=>{for(var ie in pe||(pe={}))iu.call(pe,ie)&&Fu(me,ie,pe[ie]);if(Pi)for(var ie of Pi(pe))Yu.call(pe,ie)&&Fu(me,ie,pe[ie]);return me},Xu=(me,pe)=>Us(me,$c(pe)),js=({disabled:me,time:pe})=>Du.createElement(de.default.List,{name:"exercise_events",rules:[{validator(ie,dt){var Dt,_e;const Ut=new Set;for(const at of dt){if(Ut.has(at.reminder_time))return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u5141\u8BB8\u91CD\u590D\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E"));if(at.reminder_time>pe)return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u7B54\u9898\u65F6\u957F"));if(Ut.add(at.reminder_time),!((_e=(Dt=at.reminder_content)==null?void 0:Dt.trim())!=null&&_e.length))return Promise.reject(new Error("\u63D0\u9192\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ie,{add:dt,remove:Dt})=>Du.createElement("div",{className:Ll.remindForm},ie.length>0&&Du.createElement("div",null,ie.map((_e,Ut)=>Du.createElement(re.Z,{key:_e.key,align:"middle",wrap:!1,className:Ll.remindItem},Du.createElement("span",{className:"mr10",style:{marginLeft:"32px"}},Ut+1,".\u7B54\u9898\u7ED3\u675F\u524D"),Du.createElement(ve.Z,null,Du.createElement(de.default.Item,Xu(os({},_e),{name:[_e.name,"reminder_time"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u65F6\u95F4"}],noStyle:!0}),Du.createElement(Te.Z,{precision:0,min:1,disabled:me,addonAfter:"\u5206\u949F",className:Ll.remindInput}))),Du.createElement("span",{className:"mr10 ml10"},"\u8FDB\u884C\u63D0\u9192\uFF0C\u63D0\u9192\u5185\u5BB9\u4E3A"),Du.createElement(ve.Z,{flex:1},Du.createElement(de.default.Item,Xu(os({},_e),{name:[_e.name,"reminder_content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u5185\u5BB9"}],noStyle:!0}),Du.createElement(Se.default,{className:Ll.remindInput,disabled:me,showCount:!0,maxLength:100}))),Du.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187",opacity:me?.5:1},onClick:()=>{me||dt({reminder_time:""})}}),Du.createElement("i",{className:"iconfont icon-shanjian1",style:{color:"#E30000",cursor:"pointer",fontSize:16,visibility:me?"hidden":"visible"},onClick:()=>Dt(_e.name)})))),ie.length<5&&Du.createElement(re.Z,{style:{marginLeft:"30px"}},Du.createElement(ve.Z,{className:`${Ll.addRemind} ${me?Ll.disabled:""}`,onClick:()=>{me||dt({reminder_time:""})}},Du.createElement("i",{className:"iconfont icon-tianjiashitixiaojiahao mr5 font14"}),"\u6DFB\u52A0\u7B54\u9898\u63D0\u9192")))),cc=x(41996),jc=x(66457),ed=x(83028),Zc=x(60979),Co=x(59301),Hc=Object.defineProperty,dc=Object.defineProperties,nc=Object.getOwnPropertyDescriptors,vd=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,td=Object.prototype.propertyIsEnumerable,gc=(me,pe,ie)=>pe in me?Hc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Cs=(me,pe)=>{for(var ie in pe||(pe={}))mc.call(pe,ie)&&gc(me,ie,pe[ie]);if(vd)for(var ie of vd(pe))td.call(pe,ie)&&gc(me,ie,pe[ie]);return me},fc=(me,pe)=>dc(me,nc(pe)),ac=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const{RangePicker:pc}=xn.default,{Option:zc}=dn.default,Sd=({user:me,classroomList:pe,exercise:ie,globalSetting:dt,loading:Dt,dispatch:_e,changeActive:Ut})=>{var at,Oe,Pe,Pn,Zn,Xn,an,wn,aa,Aa,_n,Wn,Ga;const{workSetting:On,commonHeader:pa}=ie,Jt=(0,ye.useParams)();Jt.category=Jt.categoryId;const[ga,la]=(0,a.useState)(!1),[ka,Yt]=(0,a.useState)(!1),[Ca,ia]=(0,a.useState)(),[rr,ro]=(0,a.useState)({});let[Lr,Ua]=(0,a.useState)([]),[sn,tt]=(0,a.useState)({unified_setting:!1,publish_time:"",end_time:"",group_settings:[],time:-1,enable_last_times:!1,last_times:1,open_make_up:!1,unified_make_up:!1,make_up_score:0,group_make_ups:[],miss_exam_count:0,no_passing_count:0,is_make_up_exercise:!1,exercise_status:1,is_appoint_user:!1,is_no_passing_user:!1,is_miss_exam_user:!1,enable_answer_time:!1,answer_time:"",exercise_type:1,simulate_exercise_num:3,show_acm:!1});const[Za,va]=(0,a.useState)(1),[za,ur]=(0,a.useState)(!1),[Ha,Vr]=(0,a.useState)(!1),[Va,Da]=(0,a.useState)(!1),[Or,Sr]=(0,a.useState)(!1),[or,ea]=(0,a.useState)([]),[_a,ya]=(0,a.useState)([]),[ra,xa]=(0,a.useState)(!1),[qn,nr]=(0,a.useState)(null),[vr,xr]=(0,a.useState)({});(0,a.useEffect)(()=>{((pa==null?void 0:pa.exercise_status)==="5"||pa!=null&&pa.appraise_label||(0,bt.aQ)())&&la(!0)},[pa]),(0,a.useEffect)(()=>{Zr()},[On]),(0,a.useEffect)(()=>{(0,bt.dE)()||ho()},[]),(0,a.useEffect)(()=>{ie.actionTabs.key=="\u8C03\u6574tabs\u9009\u4E2D"&&Ut("2")},[ie.actionTabs.key]);function ho(){return ac(this,null,function*(){const eo=yield(0,fe.ZP)(`/api/courses/${Jt==null?void 0:Jt.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:Jt==null?void 0:Jt.coursesId}});ia(eo==null?void 0:eo.alert)})}const Eo=eo=>{var Kl;const Ui=sn.publish_time;if(!Ui||(Kl=On==null?void 0:On.exercise)!=null&&Kl.publish_time)return;let mu;eo===1?mu=Qe()(Ui).add(120,"minutes"):mu=Qe()(Ui).add(7,"days"),sn.end_time=mu,tt(Object.assign({},sn))},Zr=()=>{var eo,Kl,Ui,mu,Uu;console.log("\u53D6\u6D88");const su=JSON.parse(JSON.stringify(On));if(Object.keys(sn).forEach(jl=>{var Nu;sn[jl]=(Nu=su==null?void 0:su.exercise)==null?void 0:Nu[jl]}),Lr=((eo=su==null?void 0:su.published_course_groups)==null?void 0:eo.map(jl=>({course_group_id:jl.course_group_id,end_time:jl.course_end_time,publish_time:jl.course_publish_time})))||[{}],(Kl=On==null?void 0:On.course_groups)==null||Kl.map(jl=>{var Nu;(Nu=On==null?void 0:On.published_course_groups)==null||Nu.map((Vs,Gu)=>{var wr;(wr=Vs==null?void 0:Vs.course_group_id)!=null&&wr.includes(jl==null?void 0:jl.course_group_id)&&(jl.cilckkey=Gu,jl.isselect=!0)})}),ie.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"&&Gl(""),ur(sn.time!==-1),tt(sn),sn!=null&&sn.is_appoint_user){const jl=((mu=(Ui=su==null?void 0:su.exercise)==null?void 0:Ui.all_exercise_users)==null?void 0:mu.map(Nu=>Nu.user_id))||[];ea([...jl])}Vr(sn.is_appoint_user),Da(sn.is_miss_exam_user),Sr(sn.is_no_passing_user),Ua(Lr.length>0?Lr:[{}]),Iu.setFieldsValue({exercise_events:(Uu=su==null?void 0:su.exercise)==null?void 0:Uu.exercise_events})},sr=()=>ac(void 0,null,function*(){var eo,Kl,Ui,mu,Uu,su;if(((eo=me==null?void 0:me.userInfo)==null?void 0:eo.user_status)===2){(0,jc.Rd)();return}if((pa==null?void 0:pa.exercise_question_count)===0){oe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}const jl=JSON.parse(JSON.stringify(sn));console.log("\u63D0\u4EA4");try{yield Iu.validateFields();const Gu=Iu.getFieldsValue();jl.exercise_events=Gu.exercise_events}catch(Gu){Gu!=null&&Gu.errorFields&&(Iu.scrollToField((Ui=(Kl=Gu==null?void 0:Gu.errorFields)==null?void 0:Kl[0])==null?void 0:Ui.name,{behavior:"smooth",block:"center"}),oe.ZP.error((su=(Uu=(mu=Gu==null?void 0:Gu.errorFields)==null?void 0:mu[0])==null?void 0:Uu.errors)==null?void 0:su[0]));return}if(jl.categoryId=Jt.categoryId,jl.publish_time_groups=Lr,sn!=null&&sn.is_make_up_exercise){if(Ha&&or.length<=0||!Ha&&!(Va||Or)){oe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}jl.is_appoint_user=Ha,jl.is_miss_exam_user=Va,jl.is_no_passing_user=Or,Ha?jl.make_up_exercise_users=or==null?void 0:or.map(Gu=>({user_id:Gu})):jl.make_up_exercise_users=[]}if(!sn.unified_setting&&!(sn!=null&&sn.is_make_up_exercise)){if(!Lr.length){oe.ZP.warning("\u63D0\u4EA4\u5931\u8D25\uFF1A\u5206\u73ED\u53D1\u5E03\u8BBE\u7F6E\u4E0D\u80FD\u4E3A\u7A7A");return}delete jl.publish_time,delete jl.end_time,Lr.map(Gu=>{var wr;if(!Gu.course_group_id||!((wr=Gu.course_group_id)!=null&&wr.length))throw oe.ZP.error("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A");if(!Gu.publish_time||!Gu.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")})}else if(!sn.publish_time||!sn.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");let{exercise:Nu}=On;const Vs=()=>ac(void 0,null,function*(){if(sn.exercise_type==2&&(Nu.is_locked||Nu.open_camera||Nu.screen_open||Nu.login_restrict||Nu.ip_bind||Nu.ip_limit=="pub"||Nu.ip_limit=="inner"||Nu.identity_verify||Nu.open_phone_video_recording)){const wr=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:Co.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",Co.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Nu)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>ac(void 0,null,function*(){let dl=yield(0,Zc.Tr)({exercise_ids:[parseInt(Jt==null?void 0:Jt.categoryId)],course_id:Jt.coursesId,type:"exercise"});(dl==null?void 0:dl.student_count)===0?io(jl):(ro(jl),xr(dl)),Ut("2")}),onCancel:()=>ac(void 0,null,function*(){wr.destroy();let dl=yield(0,Zc.Tr)({exercise_ids:[Jt==null?void 0:Jt.categoryId],course_id:Jt.coursesId,type:"exercise"});(dl==null?void 0:dl.student_count)===0?io(jl):(ro(jl),xr(dl))})});return}let Gu=yield(0,Zc.Tr)({exercise_ids:[Jt==null?void 0:Jt.categoryId],course_id:Jt.coursesId,type:"exercise"});(Gu==null?void 0:Gu.student_count)===0?io(jl):(ro(jl),xr(Gu))});pa!=null&&pa.high_resources_consume&&!(pa!=null&&pa.high_resources_consume_permission)?_e({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Jt.coursesId,type:"exercise",type_id:Jt.categoryId,name:pa.exercise_name,fn:()=>{Vs()}}}):Vs()}),io=eo=>ac(void 0,null,function*(){Yt(!0),(yield(0,fe.ZP)(`/api/exercises/${Jt==null?void 0:Jt.categoryId}/publish_settings.json`,{method:"post",body:eo})).status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Gl(""),_e({type:"exercise/getCommonHeader",payload:Cs({},Jt)}),_e({type:"exercise/getWorkSetting",payload:Cs({},Jt)})),Yt(!1)}),yo=eo=>eo&&eosn.end_time?eo&&(eo{var Kl,Ui;return((Kl=On==null?void 0:On.exercise)==null?void 0:Kl.exercise_status)>1&&!(eo!=null&&eo.new)?!0:(Ui=On==null?void 0:On.published_course_groups)!=null&&Ui.some(mu=>mu.course_group_id===eo.course_group_id)?ga:!1},Yi=eo=>{var Kl;return ga?[!0,!0]:(Kl=On==null?void 0:On.published_course_groups)!=null&&Kl.some(Ui=>{var mu,Uu;return((mu=Ui.course_group_id)==null?void 0:mu[0])===((Uu=eo.course_group_id)==null?void 0:Uu[0])})?ga||Qe()()>Qe()(eo==null?void 0:eo.publish_time)?[!0,!1]:[!1,!1]:[!1,!1]};(0,a.useEffect)(()=>{Gl("\u8868\u5355\u672A\u4FDD\u5B58")},[sn]);const Gl=(eo="")=>{_e({type:"exercise/setActionTabs",payload:{key:eo}})},_i=eo=>{eo.preventDefault(),eo.returnValue=""},ku=(eo,Kl,Ui)=>{if(eo<=0){oe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}else ea(Kl),ya(Ui),xa(!1)},[Iu]=de.default.useForm();return Co.createElement("section",{className:Ll.form,style:{padding:"30px 50px",marginBottom:"0px"}},Co.createElement(Ft.Z,{spinning:Dt["exercise/getWorkSetting"]||ka},!(sn!=null&&sn.is_make_up_exercise)&&Co.createElement(Co.Fragment,null,Co.createElement("div",{className:Ll.new_title,style:{marginTop:"0px"}},"\u8003\u8BD5\u53D1\u5E03"),Co.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Co.createElement(be.ZP.Group,{onChange:()=>{var eo,Kl,Ui,mu,Uu;if((0,bt.Rm)()&&(!((Kl=(eo=pe==null?void 0:pe.AssistantObject)==null?void 0:eo.exercise)!=null&&Kl.can_publish)||!((mu=(Ui=pe==null?void 0:pe.AssistantObject)==null?void 0:Ui.exercise)!=null&&mu.can_late))){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(((Uu=On==null?void 0:On.exercise)==null?void 0:Uu.exercise_status)>1){oe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539");return}sn.unified_setting=!sn.unified_setting,sn.unified_setting===!1&&Lr==""&&Ua(Lr.concat({})),tt(Object.assign({},sn))},value:sn.unified_setting,disabled:ga||((at=On==null?void 0:On.exercise)==null?void 0:at.exercise_status)>1},Co.createElement(be.ZP,{value:!0,disabled:!((Oe=On==null?void 0:On.exercise)!=null&&Oe.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),((Pe=On.course_groups)==null?void 0:Pe.length)>0&&Co.createElement(be.ZP,{value:!1},"\u5206\u73ED\u53D1\u5E03")))),!(pa!=null&&pa.is_make_up_exercise)&&Co.createElement("div",{style:{color:"red"}},((Pn=On==null?void 0:On.exercise)==null?void 0:Pn.exercise_status)>1&&Ca&&"\u5F53\u524D\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\uFF0C\u4E3A\u63D0\u4F9B\u66F4\u597D\u7684\u670D\u52A1\uFF0C\u6211\u4EEC\u5C06\u8FDB\u884C\u670D\u52A1\u5668\u6269\u5BB9\uFF0C\u5EFA\u8BAE\u60A8\u572830\u5206\u949F\u540E\u53D1\u8D77\u8003\u8BD5\u3002\u60A8\u4E5F\u53EF\u4EE5\u7ACB\u5373\u53D1\u5E03\u3002"),(sn.unified_setting||(pa==null?void 0:pa.is_make_up_exercise))&&Co.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px",alignItems:"center",height:"50px"}},Co.createElement("div",{style:{color:"#666666",marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Co.createElement(De.Z,{placement:"bottom",title:((Zn=On==null?void 0:On.exercise)==null?void 0:Zn.exercise_status)>1&&"\u53D1\u5E03\u65F6\u95F4\u5DF2\u8FC7\uFF0C\u4E0D\u80FD\u4FEE\u6539"},Co.createElement(xn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Qe()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:yo,disabled:ga||((Xn=On==null?void 0:On.exercise)==null?void 0:Xn.exercise_status)>1||(0,bt.Rm)()&&!((wn=(an=pe==null?void 0:pe.AssistantObject)==null?void 0:an.exercise)!=null&&wn.can_publish),value:sn.publish_time?Qe()(sn.publish_time):void 0,allowClear:!1,onChange:(eo,Kl)=>{sn.publish_time=Kl,sn.end_time||(sn.end_time=sn.exercise_type===1?Qe()(eo).add(120,"minutes"):Qe()(eo).add(7,"days")),tt(Object.assign({},sn))}})),Co.createElement("div",{style:{color:"#666666",marginLeft:"60px"}},"\u622A\u6B62\u65F6\u95F4"),Co.createElement(xn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Qe()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:ga||(0,bt.Rm)()&&!((Aa=(aa=pe==null?void 0:pe.AssistantObject)==null?void 0:aa.exercise)!=null&&Aa.can_late)||(pa==null?void 0:pa.open_appraise),allowClear:!1,value:sn.end_time?Qe()(sn.end_time):void 0,disabledDate:kl,onChange:(eo,Kl)=>{var Ui,mu;if((0,bt.Rm)()&&!((mu=(Ui=pe==null?void 0:pe.AssistantObject)==null?void 0:Ui.exercise)!=null&&mu.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}sn.end_time=Kl,tt(Object.assign({},sn))}})),!sn.unified_setting&&!(pa!=null&&pa.is_make_up_exercise)&&Co.createElement("div",{style:{color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Lr&&Lr.map(function(eo,Kl){var Ui,mu,Uu;return Co.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:Kl==(Lr==null?void 0:Lr.length)-1?"0px":"10px"}},Co.createElement("div",{style:{width:"75px",marginLeft:"23px"}},"\u53D1\u5E03\u89C4\u5219",Kl+1),Co.createElement(dn.default,{showArrow:!0,allowClear:!0,className:Ll.multiple_select,disabled:ga||((Ui=On==null?void 0:On.homework_status)!=null&&Ui.includes("\u672A\u53D1\u5E03")&&eo.id||Qe()(){Lr[Kl].course_group_id=su,Ua(Lr.slice()),On.course_groups.map((jl,Nu)=>{su.map((Vs,Gu)=>{jl.course_group_id===Vs&&(jl.cilckkey=Kl,jl.isselect=!0)})})},onDeselect:su=>{On.course_groups.map((jl,Nu)=>{jl.course_group_id===su&&jl.cilckkey===Kl&&(jl.cilckkey=Kl,jl.isselect=!1)})}},On.course_groups&&On.course_groups.map(function(su,jl){return Co.createElement(zc,{disabled:(su==null?void 0:su.isselect)&&su.cilckkey!=Kl,label:su.course_group_name,value:su.course_group_id,key:su.course_group_id},su.course_group_name)})),Co.createElement(pc,{disabled:Yi(eo)||(0,bt.Rm)()&&!((Uu=(mu=pe==null?void 0:pe.AssistantObject)==null?void 0:mu.exercise)!=null&&Uu.can_publish),disabledDate:yo,style:{width:"620px",marginLeft:"20px"},placeholder:["\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4","\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"],showTime:{format:"HH:mm",defaultValue:[Qe()((0,ue.U6)(),"HH:mm"),Qe()((0,ue.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",size:"large",value:eo.publish_time&&[Qe()(eo.publish_time),eo.end_time&&Qe()(eo.end_time)],onChange:(su,jl)=>{Lr[Kl].publish_time=jl[0],!eo.end_time&&jl[0]?Lr[Kl].end_time=Qe()(jl[0]).add(7,"days"):Lr[Kl].end_time=jl[1],Ua([...Lr])},onCalendarChange:(su,jl,Nu)=>{if(jl!=null&&jl[0]&&!jl[1]){const Vs=sn.exercise_type===1?Qe()(jl[0]).add(120,"minutes"):Qe()(jl[0]).add(7,"days");Lr[Kl].publish_time=jl[0],Lr[Kl].end_time=Vs,Ua([...Lr])}}}),Co.createElement("div",{style:{visibility:ga?"hidden":"visible",display:"flex",width:"50px"}},Co.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var su,jl;if((0,bt.Rm)()&&!((jl=(su=pe==null?void 0:pe.AssistantObject)==null?void 0:su.exercise)!=null&&jl.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ua(Lr.concat({new:!0}))}}),Co.createElement("i",{className:"iconfont icon-shanjian1",style:{visibility:(eo!=null&&eo.publish_time&&Qe()(){Lr=Lr.filter((su,jl)=>Kl!==jl),Ua([...Lr])}})))})),((_n=On==null?void 0:On.exercise)==null?void 0:_n.have_hacks)&&!((Wn=On==null?void 0:On.exercise)!=null&&Wn.is_random)&&Co.createElement(Co.Fragment,null,Co.createElement("div",{className:Ll.new_title,style:{marginTop:30}},"\u5C55\u793AACM\u6392\u884C\u699C",Co.createElement("span",{style:{color:"#666666"}},"\uFF08\u5C06\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u8FDB\u884C\u6392\u540D\uFF0C\u4EC5\u9488\u5BF9\u4EBA\u5DE5\u7EC4\u5377\u4E14\u8BD5\u5377\u4E2D\u5B58\u5728\u7F16\u7A0B\u9898\u7684\u60C5\u51B5\u751F\u6548\uFF09")),Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},Co.createElement(be.ZP.Group,{value:sn.show_acm,onChange:eo=>{sn.show_acm=eo.target.value,tt(Cs({},sn))},style:{marginTop:"2px"}},Co.createElement(be.ZP,{value:!0,style:{marginRight:"50px"}},"\u5C55\u793AACM\u6392\u884C\u699C"),Co.createElement(be.ZP,{value:!1},"\u9690\u85CFACM\u6392\u884C\u699C")))),!(sn!=null&&sn.is_make_up_exercise)&&Co.createElement(Co.Fragment,null,Co.createElement("div",{className:Ll.new_title,style:{marginTop:30}},"\u8003\u8BD5\u6A21\u5F0F"),Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},Co.createElement(be.ZP.Group,{value:sn.exercise_type,disabled:ga||((Ga=On==null?void 0:On.exercise)==null?void 0:Ga.exercise_status)>1,onChange:eo=>{sn.exercise_type=eo.target.value,tt(Cs({},sn)),Eo(eo.target.value)},style:{marginTop:"2px"}},Co.createElement(be.ZP,{value:1,style:{marginRight:"50px"}},"\u6B63\u5F0F\u8003\u8BD5"),Co.createElement(be.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")),(sn==null?void 0:sn.exercise_type)===2&&Co.createElement(Co.Fragment,null,Co.createElement("span",{style:{marginLeft:10,color:"#666666"}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),Co.createElement(Te.Z,{className:Ll.numberInput,addonAfter:"\u6B21",style:{width:145},precision:0,size:"large",value:sn==null?void 0:sn.simulate_exercise_num,disabled:ga,min:1,max:999,onChange:eo=>{sn.simulate_exercise_num=eo,tt(Cs({},sn))}}),Co.createElement("span",{style:{color:"#666666"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),(sn==null?void 0:sn.is_make_up_exercise)&&Co.createElement(Co.Fragment,null,Co.createElement(re.Z,null,Co.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),Co.createElement(Ae.Z,{checked:Ha,onChange:(eo,Kl)=>{var Ui,mu;if(Vr(eo),eo){if(sn!=null&&sn.is_appoint_user){const Uu=(mu=(Ui=On==null?void 0:On.exercise)==null?void 0:Ui.all_exercise_users)==null?void 0:mu.map(su=>su.user_id);ea([...Uu])}else ea([]);Da(!1),Sr(!1)}else Da(sn.is_miss_exam_user),Sr(sn.is_no_passing_user)},disabled:!((sn==null?void 0:sn.exercise_status)===1&&(pa!=null&&pa.allow_create_make_up))}),Co.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Ha&&Co.createElement(re.Z,{className:"mt20 mb20",style:{paddingLeft:"90px"},align:"middle"},Co.createElement(Ne.default,{checked:Va,disabled:!((sn==null?void 0:sn.exercise_status)===1&&(sn==null?void 0:sn.miss_exam_count)>0&&(pa!=null&&pa.allow_create_make_up)),onChange:eo=>{Da(eo.target.checked)}},Co.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),Co.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{nr(1),Vr(!1),xa(!0)}},"\uFF08",`${(sn==null?void 0:sn.miss_exam_count)||0}\u4EBA`,"\uFF09"),Co.createElement(Ne.default,{checked:Or,disabled:!((sn==null?void 0:sn.exercise_status)===1&&(sn==null?void 0:sn.no_passing_count)>0&&(pa!=null&&pa.allow_create_make_up)),onChange:eo=>{Sr(eo.target.checked)}},Co.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),Co.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{nr(2),Vr(!1),xa(!0)}},"\uFF08",`${(sn==null?void 0:sn.no_passing_count)||0}\u4EBA`,"\uFF09")),Ha&&Co.createElement(re.Z,{className:"mb20 mt20",style:{paddingLeft:"90px"}},Co.createElement(Ce.ZP,{type:"primary",ghost:!0,disabled:!((sn==null?void 0:sn.exercise_status)===1&&(pa!=null&&pa.allow_create_make_up)),onClick:()=>{xa(!0),nr(void 0)}},Co.createElement("span",null,Co.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),Co.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),Co.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${or.length||0} \u4EBA`,"\uFF09"))),Co.createElement("div",{className:Ll.new_title,style:{marginTop:"30px"}},"\u8003\u8BD5\u65F6\u957F\u8BBE\u7F6E"),Co.createElement("div",null,Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px"}},Co.createElement(Ne.default,{disabled:ga,checked:za,onChange:eo=>{eo.target.checked===!1?tt(Kl=>fc(Cs({},Kl),{time:-1})):Iu.setFieldsValue({exercise_events:[{reminder_time:30,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C30\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"},{reminder_time:15,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C15\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"}]}),ur(eo.target.checked)},style:{fontSize:"14px",marginTop:"2px"}},"\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F"),za&&Co.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},Co.createElement("div",{style:{marginRight:10,marginLeft:25}},"\u7B54\u9898\u65F6\u957F"),Co.createElement(Te.Z,{size:"large",disabled:ga,min:1,style:{width:"200px"},value:sn.time===-1?null:sn.time,precision:0,addonAfter:"\u5206\u949F",onChange:eo=>{sn.time=eo,tt(Cs({},sn))}}))),za&&Co.createElement(de.default,{form:Iu},Co.createElement(js,{disabled:ga,time:sn.time})),Co.createElement("div",null,Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Co.createElement(Ne.default,{checked:sn.enable_last_times,onChange:eo=>tt(Kl=>fc(Cs({},Kl),{enable_last_times:eo.target.checked})),disabled:ga,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u8003\u8BD5\u8FDF\u5230\u65F6\u957F\u9650\u5236"),sn.enable_last_times&&Co.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},Co.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u8003\u8BD5\u5F00\u59CB\u540E"),Co.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:sn==null?void 0:sn.last_times,disabled:ga||!sn.enable_last_times,min:0,onChange:eo=>{sn.last_times=eo,tt(Cs({},sn))}}),Co.createElement("span",{style:{marginLeft:"10px"}},"\u7981\u6B62\u5B66\u751F\u8FDB\u5165\u8003\u8BD5"))),Co.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Co.createElement(re.Z,null,Co.createElement(Ne.default,{checked:sn.enable_answer_time,onChange:eo=>tt(Kl=>fc(Cs({},Kl),{enable_answer_time:eo.target.checked})),disabled:ga,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u63D0\u524D\u4EA4\u5377\u65F6\u95F4\u9650\u5236")),sn.enable_answer_time&&Co.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},Co.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u5B66\u751F\u8FDB\u5165\u8003\u8BD5\u4F5C\u7B54\u65F6\u95F4\u5FC5\u987B \u2265"),Co.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:sn==null?void 0:sn.answer_time,disabled:ga||!sn.enable_answer_time,min:0,onChange:eo=>{sn.answer_time=eo,tt(Cs({},sn))}}),Co.createElement("span",{style:{marginLeft:"10px"}},"\u624D\u80FD\u4EA4\u5377")))))),!(pa!=null&&pa.appraise_label)&&(!(pa!=null&&pa.is_make_up_exercise)&&(0,bt.GJ)()||(pa==null?void 0:pa.is_make_up_exercise)&&(pa==null?void 0:pa.allow_create_make_up))&&Co.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:sr},"\u4FDD\u5B58"),Co.createElement(cc.Z,{visible:ra,setVisible:xa,onK:ku,selectKeys:or,selectRows:_a,appointStudent:Ha,modalParams:qn}),Co.createElement(ed.Z,{resdata:vr,type:"exercisepush",okloading:ka,oktext:(vr==null?void 0:vr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:eo=>ac(void 0,null,function*(){Yt(!0);let Kl=yield(0,fe.ZP)(`/api/courses/${Jt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[parseInt(Jt==null?void 0:Jt.categoryId)]}});Yt(!1),(Kl==null?void 0:Kl.status)===0&&io(rr)})}))};var nd=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie,classroomList:dt,user:Dt})=>({exercise:me,loading:pe.effects,globalSetting:ie,user:Dt,classroomList:dt}))(Sd),hd=x(19248),ad=x(46801),Qc=Object.defineProperty,Dc=Object.getOwnPropertySymbols,rd=Object.prototype.hasOwnProperty,Ed=Object.prototype.propertyIsEnumerable,vc=(me,pe,ie)=>pe in me?Qc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Wc=(me,pe)=>{for(var ie in pe||(pe={}))rd.call(pe,ie)&&vc(me,ie,pe[ie]);if(Dc)for(var ie of Dc(pe))Ed.call(pe,ie)&&vc(me,ie,pe[ie]);return me},Gc=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const{TabPane:Ic}=E.default,Uc=({exercise:me,loading:pe,dispatch:ie})=>{var dt;const Dt=(0,ye.useParams)(),_e=(0,ye.useLocation)(),[Ut]=de.default.useForm(),[at,Oe]=(0,a.useState)({}),[Pe,Pn]=(0,a.useState)("1");return(0,a.useEffect)(()=>{me.actionTabs.key==="addIp"&&(Ut.resetFields(),Pn("1"))},[me.actionTabs]),a.createElement(Fe.default,{centered:!0,title:"\u6DFB\u52A0IP\u8303\u56F4",open:me.actionTabs.key==="addIp",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:600,bodyStyle:{minHeight:200},onOk:()=>Gc(void 0,null,function*(){if(yield Ut.validateFields(),!at.ip){const Zn=at.startIP.split(".")[3];if(parseInt(Zn)>parseInt(at.endIP)){oe.ZP.warning("IP\u533A\u95F4\u6BB5\u4E0D\u5408\u6CD5");return}}ie({type:"exercise/setActionTabs",payload:{key:"insterIp",data:Wc({},Ut.getFieldValue()),type:me.actionTabs.type}})}),onCancel:()=>{ie({type:"exercise/setActionTabs",payload:{}})}},a.createElement("section",{className:"pl10 pr10"},a.createElement(E.default,{activeKey:Pe,onChange:Zn=>{Pn(Zn),Ut.resetFields()}},a.createElement(Ic,{tab:"\u65B0\u589EIP\u5730\u5740",key:"1"}),a.createElement(Ic,{tab:"\u65B0\u589EIP\u8303\u56F4",key:"2"})),a.createElement(de.default,{form:Ut,className:"pt30",name:"form",layout:"vertical",onValuesChange:(Zn,Xn)=>{Oe(Wc({},Xn))}},Pe==="1"&&a.createElement(de.default.Item,{name:"ip",rules:[{required:!0,message:"\u8BF7\u8F93\u5165IP\u5730\u5740"}],label:"IP\u5730\u5740"},a.createElement(dn.default,{open:!1,tokenSeparators:[";",",","\uFF1B"],size:"middle",mode:"tags",style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165IP\u5730\u5740,\u53EF\u540C\u65F6\u6DFB\u52A0\u591A\u4E2AIP\u5730\u5740\uFF0C\u4E2D\u95F4\u7528\u82F1\u6587\u7684\u5206\u53F7\u95F4\u9694\u3002",onChange:Zn=>{Ut.setFieldsValue({ip:[...Zn.filter(Xn=>(0,ad.t)(Xn)?!0:(oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165"),!1))]})}})),Pe==="2"&&a.createElement(re.Z,{gutter:[20,20]},a.createElement(ve.Z,{flex:"1"},a.createElement(de.default.Item,{name:"startIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740"}],label:"\u8D77\u59CBIP\u5730\u5740"},a.createElement(Se.default,{maxLength:15,placeholder:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740",onBlur:Zn=>{let Xn="";(0,ad.t)(Zn.target.value)?Xn=Zn.target.value:(Xn="",oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165")),Ut.setFieldsValue({startIP:Xn})}}))),a.createElement(ve.Z,{flex:"1"},a.createElement(de.default.Item,{name:"endIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740"},{pattern:/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,message:"\u8BF7\u8F93\u51650-255\u7684\u7F51\u6BB5"}],label:"\u7ED3\u675FIP\u5730\u5740"},a.createElement(Se.default,{onBlur:Zn=>{},prefix:a.createElement("span",{className:"font14"},(dt=at.startIP)==null?void 0:dt.substring(0,at.startIP.lastIndexOf("."))),maxLength:3,placeholder:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740\u7684\u540E\u4E09\u4F4D"})))))))};var Oc=(0,ye.connect)(({exercise:me,loading:pe})=>({exercise:me,loading:pe}))(Uc),Ma=x(59301),Nc=Object.defineProperty,od=Object.defineProperties,Pd=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,xu=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable,Zs=(me,pe,ie)=>pe in me?Nc(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,ds=(me,pe)=>{for(var ie in pe||(pe={}))xu.call(pe,ie)&&Zs(me,ie,pe[ie]);if(Oi)for(var ie of Oi(pe))Ps.call(pe,ie)&&Zs(me,ie,pe[ie]);return me},hc=(me,pe)=>od(me,Pd(pe)),Ec=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ld=({exercise:me,globalSetting:pe,loading:ie,dispatch:dt})=>{var Dt,_e,Ut,at,Oe,Pe,Pn;const{workSetting:Zn,commonHeader:Xn}=me,[an]=de.default.useForm(),wn=(0,ye.useParams)();wn.category=wn.categoryId;const[aa,Aa]=(0,a.useState)(!1),[_n,Wn]=(0,a.useState)(!1),[Ga,On]=(0,a.useState)(!1),pa={question_random:!1,choice_random:!1,start_password:((Dt=Zn==null?void 0:Zn.exercise)==null?void 0:Dt.start_password)||"",login_restrict:!1,is_start_locked:!1,use_blank_score:!1,ip_limit:!1,identity_verify:!1,open_phone_video_recording:!1,open_camera:!1,photo_count:5,screen_open:!1,screen_num:3,screen_sec:5,ip_bind:!1,ip_bind_type:!1,public_ip:[],inner_ip:[],is_locked:!1,unlock_key:((_e=Zn==null?void 0:Zn.exercise)==null?void 0:_e.unlock_key)||"",screen_shot_open:!1,forbid_copy:!1};let[Jt,ga]=(0,a.useState)(pa);const[la,ka]=(0,a.useState)(!1),[Yt,Ca]=(0,a.useState)(!1),[ia,rr]=(0,a.useState)(!1),[ro,Lr]=(0,a.useState)(null);(0,a.useEffect)(()=>{var Ha;Ua(),Zn!=null&&Zn.exercise&&!(0,bt.aN)()&&!((Ha=Zn==null?void 0:Zn.exercise)!=null&&Ha.is_creator)&&Aa(!0)},[Zn]),(0,a.useEffect)(()=>{((Xn==null?void 0:Xn.exercise_status)==="5"||Xn!=null&&Xn.appraise_label)&&Aa(!0)},[Xn]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?Jt[me.actionTabs.type]=[...Jt[me.actionTabs.type]||[],...me.actionTabs.data.ip]:Jt[me.actionTabs.type]=[...Jt[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],sn(Jt),ka(!0))},[me.actionTabs]);const Ua=()=>{const Ha=JSON.parse(JSON.stringify(Zn));Object.keys(Jt).forEach(Vr=>{var Va;Jt[Vr]=(Va=Ha==null?void 0:Ha.exercise)==null?void 0:Va[Vr]}),sn(hc(ds({},Jt),{ip_limit:Jt.ip_limit!=="no"}))},sn=Ha=>{ga(Ha),an.setFieldsValue(Ha)},tt=Ha=>{var Vr,Va;if(Ha.categoryId=wn.categoryId,Ha.ip_limit=Ha.ip_limit?"pub":"no",Ha.ip_bind||(Ha.ip_bind_type=!1),Ha.open_camera&&Ha.photo_count<1){oe.ZP.warning("\u8BF7\u586B\u5199\u672C\u573A\u8003\u8BD5\u6700\u5927\u62CD\u6444\u6B21\u6570");return}if(!Ha.start_password&&Ha.is_start_locked){oe.ZP.warning("\u8BF7\u586B\u5199\u5F00\u8003\u5BC6\u7801");return}if(Ha.ip_limit!=="no"&&!((Vr=Ha.public_ip)!=null&&Vr.length)&&!((Va=Ha.inner_ip)!=null&&Va.length)){oe.ZP.warning("\u8BF7\u586B\u5199\u516C\u7F51IP\u6216\u5185\u7F51IP\u5730\u5740");return}if(Ha.is_locked||Ha.open_camera||Ha.screen_open||Ha.login_restrict||Ha.ip_bind||Ha.ip_limit=="pub"||Ha.ip_limit=="inner"||Ha.identity_verify||Ha.open_phone_video_recording){if((Xn==null?void 0:Xn.exercise_type)==1){Za(Ha);return}Fe.default.confirm({width:666,centered:!0,title:"\u63D0\u793A",icon:null,content:Ma.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u5F00\u542F",Ma.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Ha)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u786E\u5B9A\u5F00\u542F\u5417\uFF1F"),onOk:()=>Za(Ha)});return}va(Ha)},Za=Ha=>{if(Ha.open_camera||Ha.screen_open){const Vr=Fe.default.confirm({title:"\u8003\u8BD5\u8BF4\u660E",className:"custom-modal-divider",icon:null,width:750,content:Ma.createElement("div",{className:"font16 p20"},Ha.open_camera&&Ma.createElement(re.Z,{justify:"start",className:"mt20"},Ma.createElement(ve.Z,{flex:"24px"},Ma.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),Ma.createElement(ve.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u6444\u50CF\u9632\u4F5C\u5F0A\u529F\u80FD\uFF0C",Ma.createElement("span",{className:"c-red"},"\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907"),"\u3002\u5E73\u53F0\u5C06\u4F1A\u4E25\u683C\u4FDD\u62A4\u6240\u6709\u5B66\u751F\u7684\u7167\u7247\u548C\u89C6\u9891\uFF0C\u5E76\u627F\u8BFA\u4E0D\u5728\u672C\u5E73\u53F0\u4EE5\u5916\u4F7F\u7528\u3002",Ma.createElement("br",null),"\u8BF7\u786E\u8BA4\uFF1A\u4E3A\u4E25\u683C\u76D1\u7763\u8003\u8BD5\u4EE5\u83B7\u5F97\u516C\u5E73\uFF0C\u60A8\u540C\u610F\u5E76\u548C\u8981\u6C42\u5E73\u53F0\u5728\u672C\u6B21\u8003\u8BD5\u4E2D\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907\u5E76\u83B7\u53D6\u5B66\u751F\u7684\u5F71\u50CF\u4FE1\u606F\u3002")),Ha.screen_open&&Ma.createElement(re.Z,{justify:"start",className:"mt20"},Ma.createElement(ve.Z,{flex:"24px",className:"mr20"},Ma.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),Ma.createElement(ve.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u9632\u5207\u5C4F\u529F\u80FD\uFF0C\u8FD9\u9879\u529F\u80FD\u6682\u65F6\u4EC5\u652F\u6301\u8C37\u6B4C\u3001\u706B\u72D0\u6D4F\u89C8\u5668\u3002 \u8BF7\u786E\u4FDD\uFF1A\u5728\u6B63\u5F0F\u5F00\u59CB\u8003\u8BD5\u524D\u901A\u77E5\u5168\u4F53\u5B66\u751F\uFF0C\u4F7F\u7528 ",Ma.createElement("img",{width:"26",src:zl.JA})," ",Ma.createElement("span",{className:"c-red"},"\u8C37\u6B4C\u6D4F\u89C8\u5668"),"\u6216",Ma.createElement("img",{width:"26",src:zl.Gm})," ",Ma.createElement("span",{className:"c-red"},"\u706B\u72D0\u6D4F\u89C8\u5668"),"\u8FDB\u884C\u8003\u8BD5\u3002")),Ma.createElement("p",{className:"ml40 mt40"},Ma.createElement(Ne.default,{onChange:Va=>Vr.update({okButtonProps:{disabled:!Va.target.checked}})},"\u6211\u5DF2\u9605\u8BFB"))),onOk:()=>{va(Ha)},okButtonProps:{disabled:!0}})}else va(Ha)},va=Ha=>Ec(void 0,null,function*(){Wn(!0);const Vr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/prevent_cheating_settings.json`,{method:"post",body:Ha});Wn(!1),Vr.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),dt({type:"exercise/getCommonHeader",payload:ds({},wn)}),dt({type:"exercise/getWorkSetting",payload:ds({},wn)}),ka(!1))});(0,a.useEffect)(()=>{ur(la?"\u8868\u5355\u672A\u4FDD\u5B58":"")},[la]);const za=Ha=>{Ha.preventDefault(),Ha.returnValue=""},ur=(Ha="")=>{dt({type:"exercise/setActionTabs",payload:{key:Ha}})};return Ma.createElement("section",{className:Ll.formDom,style:{padding:"30px 50px"}},Ma.createElement(Ft.Z,{spinning:ie["exercise/getWorkSetting"]||_n},Ma.createElement(de.default,{form:an,name:"basicForm",initialValues:pa,colon:!1,onValuesChange:(Ha,Vr)=>{console.log("onValuesChange",Vr);let Va=Vr;for(const Da in Ha){if(Da=="is_locked"&&!Vr[Da]&&(Va.login_restrict=!1,Va.screen_open=!1),Da=="login_restrict"&&Vr[Da]&&(Va.is_locked=!0),Da=="screen_open"&&Vr[Da]&&(Va.is_locked=!0),Da=="screen_shot_open"&&Vr[Da]){const Or=Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Ma.createElement("div",null,Ma.createElement("div",{className:"mb10"},"1.\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u524D",Ma.createElement("span",{style:{color:"#F59A23"}},"\u9700\u8981\u9009\u62E9\u4E3B\u5C4F\u5E55\u8FDB\u884C\u5171\u4EAB\uFF0C\u8003\u8BD5\u4F5C\u7B54\u8FC7\u7A0B\u4E2D\u4E5F\u4E0D\u5141\u8BB8\u5173\u95ED\u5C4F\u5E55\u5171\u4EAB\uFF0C\u5426\u5219\u5C06\u4F1A\u76F4\u63A5\u9000\u51FA\u8003\u8BD5\uFF1B")),Ma.createElement("div",null,"2.\u6559\u5E08\u53EF\u5728\u8003\u8BD5\u76D1\u63A7\u9875\u9762\u67E5\u770B\u622A\u5C4F\u8BB0\u5F55\u3002")),onOk:()=>Ec(void 0,null,function*(){Va.screen_shot_open=!0,sn(Va)}),onCancel:()=>{Va.screen_shot_open=!1,sn(Va),Or.destroy()}});break}(Da=="ip_bind"||Da=="ip_limit")&&!Vr.is_locked&&Vr[Da]&&(Va.is_locked=!0),Da=="open_camera"&&(Va.photo_count=Va.photo_count||5)}sn(Va),ka(!0)},onFinish:tt},Ma.createElement("div",{className:Ll.title},"\u63A8\u8350\u9632\u4F5C\u5F0A\u6A21\u5F0F",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u4E0D\u540C\u7684\u8003\u8BD5\u6A21\u5F0F\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u52FE\u9009\u5BF9\u5E94\u6A21\u5F0F\u63A8\u8350\u7684\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u652F\u6301\u4E8C\u6B21\u8C03\u6574\uFF09")),Ma.createElement(de.default.Item,null,Ma.createElement(be.ZP.Group,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"},value:ro,onChange:Ha=>{if(Ha.target.value==="exam")sn(hc(ds(ds({},pa),Jt),{question_random:!0,choice_random:!0,is_start_locked:!0,is_locked:!0,login_restrict:!0,screen_open:!0,ip_bind:!0,forbid_copy:!0}));else if(Ha.target.value==="practice"){Fe.default.confirm({title:"\u63D0\u793A",centered:!0,content:"\u6A21\u62DF\u8003\u8BD5\u5C06\u53EA\u4F1A\u5F00\u542F\u201C\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\u548C\u201C\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\uFF0C\u786E\u5B9A\u8981\u4F7F\u7528\u6A21\u62DF\u8003\u8BD5\u63A8\u8350\u7684\u8BBE\u7F6E\u5417\uFF1F",icon:null,onOk:()=>{sn(hc(ds({},pa),{question_random:!0,choice_random:!0,forbid_copy:!1})),Lr(Ha.target.value)}});return}Lr(Ha.target.value)},buttonStyle:"solid",disabled:aa},Ma.createElement(be.ZP,{value:"exam",style:{marginRight:"40px"}},"\u6B63\u5F0F\u6A21\u5F0F"),Ma.createElement(be.ZP,{value:"practice"},"\u6A21\u62DF\u6A21\u5F0F"))),Ma.createElement("div",{className:Ll.title,style:{marginTop:"30px"}},"\u9632\u4F5C\u5F0A\u8BBE\u7F6E"),Ma.createElement(de.default.Item,{name:"forbid_copy",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"))),Ma.createElement(de.default.Item,{name:"question_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),Ma.createElement(de.default.Item,{name:"choice_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"is_start_locked",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5F00\u8003\u5BC6\u7801 ",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u8003\u8BD5\u65F6\uFF0C\u9700\u8981\u8F93\u5165\u5F00\u8003\u5BC6\u7801\u624D\u80FD\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\uFF09"))))),Jt.is_start_locked&&(0,bt.GJ)()?Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,align:"middle"},Ma.createElement(de.default.Item,{name:"start_password",style:{marginBottom:0}},Ma.createElement(Se.default,{size:"large",className:Ll.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u5F00\u8003\u5BC6\u7801"})),Ma.createElement(ve.Z,null,!aa&&Ma.createElement(Ce.ZP,{type:"link",loading:Yt,onClick:()=>Ec(void 0,null,function*(){Ca(!0);let Ha=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Vr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:1,pwd:Ha}});Ca(!1),(Vr==null?void 0:Vr.status)===0&&an.setFieldsValue({start_password:Ha})})},"\u6362\u4E00\u6362"))):Ma.createElement(de.default.Item,{hidden:!0,name:"start_password",label:"\u5F00\u8003\u5BC6\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"is_locked",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u89E3\u9501\u7801 ",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5982\u679C\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u9014\u9000\u51FA\u60F3\u518D\u7EE7\u7EED\u8003\u8BD5\uFF0C\u9700\u8981\u4F7F\u7528\u89E3\u9501\u7801\u8FDB\u884C\u89E3\u9501\u3002\uFF09"))))),Jt.is_locked&&(0,bt.GJ)()?Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,align:"middle"},Ma.createElement(de.default.Item,{style:{marginBottom:0},name:"unlock_key"},Ma.createElement(Se.default,{size:"large",className:Ll.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),Ma.createElement(ve.Z,null,!aa&&Ma.createElement(Ce.ZP,{type:"link",loading:ia,onClick:()=>Ec(void 0,null,function*(){rr(!0);let Ha=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Vr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:2,pwd:Ha}});rr(!1),(Vr==null?void 0:Vr.status)===0&&an.setFieldsValue({unlock_key:Ha})})},"\u6362\u4E00\u6362"))):Ma.createElement(de.default.Item,{hidden:!0,name:"unlock_key",label:"\u8003\u8BD5\u89E3\u9501\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement(de.default.Item,{name:"login_restrict",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u767B\u5F55\u9650\u5236",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5728\u8003\u8BD5\u671F\u95F4\u7B2C\u4E8C\u6B21\u53CA\u540E\u7EED\u767B\u5F55\u7CFB\u7EDF\u65F6\uFF0C\u9700\u8981\u76D1\u8003\u8001\u5E08\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801\u624D\u80FD\u767B\u5F55\u7CFB\u7EDF\uFF09"))))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"screen_open",valuePropName:"checked"},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"))),Jt.screen_open?Ma.createElement(Ma.Fragment,null,Ma.createElement(re.Z,{gutter:10,className:`${Ll.unlockKeyWrapper}`,style:{color:"#666666"},align:"middle",wrap:!1},Ma.createElement(ve.Z,null,"\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u5207\u6362\u9875\u9762\u8D85\u8FC7"),Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"screen_num",style:{marginBottom:0}},Ma.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:10,addonAfter:"\u6B21",style:{width:"150px"}}))),Ma.createElement(ve.Z,null,"\u540E\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF0C\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762"),Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"screen_sec",style:{marginBottom:0}},Ma.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:60,addonAfter:"\u79D2",style:{width:"150px"}}))),Ma.createElement(ve.Z,null,"\u540E\u5373\u5224\u5B9A\u4E3A\u5207\u5C4F\u3002")),Ma.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ll.unlockKeyWrapper}`,align:"middle",wrap:!1},Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"screen_shot_open",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ae.Z,{disabled:aa||!Jt.screen_open}))),Ma.createElement(ve.Z,{style:{color:"#666666"}},"\u5B66\u751F\u9000\u51FA\u5168\u5C4F\u6216\u5207\u6362\u9875\u9762\u540E\u8FDB\u884C\u622A\u5C4F"))):Ma.createElement(Ma.Fragment,null,Ma.createElement(de.default.Item,{hidden:!0,name:"screen_num",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),Ma.createElement(de.default.Item,{hidden:!0,name:"screen_sec",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),Ma.createElement(de.default.Item,{hidden:!0,name:"screen_shot_open",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"ip_bind",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"IP\u5730\u5740\u7ED1\u5B9A",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5F00\u59CB\u8003\u8BD5\u7684\u5B66\u751F\u8D26\u53F7\u5C06\u81EA\u52A8\u4E0E\u8BBE\u5907\u516C\u7F51IP\u6216\u5185\u7F51IP\u8FDB\u884C\u7ED1\u5B9A\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u7531\u6559\u5E08/\u52A9\u6559\u8FDB\u884CIP\u89E3\u7ED1\u3002\uFF09"))))),Jt.ip_bind&&(0,bt.GJ)()?Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,style:{flexDirection:"column"}},Ma.createElement(de.default.Item,{name:"ip_bind_type",style:{marginBottom:0}},Ma.createElement(be.ZP.Group,null,Ma.createElement(be.ZP,{value:!1,style:{marginRight:"32px",fontWeight:"400"}},Ma.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5916\u7F51IP",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u6821\u6821\u56ED\u7F51\u7535\u8111\u7684\u516C\u7F51IP\u53EF\u80FD\u4F1A\u5B58\u5728\u53D8\u52A8\uFF09"))),Ma.createElement(be.ZP,{value:!0,style:{fontWeight:"400"}},Ma.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5185\u7F51IP",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9700\u8981\u5B89\u88C5\u63D2\u4EF6\u624D\u80FD\u83B7\u53D6ip\uFF0C\u524D\u5F80",Ma.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u4E0B\u8F7D\u63D2\u4EF6"),"\uFF09")))))):Ma.createElement(de.default.Item,{hidden:!0,name:"ip_bind_type",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"ip_limit",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9650\u5236\u53C2\u4E0E\u8003\u8BD5\u8BBE\u5907\u7684IP\u5730\u5740\u8303\u56F4\uFF09"))))),Ma.createElement(de.default.Item,{name:"public_ip",label:"\u516C\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),Ma.createElement(de.default.Item,{name:"inner_ip",label:"\u5185\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),(Jt==null?void 0:Jt.ip_limit)&&Ma.createElement(re.Z,{className:Ll.unlockKeyWrapper,style:{flexDirection:"column"}},Ma.createElement(ve.Z,null,Ma.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u8981\u6C42\u5B66\u751F\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),Ma.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?")),Ma.createElement(re.Z,{className:`mt15 ${Ll.ipWrp}`,style:{background:"#F6F7F9"}},Ma.createElement(ve.Z,null,"\u516C\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A"),Ma.createElement(ve.Z,null,(Ut=Jt.public_ip)==null?void 0:Ut.map((Ha,Vr)=>Ma.createElement("span",{key:Vr,className:Ll.ipItem},Ma.createElement("i",null,Ha," "),!aa&&Ma.createElement(hd.Z,{onClick:()=>{Fe.default.confirm({okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Jt.public_ip.splice(Vr,1),sn(ds({},Jt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&Ma.createElement("span",{onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"public_ip"}})},className:"font14 c-blue ml10",style:{cursor:"pointer"}}," ",Ma.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))),Ma.createElement(re.Z,{className:`mt15 ${Ll.ipWrp}`,style:{background:"#F6F7F9"}},Ma.createElement(ve.Z,null,Ma.createElement("span",null,"\u5185\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A")),Ma.createElement(ve.Z,null,(at=Jt.inner_ip)==null?void 0:at.map((Ha,Vr)=>Ma.createElement("span",{className:Ll.ipItem},Ma.createElement("i",null,Ha," "),!aa&&Ma.createElement(hd.Z,{onClick:()=>{aa||Fe.default.confirm({title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Jt.inner_ip.splice(Vr,1),sn(ds({},Jt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&Ma.createElement("span",{className:"font14 c-blue ml10",onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"inner_ip"}})},style:{cursor:"pointer"}}," ",Ma.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))))),Ma.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(de.default.Item,{name:"open_camera",valuePropName:"checked",style:{marginBottom:0}},Ma.createElement(Ne.default,{disabled:aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u4F7F\u7528\u7535\u8111\u6444\u50CF\u5934\u968F\u673A\u6293\u62CD\u7167\u7247\uFF0C\u7528\u4E8E\u76D1\u8003\u548C\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u5206\u6790\u7ED3\u679C\u53EF\u5728\u5B66\u751F\u7B54\u5377\u4E2D\u67E5\u770B\uFF09"))))),Jt.open_camera?Ma.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ll.unlockKeyWrapper}`,align:"middle",wrap:!1},Ma.createElement(ve.Z,{style:{color:"#666666"}},"\u672C\u573A\u8003\u8BD5\u6700\u591A\u62CD\u6444"),Ma.createElement(ve.Z,null,Ma.createElement(de.default.Item,{name:"photo_count",style:{marginBottom:0}},Ma.createElement(Te.Z,{size:"large",disabled:aa||!Jt.open_camera,min:1,max:(0,bt.Ny)()?1e3:10,addonAfter:"\u6B21",style:{width:"150px"}}))),Ma.createElement(ve.Z,null,Ma.createElement("span",{className:"c-grey-c font14 ml10",style:{color:"#666"}},"\uFF08\u53EF\u586B\u5199\u6700\u5927\u503C\u4E3A10\uFF09"))):Ma.createElement(de.default.Item,{hidden:!0,name:"photo_count",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),Ma.createElement(de.default.Item,{name:"identity_verify",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ma.createElement(Ne.default,{disabled:!(0,bt.ag)()||aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C ",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u9700\u8981\u4EBA\u8138\u9A8C\u8BC1\u5BA1\u6838\uFF0C\u5BA1\u6838\u901A\u8FC7\u540E\u624D\u53EF\u8FDB\u5165\u7B54\u9898\uFF09"))))),Ma.createElement(de.default.Item,{name:"open_phone_video_recording",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},Ma.createElement(Ne.default,{disabled:!(0,bt.ag)()||aa},Ma.createElement(Ma.Fragment,null,Ma.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236",Ma.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u5FC5\u987B\u5148\u5F00\u542F\u624B\u673A\u5F55\u5236\u89C6\u9891\uFF0C\u6559\u5E08/\u52A9\u6559\u53EF\u5728\u8BD5\u5377\u8BE6\u60C5-\u6444\u50CF\u76D1\u63A7\u9875\u9762\u67E5\u770B\u5B66\u751F\u89C6\u9891\u52A8\u6001\uFF09")))))),((0,bt.aN)()||((Oe=me==null?void 0:me.commonHeader)==null?void 0:Oe.exercise_author))&&!(Xn!=null&&Xn.appraise_label)&&Ma.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:()=>{an.submit()}},"\u4FDD\u5B58")),Ma.createElement(Oc,null),Ma.createElement(Fe.default,{centered:!0,destroyOnClose:!0,open:Ga,title:"\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:()=>On(!1)},Ma.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},Ma.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A",(Pe=pe==null?void 0:pe.setting)==null?void 0:Pe.homepage_tea_qq_number," "),Ma.createElement("img",{src:`${Re.Z.IMG_SERVER}/${(Pn=pe==null?void 0:pe.setting)==null?void 0:Pn.homepage_tea_qq_qrcode_url}`,width:200,height:200}))))};var id=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie})=>({exercise:me,loading:pe.effects,globalSetting:ie}))(ld),vl=x(59301),t0=Object.defineProperty,n0=Object.defineProperties,bd=Object.getOwnPropertyDescriptors,Xs=Object.getOwnPropertySymbols,Md=Object.prototype.hasOwnProperty,a0=Object.prototype.propertyIsEnumerable,xd=(me,pe,ie)=>pe in me?t0(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,rc=(me,pe)=>{for(var ie in pe||(pe={}))Md.call(pe,ie)&&xd(me,ie,pe[ie]);if(Xs)for(var ie of Xs(pe))a0.call(pe,ie)&&xd(me,ie,pe[ie]);return me},ud=(me,pe)=>n0(me,bd(pe)),Td=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const r0=({exercise:me,loading:pe,dispatch:ie})=>{var dt,Dt,_e;const{workSetting:Ut,commonHeader:at}=me,Oe=(0,ye.useParams)();Oe.category=Oe.categoryId;const[Pe,Pn]=(0,a.useState)(!1),[Zn,Xn]=(0,a.useState)(!1);let[an,wn]=(0,a.useState)({score_open:!1,answer_open:!1,show_statistic:!1,open_total_score:!1,open_score_reviewed:!0,open_score_commited:!1,open_score:!1,answered_open:!1,assistant_auth:!1,passing_rate:60,use_blank_score:!1,downcase:!1,open_make_up:!1,make_up_score:1});(0,a.useEffect)(()=>{Aa("\u8868\u5355\u672A\u4FDD\u5B58")},[an]);const aa=On=>{On.preventDefault(),On.returnValue=""},Aa=(On="")=>{ie({type:"exercise/setActionTabs",payload:{key:On}})};(0,a.useEffect)(()=>{var On,pa;_n(),(On=Ut==null?void 0:Ut.exercise)!=null&&On.id&&!(0,bt.aN)()&&!((pa=Ut==null?void 0:Ut.exercise)!=null&&pa.is_creator)&&Pn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{},[]);const _n=()=>{const On=JSON.parse(JSON.stringify(Ut));Object.keys(an).forEach(pa=>{var Jt;an[pa]=(Jt=On==null?void 0:On.exercise)==null?void 0:Jt[pa]}),wn(an),me.actionTabs.key!="\u6279\u91CF\u53D1\u5E03"&&Aa("")},Wn=()=>{const On=JSON.parse(JSON.stringify(an));On.categoryId=Oe.categoryId,Ga(On)},Ga=On=>Td(void 0,null,function*(){var pa;if((On==null?void 0:On.use_blank_score)!==((pa=Ut==null?void 0:Ut.exercise)==null?void 0:pa.use_blank_score)){let ga=Fe.default.confirm({closable:!0,width:500,centered:!0,icon:null,title:"\u63D0\u793A",onOk:()=>Td(void 0,null,function*(){Xn(!0);const la=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Xn(!1),la.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Aa(""),ie({type:"exercise/getCommonHeader",payload:rc({},Oe)}),ie({type:"exercise/getWorkSetting",payload:rc({},Oe)}),Xn(!1))})});On!=null&&On.use_blank_score?ga.update({content:vl.createElement("div",null,"\u60A8\u5DF2\u52FE\u9009",vl.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")}):ga.update({content:vl.createElement("div",null,"\u60A8\u5DF2\u53D6\u6D88\u52FE\u9009",vl.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")});return}Xn(!0);const Jt=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Xn(!1),Jt.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Aa(""),ie({type:"exercise/getCommonHeader",payload:rc({},Oe)}),ie({type:"exercise/getWorkSetting",payload:rc({},Oe)}))});return vl.createElement("section",{className:Ll.scoreSettingWrapper,style:{padding:"30px 50px"}},vl.createElement(Ft.Z,{spinning:pe["exercise/getWorkSetting"]||Zn},(at==null?void 0:at.is_make_up_exercise)&&vl.createElement(vl.Fragment,null,vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.open_make_up,disabled:Pe,onChange:On=>{an.open_make_up=On.target.checked,wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u8865\u8003\u6263\u5206 ")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u7CFB\u7EDF\u5C06\u5728\u6BCF\u4E2A\u53C2\u52A0\u8865\u8003\u5B66\u751F\u6700\u7EC8\u6210\u7EE9\u7684\u57FA\u7840\u4E0A\u81EA\u52A8\u6263\u9664\u5BF9\u5E94\u8BBE\u7F6E\u7684\u5206\u503C\uFF09"))),an.open_make_up&&vl.createElement("div",{className:"flex item-center gap-10px",style:{background:"#F6F7F9",padding:"13px 54px"}},vl.createElement("div",null,"\u6263\u5206"),vl.createElement(Te.Z,{value:an==null?void 0:an.make_up_score,min:1,step:1,max:(dt=Ut==null?void 0:Ut.exercise)!=null&&dt.total_score?Number((Dt=Ut==null?void 0:Ut.exercise)==null?void 0:Dt.total_score):Number.MAX_SAFE_INTEGER,suffix:"\u5206",style:{width:"120px"},onChange:On=>{wn(ud(rc({},an),{make_up_score:Math.floor(On)}))}}))),vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.use_blank_score,disabled:Pe,onChange:On=>{an.use_blank_score=On.target.checked,wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement(vl.Fragment,null,vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206"))),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5B66\u751F\u6709\u6F0F\u9009\u6B63\u786E\u7B54\u6848\u4F46\u662F\u9009\u4E2D\u7684\u7B54\u6848\u5168\u90E8\u6B63\u786E\uFF0C\u53EF\u83B7\u5F97\u90E8\u5206\u5206\u503C\uFF0C\u5206\u503C=\u9009\u4E2D\u7684\u7B54\u6848\u4E2A\u6570*\uFF08\u8BE5\u5C0F\u9898\u5206\u503C/\u6B63\u786E\u7B54\u6848\u7684\u4E2A\u6570\uFF09\uFF09"))),vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.downcase,disabled:Pe,onChange:On=>{an.downcase=On.target.checked,wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u586B\u7A7A\u9898\u5224\u5206\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u586B\u7A7A\u9898\u5728\u5224\u5206\u65F6\uFF0C\u5C06\u5FFD\u7565\u7B54\u6848\u603B\u4E2D\u82F1\u6587\u5B57\u6BCD\u5927\u5C0F\u5199\u9650\u5236\uFF09"))),vl.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},vl.createElement(ve.Z,null,vl.createElement(Ne.default,{checked:an.open_total_score,disabled:Pe,onChange:On=>{an.open_total_score=On.target.checked,On.target.checked?(an.open_score=!1,an.open_score_reviewed=!0):(an.open_score=!0,an.open_score_reviewed=!1),wn(Object.assign({},an))},className:Ll.mainRuleText},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u6210\u7EE9")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u53EF\u914D\u7F6E\u5B66\u751F\u5728\u67D0\u9636\u6BB5\u53EF\u67E5\u770B\u8003\u8BD5\u6210\u7EE9\uFF09"))),an.open_total_score&&vl.createElement(vl.Fragment,null,vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},vl.createElement(be.ZP.Group,{disabled:Pe,value:an.open_score?"afterEndTime":an!=null&&an.open_score_reviewed?"afterReview":"afterCommit",onChange:On=>{On.target.value==="afterEndTime"?wn(pa=>ud(rc({},pa),{open_score:!0,open_score_reviewed:!1,open_score_commited:!1})):On.target.value==="afterReview"?wn(pa=>ud(rc({},pa),{open_score:!1,open_score_reviewed:!0,open_score_commited:!1})):wn(pa=>ud(rc({},pa),{open_score:!1,open_score_reviewed:!1,open_score_commited:!0}))}},vl.createElement(be.ZP,{value:"afterEndTime",style:{marginRight:"80px"}},vl.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u540E")),vl.createElement(be.ZP,{value:"afterCommit",style:{marginRight:"80px"}},vl.createElement("span",{style:{color:"#000"}},"\u63D0\u4EA4\u8BD5\u5377\u540E")),vl.createElement(be.ZP,{value:"afterReview"},vl.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u4E14\u8BD5\u5377\u8BC4\u9605\u5B8C\u6210\u540E")))),vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},vl.createElement(Ne.default,{className:Ll.mainRuleText,checked:an.answered_open,disabled:Pe,onChange:On=>{an.answered_open=On.target.checked,wn(Object.assign({},an))}},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u67E5\u770B\u8BD5\u5377")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4E2A\u4EBA\u8003\u8BD5\u7B54\u5377\uFF09")),an.answered_open&&vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},vl.createElement(be.ZP.Group,{value:an.answer_open,disabled:Pe,onChange:On=>{an.answer_open=On.target.value,wn(Object.assign({},an))}},vl.createElement(be.ZP,{value:!0,style:{marginRight:"25px"}},vl.createElement("span",{style:{color:"#000"}},"\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")),vl.createElement(be.ZP,{value:!1},vl.createElement("span",{style:{color:"#000"}},"\u4E0D\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")))),vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},vl.createElement(Ne.default,{className:Ll.mainRuleText,checked:an.score_open,disabled:Pe,onChange:On=>{an.score_open=On.target.checked,wn(Object.assign({},an))}},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u6210\u7EE9")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u4ED6\u540C\u5B66\u672C\u573A\u8003\u8BD5\u7684\u6210\u7EE9\uFF09")),vl.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px"}},vl.createElement(Ne.default,{className:Ll.mainRuleText,checked:an.show_statistic,disabled:Pe,onChange:On=>{an.show_statistic=On.target.checked,wn(Object.assign({},an))}},vl.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u7EDF\u8BA1\u7ED3\u679C")),vl.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u672C\u573A\u8003\u8BD5\u7684\u7EDF\u8BA1\u7ED3\u679C\uFF09"))),((0,bt.aN)()||((_e=me==null?void 0:me.commonHeader)==null?void 0:_e.exercise_author))&&vl.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Wn},"\u4FDD\u5B58")))};var kd=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie})=>({exercise:me,loading:pe.effects,globalSetting:ie}))(r0),Il=x(59301),o0=Object.defineProperty,l0=Object.defineProperties,sd=Object.getOwnPropertyDescriptors,cd=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,i0=Object.prototype.propertyIsEnumerable,jd=(me,pe,ie)=>pe in me?o0(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,Ni=(me,pe)=>{for(var ie in pe||(pe={}))wd.call(pe,ie)&&jd(me,ie,pe[ie]);if(cd)for(var ie of cd(pe))i0.call(pe,ie)&&jd(me,ie,pe[ie]);return me},Jo=(me,pe)=>l0(me,sd(pe)),$l=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const ou=({exercise:me,globalSetting:pe,loading:ie,dispatch:dt})=>{const{workSetting:Dt,commonHeader:_e}=me,Ut=(0,ye.useParams)();Ut.category=Ut.categoryId;const[at,Oe]=(0,a.useState)(!1),[Pe,Pn]=(0,a.useState)(0),[Zn,Xn]=(0,a.useState)(0),[an,wn]=(0,a.useState)(!1),[aa,Aa]=(0,a.useState)({}),[_n,Wn]=(0,a.useState)(!1),[Ga,On]=(0,a.useState)([]),[pa,Jt]=(0,a.useState)([]),[ga,la]=(0,a.useState)([]),[ka,Yt]=(0,a.useState)([]),[Ca,ia]=(0,a.useState)([]);let[rr,ro]=(0,a.useState)({select_appraise:!1,sealed_review:!1,review_type:0,end_time:""});(0,a.useEffect)(()=>{var Da;!(0,bt.aN)()&&!((Da=Dt==null?void 0:Dt.exercise)!=null&&Da.is_creator)&&Oe(!0)},[Dt]),(0,a.useEffect)(()=>{Lr()},[_e]);const Lr=()=>$l(void 0,null,function*(){wn(!0);const Da=yield(0,fe.ZP)(`/api/exercises/${Ut==null?void 0:Ut.categoryId}/distinguish_exercise_setting.json`,{method:"get"});Object.keys(rr).forEach(Or=>{rr[Or]=Da==null?void 0:Da[Or]}),console.log(Da,"res"),Aa(Ni({},Da)),ia((Da==null?void 0:Da.exercise_questions)||[]),va(Ni({},Da)),Jt((Da==null?void 0:Da.course_review_teachers)||[]),ro(Jo(Ni({},rr),{select_appraise:!!Da.end_time})),Pn((Da==null?void 0:Da.total)||0),Xn((Da==null?void 0:Da.finish_total)||0),wn(!1),Va("")}),Ua=()=>{const Da=JSON.parse(JSON.stringify(rr));if(!Da.select_appraise){Lr();return}if(!Da.end_time){oe.ZP.warning("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");return}if(!Da.review_type&&!ka.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if(Da.review_type&&!Ca.some(Or=>!!Or.appraise_teachers.length)){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}Da.review_type===0&&(Da.exercises=ka==null?void 0:ka.map(Or=>{var Sr;return{id:Or.id,total:Or.total,finish_total:Or.finish_total,unfinished_total:Or.unfinished_total,appraise_teacher_ids:(Sr=Or==null?void 0:Or.appraise_teachers)==null?void 0:Sr.map(or=>({id:or.id}))}})),Da.review_type===1&&(Da.exercise_questions=Ca==null?void 0:Ca.map(Or=>{var Sr;return{id:Or.id,total:Or.total,question_id:Or.question_id,appraise_teacher_ids:(Sr=Or==null?void 0:Or.appraise_teachers)==null?void 0:Sr.map(or=>({id:or.id,message_status:or.message_status}))}})),delete Da.select_appraise,Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,closable:!0,width:650,title:"\u63D0\u793A",content:Il.createElement("div",null,Il.createElement("div",null,"\u4E3A\u786E\u4FDD\u96C6\u4E2D\u9605\u5377\u6A21\u5F0F\u8BC4\u5206\u7ED3\u679C\u7684\u51C6\u786E\u6027\uFF0C\u4FDD\u5B58\u8BC4\u9605\u8BBE\u7F6E\u4E4B\u540E\uFF0C\u672C\u573A\u8003\u8BD5\u5C06",Il.createElement("span",{style:{color:"#FA6400"}},"\u7981\u6B62"),"\u8FDB\u884C\u4EE5\u4E0B\u64CD\u4F5C\uFF1A"),Il.createElement("div",{style:{padding:10,marginTop:5,background:"#F6F7F9"}},"1.\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5",Il.createElement("br",null),"2.\u4FEE\u6539\u672C\u573A\u8003\u8BD5\u7ED3\u675F\u65F6\u95F4",Il.createElement("br",null),"3.\u5F00\u542F\u8865\u8003",Il.createElement("br",null),"4.\u7F16\u8F91\u8BD5\u5377"),Il.createElement("div",{className:"c-grey-999",style:{marginTop:10,color:"#FA6A0A",display:"flex",alignItems:"center"}},Il.createElement(b.Z,{style:{marginRight:3}})," ",Il.createElement("span",null,"\u6CE8\u610F\uFF1A\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03"))),onOk:()=>{sn(Da)}})},sn=Da=>$l(void 0,null,function*(){wn(!0);const Or=yield(0,fe.ZP)(`/api/exercises/${Ut==null?void 0:Ut.categoryId}/appraise_settings.json`,{method:"post",body:Da});if(wn(!1),Or.status===0){oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Va(""),Lr(),dt({type:"exercise/getCommonHeader",payload:Ni({},Ut)});return}}),tt=(Da,Or)=>{const Sr=Math.floor(Da/Or);let or=Da%Or;const ea=[];for(let _a=0;_a0?1:0)),or--;return ea},Za=Da=>{var Or;if(Da[0]){let Sr=[];ka.forEach(ea=>Sr=Sr.concat(ea.appraise_teachers));let or=pa.filter(ea=>Sr.every(_a=>_a.id!==ea.id));console.log(or,"newItems"),la([...or]),Wn(Da)}if(!Da[0]){let Sr=[];Sr=Sr.concat(((Or=Ca==null?void 0:Ca[Da[1]])==null?void 0:Or.appraise_teachers)||[]);let or=pa.filter(ea=>Sr.every(_a=>_a.id!==ea.id));la([...or]),Wn(Da)}},va=Da=>{if(Da!=null&&Da.start_appraise){Yt((Da==null?void 0:Da.exercises)||[]);return}let Or=Da==null?void 0:Da.exercises;const Sr=tt(Da==null?void 0:Da.total,Or.length),or=tt(Da==null?void 0:Da.finish_total,Or.length);Sr.forEach((ea,_a)=>{Or[_a].total=ea}),or.forEach((ea,_a)=>{Or[_a].finish_total=ea,Or[_a].unfinished_total=Or[_a].total-Or[_a].finish_total}),Or=Or.filter(ea=>ea.total>0),Yt(JSON.parse(JSON.stringify(Or)))},za=()=>{if(!Ga.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if(_n[0]){if(_n[1]===null){const Da=ga.filter(ea=>Ga.includes(ea.id));let Or=[...ka,...Da==null?void 0:Da.map(ea=>({appraise_teachers:[ea],total:0,finish_total:0,unfinished_total:0}))];const Sr=tt(Pe,Or.length),or=tt(Zn,Or.length);Sr.forEach((ea,_a)=>{Or[_a].total=ea}),or.forEach((ea,_a)=>{Or[_a].finish_total=ea,Or[_a].unfinished_total=Or[_a].total-Or[_a].finish_total}),Or=Or.filter(ea=>ea.total>0),Yt(JSON.parse(JSON.stringify(Or))),Wn(!1)}if(_n[1]!==null){const Da=ga.filter(Sr=>Ga.includes(Sr.id));let Or=[];ka.forEach((Sr,or)=>{if(_n[1]===or){Or.push(Jo(Ni({},Sr),{appraise_teachers:[...Sr.appraise_teachers,...Da]}));return}Or.push(Sr)}),Yt(Or),Wn(!1)}}if(!_n[0]&&_n[1]!==null){let Da=ga.filter(Sr=>Ga.includes(Sr.id));Da=Da.map(Sr=>Jo(Ni({},Sr),{message_status:aa!=null&&aa.start_appraise?1:0}));let Or=[];Ca.forEach((Sr,or)=>{if(_n[1]===or){Or.push(Jo(Ni({},Sr),{appraise_teachers:[...Sr.appraise_teachers,...Da]}));return}Or.push(Sr)}),ia(Or),Wn(!1)}},ur=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Da,Or,Sr)=>Sr+1,width:70},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",dataIndex:"appraise_teachers",className:Ll.padding,render:(Da,Or,Sr)=>Il.createElement("span",{className:Ll.tagWrap},Il.createElement("div",null,Da==null?void 0:Da.map(or=>Il.createElement("div",{className:Ll.tag,key:or.id},Il.createElement("b",{title:or.name},or.name),(or==null?void 0:or.disabled)!==!0&&!at&&Il.createElement("span",{onClick:ea=>{const _a=Da.filter(ra=>ra.id!==or.id),ya=ka.map((ra,xa)=>xa===Sr?Jo(Ni({},ra),{appraise_teachers:_a}):ra);_a.length?Yt(ya):Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5220\u9664\u6B64\u6559\u5E08\uFF0C\u8BD5\u5377\u5C06\u91CD\u65B0\u5747\u5206\u7ED9\u5176\u4ED6\u8BC4\u9605\u6559\u5E08\uFF1B\u5982\u9700\u6DFB\u52A0\u6307\u5B9A\u6559\u5E08\uFF0C\u8BF7\u70B9\u51FB\u201C+\u8BC4\u9605\u6559\u5E08\u201D\u6309\u94AE\u3002",onOk:()=>{const ra=ka==null?void 0:ka.filter((nr,vr)=>vr!==Sr),xa=tt(Pe,ra.length),qn=tt(Zn,ra.length);xa.forEach((nr,vr)=>{ra[vr].total=nr}),qn.forEach((nr,vr)=>{ra[vr].finish_total=nr,ra[vr].unfinished_total=ra[vr].total-ra[vr].finish_total}),Yt(JSON.parse(JSON.stringify(ra)))}})}},Il.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Il.createElement("span",{onClick:()=>Za([!0,Sr]),style:{fontSize:14,fontWeight:400},className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}," \u6DFB\u52A0\u5171\u8BC4\u6559\u5E08"))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}],Ha=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Da,Or,Sr)=>Sr+1,width:70},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",align:"center",width:100},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",className:Ll.padding,dataIndex:"appraise_teachers",render:(Da,Or,Sr)=>Il.createElement("span",{className:Ll.tagWrap},Il.createElement("div",null,Da==null?void 0:Da.map(or=>Il.createElement("div",{className:Ll.tag,key:or.id},Il.createElement("b",{title:or.name},or.name),(or==null?void 0:or.disabled)!==!0&&!at&&Il.createElement("span",{onClick:()=>{const ea=Da.filter(ya=>ya.id!==or.id),_a=Ca.map((ya,ra)=>ra===Sr?Jo(Ni({},ya),{appraise_teachers:ea}):ya);ia(_a)}},Il.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Il.createElement("span",{onClick:()=>Za([!1,Sr]),className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}];(0,a.useEffect)(()=>{Va("\u8868\u5355\u672A\u4FDD\u5B58")},[rr]);const Vr=Da=>{Da.preventDefault(),Da.returnValue=""},Va=(Da="")=>{dt({type:"exercise/setActionTabs",payload:{key:Da}})};return Il.createElement("section",{className:Ll.form,style:{padding:"30px 50px",marginBottom:"0px"}},Il.createElement(Ft.Z,{spinning:an},Il.createElement("div",{className:Ll.title},"\u96C6\u4E2D\u8BC4\u9605",Il.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5F53\u5B58\u5728\u5B66\u751F\u5DF2\u4EA4\u5377\u3001\u8003\u8BD5\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\uFF0C\u4E14\u8BD5\u5377\u5305\u542B\u586B\u7A7A\u3001\u7B80\u7B54\u3001\u7F16\u7A0B\u3001\u7A0B\u5E8F\u586B\u7A7A\u3001\u5B9E\u8BAD\u9898\u4EFB\u610F\u9898\u578B\u65F6\uFF0C\u65B9\u53EF\u5F00\u542F\u96C6\u4E2D\u8BC4\u9605\uFF09")),Il.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px"}},Il.createElement(Ne.default,{checked:rr.select_appraise,disabled:at||!(aa!=null&&aa.can_open_appraise&&!(aa!=null&&aa.end_time)),onChange:Da=>{rr.select_appraise=Da.target.checked,ro(Object.assign({},rr))}}),Il.createElement("span",{style:{color:"#000",fontSize:"14px",marginLeft:"10px"}},"\u96C6\u4E2D\u9605\u5377"),Il.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u5F00\u542F\u96C6\u4E2D\u9605\u5377\u540E\u65E0\u6CD5\u5173\u95ED\uFF09"),rr.select_appraise&&Il.createElement("div",{style:{marginTop:"15px",marginLeft:30}},Il.createElement("span",{style:{color:"#666666",marginRight:"20px"}},Il.createElement("span",{style:{color:"red"}},"*"),"\u622A\u6B62\u65F6\u95F4"),Il.createElement(xn.default,{style:{width:234},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Qe()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:at,allowClear:!1,value:rr.end_time?Qe()(rr.end_time):"",disabledDate:Nt.Q8,disabledTime:Da=>(0,Nt.d0)(Da),onChange:(Da,Or)=>{rr.end_time=Or,ro(Object.assign({},rr))}}))),rr.select_appraise&&Il.createElement("div",null,Il.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Il.createElement(Ne.default,{checked:rr.sealed_review,disabled:at||!(aa!=null&&aa.change_sealed_review),onChange:Da=>{rr.sealed_review=Da.target.checked,ro(Object.assign({},rr))}}),Il.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"#000"}},"\u5C01\u5377\u8BC4\u9605"),Il.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u9009\u4E2D\uFF0C\u6559\u5E08\u5728\u96C6\u4E2D\u8BC4\u9605\u754C\u9762\u4E0D\u663E\u793A\u5B66\u751F\u4FE1\u606F\uFF09")),Il.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Il.createElement("div",{style:{color:"#333333",fontSize:14,fontWeight:600,marginBottom:20}},"\u8BC4\u9605\u6A21\u5F0F",Il.createElement("span",{style:{fontWeight:400,fontSize:14,color:"#666"}},"\uFF08\u8BC4\u9605\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u66F4\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF09")),Il.createElement(be.ZP.Group,{value:rr.review_type,disabled:at||!!(aa!=null&&aa.end_time),style:{marginLeft:30},onChange:Da=>{rr.review_type=Da.target.value,ro(Object.assign({},rr))}},Il.createElement(be.ZP,{value:0},Il.createElement("span",{style:{color:"#000"}},"\u8BD5\u5377\u6A21\u5F0F"),Il.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5B66\u751F\u8BD5\u5377\u5C06\u5747\u5300\u5206\u914D\u7ED9\u8BC4\u9605\u6559\u5E08\uFF0C\u65E0\u6CD5\u5747\u5206\u591A\u51FA\u7684\u8BD5\u5377\u968F\u673A\u5206\u914D\uFF09")),Il.createElement(be.ZP,{style:{marginLeft:"50px"},value:1},Il.createElement("span",{style:{color:"#000"}},"\u8BD5\u9898\u6A21\u5F0F"),Il.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5C06\u5355\u4E2A\u8BD5\u9898\u6307\u5B9A\u7ED9\u591A\u4E2A\u6559\u5E08\u5171\u540C\u8BC4\u9605\uFF09"))),Il.createElement(re.Z,{style:{width:"100%",marginTop:"15px"},align:"middle"},Il.createElement("div",{style:{color:"#666666",marginRight:"20px"}},Il.createElement("span",{style:{color:"red"}},"*"),"\u8BC4\u9605\u6559\u5E08"),rr.review_type===0&&Il.createElement("div",{style:{flex:1}},ka.length>0&&Il.createElement(z.default,{bordered:!0,className:"mb20",pagination:!1,dataSource:ka,columns:ur}),(aa==null?void 0:aa.start_appraise)===!1&&!at&&Il.createElement("div",{onClick:()=>Za([!0,null]),style:{display:Pe==1&&(ka==null?void 0:ka.length)===1&&"none",width:"124px",height:"38px",lineHeight:"38px",border:"1px #3061D0 solid",borderRadius:"2px",textAlign:"center",cursor:"pointer",color:"#3061D0",background:"#fff"}},"\u6DFB\u52A0\u8BC4\u9605\u6559\u5E08")),rr.review_type===1&&Il.createElement("div",{style:{flex:1}},Ca.length>0&&Il.createElement(z.default,{bordered:!0,pagination:!1,rowKey:"id",dataSource:Ca,columns:Ha}))))),((0,bt.aN)()||!!aa.exercise_author)&&Il.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Ua},"\u4FDD\u5B58")),Il.createElement(Fe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:!!_n,title:(_n==null?void 0:_n[1])===null?"\u6307\u5B9A\u8BC4\u9605\u6559\u5E08":"\u5171\u540C\u8BC4\u9605\u6559\u5E08",bodyStyle:{padding:"0 16px"},okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:"800px",onOk:za,afterClose:()=>{On([])},onCancel:()=>{Wn(!1)}},Il.createElement(z.default,{pagination:{hideOnSinglePage:!0},bordered:!0,rowSelection:{type:"checkbox",onChange:Da=>{On(Da)}},rowKey:"id",dataSource:ga,columns:[{title:"\u6559\u5E08\u59D3\u540D",align:"center",dataIndex:"name",width:"25%"},{title:"\u624B\u673A",align:"center",dataIndex:"phone",width:"18%"},{title:"\u90AE\u7BB1",align:"center",dataIndex:"email",width:"28%"},{title:"\u89D2\u8272",align:"center",dataIndex:"identity"}]})))};var zu=(0,ye.connect)(({exercise:me,loading:pe,globalSetting:ie})=>({exercise:me,loading:pe.effects,globalSetting:ie}))(ou),Ai=x(59301),Js=Object.defineProperty,Ac=Object.defineProperties,qs=Object.getOwnPropertyDescriptors,Kc=Object.getOwnPropertySymbols,Lc=Object.prototype.hasOwnProperty,Ks=Object.prototype.propertyIsEnumerable,u0=(me,pe,ie)=>pe in me?Js(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[pe]=ie,s0=(me,pe)=>{for(var ie in pe||(pe={}))Lc.call(pe,ie)&&u0(me,ie,pe[ie]);if(Kc)for(var ie of Kc(pe))Ks.call(pe,ie)&&u0(me,ie,pe[ie]);return me},S0=(me,pe)=>Ac(me,qs(pe)),$0=(me,pe,ie)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(ie.next(Oe))}catch(Pe){Dt(Pe)}},Ut=Oe=>{try{at(ie.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Ut);at((ie=ie.apply(me,pe)).next())});const P0=({exercise:me,globalSetting:pe,loading:ie,dispatch:dt})=>{var Dt,_e;const{workSetting:Ut,commonHeader:at}=me,[Oe]=de.default.useForm(),Pe=(0,ye.useParams)();Pe.category=Pe.categoryId;const[Pn,Zn]=(0,a.useState)(!1),[Xn,an]=(0,a.useState)(!1),wn={forbid_screen:!1,screen_key:((Dt=Ut==null?void 0:Ut.exercise)==null?void 0:Dt.screen_key)||"",use_white_list:!1,white_list:[],net_limit:!1,net_limit_list:""};let[aa,Aa]=(0,a.useState)(wn);const[_n,Wn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{var Yt,Ca;Ga(),(Yt=Ut==null?void 0:Ut.exercise)!=null&&Yt.id&&!(0,bt.aN)()&&!((Ca=Ut==null?void 0:Ut.exercise)!=null&&Ca.is_creator)&&Zn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{((at==null?void 0:at.exercise_status)==="5"||at!=null&&at.appraise_label)&&Zn(!0)},[at]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],...me.actionTabs.data.ip]:aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],On(aa),Wn(!0))},[me.actionTabs]);const Ga=()=>{const Yt=JSON.parse(JSON.stringify(Ut));Object.keys(aa).forEach(Ca=>{var ia;aa[Ca]=(ia=Yt==null?void 0:Yt.exercise)==null?void 0:ia[Ca]}),On(S0(s0({},aa),{ip_limit:aa.ip_limit!=="no"}))},On=Yt=>{Aa(Yt),Oe.setFieldsValue(Yt)};function pa(Yt=""){if(!Yt)return!1;const Ca=Yt.split(` `),ia=/^(http|https):\/\//;for(let rr=0;rr{var Ca,ia;if(Yt.categoryId=Pe.categoryId,Yt.forbid_screen&&!(Yt!=null&&Yt.screen_key.replace(/\s+/g,""))){oe.ZP.warning("\u8BF7\u586B\u5199\u89E3\u9501\u5207\u5C4F\u7801");return}if(Yt!=null&&Yt.use_white_list&&!((Ca=Yt==null?void 0:Yt.white_list)!=null&&Ca.length)){oe.ZP.warning("\u8BF7\u9009\u62E9\u767D\u540D\u5355\u7A0B\u5E8F");return}if(Yt!=null&&Yt.net_limit){if(Yt!=null&&Yt.net_limit_list&&!((ia=Yt==null?void 0:Yt.net_limit_list)!=null&&ia.replace(/\s+/g,""))){oe.ZP.warning("\u7F51\u7EDC\u9650\u5236\u4E2D\uFF0C\u4E0D\u5141\u8BB8\u5168\u90E8\u4E3A\u7A7A\u683C");return}if(pa(Yt==null?void 0:Yt.net_limit_list)){oe.ZP.warning("\u7F51\u7EDC\u9650\u5236\u4E2D\uFF0C\u57DF\u540D\u4E0D\u9700\u8981\u586B\u5199http/https\u7684\u524D\u7F00\uFF0C\u8BF7\u4FEE\u6539");return}}ga(Yt)},ga=Yt=>$0(void 0,null,function*(){an(!0);const Ca=yield(0,fe.ZP)(`/api/exercises/${Pe==null?void 0:Pe.categoryId}/client_cheating_settings.json`,{method:"post",body:Yt});an(!1),Ca.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),dt({type:"exercise/getCommonHeader",payload:s0({},Pe)}),dt({type:"exercise/getWorkSetting",payload:s0({},Pe)}),Wn(!1))});(0,a.useEffect)(()=>{la(_n?"\u8868\u5355\u672A\u4FDD\u5B58":"")},[_n]);const la=(Yt="")=>{dt({type:"exercise/setActionTabs",payload:{key:Yt}})},ka=[{value:"360huabao",label:"360\u753B\u62A5"},{value:"360se",label:"360\u6D4F\u89C8\u5668"},{value:"chrome",label:"google\u6D4F\u89C8\u5668"},{value:"Code",label:"vscode\u7F16\u8F91\u5668"},{value:"msedge",label:"edge\u6D4F\u89C8\u5668"},{value:"QQ",label:"qq\u6D4F\u89C8\u5668"},{value:"SystemSettings",label:"\u7CFB\u7EDF\u8BBE\u7F6E"},{value:"WeChat",label:"\u5FAE\u4FE1"},{value:"WindowsTerminal",label:"\u7EC8\u7AEF"},{value:"WINWORD",label:"\u5FAE\u8F6FOffice"},{value:"Taskmgr",label:"\u4EFB\u52A1\u7BA1\u7406\u5668"},{value:"EXCEL",label:"Microsoft Excel"},{value:"POWERPNT",label:"Microsoft PowerPoint"},{value:"firefox",label:"Firefox"},{value:"DingTalk",label:"\u9489\u9489"}];return Ai.createElement("section",{className:Ll.formDom,style:{padding:"30px 50px"}},Ai.createElement(Ft.Z,{spinning:ie["exercise/getWorkSetting"]||Xn},Ai.createElement(de.default,{form:Oe,name:"basicForm",initialValues:wn,colon:!1,onValuesChange:(Yt,Ca)=>{console.log("onValuesChange",Ca);let ia=Ca;for(const rr in Yt)(rr=="ip_bind"||rr=="ip_limit")&&!Ca.is_locked&&Ca[rr]&&(ia.is_locked=!0),rr=="open_camera"&&(ia.photo_count=ia.photo_count||5);On(ia),Wn(!0)},onFinish:Jt},Ai.createElement("div",{className:Ll.title},"\u5BA2\u6237\u7AEF\u8BBE\u7F6E"),Ai.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},Ai.createElement("div",{style:{color:"#000"}},"1\u3001\u82E5\u672A\u8BBE\u7F6E\u5BA2\u6237\u7AEF\u7684\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u652F\u6301\u5B66\u751F\u7F51\u9875\u7AEF\u4E0E\u5BA2\u6237\u7AEF\u540C\u65F6\u6309\u7167\u540C\u4E00\u5957\u89C4\u5219\u8FDB\u884C\u8003\u8BD5\uFF0C\u8003\u8BD5\u7684\u6570\u636E\u4E24\u7AEF\u540C\u6B65\u3002\u82E5\u8BBE\u7F6E\u5BA2\u6237\u7AEF\u8003\u8BD5\u4E0B\u7684\u4EFB\u610F\u89C4\u5219\uFF0C\u5219\u5224\u5B9A\u4E3A\u5F00\u542F\u5BA2\u6237\u7AEF\u8BBE\u7F6E\u7684\u8003\u8BD5\u3002"),Ai.createElement("div",{style:{color:"#000",marginTop:"20px"}},"2\u3001\u5F00\u542F\u5BA2\u6237\u7AEF\u8BBE\u7F6E\u7684\u8003\u8BD5\uFF0C\u5B66\u751F\u53EA\u80FD\u5728Windows\u7CFB\u7EDF\u7684\u5BA2\u6237\u7AEF\u8FDB\u884C\u8003\u8BD5\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5\u8003\u8BD5\u7CFB\u7EDF\u5BA2\u6237\u7AEF\uFF0C\u70B9\u51FB",Ai.createElement("a",{onClick:()=>{window.open("/download")}},"\u3010\u4E0B\u8F7D\u5BA2\u6237\u7AEF\u3011"))),Ai.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ai.createElement(de.default.Item,{name:"forbid_screen",valuePropName:"checked",style:{marginBottom:0}},Ai.createElement(Ne.default,{disabled:Pn},Ai.createElement(Ai.Fragment,null,Ai.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7981\u6B62\u5207\u5C4F")))),aa.forbid_screen&&Ai.createElement(re.Z,{className:Ll.unlockKeyWrapper,align:"middle"},Ai.createElement("div",{style:{color:"#666666"}},"\u89E3\u9501\u5207\u5C4F\u7801"),Ai.createElement(De.Z,{title:"\u5982\u5B66\u751F\u9700\u89E3\u9664\u5207\u5C4F\u9650\u5236\uFF0C\u9700\u6559\u5E08\u8F93\u5165\u89E3\u9501\u7801\u89E3\u9664"},Ai.createElement("i",{className:`iconfont icon-tishixiaowenhao ${Ll.title_icon}`,style:{cursor:"pointer",margin:"0 10px"}})),Ai.createElement(de.default.Item,{name:"screen_key",style:{marginBottom:0}},Ai.createElement(Se.default,{size:"large",className:Ll.unlockKeyInput,disabled:!0,placeholder:"\u8BF7\u8F93\u5165\u89E3\u9501\u5207\u5C4F\u7801"})),Ai.createElement(ve.Z,null,!Pn&&Ai.createElement(Ce.ZP,{type:"link",onClick:()=>{Oe.setFieldsValue({screen_key:Math.floor(Math.random()*1e6).toString().padStart(6,"0")})}},"\u6362\u4E00\u6362")))),Ai.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ai.createElement(de.default.Item,{name:"use_white_list",valuePropName:"checked",style:{marginBottom:0}},Ai.createElement(Ne.default,{disabled:Pn},Ai.createElement(Ai.Fragment,null,Ai.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8BBE\u7F6E\u767D\u540D\u5355\u7A0B\u5E8F")))),aa.use_white_list&&Ai.createElement(re.Z,{className:Ll.unlockKeyWrapper,align:"middle"},Ai.createElement(de.default.Item,{name:"white_list",style:{marginBottom:0,marginRight:10}},Ai.createElement(dn.default,{mode:"tags",size:"large",disabled:Pn,style:{width:1016},options:ka})))),Ai.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},Ai.createElement(de.default.Item,{name:"net_limit",valuePropName:"checked",style:{marginBottom:0}},Ai.createElement(Ne.default,{disabled:Pn},Ai.createElement(Ai.Fragment,null,Ai.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7F51\u7EDC\u53EF\u8BBF\u95EE\u6E05\u5355")))),aa.net_limit&&Ai.createElement(re.Z,{className:Ll.unlockKeyWrapper,align:"middle"},Ai.createElement(de.default.Item,{name:"net_limit_list",style:{marginBottom:0}},Ai.createElement(Se.default.TextArea,{rows:5,style:{width:1016},disabled:Pn,placeholder:`\u652F\u6301 http\u548Cip\u4E24\u79CD\u65B9\u5F0F\uFF0C\u591A\u4E2Ahttp\uFF0Cip\u591A\u884C\u5C55\u793A\u5982\uFF1A www.educoder.net\uFF08\u57DF\u540D\u4E0D\u9700\u8981\u586B\u5199http/https\u524D\u7F00\uFF09 192.160.22.2 diff --git a/p__Classrooms__Lists__LearningPath__index.0edc3be6.async.js b/p__Classrooms__Lists__LearningPath__index.52df2d93.async.js similarity index 99% rename from p__Classrooms__Lists__LearningPath__index.0edc3be6.async.js rename to p__Classrooms__Lists__LearningPath__index.52df2d93.async.js index 659a0cc71b..03fa56b2de 100644 --- a/p__Classrooms__Lists__LearningPath__index.0edc3be6.async.js +++ b/p__Classrooms__Lists__LearningPath__index.52df2d93.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[4928],{18785:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return de}});var a=l(54476),C=l(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},z=P,y=l(7657),g=function(q,oe){return C.createElement(y.Z,(0,a.Z)({},q,{ref:oe,icon:z}))},ce=C.forwardRef(g),de=ce},33853:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return de}});var a=l(54476),C=l(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},z=P,y=l(7657),g=function(q,oe){return C.createElement(y.Z,(0,a.Z)({},q,{ref:oe,icon:z}))},ce=C.forwardRef(g),de=ce},38819:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return de}});var a=l(54476),C=l(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},z=P,y=l(7657),g=function(q,oe){return C.createElement(y.Z,(0,a.Z)({},q,{ref:oe,icon:z}))},ce=C.forwardRef(g),de=ce},44080:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return we}});var a=l(59301),C=l(8591),P=l(38854),z=l(73217),y=l(17030),g=l(41867),ce=l(56102),de=l(84056),U={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},q=(ee,ne,_)=>new Promise((S,v)=>{var L=M=>{try{k(_.next(M))}catch(A){v(A)}},I=M=>{try{k(_.throw(M))}catch(A){v(A)}},k=M=>M.done?S(M.value):Promise.resolve(M.value).then(L,I);k((_=_.apply(ee,ne)).next())});function oe(ee){if(isNaN(ee))return{minutes:"00",seconds:"00"};const ne=new Date(ee*1e3).toISOString().substr(11,8);return{hour:ne.substr(0,2),minutes:ne.substr(3,2),seconds:ne.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Q(ee,ne){return ee-ne}function o(ee){ee.sort(Q);let ne=0;for(let _=0;_{},handlePlay:M=()=>{},handlePlayEnded:A=()=>{},autoPlay:J=!1,onPlayEnded:se=()=>{},isShowWaterMark:he=!0},De)=>{var Ce;const Ae=((Ce=ne==null?void 0:ne.split("."))==null?void 0:Ce.pop())==="flv",N=(0,a.useRef)(),Ve=(0,a.useRef)(),Ge=(0,a.useRef)(),Z=(0,a.useRef)(),Y=(0,a.useRef)(),Re=(0,a.useRef)(),Ee=(0,a.useRef)(),le=(0,a.useRef)(),ue=(0,a.useRef)(),_e=(0,a.useRef)(),je=(0,a.useRef)(),Fe=(0,a.useRef)(),Ze=(0,a.useRef)(),We=(0,a.useRef)(),it=navigator.userAgent.toLowerCase().match(V),Me=it?it[0]:"pc",He=(0,a.useRef)(!1),Ye=(0,g.eY)();let Je=0,et=0,R=0,E=null,s=!1,c=20,m=1,$=!1,d=!1,p=[];(0,a.useImperativeHandle)(De,()=>({getLastUpdatedTime:()=>N.current.currentTime,getDuration:()=>N.current.duration})),C.ZP.config({maxCount:1,getContainer:()=>Ge.current});const b=(0,a.useCallback)((ge,ke=!1)=>{let be={point:N.current.currentTime};E?(be.log_id=E,be.watch_duration=o(p),be.total_duration=et):(L?(be.video_id=parseInt(S,10),be.course_id=L):be.video_id=S,be.duration=Je,be.device=Me),ke&&(be.ed="1");function ut(){return q(this,null,function*(){$=!0,E=yield v==null?void 0:v(be),$=!1,ge&&ge()})}ut()},[S,L]);(0,a.useEffect)(()=>{N.current&&(Z.current.style.display="none",Y.current.style.display="block"),C.ZP.destroy();let ge=null;return z.Z.isSupported&&Ae&&ne&&(ne==null?void 0:ne.indexOf(".m3u8"))<0?(ge=z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:ne,muted:!1}),N.current&&(ge.attachMediaElement(N.current),ge.load())):N.current.setAttribute("src",ne),B(),()=>{ge&&(ge.unload(),ge.pause(),ge.destroy(),ge=null)}},[N,Ae,ne]);function u(){N.current.paused?(Z.current.style.display="none",Y.current.style.display="block"):(Z.current.style.display="block",Y.current.style.display="none")}function B(){je.current.style.display="none",Ze.current.style.display="none",Fe.current.style.display="none",N.current.muted||N.current.volume===0?je.current.style.display="block":N.current.volume>0&&N.current.volume<=.5?Ze.current.style.display="block":Fe.current.style.display="block"}(0,a.useEffect)(()=>{const ge=document.getElementById("play"),ke=document.querySelectorAll(".playback-icons use");function be(){M(),I&&!He.current&&(N.current.currentTime=I),He.current=!0,p.push(N.current.currentTime),s||(s=!0,_&&b())}function ut(){return q(this,null,function*(){u(),p.push(N.current.currentTime),_&&b(()=>{E=null,R=0,s=!1,$=!1,d=!1,p=[],et=0,m=1},!0),se()})}function gt(){Re.current.value=Math.round(N.current.currentTime),Ee.current.value=Math.round(N.current.currentTime)}function K(){const Be=oe(Math.round(N.current.currentTime));ue.current.innerText=`${Be.hour>0?Be.hour+":":""}${Be.minutes}:${Be.seconds}`,ue.current.setAttribute("datetime",`${Be.hour>0?" "+Be.hour+" ":""}${Be.minutes}m ${Be.seconds}s`)}function bt(){var Be,Qe,Rt,_t,Nt,$t,kt;const Lt=Math.round((Be=N.current)==null?void 0:Be.duration);(Rt=(Qe=Re.current)==null?void 0:Qe.setAttribute)==null||Rt.call(Qe,"max",Lt),(Nt=(_t=Ee.current)==null?void 0:_t.setAttribute)==null||Nt.call(_t,"max",Lt);const tt=oe(Lt);le.current&&(le.current.innerText=`${tt.hour>0?tt.hour+":":""}${tt.minutes}:${tt.seconds}`,(kt=($t=le.current).setAttribute)==null||kt.call($t,"datetime",`${tt.hour>0?" "+tt.hour+" ":""}${tt.minutes}m ${tt.seconds}s`))}function mt(){try{const Be=Math.round(N.current.duration);Re.current.setAttribute("max",Be),Ee.current.setAttribute("max",Be);const Qe=oe(Be);le.current.innerText=`${Qe.hour>0?Qe.hour+":":""}${Qe.minutes}:${Qe.seconds}`,le.current.setAttribute("datetime",`${Qe.hour>0?" "+Qe.hour+" ":""}${Qe.minutes}m ${Qe.seconds}s`),gt(),K();const{width:Rt,height:_t,x:Nt,y:$t}=Ve.current.getBoundingClientRect();if(Nt<0||$t<0||!Rt)return;if(!d){let kt=N.current.currentTime,Lt=kt-R;Math.abs(Lt)<10?(et+=Math.abs(Lt),R=kt,$||et-m*c>=0&&(m++,p.push(R),_&&b())):(R=kt,_&&b())}}catch(Be){console.log(Be)}}function xt(){d=!0}function qe(){N.current.playing&&p.push(N.current.currentTime,R),R=N.current.currentTime,d=!1}function At(){Je=N.current.duration,Je<=20&&(c=Je/3),N.current.addEventListener("play",be)}function Tt(Be){Be.preventDefault(),(0,de.vp)()?(N.current.style.width="100%",N.current.style.height="100%"):N.current.style.cssText=""}function Ft(){k()}function Et(Be){if(!ee){C.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Qe=Be.target.dataset.seek?Be.target.dataset.seek:Be.target.value;N.current.currentTime=Qe,Ee.current.value=Qe,Re.current.value=Qe}function Zt(Be){const Qe=Math.round(Be.offsetX/Be.target.clientWidth*parseInt(Be.target.getAttribute("max"),10));Re.current.setAttribute("data-seek",Qe);const Rt=oe(Qe);_e.current.textContent=`${Rt.hour>0?Rt.hour+":":""}${Rt.minutes}:${Rt.seconds}`;const _t=N.current.getBoundingClientRect();_e.current.style.left=`${Be.pageX-_t.left}px`}function Kt(Be){switch(Be.code){case"Space":Be.preventDefault(),ye();break;case"ArrowRight":if(Be.preventDefault(),!ee){C.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime>=N.current.duration)break;N.current.currentTime=parseInt(N.current.currentTime)+5,gt();break;case"ArrowLeft":if(Be.preventDefault(),!ee){C.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime===0)break;N.current.currentTime=parseInt(N.current.currentTime)-5,gt();break;case"ArrowUp":Be.preventDefault(),N.current.volume<1&&(N.current.volume=(parseInt(N.current.volume*10)+1)/10);break;case"ArrowDown":Be.preventDefault(),N.current.volume>0&&(N.current.volume=(parseInt(N.current.volume*10)-1)/10);break}}return Ge.current.addEventListener((0,de.gH)(),Tt),N.current.addEventListener("canplay",At),N.current.addEventListener("ended",ut),N.current.addEventListener("seeking",xt),N.current.addEventListener("seeked",qe),N.current.addEventListener("loadedmetadata",bt),Re.current.addEventListener("mousemove",Zt),Re.current.addEventListener("input",Et),N.current.addEventListener("timeupdate",mt),N.current.addEventListener("pause",Ft),N.current.addEventListener("volumechange",B),document.addEventListener("keydown",Kt),()=>{var Be,Qe,Rt,_t,Nt,$t,kt,Lt,tt,rt,dn,H;(Be=N.current)==null||Be.removeEventListener("canplay",At),(Qe=N.current)==null||Qe.removeEventListener("play",be),(Rt=N.current)==null||Rt.removeEventListener("ended",ut),(_t=N.current)==null||_t.removeEventListener("seeking",xt),(Nt=N.current)==null||Nt.removeEventListener("seeked",qe),($t=Re.current)==null||$t.removeEventListener("mousemove",Zt),(kt=Re.current)==null||kt.removeEventListener("input",Et),(Lt=N.current)==null||Lt.removeEventListener("timeupdate",mt),(tt=N.current)==null||tt.removeEventListener("pause",Ft),(rt=N.current)==null||rt.removeEventListener("loadedmetadata",bt),(dn=N.current)==null||dn.removeEventListener("volumechange",B),document.removeEventListener("keydown",Kt),(H=N.current)!=null&&H.playing&&(p.push(R,N.current.currentTime),_&&b())}},[N,ne]),(0,a.useEffect)(()=>{if(N.current.onended=()=>{A(N)},N.current.oncontextmenu=()=>!1,(ne==null?void 0:ne.indexOf(".m3u8"))>-1){if(N.current.canPlayType("application/vnd.apple.mpegurl"))N.current.src=ne;else if(y.ZP.isSupported()){var ge=new y.ZP;ge.loadSource(ne),ge.attachMedia(N.current)}}},[ne]);const[W,me]=(0,a.useState)(1),ye=()=>{N.current.paused||N.current.ended?N.current.play():N.current.pause(),u()};function $e(){N.current.muted=!N.current.muted,N.current.muted?(We.current.setAttribute("data-volume",volume.value),We.current.value=0):We.current.value=We.current.dataset.volume}return a.createElement("div",{style:{position:"relative"},ref:Ge},a.createElement("div",{ref:Ve,className:`${U.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${U.animate__loop}`},he&&Ye?Ye.login:" "),a.createElement("div",{className:U.container},a.createElement("div",{className:U["video-container"],id:"video-container"},a.createElement("div",{className:U["playback-animation"],id:"playback-animation"},a.createElement("svg",{className:U["playback-icons"]},a.createElement("use",{className:"hidden",href:"#play-icon"}),a.createElement("use",{href:"#pause"}))),a.createElement("video",{className:U.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:N,autoPlay:J}),a.createElement("div",{className:`${U["video-controls"]} `,id:"video-controls"},a.createElement("div",{className:U["bottom-controls"]},a.createElement("div",{className:U["left-controls"]},a.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:ye},a.createElement("svg",{className:U["playback-icons"]},a.createElement("use",{ref:Y,href:"#play-icon"}),a.createElement("use",{ref:Z,style:{display:"none"},href:"#pause"}))),a.createElement("div",{className:U.time},a.createElement("time",{id:"time-elapsed",ref:ue},"00:00"),a.createElement("span",null," / "),a.createElement("time",{id:"duration",ref:le},"00:00"))),a.createElement("div",{className:U["right-controls"]},ee&&a.createElement(P.Z,{placement:"top",overlayClassName:U.rateOverlay,getPopupContainer:ge=>ge.parentNode,menu:{items:[{key:"1",label:a.createElement("span",{onClick:()=>{me(1),N.current.playbackRate=1}},"1.0x")},{key:"2",label:a.createElement("span",{onClick:()=>{me(1.5),N.current.playbackRate=1.5}},"1.5x")},{key:"3",label:a.createElement("span",{onClick:()=>{me(2),N.current.playbackRate=2}},"2.0x")}]}},a.createElement("div",{className:`${U.controlText} mr5`},"\u500D\u901F")),a.createElement(ce.CopyToClipboard,{text:ne,onCopy:()=>C.ZP.success("\u590D\u5236\u6210\u529F")},a.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},a.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),a.createElement("div",{className:U["volume-controls"]},a.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:U["volume-button"],id:"volume-button",onClick:$e},a.createElement("i",{ref:je,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:Ze,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:Fe,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),a.createElement("input",{className:U.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:We,style:{display:"none"},onClick:B})),a.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:U["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(Ge.current)}},a.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),a.createElement("div",{className:U["video-progress"]},a.createElement("progress",{ref:Ee,value:"0",min:"0"}),a.createElement("input",{className:U.seek,ref:Re,value:"0",min:"0",type:"range",step:"1"}),a.createElement("div",{className:U["seek-tooltip"],ref:_e,id:"seek-tooltip"},"00:00"))))),a.createElement("svg",{style:{display:"none"}},a.createElement("defs",null,a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},47318:function(dt,xe,l){"use strict";l.r(xe),l.d(xe,{default:function(){return ne}});var a=l(59301),C=l(65582),P=l(61621),z=l(43418),y={flex_box_center:"flex_box_center___yF0Vb",flex_space_between:"flex_space_between___vsNYO",flex_box_vertical_center:"flex_box_vertical_center___C4UqH",flex_box_center_end:"flex_box_center_end___EGtmE",flex_box_column:"flex_box_column___uX9g9",bg:"bg___sRga2",menu:"menu___s8xQl",desc:"desc___poG1Z",listItem:"listItem___ml9kN",info:"info___Z8R2Z",add:"add___jH8te",addForm:"addForm___O999t",attendanceCode:"attendanceCode___hPKyl",signInStatus:"signInStatus___usMPT",colorE02020:"colorE02020___hZvSz",color0152d9:"color0152d9___RgXzd",colorFA6400:"colorFA6400___g2yU6",iframe:"iframe___HRzMh"},g=l(41867);const ce={init:[{stage_name:"\u521D\u59CB\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{discipline_name:"\u5224\u65AD\u8BED\u53E5",shixun_count:"2",video_count:"2",parent:2,key:"22"},{shixun_name:"if\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"221"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08if\u591A\u91CD\u9009\u62E9\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/23xkyrmn/challenges",parent:"22",key:"222"},{shixun_name:"switch\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"223"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"22",key:"224"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"23",key:"231"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"23",key:"232"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"23",key:"233"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"23",key:"234"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"32",key:"321"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"32",key:"322"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"32",key:"323"},{discipline_name:"\u51FD\u6570\u91CD\u8F7D",shixun_count:"1",video_count:"1",parent:3,key:"33"},{shixun_name:"\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"33",key:"331"},{shixun_name:"C++\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/6hbqpv7e/challenges",parent:"33",key:"332"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"34"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"34",key:"341"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"34",key:"342"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"34",key:"343"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{discipline_name:"\u6307\u9488",shixun_count:"3",video_count:"1",parent:6,key:"62"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"62",key:"621"},{shixun_name:"\u6307\u9488\u7EC3\u624B-\u5B57\u7B26\u4E32\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lkn6xuc3/challenges",parent:"62",key:"622"},{shixun_name:"\u6307\u9488\u6570\u7EC4-\u5355\u8BCD\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/vtk73ny2/challenges",parent:"62",key:"623"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"62",key:"624"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u591A\u6001\u6027",parent:0,key:8},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:8,key:"81"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"81",key:"812"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"81",key:"813"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:9},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"3",parent:9,key:"91"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/459f2693af7b48f8b854033e666a77f8/f5b140c5adc0f24ac56b72492373306a-hd.m3u8",parent:"91",key:"912"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/ccea50bc15d2468aab99aff19eb69e16/a5ecac1ee0c07360d07880187a787085-hd.m3u8",parent:"91",key:"913"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"91",key:"914"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:10},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"3",parent:10,key:"101"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/a5887adcc34445bba695de7dcadb781e/0fb3a6a6ad38f7a107054c5f2f0de262-hd.m3u8",parent:"101",key:"1013"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"101",key:"1014"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA11",parent:0,key:1911},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"1",video_count:"2",parent:1911,key:9111},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)22222",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:9111,key:"91111"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"9111",key:"91112"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"9111",key:"91113"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:12},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:12,key:"121"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"121",key:"1211"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"121",key:"1212"}].map(_=>(_.parent=Number(_.parent),_.key=Number(_.key),_)),review:[{stage_name:"\u590D\u4E60\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:1},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:1,key:"11"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"11",key:"111"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"11",key:"112"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:1,key:"12"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"12",key:"121"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"12",key:"122"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"12",key:"123"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"12",key:"124"},{stage_name:"\u51FD\u6570",parent:0,key:2},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:2,key:"21"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"21",key:"212"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"21",key:"213"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:2,key:"22"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"22",key:"221"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"22",key:"222"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"22",key:"223"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"23",key:"231"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"23",key:"232"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"23",key:"233"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:3},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"31",key:"311"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"31",key:"312"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"31",key:"313"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:4},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"41",key:"411"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"41",key:"412"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:5},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"51",key:"511"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"51",key:"512"},{discipline_name:"\u6307\u9488",shixun_count:"1",video_count:"1",parent:5,key:"52"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"52",key:"521"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"52",key:"522"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:6},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"0",video_count:"2",parent:6,key:"61"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"61",key:"611"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"61",key:"612"},{stage_name:"\u591A\u6001\u6027",parent:0,key:7},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:7,key:"71"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"71",key:"713"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"81",key:"812"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"2",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"101",key:"1013"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(_=>(_.parent=Number(_.parent),_.key=Number(_.key),_)),before:[{stage_name:"\u8003\u524D\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"32",key:"321"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"32",key:"322"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"32",key:"323"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"0",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"0",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"1",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(_=>(_.parent=Number(_.parent),_.key=Number(_.key),_))};var de=l(95651),U=l(44080),q=Object.defineProperty,oe=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,V=(_,S,v)=>S in _?q(_,S,{enumerable:!0,configurable:!0,writable:!0,value:v}):_[S]=v,we=(_,S)=>{for(var v in S||(S={}))Q.call(S,v)&&V(_,v,S[v]);if(oe)for(var v of oe(S))o.call(S,v)&&V(_,v,S[v]);return _};const ee=({classroomList:_,loading:S,dispatch:v})=>{const[L]=(0,C.useSearchParams)(),[I]=(0,a.useState)(we({},(0,C.useParams)())),[k,M]=(0,a.useState)("init"),[A,J]=(0,a.useState)(""),se=(0,a.useRef)();(0,a.useEffect)(()=>{const Ae=L.get("tabId");Ae&&(M(Ae),I.status=Ae)},[I.categoryId,L.get("tabId")]);const he=Ae=>{M(Ae.key)},De=[{name:"\u521D\u59CB\u5B66\u4E60",id:"init"},{name:"\u590D\u4E60\u5B66\u4E60",id:"review"},{name:"\u8003\u524D\u5B66\u4E60",id:"before"}],Ce=Ae=>{Ae.data.type==="playVideo"&&J(Ae.data.url)};(0,a.useEffect)(()=>{k&&Te(),window.addEventListener("message",Ce)},[k]);const Te=()=>{var Ae;(Ae=se.current.contentWindow)==null||Ae.postMessage({data:ce[k]},"*")};return a.createElement("section",null,a.createElement(de.Z,{isLoading:S["classroomList/getClassroomAttendancesList"],tabDataSource:De,isAdmin:(0,g.GJ)(),onTabMenuClick:he,defaultSelectedKeys:[k]}),a.createElement("section",null,a.createElement(P.Z,{loading:S["classroomList/getClassroomAttendancesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},a.createElement("iframe",{src:"/knowledgegraph/parseTree.html",onLoad:Te,className:y.iframe,ref:se}))),a.createElement(z.default,{open:!!A,onCancel:()=>J(""),width:800,footer:null,bodyStyle:{padding:0},centered:!0,destroyOnClose:!0},a.createElement(U.Z,{src:A,autoPlay:!0,toLog:!1})))};var ne=(0,C.connect)(({classroomList:_,loading:S,globalSetting:v})=>({classroomList:_,globalSetting:v,loading:S.effects}))(ee)},95651:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return Q}});var a=l(59301),C=l(95237),P=l(43604),z=l(20834),y=l(38854),g=l(8591),ce=l(6848),de={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},U=l(65582),q=l(41867),Q=({isLoading:o,addText:V,tabDataSource:we,isAdmin:ee,dispatch:ne,classroomList:_,type:S,isExercise:v,defaultSelectedKeys:L,onTabMenuClick:I,getDropdownMenu:k,showControlButton:M,buttonText:A,buttonIcon:J="icon-tianjiadaohang",extraNode:se,user:he,onButtonClick:De,isModelUser:Ce})=>{var Te,Ae,N,Ve,Ge;const Z=(0,U.useParams)();return a.createElement("div",{className:de.tabMenuContainer},a.createElement(C.Z,null,a.createElement(P.Z,{flex:"1"},a.createElement(z.default,{onSelect:Y=>o?{}:I(Y),mode:"horizontal",selectedKeys:L},we.map(Y=>a.createElement(z.default.Item,{key:typeof Y.index=="number"?Y.index:Y.id},a.createElement("span",{className:"c-grey-666"},Y.name),Y.total!==void 0&&ee&&a.createElement("span",{className:"c-grey-999 ml20"},Y.total||0))))),ee&&v&&a.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{ne({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),ee&&a.createElement(P.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},v&&a.createElement(y.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>a.createElement(z.default,null,a.createElement(z.default.Item,{key:1,onClick:()=>{var Y;if((0,q.Rm)()&&!((Y=_.AssistantObject.exercise)!=null&&Y.can_download)){g.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ne({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:S,exportType:"exercise",category_id:Z.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),a.createElement(z.default.Item,{key:3,onClick:()=>{var Y;if((0,q.Rm)()&&!((Y=_.AssistantObject.exercise)!=null&&Y.can_download)){g.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}U.history.push(`/classrooms/${Z==null?void 0:Z.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},a.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},a.createElement("span",{style:{color:"#666666",cursor:"pointer"}},a.createElement("i",{className:"iconfont icon-xiazai6"})))),a.createElement("div",{className:de.control},a.createElement("div",{className:de.extra},se),M&&(A=="\u6DFB\u52A0\u76F4\u64AD"?a.createElement(y.Z,{menu:{items:(Ae=(Te=[{label:a.createElement("div",{onClick:()=>{De("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Ce&&{label:a.createElement("div",{onClick:()=>{De("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Te.filter(Y=>Y==null?void 0:Y.show))==null?void 0:Ae.map(Y=>({label:Y==null?void 0:Y.label,key:Y==null?void 0:Y.key}))}},a.createElement("span",{className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${J}`})),a.createElement("span",null,A))):a.createElement("span",{onClick:De,style:{cursor:"pointer"},className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${J}`})),a.createElement("span",null,A))),!!k&&a.createElement(y.Z,{disabled:((N=he==null?void 0:he.userInfo)==null?void 0:N.user_status)===2,className:"ml10",dropdownRender:k},a.createElement("span",{className:((Ve=he==null?void 0:he.userInfo)==null?void 0:Ve.user_status)===2?de.selectBtn1:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-tianjiadaohang"})),a.createElement(ce.Z,{title:((Ge=he==null?void 0:he.userInfo)==null?void 0:Ge.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},a.createElement("span",null,V||"\u521B\u5EFA\u8BD5\u5377"))))))))}},84056:function(dt,xe,l){"use strict";l.d(xe,{BU:function(){return C},Dj:function(){return a},gH:function(){return P},vp:function(){return z}});function a(y){try{y.mozRequestFullScreen?y.mozRequestFullScreen():y.webkitRequestFullScreen&&y.webkitRequestFullScreen()}catch(g){console.log(g,":e")}}function C(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const P=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function z(){var y=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,g=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",y),window.isFullScreen?window.isFullScreen:y!=null}},73217:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return dn}});class a{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","error",n),y.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","info",n),y.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","warn",n),y.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","debug",n),y.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","verbose",n),y.ENABLE_VERBOSE&&console.log(n)}}y.GLOBAL_TAG="flv.js",y.FORCE_GLOBAL_TAG=!1,y.ENABLE_ERROR=!0,y.ENABLE_INFO=!0,y.ENABLE_WARN=!0,y.ENABLE_DEBUG=!0,y.ENABLE_VERBOSE=!0,y.ENABLE_CALLBACK=!1,y.emitter=new(z());var g=y;class ce{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var de=ce;class U{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class q extends U{constructor(e){super(e)}get name(){return"IllegalStateException"}}class oe extends U{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class Q extends U{constructor(e){super(e)}get name(){return"NotImplementedException"}}const o={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},V={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class we{constructor(e){this._type=e||"undefined",this._status=o.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=o.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===o.kConnecting||this._status===o.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new Q("Unimplemented abstract function!")}abort(){throw new Q("Unimplemented abstract function!")}}let ee={};function ne(){let H=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(H)||/(opr)[\/]([\w.]+)/.exec(H)||/(chrome)[ \/]([\w.]+)/.exec(H)||/(iemobile)[\/]([\w.]+)/.exec(H)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(H)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(H)||/(webkit)[ \/]([\w.]+)/.exec(H)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(H)||/(msie) ([\w.]+)/.exec(H)||H.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(H)||H.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(H)||[],t=/(ipad)/.exec(H)||/(ipod)/.exec(H)||/(windows phone)/.exec(H)||/(iphone)/.exec(H)||/(kindle)/.exec(H)||/(android)/.exec(H)||/(windows)/.exec(H)||/(mac)/.exec(H)||/(linux)/.exec(H)||/(cros)/.exec(H)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},i={};if(n.browser){i[n.browser]=!0;let r=n.majorVersion.split(".");i.version={major:parseInt(n.majorVersion,10),string:n.version},r.length>1&&(i.version.minor=parseInt(r[1],10)),r.length>2&&(i.version.build=parseInt(r[2],10))}if(n.platform&&(i[n.platform]=!0),(i.chrome||i.opr||i.safari)&&(i.webkit=!0),i.rv||i.iemobile){i.rv&&delete i.rv;let r="msie";n.browser=r,i[r]=!0}if(i.edge){delete i.edge;let r="msedge";n.browser=r,i[r]=!0}if(i.opr){let r="opera";n.browser=r,i[r]=!0}if(i.safari&&i.android){let r="android";n.browser=r,i[r]=!0}i.name=n.browser,i.platform=n.platform;for(let r in ee)ee.hasOwnProperty(r)&&delete ee[r];Object.assign(ee,i)}ne();var _=ee;class S extends we{static isSupported(){try{let e=_.msedge&&_.version.minor>=15048,t=_.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let i=this._seekHandler.getConfig(n,t),r=new self.Headers;if(typeof i.headers=="object"){let f=i.headers;for(let te in f)f.hasOwnProperty(te)&&r.append(te,f[te])}let h={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let f in this._config.headers)r.append(f,this._config.headers[f]);e.cors===!1&&(h.mode="same-origin"),e.withCredentials&&(h.credentials="include"),e.referrerPolicy&&(h.referrerPolicy=e.referrerPolicy),this._status=o.kConnecting,self.fetch(i.url,h).then(f=>{if(this._requestAbort){this._requestAbort=!1,this._status=o.kIdle;return}if(f.ok&&f.status>=200&&f.status<=299){if(f.url!==i.url&&this._onURLRedirect){let G=this._seekHandler.removeURLParameters(f.url);this._onURLRedirect(G)}let te=f.headers.get("Content-Length");return te!=null&&(this._contentLength=parseInt(te),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,f.body.getReader())}else if(this._status=o.kError,this._onError)this._onError(V.HTTP_STATUS_CODE_INVALID,{code:f.status,msg:f.statusText});else throw new U("FetchStreamLoader: Http code invalid, "+f.status+" "+f.statusText)}).catch(f=>{if(this._status=o.kError,this._onError)this._onError(V.EXCEPTION,{code:-1,msg:f.message});else throw f})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&_.msedge)return;this._status=o.kError;let n=0,i=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=o.kError,this._onError)this._onError(V.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new U("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=o.kBuffering}}_onProgress(e){if(this._status===o.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===o.kError)return;this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=o.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let i=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let i=parseInt(n);i>0&&(this._contentLength=i,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let i=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,r,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+i.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let i=this._seekHandler.getConfig(n,t);this._currentRequestURL=i.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",i.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof i.headers=="object"){let h=i.headers;for(let f in h)h.hasOwnProperty(f)&&r.setRequestHeader(f,h[f])}if(typeof this._config.headers=="object"){let h=this._config.headers;for(let f in h)h.hasOwnProperty(f)&&r.setRequestHeader(f,h[f])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=o.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=o.kBuffering}else if(this._status=o.kError,this._onError)this._onError(V.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new U("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===o.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let i=e.total;this._internalAbort(),i!=null&i!==0&&(this._totalLength=i)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,i=0,r=0,h=n;if(e=t[i]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let h=this._normalizeSpeed(t);this._currentSpeedNormalized!==h&&(this._currentSpeedNormalized=h,this._currentChunkSizeKB=h)}let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=o.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(V.EXCEPTION,t);else throw new U(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=o.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(V.EXCEPTION,t);else throw new U(t.msg)}}var he=se;class De{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let i;t.to!==-1?i=`bytes=${t.from.toString()}-${t.to.toString()}`:i=`bytes=${t.from.toString()}-`,n.Range=i}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var Ce=De;class Te{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let i=!0;n.indexOf("?")===-1&&(n+="?",i=!1),i&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,i=e.indexOf("?");i!==-1&&(n=e.substring(i+1));let r="";if(n!=null&&n.length>0){let h=n.split("&");for(let f=0;f0;te[0]!==this._startName&&te[0]!==this._endName&&(G&&(r+="&"),r+=h[f])}}return r.length===0?t:t+"?"+r}}var Ae=Te;class N{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new de,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===J?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new Ce(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new Ae(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new oe("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new oe(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=he;else if(v.isSupported())this._loaderClass=v;else if(I.isSupported())this._loaderClass=I;else if(J.isSupported())this._loaderClass=J;else throw new U("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new oe("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let i=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(i,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,i=0,r=0,h=n;if(e=t[i]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let h=this._stashBuffer.slice(0,this._stashUsed),f=this._dispatchChunks(h,this._stashByteStart);if(f0){let te=new Uint8Array(h,f);r.set(te,0),this._stashUsed=te.byteLength,this._stashByteStart+=f}}else this._stashUsed=0,this._stashByteStart+=f;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let h=this._dispatchChunks(e,t);if(hthis._bufferSize&&(this._expandBuffer(f),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,h),0),this._stashUsed+=f,this._stashByteStart=t+h}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,t);if(rthis._bufferSize&&this._expandBuffer(h),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=h,this._stashByteStart=t+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let h=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(h0){let f=new Uint8Array(this._stashBuffer,h);r.set(f,0)}this._stashUsed-=h,this._stashByteStart+=h}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),i=t.byteLength-n;if(n0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),h=new Uint8Array(t,n);r.set(h,0),this._stashUsed=h.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,i}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(g.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=V.UNRECOVERABLE_EARLY_EOF),e){case V.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=ue.getConfig();e.emit("change",t)}}static registerListener(e){ue.emitter.addListener("change",e)}static removeListener(e){ue.emitter.removeListener("change",e)}static addLogListener(e){g.emitter.addListener("log",e),g.emitter.listenerCount("log")>0&&(g.ENABLE_CALLBACK=!0,ue._notifyChange())}static removeLogListener(e){g.emitter.removeListener("log",e),g.emitter.listenerCount("log")===0&&(g.ENABLE_CALLBACK=!1,ue._notifyChange())}}ue.emitter=new(z());var _e=ue;class je{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,i=e.length-1,r=0,h=0,f=i;for(t=e[r]&&t=128){e.push(String.fromCharCode(r&65535)),n+=2;continue}}}else if(t[n]<240){if(Ze(t,n,2)){let r=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),n+=3;continue}}}else if(t[n]<248&&Ze(t,n,3)){let r=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var it=We;let Me=function(){let H=new ArrayBuffer(2);return new DataView(H).setInt16(0,256,!0),new Int16Array(H)[0]===256}();class He{static parseScriptData(e,t,n){let i={};try{let r=He.parseValue(e,t,n),h=He.parseValue(e,t+r.size,n-r.size);i[r.data]=h.data}catch(r){g.e("AMF",r.toString())}return i}static parseObject(e,t,n){if(n<3)throw new q("Data not enough when parse ScriptDataObject");let i=He.parseString(e,t,n),r=He.parseValue(e,t+i.size,n-i.size),h=r.objectEnd;return{data:{name:i.data,value:r.data},size:i.size+r.size,objectEnd:h}}static parseVariable(e,t,n){return He.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new q("Data not enough when parse String");let r=new DataView(e,t,n).getUint16(0,!Me),h;return r>0?h=it(new Uint8Array(e,t+2,r)):h="",{data:h,size:2+r}}static parseLongString(e,t,n){if(n<4)throw new q("Data not enough when parse LongString");let r=new DataView(e,t,n).getUint32(0,!Me),h;return r>0?h=it(new Uint8Array(e,t+4,r)):h="",{data:h,size:4+r}}static parseDate(e,t,n){if(n<10)throw new q("Data size invalid when parse Date");let i=new DataView(e,t,n),r=i.getFloat64(0,!Me),h=i.getInt16(8,!Me);return r+=h*60*1e3,{data:new Date(r),size:10}}static parseValue(e,t,n){if(n<1)throw new q("Data not enough when parse Value");let i=new DataView(e,t,n),r=1,h=i.getUint8(0),f,te=!1;try{switch(h){case 0:f=i.getFloat64(1,!Me),r+=8;break;case 1:{f=!!i.getUint8(1),r+=1;break}case 2:{let G=He.parseString(e,t+1,n-1);f=G.data,r+=G.size;break}case 3:{f={};let G=0;for((i.getUint32(n-4,!Me)&16777215)===9&&(G=3);r32)throw new oe("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let h=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,h}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let i=Math.min(n,this._current_word_bits_left),r=this._current_word>>>32-i;return this._current_word<<=i,this._current_word_bits_left-=i,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var et=Je;class R{static _ebsp2rbsp(e){let t=e,n=t.byteLength,i=new Uint8Array(n),r=0;for(let h=0;h=2&&t[h]===3&&t[h-1]===0&&t[h-2]===0||(i[r]=t[h],r++);return new Uint8Array(i.buffer,0,r)}static parseSPS(e){let t=R._ebsp2rbsp(e),n=new et(t);n.readByte();let i=n.readByte();n.readByte();let r=n.readByte();n.readUEG();let h=R.getProfileString(i),f=R.getLevelString(r),te=1,G=420,pe=[0,420,422,444],Ne=8;if((i===100||i===110||i===122||i===244||i===44||i===83||i===86||i===118||i===128||i===138||i===144)&&(te=n.readUEG(),te===3&&n.readBits(1),te<=3&&(G=pe[te]),Ne=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let Ke=te!==3?8:12;for(let Ue=0;Ue0&&Ke<16?(vt=Ue[Ke-1],ve=st[Ke-1]):Ke===255&&(vt=n.readByte()<<8|n.readByte(),ve=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let Ke=n.readBits(32),Ue=n.readBits(32);w=n.readBool(),x=Ue,O=Ke*2,nt=x/O}}let D=1;(vt!==1||ve!==1)&&(D=vt/ve);let F=0,T=0;if(te===0)F=1,T=2-X;else{let Ke=te===3?1:2,Ue=te===1?2:1;F=Ke,T=Ue*(2-X)}let re=(Pe+1)*16,Le=(2-X)*((fe+1)*16);re-=(ie+Ie)*F,Le-=(Oe+Xe)*T;let Se=Math.ceil(re*D);return n.destroy(),n=null,{profile_string:h,level_string:f,bit_depth:Ne,ref_frames:ae,chroma_format:G,chroma_format_string:R.getChromaFormatString(G),frame_rate:{fixed:w,fps:nt,fps_den:O,fps_num:x},sar_ratio:{width:vt,height:ve},codec_size:{width:re,height:Le},present_size:{width:Se,height:Le}}}static _skipScalingList(e,t){let n=8,i=8,r=0;for(let h=0;h>>8&255|(H&255)<<8}function $(H){return(H&4278190080)>>>24|(H&16711680)>>>8|(H&65280)<<8|(H&255)<<24}function d(H,e){return H[e]<<24|H[e+1]<<16|H[e+2]<<8|H[e+3]}class p{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Fe,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let i=(t[4]&4)>>>2!==0,r=(t[4]&1)!==0,h=d(t,5);return h<9?n:{match:!0,consumed:h,dataOffset:h,hasAudioTrack:i,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Fe}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new q("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,i=this._littleEndian;if(t===0)if(e.byteLength>13)n=p.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&g.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!i)!==0&&g.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let h=r.getUint8(0),f=r.getUint32(0,!i)&16777215;if(n+11+f+4>e.byteLength)break;if(h!==8&&h!==9&&h!==18){g.w(this.TAG,`Unsupported tag type ${h}, skipped`),n+=11+f+4;continue}let te=r.getUint8(4),G=r.getUint8(5),pe=r.getUint8(6),Ne=r.getUint8(7),ze=pe|G<<8|te<<16|Ne<<24;(r.getUint32(7,!i)&16777215)!==0&&g.w(this.TAG,"Meet tag which has StreamID != 0!");let Pe=n+11;switch(h){case 8:this._parseAudioData(e,Pe,f,ze);break;case 9:this._parseVideoData(e,Pe,f,ze,t+n);break;case 18:this._parseScriptData(e,Pe,f);break}let fe=r.getUint32(11+f,!i);fe!==11+f&&g.w(this.TAG,`Invalid PrevTagSize ${fe}`),n+=11+f+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let i=Ye.parseScriptData(e,t,n);if(i.hasOwnProperty("onMetaData")){if(i.onMetaData==null||typeof i.onMetaData!="object"){g.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&g.w(this.TAG,"Found another onMetaData tag!"),this._metadata=i;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let h=Math.floor(r.duration*this._timescale);this._duration=h,this._mediaInfo.duration=h}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let h=Math.floor(r.framerate*1e3);if(h>0){let f=h/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=f,this._referenceFrameRate.fps_num=h,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=f}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let h=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(h),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,g.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(i).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},i))}_parseKeyframesIndex(e){let t=[],n=[];for(let i=1;i>>4;if(te!==2&&te!==10){this._onError(c.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+te);return}let G=0,pe=(f&12)>>>2;if(pe>=0&&pe<=4)G=this._flvSoundRateTable[pe];else{this._onError(c.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+pe);return}let Ne=(f&2)>>>1,ze=f&1,ae=this._audioMetadata,Pe=this._audioTrack;if(ae||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),ae=this._audioMetadata={},ae.type="audio",ae.id=Pe.id,ae.timescale=this._timescale,ae.duration=this._duration,ae.audioSampleRate=G,ae.channelCount=ze===0?1:2),te===10){let fe=this._parseAACAudioData(e,t+1,n-1);if(fe==null)return;if(fe.packetType===0){ae.config&&g.w(this.TAG,"Found another AudioSpecificConfig!");let X=fe.data;ae.audioSampleRate=X.samplingRate,ae.channelCount=X.channelCount,ae.codec=X.codec,ae.originalCodec=X.originalCodec,ae.config=X.config,ae.refSampleDuration=1024/ae.audioSampleRate*ae.timescale,g.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",ae);let ie=this._mediaInfo;ie.audioCodec=ae.originalCodec,ie.audioSampleRate=ae.audioSampleRate,ie.audioChannelCount=ae.channelCount,ie.hasVideo?ie.videoCodec!=null&&(ie.mimeType='video/x-flv; codecs="'+ie.videoCodec+","+ie.audioCodec+'"'):ie.mimeType='video/x-flv; codecs="'+ie.audioCodec+'"',ie.isComplete()&&this._onMediaInfo(ie)}else if(fe.packetType===1){let X=this._timestampBase+i,ie={unit:fe.data,length:fe.data.byteLength,dts:X,pts:X};Pe.samples.push(ie),Pe.length+=fe.data.length}else g.e(this.TAG,`Flv: Unsupported AAC data type ${fe.packetType}`)}else if(te===2){if(!ae.codec){let Ie=this._parseMP3AudioData(e,t+1,n-1,!0);if(Ie==null)return;ae.audioSampleRate=Ie.samplingRate,ae.channelCount=Ie.channelCount,ae.codec=Ie.codec,ae.originalCodec=Ie.originalCodec,ae.refSampleDuration=1152/ae.audioSampleRate*ae.timescale,g.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",ae);let Oe=this._mediaInfo;Oe.audioCodec=ae.codec,Oe.audioSampleRate=ae.audioSampleRate,Oe.audioChannelCount=ae.channelCount,Oe.audioDataRate=Ie.bitRate,Oe.hasVideo?Oe.videoCodec!=null&&(Oe.mimeType='video/x-flv; codecs="'+Oe.videoCodec+","+Oe.audioCodec+'"'):Oe.mimeType='video/x-flv; codecs="'+Oe.audioCodec+'"',Oe.isComplete()&&this._onMediaInfo(Oe)}let fe=this._parseMP3AudioData(e,t+1,n-1,!1);if(fe==null)return;let X=this._timestampBase+i,ie={unit:fe,length:fe.byteLength,dts:X,pts:X};Pe.samples.push(ie),Pe.length+=fe.length}}_parseAACAudioData(e,t,n){if(n<=1){g.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let i={},r=new Uint8Array(e,t,n);return i.packetType=r[0],r[0]===0?i.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):i.data=r.subarray(1),i}_parseAACAudioSpecificConfig(e,t,n){let i=new Uint8Array(e,t,n),r=null,h=0,f=0,te=null,G=0,pe=null;if(h=f=i[0]>>>3,G=(i[0]&7)<<1|i[1]>>>7,G<0||G>=this._mpegSamplingRates.length){this._onError(c.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Ne=this._mpegSamplingRates[G],ze=(i[1]&120)>>>3;if(ze<0||ze>=8){this._onError(c.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}h===5&&(pe=(i[1]&7)<<1|i[2]>>>7,te=(i[2]&124)>>>2);let ae=self.navigator.userAgent.toLowerCase();return ae.indexOf("firefox")!==-1?G>=6?(h=5,r=new Array(4),pe=G-3):(h=2,r=new Array(2),pe=G):ae.indexOf("android")!==-1?(h=2,r=new Array(2),pe=G):(h=5,pe=G,r=new Array(4),G>=6?pe=G-3:ze===1&&(h=2,r=new Array(2),pe=G)),r[0]=h<<3,r[0]|=(G&15)>>>1,r[1]=(G&15)<<7,r[1]|=(ze&15)<<3,h===5&&(r[1]|=(pe&15)>>>1,r[2]=(pe&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:Ne,channelCount:ze,codec:"mp4a.40."+h,originalCodec:"mp4a.40."+f}}_parseMP3AudioData(e,t,n,i){if(n<4){g.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,h=new Uint8Array(e,t,n),f=null;if(i){if(h[0]!==255)return;let te=h[1]>>>3&3,G=(h[1]&6)>>1,pe=(h[2]&240)>>>4,Ne=(h[2]&12)>>>2,ae=(h[3]>>>6&3)!==3?2:1,Pe=0,fe=0,X=34,ie="mp3";switch(te){case 0:Pe=this._mpegAudioV25SampleRateTable[Ne];break;case 2:Pe=this._mpegAudioV20SampleRateTable[Ne];break;case 3:Pe=this._mpegAudioV10SampleRateTable[Ne];break}switch(G){case 1:X=34,pe>>4,te=h&15;if(te!==7){this._onError(c.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${te}`);return}this._parseAVCVideoPacket(e,t+1,n-1,i,r,f)}_parseAVCVideoPacket(e,t,n,i,r,h){if(n<4){g.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let f=this._littleEndian,te=new DataView(e,t,n),G=te.getUint8(0),Ne=(te.getUint32(0,!f)&16777215)<<8>>8;if(G===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(G===1)this._parseAVCVideoData(e,t+4,n-4,i,r,h,Ne);else if(G!==2){this._onError(c.FORMAT_ERROR,`Flv: Invalid video packet type ${G}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){g.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let i=this._videoMetadata,r=this._videoTrack,h=this._littleEndian,f=new DataView(e,t,n);i?typeof i.avcc!="undefined"&&g.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),i=this._videoMetadata={},i.type="video",i.id=r.id,i.timescale=this._timescale,i.duration=this._duration);let te=f.getUint8(0),G=f.getUint8(1),pe=f.getUint8(2),Ne=f.getUint8(3);if(te!==1||G===0){this._onError(c.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(f.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(c.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let ze=f.getUint8(5)&31;if(ze===0){this._onError(c.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ze>1&&g.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${ze}`);let ae=6;for(let fe=0;fe1&&g.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Pe}`);ae++;for(let fe=0;fe=n){g.w(this.TAG,`Malformed Nalu near timestamp ${Pe}, offset = ${ze}, dataSize = ${n}`);break}let X=G.getUint32(ze,!te);if(ae===3&&(X>>>=8),X>n-ae){g.w(this.TAG,`Malformed Nalus near timestamp ${Pe}, NaluSize > DataSize!`);return}let ie=G.getUint8(ze+ae)&31;ie===5&&(fe=!0);let Ie=new Uint8Array(e,t+ze,ae+X),Oe={type:ie,data:Ie};pe.push(Oe),Ne+=Ie.byteLength,ze+=ae+X}if(pe.length){let X=this._videoTrack,ie={units:pe,length:Ne,isKeyframe:fe,dts:Pe,cts:f,pts:Pe+f};fe&&(ie.fileposition=r),X.samples.push(ie),X.length+=Ne}}}var b=p;class u{static init(){u.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in u.types)u.types.hasOwnProperty(t)&&(u.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=u.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,i=Array.prototype.slice.call(arguments,1),r=i.length;for(let f=0;f>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let h=8;for(let f=0;f>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return u.box(u.types.trak,u.tkhd(e),u.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,i=e.presentWidth,r=e.presentHeight;return u.box(u.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>>8&255,i&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return u.box(u.types.mdia,u.mdhd(e),u.hdlr(e),u.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return u.box(u.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=u.constants.HDLR_AUDIO:t=u.constants.HDLR_VIDEO,u.box(u.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=u.box(u.types.smhd,u.constants.SMHD):t=u.box(u.types.vmhd,u.constants.VMHD),u.box(u.types.minf,t,u.dinf(),u.stbl(e))}static dinf(){return u.box(u.types.dinf,u.box(u.types.dref,u.constants.DREF))}static stbl(e){return u.box(u.types.stbl,u.stsd(e),u.box(u.types.stts,u.constants.STTS),u.box(u.types.stsc,u.constants.STSC),u.box(u.types.stsz,u.constants.STSZ),u.box(u.types.stco,u.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp3(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp4a(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types[".mp3"],i)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types.mp4a,i,u.esds(e))}static esds(e){let t=e.config||[],n=t.length,i=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return u.box(u.types.esds,i)}static avc1(e){let t=e.avcc,n=e.codecWidth,i=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,i>>>8&255,i&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return u.box(u.types.avc1,r,u.box(u.types.avcC,t))}static mvex(e){return u.box(u.types.mvex,u.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return u.box(u.types.trex,n)}static moof(e,t){return u.box(u.types.moof,u.mfhd(e.sequenceNumber),u.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return u.box(u.types.mfhd,t)}static traf(e,t){let n=e.id,i=u.box(u.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),r=u.box(u.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),h=u.sdtp(e),f=u.trun(e,h.byteLength+16+16+8+16+8+8);return u.box(u.types.traf,i,r,f,h)}static sdtp(e){let t=e.samples||[],n=t.length,i=new Uint8Array(4+n);for(let r=0;r>>24&255,i>>>16&255,i>>>8&255,i&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let f=0;f>>24&255,te>>>16&255,te>>>8&255,te&255,G>>>24&255,G>>>16&255,G>>>8&255,G&255,pe.isLeading<<2|pe.dependsOn,pe.isDependedOn<<6|pe.hasRedundancy<<4|pe.isNonSync,0,0,Ne>>>24&255,Ne>>>16&255,Ne>>>8&255,Ne&255],12+16*f)}return u.box(u.types.trun,h)}static mdat(e){return u.box(u.types.mdat,e)}}u.init();var B=u;class W{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var me=W;class ye{constructor(e,t,n,i,r){this.dts=e,this.pts=t,this.duration=n,this.originalDts=i,this.isSyncPoint=r,this.fileposition=null}}class $e{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ge{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[r].dts&&et[i].lastSample.originalDts&&e=t[i].lastSample.originalDts&&(i===t.length-1||i0&&(r=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class be{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ke("audio"),this._videoSegmentInfoList=new ke("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661)),this._fillSilentAfterSeek=_.msedge||_.msie,this._mp3UseMpegAudio=!_.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new q("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,i="mp4",r=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(i="mpeg",r="",n=new Uint8Array):n=B.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=B.generateInitSegment(t);else return;if(!this._onInitSegment)throw new q("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:r,container:`${e}/${i}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let i={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(i.samples.push(t),i.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(i,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,i=n.samples,r,h=-1,f=-1,te=-1,G=this._audioMeta.refSampleDuration,pe=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ne=this._dtsBaseInited&&this._audioNextDts===void 0,ze=!1;if(!i||i.length===0||i.length===1&&!t)return;let ae=0,Pe=null,fe=0;pe?(ae=0,fe=n.length):(ae=8,fe=8+n.length);let X=null;if(i.length>1&&(X=i.pop(),fe-=X.length),this._audioStashedLastSample!=null){let ve=this._audioStashedLastSample;this._audioStashedLastSample=null,i.unshift(ve),fe+=ve.length}X!=null&&(this._audioStashedLastSample=X);let ie=i[0].dts-this._dtsBase;if(this._audioNextDts)r=ie-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(ze=!0);else{let ve=this._audioSegmentInfoList.getLastSampleBefore(ie);if(ve!=null){let nt=ie-(ve.originalDts+ve.duration);nt<=3&&(nt=0);let w=ve.dts+ve.duration+nt;r=ie-w}else r=0}if(ze){let ve=ie-r,nt=this._videoSegmentInfoList.getLastSegmentBefore(ie);if(nt!=null&&nt.beginDts=1?j=Ie[Ie.length-1].duration:j=Math.floor(G);let D=!1,F=null;if(j>G*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!_.safari){D=!0;let T=Math.abs(j-G),re=Math.ceil(T/G),Le=O+G;g.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +(self.webpackChunk=self.webpackChunk||[]).push([[4928],{18785:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return de}});var a=l(54476),C=l(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},z=P,y=l(7657),g=function(q,oe){return C.createElement(y.Z,(0,a.Z)({},q,{ref:oe,icon:z}))},ce=C.forwardRef(g),de=ce},33853:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return de}});var a=l(54476),C=l(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},z=P,y=l(7657),g=function(q,oe){return C.createElement(y.Z,(0,a.Z)({},q,{ref:oe,icon:z}))},ce=C.forwardRef(g),de=ce},38819:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return de}});var a=l(54476),C=l(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},z=P,y=l(7657),g=function(q,oe){return C.createElement(y.Z,(0,a.Z)({},q,{ref:oe,icon:z}))},ce=C.forwardRef(g),de=ce},44080:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return we}});var a=l(59301),C=l(8591),P=l(38854),z=l(73217),y=l(16471),g=l(41867),ce=l(56102),de=l(84056),U={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},q=(ee,ne,_)=>new Promise((S,v)=>{var L=M=>{try{k(_.next(M))}catch(A){v(A)}},I=M=>{try{k(_.throw(M))}catch(A){v(A)}},k=M=>M.done?S(M.value):Promise.resolve(M.value).then(L,I);k((_=_.apply(ee,ne)).next())});function oe(ee){if(isNaN(ee))return{minutes:"00",seconds:"00"};const ne=new Date(ee*1e3).toISOString().substr(11,8);return{hour:ne.substr(0,2),minutes:ne.substr(3,2),seconds:ne.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Q(ee,ne){return ee-ne}function o(ee){ee.sort(Q);let ne=0;for(let _=0;_{},handlePlay:M=()=>{},handlePlayEnded:A=()=>{},autoPlay:J=!1,onPlayEnded:se=()=>{},isShowWaterMark:he=!0},De)=>{var Ce;const Ae=((Ce=ne==null?void 0:ne.split("."))==null?void 0:Ce.pop())==="flv",N=(0,a.useRef)(),Ve=(0,a.useRef)(),Ge=(0,a.useRef)(),Z=(0,a.useRef)(),Y=(0,a.useRef)(),Re=(0,a.useRef)(),Ee=(0,a.useRef)(),le=(0,a.useRef)(),ue=(0,a.useRef)(),_e=(0,a.useRef)(),je=(0,a.useRef)(),Fe=(0,a.useRef)(),Ze=(0,a.useRef)(),We=(0,a.useRef)(),it=navigator.userAgent.toLowerCase().match(V),Me=it?it[0]:"pc",He=(0,a.useRef)(!1),Ye=(0,g.eY)();let Je=0,et=0,R=0,E=null,s=!1,c=20,m=1,$=!1,d=!1,p=[];(0,a.useImperativeHandle)(De,()=>({getLastUpdatedTime:()=>N.current.currentTime,getDuration:()=>N.current.duration})),C.ZP.config({maxCount:1,getContainer:()=>Ge.current});const b=(0,a.useCallback)((ge,ke=!1)=>{let be={point:N.current.currentTime};E?(be.log_id=E,be.watch_duration=o(p),be.total_duration=et):(L?(be.video_id=parseInt(S,10),be.course_id=L):be.video_id=S,be.duration=Je,be.device=Me),ke&&(be.ed="1");function ut(){return q(this,null,function*(){$=!0,E=yield v==null?void 0:v(be),$=!1,ge&&ge()})}ut()},[S,L]);(0,a.useEffect)(()=>{N.current&&(Z.current.style.display="none",Y.current.style.display="block"),C.ZP.destroy();let ge=null;return z.Z.isSupported&&Ae&&ne&&(ne==null?void 0:ne.indexOf(".m3u8"))<0?(ge=z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:ne,muted:!1}),N.current&&(ge.attachMediaElement(N.current),ge.load())):N.current.setAttribute("src",ne),B(),()=>{ge&&(ge.unload(),ge.pause(),ge.destroy(),ge=null)}},[N,Ae,ne]);function u(){N.current.paused?(Z.current.style.display="none",Y.current.style.display="block"):(Z.current.style.display="block",Y.current.style.display="none")}function B(){je.current.style.display="none",Ze.current.style.display="none",Fe.current.style.display="none",N.current.muted||N.current.volume===0?je.current.style.display="block":N.current.volume>0&&N.current.volume<=.5?Ze.current.style.display="block":Fe.current.style.display="block"}(0,a.useEffect)(()=>{const ge=document.getElementById("play"),ke=document.querySelectorAll(".playback-icons use");function be(){M(),I&&!He.current&&(N.current.currentTime=I),He.current=!0,p.push(N.current.currentTime),s||(s=!0,_&&b())}function ut(){return q(this,null,function*(){u(),p.push(N.current.currentTime),_&&b(()=>{E=null,R=0,s=!1,$=!1,d=!1,p=[],et=0,m=1},!0),se()})}function gt(){Re.current.value=Math.round(N.current.currentTime),Ee.current.value=Math.round(N.current.currentTime)}function K(){const Be=oe(Math.round(N.current.currentTime));ue.current.innerText=`${Be.hour>0?Be.hour+":":""}${Be.minutes}:${Be.seconds}`,ue.current.setAttribute("datetime",`${Be.hour>0?" "+Be.hour+" ":""}${Be.minutes}m ${Be.seconds}s`)}function bt(){var Be,Qe,Rt,_t,Nt,$t,kt;const Lt=Math.round((Be=N.current)==null?void 0:Be.duration);(Rt=(Qe=Re.current)==null?void 0:Qe.setAttribute)==null||Rt.call(Qe,"max",Lt),(Nt=(_t=Ee.current)==null?void 0:_t.setAttribute)==null||Nt.call(_t,"max",Lt);const tt=oe(Lt);le.current&&(le.current.innerText=`${tt.hour>0?tt.hour+":":""}${tt.minutes}:${tt.seconds}`,(kt=($t=le.current).setAttribute)==null||kt.call($t,"datetime",`${tt.hour>0?" "+tt.hour+" ":""}${tt.minutes}m ${tt.seconds}s`))}function mt(){try{const Be=Math.round(N.current.duration);Re.current.setAttribute("max",Be),Ee.current.setAttribute("max",Be);const Qe=oe(Be);le.current.innerText=`${Qe.hour>0?Qe.hour+":":""}${Qe.minutes}:${Qe.seconds}`,le.current.setAttribute("datetime",`${Qe.hour>0?" "+Qe.hour+" ":""}${Qe.minutes}m ${Qe.seconds}s`),gt(),K();const{width:Rt,height:_t,x:Nt,y:$t}=Ve.current.getBoundingClientRect();if(Nt<0||$t<0||!Rt)return;if(!d){let kt=N.current.currentTime,Lt=kt-R;Math.abs(Lt)<10?(et+=Math.abs(Lt),R=kt,$||et-m*c>=0&&(m++,p.push(R),_&&b())):(R=kt,_&&b())}}catch(Be){console.log(Be)}}function xt(){d=!0}function qe(){N.current.playing&&p.push(N.current.currentTime,R),R=N.current.currentTime,d=!1}function At(){Je=N.current.duration,Je<=20&&(c=Je/3),N.current.addEventListener("play",be)}function Tt(Be){Be.preventDefault(),(0,de.vp)()?(N.current.style.width="100%",N.current.style.height="100%"):N.current.style.cssText=""}function Ft(){k()}function Et(Be){if(!ee){C.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Qe=Be.target.dataset.seek?Be.target.dataset.seek:Be.target.value;N.current.currentTime=Qe,Ee.current.value=Qe,Re.current.value=Qe}function Zt(Be){const Qe=Math.round(Be.offsetX/Be.target.clientWidth*parseInt(Be.target.getAttribute("max"),10));Re.current.setAttribute("data-seek",Qe);const Rt=oe(Qe);_e.current.textContent=`${Rt.hour>0?Rt.hour+":":""}${Rt.minutes}:${Rt.seconds}`;const _t=N.current.getBoundingClientRect();_e.current.style.left=`${Be.pageX-_t.left}px`}function Kt(Be){switch(Be.code){case"Space":Be.preventDefault(),ye();break;case"ArrowRight":if(Be.preventDefault(),!ee){C.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime>=N.current.duration)break;N.current.currentTime=parseInt(N.current.currentTime)+5,gt();break;case"ArrowLeft":if(Be.preventDefault(),!ee){C.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime===0)break;N.current.currentTime=parseInt(N.current.currentTime)-5,gt();break;case"ArrowUp":Be.preventDefault(),N.current.volume<1&&(N.current.volume=(parseInt(N.current.volume*10)+1)/10);break;case"ArrowDown":Be.preventDefault(),N.current.volume>0&&(N.current.volume=(parseInt(N.current.volume*10)-1)/10);break}}return Ge.current.addEventListener((0,de.gH)(),Tt),N.current.addEventListener("canplay",At),N.current.addEventListener("ended",ut),N.current.addEventListener("seeking",xt),N.current.addEventListener("seeked",qe),N.current.addEventListener("loadedmetadata",bt),Re.current.addEventListener("mousemove",Zt),Re.current.addEventListener("input",Et),N.current.addEventListener("timeupdate",mt),N.current.addEventListener("pause",Ft),N.current.addEventListener("volumechange",B),document.addEventListener("keydown",Kt),()=>{var Be,Qe,Rt,_t,Nt,$t,kt,Lt,tt,rt,dn,H;(Be=N.current)==null||Be.removeEventListener("canplay",At),(Qe=N.current)==null||Qe.removeEventListener("play",be),(Rt=N.current)==null||Rt.removeEventListener("ended",ut),(_t=N.current)==null||_t.removeEventListener("seeking",xt),(Nt=N.current)==null||Nt.removeEventListener("seeked",qe),($t=Re.current)==null||$t.removeEventListener("mousemove",Zt),(kt=Re.current)==null||kt.removeEventListener("input",Et),(Lt=N.current)==null||Lt.removeEventListener("timeupdate",mt),(tt=N.current)==null||tt.removeEventListener("pause",Ft),(rt=N.current)==null||rt.removeEventListener("loadedmetadata",bt),(dn=N.current)==null||dn.removeEventListener("volumechange",B),document.removeEventListener("keydown",Kt),(H=N.current)!=null&&H.playing&&(p.push(R,N.current.currentTime),_&&b())}},[N,ne]),(0,a.useEffect)(()=>{if(N.current.onended=()=>{A(N)},N.current.oncontextmenu=()=>!1,(ne==null?void 0:ne.indexOf(".m3u8"))>-1){if(N.current.canPlayType("application/vnd.apple.mpegurl"))N.current.src=ne;else if(y.ZP.isSupported()){var ge=new y.ZP;ge.loadSource(ne),ge.attachMedia(N.current)}}},[ne]);const[W,me]=(0,a.useState)(1),ye=()=>{N.current.paused||N.current.ended?N.current.play():N.current.pause(),u()};function $e(){N.current.muted=!N.current.muted,N.current.muted?(We.current.setAttribute("data-volume",volume.value),We.current.value=0):We.current.value=We.current.dataset.volume}return a.createElement("div",{style:{position:"relative"},ref:Ge},a.createElement("div",{ref:Ve,className:`${U.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${U.animate__loop}`},he&&Ye?Ye.login:" "),a.createElement("div",{className:U.container},a.createElement("div",{className:U["video-container"],id:"video-container"},a.createElement("div",{className:U["playback-animation"],id:"playback-animation"},a.createElement("svg",{className:U["playback-icons"]},a.createElement("use",{className:"hidden",href:"#play-icon"}),a.createElement("use",{href:"#pause"}))),a.createElement("video",{className:U.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:N,autoPlay:J}),a.createElement("div",{className:`${U["video-controls"]} `,id:"video-controls"},a.createElement("div",{className:U["bottom-controls"]},a.createElement("div",{className:U["left-controls"]},a.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:ye},a.createElement("svg",{className:U["playback-icons"]},a.createElement("use",{ref:Y,href:"#play-icon"}),a.createElement("use",{ref:Z,style:{display:"none"},href:"#pause"}))),a.createElement("div",{className:U.time},a.createElement("time",{id:"time-elapsed",ref:ue},"00:00"),a.createElement("span",null," / "),a.createElement("time",{id:"duration",ref:le},"00:00"))),a.createElement("div",{className:U["right-controls"]},ee&&a.createElement(P.Z,{placement:"top",overlayClassName:U.rateOverlay,getPopupContainer:ge=>ge.parentNode,menu:{items:[{key:"1",label:a.createElement("span",{onClick:()=>{me(1),N.current.playbackRate=1}},"1.0x")},{key:"2",label:a.createElement("span",{onClick:()=>{me(1.5),N.current.playbackRate=1.5}},"1.5x")},{key:"3",label:a.createElement("span",{onClick:()=>{me(2),N.current.playbackRate=2}},"2.0x")}]}},a.createElement("div",{className:`${U.controlText} mr5`},"\u500D\u901F")),a.createElement(ce.CopyToClipboard,{text:ne,onCopy:()=>C.ZP.success("\u590D\u5236\u6210\u529F")},a.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},a.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),a.createElement("div",{className:U["volume-controls"]},a.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:U["volume-button"],id:"volume-button",onClick:$e},a.createElement("i",{ref:je,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:Ze,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:Fe,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),a.createElement("input",{className:U.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:We,style:{display:"none"},onClick:B})),a.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:U["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(Ge.current)}},a.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),a.createElement("div",{className:U["video-progress"]},a.createElement("progress",{ref:Ee,value:"0",min:"0"}),a.createElement("input",{className:U.seek,ref:Re,value:"0",min:"0",type:"range",step:"1"}),a.createElement("div",{className:U["seek-tooltip"],ref:_e,id:"seek-tooltip"},"00:00"))))),a.createElement("svg",{style:{display:"none"}},a.createElement("defs",null,a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},47318:function(dt,xe,l){"use strict";l.r(xe),l.d(xe,{default:function(){return ne}});var a=l(59301),C=l(65582),P=l(61621),z=l(43418),y={flex_box_center:"flex_box_center___yF0Vb",flex_space_between:"flex_space_between___vsNYO",flex_box_vertical_center:"flex_box_vertical_center___C4UqH",flex_box_center_end:"flex_box_center_end___EGtmE",flex_box_column:"flex_box_column___uX9g9",bg:"bg___sRga2",menu:"menu___s8xQl",desc:"desc___poG1Z",listItem:"listItem___ml9kN",info:"info___Z8R2Z",add:"add___jH8te",addForm:"addForm___O999t",attendanceCode:"attendanceCode___hPKyl",signInStatus:"signInStatus___usMPT",colorE02020:"colorE02020___hZvSz",color0152d9:"color0152d9___RgXzd",colorFA6400:"colorFA6400___g2yU6",iframe:"iframe___HRzMh"},g=l(41867);const ce={init:[{stage_name:"\u521D\u59CB\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{discipline_name:"\u5224\u65AD\u8BED\u53E5",shixun_count:"2",video_count:"2",parent:2,key:"22"},{shixun_name:"if\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"221"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08if\u591A\u91CD\u9009\u62E9\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/23xkyrmn/challenges",parent:"22",key:"222"},{shixun_name:"switch\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"223"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"22",key:"224"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"23",key:"231"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"23",key:"232"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"23",key:"233"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"23",key:"234"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"32",key:"321"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"32",key:"322"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"32",key:"323"},{discipline_name:"\u51FD\u6570\u91CD\u8F7D",shixun_count:"1",video_count:"1",parent:3,key:"33"},{shixun_name:"\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"33",key:"331"},{shixun_name:"C++\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/6hbqpv7e/challenges",parent:"33",key:"332"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"34"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"34",key:"341"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"34",key:"342"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"34",key:"343"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{discipline_name:"\u6307\u9488",shixun_count:"3",video_count:"1",parent:6,key:"62"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"62",key:"621"},{shixun_name:"\u6307\u9488\u7EC3\u624B-\u5B57\u7B26\u4E32\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lkn6xuc3/challenges",parent:"62",key:"622"},{shixun_name:"\u6307\u9488\u6570\u7EC4-\u5355\u8BCD\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/vtk73ny2/challenges",parent:"62",key:"623"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"62",key:"624"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u591A\u6001\u6027",parent:0,key:8},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:8,key:"81"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"81",key:"812"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"81",key:"813"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:9},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"3",parent:9,key:"91"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/459f2693af7b48f8b854033e666a77f8/f5b140c5adc0f24ac56b72492373306a-hd.m3u8",parent:"91",key:"912"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/ccea50bc15d2468aab99aff19eb69e16/a5ecac1ee0c07360d07880187a787085-hd.m3u8",parent:"91",key:"913"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"91",key:"914"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:10},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"3",parent:10,key:"101"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/a5887adcc34445bba695de7dcadb781e/0fb3a6a6ad38f7a107054c5f2f0de262-hd.m3u8",parent:"101",key:"1013"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"101",key:"1014"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA11",parent:0,key:1911},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"1",video_count:"2",parent:1911,key:9111},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)22222",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:9111,key:"91111"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"9111",key:"91112"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"9111",key:"91113"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:12},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:12,key:"121"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"121",key:"1211"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"121",key:"1212"}].map(_=>(_.parent=Number(_.parent),_.key=Number(_.key),_)),review:[{stage_name:"\u590D\u4E60\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:1},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:1,key:"11"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"11",key:"111"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"11",key:"112"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:1,key:"12"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"12",key:"121"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"12",key:"122"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"12",key:"123"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"12",key:"124"},{stage_name:"\u51FD\u6570",parent:0,key:2},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:2,key:"21"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"21",key:"212"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"21",key:"213"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:2,key:"22"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"22",key:"221"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"22",key:"222"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"22",key:"223"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"23",key:"231"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"23",key:"232"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"23",key:"233"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:3},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"31",key:"311"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"31",key:"312"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"31",key:"313"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:4},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"41",key:"411"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"41",key:"412"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:5},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"51",key:"511"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"51",key:"512"},{discipline_name:"\u6307\u9488",shixun_count:"1",video_count:"1",parent:5,key:"52"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"52",key:"521"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"52",key:"522"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:6},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"0",video_count:"2",parent:6,key:"61"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"61",key:"611"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"61",key:"612"},{stage_name:"\u591A\u6001\u6027",parent:0,key:7},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:7,key:"71"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"71",key:"713"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"81",key:"812"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"2",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"101",key:"1013"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(_=>(_.parent=Number(_.parent),_.key=Number(_.key),_)),before:[{stage_name:"\u8003\u524D\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"32",key:"321"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"32",key:"322"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"32",key:"323"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"0",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"0",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"1",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(_=>(_.parent=Number(_.parent),_.key=Number(_.key),_))};var de=l(95651),U=l(44080),q=Object.defineProperty,oe=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,V=(_,S,v)=>S in _?q(_,S,{enumerable:!0,configurable:!0,writable:!0,value:v}):_[S]=v,we=(_,S)=>{for(var v in S||(S={}))Q.call(S,v)&&V(_,v,S[v]);if(oe)for(var v of oe(S))o.call(S,v)&&V(_,v,S[v]);return _};const ee=({classroomList:_,loading:S,dispatch:v})=>{const[L]=(0,C.useSearchParams)(),[I]=(0,a.useState)(we({},(0,C.useParams)())),[k,M]=(0,a.useState)("init"),[A,J]=(0,a.useState)(""),se=(0,a.useRef)();(0,a.useEffect)(()=>{const Ae=L.get("tabId");Ae&&(M(Ae),I.status=Ae)},[I.categoryId,L.get("tabId")]);const he=Ae=>{M(Ae.key)},De=[{name:"\u521D\u59CB\u5B66\u4E60",id:"init"},{name:"\u590D\u4E60\u5B66\u4E60",id:"review"},{name:"\u8003\u524D\u5B66\u4E60",id:"before"}],Ce=Ae=>{Ae.data.type==="playVideo"&&J(Ae.data.url)};(0,a.useEffect)(()=>{k&&Te(),window.addEventListener("message",Ce)},[k]);const Te=()=>{var Ae;(Ae=se.current.contentWindow)==null||Ae.postMessage({data:ce[k]},"*")};return a.createElement("section",null,a.createElement(de.Z,{isLoading:S["classroomList/getClassroomAttendancesList"],tabDataSource:De,isAdmin:(0,g.GJ)(),onTabMenuClick:he,defaultSelectedKeys:[k]}),a.createElement("section",null,a.createElement(P.Z,{loading:S["classroomList/getClassroomAttendancesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},a.createElement("iframe",{src:"/knowledgegraph/parseTree.html",onLoad:Te,className:y.iframe,ref:se}))),a.createElement(z.default,{open:!!A,onCancel:()=>J(""),width:800,footer:null,bodyStyle:{padding:0},centered:!0,destroyOnClose:!0},a.createElement(U.Z,{src:A,autoPlay:!0,toLog:!1})))};var ne=(0,C.connect)(({classroomList:_,loading:S,globalSetting:v})=>({classroomList:_,globalSetting:v,loading:S.effects}))(ee)},95651:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return Q}});var a=l(59301),C=l(95237),P=l(43604),z=l(20834),y=l(38854),g=l(8591),ce=l(6848),de={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},U=l(65582),q=l(41867),Q=({isLoading:o,addText:V,tabDataSource:we,isAdmin:ee,dispatch:ne,classroomList:_,type:S,isExercise:v,defaultSelectedKeys:L,onTabMenuClick:I,getDropdownMenu:k,showControlButton:M,buttonText:A,buttonIcon:J="icon-tianjiadaohang",extraNode:se,user:he,onButtonClick:De,isModelUser:Ce})=>{var Te,Ae,N,Ve,Ge;const Z=(0,U.useParams)();return a.createElement("div",{className:de.tabMenuContainer},a.createElement(C.Z,null,a.createElement(P.Z,{flex:"1"},a.createElement(z.default,{onSelect:Y=>o?{}:I(Y),mode:"horizontal",selectedKeys:L},we.map(Y=>a.createElement(z.default.Item,{key:typeof Y.index=="number"?Y.index:Y.id},a.createElement("span",{className:"c-grey-666"},Y.name),Y.total!==void 0&&ee&&a.createElement("span",{className:"c-grey-999 ml20"},Y.total||0))))),ee&&v&&a.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{ne({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),ee&&a.createElement(P.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},v&&a.createElement(y.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>a.createElement(z.default,null,a.createElement(z.default.Item,{key:1,onClick:()=>{var Y;if((0,q.Rm)()&&!((Y=_.AssistantObject.exercise)!=null&&Y.can_download)){g.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ne({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:S,exportType:"exercise",category_id:Z.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),a.createElement(z.default.Item,{key:3,onClick:()=>{var Y;if((0,q.Rm)()&&!((Y=_.AssistantObject.exercise)!=null&&Y.can_download)){g.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}U.history.push(`/classrooms/${Z==null?void 0:Z.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},a.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},a.createElement("span",{style:{color:"#666666",cursor:"pointer"}},a.createElement("i",{className:"iconfont icon-xiazai6"})))),a.createElement("div",{className:de.control},a.createElement("div",{className:de.extra},se),M&&(A=="\u6DFB\u52A0\u76F4\u64AD"?a.createElement(y.Z,{menu:{items:(Ae=(Te=[{label:a.createElement("div",{onClick:()=>{De("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Ce&&{label:a.createElement("div",{onClick:()=>{De("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Te.filter(Y=>Y==null?void 0:Y.show))==null?void 0:Ae.map(Y=>({label:Y==null?void 0:Y.label,key:Y==null?void 0:Y.key}))}},a.createElement("span",{className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${J}`})),a.createElement("span",null,A))):a.createElement("span",{onClick:De,style:{cursor:"pointer"},className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${J}`})),a.createElement("span",null,A))),!!k&&a.createElement(y.Z,{disabled:((N=he==null?void 0:he.userInfo)==null?void 0:N.user_status)===2,className:"ml10",dropdownRender:k},a.createElement("span",{className:((Ve=he==null?void 0:he.userInfo)==null?void 0:Ve.user_status)===2?de.selectBtn1:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-tianjiadaohang"})),a.createElement(ce.Z,{title:((Ge=he==null?void 0:he.userInfo)==null?void 0:Ge.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},a.createElement("span",null,V||"\u521B\u5EFA\u8BD5\u5377"))))))))}},84056:function(dt,xe,l){"use strict";l.d(xe,{BU:function(){return C},Dj:function(){return a},gH:function(){return P},vp:function(){return z}});function a(y){try{y.mozRequestFullScreen?y.mozRequestFullScreen():y.webkitRequestFullScreen&&y.webkitRequestFullScreen()}catch(g){console.log(g,":e")}}function C(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const P=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function z(){var y=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,g=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",y),window.isFullScreen?window.isFullScreen:y!=null}},73217:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return dn}});class a{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","error",n),y.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","info",n),y.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","warn",n),y.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","debug",n),y.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||y.FORCE_GLOBAL_TAG)&&(e=y.GLOBAL_TAG);let n=`[${e}] > ${t}`;y.ENABLE_CALLBACK&&y.emitter.emit("log","verbose",n),y.ENABLE_VERBOSE&&console.log(n)}}y.GLOBAL_TAG="flv.js",y.FORCE_GLOBAL_TAG=!1,y.ENABLE_ERROR=!0,y.ENABLE_INFO=!0,y.ENABLE_WARN=!0,y.ENABLE_DEBUG=!0,y.ENABLE_VERBOSE=!0,y.ENABLE_CALLBACK=!1,y.emitter=new(z());var g=y;class ce{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var de=ce;class U{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class q extends U{constructor(e){super(e)}get name(){return"IllegalStateException"}}class oe extends U{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class Q extends U{constructor(e){super(e)}get name(){return"NotImplementedException"}}const o={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},V={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class we{constructor(e){this._type=e||"undefined",this._status=o.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=o.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===o.kConnecting||this._status===o.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new Q("Unimplemented abstract function!")}abort(){throw new Q("Unimplemented abstract function!")}}let ee={};function ne(){let H=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(H)||/(opr)[\/]([\w.]+)/.exec(H)||/(chrome)[ \/]([\w.]+)/.exec(H)||/(iemobile)[\/]([\w.]+)/.exec(H)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(H)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(H)||/(webkit)[ \/]([\w.]+)/.exec(H)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(H)||/(msie) ([\w.]+)/.exec(H)||H.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(H)||H.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(H)||[],t=/(ipad)/.exec(H)||/(ipod)/.exec(H)||/(windows phone)/.exec(H)||/(iphone)/.exec(H)||/(kindle)/.exec(H)||/(android)/.exec(H)||/(windows)/.exec(H)||/(mac)/.exec(H)||/(linux)/.exec(H)||/(cros)/.exec(H)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},i={};if(n.browser){i[n.browser]=!0;let r=n.majorVersion.split(".");i.version={major:parseInt(n.majorVersion,10),string:n.version},r.length>1&&(i.version.minor=parseInt(r[1],10)),r.length>2&&(i.version.build=parseInt(r[2],10))}if(n.platform&&(i[n.platform]=!0),(i.chrome||i.opr||i.safari)&&(i.webkit=!0),i.rv||i.iemobile){i.rv&&delete i.rv;let r="msie";n.browser=r,i[r]=!0}if(i.edge){delete i.edge;let r="msedge";n.browser=r,i[r]=!0}if(i.opr){let r="opera";n.browser=r,i[r]=!0}if(i.safari&&i.android){let r="android";n.browser=r,i[r]=!0}i.name=n.browser,i.platform=n.platform;for(let r in ee)ee.hasOwnProperty(r)&&delete ee[r];Object.assign(ee,i)}ne();var _=ee;class S extends we{static isSupported(){try{let e=_.msedge&&_.version.minor>=15048,t=_.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let i=this._seekHandler.getConfig(n,t),r=new self.Headers;if(typeof i.headers=="object"){let f=i.headers;for(let te in f)f.hasOwnProperty(te)&&r.append(te,f[te])}let h={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let f in this._config.headers)r.append(f,this._config.headers[f]);e.cors===!1&&(h.mode="same-origin"),e.withCredentials&&(h.credentials="include"),e.referrerPolicy&&(h.referrerPolicy=e.referrerPolicy),this._status=o.kConnecting,self.fetch(i.url,h).then(f=>{if(this._requestAbort){this._requestAbort=!1,this._status=o.kIdle;return}if(f.ok&&f.status>=200&&f.status<=299){if(f.url!==i.url&&this._onURLRedirect){let G=this._seekHandler.removeURLParameters(f.url);this._onURLRedirect(G)}let te=f.headers.get("Content-Length");return te!=null&&(this._contentLength=parseInt(te),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,f.body.getReader())}else if(this._status=o.kError,this._onError)this._onError(V.HTTP_STATUS_CODE_INVALID,{code:f.status,msg:f.statusText});else throw new U("FetchStreamLoader: Http code invalid, "+f.status+" "+f.statusText)}).catch(f=>{if(this._status=o.kError,this._onError)this._onError(V.EXCEPTION,{code:-1,msg:f.message});else throw f})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&_.msedge)return;this._status=o.kError;let n=0,i=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=o.kError,this._onError)this._onError(V.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new U("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=o.kBuffering}}_onProgress(e){if(this._status===o.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===o.kError)return;this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=o.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let i=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let i=parseInt(n);i>0&&(this._contentLength=i,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let i=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,r,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+i.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let i=this._seekHandler.getConfig(n,t);this._currentRequestURL=i.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",i.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof i.headers=="object"){let h=i.headers;for(let f in h)h.hasOwnProperty(f)&&r.setRequestHeader(f,h[f])}if(typeof this._config.headers=="object"){let h=this._config.headers;for(let f in h)h.hasOwnProperty(f)&&r.setRequestHeader(f,h[f])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=o.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=o.kBuffering}else if(this._status=o.kError,this._onError)this._onError(V.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new U("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===o.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let i=e.total;this._internalAbort(),i!=null&i!==0&&(this._totalLength=i)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,i=0,r=0,h=n;if(e=t[i]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let h=this._normalizeSpeed(t);this._currentSpeedNormalized!==h&&(this._currentSpeedNormalized=h,this._currentChunkSizeKB=h)}let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=o.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(V.EXCEPTION,t);else throw new U(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=o.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(V.EXCEPTION,t);else throw new U(t.msg)}}var he=se;class De{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let i;t.to!==-1?i=`bytes=${t.from.toString()}-${t.to.toString()}`:i=`bytes=${t.from.toString()}-`,n.Range=i}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var Ce=De;class Te{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let i=!0;n.indexOf("?")===-1&&(n+="?",i=!1),i&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,i=e.indexOf("?");i!==-1&&(n=e.substring(i+1));let r="";if(n!=null&&n.length>0){let h=n.split("&");for(let f=0;f0;te[0]!==this._startName&&te[0]!==this._endName&&(G&&(r+="&"),r+=h[f])}}return r.length===0?t:t+"?"+r}}var Ae=Te;class N{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new de,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===J?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new Ce(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new Ae(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new oe("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new oe(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=he;else if(v.isSupported())this._loaderClass=v;else if(I.isSupported())this._loaderClass=I;else if(J.isSupported())this._loaderClass=J;else throw new U("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new oe("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let i=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(i,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,i=0,r=0,h=n;if(e=t[i]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let h=this._stashBuffer.slice(0,this._stashUsed),f=this._dispatchChunks(h,this._stashByteStart);if(f0){let te=new Uint8Array(h,f);r.set(te,0),this._stashUsed=te.byteLength,this._stashByteStart+=f}}else this._stashUsed=0,this._stashByteStart+=f;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let h=this._dispatchChunks(e,t);if(hthis._bufferSize&&(this._expandBuffer(f),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,h),0),this._stashUsed+=f,this._stashByteStart=t+h}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,t);if(rthis._bufferSize&&this._expandBuffer(h),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=h,this._stashByteStart=t+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let h=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(h0){let f=new Uint8Array(this._stashBuffer,h);r.set(f,0)}this._stashUsed-=h,this._stashByteStart+=h}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),i=t.byteLength-n;if(n0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),h=new Uint8Array(t,n);r.set(h,0),this._stashUsed=h.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,i}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(g.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=V.UNRECOVERABLE_EARLY_EOF),e){case V.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=ue.getConfig();e.emit("change",t)}}static registerListener(e){ue.emitter.addListener("change",e)}static removeListener(e){ue.emitter.removeListener("change",e)}static addLogListener(e){g.emitter.addListener("log",e),g.emitter.listenerCount("log")>0&&(g.ENABLE_CALLBACK=!0,ue._notifyChange())}static removeLogListener(e){g.emitter.removeListener("log",e),g.emitter.listenerCount("log")===0&&(g.ENABLE_CALLBACK=!1,ue._notifyChange())}}ue.emitter=new(z());var _e=ue;class je{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,i=e.length-1,r=0,h=0,f=i;for(t=e[r]&&t=128){e.push(String.fromCharCode(r&65535)),n+=2;continue}}}else if(t[n]<240){if(Ze(t,n,2)){let r=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),n+=3;continue}}}else if(t[n]<248&&Ze(t,n,3)){let r=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var it=We;let Me=function(){let H=new ArrayBuffer(2);return new DataView(H).setInt16(0,256,!0),new Int16Array(H)[0]===256}();class He{static parseScriptData(e,t,n){let i={};try{let r=He.parseValue(e,t,n),h=He.parseValue(e,t+r.size,n-r.size);i[r.data]=h.data}catch(r){g.e("AMF",r.toString())}return i}static parseObject(e,t,n){if(n<3)throw new q("Data not enough when parse ScriptDataObject");let i=He.parseString(e,t,n),r=He.parseValue(e,t+i.size,n-i.size),h=r.objectEnd;return{data:{name:i.data,value:r.data},size:i.size+r.size,objectEnd:h}}static parseVariable(e,t,n){return He.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new q("Data not enough when parse String");let r=new DataView(e,t,n).getUint16(0,!Me),h;return r>0?h=it(new Uint8Array(e,t+2,r)):h="",{data:h,size:2+r}}static parseLongString(e,t,n){if(n<4)throw new q("Data not enough when parse LongString");let r=new DataView(e,t,n).getUint32(0,!Me),h;return r>0?h=it(new Uint8Array(e,t+4,r)):h="",{data:h,size:4+r}}static parseDate(e,t,n){if(n<10)throw new q("Data size invalid when parse Date");let i=new DataView(e,t,n),r=i.getFloat64(0,!Me),h=i.getInt16(8,!Me);return r+=h*60*1e3,{data:new Date(r),size:10}}static parseValue(e,t,n){if(n<1)throw new q("Data not enough when parse Value");let i=new DataView(e,t,n),r=1,h=i.getUint8(0),f,te=!1;try{switch(h){case 0:f=i.getFloat64(1,!Me),r+=8;break;case 1:{f=!!i.getUint8(1),r+=1;break}case 2:{let G=He.parseString(e,t+1,n-1);f=G.data,r+=G.size;break}case 3:{f={};let G=0;for((i.getUint32(n-4,!Me)&16777215)===9&&(G=3);r32)throw new oe("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let h=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,h}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let i=Math.min(n,this._current_word_bits_left),r=this._current_word>>>32-i;return this._current_word<<=i,this._current_word_bits_left-=i,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var et=Je;class R{static _ebsp2rbsp(e){let t=e,n=t.byteLength,i=new Uint8Array(n),r=0;for(let h=0;h=2&&t[h]===3&&t[h-1]===0&&t[h-2]===0||(i[r]=t[h],r++);return new Uint8Array(i.buffer,0,r)}static parseSPS(e){let t=R._ebsp2rbsp(e),n=new et(t);n.readByte();let i=n.readByte();n.readByte();let r=n.readByte();n.readUEG();let h=R.getProfileString(i),f=R.getLevelString(r),te=1,G=420,pe=[0,420,422,444],Ne=8;if((i===100||i===110||i===122||i===244||i===44||i===83||i===86||i===118||i===128||i===138||i===144)&&(te=n.readUEG(),te===3&&n.readBits(1),te<=3&&(G=pe[te]),Ne=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let Ke=te!==3?8:12;for(let Ue=0;Ue0&&Ke<16?(vt=Ue[Ke-1],ve=st[Ke-1]):Ke===255&&(vt=n.readByte()<<8|n.readByte(),ve=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let Ke=n.readBits(32),Ue=n.readBits(32);w=n.readBool(),x=Ue,O=Ke*2,nt=x/O}}let D=1;(vt!==1||ve!==1)&&(D=vt/ve);let F=0,T=0;if(te===0)F=1,T=2-X;else{let Ke=te===3?1:2,Ue=te===1?2:1;F=Ke,T=Ue*(2-X)}let re=(Pe+1)*16,Le=(2-X)*((fe+1)*16);re-=(ie+Ie)*F,Le-=(Oe+Xe)*T;let Se=Math.ceil(re*D);return n.destroy(),n=null,{profile_string:h,level_string:f,bit_depth:Ne,ref_frames:ae,chroma_format:G,chroma_format_string:R.getChromaFormatString(G),frame_rate:{fixed:w,fps:nt,fps_den:O,fps_num:x},sar_ratio:{width:vt,height:ve},codec_size:{width:re,height:Le},present_size:{width:Se,height:Le}}}static _skipScalingList(e,t){let n=8,i=8,r=0;for(let h=0;h>>8&255|(H&255)<<8}function $(H){return(H&4278190080)>>>24|(H&16711680)>>>8|(H&65280)<<8|(H&255)<<24}function d(H,e){return H[e]<<24|H[e+1]<<16|H[e+2]<<8|H[e+3]}class p{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Fe,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let i=(t[4]&4)>>>2!==0,r=(t[4]&1)!==0,h=d(t,5);return h<9?n:{match:!0,consumed:h,dataOffset:h,hasAudioTrack:i,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Fe}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new q("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,i=this._littleEndian;if(t===0)if(e.byteLength>13)n=p.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&g.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!i)!==0&&g.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let h=r.getUint8(0),f=r.getUint32(0,!i)&16777215;if(n+11+f+4>e.byteLength)break;if(h!==8&&h!==9&&h!==18){g.w(this.TAG,`Unsupported tag type ${h}, skipped`),n+=11+f+4;continue}let te=r.getUint8(4),G=r.getUint8(5),pe=r.getUint8(6),Ne=r.getUint8(7),ze=pe|G<<8|te<<16|Ne<<24;(r.getUint32(7,!i)&16777215)!==0&&g.w(this.TAG,"Meet tag which has StreamID != 0!");let Pe=n+11;switch(h){case 8:this._parseAudioData(e,Pe,f,ze);break;case 9:this._parseVideoData(e,Pe,f,ze,t+n);break;case 18:this._parseScriptData(e,Pe,f);break}let fe=r.getUint32(11+f,!i);fe!==11+f&&g.w(this.TAG,`Invalid PrevTagSize ${fe}`),n+=11+f+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let i=Ye.parseScriptData(e,t,n);if(i.hasOwnProperty("onMetaData")){if(i.onMetaData==null||typeof i.onMetaData!="object"){g.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&g.w(this.TAG,"Found another onMetaData tag!"),this._metadata=i;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let h=Math.floor(r.duration*this._timescale);this._duration=h,this._mediaInfo.duration=h}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let h=Math.floor(r.framerate*1e3);if(h>0){let f=h/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=f,this._referenceFrameRate.fps_num=h,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=f}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let h=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(h),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,g.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(i).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},i))}_parseKeyframesIndex(e){let t=[],n=[];for(let i=1;i>>4;if(te!==2&&te!==10){this._onError(c.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+te);return}let G=0,pe=(f&12)>>>2;if(pe>=0&&pe<=4)G=this._flvSoundRateTable[pe];else{this._onError(c.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+pe);return}let Ne=(f&2)>>>1,ze=f&1,ae=this._audioMetadata,Pe=this._audioTrack;if(ae||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),ae=this._audioMetadata={},ae.type="audio",ae.id=Pe.id,ae.timescale=this._timescale,ae.duration=this._duration,ae.audioSampleRate=G,ae.channelCount=ze===0?1:2),te===10){let fe=this._parseAACAudioData(e,t+1,n-1);if(fe==null)return;if(fe.packetType===0){ae.config&&g.w(this.TAG,"Found another AudioSpecificConfig!");let X=fe.data;ae.audioSampleRate=X.samplingRate,ae.channelCount=X.channelCount,ae.codec=X.codec,ae.originalCodec=X.originalCodec,ae.config=X.config,ae.refSampleDuration=1024/ae.audioSampleRate*ae.timescale,g.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",ae);let ie=this._mediaInfo;ie.audioCodec=ae.originalCodec,ie.audioSampleRate=ae.audioSampleRate,ie.audioChannelCount=ae.channelCount,ie.hasVideo?ie.videoCodec!=null&&(ie.mimeType='video/x-flv; codecs="'+ie.videoCodec+","+ie.audioCodec+'"'):ie.mimeType='video/x-flv; codecs="'+ie.audioCodec+'"',ie.isComplete()&&this._onMediaInfo(ie)}else if(fe.packetType===1){let X=this._timestampBase+i,ie={unit:fe.data,length:fe.data.byteLength,dts:X,pts:X};Pe.samples.push(ie),Pe.length+=fe.data.length}else g.e(this.TAG,`Flv: Unsupported AAC data type ${fe.packetType}`)}else if(te===2){if(!ae.codec){let Ie=this._parseMP3AudioData(e,t+1,n-1,!0);if(Ie==null)return;ae.audioSampleRate=Ie.samplingRate,ae.channelCount=Ie.channelCount,ae.codec=Ie.codec,ae.originalCodec=Ie.originalCodec,ae.refSampleDuration=1152/ae.audioSampleRate*ae.timescale,g.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",ae);let Oe=this._mediaInfo;Oe.audioCodec=ae.codec,Oe.audioSampleRate=ae.audioSampleRate,Oe.audioChannelCount=ae.channelCount,Oe.audioDataRate=Ie.bitRate,Oe.hasVideo?Oe.videoCodec!=null&&(Oe.mimeType='video/x-flv; codecs="'+Oe.videoCodec+","+Oe.audioCodec+'"'):Oe.mimeType='video/x-flv; codecs="'+Oe.audioCodec+'"',Oe.isComplete()&&this._onMediaInfo(Oe)}let fe=this._parseMP3AudioData(e,t+1,n-1,!1);if(fe==null)return;let X=this._timestampBase+i,ie={unit:fe,length:fe.byteLength,dts:X,pts:X};Pe.samples.push(ie),Pe.length+=fe.length}}_parseAACAudioData(e,t,n){if(n<=1){g.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let i={},r=new Uint8Array(e,t,n);return i.packetType=r[0],r[0]===0?i.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):i.data=r.subarray(1),i}_parseAACAudioSpecificConfig(e,t,n){let i=new Uint8Array(e,t,n),r=null,h=0,f=0,te=null,G=0,pe=null;if(h=f=i[0]>>>3,G=(i[0]&7)<<1|i[1]>>>7,G<0||G>=this._mpegSamplingRates.length){this._onError(c.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Ne=this._mpegSamplingRates[G],ze=(i[1]&120)>>>3;if(ze<0||ze>=8){this._onError(c.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}h===5&&(pe=(i[1]&7)<<1|i[2]>>>7,te=(i[2]&124)>>>2);let ae=self.navigator.userAgent.toLowerCase();return ae.indexOf("firefox")!==-1?G>=6?(h=5,r=new Array(4),pe=G-3):(h=2,r=new Array(2),pe=G):ae.indexOf("android")!==-1?(h=2,r=new Array(2),pe=G):(h=5,pe=G,r=new Array(4),G>=6?pe=G-3:ze===1&&(h=2,r=new Array(2),pe=G)),r[0]=h<<3,r[0]|=(G&15)>>>1,r[1]=(G&15)<<7,r[1]|=(ze&15)<<3,h===5&&(r[1]|=(pe&15)>>>1,r[2]=(pe&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:Ne,channelCount:ze,codec:"mp4a.40."+h,originalCodec:"mp4a.40."+f}}_parseMP3AudioData(e,t,n,i){if(n<4){g.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,h=new Uint8Array(e,t,n),f=null;if(i){if(h[0]!==255)return;let te=h[1]>>>3&3,G=(h[1]&6)>>1,pe=(h[2]&240)>>>4,Ne=(h[2]&12)>>>2,ae=(h[3]>>>6&3)!==3?2:1,Pe=0,fe=0,X=34,ie="mp3";switch(te){case 0:Pe=this._mpegAudioV25SampleRateTable[Ne];break;case 2:Pe=this._mpegAudioV20SampleRateTable[Ne];break;case 3:Pe=this._mpegAudioV10SampleRateTable[Ne];break}switch(G){case 1:X=34,pe>>4,te=h&15;if(te!==7){this._onError(c.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${te}`);return}this._parseAVCVideoPacket(e,t+1,n-1,i,r,f)}_parseAVCVideoPacket(e,t,n,i,r,h){if(n<4){g.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let f=this._littleEndian,te=new DataView(e,t,n),G=te.getUint8(0),Ne=(te.getUint32(0,!f)&16777215)<<8>>8;if(G===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(G===1)this._parseAVCVideoData(e,t+4,n-4,i,r,h,Ne);else if(G!==2){this._onError(c.FORMAT_ERROR,`Flv: Invalid video packet type ${G}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){g.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let i=this._videoMetadata,r=this._videoTrack,h=this._littleEndian,f=new DataView(e,t,n);i?typeof i.avcc!="undefined"&&g.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),i=this._videoMetadata={},i.type="video",i.id=r.id,i.timescale=this._timescale,i.duration=this._duration);let te=f.getUint8(0),G=f.getUint8(1),pe=f.getUint8(2),Ne=f.getUint8(3);if(te!==1||G===0){this._onError(c.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(f.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(c.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let ze=f.getUint8(5)&31;if(ze===0){this._onError(c.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ze>1&&g.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${ze}`);let ae=6;for(let fe=0;fe1&&g.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Pe}`);ae++;for(let fe=0;fe=n){g.w(this.TAG,`Malformed Nalu near timestamp ${Pe}, offset = ${ze}, dataSize = ${n}`);break}let X=G.getUint32(ze,!te);if(ae===3&&(X>>>=8),X>n-ae){g.w(this.TAG,`Malformed Nalus near timestamp ${Pe}, NaluSize > DataSize!`);return}let ie=G.getUint8(ze+ae)&31;ie===5&&(fe=!0);let Ie=new Uint8Array(e,t+ze,ae+X),Oe={type:ie,data:Ie};pe.push(Oe),Ne+=Ie.byteLength,ze+=ae+X}if(pe.length){let X=this._videoTrack,ie={units:pe,length:Ne,isKeyframe:fe,dts:Pe,cts:f,pts:Pe+f};fe&&(ie.fileposition=r),X.samples.push(ie),X.length+=Ne}}}var b=p;class u{static init(){u.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in u.types)u.types.hasOwnProperty(t)&&(u.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=u.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,i=Array.prototype.slice.call(arguments,1),r=i.length;for(let f=0;f>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let h=8;for(let f=0;f>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return u.box(u.types.trak,u.tkhd(e),u.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,i=e.presentWidth,r=e.presentHeight;return u.box(u.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>>8&255,i&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return u.box(u.types.mdia,u.mdhd(e),u.hdlr(e),u.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return u.box(u.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=u.constants.HDLR_AUDIO:t=u.constants.HDLR_VIDEO,u.box(u.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=u.box(u.types.smhd,u.constants.SMHD):t=u.box(u.types.vmhd,u.constants.VMHD),u.box(u.types.minf,t,u.dinf(),u.stbl(e))}static dinf(){return u.box(u.types.dinf,u.box(u.types.dref,u.constants.DREF))}static stbl(e){return u.box(u.types.stbl,u.stsd(e),u.box(u.types.stts,u.constants.STTS),u.box(u.types.stsc,u.constants.STSC),u.box(u.types.stsz,u.constants.STSZ),u.box(u.types.stco,u.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp3(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp4a(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types[".mp3"],i)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types.mp4a,i,u.esds(e))}static esds(e){let t=e.config||[],n=t.length,i=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return u.box(u.types.esds,i)}static avc1(e){let t=e.avcc,n=e.codecWidth,i=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,i>>>8&255,i&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return u.box(u.types.avc1,r,u.box(u.types.avcC,t))}static mvex(e){return u.box(u.types.mvex,u.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return u.box(u.types.trex,n)}static moof(e,t){return u.box(u.types.moof,u.mfhd(e.sequenceNumber),u.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return u.box(u.types.mfhd,t)}static traf(e,t){let n=e.id,i=u.box(u.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),r=u.box(u.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),h=u.sdtp(e),f=u.trun(e,h.byteLength+16+16+8+16+8+8);return u.box(u.types.traf,i,r,f,h)}static sdtp(e){let t=e.samples||[],n=t.length,i=new Uint8Array(4+n);for(let r=0;r>>24&255,i>>>16&255,i>>>8&255,i&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let f=0;f>>24&255,te>>>16&255,te>>>8&255,te&255,G>>>24&255,G>>>16&255,G>>>8&255,G&255,pe.isLeading<<2|pe.dependsOn,pe.isDependedOn<<6|pe.hasRedundancy<<4|pe.isNonSync,0,0,Ne>>>24&255,Ne>>>16&255,Ne>>>8&255,Ne&255],12+16*f)}return u.box(u.types.trun,h)}static mdat(e){return u.box(u.types.mdat,e)}}u.init();var B=u;class W{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var me=W;class ye{constructor(e,t,n,i,r){this.dts=e,this.pts=t,this.duration=n,this.originalDts=i,this.isSyncPoint=r,this.fileposition=null}}class $e{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ge{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[r].dts&&et[i].lastSample.originalDts&&e=t[i].lastSample.originalDts&&(i===t.length-1||i0&&(r=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class be{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ke("audio"),this._videoSegmentInfoList=new ke("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661)),this._fillSilentAfterSeek=_.msedge||_.msie,this._mp3UseMpegAudio=!_.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new q("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,i="mp4",r=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(i="mpeg",r="",n=new Uint8Array):n=B.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=B.generateInitSegment(t);else return;if(!this._onInitSegment)throw new q("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:r,container:`${e}/${i}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let i={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(i.samples.push(t),i.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(i,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,i=n.samples,r,h=-1,f=-1,te=-1,G=this._audioMeta.refSampleDuration,pe=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ne=this._dtsBaseInited&&this._audioNextDts===void 0,ze=!1;if(!i||i.length===0||i.length===1&&!t)return;let ae=0,Pe=null,fe=0;pe?(ae=0,fe=n.length):(ae=8,fe=8+n.length);let X=null;if(i.length>1&&(X=i.pop(),fe-=X.length),this._audioStashedLastSample!=null){let ve=this._audioStashedLastSample;this._audioStashedLastSample=null,i.unshift(ve),fe+=ve.length}X!=null&&(this._audioStashedLastSample=X);let ie=i[0].dts-this._dtsBase;if(this._audioNextDts)r=ie-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(ze=!0);else{let ve=this._audioSegmentInfoList.getLastSampleBefore(ie);if(ve!=null){let nt=ie-(ve.originalDts+ve.duration);nt<=3&&(nt=0);let w=ve.dts+ve.duration+nt;r=ie-w}else r=0}if(ze){let ve=ie-r,nt=this._videoSegmentInfoList.getLastSegmentBefore(ie);if(nt!=null&&nt.beginDts=1?j=Ie[Ie.length-1].duration:j=Math.floor(G);let D=!1,F=null;if(j>G*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!_.safari){D=!0;let T=Math.abs(j-G),re=Math.ceil(T/G),Le=O+G;g.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${O+j} ms, expected: ${O+Math.round(G)} ms, delta: ${Math.round(T)} ms, generate: ${re} frames`);let Se=me.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Se==null&&(g.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),Se=w),F=[];for(let Ue=0;Ue0){let at=F[F.length-1];at.duration=st-at.dts}let ct={dts:st,pts:st,cts:0,unit:Se,size:Se.byteLength,duration:0,originalDts:x,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};F.push(ct),fe+=ct.size,Le+=G}let Ke=F[F.length-1];Ke.duration=O+j-Ke.dts,j=Math.round(G)}Ie.push({dts:O,pts:O,cts:0,unit:nt.unit,size:nt.unit.byteLength,duration:j,originalDts:x,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),D&&Ie.push.apply(Ie,F)}pe?Pe=new Uint8Array(fe):(Pe=new Uint8Array(fe),Pe[0]=fe>>>24&255,Pe[1]=fe>>>16&255,Pe[2]=fe>>>8&255,Pe[3]=fe&255,Pe.set(B.types.mdat,4));for(let ve=0;ve1&&(ae=i.pop(),ze-=ae.length),this._videoStashedLastSample!=null){let Oe=this._videoStashedLastSample;this._videoStashedLastSample=null,i.unshift(Oe),ze+=Oe.length}ae!=null&&(this._videoStashedLastSample=ae);let Pe=i[0].dts-this._dtsBase;if(this._videoNextDts)r=Pe-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())r=0;else{let Oe=this._videoSegmentInfoList.getLastSampleBefore(Pe);if(Oe!=null){let Xe=Pe-(Oe.originalDts+Oe.duration);Xe<=3&&(Xe=0);let Mt=Oe.dts+Oe.duration+Xe;r=Pe-Mt}else r=0}let fe=new $e,X=[];for(let Oe=0;Oe=1?x=X[X.length-1].duration:x=Math.floor(this._videoMeta.refSampleDuration),vt){let O=new ye(ve,w,x,Xe.dts,!0);O.fileposition=Xe.fileposition,fe.appendSyncPoint(O)}X.push({dts:ve,pts:w,cts:nt,units:Xe.units,size:Xe.length,isKeyframe:vt,duration:x,originalDts:Mt,flags:{isLeading:0,dependsOn:vt?2:1,isDependedOn:vt?1:0,hasRedundancy:0,isNonSync:vt?0:1}})}Ne=new Uint8Array(ze),Ne[0]=ze>>>24&255,Ne[1]=ze>>>16&255,Ne[2]=ze>>>8&255,Ne[3]=ze&255,Ne.set(B.types.mdat,4);for(let Oe=0;Oe{i.timestampBase=n,n+=i.duration,i.cors=e.cors,i.withCredentials=e.withCredentials,t.referrerPolicy&&(i.referrerPolicy=t.referrerPolicy)}),!isNaN(n)&&this._mediaDataSource.duration!==n&&(this._mediaDataSource.duration=n),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,t){this._currentSegmentIndex=e;let n=this._mediaDataSource.segments[e],i=this._ioctl=new Ve(n,this._config,e);i.onError=this._onIOException.bind(this),i.onSeeked=this._onIOSeeked.bind(this),i.onComplete=this._onIOComplete.bind(this),i.onRedirect=this._onIORedirect.bind(this),i.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):i.onDataArrival=this._onInitChunkArrival.bind(this),i.open(t)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e;else{let i=n.getNearestKeyframe(e);this._remuxer.seek(i.milliseconds),this._ioctl.seek(i.fileposition),this._pendingResolveSeekPoint=i.milliseconds}}else{let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{let i=n.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,i.fileposition),this._pendingResolveSeekPoint=i.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let t=this._mediaDataSource.segments,n=t.length-1;for(let i=0;i0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,i=this._demuxer.parseChunks(e,t);else if((n=b.probe(e)).match){this._demuxer=new b(n,this._config),this._remuxer||(this._remuxer=new ut(this._config));let r=this._mediaDataSource;r.duration!=null&&!isNaN(r.duration)&&(this._demuxer.overridedDuration=r.duration),typeof r.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=r.hasAudio),typeof r.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=r.hasVideo),this._demuxer.timestampBase=r.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),i=this._demuxer.parseChunks(e,t)}else n=null,g.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(K.DEMUX_ERROR,c.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),i=0;return i}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Fe.prototype));let t=Object.assign({},e);Object.setPrototypeOf(t,Fe.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=t,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let n=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(n)})}_onMetaDataArrived(e){this._emitter.emit(K.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(K.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let n=e+1;n0&&n[0].originalDts===i&&(i=n[0].pts),this._emitter.emit(K.RECOMMEND_SEEKPOINT,i)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let t=this._mediaInfo.segments[e],n=Object.assign({},t);n.duration=this._mediaInfo.duration,n.segmentCount=this._mediaInfo.segmentCount,delete n.segments,delete n.keyframesIndex,this._emitter.emit(K.MEDIA_INFO,n)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(K.STATISTICS_INFO,e)}}var mt=bt,qe=function(H){let e="TransmuxingWorker",t=null,n=fe.bind(this);C.install(),H.addEventListener("message",function(X){switch(X.data.cmd){case"init":t=new mt(X.data.param[0],X.data.param[1]),t.on(K.IO_ERROR,ze.bind(this)),t.on(K.DEMUX_ERROR,ae.bind(this)),t.on(K.INIT_SEGMENT,i.bind(this)),t.on(K.MEDIA_SEGMENT,r.bind(this)),t.on(K.LOADING_COMPLETE,h.bind(this)),t.on(K.RECOVERED_EARLY_EOF,f.bind(this)),t.on(K.MEDIA_INFO,te.bind(this)),t.on(K.METADATA_ARRIVED,G.bind(this)),t.on(K.SCRIPTDATA_ARRIVED,pe.bind(this)),t.on(K.STATISTICS_INFO,Ne.bind(this)),t.on(K.RECOMMEND_SEEKPOINT,Pe.bind(this));break;case"destroy":t&&(t.destroy(),t=null),H.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(X.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":{let ie=X.data.param;_e.applyConfig(ie),ie.enableCallback===!0?_e.addLogListener(n):_e.removeLogListener(n);break}}});function i(X,ie){let Ie={msg:K.INIT_SEGMENT,data:{type:X,data:ie}};H.postMessage(Ie,[ie.data])}function r(X,ie){let Ie={msg:K.MEDIA_SEGMENT,data:{type:X,data:ie}};H.postMessage(Ie,[ie.data])}function h(){let X={msg:K.LOADING_COMPLETE};H.postMessage(X)}function f(){let X={msg:K.RECOVERED_EARLY_EOF};H.postMessage(X)}function te(X){let ie={msg:K.MEDIA_INFO,data:X};H.postMessage(ie)}function G(X){let ie={msg:K.METADATA_ARRIVED,data:X};H.postMessage(ie)}function pe(X){let ie={msg:K.SCRIPTDATA_ARRIVED,data:X};H.postMessage(ie)}function Ne(X){let ie={msg:K.STATISTICS_INFO,data:X};H.postMessage(ie)}function ze(X,ie){H.postMessage({msg:K.IO_ERROR,data:{type:X,info:ie}})}function ae(X,ie){H.postMessage({msg:K.DEMUX_ERROR,data:{type:X,info:ie}})}function Pe(X){H.postMessage({msg:K.RECOMMEND_SEEKPOINT,data:X})}function fe(X,ie){H.postMessage({msg:"logcat_callback",data:{type:X,logcat:ie}})}};class At{constructor(e,t){if(this.TAG="Transmuxer",this._emitter=new(z()),t.enableWorker&&typeof Worker!="undefined")try{let n=l(82059);this._worker=n(qe),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,t]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},_e.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:_e.getConfig()})}catch(n){g.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new mt(e,t)}else this._controller=new mt(e,t);if(this._controller){let n=this._controller;n.on(K.IO_ERROR,this._onIOError.bind(this)),n.on(K.DEMUX_ERROR,this._onDemuxError.bind(this)),n.on(K.INIT_SEGMENT,this._onInitSegment.bind(this)),n.on(K.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),n.on(K.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),n.on(K.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),n.on(K.MEDIA_INFO,this._onMediaInfo.bind(this)),n.on(K.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),n.on(K.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),n.on(K.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),n.on(K.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),_e.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(K.INIT_SEGMENT,e,t)})}_onMediaSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(K.MEDIA_SEGMENT,e,t)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(K.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(K.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(K.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(K.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(K.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(K.STATISTICS_INFO,e)})}_onIOError(e,t){Promise.resolve().then(()=>{this._emitter.emit(K.IO_ERROR,e,t)})}_onDemuxError(e,t){Promise.resolve().then(()=>{this._emitter.emit(K.DEMUX_ERROR,e,t)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(K.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let t=e.data,n=t.data;if(t.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(t.msg){case K.INIT_SEGMENT:case K.MEDIA_SEGMENT:this._emitter.emit(t.msg,n.type,n.data);break;case K.LOADING_COMPLETE:case K.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case K.MEDIA_INFO:Object.setPrototypeOf(n,Fe.prototype),this._emitter.emit(t.msg,n);break;case K.METADATA_ARRIVED:case K.SCRIPTDATA_ARRIVED:case K.STATISTICS_INFO:this._emitter.emit(t.msg,n);break;case K.IO_ERROR:case K.DEMUX_ERROR:this._emitter.emit(t.msg,n.type,n.info);break;case K.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,n);break;case"logcat_callback":g.emitter.emit("log",n.type,n.logcat);break;default:break}}}var Tt=At,Et={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class Zt{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(z()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new ge}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaSource)throw new q("MediaSource has been attached to an HTMLMediaElement!");let t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let t in this._sourceBuffers){let n=this._pendingSegments[t];n.splice(0,n.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;let i=this._sourceBuffers[t];if(i){if(e.readyState!=="closed"){try{e.removeSourceBuffer(i)}catch(r){g.e(this.TAG,r.message)}i.removeEventListener("error",this.e.onSourceBufferError),i.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[t]=null,this._sourceBuffers[t]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(t){g.e(this.TAG,t.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,t){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let n=e,i=`${n.container}`;n.codec&&n.codec.length>0&&(i+=`;codecs=${n.codec}`);let r=!1;if(g.v(this.TAG,"Received Initialization Segment, mimeType: "+i),this._lastInitSegments[n.type]=n,i!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])g.v(this.TAG,`Notice: ${n.type} mimeType changed, origin: ${this._mimeTypes[n.type]}, target: ${i}`);else{r=!0;try{let h=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(i);h.addEventListener("error",this.e.onSourceBufferError),h.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(h){g.e(this.TAG,h.message),this._emitter.emit(Et.ERROR,{code:h.code,msg:h.message});return}}this._mimeTypes[n.type]=i}t||this._pendingSegments[n.type].push(n),r||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),_.safari&&n.container==="audio/mpeg"&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let n=this._sourceBuffers[t.type];n&&!n.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let t in this._sourceBuffers){if(!this._sourceBuffers[t])continue;let n=this._sourceBuffers[t];if(this._mediaSource.readyState==="open")try{n.abort()}catch(r){g.e(this.TAG,r.message)}this._idrList.clear();let i=this._pendingSegments[t];if(i.splice(0,i.length),this._mediaSource.readyState!=="closed"){for(let r=0;r=1&&e-i.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let t in this._sourceBuffers){let n=this._sourceBuffers[t];if(n){let i=n.buffered,r=!1;for(let h=0;h=this._config.autoCleanupMaxBackwardDuration){r=!0;let G=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:f,end:G})}}else te0&&(isNaN(t)||n>t)&&(g.v(this.TAG,`Update MediaSource duration from ${t} to ${n}`),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let t=this._sourceBuffers[e],n=this._pendingRemoveRanges[e];for(;n.length&&!t.updating;){let i=n.shift();t.remove(i.start,i.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let t in e)if(!(!this._sourceBuffers[t]||this._sourceBuffers[t].updating)&&e[t].length>0){let n=e[t].shift();if(n.timestampOffset){let i=this._sourceBuffers[t].timestampOffset,r=n.timestampOffset/1e3;Math.abs(i-r)>.1&&(g.v(this.TAG,`Update MPEG audio timestampOffset from ${i} to ${r}`),this._sourceBuffers[t].timestampOffset=r),delete n.timestampOffset}if(!n.data||n.data.byteLength===0)continue;try{this._sourceBuffers[t].appendBuffer(n.data),this._isBufferFull=!1,t==="video"&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(i){this._pendingSegments[t].unshift(n),i.code===22?(this._isBufferFull||this._emitter.emit(Et.BUFFER_FULL),this._isBufferFull=!0):(g.e(this.TAG,i.message),this._emitter.emit(Et.ERROR,{code:i.code,msg:i.message}))}}}_onSourceOpen(){if(g.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Et.SOURCE_OPEN)}_onSourceEnded(){g.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){g.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(Et.UPDATE_END)}_onSourceBufferError(e){g.e(this.TAG,`SourceBuffer Error: ${e}`)}}var Kt=Zt;const Be={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Qe={NETWORK_EXCEPTION:V.EXCEPTION,NETWORK_STATUS_CODE_INVALID:V.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:V.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:V.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:c.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:c.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:c.CODEC_UNSUPPORTED};class Rt{constructor(e,t){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(z()),this._config=Z(),typeof t=="object"&&Object.assign(this._config,t),e.type.toLowerCase()!=="flv")throw new oe("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let n=_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661);this._alwaysSeekKeyframe=!!(n||_.msedge||_.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){e===le.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(le.MEDIA_INFO,this.mediaInfo)}):e===le.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(le.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new Kt(this._config),this._msectl.on(Et.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Et.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Et.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(Et.ERROR,t=>{this._emitter.emit(le.ERROR,Be.MEDIA_ERROR,Qe.MEDIA_MSE_ERROR,t)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new q("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new q("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Tt(this._mediaDataSource,this._config),this._transmuxer.on(K.INIT_SEGMENT,(e,t)=>{this._msectl.appendInitSegment(t)}),this._transmuxer.on(K.MEDIA_SEGMENT,(e,t)=>{if(this._msectl.appendMediaSegment(t),this._config.lazyLoad&&!this._config.isLive){let n=this._mediaElement.currentTime;t.info.endDts>=(n+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(g.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(K.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(le.LOADING_COMPLETE)}),this._transmuxer.on(K.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(le.RECOVERED_EARLY_EOF)}),this._transmuxer.on(K.IO_ERROR,(e,t)=>{this._emitter.emit(le.ERROR,Be.NETWORK_ERROR,e,t)}),this._transmuxer.on(K.DEMUX_ERROR,(e,t)=>{this._emitter.emit(le.ERROR,Be.MEDIA_ERROR,e,{code:-1,msg:t})}),this._transmuxer.on(K.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(le.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(K.METADATA_ARRIVED,e=>{this._emitter.emit(le.METADATA_ARRIVED,e)}),this._transmuxer.on(K.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(le.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(K.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(le.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(K.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,i=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();n=r.totalVideoFrames,i=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,i=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=i),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,t=this._mediaElement.currentTime,n=0,i=0;for(let r=0;r=t+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(g.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){g.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,t=this._mediaElement.buffered,n=!1;for(let i=0;i=r&&e=h-this._config.lazyLoadRecoverDuration&&(n=!0);break}}n&&(window.clearInterval(this._progressChecker),this._progressChecker=null,n&&(g.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let t=this._mediaElement.buffered;for(let n=0;n=i&&e0){let r=this._mediaElement.buffered.start(0);(r<1&&e0&&t.currentTime0){let i=n.start(0);if(i<1&&t{this._emitter.emit(le.MEDIA_INFO,this.mediaInfo)}):e===le.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(le.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new q("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let t={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,i=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();n=r.totalVideoFrames,i=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,i=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=i),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(le.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(le.STATISTICS_INFO,this.statisticsInfo)}}var $t=Nt;C.install();function kt(H,e){let t=H;if(t==null||typeof t!="object")throw new oe("MediaDataSource must be an javascript object!");if(!t.hasOwnProperty("type"))throw new oe("MediaDataSource must has type field to indicate video file type!");switch(t.type){case"flv":return new _t(t,e);default:return new $t(t,e)}}function Lt(){return Re.supportMSEH264Playback()}function tt(){return Re.getFeatureList()}let rt={};rt.createPlayer=kt,rt.isSupported=Lt,rt.getFeatureList=tt,rt.BaseLoader=we,rt.LoaderStatus=o,rt.LoaderErrors=V,rt.Events=le,rt.ErrorTypes=Be,rt.ErrorDetails=Qe,rt.FlvPlayer=_t,rt.NativePlayer=$t,rt.LoggingControl=_e,Object.defineProperty(rt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var dn=rt},91857:function(dt,xe,l){"use strict";var a=l(59301),C=l(38819),P=l(92310),z=l.n(P),y=l(31561),g=l(70425),ce=l(18929),de=l(2738),U=l(79676),q=l(53487),oe=l(92343),Q=l(36355),o=l(20834),V=l(40875),we=l(88088),ee=l(47211);const ne=null,_=I=>{const{menu:k,arrow:M,prefixCls:A,children:J,trigger:se,disabled:he,dropdownRender:De,getPopupContainer:Ce,overlayClassName:Te,rootClassName:Ae,open:N,onOpenChange:Ve,visible:Ge,onVisibleChange:Z,mouseEnterDelay:Y=.15,mouseLeaveDelay:Re=.1,autoAdjustOverflow:Ee=!0,placement:le="",overlay:ue,transitionName:_e}=I,{getPopupContainer:je,getPrefixCls:Fe,direction:Ze}=a.useContext(Q.E_),We=a.useMemo(()=>{const B=Fe();return _e!==void 0?_e:le.includes("top")?`${B}-slide-down`:`${B}-slide-up`},[Fe,le,_e]),it=a.useMemo(()=>le?le.includes("Center")?le.slice(0,le.indexOf("Center")):le:Ze==="rtl"?"bottomRight":"bottomLeft",[le,Ze]),Me=Fe("dropdown",A),[He,Ye]=(0,ee.Z)(Me),[,Je]=(0,we.Z)(),et=a.Children.only(J),R=(0,oe.Tm)(et,{className:z()(`${Me}-trigger`,{[`${Me}-rtl`]:Ze==="rtl"},et.props.className),disabled:he}),E=he?[]:se;let s;E&&E.includes("contextMenu")&&(s=!0);const[c,m]=(0,ce.Z)(!1,{value:N!=null?N:Ge}),$=(0,g.useEvent)(B=>{Ve==null||Ve(B),Z==null||Z(B),m(B)}),d=z()(Te,Ae,Ye,{[`${Me}-rtl`]:Ze==="rtl"}),p=(0,U.Z)({arrowPointAtCenter:typeof M=="object"&&M.pointAtCenter,autoAdjustOverflow:Ee,offset:Je.marginXXS,arrowWidth:M?Je.sizePopupArrow:0,borderRadius:Je.borderRadius}),b=a.useCallback(()=>{m(!1)},[]),u=()=>{let B;return k!=null&&k.items?B=a.createElement(o.default,Object.assign({},k)):typeof ue=="function"?B=ue():B=ue,De&&(B=De(B)),B=a.Children.only(typeof B=="string"?a.createElement("span",null,B):B),a.createElement(V.J,{prefixCls:`${Me}-menu`,expandIcon:a.createElement("span",{className:`${Me}-menu-submenu-arrow`},a.createElement(C.Z,{className:`${Me}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:b,validator:W=>{let{mode:me}=W}},B)};return He(a.createElement(y.Z,Object.assign({alignPoint:s},(0,de.Z)(I,["rootClassName"]),{mouseEnterDelay:Y,mouseLeaveDelay:Re,visible:c,builtinPlacements:p,arrow:!!M,overlayClassName:d,prefixCls:Me,getPopupContainer:Ce||je,transitionName:We,trigger:E,overlay:u,placement:it,onVisibleChange:$}),R))};function S(I){return Object.assign(Object.assign({},I),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const v=(0,q.Z)(_,"dropdown",I=>I,S),L=I=>a.createElement(v,Object.assign({},I),a.createElement("span",null));_._InternalPanelDoNotUseOrYouWillBeFired=L,xe.Z=_},38854:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return we}});var a=l(91857),C=l(92310),P=l.n(C),z=l(59301),y=l(18785),g=l(3113),ce=l(36355),de=l(81327),U=l(33234),q=l(47211),oe=function(ee,ne){var _={};for(var S in ee)Object.prototype.hasOwnProperty.call(ee,S)&&ne.indexOf(S)<0&&(_[S]=ee[S]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,S=Object.getOwnPropertySymbols(ee);v{const{getPopupContainer:ne,getPrefixCls:_,direction:S}=z.useContext(ce.E_),{prefixCls:v,type:L="default",danger:I,disabled:k,loading:M,onClick:A,htmlType:J,children:se,className:he,menu:De,arrow:Ce,autoFocus:Te,overlay:Ae,trigger:N,align:Ve,open:Ge,onOpenChange:Z,placement:Y,getPopupContainer:Re,href:Ee,icon:le=z.createElement(y.Z,null),title:ue,buttonsRender:_e=u=>u,mouseEnterDelay:je,mouseLeaveDelay:Fe,overlayClassName:Ze,overlayStyle:We,destroyPopupOnHide:it,dropdownRender:Me}=ee,He=oe(ee,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Ye=_("dropdown",v),Je=`${Ye}-button`,[et,R]=(0,q.Z)(Ye),E={menu:De,arrow:Ce,autoFocus:Te,align:Ve,disabled:k,trigger:k?[]:N,onOpenChange:Z,getPopupContainer:Re||ne,mouseEnterDelay:je,mouseLeaveDelay:Fe,overlayClassName:Ze,overlayStyle:We,destroyPopupOnHide:it,dropdownRender:Me},{compactSize:s,compactItemClassnames:c}=(0,U.ri)(Ye,S),m=P()(Je,c,he,R);"overlay"in ee&&(E.overlay=Ae),"open"in ee&&(E.open=Ge),"placement"in ee?E.placement=Y:E.placement=S==="rtl"?"bottomLeft":"bottomRight";const $=z.createElement(g.ZP,{type:L,danger:I,disabled:k,loading:M,onClick:A,htmlType:J,href:Ee,title:ue},se),d=z.createElement(g.ZP,{type:L,danger:I,icon:le}),[p,b]=_e([$,d]);return et(z.createElement(de.Z.Compact,Object.assign({className:m,size:s,block:!0},He),p,z.createElement(a.Z,Object.assign({},E),b)))};Q.__ANT_BUTTON=!0;var o=Q;const V=a.Z;V.Button=o;var we=V},47211:function(dt,xe,l){"use strict";l.d(xe,{Z:function(){return oe}});var a=l(17313),C=l(13826),P=l(92899),z=l(29878),y=l(19447),g=l(83116),ce=l(37613),U=Q=>{const{componentCls:o,menuCls:V,colorError:we,colorTextLightSolid:ee}=Q,ne=`${V}-item`;return{[`${o}, ${o}-menu-submenu`]:{[`${V} ${ne}`]:{[`&${ne}-danger:not(${ne}-disabled)`]:{color:we,"&:hover":{color:ee,backgroundColor:we}}}}}};const q=Q=>{const{componentCls:o,menuCls:V,zIndexPopup:we,dropdownArrowDistance:ee,sizePopupArrow:ne,antCls:_,iconCls:S,motionDurationMid:v,dropdownPaddingVertical:L,fontSize:I,dropdownEdgeChildPadding:k,colorTextDisabled:M,fontSizeIcon:A,controlPaddingHorizontal:J,colorBgElevated:se}=Q;return[{[o]:Object.assign(Object.assign({},(0,a.Wf)(Q)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:we,display:"block","&::before":{position:"absolute",insetBlock:-ee+ne/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${_}-btn`]:{[`& > ${S}-down, & > ${_}-btn-icon > ${S}-down`]:{fontSize:A}},[`${o}-wrap`]:{position:"relative",[`${_}-btn > ${S}-down`]:{fontSize:A},[`${S}-down::before`]:{transition:`transform ${v}`}},[`${o}-wrap-open`]:{[`${S}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${_}-slide-down-enter${_}-slide-down-enter-active${o}-placement-bottomLeft, &${_}-slide-down-appear${_}-slide-down-appear-active${o}-placement-bottomLeft, &${_}-slide-down-enter${_}-slide-down-enter-active${o}-placement-bottom, diff --git a/p__Classrooms__Lists__ResourceRecommend__index.16b2e8c7.async.js b/p__Classrooms__Lists__ResourceRecommend__index.43993339.async.js similarity index 99% rename from p__Classrooms__Lists__ResourceRecommend__index.16b2e8c7.async.js rename to p__Classrooms__Lists__ResourceRecommend__index.43993339.async.js index 699bef1dc2..197a76f59f 100644 --- a/p__Classrooms__Lists__ResourceRecommend__index.16b2e8c7.async.js +++ b/p__Classrooms__Lists__ResourceRecommend__index.43993339.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[1257],{40001:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},49198:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},84105:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},18785:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},33853:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},62772:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},38819:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},47472:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},86340:function(It,Be,l){"use strict";l.d(Be,{K:function(){return T}});var f=l(59301),g=l(43418),O=l(44080),N={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},w=l(24334);const T=({visible:ge,width:be,videoId:q,file_url:I,course_id:Ae,copyUrl:b,toLog:C=!0,logWatchHistory:Re=()=>{},allow_skip:Te,onClose:Me=()=>{},autoPlay:Ze=!1,onPlayEnded:Y=()=>{}})=>f.createElement(g.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ge,title:null,footer:null,width:be,className:N.modal},f.createElement("i",{className:`${N.closeIcon} iconfont icon-guanbi10`,onClick:Me}),ge&&f.createElement(O.Z,{onPlayEnded:Y,autoPlay:Ze,allow_skip:Te,courseId:Ae,src:I!=null&&I.startsWith("http")?I:w.Base64.decode(I),videoId:q,toLog:C,logWatchHistory:Re}))},44080:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return Te}});var f=l(59301),g=l(8591),O=l(38854),N=l(73217),w=l(17030),T=l(41867),ge=l(56102),be=l(84056),q={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},I=(Me,Ze,Y)=>new Promise((ae,V)=>{var j=y=>{try{c(Y.next(y))}catch(x){V(x)}},v=y=>{try{c(Y.throw(y))}catch(x){V(x)}},c=y=>y.done?ae(y.value):Promise.resolve(y.value).then(j,v);c((Y=Y.apply(Me,Ze)).next())});function Ae(Me){if(isNaN(Me))return{minutes:"00",seconds:"00"};const Ze=new Date(Me*1e3).toISOString().substr(11,8);return{hour:Ze.substr(0,2),minutes:Ze.substr(3,2),seconds:Ze.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function b(Me,Ze){return Me-Ze}function C(Me){Me.sort(b);let Ze=0;for(let Y=0;Y{},handlePlay:y=()=>{},handlePlayEnded:x=()=>{},autoPlay:oe=!1,onPlayEnded:he=()=>{},isShowWaterMark:Ce=!0},ke)=>{var Fe;const He=((Fe=Ze==null?void 0:Ze.split("."))==null?void 0:Fe.pop())==="flv",E=(0,f.useRef)(),De=(0,f.useRef)(),we=(0,f.useRef)(),J=(0,f.useRef)(),de=(0,f.useRef)(),Ge=(0,f.useRef)(),X=(0,f.useRef)(),te=(0,f.useRef)(),ue=(0,f.useRef)(),ve=(0,f.useRef)(),We=(0,f.useRef)(),tt=(0,f.useRef)(),et=(0,f.useRef)(),gt=(0,f.useRef)(),rt=navigator.userAgent.toLowerCase().match(Re),Ve=rt?rt[0]:"pc",ct=(0,f.useRef)(!1),pt=(0,T.eY)();let H=0,ze=0,M=0,D=null,h=!1,S=20,A=1,z=!1,s=!1,u=[];(0,f.useImperativeHandle)(ke,()=>({getLastUpdatedTime:()=>E.current.currentTime,getDuration:()=>E.current.duration})),g.ZP.config({maxCount:1,getContainer:()=>we.current});const _=(0,f.useCallback)((ie,ce=!1)=>{let ye={point:E.current.currentTime};D?(ye.log_id=D,ye.watch_duration=C(u),ye.total_duration=ze):(j?(ye.video_id=parseInt(ae,10),ye.course_id=j):ye.video_id=ae,ye.duration=H,ye.device=Ve),ce&&(ye.ed="1");function Ke(){return I(this,null,function*(){z=!0,D=yield V==null?void 0:V(ye),z=!1,ie&&ie()})}Ke()},[ae,j]);(0,f.useEffect)(()=>{E.current&&(J.current.style.display="none",de.current.style.display="block"),g.ZP.destroy();let ie=null;return N.Z.isSupported&&He&&Ze&&(Ze==null?void 0:Ze.indexOf(".m3u8"))<0?(ie=N.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:Ze,muted:!1}),E.current&&(ie.attachMediaElement(E.current),ie.load())):E.current.setAttribute("src",Ze),m(),()=>{ie&&(ie.unload(),ie.pause(),ie.destroy(),ie=null)}},[E,He,Ze]);function d(){E.current.paused?(J.current.style.display="none",de.current.style.display="block"):(J.current.style.display="block",de.current.style.display="none")}function m(){We.current.style.display="none",et.current.style.display="none",tt.current.style.display="none",E.current.muted||E.current.volume===0?We.current.style.display="block":E.current.volume>0&&E.current.volume<=.5?et.current.style.display="block":tt.current.style.display="block"}(0,f.useEffect)(()=>{const ie=document.getElementById("play"),ce=document.querySelectorAll(".playback-icons use");function ye(){y(),v&&!ct.current&&(E.current.currentTime=v),ct.current=!0,u.push(E.current.currentTime),h||(h=!0,Y&&_())}function Ke(){return I(this,null,function*(){d(),u.push(E.current.currentTime),Y&&_(()=>{D=null,M=0,h=!1,z=!1,s=!1,u=[],ze=0,A=1},!0),he()})}function _e(){Ge.current.value=Math.round(E.current.currentTime),X.current.value=Math.round(E.current.currentTime)}function ne(){const Ue=Ae(Math.round(E.current.currentTime));ue.current.innerText=`${Ue.hour>0?Ue.hour+":":""}${Ue.minutes}:${Ue.seconds}`,ue.current.setAttribute("datetime",`${Ue.hour>0?" "+Ue.hour+" ":""}${Ue.minutes}m ${Ue.seconds}s`)}function nt(){var Ue,mt,Xt,ft,zt,ln,Ut;const qt=Math.round((Ue=E.current)==null?void 0:Ue.duration);(Xt=(mt=Ge.current)==null?void 0:mt.setAttribute)==null||Xt.call(mt,"max",qt),(zt=(ft=X.current)==null?void 0:ft.setAttribute)==null||zt.call(ft,"max",qt);const Ft=Ae(qt);te.current&&(te.current.innerText=`${Ft.hour>0?Ft.hour+":":""}${Ft.minutes}:${Ft.seconds}`,(Ut=(ln=te.current).setAttribute)==null||Ut.call(ln,"datetime",`${Ft.hour>0?" "+Ft.hour+" ":""}${Ft.minutes}m ${Ft.seconds}s`))}function ot(){try{const Ue=Math.round(E.current.duration);Ge.current.setAttribute("max",Ue),X.current.setAttribute("max",Ue);const mt=Ae(Ue);te.current.innerText=`${mt.hour>0?mt.hour+":":""}${mt.minutes}:${mt.seconds}`,te.current.setAttribute("datetime",`${mt.hour>0?" "+mt.hour+" ":""}${mt.minutes}m ${mt.seconds}s`),_e(),ne();const{width:Xt,height:ft,x:zt,y:ln}=De.current.getBoundingClientRect();if(zt<0||ln<0||!Xt)return;if(!s){let Ut=E.current.currentTime,qt=Ut-M;Math.abs(qt)<10?(ze+=Math.abs(qt),M=Ut,z||ze-A*S>=0&&(A++,u.push(M),Y&&_())):(M=Ut,Y&&_())}}catch(Ue){console.log(Ue)}}function Et(){s=!0}function st(){E.current.playing&&u.push(E.current.currentTime,M),M=E.current.currentTime,s=!1}function Tt(){H=E.current.duration,H<=20&&(S=H/3),E.current.addEventListener("play",ye)}function Mt(Ue){Ue.preventDefault(),(0,be.vp)()?(E.current.style.width="100%",E.current.style.height="100%"):E.current.style.cssText=""}function Vt(){c()}function kt(Ue){if(!Me){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const mt=Ue.target.dataset.seek?Ue.target.dataset.seek:Ue.target.value;E.current.currentTime=mt,X.current.value=mt,Ge.current.value=mt}function Jt(Ue){const mt=Math.round(Ue.offsetX/Ue.target.clientWidth*parseInt(Ue.target.getAttribute("max"),10));Ge.current.setAttribute("data-seek",mt);const Xt=Ae(mt);ve.current.textContent=`${Xt.hour>0?Xt.hour+":":""}${Xt.minutes}:${Xt.seconds}`;const ft=E.current.getBoundingClientRect();ve.current.style.left=`${Ue.pageX-ft.left}px`}function Wt(Ue){switch(Ue.code){case"Space":Ue.preventDefault(),$();break;case"ArrowRight":if(Ue.preventDefault(),!Me){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime>=E.current.duration)break;E.current.currentTime=parseInt(E.current.currentTime)+5,_e();break;case"ArrowLeft":if(Ue.preventDefault(),!Me){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime===0)break;E.current.currentTime=parseInt(E.current.currentTime)-5,_e();break;case"ArrowUp":Ue.preventDefault(),E.current.volume<1&&(E.current.volume=(parseInt(E.current.volume*10)+1)/10);break;case"ArrowDown":Ue.preventDefault(),E.current.volume>0&&(E.current.volume=(parseInt(E.current.volume*10)-1)/10);break}}return we.current.addEventListener((0,be.gH)(),Mt),E.current.addEventListener("canplay",Tt),E.current.addEventListener("ended",Ke),E.current.addEventListener("seeking",Et),E.current.addEventListener("seeked",st),E.current.addEventListener("loadedmetadata",nt),Ge.current.addEventListener("mousemove",Jt),Ge.current.addEventListener("input",kt),E.current.addEventListener("timeupdate",ot),E.current.addEventListener("pause",Vt),E.current.addEventListener("volumechange",m),document.addEventListener("keydown",Wt),()=>{var Ue,mt,Xt,ft,zt,ln,Ut,qt,Ft,Gt,pn,Pe;(Ue=E.current)==null||Ue.removeEventListener("canplay",Tt),(mt=E.current)==null||mt.removeEventListener("play",ye),(Xt=E.current)==null||Xt.removeEventListener("ended",Ke),(ft=E.current)==null||ft.removeEventListener("seeking",Et),(zt=E.current)==null||zt.removeEventListener("seeked",st),(ln=Ge.current)==null||ln.removeEventListener("mousemove",Jt),(Ut=Ge.current)==null||Ut.removeEventListener("input",kt),(qt=E.current)==null||qt.removeEventListener("timeupdate",ot),(Ft=E.current)==null||Ft.removeEventListener("pause",Vt),(Gt=E.current)==null||Gt.removeEventListener("loadedmetadata",nt),(pn=E.current)==null||pn.removeEventListener("volumechange",m),document.removeEventListener("keydown",Wt),(Pe=E.current)!=null&&Pe.playing&&(u.push(M,E.current.currentTime),Y&&_())}},[E,Ze]),(0,f.useEffect)(()=>{if(E.current.onended=()=>{x(E)},E.current.oncontextmenu=()=>!1,(Ze==null?void 0:Ze.indexOf(".m3u8"))>-1){if(E.current.canPlayType("application/vnd.apple.mpegurl"))E.current.src=Ze;else if(w.ZP.isSupported()){var ie=new w.ZP;ie.loadSource(Ze),ie.attachMedia(E.current)}}},[Ze]);const[P,fe]=(0,f.useState)(1),$=()=>{E.current.paused||E.current.ended?E.current.play():E.current.pause(),d()};function Oe(){E.current.muted=!E.current.muted,E.current.muted?(gt.current.setAttribute("data-volume",volume.value),gt.current.value=0):gt.current.value=gt.current.dataset.volume}return f.createElement("div",{style:{position:"relative"},ref:we},f.createElement("div",{ref:De,className:`${q.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${q.animate__loop}`},Ce&&pt?pt.login:" "),f.createElement("div",{className:q.container},f.createElement("div",{className:q["video-container"],id:"video-container"},f.createElement("div",{className:q["playback-animation"],id:"playback-animation"},f.createElement("svg",{className:q["playback-icons"]},f.createElement("use",{className:"hidden",href:"#play-icon"}),f.createElement("use",{href:"#pause"}))),f.createElement("video",{className:q.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:E,autoPlay:oe}),f.createElement("div",{className:`${q["video-controls"]} `,id:"video-controls"},f.createElement("div",{className:q["bottom-controls"]},f.createElement("div",{className:q["left-controls"]},f.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:$},f.createElement("svg",{className:q["playback-icons"]},f.createElement("use",{ref:de,href:"#play-icon"}),f.createElement("use",{ref:J,style:{display:"none"},href:"#pause"}))),f.createElement("div",{className:q.time},f.createElement("time",{id:"time-elapsed",ref:ue},"00:00"),f.createElement("span",null," / "),f.createElement("time",{id:"duration",ref:te},"00:00"))),f.createElement("div",{className:q["right-controls"]},Me&&f.createElement(O.Z,{placement:"top",overlayClassName:q.rateOverlay,getPopupContainer:ie=>ie.parentNode,menu:{items:[{key:"1",label:f.createElement("span",{onClick:()=>{fe(1),E.current.playbackRate=1}},"1.0x")},{key:"2",label:f.createElement("span",{onClick:()=>{fe(1.5),E.current.playbackRate=1.5}},"1.5x")},{key:"3",label:f.createElement("span",{onClick:()=>{fe(2),E.current.playbackRate=2}},"2.0x")}]}},f.createElement("div",{className:`${q.controlText} mr5`},"\u500D\u901F")),f.createElement(ge.CopyToClipboard,{text:Ze,onCopy:()=>g.ZP.success("\u590D\u5236\u6210\u529F")},f.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},f.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),f.createElement("div",{className:q["volume-controls"]},f.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:q["volume-button"],id:"volume-button",onClick:Oe},f.createElement("i",{ref:We,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:et,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:tt,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),f.createElement("input",{className:q.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:gt,style:{display:"none"},onClick:m})),f.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:q["fullscreen-button"],onClick:()=>{(0,be.vp)()?(0,be.BU)():(0,be.Dj)(we.current)}},f.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),f.createElement("div",{className:q["video-progress"]},f.createElement("progress",{ref:X,value:"0",min:"0"}),f.createElement("input",{className:q.seek,ref:Ge,value:"0",min:"0",type:"range",step:"1"}),f.createElement("div",{className:q["seek-tooltip"],ref:ve,id:"seek-tooltip"},"00:00"))))),f.createElement("svg",{style:{display:"none"}},f.createElement("defs",null,f.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),f.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},f.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),f.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),f.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},f.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),f.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},f.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),f.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),f.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},f.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),f.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},f.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},42786:function(It,Be,l){"use strict";l.r(Be),l.d(Be,{default:function(){return X}});var f=l(59301),g=l(65582),O=l(8591),N=l(13570),w=l(71418),T=l(58421),ge=l(38147),be=l(41867),q=l(2524),I=l(18889),Ae=l(55988),b=l(36193),C={flex_box_center:"flex_box_center___riBIL",flex_space_between:"flex_space_between___QnIxq",flex_box_vertical_center:"flex_box_vertical_center___lDoLU",flex_box_center_end:"flex_box_center_end___cJ2F_",flex_box_column:"flex_box_column___PSzC7",wrap:"wrap___Mlk1H",mask:"mask___MVQfB",playIconWrap:"playIconWrap___QcDy0",playIcon:"playIcon___MXK2W",linkWrap:"linkWrap___rXjTB",link:"link___uEr60",imgWrap:"imgWrap___nCe4C",cardBottom:"cardBottom___CqJQC",bottomTitle:"bottomTitle___oTGoY",timeWrap:"timeWrap___ioirP",time:"time___hl75k",bottomActionWrap:"bottomActionWrap___RhhZY",peopleWrap:"peopleWrap___TwLjM",actionIcon:"actionIcon___BfAaN"},Re=l(86340),Te=l(74128),Me=l(24334),Ze=Object.defineProperty,Y=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(te,ue,ve)=>ue in te?Ze(te,ue,{enumerable:!0,configurable:!0,writable:!0,value:ve}):te[ue]=ve,y=(te,ue)=>{for(var ve in ue||(ue={}))j.call(ue,ve)&&c(te,ve,ue[ve]);if(V)for(var ve of V(ue))v.call(ue,ve)&&c(te,ve,ue[ve]);return te},x=(te,ue)=>Y(te,ae(ue));const oe=({data:te,params:ue,onSend:ve})=>{const[We,tt]=(0,f.useState)(),[et,gt]=(0,f.useState)({}),rt="90%",Ve="55%",ct=H=>{H.link||(tt(!0),gt({videoId:H.id,course_id:ue.coursesId,file_url:H.play_url||H.file_url,copyUrl:pt(H.play_url||H.file_url,H.cover_url),logWatchHistory:()=>{}}))},pt=(H,ze)=>{let M=Me.Base64.decode(H);if(H)return``};return f.createElement(f.Fragment,null,te==null?void 0:te.map((H,ze)=>{var M;const D=H!=null&&H.cover_url?(M=H==null?void 0:H.cover_url)!=null&&M.includes("https")?H.cover_url:Te.Z.API_SERVER+H.cover_url:Ae;return f.createElement("a",{className:C.wrap,key:H.id},f.createElement(I.Z,{className:`animated fadeIn ${C.cardWrap}`},f.createElement(w.Z,{tip:"\u6B63\u5728\u8F6C\u7801\uFF0C\u8BF7\u7A0D\u7B49...",spinning:!H.transcoded&&!H.link},f.createElement("span",{className:C.imgWrap,onClick:()=>{ct(H)}},f.createElement("img",{src:D}),H.link&&f.createElement("a",{className:C.linkWrap,href:H.link,target:"_blank",title:H.title},f.createElement("span",{className:C.link},"\u5916\u94FE")),f.createElement(f.Fragment,null,f.createElement("div",{className:C.mask}),f.createElement("div",{className:C.playIconWrap},!H.link&&f.createElement("img",{className:C.playIcon,src:b}))))),f.createElement("div",{className:C.cardBottom},f.createElement("div",{title:H.title,className:C.bottomTitle},H.title),f.createElement("div",{className:C.bottomActionWrap},f.createElement("div",null,"\u8BFE\u7A0B\uFF1A",f.createElement("span",{title:H.subject},H.subject)),f.createElement("b",{onClick:()=>ve(H)},"\u4F7F\u7528\u89C6\u9891")))))}),f.createElement(Re.K,x(y({},et),{visible:We,width:800,onClose:()=>{tt(!1),gt({})}})))};var he=(0,g.connect)(({classroomList:te})=>({classroomList:te}))(oe),Ce={flex_box_center:"flex_box_center___p5F4p",flex_space_between:"flex_space_between___XpX93",flex_box_vertical_center:"flex_box_vertical_center___CZqxk",flex_box_center_end:"flex_box_center_end___CinPQ",flex_box_column:"flex_box_column___RMknq",wrap:"wrap___fNq3s",listWrap:"listWrap____pT8s",list:"list___xQ3gD",top:"top___KkWz1",bottom:"bottom___MTHH1",tag:"tag___Sj7ii",rate:"rate___RKAhp",videoWrap:"videoWrap___Kv7Tg"},ke=l(95651),Fe=Object.defineProperty,me=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,De=(te,ue,ve)=>ue in te?Fe(te,ue,{enumerable:!0,configurable:!0,writable:!0,value:ve}):te[ue]=ve,we=(te,ue)=>{for(var ve in ue||(ue={}))He.call(ue,ve)&&De(te,ve,ue[ve]);if(me)for(var ve of me(ue))E.call(ue,ve)&&De(te,ve,ue[ve]);return te},J=(te,ue)=>{var ve={};for(var We in te)He.call(te,We)&&ue.indexOf(We)<0&&(ve[We]=te[We]);if(te!=null&&me)for(var We of me(te))ue.indexOf(We)<0&&E.call(te,We)&&(ve[We]=te[We]);return ve},de=(te,ue,ve)=>new Promise((We,tt)=>{var et=Ve=>{try{rt(ve.next(Ve))}catch(ct){tt(ct)}},gt=Ve=>{try{rt(ve.throw(Ve))}catch(ct){tt(ct)}},rt=Ve=>Ve.done?We(Ve.value):Promise.resolve(Ve.value).then(et,gt);rt((ve=ve.apply(te,ue)).next())});const Ge=te=>{var ue=te,{classroomList:ve,globalSetting:We,user:tt,dispatch:et}=ue,gt=J(ue,["classroomList","globalSetting","user","dispatch"]);const rt=(0,g.useParams)(),{detailTopBanner:Ve,detailLeftMenus:ct,shareStatus:pt}=ve,[H,ze]=(0,f.useState)("1"),[M,D]=(0,f.useState)(0),[h,S]=(0,f.useState)(!0),[A,z]=(0,f.useState)([]),[s,u]=(0,f.useState)({page:1,limit:9,order:"random"});(0,f.useEffect)(()=>{s.page=1,m(s)},[H]);const _=_e=>de(void 0,null,function*(){S(!0);let ne=yield(0,ge.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:we({type:1},_e)});ne!=null&&ne.shixuns&&(z((ne==null?void 0:ne.shixuns)||[]),D(ne==null?void 0:ne.total_count)),S(!1)}),d=_e=>de(void 0,null,function*(){S(!0);let ne=yield(0,ge.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:we({type:2},_e)});ne!=null&&ne.videos&&(z((ne==null?void 0:ne.videos)||[]),D(ne==null?void 0:ne.total_count)),S(!1)}),m=_e=>{H==="1"?_(_e):d(_e)},P=_e=>{ze(_e.key)},fe=[{name:"\u5B9E\u8BAD\u8D44\u6E90\u63A8\u8350",id:"1"},{name:"\u89C6\u9891\u8D44\u6E90\u63A8\u8350",id:"2"}],$=_e=>{s.page=_e,u(we({},s)),H==="1"?_(s):d(s)},Oe=_e=>de(void 0,null,function*(){const ne=yield(0,ge.ZP)(`/api/shixuns/${_e.identifier}/send_to_course.json`,{method:"post",body:{id:_e.identifier,identifier:_e.identifier,courses:[{course_id:rt==null?void 0:rt.coursesId,id:_e.identifier,identifier:_e.identifier,type:"normal",is_use:1,is_copy:0}]}});(ne==null?void 0:ne.status)===1&&(et({type:"classroomList/getClassroomLeftMenus",payload:{id:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),ie=_e=>de(void 0,null,function*(){const ne="jpl5vs26";console.log(_e);const nt=yield(0,ge.ZP)(`/api/paths/${_e==null?void 0:_e.subject_identifier}/send_to_course.json`,{method:"post",body:{course_id:Ve==null?void 0:Ve.course_id,id:_e==null?void 0:_e.subject_identifier,stage_shixuns:[{stage_shixun_id:_e.stage_shixun_id,is_copy:0,is_use:1}],type:"video",sync_catelog:0}});(nt==null?void 0:nt.status)===1&&(et({type:"classroomList/getClassroomLeftMenus",payload:{id:rt==null?void 0:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),ce=()=>f.createElement("div",{className:Ce.listWrap},A==null?void 0:A.map((_e,ne)=>f.createElement("div",{key:_e.id,className:Ce.list},f.createElement("div",{className:Ce.top},f.createElement("aside",{title:_e.name},_e.name),f.createElement("div",{onClick:()=>Oe(_e)},"\u4F7F\u7528\u5B9E\u8BAD")),f.createElement("div",{className:Ce.bottom},f.createElement("div",{className:Ce.tag},_e==null?void 0:_e.author_name),f.createElement("div",{className:Ce.tag},_e==null?void 0:_e.author_school_name),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5173\u5361"),_e==null?void 0:_e.challenges_count),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),_e==null?void 0:_e.myshixuns_count),f.createElement("div",{className:Ce.rate},f.createElement(N.Z,{allowHalf:!0,disabled:!0,defaultValue:_e.score_info}),f.createElement("span",{className:"font14"},"\xA0",_e.score_info?`${_e.score_info}\u5206`:"5\u5206")))))),ye=()=>f.createElement("div",{className:Ce.videoWrap},f.createElement(he,{params:rt,dispatch:et,data:A,onSend:ie})),Ke=!!(Ve!=null&&Ve.sub_discipline_id);return console.log("detailTopBanner"),console.log(!!(Ve!=null&&Ve.sub_discipline_id)),f.createElement("section",{className:Ce.wrap},f.createElement(ke.Z,{isLoading:!1,tabDataSource:fe,isAdmin:(0,be.GJ)(),onTabMenuClick:P,defaultSelectedKeys:[H],extraNode:(0,be.GJ)()&&Ke&&f.createElement("span",{className:"c-blue font14 ml20 current",onClick:_e=>{_e.preventDefault(),m(s)}},f.createElement("i",{className:"iconfont icon-huanyipi font14 mr5"}),"\u6362\u4E00\u6279")}),f.createElement(w.Z,{spinning:h},M===0?f.createElement(q.Z,null):H==="1"?ce():ye()),f.createElement(T.Z,{hideOnSinglePage:!0,onChange:_e=>$(_e),current:s.page,pageSize:s.limit,total:M,showQuickJumper:!0,showSizeChanger:!1,showTotal:_e=>f.createElement("span",{className:"mr10"},"\u5171",f.createElement("span",{className:"c-orange"},_e),"\u6761\u6570\u636E"),className:"tr pb20"}))};var X=(0,g.connect)(({classroomList:te,user:ue,globalSetting:ve})=>({user:ue,classroomList:te,globalSetting:ve}))(Ge)},95651:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return b}});var f=l(59301),g=l(95237),O=l(43604),N=l(20834),w=l(38854),T=l(8591),ge=l(6848),be={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},q=l(65582),I=l(41867),b=({isLoading:C,addText:Re,tabDataSource:Te,isAdmin:Me,dispatch:Ze,classroomList:Y,type:ae,isExercise:V,defaultSelectedKeys:j,onTabMenuClick:v,getDropdownMenu:c,showControlButton:y,buttonText:x,buttonIcon:oe="icon-tianjiadaohang",extraNode:he,user:Ce,onButtonClick:ke,isModelUser:Fe})=>{var me,He,E,De,we;const J=(0,q.useParams)();return f.createElement("div",{className:be.tabMenuContainer},f.createElement(g.Z,null,f.createElement(O.Z,{flex:"1"},f.createElement(N.default,{onSelect:de=>C?{}:v(de),mode:"horizontal",selectedKeys:j},Te.map(de=>f.createElement(N.default.Item,{key:typeof de.index=="number"?de.index:de.id},f.createElement("span",{className:"c-grey-666"},de.name),de.total!==void 0&&Me&&f.createElement("span",{className:"c-grey-999 ml20"},de.total||0))))),Me&&V&&f.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{Ze({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),Me&&f.createElement(O.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},V&&f.createElement(w.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>f.createElement(N.default,null,f.createElement(N.default.Item,{key:1,onClick:()=>{var de;if((0,I.Rm)()&&!((de=Y.AssistantObject.exercise)!=null&&de.can_download)){T.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ze({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:ae,exportType:"exercise",category_id:J.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),f.createElement(N.default.Item,{key:3,onClick:()=>{var de;if((0,I.Rm)()&&!((de=Y.AssistantObject.exercise)!=null&&de.can_download)){T.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}q.history.push(`/classrooms/${J==null?void 0:J.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},f.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},f.createElement("span",{style:{color:"#666666",cursor:"pointer"}},f.createElement("i",{className:"iconfont icon-xiazai6"})))),f.createElement("div",{className:be.control},f.createElement("div",{className:be.extra},he),y&&(x=="\u6DFB\u52A0\u76F4\u64AD"?f.createElement(w.Z,{menu:{items:(He=(me=[{label:f.createElement("div",{onClick:()=>{ke("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Fe&&{label:f.createElement("div",{onClick:()=>{ke("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:me.filter(de=>de==null?void 0:de.show))==null?void 0:He.map(de=>({label:de==null?void 0:de.label,key:de==null?void 0:de.key}))}},f.createElement("span",{className:be.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${oe}`})),f.createElement("span",null,x))):f.createElement("span",{onClick:ke,style:{cursor:"pointer"},className:be.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${oe}`})),f.createElement("span",null,x))),!!c&&f.createElement(w.Z,{disabled:((E=Ce==null?void 0:Ce.userInfo)==null?void 0:E.user_status)===2,className:"ml10",dropdownRender:c},f.createElement("span",{className:((De=Ce==null?void 0:Ce.userInfo)==null?void 0:De.user_status)===2?be.selectBtn1:be.selectBtn},f.createElement("span",null,f.createElement("i",{className:"iconfont icon-tianjiadaohang"})),f.createElement(ge.Z,{title:((we=Ce==null?void 0:Ce.userInfo)==null?void 0:we.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},f.createElement("span",null,Re||"\u521B\u5EFA\u8BD5\u5377"))))))))}},84056:function(It,Be,l){"use strict";l.d(Be,{BU:function(){return g},Dj:function(){return f},gH:function(){return O},vp:function(){return N}});function f(w){try{w.mozRequestFullScreen?w.mozRequestFullScreen():w.webkitRequestFullScreen&&w.webkitRequestFullScreen()}catch(T){console.log(T,":e")}}function g(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const O=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function N(){var w=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,T=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",w),window.isFullScreen?window.isFullScreen:w!=null}},73217:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return pn}});class f{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let n=Object(e);for(let i=1;i ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","error",i),w.ENABLE_ERROR&&(console.error?console.error(i):console.warn?console.warn(i):console.log(i))}static i(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","info",i),w.ENABLE_INFO&&(console.info?console.info(i):console.log(i))}static w(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","warn",i),w.ENABLE_WARN&&(console.warn?console.warn(i):console.log(i))}static d(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","debug",i),w.ENABLE_DEBUG&&(console.debug?console.debug(i):console.log(i))}static v(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","verbose",i),w.ENABLE_VERBOSE&&console.log(i)}}w.GLOBAL_TAG="flv.js",w.FORCE_GLOBAL_TAG=!1,w.ENABLE_ERROR=!0,w.ENABLE_INFO=!0,w.ENABLE_WARN=!0,w.ENABLE_DEBUG=!0,w.ENABLE_VERBOSE=!0,w.ENABLE_CALLBACK=!1,w.emitter=new(N());var T=w;class ge{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var be=ge;class q{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class I extends q{constructor(e){super(e)}get name(){return"IllegalStateException"}}class Ae extends q{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class b extends q{constructor(e){super(e)}get name(){return"NotImplementedException"}}const C={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},Re={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class Te{constructor(e){this._type=e||"undefined",this._status=C.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=C.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===C.kConnecting||this._status===C.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,n){throw new b("Unimplemented abstract function!")}abort(){throw new b("Unimplemented abstract function!")}}let Me={};function Ze(){let Pe=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(Pe)||/(opr)[\/]([\w.]+)/.exec(Pe)||/(chrome)[ \/]([\w.]+)/.exec(Pe)||/(iemobile)[\/]([\w.]+)/.exec(Pe)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Pe)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Pe)||/(webkit)[ \/]([\w.]+)/.exec(Pe)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Pe)||/(msie) ([\w.]+)/.exec(Pe)||Pe.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Pe)||Pe.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Pe)||[],n=/(ipad)/.exec(Pe)||/(ipod)/.exec(Pe)||/(windows phone)/.exec(Pe)||/(iphone)/.exec(Pe)||/(kindle)/.exec(Pe)||/(android)/.exec(Pe)||/(windows)/.exec(Pe)||/(mac)/.exec(Pe)||/(linux)/.exec(Pe)||/(cros)/.exec(Pe)||[],i={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:n[0]||""},t={};if(i.browser){t[i.browser]=!0;let r=i.majorVersion.split(".");t.version={major:parseInt(i.majorVersion,10),string:i.version},r.length>1&&(t.version.minor=parseInt(r[1],10)),r.length>2&&(t.version.build=parseInt(r[2],10))}if(i.platform&&(t[i.platform]=!0),(t.chrome||t.opr||t.safari)&&(t.webkit=!0),t.rv||t.iemobile){t.rv&&delete t.rv;let r="msie";i.browser=r,t[r]=!0}if(t.edge){delete t.edge;let r="msedge";i.browser=r,t[r]=!0}if(t.opr){let r="opera";i.browser=r,t[r]=!0}if(t.safari&&t.android){let r="android";i.browser=r,t[r]=!0}t.name=i.browser,t.platform=i.platform;for(let r in Me)Me.hasOwnProperty(r)&&delete Me[r];Object.assign(Me,t)}Ze();var Y=Me;class ae extends Te{static isSupported(){try{let e=Y.msedge&&Y.version.minor>=15048,n=Y.msedge?e:!0;return self.fetch&&self.ReadableStream&&n}catch(e){return!1}}constructor(e,n){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=n,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,n){this._dataSource=e,this._range=n;let i=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(i=e.redirectedURL);let t=this._seekHandler.getConfig(i,n),r=new self.Headers;if(typeof t.headers=="object"){let a=t.headers;for(let R in a)a.hasOwnProperty(R)&&r.append(R,a[R])}let o={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let a in this._config.headers)r.append(a,this._config.headers[a]);e.cors===!1&&(o.mode="same-origin"),e.withCredentials&&(o.credentials="include"),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),this._status=C.kConnecting,self.fetch(t.url,o).then(a=>{if(this._requestAbort){this._requestAbort=!1,this._status=C.kIdle;return}if(a.ok&&a.status>=200&&a.status<=299){if(a.url!==t.url&&this._onURLRedirect){let p=this._seekHandler.removeURLParameters(a.url);this._onURLRedirect(p)}let R=a.headers.get("Content-Length");return R!=null&&(this._contentLength=parseInt(R),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,a.body.getReader())}else if(this._status=C.kError,this._onError)this._onError(Re.HTTP_STATUS_CODE_INVALID,{code:a.status,msg:a.statusText});else throw new q("FetchStreamLoader: Http code invalid, "+a.status+" "+a.statusText)}).catch(a=>{if(this._status=C.kError,this._onError)this._onError(Re.EXCEPTION,{code:-1,msg:a.message});else throw a})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(n=>{if(n.done)if(this._contentLength!==null&&this._receivedLength{if(n.code===11&&Y.msedge)return;this._status=C.kError;let i=0,t=null;if((n.code===19||n.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=C.kError,this._onError)this._onError(Re.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new q("MozChunkedLoader: Http code invalid, "+n.status+" "+n.statusText);else this._status=C.kBuffering}}_onProgress(e){if(this._status===C.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===C.kError)return;this._status=C.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=C.kError;let n=0,i=null;if(this._contentLength&&e.loaded=200&&n.status<=299){if(this._status=LoaderStatus.kBuffering,n.responseURL!=null){let t=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&t!==this._currentRedirectedURL&&(this._currentRedirectedURL=t,this._onURLRedirect&&this._onURLRedirect(t))}let i=n.getResponseHeader("Content-Length");if(i!=null&&this._contentLength==null){let t=parseInt(i);t>0&&(this._contentLength=t,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+n.status+" "+n.statusText);else if(n.readyState===3&&n.status>=200&&n.status<=299){this._status=LoaderStatus.kBuffering;let i=n.response;this._reader.readAsArrayBuffer(i)}}_xhrOnError(e){this._status=LoaderStatus.kError;let n=LoaderErrors.EXCEPTION,i={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(n,i);else throw new RuntimeException(i.msg)}_msrOnProgress(e){let i=e.target.result;if(i==null){this._doReconnectIfNeeded();return}let t=i.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=i.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength),i.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+t.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(i=this._range.from+this._contentLength-1),this._currentRequestRange={from:n,to:i},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,n){this._lastTimeLoaded=0;let i=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?i=this._currentRedirectedURL:e.redirectedURL!=null&&(i=e.redirectedURL));let t=this._seekHandler.getConfig(i,n);this._currentRequestURL=t.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",t.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof t.headers=="object"){let o=t.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}if(typeof this._config.headers=="object"){let o=this._config.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=C.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let n=e.target;if(n.readyState===2){if(n.responseURL!=null){let i=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}if(n.status>=200&&n.status<=299){if(this._waitForTotalLength)return;this._status=C.kBuffering}else if(this._status=C.kError,this._onError)this._onError(Re.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new q("RangeLoader: Http code invalid, "+n.status+" "+n.statusText)}}_onProgress(e){if(this._status===C.kError)return;if(this._contentLength===null){let i=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,i=!0;let t=e.total;this._internalAbort(),t!=null&t!==0&&(this._totalLength=t)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,i){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let n=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(n)}_normalizeSpeed(e){let n=this._chunkSizeKBList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=3&&(n=this._speedSampler.currentKBps)),n!==0){let o=this._normalizeSpeed(n);this._currentSpeedNormalized!==o&&(this._currentSpeedNormalized=o,this._currentChunkSizeKB=o)}let i=e.target.response,t=this._range.from+this._receivedLength;this._receivedLength+=i.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(n.result)},n.readAsArrayBuffer(e.data)}else{this._status=C.kError;let n={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(Re.EXCEPTION,n);else throw new q(n.msg)}}_dispatchArrayBuffer(e){let n=e,i=this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onWebSocketError(e){this._status=C.kError;let n={code:e.code,msg:e.message};if(this._onError)this._onError(Re.EXCEPTION,n);else throw new q(n.msg)}}var Ce=he;class ke{constructor(e){this._zeroStart=e||!1}getConfig(e,n){let i={};if(n.from!==0||n.to!==-1){let t;n.to!==-1?t=`bytes=${n.from.toString()}-${n.to.toString()}`:t=`bytes=${n.from.toString()}-`,i.Range=t}else this._zeroStart&&(i.Range="bytes=0-");return{url:e,headers:i}}removeURLParameters(e){return e}}var Fe=ke;class me{constructor(e,n){this._startName=e,this._endName=n}getConfig(e,n){let i=e;if(n.from!==0||n.to!==-1){let t=!0;i.indexOf("?")===-1&&(i+="?",t=!1),t&&(i+="&"),i+=`${this._startName}=${n.from.toString()}`,n.to!==-1&&(i+=`&${this._endName}=${n.to.toString()}`)}return{url:i,headers:{}}}removeURLParameters(e){let n=e.split("?")[0],i,t=e.indexOf("?");t!==-1&&(i=e.substring(t+1));let r="";if(i!=null&&i.length>0){let o=i.split("&");for(let a=0;a0;R[0]!==this._startName&&R[0]!==this._endName&&(p&&(r+="&"),r+=o[a])}}return r.length===0?n:n+"?"+r}}var He=me;class E{constructor(e,n,i){this.TAG="IOController",this._config=n,this._extraData=i,this._stashInitialSize=1024*384,n.stashInitialSize!=null&&n.stashInitialSize>0&&(this._stashInitialSize=n.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,n.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new be,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===oe?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new Fe(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let n=e.seekParamStart||"bstart",i=e.seekParamEnd||"bend";this._seekHandler=new He(n,i)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new Ae("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new Ae(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Ce;else if(V.isSupported())this._loaderClass=V;else if(v.isSupported())this._loaderClass=v;else if(oe.isSupported())this._loaderClass=oe;else throw new q("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,n){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(n),this._loader.destroy(),this._loader=null;let i={from:e,to:-1};this._currentRange={from:i.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,i),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new Ae("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let n=this._stashSize;for(;n+1024*1024*10){let t=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(i,0,n).set(t,0)}this._stashBuffer=i,this._bufferSize=n}_normalizeSpeed(e){let n=this._speedNormalizeList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=512&&e<=1024?n=Math.floor(e*1.5):n=e*2,n>8192&&(n=8192);let i=n*1024+1024*1024*1;this._bufferSize0){let o=this._stashBuffer.slice(0,this._stashUsed),a=this._dispatchChunks(o,this._stashByteStart);if(a0){let R=new Uint8Array(o,a);r.set(R,0),this._stashUsed=R.byteLength,this._stashByteStart+=a}}else this._stashUsed=0,this._stashByteStart+=a;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let o=this._dispatchChunks(e,n);if(othis._bufferSize&&(this._expandBuffer(a),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,o),0),this._stashUsed+=a,this._stashByteStart=n+o}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,n);if(rthis._bufferSize&&this._expandBuffer(o),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=o,this._stashByteStart=n+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let o=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(o0){let a=new Uint8Array(this._stashBuffer,o);r.set(a,0)}this._stashUsed-=o,this._stashByteStart+=o}}_flushStashBuffer(e){if(this._stashUsed>0){let n=this._stashBuffer.slice(0,this._stashUsed),i=this._dispatchChunks(n,this._stashByteStart),t=n.byteLength-i;if(i0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),o=new Uint8Array(n,i);r.set(o,0),this._stashUsed=o.byteLength,this._stashByteStart+=i}return 0}return this._stashUsed=0,this._stashByteStart=0,t}return 0}_onLoaderComplete(e,n){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,n){switch(T.e(this.TAG,`Loader error, code = ${n.code}, msg = ${n.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=Re.UNRECOVERABLE_EARLY_EOF),e){case Re.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let i=this._currentRange.to+1;i0){let n=ue.getConfig();e.emit("change",n)}}static registerListener(e){ue.emitter.addListener("change",e)}static removeListener(e){ue.emitter.removeListener("change",e)}static addLogListener(e){T.emitter.addListener("log",e),T.emitter.listenerCount("log")>0&&(T.ENABLE_CALLBACK=!0,ue._notifyChange())}static removeLogListener(e){T.emitter.removeListener("log",e),T.emitter.listenerCount("log")===0&&(T.ENABLE_CALLBACK=!1,ue._notifyChange())}}ue.emitter=new(N());var ve=ue;class We{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,n=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&n}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let n=this.keyframesIndex,i=this._search(n.times,e);return{index:i,milliseconds:n.times[i],fileposition:n.filepositions[i]}}_search(e,n){let i=0,t=e.length-1,r=0,o=0,a=t;for(n=e[r]&&n=128){e.push(String.fromCharCode(r&65535)),i+=2;continue}}}else if(n[i]<240){if(et(n,i,2)){let r=(n[i]&15)<<12|(n[i+1]&63)<<6|n[i+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),i+=3;continue}}}else if(n[i]<248&&et(n,i,3)){let r=(n[i]&7)<<18|(n[i+1]&63)<<12|(n[i+2]&63)<<6|n[i+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),i+=4;continue}}}e.push("\uFFFD"),++i}return e.join("")}var rt=gt;let Ve=function(){let Pe=new ArrayBuffer(2);return new DataView(Pe).setInt16(0,256,!0),new Int16Array(Pe)[0]===256}();class ct{static parseScriptData(e,n,i){let t={};try{let r=ct.parseValue(e,n,i),o=ct.parseValue(e,n+r.size,i-r.size);t[r.data]=o.data}catch(r){T.e("AMF",r.toString())}return t}static parseObject(e,n,i){if(i<3)throw new I("Data not enough when parse ScriptDataObject");let t=ct.parseString(e,n,i),r=ct.parseValue(e,n+t.size,i-t.size),o=r.objectEnd;return{data:{name:t.data,value:r.data},size:t.size+r.size,objectEnd:o}}static parseVariable(e,n,i){return ct.parseObject(e,n,i)}static parseString(e,n,i){if(i<2)throw new I("Data not enough when parse String");let r=new DataView(e,n,i).getUint16(0,!Ve),o;return r>0?o=rt(new Uint8Array(e,n+2,r)):o="",{data:o,size:2+r}}static parseLongString(e,n,i){if(i<4)throw new I("Data not enough when parse LongString");let r=new DataView(e,n,i).getUint32(0,!Ve),o;return r>0?o=rt(new Uint8Array(e,n+4,r)):o="",{data:o,size:4+r}}static parseDate(e,n,i){if(i<10)throw new I("Data size invalid when parse Date");let t=new DataView(e,n,i),r=t.getFloat64(0,!Ve),o=t.getInt16(8,!Ve);return r+=o*60*1e3,{data:new Date(r),size:10}}static parseValue(e,n,i){if(i<1)throw new I("Data not enough when parse Value");let t=new DataView(e,n,i),r=1,o=t.getUint8(0),a,R=!1;try{switch(o){case 0:a=t.getFloat64(1,!Ve),r+=8;break;case 1:{a=!!t.getUint8(1),r+=1;break}case 2:{let p=ct.parseString(e,n+1,i-1);a=p.data,r+=p.size;break}case 3:{a={};let p=0;for((t.getUint32(i-4,!Ve)&16777215)===9&&(p=3);r32)throw new Ae("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let o=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,o}let n=this._current_word_bits_left?this._current_word:0;n=n>>>32-this._current_word_bits_left;let i=e-this._current_word_bits_left;this._fillCurrentWord();let t=Math.min(i,this._current_word_bits_left),r=this._current_word>>>32-t;return this._current_word<<=t,this._current_word_bits_left-=t,n=n<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var ze=H;class M{static _ebsp2rbsp(e){let n=e,i=n.byteLength,t=new Uint8Array(i),r=0;for(let o=0;o=2&&n[o]===3&&n[o-1]===0&&n[o-2]===0||(t[r]=n[o],r++);return new Uint8Array(t.buffer,0,r)}static parseSPS(e){let n=M._ebsp2rbsp(e),i=new ze(n);i.readByte();let t=i.readByte();i.readByte();let r=i.readByte();i.readUEG();let o=M.getProfileString(t),a=M.getLevelString(r),R=1,p=420,L=[0,420,422,444],F=8;if((t===100||t===110||t===122||t===244||t===44||t===83||t===86||t===118||t===128||t===138||t===144)&&(R=i.readUEG(),R===3&&i.readBits(1),R<=3&&(p=L[R]),F=i.readUEG()+8,i.readUEG(),i.readBits(1),i.readBool())){let Xe=R!==3?8:12;for(let $e=0;$e0&&Xe<16?(qe=$e[Xe-1],Ie=St[Xe-1]):Xe===255&&(qe=i.readByte()<<8|i.readByte(),Ie=i.readByte()<<8|i.readByte())}if(i.readBool()&&i.readBool(),i.readBool()&&(i.readBits(4),i.readBool()&&i.readBits(24)),i.readBool()&&(i.readUEG(),i.readUEG()),i.readBool()){let Xe=i.readBits(32),$e=i.readBits(32);Z=i.readBool(),B=$e,W=Xe*2,Qe=B/W}}let G=1;(qe!==1||Ie!==1)&&(G=qe/Ie);let K=0,k=0;if(R===0)K=1,k=2-ee;else{let Xe=R===3?1:2,$e=R===1?2:1;K=Xe,k=$e*(2-ee)}let Se=(Ee+1)*16,Le=(2-ee)*((se+1)*16);Se-=(Q+xe)*K,Le-=(pe+Ne)*k;let je=Math.ceil(Se*G);return i.destroy(),i=null,{profile_string:o,level_string:a,bit_depth:F,ref_frames:U,chroma_format:p,chroma_format_string:M.getChromaFormatString(p),frame_rate:{fixed:Z,fps:Qe,fps_den:W,fps_num:B},sar_ratio:{width:qe,height:Ie},codec_size:{width:Se,height:Le},present_size:{width:je,height:Le}}}static _skipScalingList(e,n){let i=8,t=8,r=0;for(let o=0;o>>8&255|(Pe&255)<<8}function z(Pe){return(Pe&4278190080)>>>24|(Pe&16711680)>>>8|(Pe&65280)<<8|(Pe&255)<<24}function s(Pe,e){return Pe[e]<<24|Pe[e+1]<<16|Pe[e+2]<<8|Pe[e+3]}class u{constructor(e,n){this.TAG="FLVDemuxer",this._config=n,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new tt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let i=new ArrayBuffer(2);return new DataView(i).setInt16(0,256,!0),new Int16Array(i)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let n=new Uint8Array(e),i={match:!1};if(n[0]!==70||n[1]!==76||n[2]!==86||n[3]!==1)return i;let t=(n[4]&4)>>>2!==0,r=(n[4]&1)!==0,o=s(n,5);return o<9?i:{match:!0,consumed:o,dataOffset:o,hasAudioTrack:t,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new tt}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,n){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new I("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let i=0,t=this._littleEndian;if(n===0)if(e.byteLength>13)i=u.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,n+i!==this._dataOffset&&T.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,i).getUint32(0,!t)!==0&&T.w(this.TAG,"PrevTagSize0 !== 0 !!!"),i+=4);ie.byteLength)break;let o=r.getUint8(0),a=r.getUint32(0,!t)&16777215;if(i+11+a+4>e.byteLength)break;if(o!==8&&o!==9&&o!==18){T.w(this.TAG,`Unsupported tag type ${o}, skipped`),i+=11+a+4;continue}let R=r.getUint8(4),p=r.getUint8(5),L=r.getUint8(6),F=r.getUint8(7),le=L|p<<8|R<<16|F<<24;(r.getUint32(7,!t)&16777215)!==0&&T.w(this.TAG,"Meet tag which has StreamID != 0!");let Ee=i+11;switch(o){case 8:this._parseAudioData(e,Ee,a,le);break;case 9:this._parseVideoData(e,Ee,a,le,n+i);break;case 18:this._parseScriptData(e,Ee,a);break}let se=r.getUint32(11+a,!t);se!==11+a&&T.w(this.TAG,`Invalid PrevTagSize ${se}`),i+=11+a+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),i}_parseScriptData(e,n,i){let t=pt.parseScriptData(e,n,i);if(t.hasOwnProperty("onMetaData")){if(t.onMetaData==null||typeof t.onMetaData!="object"){T.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&T.w(this.TAG,"Found another onMetaData tag!"),this._metadata=t;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let o=Math.floor(r.duration*this._timescale);this._duration=o,this._mediaInfo.duration=o}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let o=Math.floor(r.framerate*1e3);if(o>0){let a=o/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=a,this._referenceFrameRate.fps_num=o,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=a}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let o=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(o),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,T.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(t).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},t))}_parseKeyframesIndex(e){let n=[],i=[];for(let t=1;t>>4;if(R!==2&&R!==10){this._onError(S.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+R);return}let p=0,L=(a&12)>>>2;if(L>=0&&L<=4)p=this._flvSoundRateTable[L];else{this._onError(S.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+L);return}let F=(a&2)>>>1,le=a&1,U=this._audioMetadata,Ee=this._audioTrack;if(U||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),U=this._audioMetadata={},U.type="audio",U.id=Ee.id,U.timescale=this._timescale,U.duration=this._duration,U.audioSampleRate=p,U.channelCount=le===0?1:2),R===10){let se=this._parseAACAudioData(e,n+1,i-1);if(se==null)return;if(se.packetType===0){U.config&&T.w(this.TAG,"Found another AudioSpecificConfig!");let ee=se.data;U.audioSampleRate=ee.samplingRate,U.channelCount=ee.channelCount,U.codec=ee.codec,U.originalCodec=ee.originalCodec,U.config=ee.config,U.refSampleDuration=1024/U.audioSampleRate*U.timescale,T.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",U);let Q=this._mediaInfo;Q.audioCodec=U.originalCodec,Q.audioSampleRate=U.audioSampleRate,Q.audioChannelCount=U.channelCount,Q.hasVideo?Q.videoCodec!=null&&(Q.mimeType='video/x-flv; codecs="'+Q.videoCodec+","+Q.audioCodec+'"'):Q.mimeType='video/x-flv; codecs="'+Q.audioCodec+'"',Q.isComplete()&&this._onMediaInfo(Q)}else if(se.packetType===1){let ee=this._timestampBase+t,Q={unit:se.data,length:se.data.byteLength,dts:ee,pts:ee};Ee.samples.push(Q),Ee.length+=se.data.length}else T.e(this.TAG,`Flv: Unsupported AAC data type ${se.packetType}`)}else if(R===2){if(!U.codec){let xe=this._parseMP3AudioData(e,n+1,i-1,!0);if(xe==null)return;U.audioSampleRate=xe.samplingRate,U.channelCount=xe.channelCount,U.codec=xe.codec,U.originalCodec=xe.originalCodec,U.refSampleDuration=1152/U.audioSampleRate*U.timescale,T.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",U);let pe=this._mediaInfo;pe.audioCodec=U.codec,pe.audioSampleRate=U.audioSampleRate,pe.audioChannelCount=U.channelCount,pe.audioDataRate=xe.bitRate,pe.hasVideo?pe.videoCodec!=null&&(pe.mimeType='video/x-flv; codecs="'+pe.videoCodec+","+pe.audioCodec+'"'):pe.mimeType='video/x-flv; codecs="'+pe.audioCodec+'"',pe.isComplete()&&this._onMediaInfo(pe)}let se=this._parseMP3AudioData(e,n+1,i-1,!1);if(se==null)return;let ee=this._timestampBase+t,Q={unit:se,length:se.byteLength,dts:ee,pts:ee};Ee.samples.push(Q),Ee.length+=se.length}}_parseAACAudioData(e,n,i){if(i<=1){T.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let t={},r=new Uint8Array(e,n,i);return t.packetType=r[0],r[0]===0?t.data=this._parseAACAudioSpecificConfig(e,n+1,i-1):t.data=r.subarray(1),t}_parseAACAudioSpecificConfig(e,n,i){let t=new Uint8Array(e,n,i),r=null,o=0,a=0,R=null,p=0,L=null;if(o=a=t[0]>>>3,p=(t[0]&7)<<1|t[1]>>>7,p<0||p>=this._mpegSamplingRates.length){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let F=this._mpegSamplingRates[p],le=(t[1]&120)>>>3;if(le<0||le>=8){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}o===5&&(L=(t[1]&7)<<1|t[2]>>>7,R=(t[2]&124)>>>2);let U=self.navigator.userAgent.toLowerCase();return U.indexOf("firefox")!==-1?p>=6?(o=5,r=new Array(4),L=p-3):(o=2,r=new Array(2),L=p):U.indexOf("android")!==-1?(o=2,r=new Array(2),L=p):(o=5,L=p,r=new Array(4),p>=6?L=p-3:le===1&&(o=2,r=new Array(2),L=p)),r[0]=o<<3,r[0]|=(p&15)>>>1,r[1]=(p&15)<<7,r[1]|=(le&15)<<3,o===5&&(r[1]|=(L&15)>>>1,r[2]=(L&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:F,channelCount:le,codec:"mp4a.40."+o,originalCodec:"mp4a.40."+a}}_parseMP3AudioData(e,n,i,t){if(i<4){T.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,o=new Uint8Array(e,n,i),a=null;if(t){if(o[0]!==255)return;let R=o[1]>>>3&3,p=(o[1]&6)>>1,L=(o[2]&240)>>>4,F=(o[2]&12)>>>2,U=(o[3]>>>6&3)!==3?2:1,Ee=0,se=0,ee=34,Q="mp3";switch(R){case 0:Ee=this._mpegAudioV25SampleRateTable[F];break;case 2:Ee=this._mpegAudioV20SampleRateTable[F];break;case 3:Ee=this._mpegAudioV10SampleRateTable[F];break}switch(p){case 1:ee=34,L>>4,R=o&15;if(R!==7){this._onError(S.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${R}`);return}this._parseAVCVideoPacket(e,n+1,i-1,t,r,a)}_parseAVCVideoPacket(e,n,i,t,r,o){if(i<4){T.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let a=this._littleEndian,R=new DataView(e,n,i),p=R.getUint8(0),F=(R.getUint32(0,!a)&16777215)<<8>>8;if(p===0)this._parseAVCDecoderConfigurationRecord(e,n+4,i-4);else if(p===1)this._parseAVCVideoData(e,n+4,i-4,t,r,o,F);else if(p!==2){this._onError(S.FORMAT_ERROR,`Flv: Invalid video packet type ${p}`);return}}_parseAVCDecoderConfigurationRecord(e,n,i){if(i<7){T.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let t=this._videoMetadata,r=this._videoTrack,o=this._littleEndian,a=new DataView(e,n,i);t?typeof t.avcc!="undefined"&&T.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),t=this._videoMetadata={},t.type="video",t.id=r.id,t.timescale=this._timescale,t.duration=this._duration);let R=a.getUint8(0),p=a.getUint8(1),L=a.getUint8(2),F=a.getUint8(3);if(R!==1||p===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(a.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(S.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let le=a.getUint8(5)&31;if(le===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else le>1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${le}`);let U=6;for(let se=0;se1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ee}`);U++;for(let se=0;se=i){T.w(this.TAG,`Malformed Nalu near timestamp ${Ee}, offset = ${le}, dataSize = ${i}`);break}let ee=p.getUint32(le,!R);if(U===3&&(ee>>>=8),ee>i-U){T.w(this.TAG,`Malformed Nalus near timestamp ${Ee}, NaluSize > DataSize!`);return}let Q=p.getUint8(le+U)&31;Q===5&&(se=!0);let xe=new Uint8Array(e,n+le,U+ee),pe={type:Q,data:xe};L.push(pe),F+=xe.byteLength,le+=U+ee}if(L.length){let ee=this._videoTrack,Q={units:L,length:F,isKeyframe:se,dts:Ee,cts:a,pts:Ee+a};se&&(Q.fileposition=r),ee.samples.push(Q),ee.length+=F}}}var _=u;class d{static init(){d.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let n in d.types)d.types.hasOwnProperty(n)&&(d.types[n]=[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3)]);let e=d.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let n=8,i=null,t=Array.prototype.slice.call(arguments,1),r=t.length;for(let a=0;a>>24&255,i[1]=n>>>16&255,i[2]=n>>>8&255,i[3]=n&255,i.set(e,4);let o=8;for(let a=0;a>>24&255,e>>>16&255,e>>>8&255,e&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return d.box(d.types.trak,d.tkhd(e),d.mdia(e))}static tkhd(e){let n=e.id,i=e.duration,t=e.presentWidth,r=e.presentHeight;return d.box(d.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,t>>>8&255,t&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return d.box(d.types.mdia,d.mdhd(e),d.hdlr(e),d.minf(e))}static mdhd(e){let n=e.timescale,i=e.duration;return d.box(d.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255,85,196,0,0]))}static hdlr(e){let n=null;return e.type==="audio"?n=d.constants.HDLR_AUDIO:n=d.constants.HDLR_VIDEO,d.box(d.types.hdlr,n)}static minf(e){let n=null;return e.type==="audio"?n=d.box(d.types.smhd,d.constants.SMHD):n=d.box(d.types.vmhd,d.constants.VMHD),d.box(d.types.minf,n,d.dinf(),d.stbl(e))}static dinf(){return d.box(d.types.dinf,d.box(d.types.dref,d.constants.DREF))}static stbl(e){return d.box(d.types.stbl,d.stsd(e),d.box(d.types.stts,d.constants.STTS),d.box(d.types.stsc,d.constants.STSC),d.box(d.types.stsz,d.constants.STSZ),d.box(d.types.stco,d.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp3(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp4a(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.avc1(e))}static mp3(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types[".mp3"],t)}static mp4a(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types.mp4a,t,d.esds(e))}static esds(e){let n=e.config||[],i=n.length,t=new Uint8Array([0,0,0,0,3,23+i,0,1,0,4,15+i,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([i]).concat(n).concat([6,1,2]));return d.box(d.types.esds,t)}static avc1(e){let n=e.avcc,i=e.codecWidth,t=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,i>>>8&255,i&255,t>>>8&255,t&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return d.box(d.types.avc1,r,d.box(d.types.avcC,n))}static mvex(e){return d.box(d.types.mvex,d.trex(e))}static trex(e){let n=e.id,i=new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return d.box(d.types.trex,i)}static moof(e,n){return d.box(d.types.moof,d.mfhd(e.sequenceNumber),d.traf(e,n))}static mfhd(e){let n=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return d.box(d.types.mfhd,n)}static traf(e,n){let i=e.id,t=d.box(d.types.tfhd,new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255])),r=d.box(d.types.tfdt,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),o=d.sdtp(e),a=d.trun(e,o.byteLength+16+16+8+16+8+8);return d.box(d.types.traf,t,r,a,o)}static sdtp(e){let n=e.samples||[],i=n.length,t=new Uint8Array(4+i);for(let r=0;r>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0);for(let a=0;a>>24&255,R>>>16&255,R>>>8&255,R&255,p>>>24&255,p>>>16&255,p>>>8&255,p&255,L.isLeading<<2|L.dependsOn,L.isDependedOn<<6|L.hasRedundancy<<4|L.isNonSync,0,0,F>>>24&255,F>>>16&255,F>>>8&255,F&255],12+16*a)}return d.box(d.types.trun,o)}static mdat(e){return d.box(d.types.mdat,e)}}d.init();var m=d;class P{static getSilentFrame(e,n){if(e==="mp4a.40.2"){if(n===1)return new Uint8Array([0,200,0,128,35,128]);if(n===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(n===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(n===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(n===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(n===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(n===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var fe=P;class ${constructor(e,n,i,t,r){this.dts=e,this.pts=n,this.duration=i,this.originalDts=t,this.isSyncPoint=r,this.fileposition=null}}class Oe{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ie{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let n=this._list;e.length!==0&&(n.length>0&&e[0].originalDts=n[r].dts&&en[t].lastSample.originalDts&&e=n[t].lastSample.originalDts&&(t===n.length-1||t0&&(r=this._searchNearestSegmentBefore(i.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,i)}getLastSegmentBefore(e){let n=this._searchNearestSegmentBefore(e);return n>=0?this._list[n]:null}getLastSampleBefore(e){let n=this.getLastSegmentBefore(e);return n!=null?n.lastSample:null}getLastSyncPointBefore(e){let n=this._searchNearestSegmentBefore(e),i=this._list[n].syncPoints;for(;i.length===0&&n>0;)n--,i=this._list[n].syncPoints;return i.length>0?i[i.length-1]:null}}class ye{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ce("audio"),this._videoSegmentInfoList=new ce("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(Y.chrome&&(Y.version.major<50||Y.version.major===50&&Y.version.build<2661)),this._fillSilentAfterSeek=Y.msedge||Y.msie,this._mp3UseMpegAudio=!Y.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,n){if(!this._onMediaSegment)throw new I("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,n),this._remuxVideo(n),this._remuxAudio(e)}_onTrackMetadataReceived(e,n){let i=null,t="mp4",r=n.codec;if(e==="audio")this._audioMeta=n,n.codec==="mp3"&&this._mp3UseMpegAudio?(t="mpeg",r="",i=new Uint8Array):i=m.generateInitSegment(n);else if(e==="video")this._videoMeta=n,i=m.generateInitSegment(n);else return;if(!this._onInitSegment)throw new I("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:i.buffer,codec:r,container:`${e}/${t}`,mediaDuration:n.duration})}_calculateDtsBase(e,n){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),n.samples&&n.samples.length&&(this._videoDtsBase=n.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,n=this._audioStashedLastSample,i={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(i.samples.push(e),i.length=e.length);let t={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};n!=null&&(t.samples.push(n),t.length=n.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(i,!0),this._remuxAudio(t,!0)}_remuxAudio(e,n){if(this._audioMeta==null)return;let i=e,t=i.samples,r,o=-1,a=-1,R=-1,p=this._audioMeta.refSampleDuration,L=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,F=this._dtsBaseInited&&this._audioNextDts===void 0,le=!1;if(!t||t.length===0||t.length===1&&!n)return;let U=0,Ee=null,se=0;L?(U=0,se=i.length):(U=8,se=8+i.length);let ee=null;if(t.length>1&&(ee=t.pop(),se-=ee.length),this._audioStashedLastSample!=null){let Ie=this._audioStashedLastSample;this._audioStashedLastSample=null,t.unshift(Ie),se+=Ie.length}ee!=null&&(this._audioStashedLastSample=ee);let Q=t[0].dts-this._dtsBase;if(this._audioNextDts)r=Q-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(le=!0);else{let Ie=this._audioSegmentInfoList.getLastSampleBefore(Q);if(Ie!=null){let Qe=Q-(Ie.originalDts+Ie.duration);Qe<=3&&(Qe=0);let Z=Ie.dts+Ie.duration+Qe;r=Q-Z}else r=0}if(le){let Ie=Q-r,Qe=this._videoSegmentInfoList.getLastSegmentBefore(Q);if(Qe!=null&&Qe.beginDts=1?re=xe[xe.length-1].duration:re=Math.floor(p);let G=!1,K=null;if(re>p*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!Y.safari){G=!0;let k=Math.abs(re-p),Se=Math.ceil(k/p),Le=W+p;T.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +(self.webpackChunk=self.webpackChunk||[]).push([[1257],{40001:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},49198:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},84105:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},18785:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},33853:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},62772:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},38819:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},47472:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return be}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},N=O,w=l(7657),T=function(I,Ae){return g.createElement(w.Z,(0,f.Z)({},I,{ref:Ae,icon:N}))},ge=g.forwardRef(T),be=ge},86340:function(It,Be,l){"use strict";l.d(Be,{K:function(){return T}});var f=l(59301),g=l(43418),O=l(44080),N={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},w=l(24334);const T=({visible:ge,width:be,videoId:q,file_url:I,course_id:Ae,copyUrl:b,toLog:C=!0,logWatchHistory:Re=()=>{},allow_skip:Te,onClose:Me=()=>{},autoPlay:Ze=!1,onPlayEnded:Y=()=>{}})=>f.createElement(g.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ge,title:null,footer:null,width:be,className:N.modal},f.createElement("i",{className:`${N.closeIcon} iconfont icon-guanbi10`,onClick:Me}),ge&&f.createElement(O.Z,{onPlayEnded:Y,autoPlay:Ze,allow_skip:Te,courseId:Ae,src:I!=null&&I.startsWith("http")?I:w.Base64.decode(I),videoId:q,toLog:C,logWatchHistory:Re}))},44080:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return Te}});var f=l(59301),g=l(8591),O=l(38854),N=l(73217),w=l(16471),T=l(41867),ge=l(56102),be=l(84056),q={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},I=(Me,Ze,Y)=>new Promise((ae,V)=>{var j=y=>{try{c(Y.next(y))}catch(x){V(x)}},v=y=>{try{c(Y.throw(y))}catch(x){V(x)}},c=y=>y.done?ae(y.value):Promise.resolve(y.value).then(j,v);c((Y=Y.apply(Me,Ze)).next())});function Ae(Me){if(isNaN(Me))return{minutes:"00",seconds:"00"};const Ze=new Date(Me*1e3).toISOString().substr(11,8);return{hour:Ze.substr(0,2),minutes:Ze.substr(3,2),seconds:Ze.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function b(Me,Ze){return Me-Ze}function C(Me){Me.sort(b);let Ze=0;for(let Y=0;Y{},handlePlay:y=()=>{},handlePlayEnded:x=()=>{},autoPlay:oe=!1,onPlayEnded:he=()=>{},isShowWaterMark:Ce=!0},ke)=>{var Fe;const He=((Fe=Ze==null?void 0:Ze.split("."))==null?void 0:Fe.pop())==="flv",E=(0,f.useRef)(),De=(0,f.useRef)(),we=(0,f.useRef)(),J=(0,f.useRef)(),de=(0,f.useRef)(),Ge=(0,f.useRef)(),X=(0,f.useRef)(),te=(0,f.useRef)(),ue=(0,f.useRef)(),ve=(0,f.useRef)(),We=(0,f.useRef)(),tt=(0,f.useRef)(),et=(0,f.useRef)(),gt=(0,f.useRef)(),rt=navigator.userAgent.toLowerCase().match(Re),Ve=rt?rt[0]:"pc",ct=(0,f.useRef)(!1),pt=(0,T.eY)();let H=0,ze=0,M=0,D=null,h=!1,S=20,A=1,z=!1,s=!1,u=[];(0,f.useImperativeHandle)(ke,()=>({getLastUpdatedTime:()=>E.current.currentTime,getDuration:()=>E.current.duration})),g.ZP.config({maxCount:1,getContainer:()=>we.current});const _=(0,f.useCallback)((ie,ce=!1)=>{let ye={point:E.current.currentTime};D?(ye.log_id=D,ye.watch_duration=C(u),ye.total_duration=ze):(j?(ye.video_id=parseInt(ae,10),ye.course_id=j):ye.video_id=ae,ye.duration=H,ye.device=Ve),ce&&(ye.ed="1");function Ke(){return I(this,null,function*(){z=!0,D=yield V==null?void 0:V(ye),z=!1,ie&&ie()})}Ke()},[ae,j]);(0,f.useEffect)(()=>{E.current&&(J.current.style.display="none",de.current.style.display="block"),g.ZP.destroy();let ie=null;return N.Z.isSupported&&He&&Ze&&(Ze==null?void 0:Ze.indexOf(".m3u8"))<0?(ie=N.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:Ze,muted:!1}),E.current&&(ie.attachMediaElement(E.current),ie.load())):E.current.setAttribute("src",Ze),m(),()=>{ie&&(ie.unload(),ie.pause(),ie.destroy(),ie=null)}},[E,He,Ze]);function d(){E.current.paused?(J.current.style.display="none",de.current.style.display="block"):(J.current.style.display="block",de.current.style.display="none")}function m(){We.current.style.display="none",et.current.style.display="none",tt.current.style.display="none",E.current.muted||E.current.volume===0?We.current.style.display="block":E.current.volume>0&&E.current.volume<=.5?et.current.style.display="block":tt.current.style.display="block"}(0,f.useEffect)(()=>{const ie=document.getElementById("play"),ce=document.querySelectorAll(".playback-icons use");function ye(){y(),v&&!ct.current&&(E.current.currentTime=v),ct.current=!0,u.push(E.current.currentTime),h||(h=!0,Y&&_())}function Ke(){return I(this,null,function*(){d(),u.push(E.current.currentTime),Y&&_(()=>{D=null,M=0,h=!1,z=!1,s=!1,u=[],ze=0,A=1},!0),he()})}function _e(){Ge.current.value=Math.round(E.current.currentTime),X.current.value=Math.round(E.current.currentTime)}function ne(){const Ue=Ae(Math.round(E.current.currentTime));ue.current.innerText=`${Ue.hour>0?Ue.hour+":":""}${Ue.minutes}:${Ue.seconds}`,ue.current.setAttribute("datetime",`${Ue.hour>0?" "+Ue.hour+" ":""}${Ue.minutes}m ${Ue.seconds}s`)}function nt(){var Ue,mt,Xt,ft,zt,ln,Ut;const qt=Math.round((Ue=E.current)==null?void 0:Ue.duration);(Xt=(mt=Ge.current)==null?void 0:mt.setAttribute)==null||Xt.call(mt,"max",qt),(zt=(ft=X.current)==null?void 0:ft.setAttribute)==null||zt.call(ft,"max",qt);const Ft=Ae(qt);te.current&&(te.current.innerText=`${Ft.hour>0?Ft.hour+":":""}${Ft.minutes}:${Ft.seconds}`,(Ut=(ln=te.current).setAttribute)==null||Ut.call(ln,"datetime",`${Ft.hour>0?" "+Ft.hour+" ":""}${Ft.minutes}m ${Ft.seconds}s`))}function ot(){try{const Ue=Math.round(E.current.duration);Ge.current.setAttribute("max",Ue),X.current.setAttribute("max",Ue);const mt=Ae(Ue);te.current.innerText=`${mt.hour>0?mt.hour+":":""}${mt.minutes}:${mt.seconds}`,te.current.setAttribute("datetime",`${mt.hour>0?" "+mt.hour+" ":""}${mt.minutes}m ${mt.seconds}s`),_e(),ne();const{width:Xt,height:ft,x:zt,y:ln}=De.current.getBoundingClientRect();if(zt<0||ln<0||!Xt)return;if(!s){let Ut=E.current.currentTime,qt=Ut-M;Math.abs(qt)<10?(ze+=Math.abs(qt),M=Ut,z||ze-A*S>=0&&(A++,u.push(M),Y&&_())):(M=Ut,Y&&_())}}catch(Ue){console.log(Ue)}}function Et(){s=!0}function st(){E.current.playing&&u.push(E.current.currentTime,M),M=E.current.currentTime,s=!1}function Tt(){H=E.current.duration,H<=20&&(S=H/3),E.current.addEventListener("play",ye)}function Mt(Ue){Ue.preventDefault(),(0,be.vp)()?(E.current.style.width="100%",E.current.style.height="100%"):E.current.style.cssText=""}function Vt(){c()}function kt(Ue){if(!Me){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const mt=Ue.target.dataset.seek?Ue.target.dataset.seek:Ue.target.value;E.current.currentTime=mt,X.current.value=mt,Ge.current.value=mt}function Jt(Ue){const mt=Math.round(Ue.offsetX/Ue.target.clientWidth*parseInt(Ue.target.getAttribute("max"),10));Ge.current.setAttribute("data-seek",mt);const Xt=Ae(mt);ve.current.textContent=`${Xt.hour>0?Xt.hour+":":""}${Xt.minutes}:${Xt.seconds}`;const ft=E.current.getBoundingClientRect();ve.current.style.left=`${Ue.pageX-ft.left}px`}function Wt(Ue){switch(Ue.code){case"Space":Ue.preventDefault(),$();break;case"ArrowRight":if(Ue.preventDefault(),!Me){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime>=E.current.duration)break;E.current.currentTime=parseInt(E.current.currentTime)+5,_e();break;case"ArrowLeft":if(Ue.preventDefault(),!Me){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime===0)break;E.current.currentTime=parseInt(E.current.currentTime)-5,_e();break;case"ArrowUp":Ue.preventDefault(),E.current.volume<1&&(E.current.volume=(parseInt(E.current.volume*10)+1)/10);break;case"ArrowDown":Ue.preventDefault(),E.current.volume>0&&(E.current.volume=(parseInt(E.current.volume*10)-1)/10);break}}return we.current.addEventListener((0,be.gH)(),Mt),E.current.addEventListener("canplay",Tt),E.current.addEventListener("ended",Ke),E.current.addEventListener("seeking",Et),E.current.addEventListener("seeked",st),E.current.addEventListener("loadedmetadata",nt),Ge.current.addEventListener("mousemove",Jt),Ge.current.addEventListener("input",kt),E.current.addEventListener("timeupdate",ot),E.current.addEventListener("pause",Vt),E.current.addEventListener("volumechange",m),document.addEventListener("keydown",Wt),()=>{var Ue,mt,Xt,ft,zt,ln,Ut,qt,Ft,Gt,pn,Pe;(Ue=E.current)==null||Ue.removeEventListener("canplay",Tt),(mt=E.current)==null||mt.removeEventListener("play",ye),(Xt=E.current)==null||Xt.removeEventListener("ended",Ke),(ft=E.current)==null||ft.removeEventListener("seeking",Et),(zt=E.current)==null||zt.removeEventListener("seeked",st),(ln=Ge.current)==null||ln.removeEventListener("mousemove",Jt),(Ut=Ge.current)==null||Ut.removeEventListener("input",kt),(qt=E.current)==null||qt.removeEventListener("timeupdate",ot),(Ft=E.current)==null||Ft.removeEventListener("pause",Vt),(Gt=E.current)==null||Gt.removeEventListener("loadedmetadata",nt),(pn=E.current)==null||pn.removeEventListener("volumechange",m),document.removeEventListener("keydown",Wt),(Pe=E.current)!=null&&Pe.playing&&(u.push(M,E.current.currentTime),Y&&_())}},[E,Ze]),(0,f.useEffect)(()=>{if(E.current.onended=()=>{x(E)},E.current.oncontextmenu=()=>!1,(Ze==null?void 0:Ze.indexOf(".m3u8"))>-1){if(E.current.canPlayType("application/vnd.apple.mpegurl"))E.current.src=Ze;else if(w.ZP.isSupported()){var ie=new w.ZP;ie.loadSource(Ze),ie.attachMedia(E.current)}}},[Ze]);const[P,fe]=(0,f.useState)(1),$=()=>{E.current.paused||E.current.ended?E.current.play():E.current.pause(),d()};function Oe(){E.current.muted=!E.current.muted,E.current.muted?(gt.current.setAttribute("data-volume",volume.value),gt.current.value=0):gt.current.value=gt.current.dataset.volume}return f.createElement("div",{style:{position:"relative"},ref:we},f.createElement("div",{ref:De,className:`${q.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${q.animate__loop}`},Ce&&pt?pt.login:" "),f.createElement("div",{className:q.container},f.createElement("div",{className:q["video-container"],id:"video-container"},f.createElement("div",{className:q["playback-animation"],id:"playback-animation"},f.createElement("svg",{className:q["playback-icons"]},f.createElement("use",{className:"hidden",href:"#play-icon"}),f.createElement("use",{href:"#pause"}))),f.createElement("video",{className:q.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:E,autoPlay:oe}),f.createElement("div",{className:`${q["video-controls"]} `,id:"video-controls"},f.createElement("div",{className:q["bottom-controls"]},f.createElement("div",{className:q["left-controls"]},f.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:$},f.createElement("svg",{className:q["playback-icons"]},f.createElement("use",{ref:de,href:"#play-icon"}),f.createElement("use",{ref:J,style:{display:"none"},href:"#pause"}))),f.createElement("div",{className:q.time},f.createElement("time",{id:"time-elapsed",ref:ue},"00:00"),f.createElement("span",null," / "),f.createElement("time",{id:"duration",ref:te},"00:00"))),f.createElement("div",{className:q["right-controls"]},Me&&f.createElement(O.Z,{placement:"top",overlayClassName:q.rateOverlay,getPopupContainer:ie=>ie.parentNode,menu:{items:[{key:"1",label:f.createElement("span",{onClick:()=>{fe(1),E.current.playbackRate=1}},"1.0x")},{key:"2",label:f.createElement("span",{onClick:()=>{fe(1.5),E.current.playbackRate=1.5}},"1.5x")},{key:"3",label:f.createElement("span",{onClick:()=>{fe(2),E.current.playbackRate=2}},"2.0x")}]}},f.createElement("div",{className:`${q.controlText} mr5`},"\u500D\u901F")),f.createElement(ge.CopyToClipboard,{text:Ze,onCopy:()=>g.ZP.success("\u590D\u5236\u6210\u529F")},f.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},f.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),f.createElement("div",{className:q["volume-controls"]},f.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:q["volume-button"],id:"volume-button",onClick:Oe},f.createElement("i",{ref:We,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:et,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:tt,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),f.createElement("input",{className:q.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:gt,style:{display:"none"},onClick:m})),f.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:q["fullscreen-button"],onClick:()=>{(0,be.vp)()?(0,be.BU)():(0,be.Dj)(we.current)}},f.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),f.createElement("div",{className:q["video-progress"]},f.createElement("progress",{ref:X,value:"0",min:"0"}),f.createElement("input",{className:q.seek,ref:Ge,value:"0",min:"0",type:"range",step:"1"}),f.createElement("div",{className:q["seek-tooltip"],ref:ve,id:"seek-tooltip"},"00:00"))))),f.createElement("svg",{style:{display:"none"}},f.createElement("defs",null,f.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),f.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},f.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),f.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),f.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},f.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),f.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},f.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),f.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),f.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},f.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),f.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},f.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},42786:function(It,Be,l){"use strict";l.r(Be),l.d(Be,{default:function(){return X}});var f=l(59301),g=l(65582),O=l(8591),N=l(13570),w=l(71418),T=l(58421),ge=l(38147),be=l(41867),q=l(2524),I=l(18889),Ae=l(55988),b=l(36193),C={flex_box_center:"flex_box_center___riBIL",flex_space_between:"flex_space_between___QnIxq",flex_box_vertical_center:"flex_box_vertical_center___lDoLU",flex_box_center_end:"flex_box_center_end___cJ2F_",flex_box_column:"flex_box_column___PSzC7",wrap:"wrap___Mlk1H",mask:"mask___MVQfB",playIconWrap:"playIconWrap___QcDy0",playIcon:"playIcon___MXK2W",linkWrap:"linkWrap___rXjTB",link:"link___uEr60",imgWrap:"imgWrap___nCe4C",cardBottom:"cardBottom___CqJQC",bottomTitle:"bottomTitle___oTGoY",timeWrap:"timeWrap___ioirP",time:"time___hl75k",bottomActionWrap:"bottomActionWrap___RhhZY",peopleWrap:"peopleWrap___TwLjM",actionIcon:"actionIcon___BfAaN"},Re=l(86340),Te=l(74128),Me=l(24334),Ze=Object.defineProperty,Y=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(te,ue,ve)=>ue in te?Ze(te,ue,{enumerable:!0,configurable:!0,writable:!0,value:ve}):te[ue]=ve,y=(te,ue)=>{for(var ve in ue||(ue={}))j.call(ue,ve)&&c(te,ve,ue[ve]);if(V)for(var ve of V(ue))v.call(ue,ve)&&c(te,ve,ue[ve]);return te},x=(te,ue)=>Y(te,ae(ue));const oe=({data:te,params:ue,onSend:ve})=>{const[We,tt]=(0,f.useState)(),[et,gt]=(0,f.useState)({}),rt="90%",Ve="55%",ct=H=>{H.link||(tt(!0),gt({videoId:H.id,course_id:ue.coursesId,file_url:H.play_url||H.file_url,copyUrl:pt(H.play_url||H.file_url,H.cover_url),logWatchHistory:()=>{}}))},pt=(H,ze)=>{let M=Me.Base64.decode(H);if(H)return``};return f.createElement(f.Fragment,null,te==null?void 0:te.map((H,ze)=>{var M;const D=H!=null&&H.cover_url?(M=H==null?void 0:H.cover_url)!=null&&M.includes("https")?H.cover_url:Te.Z.API_SERVER+H.cover_url:Ae;return f.createElement("a",{className:C.wrap,key:H.id},f.createElement(I.Z,{className:`animated fadeIn ${C.cardWrap}`},f.createElement(w.Z,{tip:"\u6B63\u5728\u8F6C\u7801\uFF0C\u8BF7\u7A0D\u7B49...",spinning:!H.transcoded&&!H.link},f.createElement("span",{className:C.imgWrap,onClick:()=>{ct(H)}},f.createElement("img",{src:D}),H.link&&f.createElement("a",{className:C.linkWrap,href:H.link,target:"_blank",title:H.title},f.createElement("span",{className:C.link},"\u5916\u94FE")),f.createElement(f.Fragment,null,f.createElement("div",{className:C.mask}),f.createElement("div",{className:C.playIconWrap},!H.link&&f.createElement("img",{className:C.playIcon,src:b}))))),f.createElement("div",{className:C.cardBottom},f.createElement("div",{title:H.title,className:C.bottomTitle},H.title),f.createElement("div",{className:C.bottomActionWrap},f.createElement("div",null,"\u8BFE\u7A0B\uFF1A",f.createElement("span",{title:H.subject},H.subject)),f.createElement("b",{onClick:()=>ve(H)},"\u4F7F\u7528\u89C6\u9891")))))}),f.createElement(Re.K,x(y({},et),{visible:We,width:800,onClose:()=>{tt(!1),gt({})}})))};var he=(0,g.connect)(({classroomList:te})=>({classroomList:te}))(oe),Ce={flex_box_center:"flex_box_center___p5F4p",flex_space_between:"flex_space_between___XpX93",flex_box_vertical_center:"flex_box_vertical_center___CZqxk",flex_box_center_end:"flex_box_center_end___CinPQ",flex_box_column:"flex_box_column___RMknq",wrap:"wrap___fNq3s",listWrap:"listWrap____pT8s",list:"list___xQ3gD",top:"top___KkWz1",bottom:"bottom___MTHH1",tag:"tag___Sj7ii",rate:"rate___RKAhp",videoWrap:"videoWrap___Kv7Tg"},ke=l(95651),Fe=Object.defineProperty,me=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,De=(te,ue,ve)=>ue in te?Fe(te,ue,{enumerable:!0,configurable:!0,writable:!0,value:ve}):te[ue]=ve,we=(te,ue)=>{for(var ve in ue||(ue={}))He.call(ue,ve)&&De(te,ve,ue[ve]);if(me)for(var ve of me(ue))E.call(ue,ve)&&De(te,ve,ue[ve]);return te},J=(te,ue)=>{var ve={};for(var We in te)He.call(te,We)&&ue.indexOf(We)<0&&(ve[We]=te[We]);if(te!=null&&me)for(var We of me(te))ue.indexOf(We)<0&&E.call(te,We)&&(ve[We]=te[We]);return ve},de=(te,ue,ve)=>new Promise((We,tt)=>{var et=Ve=>{try{rt(ve.next(Ve))}catch(ct){tt(ct)}},gt=Ve=>{try{rt(ve.throw(Ve))}catch(ct){tt(ct)}},rt=Ve=>Ve.done?We(Ve.value):Promise.resolve(Ve.value).then(et,gt);rt((ve=ve.apply(te,ue)).next())});const Ge=te=>{var ue=te,{classroomList:ve,globalSetting:We,user:tt,dispatch:et}=ue,gt=J(ue,["classroomList","globalSetting","user","dispatch"]);const rt=(0,g.useParams)(),{detailTopBanner:Ve,detailLeftMenus:ct,shareStatus:pt}=ve,[H,ze]=(0,f.useState)("1"),[M,D]=(0,f.useState)(0),[h,S]=(0,f.useState)(!0),[A,z]=(0,f.useState)([]),[s,u]=(0,f.useState)({page:1,limit:9,order:"random"});(0,f.useEffect)(()=>{s.page=1,m(s)},[H]);const _=_e=>de(void 0,null,function*(){S(!0);let ne=yield(0,ge.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:we({type:1},_e)});ne!=null&&ne.shixuns&&(z((ne==null?void 0:ne.shixuns)||[]),D(ne==null?void 0:ne.total_count)),S(!1)}),d=_e=>de(void 0,null,function*(){S(!0);let ne=yield(0,ge.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:we({type:2},_e)});ne!=null&&ne.videos&&(z((ne==null?void 0:ne.videos)||[]),D(ne==null?void 0:ne.total_count)),S(!1)}),m=_e=>{H==="1"?_(_e):d(_e)},P=_e=>{ze(_e.key)},fe=[{name:"\u5B9E\u8BAD\u8D44\u6E90\u63A8\u8350",id:"1"},{name:"\u89C6\u9891\u8D44\u6E90\u63A8\u8350",id:"2"}],$=_e=>{s.page=_e,u(we({},s)),H==="1"?_(s):d(s)},Oe=_e=>de(void 0,null,function*(){const ne=yield(0,ge.ZP)(`/api/shixuns/${_e.identifier}/send_to_course.json`,{method:"post",body:{id:_e.identifier,identifier:_e.identifier,courses:[{course_id:rt==null?void 0:rt.coursesId,id:_e.identifier,identifier:_e.identifier,type:"normal",is_use:1,is_copy:0}]}});(ne==null?void 0:ne.status)===1&&(et({type:"classroomList/getClassroomLeftMenus",payload:{id:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),ie=_e=>de(void 0,null,function*(){const ne="jpl5vs26";console.log(_e);const nt=yield(0,ge.ZP)(`/api/paths/${_e==null?void 0:_e.subject_identifier}/send_to_course.json`,{method:"post",body:{course_id:Ve==null?void 0:Ve.course_id,id:_e==null?void 0:_e.subject_identifier,stage_shixuns:[{stage_shixun_id:_e.stage_shixun_id,is_copy:0,is_use:1}],type:"video",sync_catelog:0}});(nt==null?void 0:nt.status)===1&&(et({type:"classroomList/getClassroomLeftMenus",payload:{id:rt==null?void 0:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),ce=()=>f.createElement("div",{className:Ce.listWrap},A==null?void 0:A.map((_e,ne)=>f.createElement("div",{key:_e.id,className:Ce.list},f.createElement("div",{className:Ce.top},f.createElement("aside",{title:_e.name},_e.name),f.createElement("div",{onClick:()=>Oe(_e)},"\u4F7F\u7528\u5B9E\u8BAD")),f.createElement("div",{className:Ce.bottom},f.createElement("div",{className:Ce.tag},_e==null?void 0:_e.author_name),f.createElement("div",{className:Ce.tag},_e==null?void 0:_e.author_school_name),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5173\u5361"),_e==null?void 0:_e.challenges_count),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),_e==null?void 0:_e.myshixuns_count),f.createElement("div",{className:Ce.rate},f.createElement(N.Z,{allowHalf:!0,disabled:!0,defaultValue:_e.score_info}),f.createElement("span",{className:"font14"},"\xA0",_e.score_info?`${_e.score_info}\u5206`:"5\u5206")))))),ye=()=>f.createElement("div",{className:Ce.videoWrap},f.createElement(he,{params:rt,dispatch:et,data:A,onSend:ie})),Ke=!!(Ve!=null&&Ve.sub_discipline_id);return console.log("detailTopBanner"),console.log(!!(Ve!=null&&Ve.sub_discipline_id)),f.createElement("section",{className:Ce.wrap},f.createElement(ke.Z,{isLoading:!1,tabDataSource:fe,isAdmin:(0,be.GJ)(),onTabMenuClick:P,defaultSelectedKeys:[H],extraNode:(0,be.GJ)()&&Ke&&f.createElement("span",{className:"c-blue font14 ml20 current",onClick:_e=>{_e.preventDefault(),m(s)}},f.createElement("i",{className:"iconfont icon-huanyipi font14 mr5"}),"\u6362\u4E00\u6279")}),f.createElement(w.Z,{spinning:h},M===0?f.createElement(q.Z,null):H==="1"?ce():ye()),f.createElement(T.Z,{hideOnSinglePage:!0,onChange:_e=>$(_e),current:s.page,pageSize:s.limit,total:M,showQuickJumper:!0,showSizeChanger:!1,showTotal:_e=>f.createElement("span",{className:"mr10"},"\u5171",f.createElement("span",{className:"c-orange"},_e),"\u6761\u6570\u636E"),className:"tr pb20"}))};var X=(0,g.connect)(({classroomList:te,user:ue,globalSetting:ve})=>({user:ue,classroomList:te,globalSetting:ve}))(Ge)},95651:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return b}});var f=l(59301),g=l(95237),O=l(43604),N=l(20834),w=l(38854),T=l(8591),ge=l(6848),be={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},q=l(65582),I=l(41867),b=({isLoading:C,addText:Re,tabDataSource:Te,isAdmin:Me,dispatch:Ze,classroomList:Y,type:ae,isExercise:V,defaultSelectedKeys:j,onTabMenuClick:v,getDropdownMenu:c,showControlButton:y,buttonText:x,buttonIcon:oe="icon-tianjiadaohang",extraNode:he,user:Ce,onButtonClick:ke,isModelUser:Fe})=>{var me,He,E,De,we;const J=(0,q.useParams)();return f.createElement("div",{className:be.tabMenuContainer},f.createElement(g.Z,null,f.createElement(O.Z,{flex:"1"},f.createElement(N.default,{onSelect:de=>C?{}:v(de),mode:"horizontal",selectedKeys:j},Te.map(de=>f.createElement(N.default.Item,{key:typeof de.index=="number"?de.index:de.id},f.createElement("span",{className:"c-grey-666"},de.name),de.total!==void 0&&Me&&f.createElement("span",{className:"c-grey-999 ml20"},de.total||0))))),Me&&V&&f.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{Ze({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),Me&&f.createElement(O.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},V&&f.createElement(w.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>f.createElement(N.default,null,f.createElement(N.default.Item,{key:1,onClick:()=>{var de;if((0,I.Rm)()&&!((de=Y.AssistantObject.exercise)!=null&&de.can_download)){T.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ze({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:ae,exportType:"exercise",category_id:J.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),f.createElement(N.default.Item,{key:3,onClick:()=>{var de;if((0,I.Rm)()&&!((de=Y.AssistantObject.exercise)!=null&&de.can_download)){T.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}q.history.push(`/classrooms/${J==null?void 0:J.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},f.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},f.createElement("span",{style:{color:"#666666",cursor:"pointer"}},f.createElement("i",{className:"iconfont icon-xiazai6"})))),f.createElement("div",{className:be.control},f.createElement("div",{className:be.extra},he),y&&(x=="\u6DFB\u52A0\u76F4\u64AD"?f.createElement(w.Z,{menu:{items:(He=(me=[{label:f.createElement("div",{onClick:()=>{ke("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Fe&&{label:f.createElement("div",{onClick:()=>{ke("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:me.filter(de=>de==null?void 0:de.show))==null?void 0:He.map(de=>({label:de==null?void 0:de.label,key:de==null?void 0:de.key}))}},f.createElement("span",{className:be.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${oe}`})),f.createElement("span",null,x))):f.createElement("span",{onClick:ke,style:{cursor:"pointer"},className:be.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${oe}`})),f.createElement("span",null,x))),!!c&&f.createElement(w.Z,{disabled:((E=Ce==null?void 0:Ce.userInfo)==null?void 0:E.user_status)===2,className:"ml10",dropdownRender:c},f.createElement("span",{className:((De=Ce==null?void 0:Ce.userInfo)==null?void 0:De.user_status)===2?be.selectBtn1:be.selectBtn},f.createElement("span",null,f.createElement("i",{className:"iconfont icon-tianjiadaohang"})),f.createElement(ge.Z,{title:((we=Ce==null?void 0:Ce.userInfo)==null?void 0:we.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},f.createElement("span",null,Re||"\u521B\u5EFA\u8BD5\u5377"))))))))}},84056:function(It,Be,l){"use strict";l.d(Be,{BU:function(){return g},Dj:function(){return f},gH:function(){return O},vp:function(){return N}});function f(w){try{w.mozRequestFullScreen?w.mozRequestFullScreen():w.webkitRequestFullScreen&&w.webkitRequestFullScreen()}catch(T){console.log(T,":e")}}function g(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const O=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function N(){var w=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,T=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",w),window.isFullScreen?window.isFullScreen:w!=null}},73217:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return pn}});class f{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let n=Object(e);for(let i=1;i ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","error",i),w.ENABLE_ERROR&&(console.error?console.error(i):console.warn?console.warn(i):console.log(i))}static i(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","info",i),w.ENABLE_INFO&&(console.info?console.info(i):console.log(i))}static w(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","warn",i),w.ENABLE_WARN&&(console.warn?console.warn(i):console.log(i))}static d(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","debug",i),w.ENABLE_DEBUG&&(console.debug?console.debug(i):console.log(i))}static v(e,n){(!e||w.FORCE_GLOBAL_TAG)&&(e=w.GLOBAL_TAG);let i=`[${e}] > ${n}`;w.ENABLE_CALLBACK&&w.emitter.emit("log","verbose",i),w.ENABLE_VERBOSE&&console.log(i)}}w.GLOBAL_TAG="flv.js",w.FORCE_GLOBAL_TAG=!1,w.ENABLE_ERROR=!0,w.ENABLE_INFO=!0,w.ENABLE_WARN=!0,w.ENABLE_DEBUG=!0,w.ENABLE_VERBOSE=!0,w.ENABLE_CALLBACK=!1,w.emitter=new(N());var T=w;class ge{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var be=ge;class q{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class I extends q{constructor(e){super(e)}get name(){return"IllegalStateException"}}class Ae extends q{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class b extends q{constructor(e){super(e)}get name(){return"NotImplementedException"}}const C={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},Re={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class Te{constructor(e){this._type=e||"undefined",this._status=C.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=C.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===C.kConnecting||this._status===C.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,n){throw new b("Unimplemented abstract function!")}abort(){throw new b("Unimplemented abstract function!")}}let Me={};function Ze(){let Pe=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(Pe)||/(opr)[\/]([\w.]+)/.exec(Pe)||/(chrome)[ \/]([\w.]+)/.exec(Pe)||/(iemobile)[\/]([\w.]+)/.exec(Pe)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Pe)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Pe)||/(webkit)[ \/]([\w.]+)/.exec(Pe)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Pe)||/(msie) ([\w.]+)/.exec(Pe)||Pe.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Pe)||Pe.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Pe)||[],n=/(ipad)/.exec(Pe)||/(ipod)/.exec(Pe)||/(windows phone)/.exec(Pe)||/(iphone)/.exec(Pe)||/(kindle)/.exec(Pe)||/(android)/.exec(Pe)||/(windows)/.exec(Pe)||/(mac)/.exec(Pe)||/(linux)/.exec(Pe)||/(cros)/.exec(Pe)||[],i={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:n[0]||""},t={};if(i.browser){t[i.browser]=!0;let r=i.majorVersion.split(".");t.version={major:parseInt(i.majorVersion,10),string:i.version},r.length>1&&(t.version.minor=parseInt(r[1],10)),r.length>2&&(t.version.build=parseInt(r[2],10))}if(i.platform&&(t[i.platform]=!0),(t.chrome||t.opr||t.safari)&&(t.webkit=!0),t.rv||t.iemobile){t.rv&&delete t.rv;let r="msie";i.browser=r,t[r]=!0}if(t.edge){delete t.edge;let r="msedge";i.browser=r,t[r]=!0}if(t.opr){let r="opera";i.browser=r,t[r]=!0}if(t.safari&&t.android){let r="android";i.browser=r,t[r]=!0}t.name=i.browser,t.platform=i.platform;for(let r in Me)Me.hasOwnProperty(r)&&delete Me[r];Object.assign(Me,t)}Ze();var Y=Me;class ae extends Te{static isSupported(){try{let e=Y.msedge&&Y.version.minor>=15048,n=Y.msedge?e:!0;return self.fetch&&self.ReadableStream&&n}catch(e){return!1}}constructor(e,n){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=n,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,n){this._dataSource=e,this._range=n;let i=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(i=e.redirectedURL);let t=this._seekHandler.getConfig(i,n),r=new self.Headers;if(typeof t.headers=="object"){let a=t.headers;for(let R in a)a.hasOwnProperty(R)&&r.append(R,a[R])}let o={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let a in this._config.headers)r.append(a,this._config.headers[a]);e.cors===!1&&(o.mode="same-origin"),e.withCredentials&&(o.credentials="include"),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),this._status=C.kConnecting,self.fetch(t.url,o).then(a=>{if(this._requestAbort){this._requestAbort=!1,this._status=C.kIdle;return}if(a.ok&&a.status>=200&&a.status<=299){if(a.url!==t.url&&this._onURLRedirect){let p=this._seekHandler.removeURLParameters(a.url);this._onURLRedirect(p)}let R=a.headers.get("Content-Length");return R!=null&&(this._contentLength=parseInt(R),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,a.body.getReader())}else if(this._status=C.kError,this._onError)this._onError(Re.HTTP_STATUS_CODE_INVALID,{code:a.status,msg:a.statusText});else throw new q("FetchStreamLoader: Http code invalid, "+a.status+" "+a.statusText)}).catch(a=>{if(this._status=C.kError,this._onError)this._onError(Re.EXCEPTION,{code:-1,msg:a.message});else throw a})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(n=>{if(n.done)if(this._contentLength!==null&&this._receivedLength{if(n.code===11&&Y.msedge)return;this._status=C.kError;let i=0,t=null;if((n.code===19||n.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=C.kError,this._onError)this._onError(Re.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new q("MozChunkedLoader: Http code invalid, "+n.status+" "+n.statusText);else this._status=C.kBuffering}}_onProgress(e){if(this._status===C.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===C.kError)return;this._status=C.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=C.kError;let n=0,i=null;if(this._contentLength&&e.loaded=200&&n.status<=299){if(this._status=LoaderStatus.kBuffering,n.responseURL!=null){let t=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&t!==this._currentRedirectedURL&&(this._currentRedirectedURL=t,this._onURLRedirect&&this._onURLRedirect(t))}let i=n.getResponseHeader("Content-Length");if(i!=null&&this._contentLength==null){let t=parseInt(i);t>0&&(this._contentLength=t,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+n.status+" "+n.statusText);else if(n.readyState===3&&n.status>=200&&n.status<=299){this._status=LoaderStatus.kBuffering;let i=n.response;this._reader.readAsArrayBuffer(i)}}_xhrOnError(e){this._status=LoaderStatus.kError;let n=LoaderErrors.EXCEPTION,i={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(n,i);else throw new RuntimeException(i.msg)}_msrOnProgress(e){let i=e.target.result;if(i==null){this._doReconnectIfNeeded();return}let t=i.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=i.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength),i.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+t.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(i=this._range.from+this._contentLength-1),this._currentRequestRange={from:n,to:i},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,n){this._lastTimeLoaded=0;let i=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?i=this._currentRedirectedURL:e.redirectedURL!=null&&(i=e.redirectedURL));let t=this._seekHandler.getConfig(i,n);this._currentRequestURL=t.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",t.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof t.headers=="object"){let o=t.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}if(typeof this._config.headers=="object"){let o=this._config.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=C.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let n=e.target;if(n.readyState===2){if(n.responseURL!=null){let i=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}if(n.status>=200&&n.status<=299){if(this._waitForTotalLength)return;this._status=C.kBuffering}else if(this._status=C.kError,this._onError)this._onError(Re.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new q("RangeLoader: Http code invalid, "+n.status+" "+n.statusText)}}_onProgress(e){if(this._status===C.kError)return;if(this._contentLength===null){let i=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,i=!0;let t=e.total;this._internalAbort(),t!=null&t!==0&&(this._totalLength=t)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,i){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let n=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(n)}_normalizeSpeed(e){let n=this._chunkSizeKBList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=3&&(n=this._speedSampler.currentKBps)),n!==0){let o=this._normalizeSpeed(n);this._currentSpeedNormalized!==o&&(this._currentSpeedNormalized=o,this._currentChunkSizeKB=o)}let i=e.target.response,t=this._range.from+this._receivedLength;this._receivedLength+=i.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(n.result)},n.readAsArrayBuffer(e.data)}else{this._status=C.kError;let n={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(Re.EXCEPTION,n);else throw new q(n.msg)}}_dispatchArrayBuffer(e){let n=e,i=this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onWebSocketError(e){this._status=C.kError;let n={code:e.code,msg:e.message};if(this._onError)this._onError(Re.EXCEPTION,n);else throw new q(n.msg)}}var Ce=he;class ke{constructor(e){this._zeroStart=e||!1}getConfig(e,n){let i={};if(n.from!==0||n.to!==-1){let t;n.to!==-1?t=`bytes=${n.from.toString()}-${n.to.toString()}`:t=`bytes=${n.from.toString()}-`,i.Range=t}else this._zeroStart&&(i.Range="bytes=0-");return{url:e,headers:i}}removeURLParameters(e){return e}}var Fe=ke;class me{constructor(e,n){this._startName=e,this._endName=n}getConfig(e,n){let i=e;if(n.from!==0||n.to!==-1){let t=!0;i.indexOf("?")===-1&&(i+="?",t=!1),t&&(i+="&"),i+=`${this._startName}=${n.from.toString()}`,n.to!==-1&&(i+=`&${this._endName}=${n.to.toString()}`)}return{url:i,headers:{}}}removeURLParameters(e){let n=e.split("?")[0],i,t=e.indexOf("?");t!==-1&&(i=e.substring(t+1));let r="";if(i!=null&&i.length>0){let o=i.split("&");for(let a=0;a0;R[0]!==this._startName&&R[0]!==this._endName&&(p&&(r+="&"),r+=o[a])}}return r.length===0?n:n+"?"+r}}var He=me;class E{constructor(e,n,i){this.TAG="IOController",this._config=n,this._extraData=i,this._stashInitialSize=1024*384,n.stashInitialSize!=null&&n.stashInitialSize>0&&(this._stashInitialSize=n.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,n.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new be,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===oe?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new Fe(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let n=e.seekParamStart||"bstart",i=e.seekParamEnd||"bend";this._seekHandler=new He(n,i)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new Ae("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new Ae(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Ce;else if(V.isSupported())this._loaderClass=V;else if(v.isSupported())this._loaderClass=v;else if(oe.isSupported())this._loaderClass=oe;else throw new q("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,n){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(n),this._loader.destroy(),this._loader=null;let i={from:e,to:-1};this._currentRange={from:i.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,i),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new Ae("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let n=this._stashSize;for(;n+1024*1024*10){let t=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(i,0,n).set(t,0)}this._stashBuffer=i,this._bufferSize=n}_normalizeSpeed(e){let n=this._speedNormalizeList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=512&&e<=1024?n=Math.floor(e*1.5):n=e*2,n>8192&&(n=8192);let i=n*1024+1024*1024*1;this._bufferSize0){let o=this._stashBuffer.slice(0,this._stashUsed),a=this._dispatchChunks(o,this._stashByteStart);if(a0){let R=new Uint8Array(o,a);r.set(R,0),this._stashUsed=R.byteLength,this._stashByteStart+=a}}else this._stashUsed=0,this._stashByteStart+=a;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let o=this._dispatchChunks(e,n);if(othis._bufferSize&&(this._expandBuffer(a),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,o),0),this._stashUsed+=a,this._stashByteStart=n+o}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,n);if(rthis._bufferSize&&this._expandBuffer(o),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=o,this._stashByteStart=n+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let o=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(o0){let a=new Uint8Array(this._stashBuffer,o);r.set(a,0)}this._stashUsed-=o,this._stashByteStart+=o}}_flushStashBuffer(e){if(this._stashUsed>0){let n=this._stashBuffer.slice(0,this._stashUsed),i=this._dispatchChunks(n,this._stashByteStart),t=n.byteLength-i;if(i0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),o=new Uint8Array(n,i);r.set(o,0),this._stashUsed=o.byteLength,this._stashByteStart+=i}return 0}return this._stashUsed=0,this._stashByteStart=0,t}return 0}_onLoaderComplete(e,n){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,n){switch(T.e(this.TAG,`Loader error, code = ${n.code}, msg = ${n.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=Re.UNRECOVERABLE_EARLY_EOF),e){case Re.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let i=this._currentRange.to+1;i0){let n=ue.getConfig();e.emit("change",n)}}static registerListener(e){ue.emitter.addListener("change",e)}static removeListener(e){ue.emitter.removeListener("change",e)}static addLogListener(e){T.emitter.addListener("log",e),T.emitter.listenerCount("log")>0&&(T.ENABLE_CALLBACK=!0,ue._notifyChange())}static removeLogListener(e){T.emitter.removeListener("log",e),T.emitter.listenerCount("log")===0&&(T.ENABLE_CALLBACK=!1,ue._notifyChange())}}ue.emitter=new(N());var ve=ue;class We{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,n=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&n}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let n=this.keyframesIndex,i=this._search(n.times,e);return{index:i,milliseconds:n.times[i],fileposition:n.filepositions[i]}}_search(e,n){let i=0,t=e.length-1,r=0,o=0,a=t;for(n=e[r]&&n=128){e.push(String.fromCharCode(r&65535)),i+=2;continue}}}else if(n[i]<240){if(et(n,i,2)){let r=(n[i]&15)<<12|(n[i+1]&63)<<6|n[i+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),i+=3;continue}}}else if(n[i]<248&&et(n,i,3)){let r=(n[i]&7)<<18|(n[i+1]&63)<<12|(n[i+2]&63)<<6|n[i+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),i+=4;continue}}}e.push("\uFFFD"),++i}return e.join("")}var rt=gt;let Ve=function(){let Pe=new ArrayBuffer(2);return new DataView(Pe).setInt16(0,256,!0),new Int16Array(Pe)[0]===256}();class ct{static parseScriptData(e,n,i){let t={};try{let r=ct.parseValue(e,n,i),o=ct.parseValue(e,n+r.size,i-r.size);t[r.data]=o.data}catch(r){T.e("AMF",r.toString())}return t}static parseObject(e,n,i){if(i<3)throw new I("Data not enough when parse ScriptDataObject");let t=ct.parseString(e,n,i),r=ct.parseValue(e,n+t.size,i-t.size),o=r.objectEnd;return{data:{name:t.data,value:r.data},size:t.size+r.size,objectEnd:o}}static parseVariable(e,n,i){return ct.parseObject(e,n,i)}static parseString(e,n,i){if(i<2)throw new I("Data not enough when parse String");let r=new DataView(e,n,i).getUint16(0,!Ve),o;return r>0?o=rt(new Uint8Array(e,n+2,r)):o="",{data:o,size:2+r}}static parseLongString(e,n,i){if(i<4)throw new I("Data not enough when parse LongString");let r=new DataView(e,n,i).getUint32(0,!Ve),o;return r>0?o=rt(new Uint8Array(e,n+4,r)):o="",{data:o,size:4+r}}static parseDate(e,n,i){if(i<10)throw new I("Data size invalid when parse Date");let t=new DataView(e,n,i),r=t.getFloat64(0,!Ve),o=t.getInt16(8,!Ve);return r+=o*60*1e3,{data:new Date(r),size:10}}static parseValue(e,n,i){if(i<1)throw new I("Data not enough when parse Value");let t=new DataView(e,n,i),r=1,o=t.getUint8(0),a,R=!1;try{switch(o){case 0:a=t.getFloat64(1,!Ve),r+=8;break;case 1:{a=!!t.getUint8(1),r+=1;break}case 2:{let p=ct.parseString(e,n+1,i-1);a=p.data,r+=p.size;break}case 3:{a={};let p=0;for((t.getUint32(i-4,!Ve)&16777215)===9&&(p=3);r32)throw new Ae("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let o=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,o}let n=this._current_word_bits_left?this._current_word:0;n=n>>>32-this._current_word_bits_left;let i=e-this._current_word_bits_left;this._fillCurrentWord();let t=Math.min(i,this._current_word_bits_left),r=this._current_word>>>32-t;return this._current_word<<=t,this._current_word_bits_left-=t,n=n<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var ze=H;class M{static _ebsp2rbsp(e){let n=e,i=n.byteLength,t=new Uint8Array(i),r=0;for(let o=0;o=2&&n[o]===3&&n[o-1]===0&&n[o-2]===0||(t[r]=n[o],r++);return new Uint8Array(t.buffer,0,r)}static parseSPS(e){let n=M._ebsp2rbsp(e),i=new ze(n);i.readByte();let t=i.readByte();i.readByte();let r=i.readByte();i.readUEG();let o=M.getProfileString(t),a=M.getLevelString(r),R=1,p=420,L=[0,420,422,444],F=8;if((t===100||t===110||t===122||t===244||t===44||t===83||t===86||t===118||t===128||t===138||t===144)&&(R=i.readUEG(),R===3&&i.readBits(1),R<=3&&(p=L[R]),F=i.readUEG()+8,i.readUEG(),i.readBits(1),i.readBool())){let Xe=R!==3?8:12;for(let $e=0;$e0&&Xe<16?(qe=$e[Xe-1],Ie=St[Xe-1]):Xe===255&&(qe=i.readByte()<<8|i.readByte(),Ie=i.readByte()<<8|i.readByte())}if(i.readBool()&&i.readBool(),i.readBool()&&(i.readBits(4),i.readBool()&&i.readBits(24)),i.readBool()&&(i.readUEG(),i.readUEG()),i.readBool()){let Xe=i.readBits(32),$e=i.readBits(32);Z=i.readBool(),B=$e,W=Xe*2,Qe=B/W}}let G=1;(qe!==1||Ie!==1)&&(G=qe/Ie);let K=0,k=0;if(R===0)K=1,k=2-ee;else{let Xe=R===3?1:2,$e=R===1?2:1;K=Xe,k=$e*(2-ee)}let Se=(Ee+1)*16,Le=(2-ee)*((se+1)*16);Se-=(Q+xe)*K,Le-=(pe+Ne)*k;let je=Math.ceil(Se*G);return i.destroy(),i=null,{profile_string:o,level_string:a,bit_depth:F,ref_frames:U,chroma_format:p,chroma_format_string:M.getChromaFormatString(p),frame_rate:{fixed:Z,fps:Qe,fps_den:W,fps_num:B},sar_ratio:{width:qe,height:Ie},codec_size:{width:Se,height:Le},present_size:{width:je,height:Le}}}static _skipScalingList(e,n){let i=8,t=8,r=0;for(let o=0;o>>8&255|(Pe&255)<<8}function z(Pe){return(Pe&4278190080)>>>24|(Pe&16711680)>>>8|(Pe&65280)<<8|(Pe&255)<<24}function s(Pe,e){return Pe[e]<<24|Pe[e+1]<<16|Pe[e+2]<<8|Pe[e+3]}class u{constructor(e,n){this.TAG="FLVDemuxer",this._config=n,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new tt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let i=new ArrayBuffer(2);return new DataView(i).setInt16(0,256,!0),new Int16Array(i)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let n=new Uint8Array(e),i={match:!1};if(n[0]!==70||n[1]!==76||n[2]!==86||n[3]!==1)return i;let t=(n[4]&4)>>>2!==0,r=(n[4]&1)!==0,o=s(n,5);return o<9?i:{match:!0,consumed:o,dataOffset:o,hasAudioTrack:t,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new tt}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,n){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new I("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let i=0,t=this._littleEndian;if(n===0)if(e.byteLength>13)i=u.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,n+i!==this._dataOffset&&T.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,i).getUint32(0,!t)!==0&&T.w(this.TAG,"PrevTagSize0 !== 0 !!!"),i+=4);ie.byteLength)break;let o=r.getUint8(0),a=r.getUint32(0,!t)&16777215;if(i+11+a+4>e.byteLength)break;if(o!==8&&o!==9&&o!==18){T.w(this.TAG,`Unsupported tag type ${o}, skipped`),i+=11+a+4;continue}let R=r.getUint8(4),p=r.getUint8(5),L=r.getUint8(6),F=r.getUint8(7),le=L|p<<8|R<<16|F<<24;(r.getUint32(7,!t)&16777215)!==0&&T.w(this.TAG,"Meet tag which has StreamID != 0!");let Ee=i+11;switch(o){case 8:this._parseAudioData(e,Ee,a,le);break;case 9:this._parseVideoData(e,Ee,a,le,n+i);break;case 18:this._parseScriptData(e,Ee,a);break}let se=r.getUint32(11+a,!t);se!==11+a&&T.w(this.TAG,`Invalid PrevTagSize ${se}`),i+=11+a+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),i}_parseScriptData(e,n,i){let t=pt.parseScriptData(e,n,i);if(t.hasOwnProperty("onMetaData")){if(t.onMetaData==null||typeof t.onMetaData!="object"){T.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&T.w(this.TAG,"Found another onMetaData tag!"),this._metadata=t;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let o=Math.floor(r.duration*this._timescale);this._duration=o,this._mediaInfo.duration=o}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let o=Math.floor(r.framerate*1e3);if(o>0){let a=o/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=a,this._referenceFrameRate.fps_num=o,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=a}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let o=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(o),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,T.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(t).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},t))}_parseKeyframesIndex(e){let n=[],i=[];for(let t=1;t>>4;if(R!==2&&R!==10){this._onError(S.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+R);return}let p=0,L=(a&12)>>>2;if(L>=0&&L<=4)p=this._flvSoundRateTable[L];else{this._onError(S.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+L);return}let F=(a&2)>>>1,le=a&1,U=this._audioMetadata,Ee=this._audioTrack;if(U||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),U=this._audioMetadata={},U.type="audio",U.id=Ee.id,U.timescale=this._timescale,U.duration=this._duration,U.audioSampleRate=p,U.channelCount=le===0?1:2),R===10){let se=this._parseAACAudioData(e,n+1,i-1);if(se==null)return;if(se.packetType===0){U.config&&T.w(this.TAG,"Found another AudioSpecificConfig!");let ee=se.data;U.audioSampleRate=ee.samplingRate,U.channelCount=ee.channelCount,U.codec=ee.codec,U.originalCodec=ee.originalCodec,U.config=ee.config,U.refSampleDuration=1024/U.audioSampleRate*U.timescale,T.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",U);let Q=this._mediaInfo;Q.audioCodec=U.originalCodec,Q.audioSampleRate=U.audioSampleRate,Q.audioChannelCount=U.channelCount,Q.hasVideo?Q.videoCodec!=null&&(Q.mimeType='video/x-flv; codecs="'+Q.videoCodec+","+Q.audioCodec+'"'):Q.mimeType='video/x-flv; codecs="'+Q.audioCodec+'"',Q.isComplete()&&this._onMediaInfo(Q)}else if(se.packetType===1){let ee=this._timestampBase+t,Q={unit:se.data,length:se.data.byteLength,dts:ee,pts:ee};Ee.samples.push(Q),Ee.length+=se.data.length}else T.e(this.TAG,`Flv: Unsupported AAC data type ${se.packetType}`)}else if(R===2){if(!U.codec){let xe=this._parseMP3AudioData(e,n+1,i-1,!0);if(xe==null)return;U.audioSampleRate=xe.samplingRate,U.channelCount=xe.channelCount,U.codec=xe.codec,U.originalCodec=xe.originalCodec,U.refSampleDuration=1152/U.audioSampleRate*U.timescale,T.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",U);let pe=this._mediaInfo;pe.audioCodec=U.codec,pe.audioSampleRate=U.audioSampleRate,pe.audioChannelCount=U.channelCount,pe.audioDataRate=xe.bitRate,pe.hasVideo?pe.videoCodec!=null&&(pe.mimeType='video/x-flv; codecs="'+pe.videoCodec+","+pe.audioCodec+'"'):pe.mimeType='video/x-flv; codecs="'+pe.audioCodec+'"',pe.isComplete()&&this._onMediaInfo(pe)}let se=this._parseMP3AudioData(e,n+1,i-1,!1);if(se==null)return;let ee=this._timestampBase+t,Q={unit:se,length:se.byteLength,dts:ee,pts:ee};Ee.samples.push(Q),Ee.length+=se.length}}_parseAACAudioData(e,n,i){if(i<=1){T.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let t={},r=new Uint8Array(e,n,i);return t.packetType=r[0],r[0]===0?t.data=this._parseAACAudioSpecificConfig(e,n+1,i-1):t.data=r.subarray(1),t}_parseAACAudioSpecificConfig(e,n,i){let t=new Uint8Array(e,n,i),r=null,o=0,a=0,R=null,p=0,L=null;if(o=a=t[0]>>>3,p=(t[0]&7)<<1|t[1]>>>7,p<0||p>=this._mpegSamplingRates.length){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let F=this._mpegSamplingRates[p],le=(t[1]&120)>>>3;if(le<0||le>=8){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}o===5&&(L=(t[1]&7)<<1|t[2]>>>7,R=(t[2]&124)>>>2);let U=self.navigator.userAgent.toLowerCase();return U.indexOf("firefox")!==-1?p>=6?(o=5,r=new Array(4),L=p-3):(o=2,r=new Array(2),L=p):U.indexOf("android")!==-1?(o=2,r=new Array(2),L=p):(o=5,L=p,r=new Array(4),p>=6?L=p-3:le===1&&(o=2,r=new Array(2),L=p)),r[0]=o<<3,r[0]|=(p&15)>>>1,r[1]=(p&15)<<7,r[1]|=(le&15)<<3,o===5&&(r[1]|=(L&15)>>>1,r[2]=(L&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:F,channelCount:le,codec:"mp4a.40."+o,originalCodec:"mp4a.40."+a}}_parseMP3AudioData(e,n,i,t){if(i<4){T.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,o=new Uint8Array(e,n,i),a=null;if(t){if(o[0]!==255)return;let R=o[1]>>>3&3,p=(o[1]&6)>>1,L=(o[2]&240)>>>4,F=(o[2]&12)>>>2,U=(o[3]>>>6&3)!==3?2:1,Ee=0,se=0,ee=34,Q="mp3";switch(R){case 0:Ee=this._mpegAudioV25SampleRateTable[F];break;case 2:Ee=this._mpegAudioV20SampleRateTable[F];break;case 3:Ee=this._mpegAudioV10SampleRateTable[F];break}switch(p){case 1:ee=34,L>>4,R=o&15;if(R!==7){this._onError(S.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${R}`);return}this._parseAVCVideoPacket(e,n+1,i-1,t,r,a)}_parseAVCVideoPacket(e,n,i,t,r,o){if(i<4){T.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let a=this._littleEndian,R=new DataView(e,n,i),p=R.getUint8(0),F=(R.getUint32(0,!a)&16777215)<<8>>8;if(p===0)this._parseAVCDecoderConfigurationRecord(e,n+4,i-4);else if(p===1)this._parseAVCVideoData(e,n+4,i-4,t,r,o,F);else if(p!==2){this._onError(S.FORMAT_ERROR,`Flv: Invalid video packet type ${p}`);return}}_parseAVCDecoderConfigurationRecord(e,n,i){if(i<7){T.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let t=this._videoMetadata,r=this._videoTrack,o=this._littleEndian,a=new DataView(e,n,i);t?typeof t.avcc!="undefined"&&T.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),t=this._videoMetadata={},t.type="video",t.id=r.id,t.timescale=this._timescale,t.duration=this._duration);let R=a.getUint8(0),p=a.getUint8(1),L=a.getUint8(2),F=a.getUint8(3);if(R!==1||p===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(a.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(S.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let le=a.getUint8(5)&31;if(le===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else le>1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${le}`);let U=6;for(let se=0;se1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ee}`);U++;for(let se=0;se=i){T.w(this.TAG,`Malformed Nalu near timestamp ${Ee}, offset = ${le}, dataSize = ${i}`);break}let ee=p.getUint32(le,!R);if(U===3&&(ee>>>=8),ee>i-U){T.w(this.TAG,`Malformed Nalus near timestamp ${Ee}, NaluSize > DataSize!`);return}let Q=p.getUint8(le+U)&31;Q===5&&(se=!0);let xe=new Uint8Array(e,n+le,U+ee),pe={type:Q,data:xe};L.push(pe),F+=xe.byteLength,le+=U+ee}if(L.length){let ee=this._videoTrack,Q={units:L,length:F,isKeyframe:se,dts:Ee,cts:a,pts:Ee+a};se&&(Q.fileposition=r),ee.samples.push(Q),ee.length+=F}}}var _=u;class d{static init(){d.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let n in d.types)d.types.hasOwnProperty(n)&&(d.types[n]=[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3)]);let e=d.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let n=8,i=null,t=Array.prototype.slice.call(arguments,1),r=t.length;for(let a=0;a>>24&255,i[1]=n>>>16&255,i[2]=n>>>8&255,i[3]=n&255,i.set(e,4);let o=8;for(let a=0;a>>24&255,e>>>16&255,e>>>8&255,e&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return d.box(d.types.trak,d.tkhd(e),d.mdia(e))}static tkhd(e){let n=e.id,i=e.duration,t=e.presentWidth,r=e.presentHeight;return d.box(d.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,t>>>8&255,t&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return d.box(d.types.mdia,d.mdhd(e),d.hdlr(e),d.minf(e))}static mdhd(e){let n=e.timescale,i=e.duration;return d.box(d.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255,85,196,0,0]))}static hdlr(e){let n=null;return e.type==="audio"?n=d.constants.HDLR_AUDIO:n=d.constants.HDLR_VIDEO,d.box(d.types.hdlr,n)}static minf(e){let n=null;return e.type==="audio"?n=d.box(d.types.smhd,d.constants.SMHD):n=d.box(d.types.vmhd,d.constants.VMHD),d.box(d.types.minf,n,d.dinf(),d.stbl(e))}static dinf(){return d.box(d.types.dinf,d.box(d.types.dref,d.constants.DREF))}static stbl(e){return d.box(d.types.stbl,d.stsd(e),d.box(d.types.stts,d.constants.STTS),d.box(d.types.stsc,d.constants.STSC),d.box(d.types.stsz,d.constants.STSZ),d.box(d.types.stco,d.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp3(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp4a(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.avc1(e))}static mp3(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types[".mp3"],t)}static mp4a(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types.mp4a,t,d.esds(e))}static esds(e){let n=e.config||[],i=n.length,t=new Uint8Array([0,0,0,0,3,23+i,0,1,0,4,15+i,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([i]).concat(n).concat([6,1,2]));return d.box(d.types.esds,t)}static avc1(e){let n=e.avcc,i=e.codecWidth,t=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,i>>>8&255,i&255,t>>>8&255,t&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return d.box(d.types.avc1,r,d.box(d.types.avcC,n))}static mvex(e){return d.box(d.types.mvex,d.trex(e))}static trex(e){let n=e.id,i=new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return d.box(d.types.trex,i)}static moof(e,n){return d.box(d.types.moof,d.mfhd(e.sequenceNumber),d.traf(e,n))}static mfhd(e){let n=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return d.box(d.types.mfhd,n)}static traf(e,n){let i=e.id,t=d.box(d.types.tfhd,new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255])),r=d.box(d.types.tfdt,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),o=d.sdtp(e),a=d.trun(e,o.byteLength+16+16+8+16+8+8);return d.box(d.types.traf,t,r,a,o)}static sdtp(e){let n=e.samples||[],i=n.length,t=new Uint8Array(4+i);for(let r=0;r>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0);for(let a=0;a>>24&255,R>>>16&255,R>>>8&255,R&255,p>>>24&255,p>>>16&255,p>>>8&255,p&255,L.isLeading<<2|L.dependsOn,L.isDependedOn<<6|L.hasRedundancy<<4|L.isNonSync,0,0,F>>>24&255,F>>>16&255,F>>>8&255,F&255],12+16*a)}return d.box(d.types.trun,o)}static mdat(e){return d.box(d.types.mdat,e)}}d.init();var m=d;class P{static getSilentFrame(e,n){if(e==="mp4a.40.2"){if(n===1)return new Uint8Array([0,200,0,128,35,128]);if(n===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(n===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(n===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(n===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(n===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(n===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var fe=P;class ${constructor(e,n,i,t,r){this.dts=e,this.pts=n,this.duration=i,this.originalDts=t,this.isSyncPoint=r,this.fileposition=null}}class Oe{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ie{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let n=this._list;e.length!==0&&(n.length>0&&e[0].originalDts=n[r].dts&&en[t].lastSample.originalDts&&e=n[t].lastSample.originalDts&&(t===n.length-1||t0&&(r=this._searchNearestSegmentBefore(i.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,i)}getLastSegmentBefore(e){let n=this._searchNearestSegmentBefore(e);return n>=0?this._list[n]:null}getLastSampleBefore(e){let n=this.getLastSegmentBefore(e);return n!=null?n.lastSample:null}getLastSyncPointBefore(e){let n=this._searchNearestSegmentBefore(e),i=this._list[n].syncPoints;for(;i.length===0&&n>0;)n--,i=this._list[n].syncPoints;return i.length>0?i[i.length-1]:null}}class ye{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ce("audio"),this._videoSegmentInfoList=new ce("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(Y.chrome&&(Y.version.major<50||Y.version.major===50&&Y.version.build<2661)),this._fillSilentAfterSeek=Y.msedge||Y.msie,this._mp3UseMpegAudio=!Y.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,n){if(!this._onMediaSegment)throw new I("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,n),this._remuxVideo(n),this._remuxAudio(e)}_onTrackMetadataReceived(e,n){let i=null,t="mp4",r=n.codec;if(e==="audio")this._audioMeta=n,n.codec==="mp3"&&this._mp3UseMpegAudio?(t="mpeg",r="",i=new Uint8Array):i=m.generateInitSegment(n);else if(e==="video")this._videoMeta=n,i=m.generateInitSegment(n);else return;if(!this._onInitSegment)throw new I("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:i.buffer,codec:r,container:`${e}/${t}`,mediaDuration:n.duration})}_calculateDtsBase(e,n){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),n.samples&&n.samples.length&&(this._videoDtsBase=n.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,n=this._audioStashedLastSample,i={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(i.samples.push(e),i.length=e.length);let t={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};n!=null&&(t.samples.push(n),t.length=n.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(i,!0),this._remuxAudio(t,!0)}_remuxAudio(e,n){if(this._audioMeta==null)return;let i=e,t=i.samples,r,o=-1,a=-1,R=-1,p=this._audioMeta.refSampleDuration,L=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,F=this._dtsBaseInited&&this._audioNextDts===void 0,le=!1;if(!t||t.length===0||t.length===1&&!n)return;let U=0,Ee=null,se=0;L?(U=0,se=i.length):(U=8,se=8+i.length);let ee=null;if(t.length>1&&(ee=t.pop(),se-=ee.length),this._audioStashedLastSample!=null){let Ie=this._audioStashedLastSample;this._audioStashedLastSample=null,t.unshift(Ie),se+=Ie.length}ee!=null&&(this._audioStashedLastSample=ee);let Q=t[0].dts-this._dtsBase;if(this._audioNextDts)r=Q-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(le=!0);else{let Ie=this._audioSegmentInfoList.getLastSampleBefore(Q);if(Ie!=null){let Qe=Q-(Ie.originalDts+Ie.duration);Qe<=3&&(Qe=0);let Z=Ie.dts+Ie.duration+Qe;r=Q-Z}else r=0}if(le){let Ie=Q-r,Qe=this._videoSegmentInfoList.getLastSegmentBefore(Q);if(Qe!=null&&Qe.beginDts=1?re=xe[xe.length-1].duration:re=Math.floor(p);let G=!1,K=null;if(re>p*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!Y.safari){G=!0;let k=Math.abs(re-p),Se=Math.ceil(k/p),Le=W+p;T.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${W+re} ms, expected: ${W+Math.round(p)} ms, delta: ${Math.round(k)} ms, generate: ${Se} frames`);let je=fe.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);je==null&&(T.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),je=Z),K=[];for(let $e=0;$e0){let Ye=K[K.length-1];Ye.duration=St-Ye.dts}let lt={dts:St,pts:St,cts:0,unit:je,size:je.byteLength,duration:0,originalDts:B,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};K.push(lt),se+=lt.size,Le+=p}let Xe=K[K.length-1];Xe.duration=W+re-Xe.dts,re=Math.round(p)}xe.push({dts:W,pts:W,cts:0,unit:Qe.unit,size:Qe.unit.byteLength,duration:re,originalDts:B,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),G&&xe.push.apply(xe,K)}L?Ee=new Uint8Array(se):(Ee=new Uint8Array(se),Ee[0]=se>>>24&255,Ee[1]=se>>>16&255,Ee[2]=se>>>8&255,Ee[3]=se&255,Ee.set(m.types.mdat,4));for(let Ie=0;Ie1&&(U=t.pop(),le-=U.length),this._videoStashedLastSample!=null){let pe=this._videoStashedLastSample;this._videoStashedLastSample=null,t.unshift(pe),le+=pe.length}U!=null&&(this._videoStashedLastSample=U);let Ee=t[0].dts-this._dtsBase;if(this._videoNextDts)r=Ee-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())r=0;else{let pe=this._videoSegmentInfoList.getLastSampleBefore(Ee);if(pe!=null){let Ne=Ee-(pe.originalDts+pe.duration);Ne<=3&&(Ne=0);let it=pe.dts+pe.duration+Ne;r=Ee-it}else r=0}let se=new Oe,ee=[];for(let pe=0;pe=1?B=ee[ee.length-1].duration:B=Math.floor(this._videoMeta.refSampleDuration),qe){let W=new $(Ie,Z,B,Ne.dts,!0);W.fileposition=Ne.fileposition,se.appendSyncPoint(W)}ee.push({dts:Ie,pts:Z,cts:Qe,units:Ne.units,size:Ne.length,isKeyframe:qe,duration:B,originalDts:it,flags:{isLeading:0,dependsOn:qe?2:1,isDependedOn:qe?1:0,hasRedundancy:0,isNonSync:qe?0:1}})}F=new Uint8Array(le),F[0]=le>>>24&255,F[1]=le>>>16&255,F[2]=le>>>8&255,F[3]=le&255,F.set(m.types.mdat,4);for(let pe=0;pe{t.timestampBase=i,i+=t.duration,t.cors=e.cors,t.withCredentials=e.withCredentials,n.referrerPolicy&&(t.referrerPolicy=n.referrerPolicy)}),!isNaN(i)&&this._mediaDataSource.duration!==i&&(this._mediaDataSource.duration=i),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,n){this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,n){this._currentSegmentIndex=e;let i=this._mediaDataSource.segments[e],t=this._ioctl=new De(i,this._config,e);t.onError=this._onIOException.bind(this),t.onSeeked=this._onIOSeeked.bind(this),t.onComplete=this._onIOComplete.bind(this),t.onRedirect=this._onIORedirect.bind(this),t.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),n?this._demuxer.bindDataSource(this._ioctl):t.onDataArrival=this._onInitChunkArrival.bind(this),t.open(n)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let n=this._searchSegmentIndexContains(e);if(n===this._currentSegmentIndex){let i=this._mediaInfo.segments[n];if(i==null)this._pendingSeekTime=e;else{let t=i.getNearestKeyframe(e);this._remuxer.seek(t.milliseconds),this._ioctl.seek(t.fileposition),this._pendingResolveSeekPoint=t.milliseconds}}else{let i=this._mediaInfo.segments[n];if(i==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(n);else{let t=i.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[n].timestampBase,this._loadSegment(n,t.fileposition),this._pendingResolveSeekPoint=t.milliseconds,this._reportSegmentMediaInfo(n)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let n=this._mediaDataSource.segments,i=n.length-1;for(let t=0;t0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,t=this._demuxer.parseChunks(e,n);else if((i=_.probe(e)).match){this._demuxer=new _(i,this._config),this._remuxer||(this._remuxer=new Ke(this._config));let r=this._mediaDataSource;r.duration!=null&&!isNaN(r.duration)&&(this._demuxer.overridedDuration=r.duration),typeof r.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=r.hasAudio),typeof r.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=r.hasVideo),this._demuxer.timestampBase=r.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),t=this._demuxer.parseChunks(e,n)}else i=null,T.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(ne.DEMUX_ERROR,S.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),t=0;return t}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,tt.prototype));let n=Object.assign({},e);Object.setPrototypeOf(n,tt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=n,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let i=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(i)})}_onMetaDataArrived(e){this._emitter.emit(ne.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(ne.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let i=e+1;i0&&i[0].originalDts===t&&(t=i[0].pts),this._emitter.emit(ne.RECOMMEND_SEEKPOINT,t)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let n=this._mediaInfo.segments[e],i=Object.assign({},n);i.duration=this._mediaInfo.duration,i.segmentCount=this._mediaInfo.segmentCount,delete i.segments,delete i.keyframesIndex,this._emitter.emit(ne.MEDIA_INFO,i)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(ne.STATISTICS_INFO,e)}}var ot=nt,st=function(Pe){let e="TransmuxingWorker",n=null,i=se.bind(this);g.install(),Pe.addEventListener("message",function(ee){switch(ee.data.cmd){case"init":n=new ot(ee.data.param[0],ee.data.param[1]),n.on(ne.IO_ERROR,le.bind(this)),n.on(ne.DEMUX_ERROR,U.bind(this)),n.on(ne.INIT_SEGMENT,t.bind(this)),n.on(ne.MEDIA_SEGMENT,r.bind(this)),n.on(ne.LOADING_COMPLETE,o.bind(this)),n.on(ne.RECOVERED_EARLY_EOF,a.bind(this)),n.on(ne.MEDIA_INFO,R.bind(this)),n.on(ne.METADATA_ARRIVED,p.bind(this)),n.on(ne.SCRIPTDATA_ARRIVED,L.bind(this)),n.on(ne.STATISTICS_INFO,F.bind(this)),n.on(ne.RECOMMEND_SEEKPOINT,Ee.bind(this));break;case"destroy":n&&(n.destroy(),n=null),Pe.postMessage({msg:"destroyed"});break;case"start":n.start();break;case"stop":n.stop();break;case"seek":n.seek(ee.data.param);break;case"pause":n.pause();break;case"resume":n.resume();break;case"logging_config":{let Q=ee.data.param;ve.applyConfig(Q),Q.enableCallback===!0?ve.addLogListener(i):ve.removeLogListener(i);break}}});function t(ee,Q){let xe={msg:ne.INIT_SEGMENT,data:{type:ee,data:Q}};Pe.postMessage(xe,[Q.data])}function r(ee,Q){let xe={msg:ne.MEDIA_SEGMENT,data:{type:ee,data:Q}};Pe.postMessage(xe,[Q.data])}function o(){let ee={msg:ne.LOADING_COMPLETE};Pe.postMessage(ee)}function a(){let ee={msg:ne.RECOVERED_EARLY_EOF};Pe.postMessage(ee)}function R(ee){let Q={msg:ne.MEDIA_INFO,data:ee};Pe.postMessage(Q)}function p(ee){let Q={msg:ne.METADATA_ARRIVED,data:ee};Pe.postMessage(Q)}function L(ee){let Q={msg:ne.SCRIPTDATA_ARRIVED,data:ee};Pe.postMessage(Q)}function F(ee){let Q={msg:ne.STATISTICS_INFO,data:ee};Pe.postMessage(Q)}function le(ee,Q){Pe.postMessage({msg:ne.IO_ERROR,data:{type:ee,info:Q}})}function U(ee,Q){Pe.postMessage({msg:ne.DEMUX_ERROR,data:{type:ee,info:Q}})}function Ee(ee){Pe.postMessage({msg:ne.RECOMMEND_SEEKPOINT,data:ee})}function se(ee,Q){Pe.postMessage({msg:"logcat_callback",data:{type:ee,logcat:Q}})}};class Tt{constructor(e,n){if(this.TAG="Transmuxer",this._emitter=new(N()),n.enableWorker&&typeof Worker!="undefined")try{let i=l(82059);this._worker=i(st),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,n]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},ve.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:ve.getConfig()})}catch(i){T.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ot(e,n)}else this._controller=new ot(e,n);if(this._controller){let i=this._controller;i.on(ne.IO_ERROR,this._onIOError.bind(this)),i.on(ne.DEMUX_ERROR,this._onDemuxError.bind(this)),i.on(ne.INIT_SEGMENT,this._onInitSegment.bind(this)),i.on(ne.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),i.on(ne.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),i.on(ne.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),i.on(ne.MEDIA_INFO,this._onMediaInfo.bind(this)),i.on(ne.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),i.on(ne.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),i.on(ne.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),i.on(ne.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),ve.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,n){this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,n){Promise.resolve().then(()=>{this._emitter.emit(ne.INIT_SEGMENT,e,n)})}_onMediaSegment(e,n){Promise.resolve().then(()=>{this._emitter.emit(ne.MEDIA_SEGMENT,e,n)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(ne.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(ne.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(ne.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(ne.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(ne.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(ne.STATISTICS_INFO,e)})}_onIOError(e,n){Promise.resolve().then(()=>{this._emitter.emit(ne.IO_ERROR,e,n)})}_onDemuxError(e,n){Promise.resolve().then(()=>{this._emitter.emit(ne.DEMUX_ERROR,e,n)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(ne.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let n=e.data,i=n.data;if(n.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(n.msg){case ne.INIT_SEGMENT:case ne.MEDIA_SEGMENT:this._emitter.emit(n.msg,i.type,i.data);break;case ne.LOADING_COMPLETE:case ne.RECOVERED_EARLY_EOF:this._emitter.emit(n.msg);break;case ne.MEDIA_INFO:Object.setPrototypeOf(i,tt.prototype),this._emitter.emit(n.msg,i);break;case ne.METADATA_ARRIVED:case ne.SCRIPTDATA_ARRIVED:case ne.STATISTICS_INFO:this._emitter.emit(n.msg,i);break;case ne.IO_ERROR:case ne.DEMUX_ERROR:this._emitter.emit(n.msg,i.type,i.info);break;case ne.RECOMMEND_SEEKPOINT:this._emitter.emit(n.msg,i);break;case"logcat_callback":T.emitter.emit("log",i.type,i.logcat);break;default:break}}}var Mt=Tt,kt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class Jt{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(N()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new ie}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,n){this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}attachMediaElement(e){if(this._mediaSource)throw new I("MediaSource has been attached to an HTMLMediaElement!");let n=this._mediaSource=new window.MediaSource;n.addEventListener("sourceopen",this.e.onSourceOpen),n.addEventListener("sourceended",this.e.onSourceEnded),n.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let n in this._sourceBuffers){let i=this._pendingSegments[n];i.splice(0,i.length),this._pendingSegments[n]=null,this._pendingRemoveRanges[n]=null,this._lastInitSegments[n]=null;let t=this._sourceBuffers[n];if(t){if(e.readyState!=="closed"){try{e.removeSourceBuffer(t)}catch(r){T.e(this.TAG,r.message)}t.removeEventListener("error",this.e.onSourceBufferError),t.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[n]=null,this._sourceBuffers[n]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(n){T.e(this.TAG,n.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,n){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let i=e,t=`${i.container}`;i.codec&&i.codec.length>0&&(t+=`;codecs=${i.codec}`);let r=!1;if(T.v(this.TAG,"Received Initialization Segment, mimeType: "+t),this._lastInitSegments[i.type]=i,t!==this._mimeTypes[i.type]){if(this._mimeTypes[i.type])T.v(this.TAG,`Notice: ${i.type} mimeType changed, origin: ${this._mimeTypes[i.type]}, target: ${t}`);else{r=!0;try{let o=this._sourceBuffers[i.type]=this._mediaSource.addSourceBuffer(t);o.addEventListener("error",this.e.onSourceBufferError),o.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(o){T.e(this.TAG,o.message),this._emitter.emit(kt.ERROR,{code:o.code,msg:o.message});return}}this._mimeTypes[i.type]=t}n||this._pendingSegments[i.type].push(i),r||this._sourceBuffers[i.type]&&!this._sourceBuffers[i.type].updating&&this._doAppendSegments(),Y.safari&&i.container==="audio/mpeg"&&i.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=i.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let n=e;this._pendingSegments[n.type].push(n),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let i=this._sourceBuffers[n.type];i&&!i.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let n in this._sourceBuffers){if(!this._sourceBuffers[n])continue;let i=this._sourceBuffers[n];if(this._mediaSource.readyState==="open")try{i.abort()}catch(r){T.e(this.TAG,r.message)}this._idrList.clear();let t=this._pendingSegments[n];if(t.splice(0,t.length),this._mediaSource.readyState!=="closed"){for(let r=0;r=1&&e-t.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let n in this._sourceBuffers){let i=this._sourceBuffers[n];if(i){let t=i.buffered,r=!1;for(let o=0;o=this._config.autoCleanupMaxBackwardDuration){r=!0;let p=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[n].push({start:a,end:p})}}else R0&&(isNaN(n)||i>n)&&(T.v(this.TAG,`Update MediaSource duration from ${n} to ${i}`),this._mediaSource.duration=i),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let n=this._sourceBuffers[e],i=this._pendingRemoveRanges[e];for(;i.length&&!n.updating;){let t=i.shift();n.remove(t.start,t.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let n in e)if(!(!this._sourceBuffers[n]||this._sourceBuffers[n].updating)&&e[n].length>0){let i=e[n].shift();if(i.timestampOffset){let t=this._sourceBuffers[n].timestampOffset,r=i.timestampOffset/1e3;Math.abs(t-r)>.1&&(T.v(this.TAG,`Update MPEG audio timestampOffset from ${t} to ${r}`),this._sourceBuffers[n].timestampOffset=r),delete i.timestampOffset}if(!i.data||i.data.byteLength===0)continue;try{this._sourceBuffers[n].appendBuffer(i.data),this._isBufferFull=!1,n==="video"&&i.hasOwnProperty("info")&&this._idrList.appendArray(i.info.syncPoints)}catch(t){this._pendingSegments[n].unshift(i),t.code===22?(this._isBufferFull||this._emitter.emit(kt.BUFFER_FULL),this._isBufferFull=!0):(T.e(this.TAG,t.message),this._emitter.emit(kt.ERROR,{code:t.code,msg:t.message}))}}}_onSourceOpen(){if(T.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let n=e.shift();this.appendInitSegment(n,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(kt.SOURCE_OPEN)}_onSourceEnded(){T.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){T.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(kt.UPDATE_END)}_onSourceBufferError(e){T.e(this.TAG,`SourceBuffer Error: ${e}`)}}var Wt=Jt;const Ue={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},mt={NETWORK_EXCEPTION:Re.EXCEPTION,NETWORK_STATUS_CODE_INVALID:Re.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:Re.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:Re.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:S.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:S.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:S.CODEC_UNSUPPORTED};class Xt{constructor(e,n){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(N()),this._config=J(),typeof n=="object"&&Object.assign(this._config,n),e.type.toLowerCase()!=="flv")throw new Ae("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let i=Y.chrome&&(Y.version.major<50||Y.version.major===50&&Y.version.build<2661);this._alwaysSeekKeyframe=!!(i||Y.msedge||Y.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,n){e===te.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(te.MEDIA_INFO,this.mediaInfo)}):e===te.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(te.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new Wt(this._config),this._msectl.on(kt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(kt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(kt.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(kt.ERROR,n=>{this._emitter.emit(te.ERROR,Ue.MEDIA_ERROR,mt.MEDIA_MSE_ERROR,n)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(n){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new I("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new I("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Mt(this._mediaDataSource,this._config),this._transmuxer.on(ne.INIT_SEGMENT,(e,n)=>{this._msectl.appendInitSegment(n)}),this._transmuxer.on(ne.MEDIA_SEGMENT,(e,n)=>{if(this._msectl.appendMediaSegment(n),this._config.lazyLoad&&!this._config.isLive){let i=this._mediaElement.currentTime;n.info.endDts>=(i+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(T.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(ne.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(te.LOADING_COMPLETE)}),this._transmuxer.on(ne.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(te.RECOVERED_EARLY_EOF)}),this._transmuxer.on(ne.IO_ERROR,(e,n)=>{this._emitter.emit(te.ERROR,Ue.NETWORK_ERROR,e,n)}),this._transmuxer.on(ne.DEMUX_ERROR,(e,n)=>{this._emitter.emit(te.ERROR,Ue.MEDIA_ERROR,e,{code:-1,msg:n})}),this._transmuxer.on(ne.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(te.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(ne.METADATA_ARRIVED,e=>{this._emitter.emit(te.METADATA_ARRIVED,e)}),this._transmuxer.on(ne.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(te.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(ne.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(te.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(ne.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let n=!0,i=0,t=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();i=r.totalVideoFrames,t=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(i=this._mediaElement.webkitDecodedFrameCount,t=this._mediaElement.webkitDroppedFrameCount):n=!1;return n&&(e.decodedFrames=i,e.droppedFrames=t),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,n=this._mediaElement.currentTime,i=0,t=0;for(let r=0;r=n+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(T.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){T.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,n=this._mediaElement.buffered,i=!1;for(let t=0;t=r&&e=o-this._config.lazyLoadRecoverDuration&&(i=!0);break}}i&&(window.clearInterval(this._progressChecker),this._progressChecker=null,i&&(T.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let n=this._mediaElement.buffered;for(let i=0;i=t&&e0){let r=this._mediaElement.buffered.start(0);(r<1&&e0&&n.currentTime0){let t=i.start(0);if(t<1&&n{this._emitter.emit(te.MEDIA_INFO,this.mediaInfo)}):e===te.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(te.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(n){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new I("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let n={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(n.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(n.width=this._mediaElement.videoWidth,n.height=this._mediaElement.videoHeight)),n}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let n=!0,i=0,t=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();i=r.totalVideoFrames,t=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(i=this._mediaElement.webkitDecodedFrameCount,t=this._mediaElement.webkitDroppedFrameCount):n=!1;return n&&(e.decodedFrames=i,e.droppedFrames=t),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(te.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(te.STATISTICS_INFO,this.statisticsInfo)}}var ln=zt;g.install();function Ut(Pe,e){let n=Pe;if(n==null||typeof n!="object")throw new Ae("MediaDataSource must be an javascript object!");if(!n.hasOwnProperty("type"))throw new Ae("MediaDataSource must has type field to indicate video file type!");switch(n.type){case"flv":return new ft(n,e);default:return new ln(n,e)}}function qt(){return Ge.supportMSEH264Playback()}function Ft(){return Ge.getFeatureList()}let Gt={};Gt.createPlayer=Ut,Gt.isSupported=qt,Gt.getFeatureList=Ft,Gt.BaseLoader=Te,Gt.LoaderStatus=C,Gt.LoaderErrors=Re,Gt.Events=te,Gt.ErrorTypes=Ue,Gt.ErrorDetails=mt,Gt.FlvPlayer=ft,Gt.NativePlayer=ln,Gt.LoggingControl=ve,Object.defineProperty(Gt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var pn=Gt},56762:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return g}});var f=l(59301);function g(){const[,O]=f.useReducer(N=>N+1,0);return O}},19080:function(It,Be,l){"use strict";l.d(Be,{F:function(){return w},Z:function(){return N}});var f=l(92310),g=l.n(f);const O=null;function N(T,ge,be){return g()({[`${T}-status-success`]:ge==="success",[`${T}-status-warning`]:ge==="warning",[`${T}-status-error`]:ge==="error",[`${T}-status-validating`]:ge==="validating",[`${T}-has-feedback`]:be})}const w=(T,ge)=>ge||T},18889:function(It,Be,l){"use strict";l.d(Be,{Z:function(){return He}});var f=l(92310),g=l.n(f),O=l(2738),N=l(59301),w=l(36355),T=l(19716),ge=l(61621),be=l(99313),q=function(E,De){var we={};for(var J in E)Object.prototype.hasOwnProperty.call(E,J)&&De.indexOf(J)<0&&(we[J]=E[J]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,J=Object.getOwnPropertySymbols(E);de{var{prefixCls:De,className:we,hoverable:J=!0}=E,de=q(E,["prefixCls","className","hoverable"]);const{getPrefixCls:Ge}=N.useContext(w.E_),X=Ge("card",De),te=g()(`${X}-grid`,we,{[`${X}-grid-hoverable`]:J});return N.createElement("div",Object.assign({},de,{className:te}))},b=l(17313),C=l(83116),Re=l(37613);const Te=E=>{const{antCls:De,componentCls:we,headerHeight:J,cardPaddingBase:de,tabsMarginBottom:Ge}=E;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:J,marginBottom:-1,padding:`0 ${de}px`,color:E.colorTextHeading,fontWeight:E.fontWeightStrong,fontSize:E.headerFontSize,background:E.headerBg,borderBottom:`${E.lineWidth}px ${E.lineType} ${E.colorBorderSecondary}`,borderRadius:`${E.borderRadiusLG}px ${E.borderRadiusLG}px 0 0`},(0,b.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},b.vS),{[` > ${we}-typography, > ${we}-typography-edit-content diff --git a/p__Classrooms__Lists__Video__Items__videoInfo__index.5400bd55.async.js b/p__Classrooms__Lists__Video__Items__videoInfo__index.60a897ef.async.js similarity index 99% rename from p__Classrooms__Lists__Video__Items__videoInfo__index.5400bd55.async.js rename to p__Classrooms__Lists__Video__Items__videoInfo__index.60a897ef.async.js index 951d1b4f73..2a144e0b20 100644 --- a/p__Classrooms__Lists__Video__Items__videoInfo__index.5400bd55.async.js +++ b/p__Classrooms__Lists__Video__Items__videoInfo__index.60a897ef.async.js @@ -1,4 +1,4 @@ -!(function(){var Yr=Object.defineProperty,Jr=Object.defineProperties;var Qr=Object.getOwnPropertyDescriptors;var Ir=Object.getOwnPropertySymbols;var Br=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable;var Nr=(Je,Q,r)=>Q in Je?Yr(Je,Q,{enumerable:!0,configurable:!0,writable:!0,value:r}):Je[Q]=r,qn=(Je,Q)=>{for(var r in Q||(Q={}))Br.call(Q,r)&&Nr(Je,r,Q[r]);if(Ir)for(var r of Ir(Q))Kr.call(Q,r)&&Nr(Je,r,Q[r]);return Je},Ar=(Je,Q)=>Jr(Je,Qr(Q));var Zr=(Je,Q)=>{var r={};for(var u in Je)Br.call(Je,u)&&Q.indexOf(u)<0&&(r[u]=Je[u]);if(Je!=null&&Ir)for(var u of Ir(Je))Q.indexOf(u)<0&&Kr.call(Je,u)&&(r[u]=Je[u]);return r};(self.webpackChunk=self.webpackChunk||[]).push([[895],{40001:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},49198:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},84105:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},18785:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},52671:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},8657:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},56082:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},33853:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},15075:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},43531:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},38819:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},47472:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},96059:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return ue}});var u=r(59301),m=r(65582),$=r(8591),K=r(38147),R={flex_box_center:"flex_box_center___kVqBh",flex_space_between:"flex_space_between___FMnNq",flex_box_vertical_center:"flex_box_vertical_center___meESe",flex_box_center_end:"flex_box_center_end___KFpOb",flex_box_column:"flex_box_column___GHIK9",video:"video___nn_cD"},S=r(54624),U=r(59301),q=(P,b,j)=>new Promise((k,B)=>{var z=I=>{try{A(j.next(I))}catch(_){B(_)}},w=I=>{try{A(j.throw(I))}catch(_){B(_)}},A=I=>I.done?k(I.value):Promise.resolve(I.value).then(z,w);A((j=j.apply(P,b)).next())});const Y=function(b,j){const k=b.split(","),B=k[0].match(/:(.*?);/)[1],z=atob(k[1]);let w=z.length;const A=new Uint8Array(w);for(;w--;)A[w]=z.charCodeAt(w);return new Blob([A],{type:B})};var ue=(0,u.forwardRef)(({time:P,number:b,supportCamera:j,take_photo:k,isExercise:B=!0,update:z,onUserMediaLoaded:w},A)=>{const I=(0,u.useRef)(),_=(0,u.useRef)(),c=(0,m.useParams)();let[i,s]=(0,u.useState)([]),[f,N]=(0,u.useState)(0);const[F,te]=(0,u.useState)("");let[M,ce]=(0,u.useState)();const[H,Se]=(0,u.useState)(0),T=(Ie,Ue)=>q(void 0,null,function*(){return(0,K.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:Ie,file:Ue}})}),ae=Ie=>q(void 0,null,function*(){const Ue=new Date().valueOf();if(Ie){const tt=yield T(`\u7167\u7247${Ue}`,Ie);tt.status||(yield(0,S.Ju)({container_id:c.categoryId,container_type:"Exercise",attachment_id:tt==null?void 0:tt.id}))}});(0,u.useEffect)(()=>(Te(),()=>{De(),Pe()}),[]),(0,u.useEffect)(()=>{f===2&&P&&b>0&&(se(),Se(1))},[P]),(0,u.useEffect)(()=>{if(H!==0){if(H===2)clearInterval(M);else{let Ie=0,Ue=setInterval(()=>{i.includes(Ie)&&we(),Ie++},1e3);ce(Ue)}return()=>clearInterval(M)}},[H]),(0,u.useImperativeHandle)(A,()=>({handlePhoto:we,handleTakePhoto:xe}));const Pe=()=>{Se(2)},se=()=>{const Ie=P/b,Ue=[];function tt(he,je){return parseInt(Math.floor(Math.random()*(je-he+1))+he)}new Array(b).fill(0).map((he,je)=>{k?Ue.push(tt(Ie*je,Ie*(je+1))):je==0?Ue.push(0):Ue.push(tt(Ie*je,Ie*(je+1)))}),i=Ue,s([...Ue]),console.log(Ue)},Te=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(Ie){const Ue=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return Ue?new Promise(function(tt,he){Ue.call(navigator,Ie,tt,he)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(Ie){Ce.current=Ie,j&&j(2),N(2),"srcObject"in I.current?I.current.srcObject=Ie:I.current.src=window.URL.createObjectURL(Ie),I.current.onloadedmetadata=function(Ue){I.current.play(),w&&w()},I.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),Pe(),B&&$.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(Ie){N(1),j&&j(1),Ie.message==="Permission denied"||Ie.name==="NotAllowedError"?$.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):$.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+Ie.name),console.log("err: "+Ie.message)})},we=()=>{try{_.current.width=I.current.videoWidth,_.current.height=I.current.videoHeight,_.current.getContext("2d").drawImage(I.current,0,0,_.current.width,_.current.height),te(_.current.toDataURL("image/png")),ae(_.current.toDataURL("image/png")),Be(_.current.toDataURL("image/png"))}catch(Ie){}},xe=()=>{try{return _.current.width=I.current.videoWidth,_.current.height=I.current.videoHeight,_.current.getContext("2d").drawImage(I.current,0,0,_.current.width,_.current.height),_.current.toDataURL("image/png")}catch(Ie){}},Ce=(0,u.useRef)(),De=()=>{try{Ce.current.getTracks().forEach(function(tt){tt.stop()}),I.current.srcObject=null}catch(Ie){}},Be=Ie=>q(void 0,null,function*(){const Ue=new FormData;Ue.append("file",Y(Ie,"1")),Ue.append("1","123");var tt=new window.XMLHttpRequest;tt.withCredentials=!0,tt.addEventListener("load",function(he){let je=JSON.parse(he.target.responseText);(0,K.ZP)(`/api/exercises/${id}/upload_photo.json`,{method:"post",body:{attachment_id:je.id}})},!1),tt.addEventListener("error",function(he){console.error(he)},!1),tt.open("POST",`${ENV.API_SERVER}/api/attachments.json`),tt.send(Ue)});return U.createElement(U.Fragment,null,f!==3&&U.createElement("aside",{className:R.video,id:"screenshot"},f===0&&U.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),f===1&&U.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),f===2&&U.createElement("div",null,U.createElement("video",{width:"288",ref:I,autoPlay:!0}),U.createElement("canvas",{style:{display:"none"},ref:_}))))})},21271:function(Je,Q,r){"use strict";var u=r(59301),m=r(54624),$=r(38147),K=r(43418),R=r(96249),S=r.n(R),U=r(96059),q=Object.defineProperty,Y=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,P=(B,z,w)=>z in B?q(B,z,{enumerable:!0,configurable:!0,writable:!0,value:w}):B[z]=w,b=(B,z)=>{for(var w in z||(z={}))C.call(z,w)&&P(B,w,z[w]);if(Y)for(var w of Y(z))ue.call(z,w)&&P(B,w,z[w]);return B},j=(B,z,w)=>new Promise((A,I)=>{var _=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(_,c);i((w=w.apply(B,z)).next())});const k=({style:B={},data:z={}})=>{const w=(0,u.useRef)(),A=(0,u.useRef)(),[I,_]=(0,u.useState)(!1),[c,i]=(0,u.useState)(!1),[s,f]=(0,u.useState)({left:0,top:0,bottom:0,right:0}),N=(0,u.useRef)(null);(0,u.useEffect)(()=>(K.default.info({title:"\u63D0\u793A",width:642,icon:null,centered:!0,content:u.createElement("div",null,u.createElement("div",null,"\u5DF2\u7ECF\u5F00\u542F\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u9700\u8981\u8C03\u7528\u4F60\u8BBE\u5907\u7684\u6444\u50CF\u5934\uFF0C\u8BF7\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\u3002"),u.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/36625"},"\u5982\u4F55\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\uFF1F")),okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{_(!0)}}),()=>{clearInterval(A.current)}),[]);const F=(ce,H)=>j(void 0,null,function*(){return(0,$.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:ce,file:H}})}),te=()=>j(void 0,null,function*(){var ce;const H=(ce=w.current)==null?void 0:ce.handleTakePhoto(),Se=new Date().valueOf();if(H){const T=yield F(`\u7167\u7247${Se}`,H);T.status||(yield(0,m.Ju)(b({attachment_id:T==null?void 0:T.id},z)))}}),M=(ce,H)=>{var Se;const{clientWidth:T,clientHeight:ae}=window.document.documentElement,Pe=(Se=N.current)==null?void 0:Se.getBoundingClientRect();f({left:-Pe.left+H.x,right:T-(Pe.right-H.x),top:-Pe.top+H.y,bottom:ae-(Pe.bottom-H.y)})};return u.createElement(u.Fragment,null,I&&u.createElement(S(),{disabled:c,bounds:s,onStart:(ce,H)=>M(ce,H)},u.createElement("div",{ref:N,style:b({position:"fixed",left:40,top:92,zIndex:101},B)},u.createElement("div",{onMouseOver:()=>{c&&i(!1)},onMouseOut:()=>{i(!0)}},u.createElement("div",null,u.createElement(U.Z,{ref:w,isExercise:!1,onUserMediaLoaded:()=>{te(),A.current=window.setInterval(()=>j(void 0,null,function*(){te()}),1e3*120)}}))))))};Q.Z=k},44080:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return k}});var u=r(59301),m=r(8591),$=r(38854),K=r(73217),R=r(17030),S=r(41867),U=r(56102),q=r(84056),Y={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},C=(B,z,w)=>new Promise((A,I)=>{var _=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(_,c);i((w=w.apply(B,z)).next())});function ue(B){if(isNaN(B))return{minutes:"00",seconds:"00"};const z=new Date(B*1e3).toISOString().substr(11,8);return{hour:z.substr(0,2),minutes:z.substr(3,2),seconds:z.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function P(B,z){return B-z}function b(B){B.sort(P);let z=0;for(let w=0;w{},handlePlay:s=()=>{},handlePlayEnded:f=()=>{},autoPlay:N=!1,onPlayEnded:F=()=>{},isShowWaterMark:te=!0},M)=>{var ce;const Se=((ce=z==null?void 0:z.split("."))==null?void 0:ce.pop())==="flv",T=(0,u.useRef)(),ae=(0,u.useRef)(),Pe=(0,u.useRef)(),se=(0,u.useRef)(),Te=(0,u.useRef)(),we=(0,u.useRef)(),xe=(0,u.useRef)(),Ce=(0,u.useRef)(),De=(0,u.useRef)(),Be=(0,u.useRef)(),Ie=(0,u.useRef)(),Ue=(0,u.useRef)(),tt=(0,u.useRef)(),he=(0,u.useRef)(),je=navigator.userAgent.toLowerCase().match(j),Me=je?je[0]:"pc",Ge=(0,u.useRef)(!1),nt=(0,S.eY)();let me=0,He=0,O=0,D=null,x=!1,h=20,Z=1,ee=!1,a=!1,o=[];(0,u.useImperativeHandle)(M,()=>({getLastUpdatedTime:()=>T.current.currentTime,getDuration:()=>T.current.duration})),m.ZP.config({maxCount:1,getContainer:()=>Pe.current});const E=(0,u.useCallback)((J,re=!1)=>{let X={point:T.current.currentTime};D?(X.log_id=D,X.watch_duration=b(o),X.total_duration=He):(_?(X.video_id=parseInt(A,10),X.course_id=_):X.video_id=A,X.duration=me,X.device=Me),re&&(X.ed="1");function Ze(){return C(this,null,function*(){ee=!0,D=yield I==null?void 0:I(X),ee=!1,J&&J()})}Ze()},[A,_]);(0,u.useEffect)(()=>{T.current&&(se.current.style.display="none",Te.current.style.display="block"),m.ZP.destroy();let J=null;return K.Z.isSupported&&Se&&z&&(z==null?void 0:z.indexOf(".m3u8"))<0?(J=K.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:z,muted:!1}),T.current&&(J.attachMediaElement(T.current),J.load())):T.current.setAttribute("src",z),g(),()=>{J&&(J.unload(),J.pause(),J.destroy(),J=null)}},[T,Se,z]);function l(){T.current.paused?(se.current.style.display="none",Te.current.style.display="block"):(se.current.style.display="block",Te.current.style.display="none")}function g(){Ie.current.style.display="none",tt.current.style.display="none",Ue.current.style.display="none",T.current.muted||T.current.volume===0?Ie.current.style.display="block":T.current.volume>0&&T.current.volume<=.5?tt.current.style.display="block":Ue.current.style.display="block"}(0,u.useEffect)(()=>{const J=document.getElementById("play"),re=document.querySelectorAll(".playback-icons use");function X(){s(),c&&!Ge.current&&(T.current.currentTime=c),Ge.current=!0,o.push(T.current.currentTime),x||(x=!0,w&&E())}function Ze(){return C(this,null,function*(){l(),o.push(T.current.currentTime),w&&E(()=>{D=null,O=0,x=!1,ee=!1,a=!1,o=[],He=0,Z=1},!0),F()})}function Le(){we.current.value=Math.round(T.current.currentTime),xe.current.value=Math.round(T.current.currentTime)}function V(){const Ve=ue(Math.round(T.current.currentTime));De.current.innerText=`${Ve.hour>0?Ve.hour+":":""}${Ve.minutes}:${Ve.seconds}`,De.current.setAttribute("datetime",`${Ve.hour>0?" "+Ve.hour+" ":""}${Ve.minutes}m ${Ve.seconds}s`)}function Ne(){var Ve,ft,At,dt,Lt,qt,kt;const Xt=Math.round((Ve=T.current)==null?void 0:Ve.duration);(At=(ft=we.current)==null?void 0:ft.setAttribute)==null||At.call(ft,"max",Xt),(Lt=(dt=xe.current)==null?void 0:dt.setAttribute)==null||Lt.call(dt,"max",Xt);const Kt=ue(Xt);Ce.current&&(Ce.current.innerText=`${Kt.hour>0?Kt.hour+":":""}${Kt.minutes}:${Kt.seconds}`,(kt=(qt=Ce.current).setAttribute)==null||kt.call(qt,"datetime",`${Kt.hour>0?" "+Kt.hour+" ":""}${Kt.minutes}m ${Kt.seconds}s`))}function Ye(){try{const Ve=Math.round(T.current.duration);we.current.setAttribute("max",Ve),xe.current.setAttribute("max",Ve);const ft=ue(Ve);Ce.current.innerText=`${ft.hour>0?ft.hour+":":""}${ft.minutes}:${ft.seconds}`,Ce.current.setAttribute("datetime",`${ft.hour>0?" "+ft.hour+" ":""}${ft.minutes}m ${ft.seconds}s`),Le(),V();const{width:At,height:dt,x:Lt,y:qt}=ae.current.getBoundingClientRect();if(Lt<0||qt<0||!At)return;if(!a){let kt=T.current.currentTime,Xt=kt-O;Math.abs(Xt)<10?(He+=Math.abs(Xt),O=kt,ee||He-Z*h>=0&&(Z++,o.push(O),w&&E())):(O=kt,w&&E())}}catch(Ve){console.log(Ve)}}function ot(){a=!0}function et(){T.current.playing&&o.push(T.current.currentTime,O),O=T.current.currentTime,a=!1}function qe(){me=T.current.duration,me<=20&&(h=me/3),T.current.addEventListener("play",X)}function mt(Ve){Ve.preventDefault(),(0,q.vp)()?(T.current.style.width="100%",T.current.style.height="100%"):T.current.style.cssText=""}function vt(){i()}function pt(Ve){if(!B){m.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const ft=Ve.target.dataset.seek?Ve.target.dataset.seek:Ve.target.value;T.current.currentTime=ft,xe.current.value=ft,we.current.value=ft}function wt(Ve){const ft=Math.round(Ve.offsetX/Ve.target.clientWidth*parseInt(Ve.target.getAttribute("max"),10));we.current.setAttribute("data-seek",ft);const At=ue(ft);Be.current.textContent=`${At.hour>0?At.hour+":":""}${At.minutes}:${At.seconds}`;const dt=T.current.getBoundingClientRect();Be.current.style.left=`${Ve.pageX-dt.left}px`}function xt(Ve){switch(Ve.code){case"Space":Ve.preventDefault(),G();break;case"ArrowRight":if(Ve.preventDefault(),!B){m.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime>=T.current.duration)break;T.current.currentTime=parseInt(T.current.currentTime)+5,Le();break;case"ArrowLeft":if(Ve.preventDefault(),!B){m.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime===0)break;T.current.currentTime=parseInt(T.current.currentTime)-5,Le();break;case"ArrowUp":Ve.preventDefault(),T.current.volume<1&&(T.current.volume=(parseInt(T.current.volume*10)+1)/10);break;case"ArrowDown":Ve.preventDefault(),T.current.volume>0&&(T.current.volume=(parseInt(T.current.volume*10)-1)/10);break}}return Pe.current.addEventListener((0,q.gH)(),mt),T.current.addEventListener("canplay",qe),T.current.addEventListener("ended",Ze),T.current.addEventListener("seeking",ot),T.current.addEventListener("seeked",et),T.current.addEventListener("loadedmetadata",Ne),we.current.addEventListener("mousemove",wt),we.current.addEventListener("input",pt),T.current.addEventListener("timeupdate",Ye),T.current.addEventListener("pause",vt),T.current.addEventListener("volumechange",g),document.addEventListener("keydown",xt),()=>{var Ve,ft,At,dt,Lt,qt,kt,Xt,Kt,Mt,fn,Ke;(Ve=T.current)==null||Ve.removeEventListener("canplay",qe),(ft=T.current)==null||ft.removeEventListener("play",X),(At=T.current)==null||At.removeEventListener("ended",Ze),(dt=T.current)==null||dt.removeEventListener("seeking",ot),(Lt=T.current)==null||Lt.removeEventListener("seeked",et),(qt=we.current)==null||qt.removeEventListener("mousemove",wt),(kt=we.current)==null||kt.removeEventListener("input",pt),(Xt=T.current)==null||Xt.removeEventListener("timeupdate",Ye),(Kt=T.current)==null||Kt.removeEventListener("pause",vt),(Mt=T.current)==null||Mt.removeEventListener("loadedmetadata",Ne),(fn=T.current)==null||fn.removeEventListener("volumechange",g),document.removeEventListener("keydown",xt),(Ke=T.current)!=null&&Ke.playing&&(o.push(O,T.current.currentTime),w&&E())}},[T,z]),(0,u.useEffect)(()=>{if(T.current.onended=()=>{f(T)},T.current.oncontextmenu=()=>!1,(z==null?void 0:z.indexOf(".m3u8"))>-1){if(T.current.canPlayType("application/vnd.apple.mpegurl"))T.current.src=z;else if(R.ZP.isSupported()){var J=new R.ZP;J.loadSource(z),J.attachMedia(T.current)}}},[z]);const[L,ne]=(0,u.useState)(1),G=()=>{T.current.paused||T.current.ended?T.current.play():T.current.pause(),l()};function de(){T.current.muted=!T.current.muted,T.current.muted?(he.current.setAttribute("data-volume",volume.value),he.current.value=0):he.current.value=he.current.dataset.volume}return u.createElement("div",{style:{position:"relative"},ref:Pe},u.createElement("div",{ref:ae,className:`${Y.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${Y.animate__loop}`},te&&nt?nt.login:" "),u.createElement("div",{className:Y.container},u.createElement("div",{className:Y["video-container"],id:"video-container"},u.createElement("div",{className:Y["playback-animation"],id:"playback-animation"},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{className:"hidden",href:"#play-icon"}),u.createElement("use",{href:"#pause"}))),u.createElement("video",{className:Y.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:T,autoPlay:N}),u.createElement("div",{className:`${Y["video-controls"]} `,id:"video-controls"},u.createElement("div",{className:Y["bottom-controls"]},u.createElement("div",{className:Y["left-controls"]},u.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:G},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{ref:Te,href:"#play-icon"}),u.createElement("use",{ref:se,style:{display:"none"},href:"#pause"}))),u.createElement("div",{className:Y.time},u.createElement("time",{id:"time-elapsed",ref:De},"00:00"),u.createElement("span",null," / "),u.createElement("time",{id:"duration",ref:Ce},"00:00"))),u.createElement("div",{className:Y["right-controls"]},B&&u.createElement($.Z,{placement:"top",overlayClassName:Y.rateOverlay,getPopupContainer:J=>J.parentNode,menu:{items:[{key:"1",label:u.createElement("span",{onClick:()=>{ne(1),T.current.playbackRate=1}},"1.0x")},{key:"2",label:u.createElement("span",{onClick:()=>{ne(1.5),T.current.playbackRate=1.5}},"1.5x")},{key:"3",label:u.createElement("span",{onClick:()=>{ne(2),T.current.playbackRate=2}},"2.0x")}]}},u.createElement("div",{className:`${Y.controlText} mr5`},"\u500D\u901F")),u.createElement(U.CopyToClipboard,{text:z,onCopy:()=>m.ZP.success("\u590D\u5236\u6210\u529F")},u.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},u.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),u.createElement("div",{className:Y["volume-controls"]},u.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:Y["volume-button"],id:"volume-button",onClick:de},u.createElement("i",{ref:Ie,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:tt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:Ue,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),u.createElement("input",{className:Y.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:he,style:{display:"none"},onClick:g})),u.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:Y["fullscreen-button"],onClick:()=>{(0,q.vp)()?(0,q.BU)():(0,q.Dj)(Pe.current)}},u.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),u.createElement("div",{className:Y["video-progress"]},u.createElement("progress",{ref:xe,value:"0",min:"0"}),u.createElement("input",{className:Y.seek,ref:we,value:"0",min:"0",type:"range",step:"1"}),u.createElement("div",{className:Y["seek-tooltip"],ref:Be,id:"seek-tooltip"},"00:00"))))),u.createElement("svg",{style:{display:"none"}},u.createElement("defs",null,u.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),u.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},u.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),u.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),u.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},u.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),u.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},u.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),u.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),u.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},u.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),u.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},u.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},36858:function(Je,Q,r){"use strict";r.r(Q),r.d(Q,{default:function(){return tt}});var u=r(59301),m=r(65582),$=r(71418),K={flex_box_center:"flex_box_center___gO3nd",flex_space_between:"flex_space_between___KljaZ",flex_box_vertical_center:"flex_box_vertical_center___fa17H",flex_box_center_end:"flex_box_center_end___Iha2a",flex_box_column:"flex_box_column___mCF7g",bg:"bg___yhRK8"},R=r(24334),S=r(44080),U=r(6848),q=r(58421),Y={contentWrap:"contentWrap___d4rCm",title:"title___bLyk5",footer:"footer___V7GbH",footer_left:"footer_left___ofIZM",footer_bfcs:"footer_bfcs___HUUgS",footer_bfcs_value:"footer_bfcs_value___T9e5h",pingfen:"pingfen___SEAu2",fenshu:"fenshu___GM8ss",radioGroup:"radioGroup___Bedpr",wrap:"wrap___PxISS",introName:"introName___l9xpu",rating:"rating___vCxjz",modalRating:"modalRating___UBNfA",zdbf:"zdbf___YbIbO",video_list:"video_list___KuU04",video_list_item:"video_list_item___gErkF",list_img:"list_img___MPWpq",list_text:"list_text___bEa03"},C=r(54624),ue=r(38147),P=r(65862),b=r(21271),j=r(41867),k=r(59301),B=Object.defineProperty,z=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,I=(he,je,Me)=>je in he?B(he,je,{enumerable:!0,configurable:!0,writable:!0,value:Me}):he[je]=Me,_=(he,je)=>{for(var Me in je||(je={}))w.call(je,Me)&&I(he,Me,je[Me]);if(z)for(var Me of z(je))A.call(je,Me)&&I(he,Me,je[Me]);return he},c=(he,je)=>{var Me={};for(var Ge in he)w.call(he,Ge)&&je.indexOf(Ge)<0&&(Me[Ge]=he[Ge]);if(he!=null&&z)for(var Ge of z(he))je.indexOf(Ge)<0&&A.call(he,Ge)&&(Me[Ge]=he[Ge]);return Me},i=(he,je,Me)=>new Promise((Ge,nt)=>{var me=D=>{try{O(Me.next(D))}catch(x){nt(x)}},He=D=>{try{O(Me.throw(D))}catch(x){nt(x)}},O=D=>D.done?Ge(D.value):Promise.resolve(D.value).then(me,He);O((Me=Me.apply(he,je)).next())});const s=he=>{var je=he,{videoDetail:Me,globalSetting:Ge,loading:nt,dispatch:me}=je,He=c(je,["videoDetail","globalSetting","loading","dispatch"]);const O=(0,m.useParams)(),[D]=(0,m.useSearchParams)(),[x,h]=(0,u.useState)({}),[Z,ee]=(0,u.useState)([]),[a,o]=(0,u.useState)(!1),[E,l]=(0,u.useState)(1),[g,L]=(0,u.useState)(4),[ne,G]=(0,u.useState)(0),de=(0,u.useRef)(),J=(0,u.useRef)(),re=(0,u.useRef)(5),X=(0,u.useRef)(null),Ze=(qe,mt)=>i(void 0,null,function*(){var vt,pt,wt,xt;if((pt=(vt=Me==null?void 0:Me.detail)==null?void 0:vt.detail)!=null&&pt.course_video_id){let Ve=yield(0,ue.ZP)(`/api/courses/${O==null?void 0:O.videoId}/ilearning_videos.json`,{method:"get",params:{type:2,limit:mt,video_id:(xt=(wt=Me==null?void 0:Me.detail)==null?void 0:wt.detail)==null?void 0:xt.course_video_id,page:qe}});(Ve==null?void 0:Ve.status)==0&&(ee(Ve==null?void 0:Ve.videos),G(Ve==null?void 0:Ve.total_count))}});(0,u.useEffect)(()=>{var qe;h((qe=Me==null?void 0:Me.detail)==null?void 0:qe.detail),l(1),Ze(1,g),clearTimeout(X.current),o(!1),X.current=setTimeout(()=>{var mt,vt;(vt=(mt=Me==null?void 0:Me.detail)==null?void 0:mt.detail)!=null&&vt.action_analysis&&o(!0)},1e3)},[Me==null?void 0:Me.detail]);const Le=qe=>{if(!qe.length)return[];const mt=[],vt=pt=>(pt.forEach(wt=>{let xt={};xt=JSON.parse(JSON.stringify(wt)),wt!=null&&wt.course_video_id&&mt.push(xt),wt.coruse_videos&&vt(wt.coruse_videos)}),mt);return vt(qe)},V=(qe=!1)=>{const mt=qe?{is_f:1}:{};return(0,C.DH)(_(_({},mt),{id:O.videoId,point:de.current.getLastUpdatedTime(),total:de.current.getDuration()}))},Ne=()=>{J.current=!1},Ye=()=>{J.current=!0},ot=qe=>{o(!1)},et=qe=>me({type:"userDetail/logWatchHistory",payload:qe});return console.log(x,O,"video_item"),k.createElement("aside",{className:Y.contentWrap},k.createElement("aside",{className:Y.wrap},k.createElement("div",{className:Y.title},x==null?void 0:x.title),k.createElement(S.Z,{ref:de,isShowWaterMark:x==null?void 0:x.show_watermark,startTime:x==null?void 0:x.last_point,src:x!=null&&x.is_link?x==null?void 0:x.link:(x==null?void 0:x.play_url)&&R.Base64.decode(x==null?void 0:x.play_url),videoId:x==null?void 0:x.course_video_id,courseId:O==null?void 0:O.videoId,handlePause:Ne,handlePlay:Ye,allow_skip:x==null?void 0:x.allow_skip,handlePlayEnded:ot,logWatchHistory:et,toLog:()=>{}}),k.createElement("div",{className:Y.footer},k.createElement("div",{className:Y.footer_left},k.createElement("div",{className:Y.footer_bfcs},"\u64AD\u653E\u6B21\u6570 "),k.createElement("div",{className:Y.footer_bfcs_value},(x==null?void 0:x.people_num)||0))),k.createElement("div",{className:Y.title,style:{fontSize:20,fontWeight:400}},"\u76F8\u5173\u89C6\u9891\u63A8\u8350"),k.createElement("div",{className:Y.video_list},Z==null?void 0:Z.map((qe,mt)=>k.createElement("div",{key:mt,className:Y.video_list_item,onClick:()=>{(0,P.xg)(qe==null?void 0:qe.link_url)}},k.createElement("img",{src:qe==null?void 0:qe.cover_url,className:Y.list_img}),k.createElement(U.Z,{placement:"bottom",title:qe==null?void 0:qe.title},k.createElement("div",{className:Y.list_text},qe==null?void 0:qe.title))))),k.createElement(q.Z,{showQuickJumper:!0,style:{marginTop:10,textAlign:"right"},onChange:(qe,mt)=>{L(mt),l(qe),Ze(qe,mt)},showSizeChanger:!0,pageSizeOptions:["4","8","12","16","20"],defaultCurrent:1,pageSize:g,current:E,hideOnSinglePage:!ne,total:ne})),a&&(0,j.dE)()&&k.createElement(b.Z,{data:{container_id:x.course_video_id,container_type:"CourseVideo"}}))};var f=(0,m.connect)(({videoDetail:he,loading:je,globalSetting:Me})=>({videoDetail:he,globalSetting:Me,loading:je}))(s),N=r(43418),F=r(8591),te=r(17574),M={flex_box_center:"flex_box_center___hRcmo",flex_space_between:"flex_space_between___mhQ84",flex_box_vertical_center:"flex_box_vertical_center___pWKUB",flex_box_center_end:"flex_box_center_end____UrsC",flex_box_column:"flex_box_column___qkAD1",list:"list___hYrSN",tree_style:"tree_style___UBl2H",title:"title___sw9X3",gray:"gray___KV9jR",brght:"brght___uqI6i",s1:"s1___kwobs",s3:"s3___CFhfR",active:"active___NS7Wp",tree_line:"tree_line___YDLUU",tabs_style:"tabs_style___ZG9FL",tabs_item:"tabs_item___oVjFx",tabs_item_active:"tabs_item_active___pLWXc"},ce=r(87513),H=r(60979),Se=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,Pe=(he,je)=>{var Me={};for(var Ge in he)T.call(he,Ge)&&je.indexOf(Ge)<0&&(Me[Ge]=he[Ge]);if(he!=null&&Se)for(var Ge of Se(he))je.indexOf(Ge)<0&&ae.call(he,Ge)&&(Me[Ge]=he[Ge]);return Me},se=(he,je,Me)=>new Promise((Ge,nt)=>{var me=D=>{try{O(Me.next(D))}catch(x){nt(x)}},He=D=>{try{O(Me.throw(D))}catch(x){nt(x)}},O=D=>D.done?Ge(D.value):Promise.resolve(D.value).then(me,He);O((Me=Me.apply(he,je)).next())});const Te=[{name:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",icon:u.createElement("i",{className:"iconfont icon-shixun2 font20"}),bq:u.createElement("span",{style:{border:"1px solid #FF9D18",color:"#FF9D18"},className:M.s1},"\u5B9E\u8BAD")},{name:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",icon:u.createElement("i",{className:"iconfont icon-shipin font20"}),bq:u.createElement("span",{style:{border:"1px solid #9B18FF",color:"#9B18FF"},className:M.s1},"\u89C6\u9891")},{name:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",icon:u.createElement("i",{className:"iconfont icon-jiaoxueanli font20"}),bq:u.createElement("span",{style:{border:"1px solid #3061D0",color:"#3061D0"},className:M.s1},"\u8D44\u6599")},{name:"\u7A7A\u76EE\u5F55",type:"StageCatalog",icon:u.createElement("i",{className:"iconfont icon-kongbai font20"}),bq:u.createElement("span",null)}],we=he=>{var je=he,{dispatch:Me,pathsDetail:Ge,videoDetail:nt,user:me}=je,He=Pe(je,["dispatch","pathsDetail","videoDetail","user"]);const{queryParams:O,stages:D,cust_seq:x,active:h}=nt,[Z]=(0,m.useSearchParams)(),[ee,a]=(0,u.useState)([]),[o,E]=(0,u.useState)("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"),l=(0,m.useParams)(),[g,L]=(0,u.useState)(0),[ne,G]=(0,u.useState)("");(0,u.useEffect)(()=>{Me({type:"videoDetail/getVideoData",payload:{id:l==null?void 0:l.videoId}})},[]),(0,u.useEffect)(()=>{var Le,V;L((V=(Le=nt==null?void 0:nt.detail)==null?void 0:Le.detail)==null?void 0:V.course_video_id),G(new Date)},[nt==null?void 0:nt.detail]),(0,u.useEffect)(()=>{de()},[nt==null?void 0:nt.stages]);const de=()=>{let Le=ee;D.forEach((V,Ne)=>{Me({type:"videoDetail/setVideoTabs",payload:{key:Z.get("new_video_id")}}),Z.get("new_video_id")==(V==null?void 0:V.course_video_id)&&Me({type:"videoDetail/setVideoValue",payload:{detail:V}}),Le.push({title:u.createElement("div",{title:V.name,className:M.title},V.name),value:V==null?void 0:V.id,key:V==null?void 0:V.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:J(V.children||[])})}),a(Le)},J=Le=>{function V(Ne){const Ye=Ne.children,ot=Array.isArray(Ye)&&Ye.length>0,{name:et,course_video_id:qe}=Ne,mt=M.brght,vt=Z.get("new_video_id")===qe?`${mt} ${M.active}`:mt;return Z.get("new_video_id")==(Ne==null?void 0:Ne.course_video_id)&&Me({type:"videoDetail/setVideoValue",payload:{detail:Ne}}),{title:u.createElement("div",{onClick:()=>Ze(Ne),className:mt,title:et},u.createElement("div",{className:M.s3},et)),value:qe,key:Le.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:ot?Ye==null?void 0:Ye.map(pt=>V(pt)):[]}}return Le==null?void 0:Le.map(Ne=>V(Ne))},re=Le=>{N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Le,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},X=Le=>{Le=Le!=null&&Le.includes(".json")?Le:`${Le}.json`,N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>se(void 0,null,function*(){const V=yield(0,ce.L8)({url:Le});if(!V)return;F.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Ne=yield(0,H.Ir)({id:V.shixun_identifier});if(Ne!=null&&Ne.game_identifier){(0,P.xg)(`/tasks/${Ne.game_identifier}`);return}(Ne==null?void 0:Ne.status)===2?X(Ne==null?void 0:Ne.message):(Ne==null?void 0:Ne.status)===3&&re(Ne==null?void 0:Ne.message)})})},Ze=Le=>{if(Le.link){(0,P.xg)(Le.link);return}clearTimeout(window.videoTimer),Me({type:"videoDetail/setVideoValue",payload:{detail:Le}})};return u.createElement("aside",{className:M.list},u.createElement("div",{className:M.tabs_style},u.createElement("div",{className:M.tabs_item,onClick:()=>{E("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55")}},"\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55",o=="\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"&&u.createElement("div",{className:M.tabs_item_active}))),u.createElement("div",{className:M.tree_style},(ee==null?void 0:ee.length)>0&&u.createElement(te.default,{key:ne,defaultSelectedKeys:[g||Number(g)||Number(Z.get("new_video_id"))],blockNode:!0,treeData:ee,defaultExpandAll:!0,className:M.tree_line})))};var xe=(0,m.connect)(({user:he,videoDetail:je,loading:Me,globalSetting:Ge,pathsDetail:nt})=>({user:he,videoDetail:je,globalSetting:Ge,loading:Me,pathsDetail:nt}))(we),Ce=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,Ie=(he,je)=>{var Me={};for(var Ge in he)De.call(he,Ge)&&je.indexOf(Ge)<0&&(Me[Ge]=he[Ge]);if(he!=null&&Ce)for(var Ge of Ce(he))je.indexOf(Ge)<0&&Be.call(he,Ge)&&(Me[Ge]=he[Ge]);return Me};const Ue=he=>{var je=he,{videoDetail:Me,globalSetting:Ge,loading:nt,pathsDetail:me,dispatch:He}=je,O=Ie(je,["videoDetail","globalSetting","loading","pathsDetail","dispatch"]);return u.createElement($.Z,{spinning:!1},u.createElement("section",{className:K.bg},u.createElement(xe,null),u.createElement(f,null)))};var tt=(0,m.connect)(({videoDetail:he,loading:je,globalSetting:Me,pathsDetail:Ge})=>({videoDetail:he,globalSetting:Me,loading:je,pathsDetail:Ge}))(Ue)},84056:function(Je,Q,r){"use strict";r.d(Q,{BU:function(){return m},Dj:function(){return u},gH:function(){return $},vp:function(){return K}});function u(R){try{R.mozRequestFullScreen?R.mozRequestFullScreen():R.webkitRequestFullScreen&&R.webkitRequestFullScreen()}catch(S){console.log(S,":e")}}function m(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const $=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function K(){var R=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,S=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",R),window.isFullScreen?window.isFullScreen:R!=null}},73217:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return fn}});class u{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","error",n),R.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","info",n),R.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","warn",n),R.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","debug",n),R.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","verbose",n),R.ENABLE_VERBOSE&&console.log(n)}}R.GLOBAL_TAG="flv.js",R.FORCE_GLOBAL_TAG=!1,R.ENABLE_ERROR=!0,R.ENABLE_INFO=!0,R.ENABLE_WARN=!0,R.ENABLE_DEBUG=!0,R.ENABLE_VERBOSE=!0,R.ENABLE_CALLBACK=!1,R.emitter=new(K());var S=R;class U{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var q=U;class Y{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class C extends Y{constructor(e){super(e)}get name(){return"IllegalStateException"}}class ue extends Y{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class P extends Y{constructor(e){super(e)}get name(){return"NotImplementedException"}}const b={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},j={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class k{constructor(e){this._type=e||"undefined",this._status=b.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=b.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===b.kConnecting||this._status===b.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new P("Unimplemented abstract function!")}abort(){throw new P("Unimplemented abstract function!")}}let B={};function z(){let Ke=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(Ke)||/(opr)[\/]([\w.]+)/.exec(Ke)||/(chrome)[ \/]([\w.]+)/.exec(Ke)||/(iemobile)[\/]([\w.]+)/.exec(Ke)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+)/.exec(Ke)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Ke)||/(msie) ([\w.]+)/.exec(Ke)||Ke.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Ke)||Ke.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Ke)||[],t=/(ipad)/.exec(Ke)||/(ipod)/.exec(Ke)||/(windows phone)/.exec(Ke)||/(iphone)/.exec(Ke)||/(kindle)/.exec(Ke)||/(android)/.exec(Ke)||/(windows)/.exec(Ke)||/(mac)/.exec(Ke)||/(linux)/.exec(Ke)||/(cros)/.exec(Ke)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},d={};if(n.browser){d[n.browser]=!0;let y=n.majorVersion.split(".");d.version={major:parseInt(n.majorVersion,10),string:n.version},y.length>1&&(d.version.minor=parseInt(y[1],10)),y.length>2&&(d.version.build=parseInt(y[2],10))}if(n.platform&&(d[n.platform]=!0),(d.chrome||d.opr||d.safari)&&(d.webkit=!0),d.rv||d.iemobile){d.rv&&delete d.rv;let y="msie";n.browser=y,d[y]=!0}if(d.edge){delete d.edge;let y="msedge";n.browser=y,d[y]=!0}if(d.opr){let y="opera";n.browser=y,d[y]=!0}if(d.safari&&d.android){let y="android";n.browser=y,d[y]=!0}d.name=n.browser,d.platform=n.platform;for(let y in B)B.hasOwnProperty(y)&&delete B[y];Object.assign(B,d)}z();var w=B;class A extends k{static isSupported(){try{let e=w.msedge&&w.version.minor>=15048,t=w.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let d=this._seekHandler.getConfig(n,t),y=new self.Headers;if(typeof d.headers=="object"){let v=d.headers;for(let le in v)v.hasOwnProperty(le)&&y.append(le,v[le])}let p={method:"GET",headers:y,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let v in this._config.headers)y.append(v,this._config.headers[v]);e.cors===!1&&(p.mode="same-origin"),e.withCredentials&&(p.credentials="include"),e.referrerPolicy&&(p.referrerPolicy=e.referrerPolicy),this._status=b.kConnecting,self.fetch(d.url,p).then(v=>{if(this._requestAbort){this._requestAbort=!1,this._status=b.kIdle;return}if(v.ok&&v.status>=200&&v.status<=299){if(v.url!==d.url&&this._onURLRedirect){let W=this._seekHandler.removeURLParameters(v.url);this._onURLRedirect(W)}let le=v.headers.get("Content-Length");return le!=null&&(this._contentLength=parseInt(le),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,v.body.getReader())}else if(this._status=b.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:v.status,msg:v.statusText});else throw new Y("FetchStreamLoader: Http code invalid, "+v.status+" "+v.statusText)}).catch(v=>{if(this._status=b.kError,this._onError)this._onError(j.EXCEPTION,{code:-1,msg:v.message});else throw v})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&w.msedge)return;this._status=b.kError;let n=0,d=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=b.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=b.kBuffering}}_onProgress(e){if(this._status===b.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===b.kError)return;this._status=b.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=b.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let d=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&d!==this._currentRedirectedURL&&(this._currentRedirectedURL=d,this._onURLRedirect&&this._onURLRedirect(d))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let d=parseInt(n);d>0&&(this._contentLength=d,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let d=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let y=this._totalRange.from+this._receivedLength;this._receivedLength+=d.byteLength,this._onDataArrival&&this._onDataArrival(d,y,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${y+d.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let d=this._seekHandler.getConfig(n,t);this._currentRequestURL=d.url;let y=this._xhr=new XMLHttpRequest;if(y.open("GET",d.url,!0),y.responseType="arraybuffer",y.onreadystatechange=this._onReadyStateChange.bind(this),y.onprogress=this._onProgress.bind(this),y.onload=this._onLoad.bind(this),y.onerror=this._onXhrError.bind(this),e.withCredentials&&(y.withCredentials=!0),typeof d.headers=="object"){let p=d.headers;for(let v in p)p.hasOwnProperty(v)&&y.setRequestHeader(v,p[v])}if(typeof this._config.headers=="object"){let p=this._config.headers;for(let v in p)p.hasOwnProperty(v)&&y.setRequestHeader(v,p[v])}y.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=b.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=b.kBuffering}else if(this._status=b.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===b.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let d=e.total;this._internalAbort(),d!=null&d!==0&&(this._totalLength=d)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,d=0,y=0,p=n;if(e=t[d]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let p=this._normalizeSpeed(t);this._currentSpeedNormalized!==p&&(this._currentSpeedNormalized=p,this._currentChunkSizeKB=p)}let n=e.target.response,d=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let y=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=b.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=b.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}var te=F;class M{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let d;t.to!==-1?d=`bytes=${t.from.toString()}-${t.to.toString()}`:d=`bytes=${t.from.toString()}-`,n.Range=d}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var ce=M;class H{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let d=!0;n.indexOf("?")===-1&&(n+="?",d=!1),d&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,d=e.indexOf("?");d!==-1&&(n=e.substring(d+1));let y="";if(n!=null&&n.length>0){let p=n.split("&");for(let v=0;v0;le[0]!==this._startName&&le[0]!==this._endName&&(W&&(y+="&"),y+=p[v])}}return y.length===0?t:t+"?"+y}}var Se=H;class T{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new q,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===N?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new ce(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new Se(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new ue("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new ue(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=te;else if(I.isSupported())this._loaderClass=I;else if(c.isSupported())this._loaderClass=c;else if(N.isSupported())this._loaderClass=N;else throw new Y("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new ue("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let d=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(d,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,d=0,y=0,p=n;if(e=t[d]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let p=this._stashBuffer.slice(0,this._stashUsed),v=this._dispatchChunks(p,this._stashByteStart);if(v0){let le=new Uint8Array(p,v);y.set(le,0),this._stashUsed=le.byteLength,this._stashByteStart+=v}}else this._stashUsed=0,this._stashByteStart+=v;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let p=this._dispatchChunks(e,t);if(pthis._bufferSize&&(this._expandBuffer(v),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e,p),0),this._stashUsed+=v,this._stashByteStart=t+p}}}else if(this._stashUsed===0){let y=this._dispatchChunks(e,t);if(ythis._bufferSize&&this._expandBuffer(p),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,y),0),this._stashUsed+=p,this._stashByteStart=t+y}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let y=new Uint8Array(this._stashBuffer,0,this._bufferSize);y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let p=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(p0){let v=new Uint8Array(this._stashBuffer,p);y.set(v,0)}this._stashUsed-=p,this._stashByteStart+=p}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),d=t.byteLength-n;if(n0){let y=new Uint8Array(this._stashBuffer,0,this._bufferSize),p=new Uint8Array(t,n);y.set(p,0),this._stashUsed=p.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,d}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(S.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=j.UNRECOVERABLE_EARLY_EOF),e){case j.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=De.getConfig();e.emit("change",t)}}static registerListener(e){De.emitter.addListener("change",e)}static removeListener(e){De.emitter.removeListener("change",e)}static addLogListener(e){S.emitter.addListener("log",e),S.emitter.listenerCount("log")>0&&(S.ENABLE_CALLBACK=!0,De._notifyChange())}static removeLogListener(e){S.emitter.removeListener("log",e),S.emitter.listenerCount("log")===0&&(S.ENABLE_CALLBACK=!1,De._notifyChange())}}De.emitter=new(K());var Be=De;class Ie{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,d=e.length-1,y=0,p=0,v=d;for(t=e[y]&&t=128){e.push(String.fromCharCode(y&65535)),n+=2;continue}}}else if(t[n]<240){if(tt(t,n,2)){let y=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(y>=2048&&(y&63488)!==55296){e.push(String.fromCharCode(y&65535)),n+=3;continue}}}else if(t[n]<248&&tt(t,n,3)){let y=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(y>65536&&y<1114112){y-=65536,e.push(String.fromCharCode(y>>>10|55296)),e.push(String.fromCharCode(y&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var je=he;let Me=function(){let Ke=new ArrayBuffer(2);return new DataView(Ke).setInt16(0,256,!0),new Int16Array(Ke)[0]===256}();class Ge{static parseScriptData(e,t,n){let d={};try{let y=Ge.parseValue(e,t,n),p=Ge.parseValue(e,t+y.size,n-y.size);d[y.data]=p.data}catch(y){S.e("AMF",y.toString())}return d}static parseObject(e,t,n){if(n<3)throw new C("Data not enough when parse ScriptDataObject");let d=Ge.parseString(e,t,n),y=Ge.parseValue(e,t+d.size,n-d.size),p=y.objectEnd;return{data:{name:d.data,value:y.data},size:d.size+y.size,objectEnd:p}}static parseVariable(e,t,n){return Ge.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new C("Data not enough when parse String");let y=new DataView(e,t,n).getUint16(0,!Me),p;return y>0?p=je(new Uint8Array(e,t+2,y)):p="",{data:p,size:2+y}}static parseLongString(e,t,n){if(n<4)throw new C("Data not enough when parse LongString");let y=new DataView(e,t,n).getUint32(0,!Me),p;return y>0?p=je(new Uint8Array(e,t+4,y)):p="",{data:p,size:4+y}}static parseDate(e,t,n){if(n<10)throw new C("Data size invalid when parse Date");let d=new DataView(e,t,n),y=d.getFloat64(0,!Me),p=d.getInt16(8,!Me);return y+=p*60*1e3,{data:new Date(y),size:10}}static parseValue(e,t,n){if(n<1)throw new C("Data not enough when parse Value");let d=new DataView(e,t,n),y=1,p=d.getUint8(0),v,le=!1;try{switch(p){case 0:v=d.getFloat64(1,!Me),y+=8;break;case 1:{v=!!d.getUint8(1),y+=1;break}case 2:{let W=Ge.parseString(e,t+1,n-1);v=W.data,y+=W.size;break}case 3:{v={};let W=0;for((d.getUint32(n-4,!Me)&16777215)===9&&(W=3);y32)throw new ue("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let p=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,p}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let d=Math.min(n,this._current_word_bits_left),y=this._current_word>>>32-d;return this._current_word<<=d,this._current_word_bits_left-=d,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var He=me;class O{static _ebsp2rbsp(e){let t=e,n=t.byteLength,d=new Uint8Array(n),y=0;for(let p=0;p=2&&t[p]===3&&t[p-1]===0&&t[p-2]===0||(d[y]=t[p],y++);return new Uint8Array(d.buffer,0,y)}static parseSPS(e){let t=O._ebsp2rbsp(e),n=new He(t);n.readByte();let d=n.readByte();n.readByte();let y=n.readByte();n.readUEG();let p=O.getProfileString(d),v=O.getLevelString(y),le=1,W=420,Re=[0,420,422,444],Oe=8;if((d===100||d===110||d===122||d===244||d===44||d===83||d===86||d===118||d===128||d===138||d===144)&&(le=n.readUEG(),le===3&&n.readBits(1),le<=3&&(W=Re[le]),Oe=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let ht=le!==3?8:12;for(let st=0;st0&&ht<16?(gt=st[ht-1],Xe=It[ht-1]):ht===255&&(gt=n.readByte()<<8|n.readByte(),Xe=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let ht=n.readBits(32),st=n.readBits(32);ie=n.readBool(),oe=st,fe=ht*2,ut=oe/fe}}let ye=1;(gt!==1||Xe!==1)&&(ye=gt/Xe);let ge=0,ve=0;if(le===0)ge=1,ve=2-pe;else{let ht=le===3?1:2,st=le===1?2:1;ge=ht,ve=st*(2-pe)}let We=(ke+1)*16,it=(2-pe)*(($e+1)*16);We-=(_e+ze)*ge,it-=(Ae+Qe)*ve;let at=Math.ceil(We*ye);return n.destroy(),n=null,{profile_string:p,level_string:v,bit_depth:Oe,ref_frames:Ee,chroma_format:W,chroma_format_string:O.getChromaFormatString(W),frame_rate:{fixed:ie,fps:ut,fps_den:fe,fps_num:oe},sar_ratio:{width:gt,height:Xe},codec_size:{width:We,height:it},present_size:{width:at,height:it}}}static _skipScalingList(e,t){let n=8,d=8,y=0;for(let p=0;p>>8&255|(Ke&255)<<8}function ee(Ke){return(Ke&4278190080)>>>24|(Ke&16711680)>>>8|(Ke&65280)<<8|(Ke&255)<<24}function a(Ke,e){return Ke[e]<<24|Ke[e+1]<<16|Ke[e+2]<<8|Ke[e+3]}class o{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Ue,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let d=(t[4]&4)>>>2!==0,y=(t[4]&1)!==0,p=a(t,5);return p<9?n:{match:!0,consumed:p,dataOffset:p,hasAudioTrack:d,hasVideoTrack:y}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Ue}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new C("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,d=this._littleEndian;if(t===0)if(e.byteLength>13)n=o.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&S.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!d)!==0&&S.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let p=y.getUint8(0),v=y.getUint32(0,!d)&16777215;if(n+11+v+4>e.byteLength)break;if(p!==8&&p!==9&&p!==18){S.w(this.TAG,`Unsupported tag type ${p}, skipped`),n+=11+v+4;continue}let le=y.getUint8(4),W=y.getUint8(5),Re=y.getUint8(6),Oe=y.getUint8(7),Fe=Re|W<<8|le<<16|Oe<<24;(y.getUint32(7,!d)&16777215)!==0&&S.w(this.TAG,"Meet tag which has StreamID != 0!");let ke=n+11;switch(p){case 8:this._parseAudioData(e,ke,v,Fe);break;case 9:this._parseVideoData(e,ke,v,Fe,t+n);break;case 18:this._parseScriptData(e,ke,v);break}let $e=y.getUint32(11+v,!d);$e!==11+v&&S.w(this.TAG,`Invalid PrevTagSize ${$e}`),n+=11+v+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let d=nt.parseScriptData(e,t,n);if(d.hasOwnProperty("onMetaData")){if(d.onMetaData==null||typeof d.onMetaData!="object"){S.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&S.w(this.TAG,"Found another onMetaData tag!"),this._metadata=d;let y=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},y)),typeof y.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=y.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof y.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=y.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof y.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=y.audiodatarate),typeof y.videodatarate=="number"&&(this._mediaInfo.videoDataRate=y.videodatarate),typeof y.width=="number"&&(this._mediaInfo.width=y.width),typeof y.height=="number"&&(this._mediaInfo.height=y.height),typeof y.duration=="number"){if(!this._durationOverrided){let p=Math.floor(y.duration*this._timescale);this._duration=p,this._mediaInfo.duration=p}}else this._mediaInfo.duration=0;if(typeof y.framerate=="number"){let p=Math.floor(y.framerate*1e3);if(p>0){let v=p/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=v,this._referenceFrameRate.fps_num=p,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=v}}if(typeof y.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let p=y.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(p),y.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=y,S.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(d).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},d))}_parseKeyframesIndex(e){let t=[],n=[];for(let d=1;d>>4;if(le!==2&&le!==10){this._onError(h.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+le);return}let W=0,Re=(v&12)>>>2;if(Re>=0&&Re<=4)W=this._flvSoundRateTable[Re];else{this._onError(h.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Re);return}let Oe=(v&2)>>>1,Fe=v&1,Ee=this._audioMetadata,ke=this._audioTrack;if(Ee||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ee=this._audioMetadata={},Ee.type="audio",Ee.id=ke.id,Ee.timescale=this._timescale,Ee.duration=this._duration,Ee.audioSampleRate=W,Ee.channelCount=Fe===0?1:2),le===10){let $e=this._parseAACAudioData(e,t+1,n-1);if($e==null)return;if($e.packetType===0){Ee.config&&S.w(this.TAG,"Found another AudioSpecificConfig!");let pe=$e.data;Ee.audioSampleRate=pe.samplingRate,Ee.channelCount=pe.channelCount,Ee.codec=pe.codec,Ee.originalCodec=pe.originalCodec,Ee.config=pe.config,Ee.refSampleDuration=1024/Ee.audioSampleRate*Ee.timescale,S.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ee);let _e=this._mediaInfo;_e.audioCodec=Ee.originalCodec,_e.audioSampleRate=Ee.audioSampleRate,_e.audioChannelCount=Ee.channelCount,_e.hasVideo?_e.videoCodec!=null&&(_e.mimeType='video/x-flv; codecs="'+_e.videoCodec+","+_e.audioCodec+'"'):_e.mimeType='video/x-flv; codecs="'+_e.audioCodec+'"',_e.isComplete()&&this._onMediaInfo(_e)}else if($e.packetType===1){let pe=this._timestampBase+d,_e={unit:$e.data,length:$e.data.byteLength,dts:pe,pts:pe};ke.samples.push(_e),ke.length+=$e.data.length}else S.e(this.TAG,`Flv: Unsupported AAC data type ${$e.packetType}`)}else if(le===2){if(!Ee.codec){let ze=this._parseMP3AudioData(e,t+1,n-1,!0);if(ze==null)return;Ee.audioSampleRate=ze.samplingRate,Ee.channelCount=ze.channelCount,Ee.codec=ze.codec,Ee.originalCodec=ze.originalCodec,Ee.refSampleDuration=1152/Ee.audioSampleRate*Ee.timescale,S.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ee);let Ae=this._mediaInfo;Ae.audioCodec=Ee.codec,Ae.audioSampleRate=Ee.audioSampleRate,Ae.audioChannelCount=Ee.channelCount,Ae.audioDataRate=ze.bitRate,Ae.hasVideo?Ae.videoCodec!=null&&(Ae.mimeType='video/x-flv; codecs="'+Ae.videoCodec+","+Ae.audioCodec+'"'):Ae.mimeType='video/x-flv; codecs="'+Ae.audioCodec+'"',Ae.isComplete()&&this._onMediaInfo(Ae)}let $e=this._parseMP3AudioData(e,t+1,n-1,!1);if($e==null)return;let pe=this._timestampBase+d,_e={unit:$e,length:$e.byteLength,dts:pe,pts:pe};ke.samples.push(_e),ke.length+=$e.length}}_parseAACAudioData(e,t,n){if(n<=1){S.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let d={},y=new Uint8Array(e,t,n);return d.packetType=y[0],y[0]===0?d.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):d.data=y.subarray(1),d}_parseAACAudioSpecificConfig(e,t,n){let d=new Uint8Array(e,t,n),y=null,p=0,v=0,le=null,W=0,Re=null;if(p=v=d[0]>>>3,W=(d[0]&7)<<1|d[1]>>>7,W<0||W>=this._mpegSamplingRates.length){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Oe=this._mpegSamplingRates[W],Fe=(d[1]&120)>>>3;if(Fe<0||Fe>=8){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}p===5&&(Re=(d[1]&7)<<1|d[2]>>>7,le=(d[2]&124)>>>2);let Ee=self.navigator.userAgent.toLowerCase();return Ee.indexOf("firefox")!==-1?W>=6?(p=5,y=new Array(4),Re=W-3):(p=2,y=new Array(2),Re=W):Ee.indexOf("android")!==-1?(p=2,y=new Array(2),Re=W):(p=5,Re=W,y=new Array(4),W>=6?Re=W-3:Fe===1&&(p=2,y=new Array(2),Re=W)),y[0]=p<<3,y[0]|=(W&15)>>>1,y[1]=(W&15)<<7,y[1]|=(Fe&15)<<3,p===5&&(y[1]|=(Re&15)>>>1,y[2]=(Re&1)<<7,y[2]|=8,y[3]=0),{config:y,samplingRate:Oe,channelCount:Fe,codec:"mp4a.40."+p,originalCodec:"mp4a.40."+v}}_parseMP3AudioData(e,t,n,d){if(n<4){S.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let y=this._littleEndian,p=new Uint8Array(e,t,n),v=null;if(d){if(p[0]!==255)return;let le=p[1]>>>3&3,W=(p[1]&6)>>1,Re=(p[2]&240)>>>4,Oe=(p[2]&12)>>>2,Ee=(p[3]>>>6&3)!==3?2:1,ke=0,$e=0,pe=34,_e="mp3";switch(le){case 0:ke=this._mpegAudioV25SampleRateTable[Oe];break;case 2:ke=this._mpegAudioV20SampleRateTable[Oe];break;case 3:ke=this._mpegAudioV10SampleRateTable[Oe];break}switch(W){case 1:pe=34,Re>>4,le=p&15;if(le!==7){this._onError(h.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${le}`);return}this._parseAVCVideoPacket(e,t+1,n-1,d,y,v)}_parseAVCVideoPacket(e,t,n,d,y,p){if(n<4){S.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let v=this._littleEndian,le=new DataView(e,t,n),W=le.getUint8(0),Oe=(le.getUint32(0,!v)&16777215)<<8>>8;if(W===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(W===1)this._parseAVCVideoData(e,t+4,n-4,d,y,p,Oe);else if(W!==2){this._onError(h.FORMAT_ERROR,`Flv: Invalid video packet type ${W}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){S.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let d=this._videoMetadata,y=this._videoTrack,p=this._littleEndian,v=new DataView(e,t,n);d?typeof d.avcc!="undefined"&&S.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),d=this._videoMetadata={},d.type="video",d.id=y.id,d.timescale=this._timescale,d.duration=this._duration);let le=v.getUint8(0),W=v.getUint8(1),Re=v.getUint8(2),Oe=v.getUint8(3);if(le!==1||W===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(v.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(h.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let Fe=v.getUint8(5)&31;if(Fe===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Fe>1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${Fe}`);let Ee=6;for(let $e=0;$e1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${ke}`);Ee++;for(let $e=0;$e=n){S.w(this.TAG,`Malformed Nalu near timestamp ${ke}, offset = ${Fe}, dataSize = ${n}`);break}let pe=W.getUint32(Fe,!le);if(Ee===3&&(pe>>>=8),pe>n-Ee){S.w(this.TAG,`Malformed Nalus near timestamp ${ke}, NaluSize > DataSize!`);return}let _e=W.getUint8(Fe+Ee)&31;_e===5&&($e=!0);let ze=new Uint8Array(e,t+Fe,Ee+pe),Ae={type:_e,data:ze};Re.push(Ae),Oe+=ze.byteLength,Fe+=Ee+pe}if(Re.length){let pe=this._videoTrack,_e={units:Re,length:Oe,isKeyframe:$e,dts:ke,cts:v,pts:ke+v};$e&&(_e.fileposition=y),pe.samples.push(_e),pe.length+=Oe}}}var E=o;class l{static init(){l.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in l.types)l.types.hasOwnProperty(t)&&(l.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=l.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,d=Array.prototype.slice.call(arguments,1),y=d.length;for(let v=0;v>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let p=8;for(let v=0;v>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return l.box(l.types.trak,l.tkhd(e),l.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,d=e.presentWidth,y=e.presentHeight;return l.box(l.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,d>>>8&255,d&255,0,0,y>>>8&255,y&255,0,0]))}static mdia(e){return l.box(l.types.mdia,l.mdhd(e),l.hdlr(e),l.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return l.box(l.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=l.constants.HDLR_AUDIO:t=l.constants.HDLR_VIDEO,l.box(l.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=l.box(l.types.smhd,l.constants.SMHD):t=l.box(l.types.vmhd,l.constants.VMHD),l.box(l.types.minf,t,l.dinf(),l.stbl(e))}static dinf(){return l.box(l.types.dinf,l.box(l.types.dref,l.constants.DREF))}static stbl(e){return l.box(l.types.stbl,l.stsd(e),l.box(l.types.stts,l.constants.STTS),l.box(l.types.stsc,l.constants.STSC),l.box(l.types.stsz,l.constants.STSZ),l.box(l.types.stco,l.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp3(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp4a(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types[".mp3"],d)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types.mp4a,d,l.esds(e))}static esds(e){let t=e.config||[],n=t.length,d=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return l.box(l.types.esds,d)}static avc1(e){let t=e.avcc,n=e.codecWidth,d=e.codecHeight,y=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,d>>>8&255,d&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return l.box(l.types.avc1,y,l.box(l.types.avcC,t))}static mvex(e){return l.box(l.types.mvex,l.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return l.box(l.types.trex,n)}static moof(e,t){return l.box(l.types.moof,l.mfhd(e.sequenceNumber),l.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return l.box(l.types.mfhd,t)}static traf(e,t){let n=e.id,d=l.box(l.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),y=l.box(l.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),p=l.sdtp(e),v=l.trun(e,p.byteLength+16+16+8+16+8+8);return l.box(l.types.traf,d,y,v,p)}static sdtp(e){let t=e.samples||[],n=t.length,d=new Uint8Array(4+n);for(let y=0;y>>24&255,d>>>16&255,d>>>8&255,d&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let v=0;v>>24&255,le>>>16&255,le>>>8&255,le&255,W>>>24&255,W>>>16&255,W>>>8&255,W&255,Re.isLeading<<2|Re.dependsOn,Re.isDependedOn<<6|Re.hasRedundancy<<4|Re.isNonSync,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255],12+16*v)}return l.box(l.types.trun,p)}static mdat(e){return l.box(l.types.mdat,e)}}l.init();var g=l;class L{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var ne=L;class G{constructor(e,t,n,d,y){this.dts=e,this.pts=t,this.duration=n,this.originalDts=d,this.isSyncPoint=y,this.fileposition=null}}class de{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class J{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[y].dts&&et[d].lastSample.originalDts&&e=t[d].lastSample.originalDts&&(d===t.length-1||d0&&(y=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=y,this._list.splice(y,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class X{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new re("audio"),this._videoSegmentInfoList=new re("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(w.chrome&&(w.version.major<50||w.version.major===50&&w.version.build<2661)),this._fillSilentAfterSeek=w.msedge||w.msie,this._mp3UseMpegAudio=!w.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new C("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,d="mp4",y=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(d="mpeg",y="",n=new Uint8Array):n=g.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=g.generateInitSegment(t);else return;if(!this._onInitSegment)throw new C("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:y,container:`${e}/${d}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let d={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(d.samples.push(t),d.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(d,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,d=n.samples,y,p=-1,v=-1,le=-1,W=this._audioMeta.refSampleDuration,Re=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Oe=this._dtsBaseInited&&this._audioNextDts===void 0,Fe=!1;if(!d||d.length===0||d.length===1&&!t)return;let Ee=0,ke=null,$e=0;Re?(Ee=0,$e=n.length):(Ee=8,$e=8+n.length);let pe=null;if(d.length>1&&(pe=d.pop(),$e-=pe.length),this._audioStashedLastSample!=null){let Xe=this._audioStashedLastSample;this._audioStashedLastSample=null,d.unshift(Xe),$e+=Xe.length}pe!=null&&(this._audioStashedLastSample=pe);let _e=d[0].dts-this._dtsBase;if(this._audioNextDts)y=_e-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())y=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(Fe=!0);else{let Xe=this._audioSegmentInfoList.getLastSampleBefore(_e);if(Xe!=null){let ut=_e-(Xe.originalDts+Xe.duration);ut<=3&&(ut=0);let ie=Xe.dts+Xe.duration+ut;y=_e-ie}else y=0}if(Fe){let Xe=_e-y,ut=this._videoSegmentInfoList.getLastSegmentBefore(_e);if(ut!=null&&ut.beginDts=1?be=ze[ze.length-1].duration:be=Math.floor(W);let ye=!1,ge=null;if(be>W*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!w.safari){ye=!0;let ve=Math.abs(be-W),We=Math.ceil(ve/W),it=fe+W;S.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +!(function(){var Yr=Object.defineProperty,Jr=Object.defineProperties;var Qr=Object.getOwnPropertyDescriptors;var Ir=Object.getOwnPropertySymbols;var Br=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable;var Nr=(Je,Q,r)=>Q in Je?Yr(Je,Q,{enumerable:!0,configurable:!0,writable:!0,value:r}):Je[Q]=r,qn=(Je,Q)=>{for(var r in Q||(Q={}))Br.call(Q,r)&&Nr(Je,r,Q[r]);if(Ir)for(var r of Ir(Q))Kr.call(Q,r)&&Nr(Je,r,Q[r]);return Je},Ar=(Je,Q)=>Jr(Je,Qr(Q));var Zr=(Je,Q)=>{var r={};for(var u in Je)Br.call(Je,u)&&Q.indexOf(u)<0&&(r[u]=Je[u]);if(Je!=null&&Ir)for(var u of Ir(Je))Q.indexOf(u)<0&&Kr.call(Je,u)&&(r[u]=Je[u]);return r};(self.webpackChunk=self.webpackChunk||[]).push([[895],{40001:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},49198:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},84105:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},18785:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},52671:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},8657:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},56082:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},33853:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},15075:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},43531:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},38819:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},47472:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return q}});var u=r(54476),m=r(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},K=$,R=r(7657),S=function(C,ue){return m.createElement(R.Z,(0,u.Z)({},C,{ref:ue,icon:K}))},U=m.forwardRef(S),q=U},96059:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return ue}});var u=r(59301),m=r(65582),$=r(8591),K=r(38147),R={flex_box_center:"flex_box_center___kVqBh",flex_space_between:"flex_space_between___FMnNq",flex_box_vertical_center:"flex_box_vertical_center___meESe",flex_box_center_end:"flex_box_center_end___KFpOb",flex_box_column:"flex_box_column___GHIK9",video:"video___nn_cD"},S=r(54624),U=r(59301),q=(P,b,j)=>new Promise((k,B)=>{var z=I=>{try{A(j.next(I))}catch(_){B(_)}},w=I=>{try{A(j.throw(I))}catch(_){B(_)}},A=I=>I.done?k(I.value):Promise.resolve(I.value).then(z,w);A((j=j.apply(P,b)).next())});const Y=function(b,j){const k=b.split(","),B=k[0].match(/:(.*?);/)[1],z=atob(k[1]);let w=z.length;const A=new Uint8Array(w);for(;w--;)A[w]=z.charCodeAt(w);return new Blob([A],{type:B})};var ue=(0,u.forwardRef)(({time:P,number:b,supportCamera:j,take_photo:k,isExercise:B=!0,update:z,onUserMediaLoaded:w},A)=>{const I=(0,u.useRef)(),_=(0,u.useRef)(),c=(0,m.useParams)();let[i,s]=(0,u.useState)([]),[f,N]=(0,u.useState)(0);const[F,te]=(0,u.useState)("");let[M,ce]=(0,u.useState)();const[H,Se]=(0,u.useState)(0),T=(Ie,Ue)=>q(void 0,null,function*(){return(0,K.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:Ie,file:Ue}})}),ae=Ie=>q(void 0,null,function*(){const Ue=new Date().valueOf();if(Ie){const tt=yield T(`\u7167\u7247${Ue}`,Ie);tt.status||(yield(0,S.Ju)({container_id:c.categoryId,container_type:"Exercise",attachment_id:tt==null?void 0:tt.id}))}});(0,u.useEffect)(()=>(Te(),()=>{De(),Pe()}),[]),(0,u.useEffect)(()=>{f===2&&P&&b>0&&(se(),Se(1))},[P]),(0,u.useEffect)(()=>{if(H!==0){if(H===2)clearInterval(M);else{let Ie=0,Ue=setInterval(()=>{i.includes(Ie)&&we(),Ie++},1e3);ce(Ue)}return()=>clearInterval(M)}},[H]),(0,u.useImperativeHandle)(A,()=>({handlePhoto:we,handleTakePhoto:xe}));const Pe=()=>{Se(2)},se=()=>{const Ie=P/b,Ue=[];function tt(he,je){return parseInt(Math.floor(Math.random()*(je-he+1))+he)}new Array(b).fill(0).map((he,je)=>{k?Ue.push(tt(Ie*je,Ie*(je+1))):je==0?Ue.push(0):Ue.push(tt(Ie*je,Ie*(je+1)))}),i=Ue,s([...Ue]),console.log(Ue)},Te=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(Ie){const Ue=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return Ue?new Promise(function(tt,he){Ue.call(navigator,Ie,tt,he)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(Ie){Ce.current=Ie,j&&j(2),N(2),"srcObject"in I.current?I.current.srcObject=Ie:I.current.src=window.URL.createObjectURL(Ie),I.current.onloadedmetadata=function(Ue){I.current.play(),w&&w()},I.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),Pe(),B&&$.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(Ie){N(1),j&&j(1),Ie.message==="Permission denied"||Ie.name==="NotAllowedError"?$.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):$.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+Ie.name),console.log("err: "+Ie.message)})},we=()=>{try{_.current.width=I.current.videoWidth,_.current.height=I.current.videoHeight,_.current.getContext("2d").drawImage(I.current,0,0,_.current.width,_.current.height),te(_.current.toDataURL("image/png")),ae(_.current.toDataURL("image/png")),Be(_.current.toDataURL("image/png"))}catch(Ie){}},xe=()=>{try{return _.current.width=I.current.videoWidth,_.current.height=I.current.videoHeight,_.current.getContext("2d").drawImage(I.current,0,0,_.current.width,_.current.height),_.current.toDataURL("image/png")}catch(Ie){}},Ce=(0,u.useRef)(),De=()=>{try{Ce.current.getTracks().forEach(function(tt){tt.stop()}),I.current.srcObject=null}catch(Ie){}},Be=Ie=>q(void 0,null,function*(){const Ue=new FormData;Ue.append("file",Y(Ie,"1")),Ue.append("1","123");var tt=new window.XMLHttpRequest;tt.withCredentials=!0,tt.addEventListener("load",function(he){let je=JSON.parse(he.target.responseText);(0,K.ZP)(`/api/exercises/${id}/upload_photo.json`,{method:"post",body:{attachment_id:je.id}})},!1),tt.addEventListener("error",function(he){console.error(he)},!1),tt.open("POST",`${ENV.API_SERVER}/api/attachments.json`),tt.send(Ue)});return U.createElement(U.Fragment,null,f!==3&&U.createElement("aside",{className:R.video,id:"screenshot"},f===0&&U.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),f===1&&U.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),f===2&&U.createElement("div",null,U.createElement("video",{width:"288",ref:I,autoPlay:!0}),U.createElement("canvas",{style:{display:"none"},ref:_}))))})},21271:function(Je,Q,r){"use strict";var u=r(59301),m=r(54624),$=r(38147),K=r(43418),R=r(96249),S=r.n(R),U=r(96059),q=Object.defineProperty,Y=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,P=(B,z,w)=>z in B?q(B,z,{enumerable:!0,configurable:!0,writable:!0,value:w}):B[z]=w,b=(B,z)=>{for(var w in z||(z={}))C.call(z,w)&&P(B,w,z[w]);if(Y)for(var w of Y(z))ue.call(z,w)&&P(B,w,z[w]);return B},j=(B,z,w)=>new Promise((A,I)=>{var _=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(_,c);i((w=w.apply(B,z)).next())});const k=({style:B={},data:z={}})=>{const w=(0,u.useRef)(),A=(0,u.useRef)(),[I,_]=(0,u.useState)(!1),[c,i]=(0,u.useState)(!1),[s,f]=(0,u.useState)({left:0,top:0,bottom:0,right:0}),N=(0,u.useRef)(null);(0,u.useEffect)(()=>(K.default.info({title:"\u63D0\u793A",width:642,icon:null,centered:!0,content:u.createElement("div",null,u.createElement("div",null,"\u5DF2\u7ECF\u5F00\u542F\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u9700\u8981\u8C03\u7528\u4F60\u8BBE\u5907\u7684\u6444\u50CF\u5934\uFF0C\u8BF7\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\u3002"),u.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/36625"},"\u5982\u4F55\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\uFF1F")),okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{_(!0)}}),()=>{clearInterval(A.current)}),[]);const F=(ce,H)=>j(void 0,null,function*(){return(0,$.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:ce,file:H}})}),te=()=>j(void 0,null,function*(){var ce;const H=(ce=w.current)==null?void 0:ce.handleTakePhoto(),Se=new Date().valueOf();if(H){const T=yield F(`\u7167\u7247${Se}`,H);T.status||(yield(0,m.Ju)(b({attachment_id:T==null?void 0:T.id},z)))}}),M=(ce,H)=>{var Se;const{clientWidth:T,clientHeight:ae}=window.document.documentElement,Pe=(Se=N.current)==null?void 0:Se.getBoundingClientRect();f({left:-Pe.left+H.x,right:T-(Pe.right-H.x),top:-Pe.top+H.y,bottom:ae-(Pe.bottom-H.y)})};return u.createElement(u.Fragment,null,I&&u.createElement(S(),{disabled:c,bounds:s,onStart:(ce,H)=>M(ce,H)},u.createElement("div",{ref:N,style:b({position:"fixed",left:40,top:92,zIndex:101},B)},u.createElement("div",{onMouseOver:()=>{c&&i(!1)},onMouseOut:()=>{i(!0)}},u.createElement("div",null,u.createElement(U.Z,{ref:w,isExercise:!1,onUserMediaLoaded:()=>{te(),A.current=window.setInterval(()=>j(void 0,null,function*(){te()}),1e3*120)}}))))))};Q.Z=k},44080:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return k}});var u=r(59301),m=r(8591),$=r(38854),K=r(73217),R=r(16471),S=r(41867),U=r(56102),q=r(84056),Y={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},C=(B,z,w)=>new Promise((A,I)=>{var _=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(_,c);i((w=w.apply(B,z)).next())});function ue(B){if(isNaN(B))return{minutes:"00",seconds:"00"};const z=new Date(B*1e3).toISOString().substr(11,8);return{hour:z.substr(0,2),minutes:z.substr(3,2),seconds:z.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function P(B,z){return B-z}function b(B){B.sort(P);let z=0;for(let w=0;w{},handlePlay:s=()=>{},handlePlayEnded:f=()=>{},autoPlay:N=!1,onPlayEnded:F=()=>{},isShowWaterMark:te=!0},M)=>{var ce;const Se=((ce=z==null?void 0:z.split("."))==null?void 0:ce.pop())==="flv",T=(0,u.useRef)(),ae=(0,u.useRef)(),Pe=(0,u.useRef)(),se=(0,u.useRef)(),Te=(0,u.useRef)(),we=(0,u.useRef)(),xe=(0,u.useRef)(),Ce=(0,u.useRef)(),De=(0,u.useRef)(),Be=(0,u.useRef)(),Ie=(0,u.useRef)(),Ue=(0,u.useRef)(),tt=(0,u.useRef)(),he=(0,u.useRef)(),je=navigator.userAgent.toLowerCase().match(j),Me=je?je[0]:"pc",Ge=(0,u.useRef)(!1),nt=(0,S.eY)();let me=0,He=0,O=0,D=null,x=!1,h=20,Z=1,ee=!1,a=!1,o=[];(0,u.useImperativeHandle)(M,()=>({getLastUpdatedTime:()=>T.current.currentTime,getDuration:()=>T.current.duration})),m.ZP.config({maxCount:1,getContainer:()=>Pe.current});const E=(0,u.useCallback)((J,re=!1)=>{let X={point:T.current.currentTime};D?(X.log_id=D,X.watch_duration=b(o),X.total_duration=He):(_?(X.video_id=parseInt(A,10),X.course_id=_):X.video_id=A,X.duration=me,X.device=Me),re&&(X.ed="1");function Ze(){return C(this,null,function*(){ee=!0,D=yield I==null?void 0:I(X),ee=!1,J&&J()})}Ze()},[A,_]);(0,u.useEffect)(()=>{T.current&&(se.current.style.display="none",Te.current.style.display="block"),m.ZP.destroy();let J=null;return K.Z.isSupported&&Se&&z&&(z==null?void 0:z.indexOf(".m3u8"))<0?(J=K.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:z,muted:!1}),T.current&&(J.attachMediaElement(T.current),J.load())):T.current.setAttribute("src",z),g(),()=>{J&&(J.unload(),J.pause(),J.destroy(),J=null)}},[T,Se,z]);function l(){T.current.paused?(se.current.style.display="none",Te.current.style.display="block"):(se.current.style.display="block",Te.current.style.display="none")}function g(){Ie.current.style.display="none",tt.current.style.display="none",Ue.current.style.display="none",T.current.muted||T.current.volume===0?Ie.current.style.display="block":T.current.volume>0&&T.current.volume<=.5?tt.current.style.display="block":Ue.current.style.display="block"}(0,u.useEffect)(()=>{const J=document.getElementById("play"),re=document.querySelectorAll(".playback-icons use");function X(){s(),c&&!Ge.current&&(T.current.currentTime=c),Ge.current=!0,o.push(T.current.currentTime),x||(x=!0,w&&E())}function Ze(){return C(this,null,function*(){l(),o.push(T.current.currentTime),w&&E(()=>{D=null,O=0,x=!1,ee=!1,a=!1,o=[],He=0,Z=1},!0),F()})}function Le(){we.current.value=Math.round(T.current.currentTime),xe.current.value=Math.round(T.current.currentTime)}function V(){const Ve=ue(Math.round(T.current.currentTime));De.current.innerText=`${Ve.hour>0?Ve.hour+":":""}${Ve.minutes}:${Ve.seconds}`,De.current.setAttribute("datetime",`${Ve.hour>0?" "+Ve.hour+" ":""}${Ve.minutes}m ${Ve.seconds}s`)}function Ne(){var Ve,ft,At,dt,Lt,qt,kt;const Xt=Math.round((Ve=T.current)==null?void 0:Ve.duration);(At=(ft=we.current)==null?void 0:ft.setAttribute)==null||At.call(ft,"max",Xt),(Lt=(dt=xe.current)==null?void 0:dt.setAttribute)==null||Lt.call(dt,"max",Xt);const Kt=ue(Xt);Ce.current&&(Ce.current.innerText=`${Kt.hour>0?Kt.hour+":":""}${Kt.minutes}:${Kt.seconds}`,(kt=(qt=Ce.current).setAttribute)==null||kt.call(qt,"datetime",`${Kt.hour>0?" "+Kt.hour+" ":""}${Kt.minutes}m ${Kt.seconds}s`))}function Ye(){try{const Ve=Math.round(T.current.duration);we.current.setAttribute("max",Ve),xe.current.setAttribute("max",Ve);const ft=ue(Ve);Ce.current.innerText=`${ft.hour>0?ft.hour+":":""}${ft.minutes}:${ft.seconds}`,Ce.current.setAttribute("datetime",`${ft.hour>0?" "+ft.hour+" ":""}${ft.minutes}m ${ft.seconds}s`),Le(),V();const{width:At,height:dt,x:Lt,y:qt}=ae.current.getBoundingClientRect();if(Lt<0||qt<0||!At)return;if(!a){let kt=T.current.currentTime,Xt=kt-O;Math.abs(Xt)<10?(He+=Math.abs(Xt),O=kt,ee||He-Z*h>=0&&(Z++,o.push(O),w&&E())):(O=kt,w&&E())}}catch(Ve){console.log(Ve)}}function ot(){a=!0}function et(){T.current.playing&&o.push(T.current.currentTime,O),O=T.current.currentTime,a=!1}function qe(){me=T.current.duration,me<=20&&(h=me/3),T.current.addEventListener("play",X)}function mt(Ve){Ve.preventDefault(),(0,q.vp)()?(T.current.style.width="100%",T.current.style.height="100%"):T.current.style.cssText=""}function vt(){i()}function pt(Ve){if(!B){m.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const ft=Ve.target.dataset.seek?Ve.target.dataset.seek:Ve.target.value;T.current.currentTime=ft,xe.current.value=ft,we.current.value=ft}function wt(Ve){const ft=Math.round(Ve.offsetX/Ve.target.clientWidth*parseInt(Ve.target.getAttribute("max"),10));we.current.setAttribute("data-seek",ft);const At=ue(ft);Be.current.textContent=`${At.hour>0?At.hour+":":""}${At.minutes}:${At.seconds}`;const dt=T.current.getBoundingClientRect();Be.current.style.left=`${Ve.pageX-dt.left}px`}function xt(Ve){switch(Ve.code){case"Space":Ve.preventDefault(),G();break;case"ArrowRight":if(Ve.preventDefault(),!B){m.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime>=T.current.duration)break;T.current.currentTime=parseInt(T.current.currentTime)+5,Le();break;case"ArrowLeft":if(Ve.preventDefault(),!B){m.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime===0)break;T.current.currentTime=parseInt(T.current.currentTime)-5,Le();break;case"ArrowUp":Ve.preventDefault(),T.current.volume<1&&(T.current.volume=(parseInt(T.current.volume*10)+1)/10);break;case"ArrowDown":Ve.preventDefault(),T.current.volume>0&&(T.current.volume=(parseInt(T.current.volume*10)-1)/10);break}}return Pe.current.addEventListener((0,q.gH)(),mt),T.current.addEventListener("canplay",qe),T.current.addEventListener("ended",Ze),T.current.addEventListener("seeking",ot),T.current.addEventListener("seeked",et),T.current.addEventListener("loadedmetadata",Ne),we.current.addEventListener("mousemove",wt),we.current.addEventListener("input",pt),T.current.addEventListener("timeupdate",Ye),T.current.addEventListener("pause",vt),T.current.addEventListener("volumechange",g),document.addEventListener("keydown",xt),()=>{var Ve,ft,At,dt,Lt,qt,kt,Xt,Kt,Mt,fn,Ke;(Ve=T.current)==null||Ve.removeEventListener("canplay",qe),(ft=T.current)==null||ft.removeEventListener("play",X),(At=T.current)==null||At.removeEventListener("ended",Ze),(dt=T.current)==null||dt.removeEventListener("seeking",ot),(Lt=T.current)==null||Lt.removeEventListener("seeked",et),(qt=we.current)==null||qt.removeEventListener("mousemove",wt),(kt=we.current)==null||kt.removeEventListener("input",pt),(Xt=T.current)==null||Xt.removeEventListener("timeupdate",Ye),(Kt=T.current)==null||Kt.removeEventListener("pause",vt),(Mt=T.current)==null||Mt.removeEventListener("loadedmetadata",Ne),(fn=T.current)==null||fn.removeEventListener("volumechange",g),document.removeEventListener("keydown",xt),(Ke=T.current)!=null&&Ke.playing&&(o.push(O,T.current.currentTime),w&&E())}},[T,z]),(0,u.useEffect)(()=>{if(T.current.onended=()=>{f(T)},T.current.oncontextmenu=()=>!1,(z==null?void 0:z.indexOf(".m3u8"))>-1){if(T.current.canPlayType("application/vnd.apple.mpegurl"))T.current.src=z;else if(R.ZP.isSupported()){var J=new R.ZP;J.loadSource(z),J.attachMedia(T.current)}}},[z]);const[L,ne]=(0,u.useState)(1),G=()=>{T.current.paused||T.current.ended?T.current.play():T.current.pause(),l()};function de(){T.current.muted=!T.current.muted,T.current.muted?(he.current.setAttribute("data-volume",volume.value),he.current.value=0):he.current.value=he.current.dataset.volume}return u.createElement("div",{style:{position:"relative"},ref:Pe},u.createElement("div",{ref:ae,className:`${Y.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${Y.animate__loop}`},te&&nt?nt.login:" "),u.createElement("div",{className:Y.container},u.createElement("div",{className:Y["video-container"],id:"video-container"},u.createElement("div",{className:Y["playback-animation"],id:"playback-animation"},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{className:"hidden",href:"#play-icon"}),u.createElement("use",{href:"#pause"}))),u.createElement("video",{className:Y.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:T,autoPlay:N}),u.createElement("div",{className:`${Y["video-controls"]} `,id:"video-controls"},u.createElement("div",{className:Y["bottom-controls"]},u.createElement("div",{className:Y["left-controls"]},u.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:G},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{ref:Te,href:"#play-icon"}),u.createElement("use",{ref:se,style:{display:"none"},href:"#pause"}))),u.createElement("div",{className:Y.time},u.createElement("time",{id:"time-elapsed",ref:De},"00:00"),u.createElement("span",null," / "),u.createElement("time",{id:"duration",ref:Ce},"00:00"))),u.createElement("div",{className:Y["right-controls"]},B&&u.createElement($.Z,{placement:"top",overlayClassName:Y.rateOverlay,getPopupContainer:J=>J.parentNode,menu:{items:[{key:"1",label:u.createElement("span",{onClick:()=>{ne(1),T.current.playbackRate=1}},"1.0x")},{key:"2",label:u.createElement("span",{onClick:()=>{ne(1.5),T.current.playbackRate=1.5}},"1.5x")},{key:"3",label:u.createElement("span",{onClick:()=>{ne(2),T.current.playbackRate=2}},"2.0x")}]}},u.createElement("div",{className:`${Y.controlText} mr5`},"\u500D\u901F")),u.createElement(U.CopyToClipboard,{text:z,onCopy:()=>m.ZP.success("\u590D\u5236\u6210\u529F")},u.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},u.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),u.createElement("div",{className:Y["volume-controls"]},u.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:Y["volume-button"],id:"volume-button",onClick:de},u.createElement("i",{ref:Ie,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:tt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:Ue,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),u.createElement("input",{className:Y.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:he,style:{display:"none"},onClick:g})),u.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:Y["fullscreen-button"],onClick:()=>{(0,q.vp)()?(0,q.BU)():(0,q.Dj)(Pe.current)}},u.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),u.createElement("div",{className:Y["video-progress"]},u.createElement("progress",{ref:xe,value:"0",min:"0"}),u.createElement("input",{className:Y.seek,ref:we,value:"0",min:"0",type:"range",step:"1"}),u.createElement("div",{className:Y["seek-tooltip"],ref:Be,id:"seek-tooltip"},"00:00"))))),u.createElement("svg",{style:{display:"none"}},u.createElement("defs",null,u.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),u.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},u.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),u.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),u.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},u.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),u.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},u.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),u.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),u.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},u.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),u.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},u.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},36858:function(Je,Q,r){"use strict";r.r(Q),r.d(Q,{default:function(){return tt}});var u=r(59301),m=r(65582),$=r(71418),K={flex_box_center:"flex_box_center___gO3nd",flex_space_between:"flex_space_between___KljaZ",flex_box_vertical_center:"flex_box_vertical_center___fa17H",flex_box_center_end:"flex_box_center_end___Iha2a",flex_box_column:"flex_box_column___mCF7g",bg:"bg___yhRK8"},R=r(24334),S=r(44080),U=r(6848),q=r(58421),Y={contentWrap:"contentWrap___d4rCm",title:"title___bLyk5",footer:"footer___V7GbH",footer_left:"footer_left___ofIZM",footer_bfcs:"footer_bfcs___HUUgS",footer_bfcs_value:"footer_bfcs_value___T9e5h",pingfen:"pingfen___SEAu2",fenshu:"fenshu___GM8ss",radioGroup:"radioGroup___Bedpr",wrap:"wrap___PxISS",introName:"introName___l9xpu",rating:"rating___vCxjz",modalRating:"modalRating___UBNfA",zdbf:"zdbf___YbIbO",video_list:"video_list___KuU04",video_list_item:"video_list_item___gErkF",list_img:"list_img___MPWpq",list_text:"list_text___bEa03"},C=r(54624),ue=r(38147),P=r(65862),b=r(21271),j=r(41867),k=r(59301),B=Object.defineProperty,z=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,I=(he,je,Me)=>je in he?B(he,je,{enumerable:!0,configurable:!0,writable:!0,value:Me}):he[je]=Me,_=(he,je)=>{for(var Me in je||(je={}))w.call(je,Me)&&I(he,Me,je[Me]);if(z)for(var Me of z(je))A.call(je,Me)&&I(he,Me,je[Me]);return he},c=(he,je)=>{var Me={};for(var Ge in he)w.call(he,Ge)&&je.indexOf(Ge)<0&&(Me[Ge]=he[Ge]);if(he!=null&&z)for(var Ge of z(he))je.indexOf(Ge)<0&&A.call(he,Ge)&&(Me[Ge]=he[Ge]);return Me},i=(he,je,Me)=>new Promise((Ge,nt)=>{var me=D=>{try{O(Me.next(D))}catch(x){nt(x)}},He=D=>{try{O(Me.throw(D))}catch(x){nt(x)}},O=D=>D.done?Ge(D.value):Promise.resolve(D.value).then(me,He);O((Me=Me.apply(he,je)).next())});const s=he=>{var je=he,{videoDetail:Me,globalSetting:Ge,loading:nt,dispatch:me}=je,He=c(je,["videoDetail","globalSetting","loading","dispatch"]);const O=(0,m.useParams)(),[D]=(0,m.useSearchParams)(),[x,h]=(0,u.useState)({}),[Z,ee]=(0,u.useState)([]),[a,o]=(0,u.useState)(!1),[E,l]=(0,u.useState)(1),[g,L]=(0,u.useState)(4),[ne,G]=(0,u.useState)(0),de=(0,u.useRef)(),J=(0,u.useRef)(),re=(0,u.useRef)(5),X=(0,u.useRef)(null),Ze=(qe,mt)=>i(void 0,null,function*(){var vt,pt,wt,xt;if((pt=(vt=Me==null?void 0:Me.detail)==null?void 0:vt.detail)!=null&&pt.course_video_id){let Ve=yield(0,ue.ZP)(`/api/courses/${O==null?void 0:O.videoId}/ilearning_videos.json`,{method:"get",params:{type:2,limit:mt,video_id:(xt=(wt=Me==null?void 0:Me.detail)==null?void 0:wt.detail)==null?void 0:xt.course_video_id,page:qe}});(Ve==null?void 0:Ve.status)==0&&(ee(Ve==null?void 0:Ve.videos),G(Ve==null?void 0:Ve.total_count))}});(0,u.useEffect)(()=>{var qe;h((qe=Me==null?void 0:Me.detail)==null?void 0:qe.detail),l(1),Ze(1,g),clearTimeout(X.current),o(!1),X.current=setTimeout(()=>{var mt,vt;(vt=(mt=Me==null?void 0:Me.detail)==null?void 0:mt.detail)!=null&&vt.action_analysis&&o(!0)},1e3)},[Me==null?void 0:Me.detail]);const Le=qe=>{if(!qe.length)return[];const mt=[],vt=pt=>(pt.forEach(wt=>{let xt={};xt=JSON.parse(JSON.stringify(wt)),wt!=null&&wt.course_video_id&&mt.push(xt),wt.coruse_videos&&vt(wt.coruse_videos)}),mt);return vt(qe)},V=(qe=!1)=>{const mt=qe?{is_f:1}:{};return(0,C.DH)(_(_({},mt),{id:O.videoId,point:de.current.getLastUpdatedTime(),total:de.current.getDuration()}))},Ne=()=>{J.current=!1},Ye=()=>{J.current=!0},ot=qe=>{o(!1)},et=qe=>me({type:"userDetail/logWatchHistory",payload:qe});return console.log(x,O,"video_item"),k.createElement("aside",{className:Y.contentWrap},k.createElement("aside",{className:Y.wrap},k.createElement("div",{className:Y.title},x==null?void 0:x.title),k.createElement(S.Z,{ref:de,isShowWaterMark:x==null?void 0:x.show_watermark,startTime:x==null?void 0:x.last_point,src:x!=null&&x.is_link?x==null?void 0:x.link:(x==null?void 0:x.play_url)&&R.Base64.decode(x==null?void 0:x.play_url),videoId:x==null?void 0:x.course_video_id,courseId:O==null?void 0:O.videoId,handlePause:Ne,handlePlay:Ye,allow_skip:x==null?void 0:x.allow_skip,handlePlayEnded:ot,logWatchHistory:et,toLog:()=>{}}),k.createElement("div",{className:Y.footer},k.createElement("div",{className:Y.footer_left},k.createElement("div",{className:Y.footer_bfcs},"\u64AD\u653E\u6B21\u6570 "),k.createElement("div",{className:Y.footer_bfcs_value},(x==null?void 0:x.people_num)||0))),k.createElement("div",{className:Y.title,style:{fontSize:20,fontWeight:400}},"\u76F8\u5173\u89C6\u9891\u63A8\u8350"),k.createElement("div",{className:Y.video_list},Z==null?void 0:Z.map((qe,mt)=>k.createElement("div",{key:mt,className:Y.video_list_item,onClick:()=>{(0,P.xg)(qe==null?void 0:qe.link_url)}},k.createElement("img",{src:qe==null?void 0:qe.cover_url,className:Y.list_img}),k.createElement(U.Z,{placement:"bottom",title:qe==null?void 0:qe.title},k.createElement("div",{className:Y.list_text},qe==null?void 0:qe.title))))),k.createElement(q.Z,{showQuickJumper:!0,style:{marginTop:10,textAlign:"right"},onChange:(qe,mt)=>{L(mt),l(qe),Ze(qe,mt)},showSizeChanger:!0,pageSizeOptions:["4","8","12","16","20"],defaultCurrent:1,pageSize:g,current:E,hideOnSinglePage:!ne,total:ne})),a&&(0,j.dE)()&&k.createElement(b.Z,{data:{container_id:x.course_video_id,container_type:"CourseVideo"}}))};var f=(0,m.connect)(({videoDetail:he,loading:je,globalSetting:Me})=>({videoDetail:he,globalSetting:Me,loading:je}))(s),N=r(43418),F=r(8591),te=r(17574),M={flex_box_center:"flex_box_center___hRcmo",flex_space_between:"flex_space_between___mhQ84",flex_box_vertical_center:"flex_box_vertical_center___pWKUB",flex_box_center_end:"flex_box_center_end____UrsC",flex_box_column:"flex_box_column___qkAD1",list:"list___hYrSN",tree_style:"tree_style___UBl2H",title:"title___sw9X3",gray:"gray___KV9jR",brght:"brght___uqI6i",s1:"s1___kwobs",s3:"s3___CFhfR",active:"active___NS7Wp",tree_line:"tree_line___YDLUU",tabs_style:"tabs_style___ZG9FL",tabs_item:"tabs_item___oVjFx",tabs_item_active:"tabs_item_active___pLWXc"},ce=r(87513),H=r(60979),Se=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,Pe=(he,je)=>{var Me={};for(var Ge in he)T.call(he,Ge)&&je.indexOf(Ge)<0&&(Me[Ge]=he[Ge]);if(he!=null&&Se)for(var Ge of Se(he))je.indexOf(Ge)<0&&ae.call(he,Ge)&&(Me[Ge]=he[Ge]);return Me},se=(he,je,Me)=>new Promise((Ge,nt)=>{var me=D=>{try{O(Me.next(D))}catch(x){nt(x)}},He=D=>{try{O(Me.throw(D))}catch(x){nt(x)}},O=D=>D.done?Ge(D.value):Promise.resolve(D.value).then(me,He);O((Me=Me.apply(he,je)).next())});const Te=[{name:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",icon:u.createElement("i",{className:"iconfont icon-shixun2 font20"}),bq:u.createElement("span",{style:{border:"1px solid #FF9D18",color:"#FF9D18"},className:M.s1},"\u5B9E\u8BAD")},{name:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",icon:u.createElement("i",{className:"iconfont icon-shipin font20"}),bq:u.createElement("span",{style:{border:"1px solid #9B18FF",color:"#9B18FF"},className:M.s1},"\u89C6\u9891")},{name:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",icon:u.createElement("i",{className:"iconfont icon-jiaoxueanli font20"}),bq:u.createElement("span",{style:{border:"1px solid #3061D0",color:"#3061D0"},className:M.s1},"\u8D44\u6599")},{name:"\u7A7A\u76EE\u5F55",type:"StageCatalog",icon:u.createElement("i",{className:"iconfont icon-kongbai font20"}),bq:u.createElement("span",null)}],we=he=>{var je=he,{dispatch:Me,pathsDetail:Ge,videoDetail:nt,user:me}=je,He=Pe(je,["dispatch","pathsDetail","videoDetail","user"]);const{queryParams:O,stages:D,cust_seq:x,active:h}=nt,[Z]=(0,m.useSearchParams)(),[ee,a]=(0,u.useState)([]),[o,E]=(0,u.useState)("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"),l=(0,m.useParams)(),[g,L]=(0,u.useState)(0),[ne,G]=(0,u.useState)("");(0,u.useEffect)(()=>{Me({type:"videoDetail/getVideoData",payload:{id:l==null?void 0:l.videoId}})},[]),(0,u.useEffect)(()=>{var Le,V;L((V=(Le=nt==null?void 0:nt.detail)==null?void 0:Le.detail)==null?void 0:V.course_video_id),G(new Date)},[nt==null?void 0:nt.detail]),(0,u.useEffect)(()=>{de()},[nt==null?void 0:nt.stages]);const de=()=>{let Le=ee;D.forEach((V,Ne)=>{Me({type:"videoDetail/setVideoTabs",payload:{key:Z.get("new_video_id")}}),Z.get("new_video_id")==(V==null?void 0:V.course_video_id)&&Me({type:"videoDetail/setVideoValue",payload:{detail:V}}),Le.push({title:u.createElement("div",{title:V.name,className:M.title},V.name),value:V==null?void 0:V.id,key:V==null?void 0:V.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:J(V.children||[])})}),a(Le)},J=Le=>{function V(Ne){const Ye=Ne.children,ot=Array.isArray(Ye)&&Ye.length>0,{name:et,course_video_id:qe}=Ne,mt=M.brght,vt=Z.get("new_video_id")===qe?`${mt} ${M.active}`:mt;return Z.get("new_video_id")==(Ne==null?void 0:Ne.course_video_id)&&Me({type:"videoDetail/setVideoValue",payload:{detail:Ne}}),{title:u.createElement("div",{onClick:()=>Ze(Ne),className:mt,title:et},u.createElement("div",{className:M.s3},et)),value:qe,key:Le.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:ot?Ye==null?void 0:Ye.map(pt=>V(pt)):[]}}return Le==null?void 0:Le.map(Ne=>V(Ne))},re=Le=>{N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Le,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},X=Le=>{Le=Le!=null&&Le.includes(".json")?Le:`${Le}.json`,N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>se(void 0,null,function*(){const V=yield(0,ce.L8)({url:Le});if(!V)return;F.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Ne=yield(0,H.Ir)({id:V.shixun_identifier});if(Ne!=null&&Ne.game_identifier){(0,P.xg)(`/tasks/${Ne.game_identifier}`);return}(Ne==null?void 0:Ne.status)===2?X(Ne==null?void 0:Ne.message):(Ne==null?void 0:Ne.status)===3&&re(Ne==null?void 0:Ne.message)})})},Ze=Le=>{if(Le.link){(0,P.xg)(Le.link);return}clearTimeout(window.videoTimer),Me({type:"videoDetail/setVideoValue",payload:{detail:Le}})};return u.createElement("aside",{className:M.list},u.createElement("div",{className:M.tabs_style},u.createElement("div",{className:M.tabs_item,onClick:()=>{E("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55")}},"\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55",o=="\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"&&u.createElement("div",{className:M.tabs_item_active}))),u.createElement("div",{className:M.tree_style},(ee==null?void 0:ee.length)>0&&u.createElement(te.default,{key:ne,defaultSelectedKeys:[g||Number(g)||Number(Z.get("new_video_id"))],blockNode:!0,treeData:ee,defaultExpandAll:!0,className:M.tree_line})))};var xe=(0,m.connect)(({user:he,videoDetail:je,loading:Me,globalSetting:Ge,pathsDetail:nt})=>({user:he,videoDetail:je,globalSetting:Ge,loading:Me,pathsDetail:nt}))(we),Ce=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,Ie=(he,je)=>{var Me={};for(var Ge in he)De.call(he,Ge)&&je.indexOf(Ge)<0&&(Me[Ge]=he[Ge]);if(he!=null&&Ce)for(var Ge of Ce(he))je.indexOf(Ge)<0&&Be.call(he,Ge)&&(Me[Ge]=he[Ge]);return Me};const Ue=he=>{var je=he,{videoDetail:Me,globalSetting:Ge,loading:nt,pathsDetail:me,dispatch:He}=je,O=Ie(je,["videoDetail","globalSetting","loading","pathsDetail","dispatch"]);return u.createElement($.Z,{spinning:!1},u.createElement("section",{className:K.bg},u.createElement(xe,null),u.createElement(f,null)))};var tt=(0,m.connect)(({videoDetail:he,loading:je,globalSetting:Me,pathsDetail:Ge})=>({videoDetail:he,globalSetting:Me,loading:je,pathsDetail:Ge}))(Ue)},84056:function(Je,Q,r){"use strict";r.d(Q,{BU:function(){return m},Dj:function(){return u},gH:function(){return $},vp:function(){return K}});function u(R){try{R.mozRequestFullScreen?R.mozRequestFullScreen():R.webkitRequestFullScreen&&R.webkitRequestFullScreen()}catch(S){console.log(S,":e")}}function m(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const $=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function K(){var R=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,S=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",R),window.isFullScreen?window.isFullScreen:R!=null}},73217:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return fn}});class u{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","error",n),R.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","info",n),R.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","warn",n),R.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","debug",n),R.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","verbose",n),R.ENABLE_VERBOSE&&console.log(n)}}R.GLOBAL_TAG="flv.js",R.FORCE_GLOBAL_TAG=!1,R.ENABLE_ERROR=!0,R.ENABLE_INFO=!0,R.ENABLE_WARN=!0,R.ENABLE_DEBUG=!0,R.ENABLE_VERBOSE=!0,R.ENABLE_CALLBACK=!1,R.emitter=new(K());var S=R;class U{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var q=U;class Y{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class C extends Y{constructor(e){super(e)}get name(){return"IllegalStateException"}}class ue extends Y{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class P extends Y{constructor(e){super(e)}get name(){return"NotImplementedException"}}const b={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},j={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class k{constructor(e){this._type=e||"undefined",this._status=b.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=b.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===b.kConnecting||this._status===b.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new P("Unimplemented abstract function!")}abort(){throw new P("Unimplemented abstract function!")}}let B={};function z(){let Ke=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(Ke)||/(opr)[\/]([\w.]+)/.exec(Ke)||/(chrome)[ \/]([\w.]+)/.exec(Ke)||/(iemobile)[\/]([\w.]+)/.exec(Ke)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+)/.exec(Ke)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Ke)||/(msie) ([\w.]+)/.exec(Ke)||Ke.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Ke)||Ke.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Ke)||[],t=/(ipad)/.exec(Ke)||/(ipod)/.exec(Ke)||/(windows phone)/.exec(Ke)||/(iphone)/.exec(Ke)||/(kindle)/.exec(Ke)||/(android)/.exec(Ke)||/(windows)/.exec(Ke)||/(mac)/.exec(Ke)||/(linux)/.exec(Ke)||/(cros)/.exec(Ke)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},d={};if(n.browser){d[n.browser]=!0;let y=n.majorVersion.split(".");d.version={major:parseInt(n.majorVersion,10),string:n.version},y.length>1&&(d.version.minor=parseInt(y[1],10)),y.length>2&&(d.version.build=parseInt(y[2],10))}if(n.platform&&(d[n.platform]=!0),(d.chrome||d.opr||d.safari)&&(d.webkit=!0),d.rv||d.iemobile){d.rv&&delete d.rv;let y="msie";n.browser=y,d[y]=!0}if(d.edge){delete d.edge;let y="msedge";n.browser=y,d[y]=!0}if(d.opr){let y="opera";n.browser=y,d[y]=!0}if(d.safari&&d.android){let y="android";n.browser=y,d[y]=!0}d.name=n.browser,d.platform=n.platform;for(let y in B)B.hasOwnProperty(y)&&delete B[y];Object.assign(B,d)}z();var w=B;class A extends k{static isSupported(){try{let e=w.msedge&&w.version.minor>=15048,t=w.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let d=this._seekHandler.getConfig(n,t),y=new self.Headers;if(typeof d.headers=="object"){let v=d.headers;for(let le in v)v.hasOwnProperty(le)&&y.append(le,v[le])}let p={method:"GET",headers:y,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let v in this._config.headers)y.append(v,this._config.headers[v]);e.cors===!1&&(p.mode="same-origin"),e.withCredentials&&(p.credentials="include"),e.referrerPolicy&&(p.referrerPolicy=e.referrerPolicy),this._status=b.kConnecting,self.fetch(d.url,p).then(v=>{if(this._requestAbort){this._requestAbort=!1,this._status=b.kIdle;return}if(v.ok&&v.status>=200&&v.status<=299){if(v.url!==d.url&&this._onURLRedirect){let W=this._seekHandler.removeURLParameters(v.url);this._onURLRedirect(W)}let le=v.headers.get("Content-Length");return le!=null&&(this._contentLength=parseInt(le),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,v.body.getReader())}else if(this._status=b.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:v.status,msg:v.statusText});else throw new Y("FetchStreamLoader: Http code invalid, "+v.status+" "+v.statusText)}).catch(v=>{if(this._status=b.kError,this._onError)this._onError(j.EXCEPTION,{code:-1,msg:v.message});else throw v})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&w.msedge)return;this._status=b.kError;let n=0,d=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=b.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=b.kBuffering}}_onProgress(e){if(this._status===b.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===b.kError)return;this._status=b.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=b.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let d=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&d!==this._currentRedirectedURL&&(this._currentRedirectedURL=d,this._onURLRedirect&&this._onURLRedirect(d))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let d=parseInt(n);d>0&&(this._contentLength=d,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let d=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let y=this._totalRange.from+this._receivedLength;this._receivedLength+=d.byteLength,this._onDataArrival&&this._onDataArrival(d,y,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${y+d.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let d=this._seekHandler.getConfig(n,t);this._currentRequestURL=d.url;let y=this._xhr=new XMLHttpRequest;if(y.open("GET",d.url,!0),y.responseType="arraybuffer",y.onreadystatechange=this._onReadyStateChange.bind(this),y.onprogress=this._onProgress.bind(this),y.onload=this._onLoad.bind(this),y.onerror=this._onXhrError.bind(this),e.withCredentials&&(y.withCredentials=!0),typeof d.headers=="object"){let p=d.headers;for(let v in p)p.hasOwnProperty(v)&&y.setRequestHeader(v,p[v])}if(typeof this._config.headers=="object"){let p=this._config.headers;for(let v in p)p.hasOwnProperty(v)&&y.setRequestHeader(v,p[v])}y.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=b.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=b.kBuffering}else if(this._status=b.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===b.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let d=e.total;this._internalAbort(),d!=null&d!==0&&(this._totalLength=d)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,d=0,y=0,p=n;if(e=t[d]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let p=this._normalizeSpeed(t);this._currentSpeedNormalized!==p&&(this._currentSpeedNormalized=p,this._currentChunkSizeKB=p)}let n=e.target.response,d=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let y=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=b.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=b.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}var te=F;class M{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let d;t.to!==-1?d=`bytes=${t.from.toString()}-${t.to.toString()}`:d=`bytes=${t.from.toString()}-`,n.Range=d}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var ce=M;class H{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let d=!0;n.indexOf("?")===-1&&(n+="?",d=!1),d&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,d=e.indexOf("?");d!==-1&&(n=e.substring(d+1));let y="";if(n!=null&&n.length>0){let p=n.split("&");for(let v=0;v0;le[0]!==this._startName&&le[0]!==this._endName&&(W&&(y+="&"),y+=p[v])}}return y.length===0?t:t+"?"+y}}var Se=H;class T{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new q,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===N?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new ce(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new Se(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new ue("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new ue(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=te;else if(I.isSupported())this._loaderClass=I;else if(c.isSupported())this._loaderClass=c;else if(N.isSupported())this._loaderClass=N;else throw new Y("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new ue("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let d=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(d,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,d=0,y=0,p=n;if(e=t[d]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let p=this._stashBuffer.slice(0,this._stashUsed),v=this._dispatchChunks(p,this._stashByteStart);if(v0){let le=new Uint8Array(p,v);y.set(le,0),this._stashUsed=le.byteLength,this._stashByteStart+=v}}else this._stashUsed=0,this._stashByteStart+=v;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let p=this._dispatchChunks(e,t);if(pthis._bufferSize&&(this._expandBuffer(v),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e,p),0),this._stashUsed+=v,this._stashByteStart=t+p}}}else if(this._stashUsed===0){let y=this._dispatchChunks(e,t);if(ythis._bufferSize&&this._expandBuffer(p),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,y),0),this._stashUsed+=p,this._stashByteStart=t+y}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let y=new Uint8Array(this._stashBuffer,0,this._bufferSize);y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let p=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(p0){let v=new Uint8Array(this._stashBuffer,p);y.set(v,0)}this._stashUsed-=p,this._stashByteStart+=p}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),d=t.byteLength-n;if(n0){let y=new Uint8Array(this._stashBuffer,0,this._bufferSize),p=new Uint8Array(t,n);y.set(p,0),this._stashUsed=p.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,d}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(S.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=j.UNRECOVERABLE_EARLY_EOF),e){case j.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=De.getConfig();e.emit("change",t)}}static registerListener(e){De.emitter.addListener("change",e)}static removeListener(e){De.emitter.removeListener("change",e)}static addLogListener(e){S.emitter.addListener("log",e),S.emitter.listenerCount("log")>0&&(S.ENABLE_CALLBACK=!0,De._notifyChange())}static removeLogListener(e){S.emitter.removeListener("log",e),S.emitter.listenerCount("log")===0&&(S.ENABLE_CALLBACK=!1,De._notifyChange())}}De.emitter=new(K());var Be=De;class Ie{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,d=e.length-1,y=0,p=0,v=d;for(t=e[y]&&t=128){e.push(String.fromCharCode(y&65535)),n+=2;continue}}}else if(t[n]<240){if(tt(t,n,2)){let y=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(y>=2048&&(y&63488)!==55296){e.push(String.fromCharCode(y&65535)),n+=3;continue}}}else if(t[n]<248&&tt(t,n,3)){let y=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(y>65536&&y<1114112){y-=65536,e.push(String.fromCharCode(y>>>10|55296)),e.push(String.fromCharCode(y&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var je=he;let Me=function(){let Ke=new ArrayBuffer(2);return new DataView(Ke).setInt16(0,256,!0),new Int16Array(Ke)[0]===256}();class Ge{static parseScriptData(e,t,n){let d={};try{let y=Ge.parseValue(e,t,n),p=Ge.parseValue(e,t+y.size,n-y.size);d[y.data]=p.data}catch(y){S.e("AMF",y.toString())}return d}static parseObject(e,t,n){if(n<3)throw new C("Data not enough when parse ScriptDataObject");let d=Ge.parseString(e,t,n),y=Ge.parseValue(e,t+d.size,n-d.size),p=y.objectEnd;return{data:{name:d.data,value:y.data},size:d.size+y.size,objectEnd:p}}static parseVariable(e,t,n){return Ge.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new C("Data not enough when parse String");let y=new DataView(e,t,n).getUint16(0,!Me),p;return y>0?p=je(new Uint8Array(e,t+2,y)):p="",{data:p,size:2+y}}static parseLongString(e,t,n){if(n<4)throw new C("Data not enough when parse LongString");let y=new DataView(e,t,n).getUint32(0,!Me),p;return y>0?p=je(new Uint8Array(e,t+4,y)):p="",{data:p,size:4+y}}static parseDate(e,t,n){if(n<10)throw new C("Data size invalid when parse Date");let d=new DataView(e,t,n),y=d.getFloat64(0,!Me),p=d.getInt16(8,!Me);return y+=p*60*1e3,{data:new Date(y),size:10}}static parseValue(e,t,n){if(n<1)throw new C("Data not enough when parse Value");let d=new DataView(e,t,n),y=1,p=d.getUint8(0),v,le=!1;try{switch(p){case 0:v=d.getFloat64(1,!Me),y+=8;break;case 1:{v=!!d.getUint8(1),y+=1;break}case 2:{let W=Ge.parseString(e,t+1,n-1);v=W.data,y+=W.size;break}case 3:{v={};let W=0;for((d.getUint32(n-4,!Me)&16777215)===9&&(W=3);y32)throw new ue("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let p=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,p}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let d=Math.min(n,this._current_word_bits_left),y=this._current_word>>>32-d;return this._current_word<<=d,this._current_word_bits_left-=d,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var He=me;class O{static _ebsp2rbsp(e){let t=e,n=t.byteLength,d=new Uint8Array(n),y=0;for(let p=0;p=2&&t[p]===3&&t[p-1]===0&&t[p-2]===0||(d[y]=t[p],y++);return new Uint8Array(d.buffer,0,y)}static parseSPS(e){let t=O._ebsp2rbsp(e),n=new He(t);n.readByte();let d=n.readByte();n.readByte();let y=n.readByte();n.readUEG();let p=O.getProfileString(d),v=O.getLevelString(y),le=1,W=420,Re=[0,420,422,444],Oe=8;if((d===100||d===110||d===122||d===244||d===44||d===83||d===86||d===118||d===128||d===138||d===144)&&(le=n.readUEG(),le===3&&n.readBits(1),le<=3&&(W=Re[le]),Oe=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let ht=le!==3?8:12;for(let st=0;st0&&ht<16?(gt=st[ht-1],Xe=It[ht-1]):ht===255&&(gt=n.readByte()<<8|n.readByte(),Xe=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let ht=n.readBits(32),st=n.readBits(32);ie=n.readBool(),oe=st,fe=ht*2,ut=oe/fe}}let ye=1;(gt!==1||Xe!==1)&&(ye=gt/Xe);let ge=0,ve=0;if(le===0)ge=1,ve=2-pe;else{let ht=le===3?1:2,st=le===1?2:1;ge=ht,ve=st*(2-pe)}let We=(ke+1)*16,it=(2-pe)*(($e+1)*16);We-=(_e+ze)*ge,it-=(Ae+Qe)*ve;let at=Math.ceil(We*ye);return n.destroy(),n=null,{profile_string:p,level_string:v,bit_depth:Oe,ref_frames:Ee,chroma_format:W,chroma_format_string:O.getChromaFormatString(W),frame_rate:{fixed:ie,fps:ut,fps_den:fe,fps_num:oe},sar_ratio:{width:gt,height:Xe},codec_size:{width:We,height:it},present_size:{width:at,height:it}}}static _skipScalingList(e,t){let n=8,d=8,y=0;for(let p=0;p>>8&255|(Ke&255)<<8}function ee(Ke){return(Ke&4278190080)>>>24|(Ke&16711680)>>>8|(Ke&65280)<<8|(Ke&255)<<24}function a(Ke,e){return Ke[e]<<24|Ke[e+1]<<16|Ke[e+2]<<8|Ke[e+3]}class o{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Ue,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let d=(t[4]&4)>>>2!==0,y=(t[4]&1)!==0,p=a(t,5);return p<9?n:{match:!0,consumed:p,dataOffset:p,hasAudioTrack:d,hasVideoTrack:y}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Ue}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new C("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,d=this._littleEndian;if(t===0)if(e.byteLength>13)n=o.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&S.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!d)!==0&&S.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let p=y.getUint8(0),v=y.getUint32(0,!d)&16777215;if(n+11+v+4>e.byteLength)break;if(p!==8&&p!==9&&p!==18){S.w(this.TAG,`Unsupported tag type ${p}, skipped`),n+=11+v+4;continue}let le=y.getUint8(4),W=y.getUint8(5),Re=y.getUint8(6),Oe=y.getUint8(7),Fe=Re|W<<8|le<<16|Oe<<24;(y.getUint32(7,!d)&16777215)!==0&&S.w(this.TAG,"Meet tag which has StreamID != 0!");let ke=n+11;switch(p){case 8:this._parseAudioData(e,ke,v,Fe);break;case 9:this._parseVideoData(e,ke,v,Fe,t+n);break;case 18:this._parseScriptData(e,ke,v);break}let $e=y.getUint32(11+v,!d);$e!==11+v&&S.w(this.TAG,`Invalid PrevTagSize ${$e}`),n+=11+v+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let d=nt.parseScriptData(e,t,n);if(d.hasOwnProperty("onMetaData")){if(d.onMetaData==null||typeof d.onMetaData!="object"){S.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&S.w(this.TAG,"Found another onMetaData tag!"),this._metadata=d;let y=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},y)),typeof y.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=y.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof y.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=y.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof y.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=y.audiodatarate),typeof y.videodatarate=="number"&&(this._mediaInfo.videoDataRate=y.videodatarate),typeof y.width=="number"&&(this._mediaInfo.width=y.width),typeof y.height=="number"&&(this._mediaInfo.height=y.height),typeof y.duration=="number"){if(!this._durationOverrided){let p=Math.floor(y.duration*this._timescale);this._duration=p,this._mediaInfo.duration=p}}else this._mediaInfo.duration=0;if(typeof y.framerate=="number"){let p=Math.floor(y.framerate*1e3);if(p>0){let v=p/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=v,this._referenceFrameRate.fps_num=p,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=v}}if(typeof y.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let p=y.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(p),y.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=y,S.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(d).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},d))}_parseKeyframesIndex(e){let t=[],n=[];for(let d=1;d>>4;if(le!==2&&le!==10){this._onError(h.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+le);return}let W=0,Re=(v&12)>>>2;if(Re>=0&&Re<=4)W=this._flvSoundRateTable[Re];else{this._onError(h.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Re);return}let Oe=(v&2)>>>1,Fe=v&1,Ee=this._audioMetadata,ke=this._audioTrack;if(Ee||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ee=this._audioMetadata={},Ee.type="audio",Ee.id=ke.id,Ee.timescale=this._timescale,Ee.duration=this._duration,Ee.audioSampleRate=W,Ee.channelCount=Fe===0?1:2),le===10){let $e=this._parseAACAudioData(e,t+1,n-1);if($e==null)return;if($e.packetType===0){Ee.config&&S.w(this.TAG,"Found another AudioSpecificConfig!");let pe=$e.data;Ee.audioSampleRate=pe.samplingRate,Ee.channelCount=pe.channelCount,Ee.codec=pe.codec,Ee.originalCodec=pe.originalCodec,Ee.config=pe.config,Ee.refSampleDuration=1024/Ee.audioSampleRate*Ee.timescale,S.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ee);let _e=this._mediaInfo;_e.audioCodec=Ee.originalCodec,_e.audioSampleRate=Ee.audioSampleRate,_e.audioChannelCount=Ee.channelCount,_e.hasVideo?_e.videoCodec!=null&&(_e.mimeType='video/x-flv; codecs="'+_e.videoCodec+","+_e.audioCodec+'"'):_e.mimeType='video/x-flv; codecs="'+_e.audioCodec+'"',_e.isComplete()&&this._onMediaInfo(_e)}else if($e.packetType===1){let pe=this._timestampBase+d,_e={unit:$e.data,length:$e.data.byteLength,dts:pe,pts:pe};ke.samples.push(_e),ke.length+=$e.data.length}else S.e(this.TAG,`Flv: Unsupported AAC data type ${$e.packetType}`)}else if(le===2){if(!Ee.codec){let ze=this._parseMP3AudioData(e,t+1,n-1,!0);if(ze==null)return;Ee.audioSampleRate=ze.samplingRate,Ee.channelCount=ze.channelCount,Ee.codec=ze.codec,Ee.originalCodec=ze.originalCodec,Ee.refSampleDuration=1152/Ee.audioSampleRate*Ee.timescale,S.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ee);let Ae=this._mediaInfo;Ae.audioCodec=Ee.codec,Ae.audioSampleRate=Ee.audioSampleRate,Ae.audioChannelCount=Ee.channelCount,Ae.audioDataRate=ze.bitRate,Ae.hasVideo?Ae.videoCodec!=null&&(Ae.mimeType='video/x-flv; codecs="'+Ae.videoCodec+","+Ae.audioCodec+'"'):Ae.mimeType='video/x-flv; codecs="'+Ae.audioCodec+'"',Ae.isComplete()&&this._onMediaInfo(Ae)}let $e=this._parseMP3AudioData(e,t+1,n-1,!1);if($e==null)return;let pe=this._timestampBase+d,_e={unit:$e,length:$e.byteLength,dts:pe,pts:pe};ke.samples.push(_e),ke.length+=$e.length}}_parseAACAudioData(e,t,n){if(n<=1){S.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let d={},y=new Uint8Array(e,t,n);return d.packetType=y[0],y[0]===0?d.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):d.data=y.subarray(1),d}_parseAACAudioSpecificConfig(e,t,n){let d=new Uint8Array(e,t,n),y=null,p=0,v=0,le=null,W=0,Re=null;if(p=v=d[0]>>>3,W=(d[0]&7)<<1|d[1]>>>7,W<0||W>=this._mpegSamplingRates.length){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Oe=this._mpegSamplingRates[W],Fe=(d[1]&120)>>>3;if(Fe<0||Fe>=8){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}p===5&&(Re=(d[1]&7)<<1|d[2]>>>7,le=(d[2]&124)>>>2);let Ee=self.navigator.userAgent.toLowerCase();return Ee.indexOf("firefox")!==-1?W>=6?(p=5,y=new Array(4),Re=W-3):(p=2,y=new Array(2),Re=W):Ee.indexOf("android")!==-1?(p=2,y=new Array(2),Re=W):(p=5,Re=W,y=new Array(4),W>=6?Re=W-3:Fe===1&&(p=2,y=new Array(2),Re=W)),y[0]=p<<3,y[0]|=(W&15)>>>1,y[1]=(W&15)<<7,y[1]|=(Fe&15)<<3,p===5&&(y[1]|=(Re&15)>>>1,y[2]=(Re&1)<<7,y[2]|=8,y[3]=0),{config:y,samplingRate:Oe,channelCount:Fe,codec:"mp4a.40."+p,originalCodec:"mp4a.40."+v}}_parseMP3AudioData(e,t,n,d){if(n<4){S.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let y=this._littleEndian,p=new Uint8Array(e,t,n),v=null;if(d){if(p[0]!==255)return;let le=p[1]>>>3&3,W=(p[1]&6)>>1,Re=(p[2]&240)>>>4,Oe=(p[2]&12)>>>2,Ee=(p[3]>>>6&3)!==3?2:1,ke=0,$e=0,pe=34,_e="mp3";switch(le){case 0:ke=this._mpegAudioV25SampleRateTable[Oe];break;case 2:ke=this._mpegAudioV20SampleRateTable[Oe];break;case 3:ke=this._mpegAudioV10SampleRateTable[Oe];break}switch(W){case 1:pe=34,Re>>4,le=p&15;if(le!==7){this._onError(h.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${le}`);return}this._parseAVCVideoPacket(e,t+1,n-1,d,y,v)}_parseAVCVideoPacket(e,t,n,d,y,p){if(n<4){S.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let v=this._littleEndian,le=new DataView(e,t,n),W=le.getUint8(0),Oe=(le.getUint32(0,!v)&16777215)<<8>>8;if(W===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(W===1)this._parseAVCVideoData(e,t+4,n-4,d,y,p,Oe);else if(W!==2){this._onError(h.FORMAT_ERROR,`Flv: Invalid video packet type ${W}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){S.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let d=this._videoMetadata,y=this._videoTrack,p=this._littleEndian,v=new DataView(e,t,n);d?typeof d.avcc!="undefined"&&S.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),d=this._videoMetadata={},d.type="video",d.id=y.id,d.timescale=this._timescale,d.duration=this._duration);let le=v.getUint8(0),W=v.getUint8(1),Re=v.getUint8(2),Oe=v.getUint8(3);if(le!==1||W===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(v.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(h.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let Fe=v.getUint8(5)&31;if(Fe===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Fe>1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${Fe}`);let Ee=6;for(let $e=0;$e1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${ke}`);Ee++;for(let $e=0;$e=n){S.w(this.TAG,`Malformed Nalu near timestamp ${ke}, offset = ${Fe}, dataSize = ${n}`);break}let pe=W.getUint32(Fe,!le);if(Ee===3&&(pe>>>=8),pe>n-Ee){S.w(this.TAG,`Malformed Nalus near timestamp ${ke}, NaluSize > DataSize!`);return}let _e=W.getUint8(Fe+Ee)&31;_e===5&&($e=!0);let ze=new Uint8Array(e,t+Fe,Ee+pe),Ae={type:_e,data:ze};Re.push(Ae),Oe+=ze.byteLength,Fe+=Ee+pe}if(Re.length){let pe=this._videoTrack,_e={units:Re,length:Oe,isKeyframe:$e,dts:ke,cts:v,pts:ke+v};$e&&(_e.fileposition=y),pe.samples.push(_e),pe.length+=Oe}}}var E=o;class l{static init(){l.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in l.types)l.types.hasOwnProperty(t)&&(l.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=l.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,d=Array.prototype.slice.call(arguments,1),y=d.length;for(let v=0;v>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let p=8;for(let v=0;v>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return l.box(l.types.trak,l.tkhd(e),l.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,d=e.presentWidth,y=e.presentHeight;return l.box(l.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,d>>>8&255,d&255,0,0,y>>>8&255,y&255,0,0]))}static mdia(e){return l.box(l.types.mdia,l.mdhd(e),l.hdlr(e),l.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return l.box(l.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=l.constants.HDLR_AUDIO:t=l.constants.HDLR_VIDEO,l.box(l.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=l.box(l.types.smhd,l.constants.SMHD):t=l.box(l.types.vmhd,l.constants.VMHD),l.box(l.types.minf,t,l.dinf(),l.stbl(e))}static dinf(){return l.box(l.types.dinf,l.box(l.types.dref,l.constants.DREF))}static stbl(e){return l.box(l.types.stbl,l.stsd(e),l.box(l.types.stts,l.constants.STTS),l.box(l.types.stsc,l.constants.STSC),l.box(l.types.stsz,l.constants.STSZ),l.box(l.types.stco,l.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp3(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp4a(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types[".mp3"],d)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types.mp4a,d,l.esds(e))}static esds(e){let t=e.config||[],n=t.length,d=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return l.box(l.types.esds,d)}static avc1(e){let t=e.avcc,n=e.codecWidth,d=e.codecHeight,y=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,d>>>8&255,d&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return l.box(l.types.avc1,y,l.box(l.types.avcC,t))}static mvex(e){return l.box(l.types.mvex,l.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return l.box(l.types.trex,n)}static moof(e,t){return l.box(l.types.moof,l.mfhd(e.sequenceNumber),l.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return l.box(l.types.mfhd,t)}static traf(e,t){let n=e.id,d=l.box(l.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),y=l.box(l.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),p=l.sdtp(e),v=l.trun(e,p.byteLength+16+16+8+16+8+8);return l.box(l.types.traf,d,y,v,p)}static sdtp(e){let t=e.samples||[],n=t.length,d=new Uint8Array(4+n);for(let y=0;y>>24&255,d>>>16&255,d>>>8&255,d&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let v=0;v>>24&255,le>>>16&255,le>>>8&255,le&255,W>>>24&255,W>>>16&255,W>>>8&255,W&255,Re.isLeading<<2|Re.dependsOn,Re.isDependedOn<<6|Re.hasRedundancy<<4|Re.isNonSync,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255],12+16*v)}return l.box(l.types.trun,p)}static mdat(e){return l.box(l.types.mdat,e)}}l.init();var g=l;class L{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var ne=L;class G{constructor(e,t,n,d,y){this.dts=e,this.pts=t,this.duration=n,this.originalDts=d,this.isSyncPoint=y,this.fileposition=null}}class de{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class J{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[y].dts&&et[d].lastSample.originalDts&&e=t[d].lastSample.originalDts&&(d===t.length-1||d0&&(y=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=y,this._list.splice(y,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class X{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new re("audio"),this._videoSegmentInfoList=new re("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(w.chrome&&(w.version.major<50||w.version.major===50&&w.version.build<2661)),this._fillSilentAfterSeek=w.msedge||w.msie,this._mp3UseMpegAudio=!w.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new C("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,d="mp4",y=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(d="mpeg",y="",n=new Uint8Array):n=g.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=g.generateInitSegment(t);else return;if(!this._onInitSegment)throw new C("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:y,container:`${e}/${d}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let d={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(d.samples.push(t),d.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(d,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,d=n.samples,y,p=-1,v=-1,le=-1,W=this._audioMeta.refSampleDuration,Re=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Oe=this._dtsBaseInited&&this._audioNextDts===void 0,Fe=!1;if(!d||d.length===0||d.length===1&&!t)return;let Ee=0,ke=null,$e=0;Re?(Ee=0,$e=n.length):(Ee=8,$e=8+n.length);let pe=null;if(d.length>1&&(pe=d.pop(),$e-=pe.length),this._audioStashedLastSample!=null){let Xe=this._audioStashedLastSample;this._audioStashedLastSample=null,d.unshift(Xe),$e+=Xe.length}pe!=null&&(this._audioStashedLastSample=pe);let _e=d[0].dts-this._dtsBase;if(this._audioNextDts)y=_e-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())y=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(Fe=!0);else{let Xe=this._audioSegmentInfoList.getLastSampleBefore(_e);if(Xe!=null){let ut=_e-(Xe.originalDts+Xe.duration);ut<=3&&(ut=0);let ie=Xe.dts+Xe.duration+ut;y=_e-ie}else y=0}if(Fe){let Xe=_e-y,ut=this._videoSegmentInfoList.getLastSegmentBefore(_e);if(ut!=null&&ut.beginDts=1?be=ze[ze.length-1].duration:be=Math.floor(W);let ye=!1,ge=null;if(be>W*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!w.safari){ye=!0;let ve=Math.abs(be-W),We=Math.ceil(ve/W),it=fe+W;S.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${fe+be} ms, expected: ${fe+Math.round(W)} ms, delta: ${Math.round(ve)} ms, generate: ${We} frames`);let at=ne.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);at==null&&(S.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),at=ie),ge=[];for(let st=0;st0){let ct=ge[ge.length-1];ct.duration=It-ct.dts}let bt={dts:It,pts:It,cts:0,unit:at,size:at.byteLength,duration:0,originalDts:oe,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ge.push(bt),$e+=bt.size,it+=W}let ht=ge[ge.length-1];ht.duration=fe+be-ht.dts,be=Math.round(W)}ze.push({dts:fe,pts:fe,cts:0,unit:ut.unit,size:ut.unit.byteLength,duration:be,originalDts:oe,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),ye&&ze.push.apply(ze,ge)}Re?ke=new Uint8Array($e):(ke=new Uint8Array($e),ke[0]=$e>>>24&255,ke[1]=$e>>>16&255,ke[2]=$e>>>8&255,ke[3]=$e&255,ke.set(g.types.mdat,4));for(let Xe=0;Xe1&&(Ee=d.pop(),Fe-=Ee.length),this._videoStashedLastSample!=null){let Ae=this._videoStashedLastSample;this._videoStashedLastSample=null,d.unshift(Ae),Fe+=Ae.length}Ee!=null&&(this._videoStashedLastSample=Ee);let ke=d[0].dts-this._dtsBase;if(this._videoNextDts)y=ke-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())y=0;else{let Ae=this._videoSegmentInfoList.getLastSampleBefore(ke);if(Ae!=null){let Qe=ke-(Ae.originalDts+Ae.duration);Qe<=3&&(Qe=0);let Et=Ae.dts+Ae.duration+Qe;y=ke-Et}else y=0}let $e=new de,pe=[];for(let Ae=0;Ae=1?oe=pe[pe.length-1].duration:oe=Math.floor(this._videoMeta.refSampleDuration),gt){let fe=new G(Xe,ie,oe,Qe.dts,!0);fe.fileposition=Qe.fileposition,$e.appendSyncPoint(fe)}pe.push({dts:Xe,pts:ie,cts:ut,units:Qe.units,size:Qe.length,isKeyframe:gt,duration:oe,originalDts:Et,flags:{isLeading:0,dependsOn:gt?2:1,isDependedOn:gt?1:0,hasRedundancy:0,isNonSync:gt?0:1}})}Oe=new Uint8Array(Fe),Oe[0]=Fe>>>24&255,Oe[1]=Fe>>>16&255,Oe[2]=Fe>>>8&255,Oe[3]=Fe&255,Oe.set(g.types.mdat,4);for(let Ae=0;Ae{d.timestampBase=n,n+=d.duration,d.cors=e.cors,d.withCredentials=e.withCredentials,t.referrerPolicy&&(d.referrerPolicy=t.referrerPolicy)}),!isNaN(n)&&this._mediaDataSource.duration!==n&&(this._mediaDataSource.duration=n),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,t){this._currentSegmentIndex=e;let n=this._mediaDataSource.segments[e],d=this._ioctl=new ae(n,this._config,e);d.onError=this._onIOException.bind(this),d.onSeeked=this._onIOSeeked.bind(this),d.onComplete=this._onIOComplete.bind(this),d.onRedirect=this._onIORedirect.bind(this),d.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):d.onDataArrival=this._onInitChunkArrival.bind(this),d.open(t)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e;else{let d=n.getNearestKeyframe(e);this._remuxer.seek(d.milliseconds),this._ioctl.seek(d.fileposition),this._pendingResolveSeekPoint=d.milliseconds}}else{let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{let d=n.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,d.fileposition),this._pendingResolveSeekPoint=d.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let t=this._mediaDataSource.segments,n=t.length-1;for(let d=0;d0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,d=this._demuxer.parseChunks(e,t);else if((n=E.probe(e)).match){this._demuxer=new E(n,this._config),this._remuxer||(this._remuxer=new Ze(this._config));let y=this._mediaDataSource;y.duration!=null&&!isNaN(y.duration)&&(this._demuxer.overridedDuration=y.duration),typeof y.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=y.hasAudio),typeof y.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=y.hasVideo),this._demuxer.timestampBase=y.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),d=this._demuxer.parseChunks(e,t)}else n=null,S.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(V.DEMUX_ERROR,h.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),d=0;return d}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Ue.prototype));let t=Object.assign({},e);Object.setPrototypeOf(t,Ue.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=t,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let n=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(n)})}_onMetaDataArrived(e){this._emitter.emit(V.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(V.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let n=e+1;n0&&n[0].originalDts===d&&(d=n[0].pts),this._emitter.emit(V.RECOMMEND_SEEKPOINT,d)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let t=this._mediaInfo.segments[e],n=Object.assign({},t);n.duration=this._mediaInfo.duration,n.segmentCount=this._mediaInfo.segmentCount,delete n.segments,delete n.keyframesIndex,this._emitter.emit(V.MEDIA_INFO,n)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(V.STATISTICS_INFO,e)}}var Ye=Ne,et=function(Ke){let e="TransmuxingWorker",t=null,n=$e.bind(this);m.install(),Ke.addEventListener("message",function(pe){switch(pe.data.cmd){case"init":t=new Ye(pe.data.param[0],pe.data.param[1]),t.on(V.IO_ERROR,Fe.bind(this)),t.on(V.DEMUX_ERROR,Ee.bind(this)),t.on(V.INIT_SEGMENT,d.bind(this)),t.on(V.MEDIA_SEGMENT,y.bind(this)),t.on(V.LOADING_COMPLETE,p.bind(this)),t.on(V.RECOVERED_EARLY_EOF,v.bind(this)),t.on(V.MEDIA_INFO,le.bind(this)),t.on(V.METADATA_ARRIVED,W.bind(this)),t.on(V.SCRIPTDATA_ARRIVED,Re.bind(this)),t.on(V.STATISTICS_INFO,Oe.bind(this)),t.on(V.RECOMMEND_SEEKPOINT,ke.bind(this));break;case"destroy":t&&(t.destroy(),t=null),Ke.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(pe.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":{let _e=pe.data.param;Be.applyConfig(_e),_e.enableCallback===!0?Be.addLogListener(n):Be.removeLogListener(n);break}}});function d(pe,_e){let ze={msg:V.INIT_SEGMENT,data:{type:pe,data:_e}};Ke.postMessage(ze,[_e.data])}function y(pe,_e){let ze={msg:V.MEDIA_SEGMENT,data:{type:pe,data:_e}};Ke.postMessage(ze,[_e.data])}function p(){let pe={msg:V.LOADING_COMPLETE};Ke.postMessage(pe)}function v(){let pe={msg:V.RECOVERED_EARLY_EOF};Ke.postMessage(pe)}function le(pe){let _e={msg:V.MEDIA_INFO,data:pe};Ke.postMessage(_e)}function W(pe){let _e={msg:V.METADATA_ARRIVED,data:pe};Ke.postMessage(_e)}function Re(pe){let _e={msg:V.SCRIPTDATA_ARRIVED,data:pe};Ke.postMessage(_e)}function Oe(pe){let _e={msg:V.STATISTICS_INFO,data:pe};Ke.postMessage(_e)}function Fe(pe,_e){Ke.postMessage({msg:V.IO_ERROR,data:{type:pe,info:_e}})}function Ee(pe,_e){Ke.postMessage({msg:V.DEMUX_ERROR,data:{type:pe,info:_e}})}function ke(pe){Ke.postMessage({msg:V.RECOMMEND_SEEKPOINT,data:pe})}function $e(pe,_e){Ke.postMessage({msg:"logcat_callback",data:{type:pe,logcat:_e}})}};class qe{constructor(e,t){if(this.TAG="Transmuxer",this._emitter=new(K()),t.enableWorker&&typeof Worker!="undefined")try{let n=r(82059);this._worker=n(et),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,t]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Be.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Be.getConfig()})}catch(n){S.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Ye(e,t)}else this._controller=new Ye(e,t);if(this._controller){let n=this._controller;n.on(V.IO_ERROR,this._onIOError.bind(this)),n.on(V.DEMUX_ERROR,this._onDemuxError.bind(this)),n.on(V.INIT_SEGMENT,this._onInitSegment.bind(this)),n.on(V.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),n.on(V.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),n.on(V.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),n.on(V.MEDIA_INFO,this._onMediaInfo.bind(this)),n.on(V.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),n.on(V.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),n.on(V.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),n.on(V.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Be.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.INIT_SEGMENT,e,t)})}_onMediaSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.MEDIA_SEGMENT,e,t)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(V.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(V.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(V.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(V.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(V.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(V.STATISTICS_INFO,e)})}_onIOError(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.IO_ERROR,e,t)})}_onDemuxError(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.DEMUX_ERROR,e,t)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(V.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let t=e.data,n=t.data;if(t.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(t.msg){case V.INIT_SEGMENT:case V.MEDIA_SEGMENT:this._emitter.emit(t.msg,n.type,n.data);break;case V.LOADING_COMPLETE:case V.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case V.MEDIA_INFO:Object.setPrototypeOf(n,Ue.prototype),this._emitter.emit(t.msg,n);break;case V.METADATA_ARRIVED:case V.SCRIPTDATA_ARRIVED:case V.STATISTICS_INFO:this._emitter.emit(t.msg,n);break;case V.IO_ERROR:case V.DEMUX_ERROR:this._emitter.emit(t.msg,n.type,n.info);break;case V.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,n);break;case"logcat_callback":S.emitter.emit("log",n.type,n.logcat);break;default:break}}}var mt=qe,pt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class wt{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(K()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new J}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaSource)throw new C("MediaSource has been attached to an HTMLMediaElement!");let t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let t in this._sourceBuffers){let n=this._pendingSegments[t];n.splice(0,n.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;let d=this._sourceBuffers[t];if(d){if(e.readyState!=="closed"){try{e.removeSourceBuffer(d)}catch(y){S.e(this.TAG,y.message)}d.removeEventListener("error",this.e.onSourceBufferError),d.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[t]=null,this._sourceBuffers[t]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(t){S.e(this.TAG,t.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,t){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let n=e,d=`${n.container}`;n.codec&&n.codec.length>0&&(d+=`;codecs=${n.codec}`);let y=!1;if(S.v(this.TAG,"Received Initialization Segment, mimeType: "+d),this._lastInitSegments[n.type]=n,d!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])S.v(this.TAG,`Notice: ${n.type} mimeType changed, origin: ${this._mimeTypes[n.type]}, target: ${d}`);else{y=!0;try{let p=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(d);p.addEventListener("error",this.e.onSourceBufferError),p.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(p){S.e(this.TAG,p.message),this._emitter.emit(pt.ERROR,{code:p.code,msg:p.message});return}}this._mimeTypes[n.type]=d}t||this._pendingSegments[n.type].push(n),y||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),w.safari&&n.container==="audio/mpeg"&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let n=this._sourceBuffers[t.type];n&&!n.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let t in this._sourceBuffers){if(!this._sourceBuffers[t])continue;let n=this._sourceBuffers[t];if(this._mediaSource.readyState==="open")try{n.abort()}catch(y){S.e(this.TAG,y.message)}this._idrList.clear();let d=this._pendingSegments[t];if(d.splice(0,d.length),this._mediaSource.readyState!=="closed"){for(let y=0;y=1&&e-d.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let t in this._sourceBuffers){let n=this._sourceBuffers[t];if(n){let d=n.buffered,y=!1;for(let p=0;p=this._config.autoCleanupMaxBackwardDuration){y=!0;let W=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:v,end:W})}}else le0&&(isNaN(t)||n>t)&&(S.v(this.TAG,`Update MediaSource duration from ${t} to ${n}`),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let t=this._sourceBuffers[e],n=this._pendingRemoveRanges[e];for(;n.length&&!t.updating;){let d=n.shift();t.remove(d.start,d.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let t in e)if(!(!this._sourceBuffers[t]||this._sourceBuffers[t].updating)&&e[t].length>0){let n=e[t].shift();if(n.timestampOffset){let d=this._sourceBuffers[t].timestampOffset,y=n.timestampOffset/1e3;Math.abs(d-y)>.1&&(S.v(this.TAG,`Update MPEG audio timestampOffset from ${d} to ${y}`),this._sourceBuffers[t].timestampOffset=y),delete n.timestampOffset}if(!n.data||n.data.byteLength===0)continue;try{this._sourceBuffers[t].appendBuffer(n.data),this._isBufferFull=!1,t==="video"&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(d){this._pendingSegments[t].unshift(n),d.code===22?(this._isBufferFull||this._emitter.emit(pt.BUFFER_FULL),this._isBufferFull=!0):(S.e(this.TAG,d.message),this._emitter.emit(pt.ERROR,{code:d.code,msg:d.message}))}}}_onSourceOpen(){if(S.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(pt.SOURCE_OPEN)}_onSourceEnded(){S.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){S.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(pt.UPDATE_END)}_onSourceBufferError(e){S.e(this.TAG,`SourceBuffer Error: ${e}`)}}var xt=wt;const Ve={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},ft={NETWORK_EXCEPTION:j.EXCEPTION,NETWORK_STATUS_CODE_INVALID:j.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:j.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:j.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:h.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:h.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:h.CODEC_UNSUPPORTED};class At{constructor(e,t){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(K()),this._config=se(),typeof t=="object"&&Object.assign(this._config,t),e.type.toLowerCase()!=="flv")throw new ue("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let n=w.chrome&&(w.version.major<50||w.version.major===50&&w.version.build<2661);this._alwaysSeekKeyframe=!!(n||w.msedge||w.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){e===Ce.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Ce.MEDIA_INFO,this.mediaInfo)}):e===Ce.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Ce.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new xt(this._config),this._msectl.on(pt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(pt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(pt.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(pt.ERROR,t=>{this._emitter.emit(Ce.ERROR,Ve.MEDIA_ERROR,ft.MEDIA_MSE_ERROR,t)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new C("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new C("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new mt(this._mediaDataSource,this._config),this._transmuxer.on(V.INIT_SEGMENT,(e,t)=>{this._msectl.appendInitSegment(t)}),this._transmuxer.on(V.MEDIA_SEGMENT,(e,t)=>{if(this._msectl.appendMediaSegment(t),this._config.lazyLoad&&!this._config.isLive){let n=this._mediaElement.currentTime;t.info.endDts>=(n+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(S.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(V.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(Ce.LOADING_COMPLETE)}),this._transmuxer.on(V.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(Ce.RECOVERED_EARLY_EOF)}),this._transmuxer.on(V.IO_ERROR,(e,t)=>{this._emitter.emit(Ce.ERROR,Ve.NETWORK_ERROR,e,t)}),this._transmuxer.on(V.DEMUX_ERROR,(e,t)=>{this._emitter.emit(Ce.ERROR,Ve.MEDIA_ERROR,e,{code:-1,msg:t})}),this._transmuxer.on(V.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(Ce.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(V.METADATA_ARRIVED,e=>{this._emitter.emit(Ce.METADATA_ARRIVED,e)}),this._transmuxer.on(V.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(Ce.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(V.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(Ce.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(V.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,d=0;if(this._mediaElement.getVideoPlaybackQuality){let y=this._mediaElement.getVideoPlaybackQuality();n=y.totalVideoFrames,d=y.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,d=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=d),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,t=this._mediaElement.currentTime,n=0,d=0;for(let y=0;y=t+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(S.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){S.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,t=this._mediaElement.buffered,n=!1;for(let d=0;d=y&&e=p-this._config.lazyLoadRecoverDuration&&(n=!0);break}}n&&(window.clearInterval(this._progressChecker),this._progressChecker=null,n&&(S.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let t=this._mediaElement.buffered;for(let n=0;n=d&&e0){let y=this._mediaElement.buffered.start(0);(y<1&&e0&&t.currentTime0){let d=n.start(0);if(d<1&&t{this._emitter.emit(Ce.MEDIA_INFO,this.mediaInfo)}):e===Ce.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(Ce.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new C("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let t={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,d=0;if(this._mediaElement.getVideoPlaybackQuality){let y=this._mediaElement.getVideoPlaybackQuality();n=y.totalVideoFrames,d=y.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,d=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=d),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ce.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(Ce.STATISTICS_INFO,this.statisticsInfo)}}var qt=Lt;m.install();function kt(Ke,e){let t=Ke;if(t==null||typeof t!="object")throw new ue("MediaDataSource must be an javascript object!");if(!t.hasOwnProperty("type"))throw new ue("MediaDataSource must has type field to indicate video file type!");switch(t.type){case"flv":return new dt(t,e);default:return new qt(t,e)}}function Xt(){return we.supportMSEH264Playback()}function Kt(){return we.getFeatureList()}let Mt={};Mt.createPlayer=kt,Mt.isSupported=Xt,Mt.getFeatureList=Kt,Mt.BaseLoader=k,Mt.LoaderStatus=b,Mt.LoaderErrors=j,Mt.Events=Ce,Mt.ErrorTypes=Ve,Mt.ErrorDetails=ft,Mt.FlvPlayer=dt,Mt.NativePlayer=qt,Mt.LoggingControl=Be,Object.defineProperty(Mt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var fn=Mt},56762:function(Je,Q,r){"use strict";r.d(Q,{Z:function(){return m}});var u=r(59301);function m(){const[,$]=u.useReducer(K=>K+1,0);return $}},19080:function(Je,Q,r){"use strict";r.d(Q,{F:function(){return R},Z:function(){return K}});var u=r(92310),m=r.n(u);const $=null;function K(S,U,q){return m()({[`${S}-status-success`]:U==="success",[`${S}-status-warning`]:U==="warning",[`${S}-status-error`]:U==="error",[`${S}-status-validating`]:U==="validating",[`${S}-has-feedback`]:q})}const R=(S,U)=>U||S},98447:function(Je,Q,r){"use strict";r.d(Q,{C2:function(){return R}});var u=r(17313),m=r(37613),$=r(83116);const K=S=>{const{checkboxCls:U}=S,q=`${U}-wrapper`;return[{[`${U}-group`]:Object.assign(Object.assign({},(0,u.Wf)(S)),{display:"inline-flex",flexWrap:"wrap",columnGap:S.marginXS,[`> ${S.antCls}-row`]:{flex:1}}),[q]:Object.assign(Object.assign({},(0,u.Wf)(S)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${q}`]:{marginInlineStart:0},[`&${q}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[U]:Object.assign(Object.assign({},(0,u.Wf)(S)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:S.borderRadiusSM,alignSelf:"center",[`${U}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${U}-inner`]:Object.assign({},(0,u.oN)(S))},[`${U}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:S.checkboxSize,height:S.checkboxSize,direction:"ltr",backgroundColor:S.colorBgContainer,border:`${S.lineWidth}px ${S.lineType} ${S.colorBorder}`,borderRadius:S.borderRadiusSM,borderCollapse:"separate",transition:`all ${S.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:S.checkboxSize/14*5,height:S.checkboxSize/14*8,border:`${S.lineWidthBold}px solid ${S.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${S.motionDurationFast} ${S.motionEaseInBack}, opacity ${S.motionDurationFast}`}},"& + span":{paddingInlineStart:S.paddingXS,paddingInlineEnd:S.paddingXS}})},{[` ${q}:not(${q}-disabled), ${U}:not(${U}-disabled) diff --git a/p__Innovation__PublicProject__index.e39505eb.async.js b/p__Innovation__PublicProject__index.aaee1f55.async.js similarity index 91% rename from p__Innovation__PublicProject__index.e39505eb.async.js rename to p__Innovation__PublicProject__index.aaee1f55.async.js index 91de2a4598..3940fe7cf7 100644 --- a/p__Innovation__PublicProject__index.e39505eb.async.js +++ b/p__Innovation__PublicProject__index.aaee1f55.async.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6366],{40001:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},81953:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},49198:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},84105:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},18785:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},90466:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},33853:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},62772:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},38819:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},47472:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},15421:function(Qt,Me,e){e.r(Me),e.d(Me,{default:function(){return y}});var s=e(59301),h=e(48066),C=e(99313),H=e(3113),x=e(58421),M=e(90466),D=e(65582),F=e(41867),q=e(38147),v=e(2524),Ee=e(66649),u=e.n(Ee),b={flex_box_center:"flex_box_center___usqtP",flex_space_between:"flex_space_between___Q1rHf",flex_box_vertical_center:"flex_box_vertical_center___iwfef",flex_box_center_end:"flex_box_center_end___UgC5k",flex_box_column:"flex_box_column___vaSfm",count:"count___EA_49",header:"header___K169U",title:"title___LKM3L",projectHostBtn:"projectHostBtn___wyYgV",createProjectBtn:"createProjectBtn___hbbv4",projectItem:"projectItem___r2qCB"},It=e(74128),Ie=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,Kt=(U,W,le)=>W in U?Ie(U,W,{enumerable:!0,configurable:!0,writable:!0,value:le}):U[W]=le,re=(U,W)=>{for(var le in W||(W={}))Tt.call(W,le)&&Kt(U,le,W[le]);if(Ct)for(var le of Ct(W))gt.call(W,le)&&Kt(U,le,W[le]);return U},te=(U,W,le)=>new Promise((Xe,Ce)=>{var ut=je=>{try{xt(le.next(je))}catch(we){Ce(we)}},Ht=je=>{try{xt(le.throw(je))}catch(we){Ce(we)}},xt=je=>je.done?Xe(je.value):Promise.resolve(je.value).then(ut,Ht);xt((le=le.apply(U,W)).next())});const{Paragraph:f}=h.default,{TabPane:n}=C.default,m=({dispatch:U})=>{var W;let[le,Xe]=(0,s.useState)({limit:10,page:1,tab:"public",tab_module_type:"innovation"});const[Ce,ut]=(0,s.useState)([]);(0,s.useEffect)(()=>{Ht()},[]);function Ht(){return te(this,null,function*(){let je=yield(0,q.ZP)("/api/sci/projects.json",{method:"get",params:le});je!=null&&je.un_purchased&&U({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}}),ut(je)})}const xt=()=>{if((Ce==null?void 0:Ce.my_sci_projects_num)>=10&&!(0,F.Ny)()){U({type:"innovation/openSimpleModal",payload:{title:"\u9879\u76EE\u6570\u91CF\u8FBE\u5230\u4E0A\u9650",children:"\u6BCF\u4F4D\u7528\u6237\u6700\u591A\u53EA\u80FD\u521B\u5EFA10\u4E2A\u9879\u76EE\uFF0C\u4F60\u7684\u9879\u76EE\u6570\u91CF\u5DF2\u7ECF\u8FBE\u5230\u4E0A\u9650\u3002",footer:s.createElement(H.ZP,{onClick:()=>U({type:"innovation/closeSimpleModal"}),type:"primary"},"\u6211\u77E5\u9053\u4E86")}});return}D.history.push("/innovation/project/create")};return s.createElement("div",null,s.createElement("div",{className:b.header},s.createElement("span",{className:b.title},"\u516C\u5F00\u9879\u76EE"),s.createElement("div",{onClick:()=>D.history.push("/projects"),className:b.projectHostBtn},"\u9879\u76EE\u6258\u7BA1"),s.createElement("div",{onClick:xt,className:b.createProjectBtn},"\u521B\u5EFA\u9879\u76EE")),(Ce==null?void 0:Ce.count)<=0&&s.createElement(v.Z,null),(W=Ce==null?void 0:Ce.sci_projects)==null?void 0:W.map((je,we)=>s.createElement("div",{key:we,className:b.projectItem,onClick:()=>{D.history.push(`/innovation/project/detail/${je==null?void 0:je.id}`)}},s.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},s.createElement("div",null,s.createElement("img",{style:{width:30,height:30,borderRadius:"50%",marginRight:10},src:It.Z.IMG_SERVER+"/images/"+je.avatar_url}),s.createElement("span",{style:{fontSize:"14px",color:"#6B758B",marginRight:10}},je==null?void 0:je.username),s.createElement("span",{style:{color:"#464F66",fontSize:"14px"}},je==null?void 0:je.name)),s.createElement("div",null,s.createElement("span",{style:{marginRight:20,color:"#9096A3",fontSize:12}},s.createElement("i",{className:"iconfont icon-chakan1 current ml5 font12",style:{marginRight:8,color:"#B1BACD",fontSize:12}}),je==null?void 0:je.visits),s.createElement("span",{style:{marginRight:20,color:"#9096A3",fontSize:12}},s.createElement(M.Z,{style:{marginRight:8,fontSize:12}}),je==null?void 0:je.forked_count))),s.createElement("div",{className:b.count,style:{marginTop:5,color:"#464F66",fontSize:14,marginLeft:40},title:je==null?void 0:je.description},je==null?void 0:je.description),s.createElement("div",{style:{marginTop:15,color:"#9096A3",fontSize:12,marginLeft:40}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",u()(je==null?void 0:je.created_at).format("YYYY-MM-DD HH:mm")))),s.createElement(x.Z,{style:{textAlign:"center",marginTop:20},current:le.page,pageSize:10,showSizeChanger:!1,total:Ce==null?void 0:Ce.count,hideOnSinglePage:!0,onChange:je=>{le.page=je,Xe(re({},le)),Ht()}}))};var y=(0,D.connect)(({innovation:U})=>({innovation:U}))(m)},56762:function(Qt,Me,e){e.d(Me,{Z:function(){return h}});var s=e(59301);function h(){const[,C]=s.useReducer(H=>H+1,0);return C}},19080:function(Qt,Me,e){e.d(Me,{F:function(){return x},Z:function(){return H}});var s=e(92310),h=e.n(s);const C=null;function H(M,D,F){return h()({[`${M}-status-success`]:D==="success",[`${M}-status-warning`]:D==="warning",[`${M}-status-error`]:D==="error",[`${M}-status-validating`]:D==="validating",[`${M}-has-feedback`]:F})}const x=(M,D)=>D||M},93891:function(Qt,Me,e){var s=e(59301),h=e(36355),C=e(64165);const H=x=>{const{componentName:M}=x,{getPrefixCls:D}=(0,s.useContext)(h.E_),F=D("empty");switch(M){case"Table":case"List":return s.createElement(C.Z,{image:C.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return s.createElement(C.Z,{image:C.Z.PRESENTED_IMAGE_SIMPLE,className:`${F}-small`});default:return s.createElement(C.Z,null)}};Me.Z=H},64165:function(Qt,Me,e){e.d(Me,{Z:function(){return re}});var s=e(92310),h=e.n(s),C=e(59301),H=e(36355),x=e(9763),M=e(64993),D=e(88088),q=()=>{const[,te]=(0,D.Z)(),n=new M.C(te.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return C.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},C.createElement("g",{fill:"none",fillRule:"evenodd"},C.createElement("g",{transform:"translate(24 31.67)"},C.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),C.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),C.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),C.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),C.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),C.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),C.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},C.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),C.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Ee=()=>{const[,te]=(0,D.Z)(),{colorFill:f,colorFillTertiary:n,colorFillQuaternary:m,colorBgContainer:y}=te,{borderColor:U,shadowColor:W,contentColor:le}=(0,C.useMemo)(()=>({borderColor:new M.C(f).onBackground(y).toHexShortString(),shadowColor:new M.C(n).onBackground(y).toHexShortString(),contentColor:new M.C(m).onBackground(y).toHexShortString()}),[f,n,m,y]);return C.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},C.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},C.createElement("ellipse",{fill:W,cx:"32",cy:"33",rx:"32",ry:"7"}),C.createElement("g",{fillRule:"nonzero",stroke:U},C.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),C.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:le}))))},u=e(83116),b=e(37613);const It=te=>{const{componentCls:f,margin:n,marginXS:m,marginXL:y,fontSize:U,lineHeight:W}=te;return{[f]:{marginInline:m,fontSize:U,lineHeight:W,textAlign:"center",[`${f}-image`]:{height:te.emptyImgHeight,marginBottom:m,opacity:te.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${f}-description`]:{color:te.colorText},[`${f}-footer`]:{marginTop:n},"&-normal":{marginBlock:y,color:te.colorTextDisabled,[`${f}-description`]:{color:te.colorTextDisabled},[`${f}-image`]:{height:te.emptyImgHeightMD}},"&-small":{marginBlock:m,color:te.colorTextDisabled,[`${f}-image`]:{height:te.emptyImgHeightSM}}}}};var Ie=(0,u.Z)("Empty",te=>{const{componentCls:f,controlHeightLG:n}=te,m=(0,b.TS)(te,{emptyImgCls:`${f}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[It(m)]}),Ct=function(te,f){var n={};for(var m in te)Object.prototype.hasOwnProperty.call(te,m)&&f.indexOf(m)<0&&(n[m]=te[m]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,m=Object.getOwnPropertySymbols(te);y{var{className:f,rootClassName:n,prefixCls:m,image:y=Tt,description:U,children:W,imageStyle:le,style:Xe}=te,Ce=Ct(te,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:ut,direction:Ht,empty:xt}=C.useContext(H.E_),je=ut("empty",m),[we,k]=Ie(je),[ge]=(0,x.Z)("Empty"),Be=typeof U!="undefined"?U:ge==null?void 0:ge.description,Ne=typeof Be=="string"?Be:"empty";let Ge=null;return typeof y=="string"?Ge=C.createElement("img",{alt:Ne,src:y}):Ge=y,we(C.createElement("div",Object.assign({className:h()(k,je,xt==null?void 0:xt.className,{[`${je}-normal`]:y===gt,[`${je}-rtl`]:Ht==="rtl"},f,n),style:Object.assign(Object.assign({},xt==null?void 0:xt.style),Xe)},Ce),C.createElement("div",{className:`${je}-image`,style:le},Ge),Be&&C.createElement("div",{className:`${je}-description`},Be),W&&C.createElement("div",{className:`${je}-footer`},W)))};Kt.PRESENTED_IMAGE_DEFAULT=Tt,Kt.PRESENTED_IMAGE_SIMPLE=gt;var re=Kt},8628:function(Qt,Me,e){var s=e(59301),h=e(34280),C=e(56762),H=e(69507);function x(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const D=(0,s.useRef)({}),F=(0,C.Z)(),q=(0,H.ZP)();return(0,h.Z)(()=>{const v=q.subscribe(Ee=>{D.current=Ee,M&&F()});return()=>q.unsubscribe(v)},[]),D.current}Me.Z=x},9432:function(Qt,Me,e){e.d(Me,{Z:function(){return Kt},n:function(){return Tt}});var s=e(19248),h=e(92310),C=e.n(h),H=e(93681),x=e(8654),M=e(59301),D=e(19080),F=e(36355),q=e(1684),v=e(19716),Ee=e(32441),u=e(33234),b=e(59412),It=e(9937);function Ie(re){return!!(re.prefix||re.suffix||re.allowClear)}var Ct=function(re,te){var f={};for(var n in re)Object.prototype.hasOwnProperty.call(re,n)&&te.indexOf(n)<0&&(f[n]=re[n]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,n=Object.getOwnPropertySymbols(re);m{var f;const{prefixCls:n,bordered:m=!0,status:y,size:U,disabled:W,onBlur:le,onFocus:Xe,suffix:Ce,allowClear:ut,addonAfter:Ht,addonBefore:xt,className:je,style:we,styles:k,rootClassName:ge,onChange:Be,classNames:Ne}=re,Ge=Ct(re,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ke,direction:it,input:De}=M.useContext(F.E_),Re=ke("input",n),Lt=(0,M.useRef)(null),[Yt,wt]=(0,It.ZP)(Re),{compactSize:Wt,compactItemClassnames:Gt}=(0,u.ri)(Re,it),Rt=(0,v.Z)(ne=>{var L;return(L=U!=null?U:Wt)!==null&&L!==void 0?L:ne}),A=M.useContext(q.Z),Le=W!=null?W:A,{status:fe,hasFeedback:ie,feedbackIcon:he}=(0,M.useContext)(Ee.aM),me=(0,D.F)(fe,y),be=Ie(re)||!!ie,ve=(0,M.useRef)(be);(0,M.useEffect)(()=>{var ne;be&&ve.current,ve.current=be},[be]);const i=(0,b.Z)(Lt,!0),l=ne=>{i(),le==null||le(ne)},oe=ne=>{i(),Xe==null||Xe(ne)},N=ne=>{i(),Be==null||Be(ne)},c=(ie||Ce)&&M.createElement(M.Fragment,null,Ce,ie&&he);let Z;return typeof ut=="object"&&(ut!=null&&ut.clearIcon)?Z=ut:ut&&(Z={clearIcon:M.createElement(s.Z,null)}),Yt(M.createElement(H.default,Object.assign({ref:(0,x.sQ)(te,Lt),prefixCls:Re,autoComplete:De==null?void 0:De.autoComplete},Ge,{disabled:Le,onBlur:l,onFocus:oe,style:Object.assign(Object.assign({},De==null?void 0:De.style),we),styles:Object.assign(Object.assign({},De==null?void 0:De.styles),k),suffix:c,allowClear:Z,className:C()(je,ge,Gt,De==null?void 0:De.className),onChange:N,addonAfter:Ht&&M.createElement(u.BR,null,M.createElement(Ee.Ux,{override:!0,status:!0},Ht)),addonBefore:xt&&M.createElement(u.BR,null,M.createElement(Ee.Ux,{override:!0,status:!0},xt)),classNames:Object.assign(Object.assign(Object.assign({},Ne),De==null?void 0:De.classNames),{input:C()({[`${Re}-sm`]:Rt==="small",[`${Re}-lg`]:Rt==="large",[`${Re}-rtl`]:it==="rtl",[`${Re}-borderless`]:!m},!be&&(0,D.Z)(Re,me),Ne==null?void 0:Ne.input,(f=De==null?void 0:De.classNames)===null||f===void 0?void 0:f.input,wt)}),classes:{affixWrapper:C()({[`${Re}-affix-wrapper-sm`]:Rt==="small",[`${Re}-affix-wrapper-lg`]:Rt==="large",[`${Re}-affix-wrapper-rtl`]:it==="rtl",[`${Re}-affix-wrapper-borderless`]:!m},(0,D.Z)(`${Re}-affix-wrapper`,me,ie),wt),wrapper:C()({[`${Re}-group-rtl`]:it==="rtl"},wt),group:C()({[`${Re}-group-wrapper-sm`]:Rt==="small",[`${Re}-group-wrapper-lg`]:Rt==="large",[`${Re}-group-wrapper-rtl`]:it==="rtl",[`${Re}-group-wrapper-disabled`]:Le},(0,D.Z)(`${Re}-group-wrapper`,me,ie),wt)}})))})},1643:function(Qt,Me,e){var s=e(19248),h=e(92310),C=e.n(h),H=e(9296),x=e(59301),M=e(19080),D=e(36355),F=e(1684),q=e(19716),v=e(32441),Ee=e(9432),u=e(9937),b=function(Ie,Ct){var Tt={};for(var gt in Ie)Object.prototype.hasOwnProperty.call(Ie,gt)&&Ct.indexOf(gt)<0&&(Tt[gt]=Ie[gt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,gt=Object.getOwnPropertySymbols(Ie);Kt{const{prefixCls:Tt,bordered:gt=!0,size:Kt,disabled:re,status:te,allowClear:f,showCount:n,classNames:m,rootClassName:y,className:U}=Ie,W=b(Ie,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:le,direction:Xe}=x.useContext(D.E_),Ce=(0,q.Z)(Kt),ut=x.useContext(F.Z),Ht=re!=null?re:ut,{status:xt,hasFeedback:je,feedbackIcon:we}=x.useContext(v.aM),k=(0,M.F)(xt,te),ge=x.useRef(null);x.useImperativeHandle(Ct,()=>{var it;return{resizableTextArea:(it=ge.current)===null||it===void 0?void 0:it.resizableTextArea,focus:De=>{var Re,Lt;(0,Ee.n)((Lt=(Re=ge.current)===null||Re===void 0?void 0:Re.resizableTextArea)===null||Lt===void 0?void 0:Lt.textArea,De)},blur:()=>{var De;return(De=ge.current)===null||De===void 0?void 0:De.blur()}}});const Be=le("input",Tt);let Ne;typeof f=="object"&&(f!=null&&f.clearIcon)?Ne=f:f&&(Ne={clearIcon:x.createElement(s.Z,null)});const[Ge,ke]=(0,u.ZP)(Be);return Ge(x.createElement(H.default,Object.assign({},W,{disabled:Ht,allowClear:Ne,className:C()(U,y),classes:{affixWrapper:C()(`${Be}-textarea-affix-wrapper`,{[`${Be}-affix-wrapper-rtl`]:Xe==="rtl",[`${Be}-affix-wrapper-borderless`]:!gt,[`${Be}-affix-wrapper-sm`]:Ce==="small",[`${Be}-affix-wrapper-lg`]:Ce==="large",[`${Be}-textarea-show-count`]:n},(0,M.Z)(`${Be}-affix-wrapper`,k),ke)},classNames:Object.assign(Object.assign({},m),{textarea:C()({[`${Be}-borderless`]:!gt,[`${Be}-sm`]:Ce==="small",[`${Be}-lg`]:Ce==="large"},(0,M.Z)(Be,k),ke,m==null?void 0:m.textarea)}),prefixCls:Be,suffix:je&&x.createElement("span",{className:`${Be}-textarea-suffix`},we),showCount:n,ref:ge})))});Me.Z=It},59412:function(Qt,Me,e){e.d(Me,{Z:function(){return h}});var s=e(59301);function h(C,H){const x=(0,s.useRef)([]),M=()=>{x.current.push(setTimeout(()=>{var D,F,q,v;!((D=C.current)===null||D===void 0)&&D.input&&((F=C.current)===null||F===void 0?void 0:F.input.getAttribute("type"))==="password"&&(!((q=C.current)===null||q===void 0)&&q.input.hasAttribute("value"))&&((v=C.current)===null||v===void 0||v.input.removeAttribute("value"))}))};return(0,s.useEffect)(()=>(H&&M(),()=>x.current.forEach(D=>{D&&clearTimeout(D)})),[]),M}},9937:function(Qt,Me,e){e.d(Me,{M1:function(){return D},TM:function(){return te},Xy:function(){return F},bi:function(){return Ee},e5:function(){return re},ik:function(){return u},nz:function(){return x},pU:function(){return M},s7:function(){return b},x0:function(){return v}});var s=e(17313),h=e(74207),C=e(37613),H=e(83116);const x=f=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:f,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),M=f=>({borderColor:f.hoverBorderColor}),D=f=>({borderColor:f.activeBorderColor,boxShadow:f.activeShadow,outline:0}),F=f=>({color:f.colorTextDisabled,backgroundColor:f.colorBgContainerDisabled,borderColor:f.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},M((0,C.TS)(f,{hoverBorderColor:f.colorBorder})))}),q=f=>{const{paddingBlockLG:n,fontSizeLG:m,lineHeightLG:y,borderRadiusLG:U,paddingInlineLG:W}=f;return{padding:`${n}px ${W}px`,fontSize:m,lineHeight:y,borderRadius:U}},v=f=>({padding:`${f.paddingBlockSM}px ${f.paddingInlineSM}px`,borderRadius:f.borderRadiusSM}),Ee=(f,n)=>{const{componentCls:m,colorError:y,colorWarning:U,errorActiveShadow:W,warningActiveShadow:le,colorErrorBorderHover:Xe,colorWarningBorderHover:Ce}=f;return{[`&-status-error:not(${n}-disabled):not(${n}-borderless)${n}`]:{borderColor:y,"&:hover":{borderColor:Xe},"&:focus, &-focused":Object.assign({},D((0,C.TS)(f,{activeBorderColor:y,activeShadow:W}))),[`${m}-prefix, ${m}-suffix`]:{color:y}},[`&-status-warning:not(${n}-disabled):not(${n}-borderless)${n}`]:{borderColor:U,"&:hover":{borderColor:Ce},"&:focus, &-focused":Object.assign({},D((0,C.TS)(f,{activeBorderColor:U,activeShadow:le}))),[`${m}-prefix, ${m}-suffix`]:{color:U}}}},u=f=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${f.paddingBlock}px ${f.paddingInline}px`,color:f.colorText,fontSize:f.fontSize,lineHeight:f.lineHeight,backgroundColor:f.colorBgContainer,backgroundImage:"none",borderWidth:f.lineWidth,borderStyle:f.lineType,borderColor:f.colorBorder,borderRadius:f.borderRadius,transition:`all ${f.motionDurationMid}`},x(f.colorTextPlaceholder)),{"&:hover":Object.assign({},M(f)),"&:focus, &-focused":Object.assign({},D(f)),"&-disabled, &[disabled]":Object.assign({},F(f)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:f.controlHeight,lineHeight:f.lineHeight,verticalAlign:"bottom",transition:`all ${f.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},q(f)),"&-sm":Object.assign({},v(f)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),b=f=>{const{componentCls:n,antCls:m}=f;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:f.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${n}, &-lg > ${n}-group-addon`]:Object.assign({},q(f)),[`&-sm ${n}, &-sm > ${n}-group-addon`]:Object.assign({},v(f)),[`&-lg ${m}-select-single ${m}-select-selector`]:{height:f.controlHeightLG},[`&-sm ${m}-select-single ${m}-select-selector`]:{height:f.controlHeightSM},[`> ${n}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${n}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${f.paddingInline}px`,color:f.colorText,fontWeight:"normal",fontSize:f.fontSize,textAlign:"center",backgroundColor:f.colorFillAlter,border:`${f.lineWidth}px ${f.lineType} ${f.colorBorder}`,borderRadius:f.borderRadius,transition:`all ${f.motionDurationSlow}`,lineHeight:1,[`${m}-select`]:{margin:`-${f.paddingBlock+1}px -${f.paddingInline}px`,[`&${m}-select-single:not(${m}-select-customize-input)`]:{[`${m}-select-selector`]:{backgroundColor:"inherit",border:`${f.lineWidth}px ${f.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${m}-select-selector`]:{color:f.colorPrimary}}},[`${m}-cascader-picker`]:{margin:`-9px -${f.paddingInline}px`,backgroundColor:"transparent",[`${m}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${n}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${n}-search-with-button &`]:{zIndex:0}}},[`> ${n}:first-child, ${n}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${m}-select ${m}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${n}-affix-wrapper`]:{[`&:not(:first-child) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${n}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${n}:last-child, ${n}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${m}-select ${m}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${n}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-search &`]:{borderStartStartRadius:f.borderRadius,borderEndStartRadius:f.borderRadius}},[`&:not(:first-child), ${n}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${n}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,s.dF)()),{[`${n}-group-addon, ${n}-group-wrap, > ${n}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:f.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6366],{40001:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},81953:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},49198:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},84105:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},18785:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},90466:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"fork",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},33853:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},62772:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},38819:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},47472:function(Qt,Me,e){e.d(Me,{Z:function(){return F}});var s=e(54476),h=e(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},H=C,x=e(7657),M=function(v,Ee){return h.createElement(x.Z,(0,s.Z)({},v,{ref:Ee,icon:H}))},D=h.forwardRef(M),F=D},15421:function(Qt,Me,e){e.r(Me),e.d(Me,{default:function(){return y}});var s=e(59301),h=e(48066),C=e(99313),H=e(3113),x=e(58421),M=e(90466),D=e(65582),F=e(41867),q=e(38147),v=e(2524),Ee=e(66649),u=e.n(Ee),b={flex_box_center:"flex_box_center___usqtP",flex_space_between:"flex_space_between___Q1rHf",flex_box_vertical_center:"flex_box_vertical_center___iwfef",flex_box_center_end:"flex_box_center_end___UgC5k",flex_box_column:"flex_box_column___vaSfm",count:"count___EA_49",header:"header___K169U",title:"title___LKM3L",projectHostBtn:"projectHostBtn___wyYgV",createProjectBtn:"createProjectBtn___hbbv4",projectItem:"projectItem___r2qCB"},It=e(74128),Ie=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,Kt=(U,W,le)=>W in U?Ie(U,W,{enumerable:!0,configurable:!0,writable:!0,value:le}):U[W]=le,re=(U,W)=>{for(var le in W||(W={}))Tt.call(W,le)&&Kt(U,le,W[le]);if(Ct)for(var le of Ct(W))gt.call(W,le)&&Kt(U,le,W[le]);return U},te=(U,W,le)=>new Promise((Xe,Ce)=>{var ut=je=>{try{xt(le.next(je))}catch(we){Ce(we)}},Ht=je=>{try{xt(le.throw(je))}catch(we){Ce(we)}},xt=je=>je.done?Xe(je.value):Promise.resolve(je.value).then(ut,Ht);xt((le=le.apply(U,W)).next())});const{Paragraph:f}=h.default,{TabPane:n}=C.default,m=({dispatch:U})=>{var W;let[le,Xe]=(0,s.useState)({limit:10,page:1,tab:"public",tab_module_type:"innovation"});const[Ce,ut]=(0,s.useState)([]);(0,s.useEffect)(()=>{Ht()},[]);function Ht(){return te(this,null,function*(){let je=yield(0,q.ZP)("/api/sci/projects.json",{method:"get",params:le});je!=null&&je.un_purchased&&U({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}}),ut(je)})}const xt=()=>{if((Ce==null?void 0:Ce.my_sci_projects_num)>=10&&!(0,F.Ny)()){U({type:"innovation/openSimpleModal",payload:{title:"\u9879\u76EE\u6570\u91CF\u8FBE\u5230\u4E0A\u9650",children:"\u6BCF\u4F4D\u7528\u6237\u6700\u591A\u53EA\u80FD\u521B\u5EFA10\u4E2A\u9879\u76EE\uFF0C\u4F60\u7684\u9879\u76EE\u6570\u91CF\u5DF2\u7ECF\u8FBE\u5230\u4E0A\u9650\u3002",footer:s.createElement(H.ZP,{onClick:()=>U({type:"innovation/closeSimpleModal"}),type:"primary"},"\u6211\u77E5\u9053\u4E86")}});return}D.history.push("/innovation/project/create")};return s.createElement("div",null,s.createElement("div",{className:b.header},s.createElement("span",{className:b.title},"\u516C\u5F00\u9879\u76EE"),s.createElement("div",{onClick:()=>D.history.push("http://192.168.88.2:81/projects"),className:b.projectHostBtn},"\u9879\u76EE\u6258\u7BA1"),s.createElement("div",{onClick:xt,className:b.createProjectBtn},"\u521B\u5EFA\u9879\u76EE")),(Ce==null?void 0:Ce.count)<=0&&s.createElement(v.Z,null),(W=Ce==null?void 0:Ce.sci_projects)==null?void 0:W.map((je,we)=>s.createElement("div",{key:we,className:b.projectItem,onClick:()=>{D.history.push(`/innovation/project/detail/${je==null?void 0:je.id}`)}},s.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},s.createElement("div",null,s.createElement("img",{style:{width:30,height:30,borderRadius:"50%",marginRight:10},src:It.Z.IMG_SERVER+"/images/"+je.avatar_url}),s.createElement("span",{style:{fontSize:"14px",color:"#6B758B",marginRight:10}},je==null?void 0:je.username),s.createElement("span",{style:{color:"#464F66",fontSize:"14px"}},je==null?void 0:je.name)),s.createElement("div",null,s.createElement("span",{style:{marginRight:20,color:"#9096A3",fontSize:12}},s.createElement("i",{className:"iconfont icon-chakan1 current ml5 font12",style:{marginRight:8,color:"#B1BACD",fontSize:12}}),je==null?void 0:je.visits),s.createElement("span",{style:{marginRight:20,color:"#9096A3",fontSize:12}},s.createElement(M.Z,{style:{marginRight:8,fontSize:12}}),je==null?void 0:je.forked_count))),s.createElement("div",{className:b.count,style:{marginTop:5,color:"#464F66",fontSize:14,marginLeft:40},title:je==null?void 0:je.description},je==null?void 0:je.description),s.createElement("div",{style:{marginTop:15,color:"#9096A3",fontSize:12,marginLeft:40}},"\u521B\u5EFA\u65F6\u95F4\uFF1A",u()(je==null?void 0:je.created_at).format("YYYY-MM-DD HH:mm")))),s.createElement(x.Z,{style:{textAlign:"center",marginTop:20},current:le.page,pageSize:10,showSizeChanger:!1,total:Ce==null?void 0:Ce.count,hideOnSinglePage:!0,onChange:je=>{le.page=je,Xe(re({},le)),Ht()}}))};var y=(0,D.connect)(({innovation:U})=>({innovation:U}))(m)},56762:function(Qt,Me,e){e.d(Me,{Z:function(){return h}});var s=e(59301);function h(){const[,C]=s.useReducer(H=>H+1,0);return C}},19080:function(Qt,Me,e){e.d(Me,{F:function(){return x},Z:function(){return H}});var s=e(92310),h=e.n(s);const C=null;function H(M,D,F){return h()({[`${M}-status-success`]:D==="success",[`${M}-status-warning`]:D==="warning",[`${M}-status-error`]:D==="error",[`${M}-status-validating`]:D==="validating",[`${M}-has-feedback`]:F})}const x=(M,D)=>D||M},93891:function(Qt,Me,e){var s=e(59301),h=e(36355),C=e(64165);const H=x=>{const{componentName:M}=x,{getPrefixCls:D}=(0,s.useContext)(h.E_),F=D("empty");switch(M){case"Table":case"List":return s.createElement(C.Z,{image:C.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return s.createElement(C.Z,{image:C.Z.PRESENTED_IMAGE_SIMPLE,className:`${F}-small`});default:return s.createElement(C.Z,null)}};Me.Z=H},64165:function(Qt,Me,e){e.d(Me,{Z:function(){return re}});var s=e(92310),h=e.n(s),C=e(59301),H=e(36355),x=e(9763),M=e(64993),D=e(88088),q=()=>{const[,te]=(0,D.Z)(),n=new M.C(te.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return C.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},C.createElement("g",{fill:"none",fillRule:"evenodd"},C.createElement("g",{transform:"translate(24 31.67)"},C.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),C.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),C.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),C.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),C.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),C.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),C.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},C.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),C.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Ee=()=>{const[,te]=(0,D.Z)(),{colorFill:f,colorFillTertiary:n,colorFillQuaternary:m,colorBgContainer:y}=te,{borderColor:U,shadowColor:W,contentColor:le}=(0,C.useMemo)(()=>({borderColor:new M.C(f).onBackground(y).toHexShortString(),shadowColor:new M.C(n).onBackground(y).toHexShortString(),contentColor:new M.C(m).onBackground(y).toHexShortString()}),[f,n,m,y]);return C.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},C.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},C.createElement("ellipse",{fill:W,cx:"32",cy:"33",rx:"32",ry:"7"}),C.createElement("g",{fillRule:"nonzero",stroke:U},C.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),C.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:le}))))},u=e(83116),b=e(37613);const It=te=>{const{componentCls:f,margin:n,marginXS:m,marginXL:y,fontSize:U,lineHeight:W}=te;return{[f]:{marginInline:m,fontSize:U,lineHeight:W,textAlign:"center",[`${f}-image`]:{height:te.emptyImgHeight,marginBottom:m,opacity:te.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${f}-description`]:{color:te.colorText},[`${f}-footer`]:{marginTop:n},"&-normal":{marginBlock:y,color:te.colorTextDisabled,[`${f}-description`]:{color:te.colorTextDisabled},[`${f}-image`]:{height:te.emptyImgHeightMD}},"&-small":{marginBlock:m,color:te.colorTextDisabled,[`${f}-image`]:{height:te.emptyImgHeightSM}}}}};var Ie=(0,u.Z)("Empty",te=>{const{componentCls:f,controlHeightLG:n}=te,m=(0,b.TS)(te,{emptyImgCls:`${f}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[It(m)]}),Ct=function(te,f){var n={};for(var m in te)Object.prototype.hasOwnProperty.call(te,m)&&f.indexOf(m)<0&&(n[m]=te[m]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,m=Object.getOwnPropertySymbols(te);y{var{className:f,rootClassName:n,prefixCls:m,image:y=Tt,description:U,children:W,imageStyle:le,style:Xe}=te,Ce=Ct(te,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:ut,direction:Ht,empty:xt}=C.useContext(H.E_),je=ut("empty",m),[we,k]=Ie(je),[ge]=(0,x.Z)("Empty"),Be=typeof U!="undefined"?U:ge==null?void 0:ge.description,Ne=typeof Be=="string"?Be:"empty";let Ge=null;return typeof y=="string"?Ge=C.createElement("img",{alt:Ne,src:y}):Ge=y,we(C.createElement("div",Object.assign({className:h()(k,je,xt==null?void 0:xt.className,{[`${je}-normal`]:y===gt,[`${je}-rtl`]:Ht==="rtl"},f,n),style:Object.assign(Object.assign({},xt==null?void 0:xt.style),Xe)},Ce),C.createElement("div",{className:`${je}-image`,style:le},Ge),Be&&C.createElement("div",{className:`${je}-description`},Be),W&&C.createElement("div",{className:`${je}-footer`},W)))};Kt.PRESENTED_IMAGE_DEFAULT=Tt,Kt.PRESENTED_IMAGE_SIMPLE=gt;var re=Kt},8628:function(Qt,Me,e){var s=e(59301),h=e(34280),C=e(56762),H=e(69507);function x(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const D=(0,s.useRef)({}),F=(0,C.Z)(),q=(0,H.ZP)();return(0,h.Z)(()=>{const v=q.subscribe(Ee=>{D.current=Ee,M&&F()});return()=>q.unsubscribe(v)},[]),D.current}Me.Z=x},9432:function(Qt,Me,e){e.d(Me,{Z:function(){return Kt},n:function(){return Tt}});var s=e(19248),h=e(92310),C=e.n(h),H=e(93681),x=e(8654),M=e(59301),D=e(19080),F=e(36355),q=e(1684),v=e(19716),Ee=e(32441),u=e(33234),b=e(59412),It=e(9937);function Ie(re){return!!(re.prefix||re.suffix||re.allowClear)}var Ct=function(re,te){var f={};for(var n in re)Object.prototype.hasOwnProperty.call(re,n)&&te.indexOf(n)<0&&(f[n]=re[n]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,n=Object.getOwnPropertySymbols(re);m{var f;const{prefixCls:n,bordered:m=!0,status:y,size:U,disabled:W,onBlur:le,onFocus:Xe,suffix:Ce,allowClear:ut,addonAfter:Ht,addonBefore:xt,className:je,style:we,styles:k,rootClassName:ge,onChange:Be,classNames:Ne}=re,Ge=Ct(re,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ke,direction:it,input:De}=M.useContext(F.E_),Re=ke("input",n),Lt=(0,M.useRef)(null),[Yt,wt]=(0,It.ZP)(Re),{compactSize:Wt,compactItemClassnames:Gt}=(0,u.ri)(Re,it),Rt=(0,v.Z)(ne=>{var L;return(L=U!=null?U:Wt)!==null&&L!==void 0?L:ne}),A=M.useContext(q.Z),Le=W!=null?W:A,{status:fe,hasFeedback:ie,feedbackIcon:he}=(0,M.useContext)(Ee.aM),me=(0,D.F)(fe,y),be=Ie(re)||!!ie,ve=(0,M.useRef)(be);(0,M.useEffect)(()=>{var ne;be&&ve.current,ve.current=be},[be]);const i=(0,b.Z)(Lt,!0),l=ne=>{i(),le==null||le(ne)},oe=ne=>{i(),Xe==null||Xe(ne)},N=ne=>{i(),Be==null||Be(ne)},c=(ie||Ce)&&M.createElement(M.Fragment,null,Ce,ie&&he);let Z;return typeof ut=="object"&&(ut!=null&&ut.clearIcon)?Z=ut:ut&&(Z={clearIcon:M.createElement(s.Z,null)}),Yt(M.createElement(H.default,Object.assign({ref:(0,x.sQ)(te,Lt),prefixCls:Re,autoComplete:De==null?void 0:De.autoComplete},Ge,{disabled:Le,onBlur:l,onFocus:oe,style:Object.assign(Object.assign({},De==null?void 0:De.style),we),styles:Object.assign(Object.assign({},De==null?void 0:De.styles),k),suffix:c,allowClear:Z,className:C()(je,ge,Gt,De==null?void 0:De.className),onChange:N,addonAfter:Ht&&M.createElement(u.BR,null,M.createElement(Ee.Ux,{override:!0,status:!0},Ht)),addonBefore:xt&&M.createElement(u.BR,null,M.createElement(Ee.Ux,{override:!0,status:!0},xt)),classNames:Object.assign(Object.assign(Object.assign({},Ne),De==null?void 0:De.classNames),{input:C()({[`${Re}-sm`]:Rt==="small",[`${Re}-lg`]:Rt==="large",[`${Re}-rtl`]:it==="rtl",[`${Re}-borderless`]:!m},!be&&(0,D.Z)(Re,me),Ne==null?void 0:Ne.input,(f=De==null?void 0:De.classNames)===null||f===void 0?void 0:f.input,wt)}),classes:{affixWrapper:C()({[`${Re}-affix-wrapper-sm`]:Rt==="small",[`${Re}-affix-wrapper-lg`]:Rt==="large",[`${Re}-affix-wrapper-rtl`]:it==="rtl",[`${Re}-affix-wrapper-borderless`]:!m},(0,D.Z)(`${Re}-affix-wrapper`,me,ie),wt),wrapper:C()({[`${Re}-group-rtl`]:it==="rtl"},wt),group:C()({[`${Re}-group-wrapper-sm`]:Rt==="small",[`${Re}-group-wrapper-lg`]:Rt==="large",[`${Re}-group-wrapper-rtl`]:it==="rtl",[`${Re}-group-wrapper-disabled`]:Le},(0,D.Z)(`${Re}-group-wrapper`,me,ie),wt)}})))})},1643:function(Qt,Me,e){var s=e(19248),h=e(92310),C=e.n(h),H=e(9296),x=e(59301),M=e(19080),D=e(36355),F=e(1684),q=e(19716),v=e(32441),Ee=e(9432),u=e(9937),b=function(Ie,Ct){var Tt={};for(var gt in Ie)Object.prototype.hasOwnProperty.call(Ie,gt)&&Ct.indexOf(gt)<0&&(Tt[gt]=Ie[gt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,gt=Object.getOwnPropertySymbols(Ie);Kt{const{prefixCls:Tt,bordered:gt=!0,size:Kt,disabled:re,status:te,allowClear:f,showCount:n,classNames:m,rootClassName:y,className:U}=Ie,W=b(Ie,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:le,direction:Xe}=x.useContext(D.E_),Ce=(0,q.Z)(Kt),ut=x.useContext(F.Z),Ht=re!=null?re:ut,{status:xt,hasFeedback:je,feedbackIcon:we}=x.useContext(v.aM),k=(0,M.F)(xt,te),ge=x.useRef(null);x.useImperativeHandle(Ct,()=>{var it;return{resizableTextArea:(it=ge.current)===null||it===void 0?void 0:it.resizableTextArea,focus:De=>{var Re,Lt;(0,Ee.n)((Lt=(Re=ge.current)===null||Re===void 0?void 0:Re.resizableTextArea)===null||Lt===void 0?void 0:Lt.textArea,De)},blur:()=>{var De;return(De=ge.current)===null||De===void 0?void 0:De.blur()}}});const Be=le("input",Tt);let Ne;typeof f=="object"&&(f!=null&&f.clearIcon)?Ne=f:f&&(Ne={clearIcon:x.createElement(s.Z,null)});const[Ge,ke]=(0,u.ZP)(Be);return Ge(x.createElement(H.default,Object.assign({},W,{disabled:Ht,allowClear:Ne,className:C()(U,y),classes:{affixWrapper:C()(`${Be}-textarea-affix-wrapper`,{[`${Be}-affix-wrapper-rtl`]:Xe==="rtl",[`${Be}-affix-wrapper-borderless`]:!gt,[`${Be}-affix-wrapper-sm`]:Ce==="small",[`${Be}-affix-wrapper-lg`]:Ce==="large",[`${Be}-textarea-show-count`]:n},(0,M.Z)(`${Be}-affix-wrapper`,k),ke)},classNames:Object.assign(Object.assign({},m),{textarea:C()({[`${Be}-borderless`]:!gt,[`${Be}-sm`]:Ce==="small",[`${Be}-lg`]:Ce==="large"},(0,M.Z)(Be,k),ke,m==null?void 0:m.textarea)}),prefixCls:Be,suffix:je&&x.createElement("span",{className:`${Be}-textarea-suffix`},we),showCount:n,ref:ge})))});Me.Z=It},59412:function(Qt,Me,e){e.d(Me,{Z:function(){return h}});var s=e(59301);function h(C,H){const x=(0,s.useRef)([]),M=()=>{x.current.push(setTimeout(()=>{var D,F,q,v;!((D=C.current)===null||D===void 0)&&D.input&&((F=C.current)===null||F===void 0?void 0:F.input.getAttribute("type"))==="password"&&(!((q=C.current)===null||q===void 0)&&q.input.hasAttribute("value"))&&((v=C.current)===null||v===void 0||v.input.removeAttribute("value"))}))};return(0,s.useEffect)(()=>(H&&M(),()=>x.current.forEach(D=>{D&&clearTimeout(D)})),[]),M}},9937:function(Qt,Me,e){e.d(Me,{M1:function(){return D},TM:function(){return te},Xy:function(){return F},bi:function(){return Ee},e5:function(){return re},ik:function(){return u},nz:function(){return x},pU:function(){return M},s7:function(){return b},x0:function(){return v}});var s=e(17313),h=e(74207),C=e(37613),H=e(83116);const x=f=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:f,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),M=f=>({borderColor:f.hoverBorderColor}),D=f=>({borderColor:f.activeBorderColor,boxShadow:f.activeShadow,outline:0}),F=f=>({color:f.colorTextDisabled,backgroundColor:f.colorBgContainerDisabled,borderColor:f.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},M((0,C.TS)(f,{hoverBorderColor:f.colorBorder})))}),q=f=>{const{paddingBlockLG:n,fontSizeLG:m,lineHeightLG:y,borderRadiusLG:U,paddingInlineLG:W}=f;return{padding:`${n}px ${W}px`,fontSize:m,lineHeight:y,borderRadius:U}},v=f=>({padding:`${f.paddingBlockSM}px ${f.paddingInlineSM}px`,borderRadius:f.borderRadiusSM}),Ee=(f,n)=>{const{componentCls:m,colorError:y,colorWarning:U,errorActiveShadow:W,warningActiveShadow:le,colorErrorBorderHover:Xe,colorWarningBorderHover:Ce}=f;return{[`&-status-error:not(${n}-disabled):not(${n}-borderless)${n}`]:{borderColor:y,"&:hover":{borderColor:Xe},"&:focus, &-focused":Object.assign({},D((0,C.TS)(f,{activeBorderColor:y,activeShadow:W}))),[`${m}-prefix, ${m}-suffix`]:{color:y}},[`&-status-warning:not(${n}-disabled):not(${n}-borderless)${n}`]:{borderColor:U,"&:hover":{borderColor:Ce},"&:focus, &-focused":Object.assign({},D((0,C.TS)(f,{activeBorderColor:U,activeShadow:le}))),[`${m}-prefix, ${m}-suffix`]:{color:U}}}},u=f=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${f.paddingBlock}px ${f.paddingInline}px`,color:f.colorText,fontSize:f.fontSize,lineHeight:f.lineHeight,backgroundColor:f.colorBgContainer,backgroundImage:"none",borderWidth:f.lineWidth,borderStyle:f.lineType,borderColor:f.colorBorder,borderRadius:f.borderRadius,transition:`all ${f.motionDurationMid}`},x(f.colorTextPlaceholder)),{"&:hover":Object.assign({},M(f)),"&:focus, &-focused":Object.assign({},D(f)),"&-disabled, &[disabled]":Object.assign({},F(f)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:f.controlHeight,lineHeight:f.lineHeight,verticalAlign:"bottom",transition:`all ${f.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},q(f)),"&-sm":Object.assign({},v(f)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),b=f=>{const{componentCls:n,antCls:m}=f;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:f.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${n}, &-lg > ${n}-group-addon`]:Object.assign({},q(f)),[`&-sm ${n}, &-sm > ${n}-group-addon`]:Object.assign({},v(f)),[`&-lg ${m}-select-single ${m}-select-selector`]:{height:f.controlHeightLG},[`&-sm ${m}-select-single ${m}-select-selector`]:{height:f.controlHeightSM},[`> ${n}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${n}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${f.paddingInline}px`,color:f.colorText,fontWeight:"normal",fontSize:f.fontSize,textAlign:"center",backgroundColor:f.colorFillAlter,border:`${f.lineWidth}px ${f.lineType} ${f.colorBorder}`,borderRadius:f.borderRadius,transition:`all ${f.motionDurationSlow}`,lineHeight:1,[`${m}-select`]:{margin:`-${f.paddingBlock+1}px -${f.paddingInline}px`,[`&${m}-select-single:not(${m}-select-customize-input)`]:{[`${m}-select-selector`]:{backgroundColor:"inherit",border:`${f.lineWidth}px ${f.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${m}-select-selector`]:{color:f.colorPrimary}}},[`${m}-cascader-picker`]:{margin:`-9px -${f.paddingInline}px`,backgroundColor:"transparent",[`${m}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${n}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${n}-search-with-button &`]:{zIndex:0}}},[`> ${n}:first-child, ${n}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${m}-select ${m}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${n}-affix-wrapper`]:{[`&:not(:first-child) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${n}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${n}:last-child, ${n}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${m}-select ${m}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${n}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-search &`]:{borderStartStartRadius:f.borderRadius,borderEndStartRadius:f.borderRadius}},[`&:not(:first-child), ${n}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${n}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,s.dF)()),{[`${n}-group-addon, ${n}-group-wrap, > ${n}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:f.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${n}-affix-wrapper, & > ${n}-number-affix-wrapper, & > ${m}-picker-range diff --git a/p__Paths__ThemeChange__Detail.77b9e7a3.async.js b/p__Paths__ThemeChange__Detail.c99437b7.async.js similarity index 99% rename from p__Paths__ThemeChange__Detail.77b9e7a3.async.js rename to p__Paths__ThemeChange__Detail.c99437b7.async.js index 97dbef89df..7ca326a599 100644 --- a/p__Paths__ThemeChange__Detail.77b9e7a3.async.js +++ b/p__Paths__ThemeChange__Detail.c99437b7.async.js @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],x=se=>{E.current.setValue(E.current.getValue()+" "+se.value+" ")},ne=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:He.createElement(Pe.Z,{className:Se.Z.lists,gutter:[10,10]},a.map((se,me)=>He.createElement(We.Z,{flex:"110px",className:Se.Z.item},He.createElement("div",null,He.createElement(Qe.Z,{value:`$$${se.value}$$`}),se.name),He.createElement("div",{className:Se.Z.children},se.children.map((pe,Le)=>He.createElement("div",{key:Le},He.createElement("h1",null,pe.name),He.createElement(Pe.Z,{gutter:[10,10]},pe.data.map((ke,Ze)=>He.createElement(We.Z,{key:Ze,onClick:()=>x(ke),className:Se.Z.diamond},He.createElement(Qe.Z,{value:"`$$"+ke.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:He.createElement(Pe.Z,{className:Se.Z.lists,gutter:[10,10]},te.map((se,me)=>He.createElement(We.Z,{flex:"110px",className:Se.Z.item},He.createElement("div",null,He.createElement(Qe.Z,{value:"`$$"+se.value+"$$`"}),se.name),He.createElement("div",{className:Se.Z.children},se.children.map((pe,Le)=>He.createElement("div",{key:Le},pe.name&&He.createElement("h1",null,pe.name),He.createElement(Pe.Z,{gutter:[10,10]},pe.data.map((ke,Ze)=>He.createElement(We.Z,{key:Ze,onClick:()=>x(ke),className:Se.Z.diamond},He.createElement(Qe.Z,{value:"`$$"+ke.value+"$$`"}))))))))))}],ae=()=>{var se=document.createElement("div");se.innerHTML=E.current.getValue();var me=se.innerText;return Me&&Me(me),me};return(0,y.useImperativeHandle)(ce,()=>({getData:ae})),He.createElement("div",{className:Se.Z.mathWrap},He.createElement(Ve.default,{defaultActiveKey:"1",items:ne}),He.createElement("math-field",{locale:"zh_cn",className:Se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Fe||""),Oe&&He.createElement("div",{className:Se.Z.button},He.createElement(tt.ZP,{size:"large",onClick:ae,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});It.Z=ue},57146:function(Yt,It,oe){"use strict";oe.d(It,{z:function(){return qt},Z:function(){return Nt}});var y=oe(59301),Pe=oe(54580),We=oe(8591),Ve=oe(43418),tt=oe(3113),Qe=oe(74128),Se=oe(80024),Ue=Object.defineProperty,He=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Oe=(kt,Ct,zt)=>Ct in kt?Ue(kt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:zt}):kt[Ct]=zt,Fe=(kt,Ct)=>{for(var zt in Ct||(Ct={}))ue.call(Ct,zt)&&Oe(kt,zt,Ct[zt]);if(He)for(var zt of He(Ct))Me.call(Ct,zt)&&Oe(kt,zt,Ct[zt]);return kt},ce=(kt,Ct,zt)=>new Promise((Wt,vt)=>{var Kt=yt=>{try{Yn(zt.next(yt))}catch(Rn){vt(Rn)}},En=yt=>{try{Yn(zt.throw(yt))}catch(Rn){vt(Rn)}},Yn=yt=>yt.done?Wt(yt.value):Promise.resolve(yt.value).then(Kt,En);Yn((zt=zt.apply(kt,Ct)).next())});const E="\u3000\u3000";function a(kt){var Ct=["Bytes","KB","MB","GB","TB"];if(kt==0)return"0 Byte";var zt=parseInt(""+Math.floor(Math.log(kt)/Math.log(1024)),10);return(kt/Math.pow(1024,zt)).toFixed(1)+" "+Ct[zt]}var te=({value:kt=[],action:Ct,onChange:zt,className:Wt,maxSize:vt=150,title:Kt="\u6587\u4EF6\u4E0A\u4F20",accept:En=null})=>{const Yn={multiple:!1,fileList:kt,accept:En,withCredentials:!0,beforeUpload:Rn=>Rn.size/1024/1024(Ut.name.indexOf(E)===-1&&(Ut.name=`${Ut.name}${E}${a(Ut.size)}`),Fe({},Ut))),Rn.file.status==="done"&&((bt=(it=Rn.file)==null?void 0:it.response)==null?void 0:bt.status)===-1){message.error((Cn=(an=Rn.file)==null?void 0:an.response)==null?void 0:Cn.message),zt([]);return}zt(cn)},onRemove:Rn=>ce(void 0,null,function*(){const it=Rn.size/1024/1024;return Rn.status==="uploading"?!0:it0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:kt.length>0,ghost:!0},Kt),React.createElement("span",{onClick:yt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",vt,"M)"," ")))},x=oe(61481),ne=oe(89392),ae=Object.defineProperty,se=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Le=(kt,Ct,zt)=>Ct in kt?ae(kt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:zt}):kt[Ct]=zt,ke=(kt,Ct)=>{for(var zt in Ct||(Ct={}))me.call(Ct,zt)&&Le(kt,zt,Ct[zt]);if(se)for(var zt of se(Ct))pe.call(Ct,zt)&&Le(kt,zt,Ct[zt]);return kt};const Ze=kt=>React.createElement("svg",ke({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},kt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Xe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",rt=Object.defineProperty,Re=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,tn=(kt,Ct,zt)=>Ct in kt?rt(kt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:zt}):kt[Ct]=zt,ct=(kt,Ct)=>{for(var zt in Ct||(Ct={}))Qt.call(Ct,zt)&&tn(kt,zt,Ct[zt]);if(Re)for(var zt of Re(Ct))ht.call(Ct,zt)&&tn(kt,zt,Ct[zt]);return kt},wt=(kt,Ct,zt)=>new Promise((Wt,vt)=>{var Kt=yt=>{try{Yn(zt.next(yt))}catch(Rn){vt(Rn)}},En=yt=>{try{Yn(zt.throw(yt))}catch(Rn){vt(Rn)}},Yn=yt=>yt.done?Wt(yt.value):Promise.resolve(yt.value).then(Kt,En);Yn((zt=zt.apply(kt,Ct)).next())});const{Dragger:Lt}=Pe.default;function qt(kt){let Ct=[];return kt&&kt.length>0&&(Ct=kt.map(zt=>({uid:zt.id,id:zt.id,name:zt.title+E+zt.filesize,url:zt.url,filesize:zt.filesize,status:"done",response:{id:zt.id}}))),Ct}var Nt=({value:kt,onChange:Ct,action:zt,data:Wt,className:vt,maxSize:Kt=150,title:En="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Yn=!1,accept:yt="",additionalText:Rn,isDragger:it,number:bt=1e3,aloneClear:an=!1,realTimeRemove:Cn=!0,uploadText:cn,setFileProgress:Ut,showFileProgress:Vt})=>{const[Et,Ye]=(0,y.useState)(!1);let[jt,yn]=(0,y.useState)(kt||[]),[nt,Ke]=(0,y.useState)(1);(0,y.useEffect)(()=>{kt&&(nt===1&&yn([...kt]),Ke(2),bt===(kt==null?void 0:kt.length)&&Ye(!0))},[kt]);const mt=()=>{setTimeout(()=>{jt.pop(),yn([...jt])},500)};Vt&&Ut(jt.some(Pt=>Pt.status==="uploading"));const _e={multiple:!0,disabled:Et,accept:yt,withCredentials:!0,fileList:jt,beforeUpload:(Pt,fn)=>{const Dt=Pt.size/1024/1024;return jt.concat(fn).length>bt?(jt.pop(),yn([...jt]),We.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${bt}\u4E2A\u6587\u4EF6`),an?Promise.reject():(mt(),!1)):Dt=bt?Ye(!0):Ye(!1),yn([...jt]),jt=jt.map(gn=>{var ut,Gt;return(ut=gn==null?void 0:gn.response)!=null&&ut.id&&(gn.url=(Gt=gn==null?void 0:gn.response)==null?void 0:Gt.url),gn.name.indexOf(E)===-1&&(gn.name=`${gn.name}${E}${a(gn.size)}`),ct({},gn)}),console.log("info:",Pt,jt),Ct(jt)},onRemove:Pt=>wt(void 0,null,function*(){if(!Cn)return!0;const fn=()=>wt(void 0,null,function*(){if(Pt.response?Pt.response.id:Pt.id){let et=yield(0,Se.JZ)(Pt.response?Pt.response.id:Pt.uid);return Promise.resolve(et)}else return!0});return Yn?new Promise((Dt,et)=>{Ve.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>wt(void 0,null,function*(){const Rt=yield fn();We.ZP.success("\u5220\u9664\u6210\u529F"),Dt(!0)}),onCancel:()=>Dt(!1)})}):yield fn()})};function lt(Pt){Pt.preventDefault(),Pt.stopPropagation()}return y.createElement("div",{className:`multi-upload ${vt||""}`},it&&y.createElement(Lt,ct({},_e),y.createElement("p",{className:"ant-upload-drag-icon"},y.createElement(x.Z,null)),y.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",y.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",Kt,"MB)"," "),Rn),!it&&y.createElement(Pe.default,ct({},_e),y.createElement(tt.ZP,{disabled:Et,className:"upload_button"},y.createElement("img",{className:"aBtn_img",src:Xe}),En),y.createElement("span",{onClick:lt,className:"upload_text"},cn||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${Kt}MB)`)))}},3969:function(Yt,It,oe){"use strict";oe.d(It,{h:function(){return E},x:function(){return a}});var y=oe(96565),Pe=oe(58e3),We=oe(6339),Ve=oe(59301),tt=Object.defineProperty,Qe=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Me=(te,x,ne)=>x in te?tt(te,x,{enumerable:!0,configurable:!0,writable:!0,value:ne}):te[x]=ne,Oe=(te,x)=>{for(var ne in x||(x={}))He.call(x,ne)&&Me(te,ne,x[ne]);if(Ue)for(var ne of Ue(x))ue.call(x,ne)&&Me(te,ne,x[ne]);return te},Fe=(te,x)=>Qe(te,Se(x)),ce=(te,x)=>{var ne={};for(var ae in te)He.call(te,ae)&&x.indexOf(ae)<0&&(ne[ae]=te[ae]);if(te!=null&&Ue)for(var ae of Ue(te))x.indexOf(ae)<0&&ue.call(te,ae)&&(ne[ae]=te[ae]);return ne};const E=te=>{var x=te,{value:ne,onChange:ae,scrollId:se}=x,me=ce(x,["value","onChange","scrollId"]);return Ve.createElement("div",{id:se||""},Ve.createElement(y.Z,Fe(Oe({},me),{defaultValue:ne,onChange:(pe,Le)=>{Le!=null&&Le.length?ae(pe,Le):ae(pe)}})))},a=({value:te,onChange:x,placeholder:ne,height:ae=140,isEdit:se,miniToolbar:me,watch:pe=!0})=>se?Ve.createElement(y.Z,{watch:pe,isFocus:!0,height:ae||void 0,placeholder:ne,defaultValue:te,onChange:x,miniToolbar:me}):Ve.createElement("div",{style:{cursor:"pointer"}},te?Ve.createElement(We.Z,{className:Pe.Z.inputBorder,value:te}):Ve.createElement("div",{className:`${Pe.Z.inputBorder} ${Pe.Z.placeholder} inputBorderError`},ne))},49018:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Le}});var y=oe(59301),Pe=oe(9221),We=Object.defineProperty,Ve=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Se=(ke,Ze,Xe)=>Ze in ke?We(ke,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):ke[Ze]=Xe,Ue=(ke,Ze)=>{for(var Xe in Ze||(Ze={}))tt.call(Ze,Xe)&&Se(ke,Xe,Ze[Xe]);if(Ve)for(var Xe of Ve(Ze))Qe.call(Ze,Xe)&&Se(ke,Xe,Ze[Xe]);return ke},He=(ke,Ze)=>{var Xe={};for(var rt in ke)tt.call(ke,rt)&&Ze.indexOf(rt)<0&&(Xe[rt]=ke[rt]);if(ke!=null&&Ve)for(var rt of Ve(ke))Ze.indexOf(rt)<0&&Qe.call(ke,rt)&&(Xe[rt]=ke[rt]);return Xe};const Me={header:{cell:ke=>{var Ze=ke,{onResize:Xe,width:rt}=Ze,Re=He(Ze,["onResize","width"]);return rt?y.createElement(Pe.Resizable,{width:rt,height:0,handle:y.createElement("span",{className:"react-resizable-handle",onClick:Qt=>{Qt.stopPropagation()}}),onResize:Xe,draggableOpts:{enableUserSelectHack:!1}},y.createElement("th",Ue({},Re))):y.createElement("th",Ue({},Re))}}};var Oe=oe(1710),Fe=Object.defineProperty,ce=Object.defineProperties,E=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ne=(ke,Ze,Xe)=>Ze in ke?Fe(ke,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):ke[Ze]=Xe,ae=(ke,Ze)=>{for(var Xe in Ze||(Ze={}))te.call(Ze,Xe)&&ne(ke,Xe,Ze[Xe]);if(a)for(var Xe of a(Ze))x.call(Ze,Xe)&&ne(ke,Xe,Ze[Xe]);return ke},se=(ke,Ze)=>ce(ke,E(Ze)),me=(ke,Ze)=>{var Xe={};for(var rt in ke)te.call(ke,rt)&&Ze.indexOf(rt)<0&&(Xe[rt]=ke[rt]);if(ke!=null&&a)for(var rt of a(ke))Ze.indexOf(rt)<0&&x.call(ke,rt)&&(Xe[rt]=ke[rt]);return Xe},Le=ke=>{var Ze=ke,{pagination:Xe,resColumns:rt,dataSource:Re,onRow:Qt}=Ze,ht=me(Ze,["pagination","resColumns","dataSource","onRow"]);const[tn,ct]=(0,y.useState)(!1),[wt,Lt]=(0,y.useState)([{}]),qt=(0,y.useRef)(null);(0,y.useEffect)(()=>{let kt=rt;kt=kt.map((Ct,zt)=>se(ae({},Ct),{onHeaderCell:Wt=>({width:Wt.width,onResize:Nt(zt)})})),Lt(kt)},[]),(0,y.useEffect)(()=>{qt.current=wt},[wt]);const Nt=kt=>(Ct,{size:zt})=>{const Wt=[...qt.current];Wt[kt]=se(ae({},Wt[kt]),{width:zt.width}),Lt(Wt)};return y.createElement("div",null,y.createElement(Oe.default,se(ae({bordered:!0,components:Me,columns:wt,dataSource:Re,pagination:Xe,loading:tn,onRow:Qt},ht),{rowKey:kt=>kt.key||kt.id})))}},35479:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Ze},P:function(){return pe}});var y=oe(59301),Pe=oe(78241),We=oe(43418),Ve=oe(5112),tt=oe(92832),Qe=oe(1710),Se={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},Ue=oe(60979),He=Object.defineProperty,ue=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,E=(Xe,rt,Re)=>rt in Xe?He(Xe,rt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Xe[rt]=Re,a=(Xe,rt)=>{for(var Re in rt||(rt={}))Fe.call(rt,Re)&&E(Xe,Re,rt[Re]);if(Oe)for(var Re of Oe(rt))ce.call(rt,Re)&&E(Xe,Re,rt[Re]);return Xe},te=(Xe,rt)=>ue(Xe,Me(rt)),x=(Xe,rt)=>{var Re={};for(var Qt in Xe)Fe.call(Xe,Qt)&&rt.indexOf(Qt)<0&&(Re[Qt]=Xe[Qt]);if(Xe!=null&&Oe)for(var Qt of Oe(Xe))rt.indexOf(Qt)<0&&ce.call(Xe,Qt)&&(Re[Qt]=Xe[Qt]);return Re},ne=(Xe,rt,Re)=>new Promise((Qt,ht)=>{var tn=Lt=>{try{wt(Re.next(Lt))}catch(qt){ht(qt)}},ct=Lt=>{try{wt(Re.throw(Lt))}catch(qt){ht(qt)}},wt=Lt=>Lt.done?Qt(Lt.value):Promise.resolve(Lt.value).then(tn,ct);wt((Re=Re.apply(Xe,rt)).next())});const ae=({studentNames:Xe,total:rt})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return rt>3?y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Se.orangeColor},Xe==null?void 0:Xe.join("\u3001")),"\u7B49",y.createElement("span",{className:Se.orangeColor},rt),"\u540D\u5B66\u751F"):y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Se.orangeColor},Xe==null?void 0:Xe.join("\u3001")),Re[rt],"\u540D\u5B66\u751F")},se=({used:Xe,copy:rt,canNotCopy:Re,studentNames:Qt,studentCount:ht,inPaper:tn,is_random:ct=!1,position:wt=""})=>{const Lt=()=>{if(rt>0&&Re>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:Se.orangeColor},rt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",y.createElement("span",{className:Se.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(rt>0&&Re===0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:Se.orangeColor},rt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(rt===0&&Re>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:Se.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},qt=wt||(tn?"\u8BD5\u5377":"\u8BFE\u7A0B");return y.createElement("span",null,y.createElement(ae,{studentNames:Qt,total:ht}),"\u5B66\u4E60\u8FC7",qt,"\u4E2D\u7684",y.createElement("span",{className:Se.orangeColor},Xe),"\u4E2A\u9879\u76EE\uFF0C",Lt(),"\u3002\u8BF7\u9009\u62E9",ct?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},me=({onCancel:Xe,onOk:rt,visible:Re,inPaper:Qt,renderData:ht,type:tn,isMultipleCourse:ct=!1})=>{const[wt]=Pe.default.useForm(),[Lt,qt]=(0,y.useState)(1),[Nt,kt]=(0,y.useState)(!1),Ct=(0,y.useMemo)(()=>(ht==null?void 0:ht.total_num)===1&&(ht==null?void 0:ht.can_copy_num)===1,[ht]),zt=(0,y.useMemo)(()=>{var Wt;return(Wt=ht==null?void 0:ht.course_data_list)==null?void 0:Wt.filter(vt=>vt.is_show)},[ht]);return y.createElement(y.Fragment,null,Ct?y.createElement(We.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:Se.antdModal,width:682,confirmLoading:Nt,onCancel:Xe,onOk:()=>ne(void 0,null,function*(){var Wt;kt(!0);let vt=Lt;if(ct){const Kt=a({},wt.getFieldsValue());vt=(Wt=ht==null?void 0:ht.course_data_list)==null?void 0:Wt.map(En=>Kt[En.id]!==void 0?te(a({},En),{is_copy:Kt[En.id]}):En)}yield rt(vt),kt(!1)})},y.createElement("div",{className:Se.content,style:{marginBottom:20}},ct?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":y.createElement(y.Fragment,null,y.createElement(ae,{studentNames:ht==null?void 0:ht.student_names,total:ht==null?void 0:ht.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),ct?y.createElement(Pe.default,{form:wt,preserve:!1},zt==null?void 0:zt.map(Wt=>y.createElement(y.Fragment,{key:Wt.id},y.createElement("h3",{className:"ml15 mb5"},Wt.name),y.createElement(Pe.default.Item,{name:Wt.id,initialValue:1},y.createElement(Ve.ZP.Group,{className:Se.content},y.createElement(Ve.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),y.createElement(Ve.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):y.createElement(Ve.ZP.Group,{value:Lt,onChange:Wt=>qt(Wt.target.value),className:Se.content,style:{marginBottom:30}},y.createElement(Ve.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),y.createElement(Ve.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),y.createElement("div",null,y.createElement("div",{className:Se.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),y.createElement("div",{className:Se.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:`${Se.content} ${Se.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):y.createElement(We.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:Nt,title:"\u63D0\u793A",width:682,onCancel:Xe,onOk:()=>ne(void 0,null,function*(){var Wt;kt(!0);let vt=0;if(ct){const Kt=a({},wt.getFieldsValue());vt=(Wt=ht==null?void 0:ht.course_data_list)==null?void 0:Wt.map(En=>Kt[En.id]!==void 0?te(a({},En),{is_use:Kt[En.id]}):En)}yield rt(vt),kt(!1)})},y.createElement("div",{className:Se.content},y.createElement(ae,{studentNames:ht==null?void 0:ht.student_names,total:ht==null?void 0:ht.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",ct?y.createElement(Pe.default,{form:wt,preserve:!1},y.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),zt==null?void 0:zt.map(Wt=>y.createElement(y.Fragment,{key:Wt.id},y.createElement("h3",{className:"ml15 mb5"},Wt.name),y.createElement(Pe.default.Item,{name:Wt.id,initialValue:1},y.createElement(Ve.ZP.Group,{className:Se.content},y.createElement(Ve.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),y.createElement(Ve.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):y.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",y.createElement("span",{className:Se.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},pe=function(){const[Xe,rt]=(0,y.useState)(!1),[Re,Qt]=(0,y.useState)();return[Xe,()=>rt(!1),Re,ct=>ne(this,null,function*(){var wt;const Lt=ct,{isImportMultipleCourse:qt=!1}=Lt,Nt=x(Lt,["isImportMultipleCourse"]);console.log(ct);const kt=(ct==null?void 0:ct.result)||(yield(0,Ue.Tr)(Nt));return"status"in kt?!1:qt?((wt=kt==null?void 0:kt.course_data_list)==null?void 0:wt.some(zt=>zt.is_show))?(Qt(kt),rt(!0),!0):kt.course_data_list||[]:kt.student_count===0?!1:(Qt(kt),rt(!0),!0)})]},Le=Xe=>{const[rt]=Pe.default.useForm(),[Re,Qt]=(0,y.useState)(!1),{onCancel:ht,onOk:tn,visible:ct,inPaper:wt=!1,renderData:Lt,type:qt,isMultipleCourse:Nt=!1,position:kt}=Xe;let Ct=(0,y.useMemo)(()=>wt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:Se.tableCell,render(vt,Kt){return y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(vt,Kt)=>y.createElement(y.Fragment,null,y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],initialValue:1},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426"))),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(tt.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:Se.tableCell,render(vt,Kt){return y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(vt,Kt)=>y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],initialValue:1},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(vt,Kt)=>y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],initialValue:1},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426")))}],[wt]),zt=(0,y.useMemo)(()=>wt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:Se.tableCell,align:"center",ellipsis:!0,render:(vt,Kt)=>y.createElement(y.Fragment,null,y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(tt.default,{type:"hidden"})),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(tt.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:Se.tableCell,ellipsis:!0,align:"center",render:(vt,Kt)=>y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(vt,Kt)=>y.createElement(y.Fragment,null,y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],initialValue:0},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426"))),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(tt.default,{type:"hidden"})))}],[wt]);if(Nt){const vt={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:Se.tableCell,render:(Kt,En)=>y.createElement("a",{href:`/classrooms/${En.course_id}`},Kt)};Ct=[vt,...Ct],zt=[vt,...zt]}const Wt=(0,y.useMemo)(()=>se({used:Lt==null?void 0:Lt.repeat_shixun_num,copy:Lt==null?void 0:Lt.can_copy_num,canNotCopy:Lt==null?void 0:Lt.no_copy_num,studentNames:Lt==null?void 0:Lt.student_names,studentCount:Lt==null?void 0:Lt.student_count,is_random:Lt==null?void 0:Lt.is_random,inPaper:wt,position:kt}),[Lt,wt,kt]);return y.createElement(We.default,{title:"\u63D0\u793A",centered:!0,open:ct,confirmLoading:Re,onOk:()=>ne(void 0,null,function*(){Qt(!0);const vt=rt.getFieldsValue(),Kt=Object.keys(vt).map(En=>({id:parseInt(En.split("_")[0]),course_id:parseInt(En.split("_")[1]),is_use:vt[En].is_use,is_copy:vt[En].is_copy}));yield tn(Kt),Qt(!1)}),onCancel:ht,width:880,okText:"\u786E\u8BA4",className:Se.antdModal,destroyOnClose:!0},y.createElement(Pe.default,{form:rt,preserve:!1},y.createElement("div",{className:Se.brief},Wt),y.createElement("div",{style:{marginBottom:30}},y.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),y.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:Se.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(Lt==null?void 0:Lt.can_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:Se.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Qe.default,{columns:Ct,className:Se.antdTable,dataSource:Lt==null?void 0:Lt.can_copy_list,rowKey:qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(Lt==null?void 0:Lt.no_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:Se.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Qe.default,{columns:zt,className:Se.antdTable,dataSource:Lt==null?void 0:Lt.no_copy_list,rowKey:qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(Lt==null?void 0:Lt.no_use_list.length)>0&&(Lt==null?void 0:Lt.no_use_list.map(vt=>y.createElement("div",{key:qt==="subject"?vt.stage_shixun_id:vt.shixun_course_id||vt.id},y.createElement(Pe.default.Item,{name:[`${qt==="subject"?vt==null?void 0:vt.stage_shixun_id:vt.shixun_course_id||vt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(tt.default,{type:"hidden"})),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?vt==null?void 0:vt.stage_shixun_id:vt.shixun_course_id||vt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(tt.default,{type:"hidden"})))))))};var Ze=Xe=>{const{modalType:rt}=Xe;return rt==="multiple"?y.createElement(Le,a({},Xe)):y.createElement(me,a({},Xe))}},83028:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Ue}});var y=oe(59301),Pe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},We=oe(43418),Ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Qe=(He,ue,Me)=>new Promise((Oe,Fe)=>{var ce=te=>{try{a(Me.next(te))}catch(x){Fe(x)}},E=te=>{try{a(Me.throw(te))}catch(x){Fe(x)}},a=te=>te.done?Oe(te.value):Promise.resolve(te.value).then(ce,E);a((Me=Me.apply(He,ue)).next())}),Ue=({type:He,resdata:ue,onok:Me,oktext:Oe,okloading:Fe})=>{const[ce,E]=(0,y.useState)(!1),{can_copy_list:a,can_copy_num:te,challenge_type:x,course_data_list:ne,no_copy_list:ae,no_copy_num:se,no_use_list:me,no_use_num:pe,repeat_shixun_num:Le,student_count:ke,total_num:Ze,use_num:Xe}=ue;let rt=te>0||He==="exercise";(0,y.useEffect)(()=>{(ue==null?void 0:ue.student_count)>0&&E(!0)},[ue]),console.log("---11",Fe),(0,y.useEffect)(()=>{Fe||E(!1)},[Fe]);const Re=()=>{if(He==="exercise"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(He==="exercise"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixun"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixun"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="subject"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="subject"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:Pe.orangeColor},ke)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:Pe.orangeColor},Xe)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(He==="shixunpush"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixunpush"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Qt=()=>{if(He==="exercise"||He==="subject"||He==="exercisepush"||He==="shixunpush")return y.createElement("div",{style:{marginTop:20}},se>0&&y.createElement("div",null,y.createElement("span",{className:Pe.flex},y.createElement("img",{src:tt,style:{width:14}}),y.createElement("span",{className:Pe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:Pe.statusbody},He==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(He==="subject"||He==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",rt&&y.createElement("span",{className:Pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),He==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",rt&&y.createElement("span",{className:Pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),y.createElement("div",null,ae==null?void 0:ae.map((ht,tn)=>y.createElement("a",{href:`/shixuns/${ht.identifier}/challenges`,target:"_blank"},"\u300A",ht==null?void 0:ht.name,"\u300B",tn+1!==se&&"\u3001"))))),te>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:Pe.flex},y.createElement("img",{src:Ve,style:{width:14}}),y.createElement("span",{className:Pe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:Pe.statusbody},He==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(He==="subject"||He==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),He==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),y.createElement("div",null,a==null?void 0:a.map((ht,tn)=>y.createElement("a",{href:`/shixuns/${ht.identifier}/challenges`,target:"_blank"},"\u300A",ht==null?void 0:ht.name,"\u300B",tn+1!==te&&"\u3001"))))));if(He==="shixun")return y.createElement("div",{style:{marginTop:20}},te>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return y.createElement(We.default,{open:ce,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!rt&&"none"}},zIndex:1003,confirmLoading:Fe,okText:rt?Oe:"\u6211\u77E5\u9053\u4E86",onOk:()=>Qe(void 0,null,function*(){rt?yield Me([...a,...me]):E(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Qt()))}},86340:function(Yt,It,oe){"use strict";oe.d(It,{K:function(){return Qe}});var y=oe(59301),Pe=oe(43418),We=oe(44080),Ve={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},tt=oe(24334);const Qe=({visible:Se,width:Ue,videoId:He,file_url:ue,course_id:Me,copyUrl:Oe,toLog:Fe=!0,logWatchHistory:ce=()=>{},allow_skip:E,onClose:a=()=>{},autoPlay:te=!1,onPlayEnded:x=()=>{}})=>y.createElement(Pe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Se,title:null,footer:null,width:Ue,className:Ve.modal},y.createElement("i",{className:`${Ve.closeIcon} iconfont icon-guanbi10`,onClick:a}),Se&&y.createElement(We.Z,{onPlayEnded:x,autoPlay:te,allow_skip:E,courseId:Me,src:ue!=null&&ue.startsWith("http")?ue:tt.Base64.decode(ue),videoId:He,toLog:Fe,logWatchHistory:ce}))},44080:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return E}});var y=oe(59301),Pe=oe(8591),We=oe(38854),Ve=oe(73217),tt=oe(17030),Qe=oe(41867),Se=oe(56102),Ue=oe(84056),He={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},ue=(a,te,x)=>new Promise((ne,ae)=>{var se=Le=>{try{pe(x.next(Le))}catch(ke){ae(ke)}},me=Le=>{try{pe(x.throw(Le))}catch(ke){ae(ke)}},pe=Le=>Le.done?ne(Le.value):Promise.resolve(Le.value).then(se,me);pe((x=x.apply(a,te)).next())});function Me(a){if(isNaN(a))return{minutes:"00",seconds:"00"};const te=new Date(a*1e3).toISOString().substr(11,8);return{hour:te.substr(0,2),minutes:te.substr(3,2),seconds:te.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Oe(a,te){return a-te}function Fe(a){a.sort(Oe);let te=0;for(let x=0;x{},handlePlay:Le=()=>{},handlePlayEnded:ke=()=>{},autoPlay:Ze=!1,onPlayEnded:Xe=()=>{},isShowWaterMark:rt=!0},Re)=>{var Qt;const tn=((Qt=te==null?void 0:te.split("."))==null?void 0:Qt.pop())==="flv",ct=(0,y.useRef)(),wt=(0,y.useRef)(),Lt=(0,y.useRef)(),qt=(0,y.useRef)(),Nt=(0,y.useRef)(),kt=(0,y.useRef)(),Ct=(0,y.useRef)(),zt=(0,y.useRef)(),Wt=(0,y.useRef)(),vt=(0,y.useRef)(),Kt=(0,y.useRef)(),En=(0,y.useRef)(),Yn=(0,y.useRef)(),yt=(0,y.useRef)(),Rn=navigator.userAgent.toLowerCase().match(ce),it=Rn?Rn[0]:"pc",bt=(0,y.useRef)(!1),an=(0,Qe.eY)();let Cn=0,cn=0,Ut=0,Vt=null,Et=!1,Ye=20,jt=1,yn=!1,nt=!1,Ke=[];(0,y.useImperativeHandle)(Re,()=>({getLastUpdatedTime:()=>ct.current.currentTime,getDuration:()=>ct.current.duration})),Pe.ZP.config({maxCount:1,getContainer:()=>Lt.current});const mt=(0,y.useCallback)((Rt,gn=!1)=>{let ut={point:ct.current.currentTime};Vt?(ut.log_id=Vt,ut.watch_duration=Fe(Ke),ut.total_duration=cn):(se?(ut.video_id=parseInt(ne,10),ut.course_id=se):ut.video_id=ne,ut.duration=Cn,ut.device=it),gn&&(ut.ed="1");function Gt(){return ue(this,null,function*(){yn=!0,Vt=yield ae==null?void 0:ae(ut),yn=!1,Rt&&Rt()})}Gt()},[ne,se]);(0,y.useEffect)(()=>{ct.current&&(qt.current.style.display="none",Nt.current.style.display="block"),Pe.ZP.destroy();let Rt=null;return Ve.Z.isSupported&&tn&&te&&(te==null?void 0:te.indexOf(".m3u8"))<0?(Rt=Ve.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:te,muted:!1}),ct.current&&(Rt.attachMediaElement(ct.current),Rt.load())):ct.current.setAttribute("src",te),lt(),()=>{Rt&&(Rt.unload(),Rt.pause(),Rt.destroy(),Rt=null)}},[ct,tn,te]);function _e(){ct.current.paused?(qt.current.style.display="none",Nt.current.style.display="block"):(qt.current.style.display="block",Nt.current.style.display="none")}function lt(){Kt.current.style.display="none",Yn.current.style.display="none",En.current.style.display="none",ct.current.muted||ct.current.volume===0?Kt.current.style.display="block":ct.current.volume>0&&ct.current.volume<=.5?Yn.current.style.display="block":En.current.style.display="block"}(0,y.useEffect)(()=>{const Rt=document.getElementById("play"),gn=document.querySelectorAll(".playback-icons use");function ut(){Le(),me&&!bt.current&&(ct.current.currentTime=me),bt.current=!0,Ke.push(ct.current.currentTime),Et||(Et=!0,x&&mt())}function Gt(){return ue(this,null,function*(){_e(),Ke.push(ct.current.currentTime),x&&mt(()=>{Vt=null,Ut=0,Et=!1,yn=!1,nt=!1,Ke=[],cn=0,jt=1},!0),Xe()})}function Bn(){kt.current.value=Math.round(ct.current.currentTime),Ct.current.value=Math.round(ct.current.currentTime)}function on(){const na=Me(Math.round(ct.current.currentTime));Wt.current.innerText=`${na.hour>0?na.hour+":":""}${na.minutes}:${na.seconds}`,Wt.current.setAttribute("datetime",`${na.hour>0?" "+na.hour+" ":""}${na.minutes}m ${na.seconds}s`)}function ir(){var na,Eo,io,sa,zo,Uo,Gn;const ma=Math.round((na=ct.current)==null?void 0:na.duration);(io=(Eo=kt.current)==null?void 0:Eo.setAttribute)==null||io.call(Eo,"max",ma),(zo=(sa=Ct.current)==null?void 0:sa.setAttribute)==null||zo.call(sa,"max",ma);const $r=Me(ma);zt.current&&(zt.current.innerText=`${$r.hour>0?$r.hour+":":""}${$r.minutes}:${$r.seconds}`,(Gn=(Uo=zt.current).setAttribute)==null||Gn.call(Uo,"datetime",`${$r.hour>0?" "+$r.hour+" ":""}${$r.minutes}m ${$r.seconds}s`))}function Nr(){try{const na=Math.round(ct.current.duration);kt.current.setAttribute("max",na),Ct.current.setAttribute("max",na);const Eo=Me(na);zt.current.innerText=`${Eo.hour>0?Eo.hour+":":""}${Eo.minutes}:${Eo.seconds}`,zt.current.setAttribute("datetime",`${Eo.hour>0?" "+Eo.hour+" ":""}${Eo.minutes}m ${Eo.seconds}s`),Bn(),on();const{width:io,height:sa,x:zo,y:Uo}=wt.current.getBoundingClientRect();if(zo<0||Uo<0||!io)return;if(!nt){let Gn=ct.current.currentTime,ma=Gn-Ut;Math.abs(ma)<10?(cn+=Math.abs(ma),Ut=Gn,yn||cn-jt*Ye>=0&&(jt++,Ke.push(Ut),x&&mt())):(Ut=Gn,x&&mt())}}catch(na){console.log(na)}}function vr(){nt=!0}function Mr(){ct.current.playing&&Ke.push(ct.current.currentTime,Ut),Ut=ct.current.currentTime,nt=!1}function Kr(){Cn=ct.current.duration,Cn<=20&&(Ye=Cn/3),ct.current.addEventListener("play",ut)}function zr(na){na.preventDefault(),(0,Ue.vp)()?(ct.current.style.width="100%",ct.current.style.height="100%"):ct.current.style.cssText=""}function Ur(){pe()}function _r(na){if(!a){Pe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Eo=na.target.dataset.seek?na.target.dataset.seek:na.target.value;ct.current.currentTime=Eo,Ct.current.value=Eo,kt.current.value=Eo}function za(na){const Eo=Math.round(na.offsetX/na.target.clientWidth*parseInt(na.target.getAttribute("max"),10));kt.current.setAttribute("data-seek",Eo);const io=Me(Eo);vt.current.textContent=`${io.hour>0?io.hour+":":""}${io.minutes}:${io.seconds}`;const sa=ct.current.getBoundingClientRect();vt.current.style.left=`${na.pageX-sa.left}px`}function ga(na){switch(na.code){case"Space":na.preventDefault(),Dt();break;case"ArrowRight":if(na.preventDefault(),!a){Pe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(ct.current.currentTime>=ct.current.duration)break;ct.current.currentTime=parseInt(ct.current.currentTime)+5,Bn();break;case"ArrowLeft":if(na.preventDefault(),!a){Pe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(ct.current.currentTime===0)break;ct.current.currentTime=parseInt(ct.current.currentTime)-5,Bn();break;case"ArrowUp":na.preventDefault(),ct.current.volume<1&&(ct.current.volume=(parseInt(ct.current.volume*10)+1)/10);break;case"ArrowDown":na.preventDefault(),ct.current.volume>0&&(ct.current.volume=(parseInt(ct.current.volume*10)-1)/10);break}}return Lt.current.addEventListener((0,Ue.gH)(),zr),ct.current.addEventListener("canplay",Kr),ct.current.addEventListener("ended",Gt),ct.current.addEventListener("seeking",vr),ct.current.addEventListener("seeked",Mr),ct.current.addEventListener("loadedmetadata",ir),kt.current.addEventListener("mousemove",za),kt.current.addEventListener("input",_r),ct.current.addEventListener("timeupdate",Nr),ct.current.addEventListener("pause",Ur),ct.current.addEventListener("volumechange",lt),document.addEventListener("keydown",ga),()=>{var na,Eo,io,sa,zo,Uo,Gn,ma,$r,Ua,ao,Br;(na=ct.current)==null||na.removeEventListener("canplay",Kr),(Eo=ct.current)==null||Eo.removeEventListener("play",ut),(io=ct.current)==null||io.removeEventListener("ended",Gt),(sa=ct.current)==null||sa.removeEventListener("seeking",vr),(zo=ct.current)==null||zo.removeEventListener("seeked",Mr),(Uo=kt.current)==null||Uo.removeEventListener("mousemove",za),(Gn=kt.current)==null||Gn.removeEventListener("input",_r),(ma=ct.current)==null||ma.removeEventListener("timeupdate",Nr),($r=ct.current)==null||$r.removeEventListener("pause",Ur),(Ua=ct.current)==null||Ua.removeEventListener("loadedmetadata",ir),(ao=ct.current)==null||ao.removeEventListener("volumechange",lt),document.removeEventListener("keydown",ga),(Br=ct.current)!=null&&Br.playing&&(Ke.push(Ut,ct.current.currentTime),x&&mt())}},[ct,te]),(0,y.useEffect)(()=>{if(ct.current.onended=()=>{ke(ct)},ct.current.oncontextmenu=()=>!1,(te==null?void 0:te.indexOf(".m3u8"))>-1){if(ct.current.canPlayType("application/vnd.apple.mpegurl"))ct.current.src=te;else if(tt.ZP.isSupported()){var Rt=new tt.ZP;Rt.loadSource(te),Rt.attachMedia(ct.current)}}},[te]);const[Pt,fn]=(0,y.useState)(1),Dt=()=>{ct.current.paused||ct.current.ended?ct.current.play():ct.current.pause(),_e()};function et(){ct.current.muted=!ct.current.muted,ct.current.muted?(yt.current.setAttribute("data-volume",volume.value),yt.current.value=0):yt.current.value=yt.current.dataset.volume}return y.createElement("div",{style:{position:"relative"},ref:Lt},y.createElement("div",{ref:wt,className:`${He.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${He.animate__loop}`},rt&&an?an.login:" "),y.createElement("div",{className:He.container},y.createElement("div",{className:He["video-container"],id:"video-container"},y.createElement("div",{className:He["playback-animation"],id:"playback-animation"},y.createElement("svg",{className:He["playback-icons"]},y.createElement("use",{className:"hidden",href:"#play-icon"}),y.createElement("use",{href:"#pause"}))),y.createElement("video",{className:He.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:ct,autoPlay:Ze}),y.createElement("div",{className:`${He["video-controls"]} `,id:"video-controls"},y.createElement("div",{className:He["bottom-controls"]},y.createElement("div",{className:He["left-controls"]},y.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Dt},y.createElement("svg",{className:He["playback-icons"]},y.createElement("use",{ref:Nt,href:"#play-icon"}),y.createElement("use",{ref:qt,style:{display:"none"},href:"#pause"}))),y.createElement("div",{className:He.time},y.createElement("time",{id:"time-elapsed",ref:Wt},"00:00"),y.createElement("span",null," / "),y.createElement("time",{id:"duration",ref:zt},"00:00"))),y.createElement("div",{className:He["right-controls"]},a&&y.createElement(We.Z,{placement:"top",overlayClassName:He.rateOverlay,getPopupContainer:Rt=>Rt.parentNode,menu:{items:[{key:"1",label:y.createElement("span",{onClick:()=>{fn(1),ct.current.playbackRate=1}},"1.0x")},{key:"2",label:y.createElement("span",{onClick:()=>{fn(1.5),ct.current.playbackRate=1.5}},"1.5x")},{key:"3",label:y.createElement("span",{onClick:()=>{fn(2),ct.current.playbackRate=2}},"2.0x")}]}},y.createElement("div",{className:`${He.controlText} mr5`},"\u500D\u901F")),y.createElement(Se.CopyToClipboard,{text:te,onCopy:()=>Pe.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},y.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),y.createElement("div",{className:He["volume-controls"]},y.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:He["volume-button"],id:"volume-button",onClick:et},y.createElement("i",{ref:Kt,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),y.createElement("i",{ref:Yn,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),y.createElement("i",{ref:En,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),y.createElement("input",{className:He.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:yt,style:{display:"none"},onClick:lt})),y.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:He["fullscreen-button"],onClick:()=>{(0,Ue.vp)()?(0,Ue.BU)():(0,Ue.Dj)(Lt.current)}},y.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),y.createElement("div",{className:He["video-progress"]},y.createElement("progress",{ref:Ct,value:"0",min:"0"}),y.createElement("input",{className:He.seek,ref:kt,value:"0",min:"0",type:"range",step:"1"}),y.createElement("div",{className:He["seek-tooltip"],ref:vt,id:"seek-tooltip"},"00:00"))))),y.createElement("svg",{style:{display:"none"}},y.createElement("defs",null,y.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},y.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),y.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},y.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),y.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},y.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),y.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},y.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),y.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},y.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),y.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},y.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),y.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},y.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),y.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},y.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},30214:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Ve}});var y=oe(59301),Pe=oe(77254),We=oe(11611),Ve=()=>{const[tt,Qe]=(0,y.useState)(""),[Se,Ue]=(0,y.useState)(0);let[He,ue]=(0,y.useState)(),[Me,Oe]=(0,y.useState)();const[Fe,ce]=(0,y.useState)(!1),E=(0,y.useRef)("");(0,y.useEffect)(()=>Pe.Z.subscribe("preview-image",Ze=>{Qe(Ze),console.log(pe.current),document.body.style.overflow="hidden"}),[]),(0,y.useEffect)(()=>(document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}),[]),(0,y.useEffect)(()=>{E.current=tt},[tt]);function a(ke){ke.keyCode==27&&E.current&&te()}function te(){document.body.style.overflow="auto",ue(void 0),Oe(void 0),Ue(0),Qe("")}function x(){Ue(Se+90)}function ne(){He=pe.current.width*1.1,Me=pe.current.height*1.1,Oe(Me),ue(He)}function ae(){He=pe.current.width/1.1,Me=pe.current.height/1.1,Oe(Me),ue(He)}const se=(0,y.useRef)(),me=(0,y.useRef)(),pe=(0,y.useRef)(),Le=ke=>{(ke.nativeEvent.target===se.current||ke.nativeEvent.target===me.current)&&te()};return y.createElement(y.Fragment,null,tt?y.createElement("div",null,y.createElement("div",{className:"preview-wrp-group",ref:me},y.createElement(We.Z,{className:"image-preview",src:tt,style:{display:"none"},preview:{visible:!0,src:tt,movable:!1,onVisibleChange:ke=>{Qe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(Yt,It,oe){"use strict";oe.d(It,{h:function(){return se}});var y=oe(59301),Pe=oe(57809),We=oe(78241),Ve=oe(3113),tt=oe(89780),Qe=oe.n(tt),Se=oe(45559),Ue=oe(42313),He=Object.defineProperty,ue=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,E=(me,pe,Le)=>pe in me?He(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:Le}):me[pe]=Le,a=(me,pe)=>{for(var Le in pe||(pe={}))Fe.call(pe,Le)&&E(me,Le,pe[Le]);if(Oe)for(var Le of Oe(pe))ce.call(pe,Le)&&E(me,Le,pe[Le]);return me},te=(me,pe)=>ue(me,Me(pe));const x=Pe.default.Option,ne={labelCol:{span:4},wrapperCol:{span:20}},ae={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};It.Z=({callback:me,onCancel:pe})=>{const[Le,ke]=(0,y.useState)("python");function Ze(rt){ke(ae[rt][1])}function Xe(rt){me(rt)}return y.createElement(We.default,te(a({},ne),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Xe,style:{width:500}}),y.createElement(We.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(Pe.default,{getPopupContainer:rt=>rt.parentNode,onChange:Ze},Object.keys(ae).map(rt=>y.createElement(x,{key:rt,value:rt},ae[rt][0])))),y.createElement(We.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(se,{mode:Le})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Ve.ZP,{type:"ghost",onClick:pe},"\u53D6\u6D88")))};function se({value:me,onChange:pe,mode:Le,options:ke={}}){const Ze=(0,y.useRef)(),[Xe,rt]=(0,y.useState)();return(0,y.useEffect)(()=>{if(Xe){let Re=function(Qt){const ht=Qt.getValue();pe&&pe(ht)};return Xe.on("change",Re),()=>{Xe.off("change",Re)}}},[Xe,pe]),(0,y.useEffect)(()=>{Xe&&Xe.setOption("mode",Le)},[Xe,Le]),(0,y.useEffect)(()=>{Xe&&(me!==Xe.getValue()||me==="")&&setTimeout(()=>{Xe.setValue(me||"")},300)},[Xe,me]),(0,y.useEffect)(()=>{if(Ze.current&&!Xe){const Re=Qe().fromTextArea(Ze.current,a({mode:Le,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ke));rt(Re)}},[Ze.current,Xe]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:Ze}))}},96565:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return he}});var y=oe(59301),Pe=oe(89780),We=oe.n(Pe),Ve=oe(76374),tt=oe(45559),Qe=oe(6313),Se=oe(25717),Ue=oe(99498),He=oe(25419),ue=oe(67549),Me=oe(6339),Oe=({value:Ce="",className:Be,showTextOnly:Ge,showLines:gt,style:$t={}})=>{const vn=(0,y.useMemo)(()=>"",[Ce]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:vn}}))},Fe=oe(59301),ce=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,ae=(Ce,Be,Ge)=>Be in Ce?ce(Ce,Be,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ce[Be]=Ge,se=(Ce,Be)=>{for(var Ge in Be||(Be={}))x.call(Be,Ge)&&ae(Ce,Ge,Be[Ge]);if(te)for(var Ge of te(Be))ne.call(Be,Ge)&&ae(Ce,Ge,Be[Ge]);return Ce},me=(Ce,Be)=>E(Ce,a(Be));let pe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Le({onActionCallback:Ce,title:Be,icon:Ge,actionName:gt,className:$t="",children:vn}){function ua(){Ce(gt)}return Fe.createElement("a",{title:Be,className:$t,onClick:ua},Fe.createElement("i",{className:`${Ge}`}),vn)}var ke=({watch:Ce,showNullButton:Be,showNullProgramButton:Ge,onActionCallback:gt,fullScreen:$t,insertTemp:vn,hidetoolBar:ua,extraUse:br})=>{const Tn=[...pe,{title:`${Ce?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ce?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Fe.createElement("ul",{className:"markdown-toolbar-container"},!ua&&Tn.map((Fn,sr)=>Fe.createElement("li",{key:sr},Fn.actionName?Fe.createElement(Le,me(se({},Fn),{onActionCallback:gt})):Fe.createElement("span",{className:"v-line"}))),Be?Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ge?Fe.createElement(Fe.Fragment,null,Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,vn&&Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${vn}`,onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),br&&Fe.createElement("li",null,br),Fe.createElement("li",{className:"btn-full-screen"},Fe.createElement(Le,{icon:`${$t?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$t?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:gt})))},Ze=oe(57261),Xe=oe(78241),rt=oe(92832),Re=oe(3113),Qt=Object.defineProperty,ht=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,qt=(Ce,Be,Ge)=>Be in Ce?Qt(Ce,Be,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ce[Be]=Ge,Nt=(Ce,Be)=>{for(var Ge in Be||(Be={}))wt.call(Be,Ge)&&qt(Ce,Ge,Be[Ge]);if(ct)for(var Ge of ct(Be))Lt.call(Be,Ge)&&qt(Ce,Ge,Be[Ge]);return Ce},kt=(Ce,Be)=>ht(Ce,tn(Be));const Ct={labelCol:{span:4},wrapperCol:{span:20}};var zt=({callback:Ce,onCancel:Be})=>{function Ge(gt){Ce(gt)}return y.createElement(Xe.default,kt(Nt({},Ct),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ge,style:{width:500}}),y.createElement(Xe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},y.createElement(rt.default,null)),y.createElement(Xe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},y.createElement(rt.default,null)),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Re.ZP,{type:"ghost",onClick:Be},"\u53D6\u6D88")))},Wt=oe(85533),vt=oe(45053),Kt=oe(43418),En=oe(95237),Yn=oe(16750),yt=oe(59301),Rn=({callback:Ce,onCancel:Be})=>{const Ge=document.createElement("canvas"),gt=Ge.getContext("2d");Ge.width=1e3,Ge.height=800,gt.fillStyle="#ffffff",gt.fillRect(0,0,Ge.width,Ge.height);const $t=Ge.toDataURL("image/png");return yt.createElement(Kt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},yt.createElement(En.Z,{style:{height:"100vh"}},yt.createElement(Yn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$t,visible:!0,title:String(Date.now())},onOk:vn=>{Ce({src:vn.url})},onClose:Be})))},it=oe(12378);function bt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(bt,go.CommandHandler),bt.prototype.canAlignSelection=function(){var Ce=this.diagram;return!(Ce===null||Ce.isReadOnly||Ce.isModelReadOnly||Ce.selection.count<2)},bt.prototype.alignLeft=function(){var Ce=this.diagram;Ce.startTransaction("aligning left");var Be=1/0;Ce.selection.each(function(Ge){Ge instanceof go.Link||(Be=Math.min(Ge.position.x,Be))}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Be,Ge.position.y))}),Ce.commitTransaction("aligning left")},bt.prototype.alignRight=function(){var Ce=this.diagram;Ce.startTransaction("aligning right");var Be=-1/0;Ce.selection.each(function(Ge){if(!(Ge instanceof go.Link)){var gt=Ge.actualBounds.x+Ge.actualBounds.width;Be=Math.max(gt,Be)}}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Be-Ge.actualBounds.width,Ge.position.y))}),Ce.commitTransaction("aligning right")},bt.prototype.alignTop=function(){var Ce=this.diagram;Ce.startTransaction("alignTop");var Be=1/0;Ce.selection.each(function(Ge){Ge instanceof go.Link||(Be=Math.min(Ge.position.y,Be))}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Ge.position.x,Be))}),Ce.commitTransaction("alignTop")},bt.prototype.alignBottom=function(){var Ce=this.diagram;Ce.startTransaction("aligning bottom");var Be=-1/0;Ce.selection.each(function(Ge){if(!(Ge instanceof go.Link)){var gt=Ge.actualBounds.y+Ge.actualBounds.height;Be=Math.max(gt,Be)}}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Ge.actualBounds.x,Be-Ge.actualBounds.height))}),Ce.commitTransaction("aligning bottom")},bt.prototype.alignCenterX=function(){var Ce=this.diagram,Be=Ce.selection.first();if(Be){Ce.startTransaction("aligning Center X");var Ge=Be.actualBounds.x+Be.actualBounds.width/2;Ce.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(Ge-gt.actualBounds.width/2,gt.actualBounds.y))}),Ce.commitTransaction("aligning Center X")}},bt.prototype.alignCenterY=function(){var Ce=this.diagram,Be=Ce.selection.first();if(Be){Ce.startTransaction("aligning Center Y");var Ge=Be.actualBounds.y+Be.actualBounds.height/2;Ce.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.actualBounds.x,Ge-gt.actualBounds.height/2))}),Ce.commitTransaction("aligning Center Y")}},bt.prototype.alignColumn=function(Ce){var Be=this.diagram;Be.startTransaction("align Column"),Ce===void 0&&(Ce=0),Ce=parseFloat(Ce);var Ge=new Array;Be.selection.each(function(br){br instanceof go.Link||Ge.push(br)});for(var gt=0;gt0){for(var br=vn.elt(ua-1);br!==null&&br.isTreeExpanded&&!br.isTreeLeaf;){var Tn=this._sortTreeChildrenByY(br);br=Tn.last()}br!==null&&Ce.select(br)}else Ce.select($t)}}else if(Ge.key==="Down")if(Be.isTreeExpanded&&!Be.isTreeLeaf){var gt=this._sortTreeChildrenByY(Be).first();gt!==null&&Ce.select(gt)}else for(;Be!==null;){var $t=Be.findTreeParentNode();if($t===null)break;var vn=this._sortTreeChildrenByY($t),ua=vn.indexOf(Be);if(uavn.y?1:$t.xvn.x?1:0}),Be},bt.prototype.copyToClipboard=function(Ce){go.CommandHandler.prototype.copyToClipboard.call(this,Ce),this._lastPasteOffset.set(this.pasteOffset)},bt.prototype.pasteFromClipboard=function(){var Ce=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ce,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ce},Object.defineProperty(bt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ce){if(Ce!=="move"&&Ce!=="select"&&Ce!=="scroll"&&Ce!=="tree"&&Ce!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ce);this._arrowKeyBehavior=Ce}}),Object.defineProperty(bt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ce){if(!(Ce instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ce);this._pasteOffset.set(Ce)}});var an=bt,Cn=oe(25863),cn=oe(43604),Ut=oe(38147),Vt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Et=oe(59301),Ye=(Ce,Be,Ge)=>new Promise((gt,$t)=>{var vn=Tn=>{try{br(Ge.next(Tn))}catch(Fn){$t(Fn)}},ua=Tn=>{try{br(Ge.throw(Tn))}catch(Fn){$t(Fn)}},br=Tn=>Tn.done?gt(Tn.value):Promise.resolve(Tn.value).then(vn,ua);br((Ge=Ge.apply(Ce,Be)).next())});function jt({onCancel:Ce,callback:Be}){let Ge=(0,y.useRef)(),gt=(0,y.useRef)(),$t=(0,y.useRef)(),vn=(0,y.useRef)(!1);const ua=(0,y.useRef)(!1),[br,Tn]=(0,y.useState)(0);function Fn(){const Pn=it.bx.make,Tr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ge.current=new it.S0(gt.current,{padding:20,grid:Pn(it.s_,"Grid",Pn(it.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Pn(it.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Sa=>{var oo=Sa.diagram.commandHandler.addTopLevelParts(Sa.diagram.selection,!0);oo||Sa.diagram.currentTool.doCancel()},commandHandler:Pn(an),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Sa=>{var oo=Sa.subject;oo.location=oo.location.copy().snapToGridPoint(Sa.diagram.grid.gridOrigin,Sa.diagram.grid.gridCellSize),setTimeout(()=>{Sa.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Sa=>{var oo=Sa.subject;setTimeout(()=>{Sa.diagram.commandHandler.editTextBlock()})},LinkRelinked:Sa=>{var oo=Sa.parameter.part;oo.invalidateConnectedLinks();var Ea=Sa.subject;Sa.diagram.toolManager.linkingTool.isForwards?Ea.toNode.invalidateConnectedLinks():Ea.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ge.current.nodeTemplate=Pn(it.NB,"Auto",{locationSpot:it.z6.Center,locationObjectName:"SHAPE",desiredSize:new it.$u(120,60),minSize:new it.$u(40,40),resizable:!0,resizeCellSize:new it.$u(10,10),rotatable:!0},new it.KX("location","loc",it.E9.parse).makeTwoWay(it.E9.stringify),new it.KX("desiredSize","size",it.$u.parse).makeTwoWay(it.$u.stringify),Pn(it.bn,{name:"SHAPE",fill:Tr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:it.z6.AllSides,toSpot:it.z6.AllSides},new it.KX("figure"),new it.KX("fill"),new it.KX("stroke","borderColor"),new it.KX("strokeWidth","thickness"),new it.KX("strokeDashArray","dash")),Pn(it.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Pn(it.al,{margin:1,textAlign:"center",overflow:it.al.OverflowEllipsis,editable:!0},new it.KX("text").makeTwoWay(),new it.KX("stroke","color"))),Ge.current.nodeTemplate.toolTip=Pn("ToolTip",Pn(it.s_,"Vertical",{maxSize:new it.$u(200,NaN)},Pn(it.al,{font:"bold 10pt sans-serif",textAlign:"center"},new it.KX("text")),Pn(it.al,{font:"10pt sans-serif",textAlign:"center"},new it.KX("text","details"))));function Or(Sa,oo){var Ea=(ha,Go)=>{ha.handled=!0,ha.diagram.model.commit(si=>{var Ai=Go.part.adornedPart,qi=new it.E9().setRectSpot(Ai.actualBounds,Sa);qi.subtract(Ai.location),qi.scale(2,2),qi.x+=Math.sign(qi.x)*130,qi.y+=Math.sign(qi.y)*130,qi.add(Ai.location),qi.snapToGridPoint(ha.diagram.grid.gridOrigin,ha.diagram.grid.gridCellSize);var us=si.copyNodeData(Ai.data);si.setGroupKeyForNodeData(us,si.getGroupKeyForNodeData(Ai.data)),si.addNodeData(us);var fl={from:Ai.key,to:si.getKeyForNodeData(us)};si.addLinkData(fl);var el=ha.diagram.findNodeForData(us);el.location=qi,ha.diagram.select(el),setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()},20)})};return Pn(it.bn,{figure:oo,alignment:Sa,alignmentFocus:Sa.opposite(),width:Sa.equals(it.z6.Top)||Sa.equals(it.z6.Bottom)?25:18,height:Sa.equals(it.z6.Top)||Sa.equals(it.z6.Bottom)?18:25,fill:"orange",stroke:Tr.white,strokeWidth:4,mouseEnter:(ha,Go)=>Go.fill="dodgerblue",mouseLeave:(ha,Go)=>Go.fill="orange",isActionable:!0,click:Ea,contextClick:Ea})}function Qr(Sa){return Pn(it.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(oo,Ea)=>Ea.fill="dodgerblue",mouseLeave:(oo,Ea)=>Ea.fill="orange",click:(oo,Ea)=>{oo.diagram.commandHandler.showContextMenu(Ea.part.adornedPart)}},Sa||{})}Ge.current.nodeTemplate.selectionAdornmentTemplate=Pn(it.uz,"Spot",Pn(it.Vm,{padding:10}),Or(it.z6.Top,"TriangleUp"),Or(it.z6.Left,"TriangleLeft"),Or(it.z6.Right,"TriangleRight"),Or(it.z6.Bottom,"TriangleDown"),Qr({alignment:new it.z6(.75,0)}));function Er(Sa,oo){return(Ea,ha)=>{Ea.handled=!0,Ea.diagram.model.commit(Go=>{Go.set(ha.part.adornedPart.data,Sa,oo)})}}function Ot(Sa,oo){return oo||(oo="color"),Pn(it.bn,{width:16,height:16,stroke:"lightgray",fill:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.stroke="dodgerblue",mouseLeave:(Ea,ha)=>ha.stroke="lightgray",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}function On(){return[Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.white,"fill"),Ot(Tr.beige,"fill"),Ot(Tr.extralightblue,"fill"),Ot(Tr.extralightred,"fill"))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.lightgray,"fill"),Ot(Tr.lightgreen,"fill"),Ot(Tr.lightblue,"fill"),Ot(Tr.lightred,"fill")))]}function jn(){return[Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.black),Ot(Tr.green),Ot(Tr.blue),Ot(Tr.red))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.white),Ot(Tr.magenta),Ot(Tr.purple),Ot(Tr.orange)))]}function dr(Sa,oo){return oo||(oo="thickness"),Pn(it.bn,"LineH",{width:16,height:16,strokeWidth:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}function Fr(Sa,oo){return oo||(oo="dash"),Pn(it.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}function rr(){return[Pn("ContextMenuButton",Pn(it.s_,"Horizontal",dr(1),dr(2),dr(3),dr(4))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Fr(null),Fr([2,4]),Fr([4,4])))]}function wr(Sa,oo){return oo||(oo="figure"),Pn(it.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.fill="dodgerblue",mouseLeave:(Ea,ha)=>ha.fill="lightgray",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}Ge.current.nodeTemplate.contextMenu=Pn("ContextMenu",Pn("ContextMenuButton",Pn(it.s_,"Horizontal",wr("Rectangle"),wr("RoundedRectangle"),wr("Ellipse"),wr("Diamond"))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",wr("Parallelogram2"),wr("ManualOperation"),wr("Procedure"),wr("Cylinder1"))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",wr("Terminator"),wr("CreateRequest"),wr("Document"),wr("TriangleDown"))),On(),jn(),rr()),Ge.current.groupTemplate=Pn(it.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:it.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Sa,oo)=>{var Ea=oo.addMembers(oo.diagram.selection,!0);Ea||oo.diagram.currentTool.doCancel()},avoidable:!1},new it.KX("location","loc",it.E9.parse).makeTwoWay(it.E9.stringify),Pn(it.s_,"Auto",{name:"BODY"},Pn(it.bn,{parameter1:10,fill:Tr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:it.z6.AllSides,toSpot:it.z6.AllSides},new it.KX("fill"),new it.KX("stroke","color"),new it.KX("strokeWidth","thickness"),new it.KX("strokeDashArray","dash")),Pn(it.Vm,{background:"transparent",margin:20})),Pn(it.al,{alignment:it.z6.Top,alignmentFocus:it.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new it.KX("text"),new it.KX("stroke","color"))),Ge.current.groupTemplate.selectionAdornmentTemplate=Pn(it.uz,"Spot",Pn(it.s_,"Auto",Pn(it.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Pn(it.Vm,{margin:1.5})),Qr({alignment:it.z6.TopRight,alignmentFocus:it.z6.BottomRight})),Ge.current.groupTemplate.contextMenu=Pn("ContextMenu",On(),jn(),rr()),Ge.current.linkTemplate=Pn(it.rU,{layerName:"Foreground",routing:it.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new it.KX("fromSpot","fromSpot",it.z6.parse),new it.KX("toSpot","toSpot",it.z6.parse),new it.KX("fromShortLength","dir",Sa=>Sa>=1?10:0),new it.KX("toShortLength","dir",Sa=>Sa>=1?10:0),new it.KX("points").makeTwoWay(),Pn(it.bn,{strokeWidth:2},new it.KX("stroke","color"),new it.KX("strokeWidth","thickness"),new it.KX("strokeDashArray","dash")),Pn(it.bn,{segmentIndex:0,segmentOffset:new it.E9(15,0),segmentOrientation:it.rU.OrientAlong,alignmentFocus:it.z6.Right,figure:"circle",width:10,strokeWidth:0},new it.KX("fill","color"),new it.KX("visible","dir",Sa=>Sa===1)),Pn(it.bn,{segmentIndex:-1,segmentOffset:new it.E9(-10,6),segmentOrientation:it.rU.OrientPlus90,alignmentFocus:it.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new it.KX("fill","color"),new it.KX("visible","dir",Sa=>Sa>=1),new it.KX("width","thickness",Sa=>7+3*Sa),new it.KX("height","thickness",Sa=>7+3*Sa),new it.KX("segmentOffset","thickness",Sa=>new it.E9(-15,4+1.5*Sa))),Pn(it.bn,{segmentIndex:0,segmentOffset:new it.E9(15,-6),segmentOrientation:it.rU.OrientMinus90,alignmentFocus:it.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new it.KX("fill","color"),new it.KX("visible","dir",Sa=>Sa===2),new it.KX("width","thickness",Sa=>7+3*Sa),new it.KX("height","thickness",Sa=>7+3*Sa),new it.KX("segmentOffset","thickness",Sa=>new it.E9(-15,4+1.5*Sa))),Pn(it.al,{alignmentFocus:new it.z6(0,1,-4,0),editable:!0},new it.KX("text").makeTwoWay(),new it.KX("stroke","color"))),Ge.current.linkTemplate.selectionAdornmentTemplate=Pn(it.uz,Pn(it.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Lr(2)},new it.KX("pathPattern","thickness",Lr)),Qr({alignmentFocus:new it.z6(0,0,-6,-4)}));function Lr(Sa){return Pn(it.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Sa+4).toString()+" H3"})}function Xa(Sa){var oo="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Sa===0?oo="M0 0 M16 16 M0 8 L16 8":Sa===2&&(oo="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Pn(it.bn,{geometryString:oo,margin:2,background:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:Er("dir",Sa),contextClick:Er("dir",Sa)})}function Na(Sa){var oo=(Ea,ha)=>{Ea.handled=!0,Ea.diagram.model.commit(Go=>{var si=ha.part.adornedPart;Go.set(si.data,Sa?"toSpot":"fromSpot",it.z6.stringify(it.z6.AllSides)),(Sa?si.toNode:si.fromNode).invalidateConnectedLinks()})};return Pn(it.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:oo,contextClick:oo})}function Sr(Sa,oo){var Ea=0,ha=it.z6.RightSide;Sa.equals(it.z6.Top)?(Ea=270,ha=it.z6.TopSide):Sa.equals(it.z6.Left)?(Ea=180,ha=it.z6.LeftSide):Sa.equals(it.z6.Bottom)&&(Ea=90,ha=it.z6.BottomSide),oo||(Ea-=180);var Go=(si,Ai)=>{si.handled=!0,si.diagram.model.commit(qi=>{var us=Ai.part.adornedPart;qi.set(us.data,oo?"toSpot":"fromSpot",it.z6.stringify(ha)),(oo?us.toNode:us.fromNode).invalidateConnectedLinks()})};return Pn(it.bn,{alignment:Sa,alignmentFocus:Sa.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ea,background:"transparent",mouseEnter:(si,Ai)=>Ai.background="dodgerblue",mouseLeave:(si,Ai)=>Ai.background="transparent",click:Go,contextClick:Go})}Ge.current.linkTemplate.contextMenu=Pn("ContextMenu",jn(),rr(),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Xa(0),Xa(1),Xa(2))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Pn(it.s_,"Spot",Na(!1),Sr(it.z6.Top,!1),Sr(it.z6.Left,!1),Sr(it.z6.Right,!1),Sr(it.z6.Bottom,!1)),Pn(it.s_,"Spot",{margin:new it.Zt(0,0,0,2)},Na(!0),Sr(it.z6.Top,!0),Sr(it.z6.Left,!0),Sr(it.z6.Right,!0),Sr(it.z6.Bottom,!0)))));const Jo=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],x=se=>{E.current.setValue(E.current.getValue()+" "+se.value+" ")},ne=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:He.createElement(Pe.Z,{className:Se.Z.lists,gutter:[10,10]},a.map((se,me)=>He.createElement(We.Z,{flex:"110px",className:Se.Z.item},He.createElement("div",null,He.createElement(Qe.Z,{value:`$$${se.value}$$`}),se.name),He.createElement("div",{className:Se.Z.children},se.children.map((pe,Le)=>He.createElement("div",{key:Le},He.createElement("h1",null,pe.name),He.createElement(Pe.Z,{gutter:[10,10]},pe.data.map((ke,Ze)=>He.createElement(We.Z,{key:Ze,onClick:()=>x(ke),className:Se.Z.diamond},He.createElement(Qe.Z,{value:"`$$"+ke.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:He.createElement(Pe.Z,{className:Se.Z.lists,gutter:[10,10]},te.map((se,me)=>He.createElement(We.Z,{flex:"110px",className:Se.Z.item},He.createElement("div",null,He.createElement(Qe.Z,{value:"`$$"+se.value+"$$`"}),se.name),He.createElement("div",{className:Se.Z.children},se.children.map((pe,Le)=>He.createElement("div",{key:Le},pe.name&&He.createElement("h1",null,pe.name),He.createElement(Pe.Z,{gutter:[10,10]},pe.data.map((ke,Ze)=>He.createElement(We.Z,{key:Ze,onClick:()=>x(ke),className:Se.Z.diamond},He.createElement(Qe.Z,{value:"`$$"+ke.value+"$$`"}))))))))))}],ae=()=>{var se=document.createElement("div");se.innerHTML=E.current.getValue();var me=se.innerText;return Me&&Me(me),me};return(0,y.useImperativeHandle)(ce,()=>({getData:ae})),He.createElement("div",{className:Se.Z.mathWrap},He.createElement(Ve.default,{defaultActiveKey:"1",items:ne}),He.createElement("math-field",{locale:"zh_cn",className:Se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Fe||""),Oe&&He.createElement("div",{className:Se.Z.button},He.createElement(tt.ZP,{size:"large",onClick:ae,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});It.Z=ue},57146:function(Yt,It,oe){"use strict";oe.d(It,{z:function(){return qt},Z:function(){return Nt}});var y=oe(59301),Pe=oe(54580),We=oe(8591),Ve=oe(43418),tt=oe(3113),Qe=oe(74128),Se=oe(80024),Ue=Object.defineProperty,He=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Oe=(kt,Ct,zt)=>Ct in kt?Ue(kt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:zt}):kt[Ct]=zt,Fe=(kt,Ct)=>{for(var zt in Ct||(Ct={}))ue.call(Ct,zt)&&Oe(kt,zt,Ct[zt]);if(He)for(var zt of He(Ct))Me.call(Ct,zt)&&Oe(kt,zt,Ct[zt]);return kt},ce=(kt,Ct,zt)=>new Promise((Wt,vt)=>{var Kt=yt=>{try{Yn(zt.next(yt))}catch(Rn){vt(Rn)}},En=yt=>{try{Yn(zt.throw(yt))}catch(Rn){vt(Rn)}},Yn=yt=>yt.done?Wt(yt.value):Promise.resolve(yt.value).then(Kt,En);Yn((zt=zt.apply(kt,Ct)).next())});const E="\u3000\u3000";function a(kt){var Ct=["Bytes","KB","MB","GB","TB"];if(kt==0)return"0 Byte";var zt=parseInt(""+Math.floor(Math.log(kt)/Math.log(1024)),10);return(kt/Math.pow(1024,zt)).toFixed(1)+" "+Ct[zt]}var te=({value:kt=[],action:Ct,onChange:zt,className:Wt,maxSize:vt=150,title:Kt="\u6587\u4EF6\u4E0A\u4F20",accept:En=null})=>{const Yn={multiple:!1,fileList:kt,accept:En,withCredentials:!0,beforeUpload:Rn=>Rn.size/1024/1024(Ut.name.indexOf(E)===-1&&(Ut.name=`${Ut.name}${E}${a(Ut.size)}`),Fe({},Ut))),Rn.file.status==="done"&&((bt=(it=Rn.file)==null?void 0:it.response)==null?void 0:bt.status)===-1){message.error((Cn=(an=Rn.file)==null?void 0:an.response)==null?void 0:Cn.message),zt([]);return}zt(cn)},onRemove:Rn=>ce(void 0,null,function*(){const it=Rn.size/1024/1024;return Rn.status==="uploading"?!0:it0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:kt.length>0,ghost:!0},Kt),React.createElement("span",{onClick:yt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",vt,"M)"," ")))},x=oe(61481),ne=oe(89392),ae=Object.defineProperty,se=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Le=(kt,Ct,zt)=>Ct in kt?ae(kt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:zt}):kt[Ct]=zt,ke=(kt,Ct)=>{for(var zt in Ct||(Ct={}))me.call(Ct,zt)&&Le(kt,zt,Ct[zt]);if(se)for(var zt of se(Ct))pe.call(Ct,zt)&&Le(kt,zt,Ct[zt]);return kt};const Ze=kt=>React.createElement("svg",ke({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},kt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Xe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",rt=Object.defineProperty,Re=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,tn=(kt,Ct,zt)=>Ct in kt?rt(kt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:zt}):kt[Ct]=zt,ct=(kt,Ct)=>{for(var zt in Ct||(Ct={}))Qt.call(Ct,zt)&&tn(kt,zt,Ct[zt]);if(Re)for(var zt of Re(Ct))ht.call(Ct,zt)&&tn(kt,zt,Ct[zt]);return kt},wt=(kt,Ct,zt)=>new Promise((Wt,vt)=>{var Kt=yt=>{try{Yn(zt.next(yt))}catch(Rn){vt(Rn)}},En=yt=>{try{Yn(zt.throw(yt))}catch(Rn){vt(Rn)}},Yn=yt=>yt.done?Wt(yt.value):Promise.resolve(yt.value).then(Kt,En);Yn((zt=zt.apply(kt,Ct)).next())});const{Dragger:Lt}=Pe.default;function qt(kt){let Ct=[];return kt&&kt.length>0&&(Ct=kt.map(zt=>({uid:zt.id,id:zt.id,name:zt.title+E+zt.filesize,url:zt.url,filesize:zt.filesize,status:"done",response:{id:zt.id}}))),Ct}var Nt=({value:kt,onChange:Ct,action:zt,data:Wt,className:vt,maxSize:Kt=150,title:En="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Yn=!1,accept:yt="",additionalText:Rn,isDragger:it,number:bt=1e3,aloneClear:an=!1,realTimeRemove:Cn=!0,uploadText:cn,setFileProgress:Ut,showFileProgress:Vt})=>{const[Et,Ye]=(0,y.useState)(!1);let[jt,yn]=(0,y.useState)(kt||[]),[nt,Ke]=(0,y.useState)(1);(0,y.useEffect)(()=>{kt&&(nt===1&&yn([...kt]),Ke(2),bt===(kt==null?void 0:kt.length)&&Ye(!0))},[kt]);const mt=()=>{setTimeout(()=>{jt.pop(),yn([...jt])},500)};Vt&&Ut(jt.some(Pt=>Pt.status==="uploading"));const _e={multiple:!0,disabled:Et,accept:yt,withCredentials:!0,fileList:jt,beforeUpload:(Pt,fn)=>{const Dt=Pt.size/1024/1024;return jt.concat(fn).length>bt?(jt.pop(),yn([...jt]),We.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${bt}\u4E2A\u6587\u4EF6`),an?Promise.reject():(mt(),!1)):Dt=bt?Ye(!0):Ye(!1),yn([...jt]),jt=jt.map(gn=>{var ut,Gt;return(ut=gn==null?void 0:gn.response)!=null&&ut.id&&(gn.url=(Gt=gn==null?void 0:gn.response)==null?void 0:Gt.url),gn.name.indexOf(E)===-1&&(gn.name=`${gn.name}${E}${a(gn.size)}`),ct({},gn)}),console.log("info:",Pt,jt),Ct(jt)},onRemove:Pt=>wt(void 0,null,function*(){if(!Cn)return!0;const fn=()=>wt(void 0,null,function*(){if(Pt.response?Pt.response.id:Pt.id){let et=yield(0,Se.JZ)(Pt.response?Pt.response.id:Pt.uid);return Promise.resolve(et)}else return!0});return Yn?new Promise((Dt,et)=>{Ve.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:y.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>wt(void 0,null,function*(){const Rt=yield fn();We.ZP.success("\u5220\u9664\u6210\u529F"),Dt(!0)}),onCancel:()=>Dt(!1)})}):yield fn()})};function lt(Pt){Pt.preventDefault(),Pt.stopPropagation()}return y.createElement("div",{className:`multi-upload ${vt||""}`},it&&y.createElement(Lt,ct({},_e),y.createElement("p",{className:"ant-upload-drag-icon"},y.createElement(x.Z,null)),y.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",y.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",Kt,"MB)"," "),Rn),!it&&y.createElement(Pe.default,ct({},_e),y.createElement(tt.ZP,{disabled:Et,className:"upload_button"},y.createElement("img",{className:"aBtn_img",src:Xe}),En),y.createElement("span",{onClick:lt,className:"upload_text"},cn||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${Kt}MB)`)))}},3969:function(Yt,It,oe){"use strict";oe.d(It,{h:function(){return E},x:function(){return a}});var y=oe(96565),Pe=oe(58e3),We=oe(6339),Ve=oe(59301),tt=Object.defineProperty,Qe=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Me=(te,x,ne)=>x in te?tt(te,x,{enumerable:!0,configurable:!0,writable:!0,value:ne}):te[x]=ne,Oe=(te,x)=>{for(var ne in x||(x={}))He.call(x,ne)&&Me(te,ne,x[ne]);if(Ue)for(var ne of Ue(x))ue.call(x,ne)&&Me(te,ne,x[ne]);return te},Fe=(te,x)=>Qe(te,Se(x)),ce=(te,x)=>{var ne={};for(var ae in te)He.call(te,ae)&&x.indexOf(ae)<0&&(ne[ae]=te[ae]);if(te!=null&&Ue)for(var ae of Ue(te))x.indexOf(ae)<0&&ue.call(te,ae)&&(ne[ae]=te[ae]);return ne};const E=te=>{var x=te,{value:ne,onChange:ae,scrollId:se}=x,me=ce(x,["value","onChange","scrollId"]);return Ve.createElement("div",{id:se||""},Ve.createElement(y.Z,Fe(Oe({},me),{defaultValue:ne,onChange:(pe,Le)=>{Le!=null&&Le.length?ae(pe,Le):ae(pe)}})))},a=({value:te,onChange:x,placeholder:ne,height:ae=140,isEdit:se,miniToolbar:me,watch:pe=!0})=>se?Ve.createElement(y.Z,{watch:pe,isFocus:!0,height:ae||void 0,placeholder:ne,defaultValue:te,onChange:x,miniToolbar:me}):Ve.createElement("div",{style:{cursor:"pointer"}},te?Ve.createElement(We.Z,{className:Pe.Z.inputBorder,value:te}):Ve.createElement("div",{className:`${Pe.Z.inputBorder} ${Pe.Z.placeholder} inputBorderError`},ne))},49018:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Le}});var y=oe(59301),Pe=oe(9221),We=Object.defineProperty,Ve=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Se=(ke,Ze,Xe)=>Ze in ke?We(ke,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):ke[Ze]=Xe,Ue=(ke,Ze)=>{for(var Xe in Ze||(Ze={}))tt.call(Ze,Xe)&&Se(ke,Xe,Ze[Xe]);if(Ve)for(var Xe of Ve(Ze))Qe.call(Ze,Xe)&&Se(ke,Xe,Ze[Xe]);return ke},He=(ke,Ze)=>{var Xe={};for(var rt in ke)tt.call(ke,rt)&&Ze.indexOf(rt)<0&&(Xe[rt]=ke[rt]);if(ke!=null&&Ve)for(var rt of Ve(ke))Ze.indexOf(rt)<0&&Qe.call(ke,rt)&&(Xe[rt]=ke[rt]);return Xe};const Me={header:{cell:ke=>{var Ze=ke,{onResize:Xe,width:rt}=Ze,Re=He(Ze,["onResize","width"]);return rt?y.createElement(Pe.Resizable,{width:rt,height:0,handle:y.createElement("span",{className:"react-resizable-handle",onClick:Qt=>{Qt.stopPropagation()}}),onResize:Xe,draggableOpts:{enableUserSelectHack:!1}},y.createElement("th",Ue({},Re))):y.createElement("th",Ue({},Re))}}};var Oe=oe(1710),Fe=Object.defineProperty,ce=Object.defineProperties,E=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ne=(ke,Ze,Xe)=>Ze in ke?Fe(ke,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):ke[Ze]=Xe,ae=(ke,Ze)=>{for(var Xe in Ze||(Ze={}))te.call(Ze,Xe)&&ne(ke,Xe,Ze[Xe]);if(a)for(var Xe of a(Ze))x.call(Ze,Xe)&&ne(ke,Xe,Ze[Xe]);return ke},se=(ke,Ze)=>ce(ke,E(Ze)),me=(ke,Ze)=>{var Xe={};for(var rt in ke)te.call(ke,rt)&&Ze.indexOf(rt)<0&&(Xe[rt]=ke[rt]);if(ke!=null&&a)for(var rt of a(ke))Ze.indexOf(rt)<0&&x.call(ke,rt)&&(Xe[rt]=ke[rt]);return Xe},Le=ke=>{var Ze=ke,{pagination:Xe,resColumns:rt,dataSource:Re,onRow:Qt}=Ze,ht=me(Ze,["pagination","resColumns","dataSource","onRow"]);const[tn,ct]=(0,y.useState)(!1),[wt,Lt]=(0,y.useState)([{}]),qt=(0,y.useRef)(null);(0,y.useEffect)(()=>{let kt=rt;kt=kt.map((Ct,zt)=>se(ae({},Ct),{onHeaderCell:Wt=>({width:Wt.width,onResize:Nt(zt)})})),Lt(kt)},[]),(0,y.useEffect)(()=>{qt.current=wt},[wt]);const Nt=kt=>(Ct,{size:zt})=>{const Wt=[...qt.current];Wt[kt]=se(ae({},Wt[kt]),{width:zt.width}),Lt(Wt)};return y.createElement("div",null,y.createElement(Oe.default,se(ae({bordered:!0,components:Me,columns:wt,dataSource:Re,pagination:Xe,loading:tn,onRow:Qt},ht),{rowKey:kt=>kt.key||kt.id})))}},35479:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Ze},P:function(){return pe}});var y=oe(59301),Pe=oe(78241),We=oe(43418),Ve=oe(5112),tt=oe(92832),Qe=oe(1710),Se={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},Ue=oe(60979),He=Object.defineProperty,ue=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,E=(Xe,rt,Re)=>rt in Xe?He(Xe,rt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Xe[rt]=Re,a=(Xe,rt)=>{for(var Re in rt||(rt={}))Fe.call(rt,Re)&&E(Xe,Re,rt[Re]);if(Oe)for(var Re of Oe(rt))ce.call(rt,Re)&&E(Xe,Re,rt[Re]);return Xe},te=(Xe,rt)=>ue(Xe,Me(rt)),x=(Xe,rt)=>{var Re={};for(var Qt in Xe)Fe.call(Xe,Qt)&&rt.indexOf(Qt)<0&&(Re[Qt]=Xe[Qt]);if(Xe!=null&&Oe)for(var Qt of Oe(Xe))rt.indexOf(Qt)<0&&ce.call(Xe,Qt)&&(Re[Qt]=Xe[Qt]);return Re},ne=(Xe,rt,Re)=>new Promise((Qt,ht)=>{var tn=Lt=>{try{wt(Re.next(Lt))}catch(qt){ht(qt)}},ct=Lt=>{try{wt(Re.throw(Lt))}catch(qt){ht(qt)}},wt=Lt=>Lt.done?Qt(Lt.value):Promise.resolve(Lt.value).then(tn,ct);wt((Re=Re.apply(Xe,rt)).next())});const ae=({studentNames:Xe,total:rt})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return rt>3?y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Se.orangeColor},Xe==null?void 0:Xe.join("\u3001")),"\u7B49",y.createElement("span",{className:Se.orangeColor},rt),"\u540D\u5B66\u751F"):y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Se.orangeColor},Xe==null?void 0:Xe.join("\u3001")),Re[rt],"\u540D\u5B66\u751F")},se=({used:Xe,copy:rt,canNotCopy:Re,studentNames:Qt,studentCount:ht,inPaper:tn,is_random:ct=!1,position:wt=""})=>{const Lt=()=>{if(rt>0&&Re>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:Se.orangeColor},rt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",y.createElement("span",{className:Se.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(rt>0&&Re===0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:Se.orangeColor},rt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(rt===0&&Re>0)return y.createElement(y.Fragment,null,"\u5176\u4E2D",y.createElement("span",{className:Se.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},qt=wt||(tn?"\u8BD5\u5377":"\u8BFE\u7A0B");return y.createElement("span",null,y.createElement(ae,{studentNames:Qt,total:ht}),"\u5B66\u4E60\u8FC7",qt,"\u4E2D\u7684",y.createElement("span",{className:Se.orangeColor},Xe),"\u4E2A\u9879\u76EE\uFF0C",Lt(),"\u3002\u8BF7\u9009\u62E9",ct?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},me=({onCancel:Xe,onOk:rt,visible:Re,inPaper:Qt,renderData:ht,type:tn,isMultipleCourse:ct=!1})=>{const[wt]=Pe.default.useForm(),[Lt,qt]=(0,y.useState)(1),[Nt,kt]=(0,y.useState)(!1),Ct=(0,y.useMemo)(()=>(ht==null?void 0:ht.total_num)===1&&(ht==null?void 0:ht.can_copy_num)===1,[ht]),zt=(0,y.useMemo)(()=>{var Wt;return(Wt=ht==null?void 0:ht.course_data_list)==null?void 0:Wt.filter(vt=>vt.is_show)},[ht]);return y.createElement(y.Fragment,null,Ct?y.createElement(We.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:Se.antdModal,width:682,confirmLoading:Nt,onCancel:Xe,onOk:()=>ne(void 0,null,function*(){var Wt;kt(!0);let vt=Lt;if(ct){const Kt=a({},wt.getFieldsValue());vt=(Wt=ht==null?void 0:ht.course_data_list)==null?void 0:Wt.map(En=>Kt[En.id]!==void 0?te(a({},En),{is_copy:Kt[En.id]}):En)}yield rt(vt),kt(!1)})},y.createElement("div",{className:Se.content,style:{marginBottom:20}},ct?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":y.createElement(y.Fragment,null,y.createElement(ae,{studentNames:ht==null?void 0:ht.student_names,total:ht==null?void 0:ht.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),ct?y.createElement(Pe.default,{form:wt,preserve:!1},zt==null?void 0:zt.map(Wt=>y.createElement(y.Fragment,{key:Wt.id},y.createElement("h3",{className:"ml15 mb5"},Wt.name),y.createElement(Pe.default.Item,{name:Wt.id,initialValue:1},y.createElement(Ve.ZP.Group,{className:Se.content},y.createElement(Ve.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),y.createElement(Ve.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):y.createElement(Ve.ZP.Group,{value:Lt,onChange:Wt=>qt(Wt.target.value),className:Se.content,style:{marginBottom:30}},y.createElement(Ve.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),y.createElement(Ve.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),y.createElement("div",null,y.createElement("div",{className:Se.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),y.createElement("div",{className:Se.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:`${Se.content} ${Se.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):y.createElement(We.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:Nt,title:"\u63D0\u793A",width:682,onCancel:Xe,onOk:()=>ne(void 0,null,function*(){var Wt;kt(!0);let vt=0;if(ct){const Kt=a({},wt.getFieldsValue());vt=(Wt=ht==null?void 0:ht.course_data_list)==null?void 0:Wt.map(En=>Kt[En.id]!==void 0?te(a({},En),{is_use:Kt[En.id]}):En)}yield rt(vt),kt(!1)})},y.createElement("div",{className:Se.content},y.createElement(ae,{studentNames:ht==null?void 0:ht.student_names,total:ht==null?void 0:ht.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",ct?y.createElement(Pe.default,{form:wt,preserve:!1},y.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),zt==null?void 0:zt.map(Wt=>y.createElement(y.Fragment,{key:Wt.id},y.createElement("h3",{className:"ml15 mb5"},Wt.name),y.createElement(Pe.default.Item,{name:Wt.id,initialValue:1},y.createElement(Ve.ZP.Group,{className:Se.content},y.createElement(Ve.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),y.createElement(Ve.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):y.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",y.createElement("span",{className:Se.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},pe=function(){const[Xe,rt]=(0,y.useState)(!1),[Re,Qt]=(0,y.useState)();return[Xe,()=>rt(!1),Re,ct=>ne(this,null,function*(){var wt;const Lt=ct,{isImportMultipleCourse:qt=!1}=Lt,Nt=x(Lt,["isImportMultipleCourse"]);console.log(ct);const kt=(ct==null?void 0:ct.result)||(yield(0,Ue.Tr)(Nt));return"status"in kt?!1:qt?((wt=kt==null?void 0:kt.course_data_list)==null?void 0:wt.some(zt=>zt.is_show))?(Qt(kt),rt(!0),!0):kt.course_data_list||[]:kt.student_count===0?!1:(Qt(kt),rt(!0),!0)})]},Le=Xe=>{const[rt]=Pe.default.useForm(),[Re,Qt]=(0,y.useState)(!1),{onCancel:ht,onOk:tn,visible:ct,inPaper:wt=!1,renderData:Lt,type:qt,isMultipleCourse:Nt=!1,position:kt}=Xe;let Ct=(0,y.useMemo)(()=>wt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:Se.tableCell,render(vt,Kt){return y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(vt,Kt)=>y.createElement(y.Fragment,null,y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],initialValue:1},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426"))),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(tt.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:Se.tableCell,render(vt,Kt){return y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(vt,Kt)=>y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],initialValue:1},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(vt,Kt)=>y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],initialValue:1},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426")))}],[wt]),zt=(0,y.useMemo)(()=>wt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:Se.tableCell,align:"center",ellipsis:!0,render:(vt,Kt)=>y.createElement(y.Fragment,null,y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(tt.default,{type:"hidden"})),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(tt.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:Se.tableCell,ellipsis:!0,align:"center",render:(vt,Kt)=>y.createElement("a",{href:`/shixuns/${Kt.identifier}/challenges`,target:"_blank"},vt)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(vt,Kt)=>y.createElement(y.Fragment,null,y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_use"],initialValue:0},y.createElement(Ve.ZP.Group,null,y.createElement(Ve.ZP,{value:1},"\u662F"),y.createElement(Ve.ZP,{value:0},"\u5426"))),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?Kt==null?void 0:Kt.stage_shixun_id:Kt.shixun_course_id||Kt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(tt.default,{type:"hidden"})))}],[wt]);if(Nt){const vt={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:Se.tableCell,render:(Kt,En)=>y.createElement("a",{href:`/classrooms/${En.course_id}`},Kt)};Ct=[vt,...Ct],zt=[vt,...zt]}const Wt=(0,y.useMemo)(()=>se({used:Lt==null?void 0:Lt.repeat_shixun_num,copy:Lt==null?void 0:Lt.can_copy_num,canNotCopy:Lt==null?void 0:Lt.no_copy_num,studentNames:Lt==null?void 0:Lt.student_names,studentCount:Lt==null?void 0:Lt.student_count,is_random:Lt==null?void 0:Lt.is_random,inPaper:wt,position:kt}),[Lt,wt,kt]);return y.createElement(We.default,{title:"\u63D0\u793A",centered:!0,open:ct,confirmLoading:Re,onOk:()=>ne(void 0,null,function*(){Qt(!0);const vt=rt.getFieldsValue(),Kt=Object.keys(vt).map(En=>({id:parseInt(En.split("_")[0]),course_id:parseInt(En.split("_")[1]),is_use:vt[En].is_use,is_copy:vt[En].is_copy}));yield tn(Kt),Qt(!1)}),onCancel:ht,width:880,okText:"\u786E\u8BA4",className:Se.antdModal,destroyOnClose:!0},y.createElement(Pe.default,{form:rt,preserve:!1},y.createElement("div",{className:Se.brief},Wt),y.createElement("div",{style:{marginBottom:30}},y.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),y.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),y.createElement("div",{className:Se.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(Lt==null?void 0:Lt.can_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:Se.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Qe.default,{columns:Ct,className:Se.antdTable,dataSource:Lt==null?void 0:Lt.can_copy_list,rowKey:qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(Lt==null?void 0:Lt.no_copy_num)>0&&y.createElement("div",null,y.createElement("div",{className:Se.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),y.createElement(Qe.default,{columns:zt,className:Se.antdTable,dataSource:Lt==null?void 0:Lt.no_copy_list,rowKey:qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(Lt==null?void 0:Lt.no_use_list.length)>0&&(Lt==null?void 0:Lt.no_use_list.map(vt=>y.createElement("div",{key:qt==="subject"?vt.stage_shixun_id:vt.shixun_course_id||vt.id},y.createElement(Pe.default.Item,{name:[`${qt==="subject"?vt==null?void 0:vt.stage_shixun_id:vt.shixun_course_id||vt.id}`,"is_copy"],hidden:!0,initialValue:0},y.createElement(tt.default,{type:"hidden"})),y.createElement(Pe.default.Item,{name:[`${qt==="subject"?vt==null?void 0:vt.stage_shixun_id:vt.shixun_course_id||vt.id}`,"is_use"],hidden:!0,initialValue:1},y.createElement(tt.default,{type:"hidden"})))))))};var Ze=Xe=>{const{modalType:rt}=Xe;return rt==="multiple"?y.createElement(Le,a({},Xe)):y.createElement(me,a({},Xe))}},83028:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Ue}});var y=oe(59301),Pe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},We=oe(43418),Ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Qe=(He,ue,Me)=>new Promise((Oe,Fe)=>{var ce=te=>{try{a(Me.next(te))}catch(x){Fe(x)}},E=te=>{try{a(Me.throw(te))}catch(x){Fe(x)}},a=te=>te.done?Oe(te.value):Promise.resolve(te.value).then(ce,E);a((Me=Me.apply(He,ue)).next())}),Ue=({type:He,resdata:ue,onok:Me,oktext:Oe,okloading:Fe})=>{const[ce,E]=(0,y.useState)(!1),{can_copy_list:a,can_copy_num:te,challenge_type:x,course_data_list:ne,no_copy_list:ae,no_copy_num:se,no_use_list:me,no_use_num:pe,repeat_shixun_num:Le,student_count:ke,total_num:Ze,use_num:Xe}=ue;let rt=te>0||He==="exercise";(0,y.useEffect)(()=>{(ue==null?void 0:ue.student_count)>0&&E(!0)},[ue]),console.log("---11",Fe),(0,y.useEffect)(()=>{Fe||E(!1)},[Fe]);const Re=()=>{if(He==="exercise"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(He==="exercise"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixun"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixun"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="subject"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="subject"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:Pe.orangeColor},ke)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:Pe.orangeColor},Xe)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(He==="shixunpush"&&x===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(He==="shixunpush"&&x===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:Pe.orangeColor},ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:Pe.orangeColor},Xe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:Pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Qt=()=>{if(He==="exercise"||He==="subject"||He==="exercisepush"||He==="shixunpush")return y.createElement("div",{style:{marginTop:20}},se>0&&y.createElement("div",null,y.createElement("span",{className:Pe.flex},y.createElement("img",{src:tt,style:{width:14}}),y.createElement("span",{className:Pe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:Pe.statusbody},He==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:Pe.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(He==="subject"||He==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",rt&&y.createElement("span",{className:Pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),He==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",rt&&y.createElement("span",{className:Pe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),y.createElement("div",null,ae==null?void 0:ae.map((ht,tn)=>y.createElement("a",{href:`/shixuns/${ht.identifier}/challenges`,target:"_blank"},"\u300A",ht==null?void 0:ht.name,"\u300B",tn+1!==se&&"\u3001"))))),te>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:Pe.flex},y.createElement("img",{src:Ve,style:{width:14}}),y.createElement("span",{className:Pe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:Pe.statusbody},He==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(He==="subject"||He==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),He==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),y.createElement("div",null,a==null?void 0:a.map((ht,tn)=>y.createElement("a",{href:`/shixuns/${ht.identifier}/challenges`,target:"_blank"},"\u300A",ht==null?void 0:ht.name,"\u300B",tn+1!==te&&"\u3001"))))));if(He==="shixun")return y.createElement("div",{style:{marginTop:20}},te>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return y.createElement(We.default,{open:ce,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!rt&&"none"}},zIndex:1003,confirmLoading:Fe,okText:rt?Oe:"\u6211\u77E5\u9053\u4E86",onOk:()=>Qe(void 0,null,function*(){rt?yield Me([...a,...me]):E(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Qt()))}},86340:function(Yt,It,oe){"use strict";oe.d(It,{K:function(){return Qe}});var y=oe(59301),Pe=oe(43418),We=oe(44080),Ve={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},tt=oe(24334);const Qe=({visible:Se,width:Ue,videoId:He,file_url:ue,course_id:Me,copyUrl:Oe,toLog:Fe=!0,logWatchHistory:ce=()=>{},allow_skip:E,onClose:a=()=>{},autoPlay:te=!1,onPlayEnded:x=()=>{}})=>y.createElement(Pe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Se,title:null,footer:null,width:Ue,className:Ve.modal},y.createElement("i",{className:`${Ve.closeIcon} iconfont icon-guanbi10`,onClick:a}),Se&&y.createElement(We.Z,{onPlayEnded:x,autoPlay:te,allow_skip:E,courseId:Me,src:ue!=null&&ue.startsWith("http")?ue:tt.Base64.decode(ue),videoId:He,toLog:Fe,logWatchHistory:ce}))},44080:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return E}});var y=oe(59301),Pe=oe(8591),We=oe(38854),Ve=oe(73217),tt=oe(16471),Qe=oe(41867),Se=oe(56102),Ue=oe(84056),He={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},ue=(a,te,x)=>new Promise((ne,ae)=>{var se=Le=>{try{pe(x.next(Le))}catch(ke){ae(ke)}},me=Le=>{try{pe(x.throw(Le))}catch(ke){ae(ke)}},pe=Le=>Le.done?ne(Le.value):Promise.resolve(Le.value).then(se,me);pe((x=x.apply(a,te)).next())});function Me(a){if(isNaN(a))return{minutes:"00",seconds:"00"};const te=new Date(a*1e3).toISOString().substr(11,8);return{hour:te.substr(0,2),minutes:te.substr(3,2),seconds:te.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Oe(a,te){return a-te}function Fe(a){a.sort(Oe);let te=0;for(let x=0;x{},handlePlay:Le=()=>{},handlePlayEnded:ke=()=>{},autoPlay:Ze=!1,onPlayEnded:Xe=()=>{},isShowWaterMark:rt=!0},Re)=>{var Qt;const tn=((Qt=te==null?void 0:te.split("."))==null?void 0:Qt.pop())==="flv",ct=(0,y.useRef)(),wt=(0,y.useRef)(),Lt=(0,y.useRef)(),qt=(0,y.useRef)(),Nt=(0,y.useRef)(),kt=(0,y.useRef)(),Ct=(0,y.useRef)(),zt=(0,y.useRef)(),Wt=(0,y.useRef)(),vt=(0,y.useRef)(),Kt=(0,y.useRef)(),En=(0,y.useRef)(),Yn=(0,y.useRef)(),yt=(0,y.useRef)(),Rn=navigator.userAgent.toLowerCase().match(ce),it=Rn?Rn[0]:"pc",bt=(0,y.useRef)(!1),an=(0,Qe.eY)();let Cn=0,cn=0,Ut=0,Vt=null,Et=!1,Ye=20,jt=1,yn=!1,nt=!1,Ke=[];(0,y.useImperativeHandle)(Re,()=>({getLastUpdatedTime:()=>ct.current.currentTime,getDuration:()=>ct.current.duration})),Pe.ZP.config({maxCount:1,getContainer:()=>Lt.current});const mt=(0,y.useCallback)((Rt,gn=!1)=>{let ut={point:ct.current.currentTime};Vt?(ut.log_id=Vt,ut.watch_duration=Fe(Ke),ut.total_duration=cn):(se?(ut.video_id=parseInt(ne,10),ut.course_id=se):ut.video_id=ne,ut.duration=Cn,ut.device=it),gn&&(ut.ed="1");function Gt(){return ue(this,null,function*(){yn=!0,Vt=yield ae==null?void 0:ae(ut),yn=!1,Rt&&Rt()})}Gt()},[ne,se]);(0,y.useEffect)(()=>{ct.current&&(qt.current.style.display="none",Nt.current.style.display="block"),Pe.ZP.destroy();let Rt=null;return Ve.Z.isSupported&&tn&&te&&(te==null?void 0:te.indexOf(".m3u8"))<0?(Rt=Ve.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:te,muted:!1}),ct.current&&(Rt.attachMediaElement(ct.current),Rt.load())):ct.current.setAttribute("src",te),lt(),()=>{Rt&&(Rt.unload(),Rt.pause(),Rt.destroy(),Rt=null)}},[ct,tn,te]);function _e(){ct.current.paused?(qt.current.style.display="none",Nt.current.style.display="block"):(qt.current.style.display="block",Nt.current.style.display="none")}function lt(){Kt.current.style.display="none",Yn.current.style.display="none",En.current.style.display="none",ct.current.muted||ct.current.volume===0?Kt.current.style.display="block":ct.current.volume>0&&ct.current.volume<=.5?Yn.current.style.display="block":En.current.style.display="block"}(0,y.useEffect)(()=>{const Rt=document.getElementById("play"),gn=document.querySelectorAll(".playback-icons use");function ut(){Le(),me&&!bt.current&&(ct.current.currentTime=me),bt.current=!0,Ke.push(ct.current.currentTime),Et||(Et=!0,x&&mt())}function Gt(){return ue(this,null,function*(){_e(),Ke.push(ct.current.currentTime),x&&mt(()=>{Vt=null,Ut=0,Et=!1,yn=!1,nt=!1,Ke=[],cn=0,jt=1},!0),Xe()})}function Bn(){kt.current.value=Math.round(ct.current.currentTime),Ct.current.value=Math.round(ct.current.currentTime)}function on(){const na=Me(Math.round(ct.current.currentTime));Wt.current.innerText=`${na.hour>0?na.hour+":":""}${na.minutes}:${na.seconds}`,Wt.current.setAttribute("datetime",`${na.hour>0?" "+na.hour+" ":""}${na.minutes}m ${na.seconds}s`)}function ir(){var na,Eo,io,sa,zo,Uo,Gn;const ma=Math.round((na=ct.current)==null?void 0:na.duration);(io=(Eo=kt.current)==null?void 0:Eo.setAttribute)==null||io.call(Eo,"max",ma),(zo=(sa=Ct.current)==null?void 0:sa.setAttribute)==null||zo.call(sa,"max",ma);const $r=Me(ma);zt.current&&(zt.current.innerText=`${$r.hour>0?$r.hour+":":""}${$r.minutes}:${$r.seconds}`,(Gn=(Uo=zt.current).setAttribute)==null||Gn.call(Uo,"datetime",`${$r.hour>0?" "+$r.hour+" ":""}${$r.minutes}m ${$r.seconds}s`))}function Nr(){try{const na=Math.round(ct.current.duration);kt.current.setAttribute("max",na),Ct.current.setAttribute("max",na);const Eo=Me(na);zt.current.innerText=`${Eo.hour>0?Eo.hour+":":""}${Eo.minutes}:${Eo.seconds}`,zt.current.setAttribute("datetime",`${Eo.hour>0?" "+Eo.hour+" ":""}${Eo.minutes}m ${Eo.seconds}s`),Bn(),on();const{width:io,height:sa,x:zo,y:Uo}=wt.current.getBoundingClientRect();if(zo<0||Uo<0||!io)return;if(!nt){let Gn=ct.current.currentTime,ma=Gn-Ut;Math.abs(ma)<10?(cn+=Math.abs(ma),Ut=Gn,yn||cn-jt*Ye>=0&&(jt++,Ke.push(Ut),x&&mt())):(Ut=Gn,x&&mt())}}catch(na){console.log(na)}}function vr(){nt=!0}function Mr(){ct.current.playing&&Ke.push(ct.current.currentTime,Ut),Ut=ct.current.currentTime,nt=!1}function Kr(){Cn=ct.current.duration,Cn<=20&&(Ye=Cn/3),ct.current.addEventListener("play",ut)}function zr(na){na.preventDefault(),(0,Ue.vp)()?(ct.current.style.width="100%",ct.current.style.height="100%"):ct.current.style.cssText=""}function Ur(){pe()}function _r(na){if(!a){Pe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Eo=na.target.dataset.seek?na.target.dataset.seek:na.target.value;ct.current.currentTime=Eo,Ct.current.value=Eo,kt.current.value=Eo}function za(na){const Eo=Math.round(na.offsetX/na.target.clientWidth*parseInt(na.target.getAttribute("max"),10));kt.current.setAttribute("data-seek",Eo);const io=Me(Eo);vt.current.textContent=`${io.hour>0?io.hour+":":""}${io.minutes}:${io.seconds}`;const sa=ct.current.getBoundingClientRect();vt.current.style.left=`${na.pageX-sa.left}px`}function ga(na){switch(na.code){case"Space":na.preventDefault(),Dt();break;case"ArrowRight":if(na.preventDefault(),!a){Pe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(ct.current.currentTime>=ct.current.duration)break;ct.current.currentTime=parseInt(ct.current.currentTime)+5,Bn();break;case"ArrowLeft":if(na.preventDefault(),!a){Pe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(ct.current.currentTime===0)break;ct.current.currentTime=parseInt(ct.current.currentTime)-5,Bn();break;case"ArrowUp":na.preventDefault(),ct.current.volume<1&&(ct.current.volume=(parseInt(ct.current.volume*10)+1)/10);break;case"ArrowDown":na.preventDefault(),ct.current.volume>0&&(ct.current.volume=(parseInt(ct.current.volume*10)-1)/10);break}}return Lt.current.addEventListener((0,Ue.gH)(),zr),ct.current.addEventListener("canplay",Kr),ct.current.addEventListener("ended",Gt),ct.current.addEventListener("seeking",vr),ct.current.addEventListener("seeked",Mr),ct.current.addEventListener("loadedmetadata",ir),kt.current.addEventListener("mousemove",za),kt.current.addEventListener("input",_r),ct.current.addEventListener("timeupdate",Nr),ct.current.addEventListener("pause",Ur),ct.current.addEventListener("volumechange",lt),document.addEventListener("keydown",ga),()=>{var na,Eo,io,sa,zo,Uo,Gn,ma,$r,Ua,ao,Br;(na=ct.current)==null||na.removeEventListener("canplay",Kr),(Eo=ct.current)==null||Eo.removeEventListener("play",ut),(io=ct.current)==null||io.removeEventListener("ended",Gt),(sa=ct.current)==null||sa.removeEventListener("seeking",vr),(zo=ct.current)==null||zo.removeEventListener("seeked",Mr),(Uo=kt.current)==null||Uo.removeEventListener("mousemove",za),(Gn=kt.current)==null||Gn.removeEventListener("input",_r),(ma=ct.current)==null||ma.removeEventListener("timeupdate",Nr),($r=ct.current)==null||$r.removeEventListener("pause",Ur),(Ua=ct.current)==null||Ua.removeEventListener("loadedmetadata",ir),(ao=ct.current)==null||ao.removeEventListener("volumechange",lt),document.removeEventListener("keydown",ga),(Br=ct.current)!=null&&Br.playing&&(Ke.push(Ut,ct.current.currentTime),x&&mt())}},[ct,te]),(0,y.useEffect)(()=>{if(ct.current.onended=()=>{ke(ct)},ct.current.oncontextmenu=()=>!1,(te==null?void 0:te.indexOf(".m3u8"))>-1){if(ct.current.canPlayType("application/vnd.apple.mpegurl"))ct.current.src=te;else if(tt.ZP.isSupported()){var Rt=new tt.ZP;Rt.loadSource(te),Rt.attachMedia(ct.current)}}},[te]);const[Pt,fn]=(0,y.useState)(1),Dt=()=>{ct.current.paused||ct.current.ended?ct.current.play():ct.current.pause(),_e()};function et(){ct.current.muted=!ct.current.muted,ct.current.muted?(yt.current.setAttribute("data-volume",volume.value),yt.current.value=0):yt.current.value=yt.current.dataset.volume}return y.createElement("div",{style:{position:"relative"},ref:Lt},y.createElement("div",{ref:wt,className:`${He.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${He.animate__loop}`},rt&&an?an.login:" "),y.createElement("div",{className:He.container},y.createElement("div",{className:He["video-container"],id:"video-container"},y.createElement("div",{className:He["playback-animation"],id:"playback-animation"},y.createElement("svg",{className:He["playback-icons"]},y.createElement("use",{className:"hidden",href:"#play-icon"}),y.createElement("use",{href:"#pause"}))),y.createElement("video",{className:He.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:ct,autoPlay:Ze}),y.createElement("div",{className:`${He["video-controls"]} `,id:"video-controls"},y.createElement("div",{className:He["bottom-controls"]},y.createElement("div",{className:He["left-controls"]},y.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Dt},y.createElement("svg",{className:He["playback-icons"]},y.createElement("use",{ref:Nt,href:"#play-icon"}),y.createElement("use",{ref:qt,style:{display:"none"},href:"#pause"}))),y.createElement("div",{className:He.time},y.createElement("time",{id:"time-elapsed",ref:Wt},"00:00"),y.createElement("span",null," / "),y.createElement("time",{id:"duration",ref:zt},"00:00"))),y.createElement("div",{className:He["right-controls"]},a&&y.createElement(We.Z,{placement:"top",overlayClassName:He.rateOverlay,getPopupContainer:Rt=>Rt.parentNode,menu:{items:[{key:"1",label:y.createElement("span",{onClick:()=>{fn(1),ct.current.playbackRate=1}},"1.0x")},{key:"2",label:y.createElement("span",{onClick:()=>{fn(1.5),ct.current.playbackRate=1.5}},"1.5x")},{key:"3",label:y.createElement("span",{onClick:()=>{fn(2),ct.current.playbackRate=2}},"2.0x")}]}},y.createElement("div",{className:`${He.controlText} mr5`},"\u500D\u901F")),y.createElement(Se.CopyToClipboard,{text:te,onCopy:()=>Pe.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},y.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),y.createElement("div",{className:He["volume-controls"]},y.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:He["volume-button"],id:"volume-button",onClick:et},y.createElement("i",{ref:Kt,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),y.createElement("i",{ref:Yn,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),y.createElement("i",{ref:En,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),y.createElement("input",{className:He.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:yt,style:{display:"none"},onClick:lt})),y.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:He["fullscreen-button"],onClick:()=>{(0,Ue.vp)()?(0,Ue.BU)():(0,Ue.Dj)(Lt.current)}},y.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),y.createElement("div",{className:He["video-progress"]},y.createElement("progress",{ref:Ct,value:"0",min:"0"}),y.createElement("input",{className:He.seek,ref:kt,value:"0",min:"0",type:"range",step:"1"}),y.createElement("div",{className:He["seek-tooltip"],ref:vt,id:"seek-tooltip"},"00:00"))))),y.createElement("svg",{style:{display:"none"}},y.createElement("defs",null,y.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},y.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),y.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},y.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),y.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},y.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),y.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},y.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),y.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},y.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),y.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},y.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),y.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},y.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),y.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},y.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},30214:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return Ve}});var y=oe(59301),Pe=oe(77254),We=oe(11611),Ve=()=>{const[tt,Qe]=(0,y.useState)(""),[Se,Ue]=(0,y.useState)(0);let[He,ue]=(0,y.useState)(),[Me,Oe]=(0,y.useState)();const[Fe,ce]=(0,y.useState)(!1),E=(0,y.useRef)("");(0,y.useEffect)(()=>Pe.Z.subscribe("preview-image",Ze=>{Qe(Ze),console.log(pe.current),document.body.style.overflow="hidden"}),[]),(0,y.useEffect)(()=>(document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}),[]),(0,y.useEffect)(()=>{E.current=tt},[tt]);function a(ke){ke.keyCode==27&&E.current&&te()}function te(){document.body.style.overflow="auto",ue(void 0),Oe(void 0),Ue(0),Qe("")}function x(){Ue(Se+90)}function ne(){He=pe.current.width*1.1,Me=pe.current.height*1.1,Oe(Me),ue(He)}function ae(){He=pe.current.width/1.1,Me=pe.current.height/1.1,Oe(Me),ue(He)}const se=(0,y.useRef)(),me=(0,y.useRef)(),pe=(0,y.useRef)(),Le=ke=>{(ke.nativeEvent.target===se.current||ke.nativeEvent.target===me.current)&&te()};return y.createElement(y.Fragment,null,tt?y.createElement("div",null,y.createElement("div",{className:"preview-wrp-group",ref:me},y.createElement(We.Z,{className:"image-preview",src:tt,style:{display:"none"},preview:{visible:!0,src:tt,movable:!1,onVisibleChange:ke=>{Qe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(Yt,It,oe){"use strict";oe.d(It,{h:function(){return se}});var y=oe(59301),Pe=oe(57809),We=oe(78241),Ve=oe(3113),tt=oe(89780),Qe=oe.n(tt),Se=oe(45559),Ue=oe(42313),He=Object.defineProperty,ue=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,E=(me,pe,Le)=>pe in me?He(me,pe,{enumerable:!0,configurable:!0,writable:!0,value:Le}):me[pe]=Le,a=(me,pe)=>{for(var Le in pe||(pe={}))Fe.call(pe,Le)&&E(me,Le,pe[Le]);if(Oe)for(var Le of Oe(pe))ce.call(pe,Le)&&E(me,Le,pe[Le]);return me},te=(me,pe)=>ue(me,Me(pe));const x=Pe.default.Option,ne={labelCol:{span:4},wrapperCol:{span:20}},ae={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};It.Z=({callback:me,onCancel:pe})=>{const[Le,ke]=(0,y.useState)("python");function Ze(rt){ke(ae[rt][1])}function Xe(rt){me(rt)}return y.createElement(We.default,te(a({},ne),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Xe,style:{width:500}}),y.createElement(We.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(Pe.default,{getPopupContainer:rt=>rt.parentNode,onChange:Ze},Object.keys(ae).map(rt=>y.createElement(x,{key:rt,value:rt},ae[rt][0])))),y.createElement(We.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(se,{mode:Le})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Ve.ZP,{type:"ghost",onClick:pe},"\u53D6\u6D88")))};function se({value:me,onChange:pe,mode:Le,options:ke={}}){const Ze=(0,y.useRef)(),[Xe,rt]=(0,y.useState)();return(0,y.useEffect)(()=>{if(Xe){let Re=function(Qt){const ht=Qt.getValue();pe&&pe(ht)};return Xe.on("change",Re),()=>{Xe.off("change",Re)}}},[Xe,pe]),(0,y.useEffect)(()=>{Xe&&Xe.setOption("mode",Le)},[Xe,Le]),(0,y.useEffect)(()=>{Xe&&(me!==Xe.getValue()||me==="")&&setTimeout(()=>{Xe.setValue(me||"")},300)},[Xe,me]),(0,y.useEffect)(()=>{if(Ze.current&&!Xe){const Re=Qe().fromTextArea(Ze.current,a({mode:Le,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ke));rt(Re)}},[Ze.current,Xe]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:Ze}))}},96565:function(Yt,It,oe){"use strict";oe.d(It,{Z:function(){return he}});var y=oe(59301),Pe=oe(89780),We=oe.n(Pe),Ve=oe(76374),tt=oe(45559),Qe=oe(6313),Se=oe(25717),Ue=oe(99498),He=oe(25419),ue=oe(67549),Me=oe(6339),Oe=({value:Ce="",className:Be,showTextOnly:Ge,showLines:gt,style:$t={}})=>{const vn=(0,y.useMemo)(()=>"",[Ce]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:vn}}))},Fe=oe(59301),ce=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,ae=(Ce,Be,Ge)=>Be in Ce?ce(Ce,Be,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ce[Be]=Ge,se=(Ce,Be)=>{for(var Ge in Be||(Be={}))x.call(Be,Ge)&&ae(Ce,Ge,Be[Ge]);if(te)for(var Ge of te(Be))ne.call(Be,Ge)&&ae(Ce,Ge,Be[Ge]);return Ce},me=(Ce,Be)=>E(Ce,a(Be));let pe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Le({onActionCallback:Ce,title:Be,icon:Ge,actionName:gt,className:$t="",children:vn}){function ua(){Ce(gt)}return Fe.createElement("a",{title:Be,className:$t,onClick:ua},Fe.createElement("i",{className:`${Ge}`}),vn)}var ke=({watch:Ce,showNullButton:Be,showNullProgramButton:Ge,onActionCallback:gt,fullScreen:$t,insertTemp:vn,hidetoolBar:ua,extraUse:br})=>{const Tn=[...pe,{title:`${Ce?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ce?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Fe.createElement("ul",{className:"markdown-toolbar-container"},!ua&&Tn.map((Fn,sr)=>Fe.createElement("li",{key:sr},Fn.actionName?Fe.createElement(Le,me(se({},Fn),{onActionCallback:gt})):Fe.createElement("span",{className:"v-line"}))),Be?Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ge?Fe.createElement(Fe.Fragment,null,Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,vn&&Fe.createElement("li",null,Fe.createElement(Le,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${vn}`,onActionCallback:gt},Fe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),br&&Fe.createElement("li",null,br),Fe.createElement("li",{className:"btn-full-screen"},Fe.createElement(Le,{icon:`${$t?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$t?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:gt})))},Ze=oe(57261),Xe=oe(78241),rt=oe(92832),Re=oe(3113),Qt=Object.defineProperty,ht=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,qt=(Ce,Be,Ge)=>Be in Ce?Qt(Ce,Be,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ce[Be]=Ge,Nt=(Ce,Be)=>{for(var Ge in Be||(Be={}))wt.call(Be,Ge)&&qt(Ce,Ge,Be[Ge]);if(ct)for(var Ge of ct(Be))Lt.call(Be,Ge)&&qt(Ce,Ge,Be[Ge]);return Ce},kt=(Ce,Be)=>ht(Ce,tn(Be));const Ct={labelCol:{span:4},wrapperCol:{span:20}};var zt=({callback:Ce,onCancel:Be})=>{function Ge(gt){Ce(gt)}return y.createElement(Xe.default,kt(Nt({},Ct),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ge,style:{width:500}}),y.createElement(Xe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},y.createElement(rt.default,null)),y.createElement(Xe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},y.createElement(rt.default,null)),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Re.ZP,{type:"ghost",onClick:Be},"\u53D6\u6D88")))},Wt=oe(85533),vt=oe(45053),Kt=oe(43418),En=oe(95237),Yn=oe(16750),yt=oe(59301),Rn=({callback:Ce,onCancel:Be})=>{const Ge=document.createElement("canvas"),gt=Ge.getContext("2d");Ge.width=1e3,Ge.height=800,gt.fillStyle="#ffffff",gt.fillRect(0,0,Ge.width,Ge.height);const $t=Ge.toDataURL("image/png");return yt.createElement(Kt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},yt.createElement(En.Z,{style:{height:"100vh"}},yt.createElement(Yn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$t,visible:!0,title:String(Date.now())},onOk:vn=>{Ce({src:vn.url})},onClose:Be})))},it=oe(12378);function bt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(bt,go.CommandHandler),bt.prototype.canAlignSelection=function(){var Ce=this.diagram;return!(Ce===null||Ce.isReadOnly||Ce.isModelReadOnly||Ce.selection.count<2)},bt.prototype.alignLeft=function(){var Ce=this.diagram;Ce.startTransaction("aligning left");var Be=1/0;Ce.selection.each(function(Ge){Ge instanceof go.Link||(Be=Math.min(Ge.position.x,Be))}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Be,Ge.position.y))}),Ce.commitTransaction("aligning left")},bt.prototype.alignRight=function(){var Ce=this.diagram;Ce.startTransaction("aligning right");var Be=-1/0;Ce.selection.each(function(Ge){if(!(Ge instanceof go.Link)){var gt=Ge.actualBounds.x+Ge.actualBounds.width;Be=Math.max(gt,Be)}}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Be-Ge.actualBounds.width,Ge.position.y))}),Ce.commitTransaction("aligning right")},bt.prototype.alignTop=function(){var Ce=this.diagram;Ce.startTransaction("alignTop");var Be=1/0;Ce.selection.each(function(Ge){Ge instanceof go.Link||(Be=Math.min(Ge.position.y,Be))}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Ge.position.x,Be))}),Ce.commitTransaction("alignTop")},bt.prototype.alignBottom=function(){var Ce=this.diagram;Ce.startTransaction("aligning bottom");var Be=-1/0;Ce.selection.each(function(Ge){if(!(Ge instanceof go.Link)){var gt=Ge.actualBounds.y+Ge.actualBounds.height;Be=Math.max(gt,Be)}}),Ce.selection.each(function(Ge){Ge instanceof go.Link||Ge.move(new go.Point(Ge.actualBounds.x,Be-Ge.actualBounds.height))}),Ce.commitTransaction("aligning bottom")},bt.prototype.alignCenterX=function(){var Ce=this.diagram,Be=Ce.selection.first();if(Be){Ce.startTransaction("aligning Center X");var Ge=Be.actualBounds.x+Be.actualBounds.width/2;Ce.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(Ge-gt.actualBounds.width/2,gt.actualBounds.y))}),Ce.commitTransaction("aligning Center X")}},bt.prototype.alignCenterY=function(){var Ce=this.diagram,Be=Ce.selection.first();if(Be){Ce.startTransaction("aligning Center Y");var Ge=Be.actualBounds.y+Be.actualBounds.height/2;Ce.selection.each(function(gt){gt instanceof go.Link||gt.move(new go.Point(gt.actualBounds.x,Ge-gt.actualBounds.height/2))}),Ce.commitTransaction("aligning Center Y")}},bt.prototype.alignColumn=function(Ce){var Be=this.diagram;Be.startTransaction("align Column"),Ce===void 0&&(Ce=0),Ce=parseFloat(Ce);var Ge=new Array;Be.selection.each(function(br){br instanceof go.Link||Ge.push(br)});for(var gt=0;gt0){for(var br=vn.elt(ua-1);br!==null&&br.isTreeExpanded&&!br.isTreeLeaf;){var Tn=this._sortTreeChildrenByY(br);br=Tn.last()}br!==null&&Ce.select(br)}else Ce.select($t)}}else if(Ge.key==="Down")if(Be.isTreeExpanded&&!Be.isTreeLeaf){var gt=this._sortTreeChildrenByY(Be).first();gt!==null&&Ce.select(gt)}else for(;Be!==null;){var $t=Be.findTreeParentNode();if($t===null)break;var vn=this._sortTreeChildrenByY($t),ua=vn.indexOf(Be);if(uavn.y?1:$t.xvn.x?1:0}),Be},bt.prototype.copyToClipboard=function(Ce){go.CommandHandler.prototype.copyToClipboard.call(this,Ce),this._lastPasteOffset.set(this.pasteOffset)},bt.prototype.pasteFromClipboard=function(){var Ce=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ce,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ce},Object.defineProperty(bt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ce){if(Ce!=="move"&&Ce!=="select"&&Ce!=="scroll"&&Ce!=="tree"&&Ce!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ce);this._arrowKeyBehavior=Ce}}),Object.defineProperty(bt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ce){if(!(Ce instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ce);this._pasteOffset.set(Ce)}});var an=bt,Cn=oe(25863),cn=oe(43604),Ut=oe(38147),Vt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Et=oe(59301),Ye=(Ce,Be,Ge)=>new Promise((gt,$t)=>{var vn=Tn=>{try{br(Ge.next(Tn))}catch(Fn){$t(Fn)}},ua=Tn=>{try{br(Ge.throw(Tn))}catch(Fn){$t(Fn)}},br=Tn=>Tn.done?gt(Tn.value):Promise.resolve(Tn.value).then(vn,ua);br((Ge=Ge.apply(Ce,Be)).next())});function jt({onCancel:Ce,callback:Be}){let Ge=(0,y.useRef)(),gt=(0,y.useRef)(),$t=(0,y.useRef)(),vn=(0,y.useRef)(!1);const ua=(0,y.useRef)(!1),[br,Tn]=(0,y.useState)(0);function Fn(){const Pn=it.bx.make,Tr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ge.current=new it.S0(gt.current,{padding:20,grid:Pn(it.s_,"Grid",Pn(it.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Pn(it.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Sa=>{var oo=Sa.diagram.commandHandler.addTopLevelParts(Sa.diagram.selection,!0);oo||Sa.diagram.currentTool.doCancel()},commandHandler:Pn(an),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Sa=>{var oo=Sa.subject;oo.location=oo.location.copy().snapToGridPoint(Sa.diagram.grid.gridOrigin,Sa.diagram.grid.gridCellSize),setTimeout(()=>{Sa.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Sa=>{var oo=Sa.subject;setTimeout(()=>{Sa.diagram.commandHandler.editTextBlock()})},LinkRelinked:Sa=>{var oo=Sa.parameter.part;oo.invalidateConnectedLinks();var Ea=Sa.subject;Sa.diagram.toolManager.linkingTool.isForwards?Ea.toNode.invalidateConnectedLinks():Ea.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ge.current.nodeTemplate=Pn(it.NB,"Auto",{locationSpot:it.z6.Center,locationObjectName:"SHAPE",desiredSize:new it.$u(120,60),minSize:new it.$u(40,40),resizable:!0,resizeCellSize:new it.$u(10,10),rotatable:!0},new it.KX("location","loc",it.E9.parse).makeTwoWay(it.E9.stringify),new it.KX("desiredSize","size",it.$u.parse).makeTwoWay(it.$u.stringify),Pn(it.bn,{name:"SHAPE",fill:Tr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:it.z6.AllSides,toSpot:it.z6.AllSides},new it.KX("figure"),new it.KX("fill"),new it.KX("stroke","borderColor"),new it.KX("strokeWidth","thickness"),new it.KX("strokeDashArray","dash")),Pn(it.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Pn(it.al,{margin:1,textAlign:"center",overflow:it.al.OverflowEllipsis,editable:!0},new it.KX("text").makeTwoWay(),new it.KX("stroke","color"))),Ge.current.nodeTemplate.toolTip=Pn("ToolTip",Pn(it.s_,"Vertical",{maxSize:new it.$u(200,NaN)},Pn(it.al,{font:"bold 10pt sans-serif",textAlign:"center"},new it.KX("text")),Pn(it.al,{font:"10pt sans-serif",textAlign:"center"},new it.KX("text","details"))));function Or(Sa,oo){var Ea=(ha,Go)=>{ha.handled=!0,ha.diagram.model.commit(si=>{var Ai=Go.part.adornedPart,qi=new it.E9().setRectSpot(Ai.actualBounds,Sa);qi.subtract(Ai.location),qi.scale(2,2),qi.x+=Math.sign(qi.x)*130,qi.y+=Math.sign(qi.y)*130,qi.add(Ai.location),qi.snapToGridPoint(ha.diagram.grid.gridOrigin,ha.diagram.grid.gridCellSize);var us=si.copyNodeData(Ai.data);si.setGroupKeyForNodeData(us,si.getGroupKeyForNodeData(Ai.data)),si.addNodeData(us);var fl={from:Ai.key,to:si.getKeyForNodeData(us)};si.addLinkData(fl);var el=ha.diagram.findNodeForData(us);el.location=qi,ha.diagram.select(el),setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()},20)})};return Pn(it.bn,{figure:oo,alignment:Sa,alignmentFocus:Sa.opposite(),width:Sa.equals(it.z6.Top)||Sa.equals(it.z6.Bottom)?25:18,height:Sa.equals(it.z6.Top)||Sa.equals(it.z6.Bottom)?18:25,fill:"orange",stroke:Tr.white,strokeWidth:4,mouseEnter:(ha,Go)=>Go.fill="dodgerblue",mouseLeave:(ha,Go)=>Go.fill="orange",isActionable:!0,click:Ea,contextClick:Ea})}function Qr(Sa){return Pn(it.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(oo,Ea)=>Ea.fill="dodgerblue",mouseLeave:(oo,Ea)=>Ea.fill="orange",click:(oo,Ea)=>{oo.diagram.commandHandler.showContextMenu(Ea.part.adornedPart)}},Sa||{})}Ge.current.nodeTemplate.selectionAdornmentTemplate=Pn(it.uz,"Spot",Pn(it.Vm,{padding:10}),Or(it.z6.Top,"TriangleUp"),Or(it.z6.Left,"TriangleLeft"),Or(it.z6.Right,"TriangleRight"),Or(it.z6.Bottom,"TriangleDown"),Qr({alignment:new it.z6(.75,0)}));function Er(Sa,oo){return(Ea,ha)=>{Ea.handled=!0,Ea.diagram.model.commit(Go=>{Go.set(ha.part.adornedPart.data,Sa,oo)})}}function Ot(Sa,oo){return oo||(oo="color"),Pn(it.bn,{width:16,height:16,stroke:"lightgray",fill:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.stroke="dodgerblue",mouseLeave:(Ea,ha)=>ha.stroke="lightgray",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}function On(){return[Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.white,"fill"),Ot(Tr.beige,"fill"),Ot(Tr.extralightblue,"fill"),Ot(Tr.extralightred,"fill"))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.lightgray,"fill"),Ot(Tr.lightgreen,"fill"),Ot(Tr.lightblue,"fill"),Ot(Tr.lightred,"fill")))]}function jn(){return[Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.black),Ot(Tr.green),Ot(Tr.blue),Ot(Tr.red))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Ot(Tr.white),Ot(Tr.magenta),Ot(Tr.purple),Ot(Tr.orange)))]}function dr(Sa,oo){return oo||(oo="thickness"),Pn(it.bn,"LineH",{width:16,height:16,strokeWidth:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}function Fr(Sa,oo){return oo||(oo="dash"),Pn(it.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}function rr(){return[Pn("ContextMenuButton",Pn(it.s_,"Horizontal",dr(1),dr(2),dr(3),dr(4))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Fr(null),Fr([2,4]),Fr([4,4])))]}function wr(Sa,oo){return oo||(oo="figure"),Pn(it.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Sa,margin:1,background:"transparent",mouseEnter:(Ea,ha)=>ha.fill="dodgerblue",mouseLeave:(Ea,ha)=>ha.fill="lightgray",click:Er(oo,Sa),contextClick:Er(oo,Sa)})}Ge.current.nodeTemplate.contextMenu=Pn("ContextMenu",Pn("ContextMenuButton",Pn(it.s_,"Horizontal",wr("Rectangle"),wr("RoundedRectangle"),wr("Ellipse"),wr("Diamond"))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",wr("Parallelogram2"),wr("ManualOperation"),wr("Procedure"),wr("Cylinder1"))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",wr("Terminator"),wr("CreateRequest"),wr("Document"),wr("TriangleDown"))),On(),jn(),rr()),Ge.current.groupTemplate=Pn(it.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:it.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Sa,oo)=>{var Ea=oo.addMembers(oo.diagram.selection,!0);Ea||oo.diagram.currentTool.doCancel()},avoidable:!1},new it.KX("location","loc",it.E9.parse).makeTwoWay(it.E9.stringify),Pn(it.s_,"Auto",{name:"BODY"},Pn(it.bn,{parameter1:10,fill:Tr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:it.z6.AllSides,toSpot:it.z6.AllSides},new it.KX("fill"),new it.KX("stroke","color"),new it.KX("strokeWidth","thickness"),new it.KX("strokeDashArray","dash")),Pn(it.Vm,{background:"transparent",margin:20})),Pn(it.al,{alignment:it.z6.Top,alignmentFocus:it.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new it.KX("text"),new it.KX("stroke","color"))),Ge.current.groupTemplate.selectionAdornmentTemplate=Pn(it.uz,"Spot",Pn(it.s_,"Auto",Pn(it.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Pn(it.Vm,{margin:1.5})),Qr({alignment:it.z6.TopRight,alignmentFocus:it.z6.BottomRight})),Ge.current.groupTemplate.contextMenu=Pn("ContextMenu",On(),jn(),rr()),Ge.current.linkTemplate=Pn(it.rU,{layerName:"Foreground",routing:it.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new it.KX("fromSpot","fromSpot",it.z6.parse),new it.KX("toSpot","toSpot",it.z6.parse),new it.KX("fromShortLength","dir",Sa=>Sa>=1?10:0),new it.KX("toShortLength","dir",Sa=>Sa>=1?10:0),new it.KX("points").makeTwoWay(),Pn(it.bn,{strokeWidth:2},new it.KX("stroke","color"),new it.KX("strokeWidth","thickness"),new it.KX("strokeDashArray","dash")),Pn(it.bn,{segmentIndex:0,segmentOffset:new it.E9(15,0),segmentOrientation:it.rU.OrientAlong,alignmentFocus:it.z6.Right,figure:"circle",width:10,strokeWidth:0},new it.KX("fill","color"),new it.KX("visible","dir",Sa=>Sa===1)),Pn(it.bn,{segmentIndex:-1,segmentOffset:new it.E9(-10,6),segmentOrientation:it.rU.OrientPlus90,alignmentFocus:it.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new it.KX("fill","color"),new it.KX("visible","dir",Sa=>Sa>=1),new it.KX("width","thickness",Sa=>7+3*Sa),new it.KX("height","thickness",Sa=>7+3*Sa),new it.KX("segmentOffset","thickness",Sa=>new it.E9(-15,4+1.5*Sa))),Pn(it.bn,{segmentIndex:0,segmentOffset:new it.E9(15,-6),segmentOrientation:it.rU.OrientMinus90,alignmentFocus:it.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new it.KX("fill","color"),new it.KX("visible","dir",Sa=>Sa===2),new it.KX("width","thickness",Sa=>7+3*Sa),new it.KX("height","thickness",Sa=>7+3*Sa),new it.KX("segmentOffset","thickness",Sa=>new it.E9(-15,4+1.5*Sa))),Pn(it.al,{alignmentFocus:new it.z6(0,1,-4,0),editable:!0},new it.KX("text").makeTwoWay(),new it.KX("stroke","color"))),Ge.current.linkTemplate.selectionAdornmentTemplate=Pn(it.uz,Pn(it.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Lr(2)},new it.KX("pathPattern","thickness",Lr)),Qr({alignmentFocus:new it.z6(0,0,-6,-4)}));function Lr(Sa){return Pn(it.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Sa+4).toString()+" H3"})}function Xa(Sa){var oo="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Sa===0?oo="M0 0 M16 16 M0 8 L16 8":Sa===2&&(oo="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Pn(it.bn,{geometryString:oo,margin:2,background:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:Er("dir",Sa),contextClick:Er("dir",Sa)})}function Na(Sa){var oo=(Ea,ha)=>{Ea.handled=!0,Ea.diagram.model.commit(Go=>{var si=ha.part.adornedPart;Go.set(si.data,Sa?"toSpot":"fromSpot",it.z6.stringify(it.z6.AllSides)),(Sa?si.toNode:si.fromNode).invalidateConnectedLinks()})};return Pn(it.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ea,ha)=>ha.background="dodgerblue",mouseLeave:(Ea,ha)=>ha.background="transparent",click:oo,contextClick:oo})}function Sr(Sa,oo){var Ea=0,ha=it.z6.RightSide;Sa.equals(it.z6.Top)?(Ea=270,ha=it.z6.TopSide):Sa.equals(it.z6.Left)?(Ea=180,ha=it.z6.LeftSide):Sa.equals(it.z6.Bottom)&&(Ea=90,ha=it.z6.BottomSide),oo||(Ea-=180);var Go=(si,Ai)=>{si.handled=!0,si.diagram.model.commit(qi=>{var us=Ai.part.adornedPart;qi.set(us.data,oo?"toSpot":"fromSpot",it.z6.stringify(ha)),(oo?us.toNode:us.fromNode).invalidateConnectedLinks()})};return Pn(it.bn,{alignment:Sa,alignmentFocus:Sa.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ea,background:"transparent",mouseEnter:(si,Ai)=>Ai.background="dodgerblue",mouseLeave:(si,Ai)=>Ai.background="transparent",click:Go,contextClick:Go})}Ge.current.linkTemplate.contextMenu=Pn("ContextMenu",jn(),rr(),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Xa(0),Xa(1),Xa(2))),Pn("ContextMenuButton",Pn(it.s_,"Horizontal",Pn(it.s_,"Spot",Na(!1),Sr(it.z6.Top,!1),Sr(it.z6.Left,!1),Sr(it.z6.Right,!1),Sr(it.z6.Bottom,!1)),Pn(it.s_,"Spot",{margin:new it.Zt(0,0,0,2)},Na(!0),Sr(it.z6.Top,!0),Sr(it.z6.Left,!0),Sr(it.z6.Right,!0),Sr(it.z6.Bottom,!0)))));const Jo=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, diff --git a/p__Question__OjProblem__index.e3b7b47b.async.js b/p__Question__OjProblem__index.7252f854.async.js similarity index 99% rename from p__Question__OjProblem__index.e3b7b47b.async.js rename to p__Question__OjProblem__index.7252f854.async.js index 98ea29f13b..733267a308 100644 --- a/p__Question__OjProblem__index.e3b7b47b.async.js +++ b/p__Question__OjProblem__index.7252f854.async.js @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:`$$${re.value}$$`}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},E.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},ce.name&&le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],z=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var se=re.innerText;return ae&&ae(se),se};return(0,ee.useImperativeHandle)(ne,()=>({getData:z})),le.createElement("div",{className:ie.Z.mathWrap},le.createElement(pe.default,{defaultActiveKey:"1",items:x}),le.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},oe||""),he&&le.createElement("div",{className:ie.Z.button},le.createElement(Se.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ke.Z=me},42678:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(65582),ge={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},be=te(59301),pe=({message:Se,className:fe,children:ie,style:de={}})=>be.createElement("div",{className:`custom-spinner ${ge.idsRingWrapper} ${fe}`},be.createElement("div",{className:ge.ldsRing},be.createElement("div",null),be.createElement("div",null),be.createElement("div",null),be.createElement("div",null)),Se?be.createElement("p",{style:de},Se):null,ie,be.createElement(ee.Outlet,null))},29584:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(77254),be=te(59301),pe=({defaultX:Se="40%",leftChild:fe,rightChild:ie,className:de,hideResize:le=!1})=>{const[me,ae]=(0,ee.useState)(Se),he=(0,ee.useRef)();function oe(){he.current=!0}(0,ee.useEffect)(()=>{function y(b){he.current&&(ge.Z.publish("resize-move-bar",b),ae(b.pageX))}function E(){he.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",E),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",E)}},[]);const ne=typeof me=="number"&&me!==.01?`${me}px`:Se,a=`calc(100% - ${le?"0px":"4px"} - ${ne})`;return be.createElement("div",{className:`split-panel-container ${de}`},be.createElement("section",{style:{width:ne,display:me===.01?"none":""}},fe),be.createElement("section",{className:"resize-x-bar",onMouseDown:oe},be.createElement("a",{className:"btn-resize"},be.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},be.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),be.createElement("section",{style:{width:a}},ie))}},51908:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return fe}});var ee=te(59301),ge={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},be=te(92310),pe=te.n(be),fe=({className:ie,style:de={},leftNode:le,leftTitle:me="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:he="\u8FD0\u884C\u7ED3\u679C"})=>ee.createElement("div",{className:pe()(ge.result,ie),style:de},ee.createElement("div",{className:ge.left},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ee.createElement("span",null,me)),ee.createElement("div",{className:ge.leftNode},le)),ee.createElement("div",{className:ge.right},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ee.createElement("span",null,he)),ee.createElement("div",{className:ge.rightNode},ae)))},22744:function(ht,Ke,te){"use strict";var ee=te(59301);const ge=pe=>String(pe).length===1?`0${pe}`:pe,be=({className:pe="",onChange:Se,defaultValue:fe=0})=>{const[ie,de]=(0,ee.useState)(fe);(0,ee.useEffect)(()=>{const he=setTimeout(()=>{de(ie+1e3)},1e3);return Se(ie+1e3),()=>{clearInterval(he)}},[ie]);const le=parseInt(ie/(60*6e4))||"00",me=parseInt(ie%(60*6e4)/6e4)||"00",ae=parseInt(ie%6e4/1e3)||"00";return ee.createElement("div",{className:pe},ge(le),":",ge(me),":",ge(ae))};Ke.Z=be},44080:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return a}});var ee=te(59301),ge=te(8591),be=te(38854),pe=te(73217),Se=te(17030),fe=te(41867),ie=te(56102),de=te(84056),le={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},me=(y,E,b)=>new Promise((x,z)=>{var re=_e=>{try{ce(b.next(_e))}catch(ye){z(ye)}},se=_e=>{try{ce(b.throw(_e))}catch(ye){z(ye)}},ce=_e=>_e.done?x(_e.value):Promise.resolve(_e.value).then(re,se);ce((b=b.apply(y,E)).next())});function ae(y){if(isNaN(y))return{minutes:"00",seconds:"00"};const E=new Date(y*1e3).toISOString().substr(11,8);return{hour:E.substr(0,2),minutes:E.substr(3,2),seconds:E.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function he(y,E){return y-E}function oe(y){y.sort(he);let E=0;for(let b=0;b{},handlePlay:_e=()=>{},handlePlayEnded:ye=()=>{},autoPlay:De=!1,onPlayEnded:Ee=()=>{},isShowWaterMark:je=!0},Le)=>{var mt;const vt=((mt=E==null?void 0:E.split("."))==null?void 0:mt.pop())==="flv",we=(0,ee.useRef)(),Fe=(0,ee.useRef)(),He=(0,ee.useRef)(),at=(0,ee.useRef)(),We=(0,ee.useRef)(),pt=(0,ee.useRef)(),Pt=(0,ee.useRef)(),At=(0,ee.useRef)(),Bt=(0,ee.useRef)(),rt=(0,ee.useRef)(),Xe=(0,ee.useRef)(),Ct=(0,ee.useRef)(),zt=(0,ee.useRef)(),Et=(0,ee.useRef)(),an=navigator.userAgent.toLowerCase().match(ne),$e=an?an[0]:"pc",yt=(0,ee.useRef)(!1),Lt=(0,fe.eY)();let on=0,$t=0,st=0,lt=null,Ge=!1,Ne=20,et=1,xt=!1,Ie=!1,Re=[];(0,ee.useImperativeHandle)(Le,()=>({getLastUpdatedTime:()=>we.current.currentTime,getDuration:()=>we.current.duration})),ge.ZP.config({maxCount:1,getContainer:()=>He.current});const Ze=(0,ee.useCallback)((Dt,Ht=!1)=>{let bt={point:we.current.currentTime};lt?(bt.log_id=lt,bt.watch_duration=oe(Re),bt.total_duration=$t):(re?(bt.video_id=parseInt(x,10),bt.course_id=re):bt.video_id=x,bt.duration=on,bt.device=$e),Ht&&(bt.ed="1");function fn(){return me(this,null,function*(){xt=!0,lt=yield z==null?void 0:z(bt),xt=!1,Dt&&Dt()})}fn()},[x,re]);(0,ee.useEffect)(()=>{we.current&&(at.current.style.display="none",We.current.style.display="block"),ge.ZP.destroy();let Dt=null;return pe.Z.isSupported&&vt&&E&&(E==null?void 0:E.indexOf(".m3u8"))<0?(Dt=pe.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:E,muted:!1}),we.current&&(Dt.attachMediaElement(we.current),Dt.load())):we.current.setAttribute("src",E),ze(),()=>{Dt&&(Dt.unload(),Dt.pause(),Dt.destroy(),Dt=null)}},[we,vt,E]);function Be(){we.current.paused?(at.current.style.display="none",We.current.style.display="block"):(at.current.style.display="block",We.current.style.display="none")}function ze(){Xe.current.style.display="none",zt.current.style.display="none",Ct.current.style.display="none",we.current.muted||we.current.volume===0?Xe.current.style.display="block":we.current.volume>0&&we.current.volume<=.5?zt.current.style.display="block":Ct.current.style.display="block"}(0,ee.useEffect)(()=>{const Dt=document.getElementById("play"),Ht=document.querySelectorAll(".playback-icons use");function bt(){_e(),se&&!yt.current&&(we.current.currentTime=se),yt.current=!0,Re.push(we.current.currentTime),Ge||(Ge=!0,b&&Ze())}function fn(){return me(this,null,function*(){Be(),Re.push(we.current.currentTime),b&&Ze(()=>{lt=null,st=0,Ge=!1,xt=!1,Ie=!1,Re=[],$t=0,et=1},!0),Ee()})}function cn(){pt.current.value=Math.round(we.current.currentTime),Pt.current.value=Math.round(we.current.currentTime)}function wt(){const sn=ae(Math.round(we.current.currentTime));Bt.current.innerText=`${sn.hour>0?sn.hour+":":""}${sn.minutes}:${sn.seconds}`,Bt.current.setAttribute("datetime",`${sn.hour>0?" "+sn.hour+" ":""}${sn.minutes}m ${sn.seconds}s`)}function yn(){var sn,Yn,ir,Zn,ar,Dr,Mr;const Er=Math.round((sn=we.current)==null?void 0:sn.duration);(ir=(Yn=pt.current)==null?void 0:Yn.setAttribute)==null||ir.call(Yn,"max",Er),(ar=(Zn=Pt.current)==null?void 0:Zn.setAttribute)==null||ar.call(Zn,"max",Er);const Br=ae(Er);At.current&&(At.current.innerText=`${Br.hour>0?Br.hour+":":""}${Br.minutes}:${Br.seconds}`,(Mr=(Dr=At.current).setAttribute)==null||Mr.call(Dr,"datetime",`${Br.hour>0?" "+Br.hour+" ":""}${Br.minutes}m ${Br.seconds}s`))}function vn(){try{const sn=Math.round(we.current.duration);pt.current.setAttribute("max",sn),Pt.current.setAttribute("max",sn);const Yn=ae(sn);At.current.innerText=`${Yn.hour>0?Yn.hour+":":""}${Yn.minutes}:${Yn.seconds}`,At.current.setAttribute("datetime",`${Yn.hour>0?" "+Yn.hour+" ":""}${Yn.minutes}m ${Yn.seconds}s`),cn(),wt();const{width:ir,height:Zn,x:ar,y:Dr}=Fe.current.getBoundingClientRect();if(ar<0||Dr<0||!ir)return;if(!Ie){let Mr=we.current.currentTime,Er=Mr-st;Math.abs(Er)<10?($t+=Math.abs(Er),st=Mr,xt||$t-et*Ne>=0&&(et++,Re.push(st),b&&Ze())):(st=Mr,b&&Ze())}}catch(sn){console.log(sn)}}function zn(){Ie=!0}function wn(){we.current.playing&&Re.push(we.current.currentTime,st),st=we.current.currentTime,Ie=!1}function Wn(){on=we.current.duration,on<=20&&(Ne=on/3),we.current.addEventListener("play",bt)}function qn(sn){sn.preventDefault(),(0,de.vp)()?(we.current.style.width="100%",we.current.style.height="100%"):we.current.style.cssText=""}function Kn(){ce()}function Vn(sn){if(!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Yn=sn.target.dataset.seek?sn.target.dataset.seek:sn.target.value;we.current.currentTime=Yn,Pt.current.value=Yn,pt.current.value=Yn}function vr(sn){const Yn=Math.round(sn.offsetX/sn.target.clientWidth*parseInt(sn.target.getAttribute("max"),10));pt.current.setAttribute("data-seek",Yn);const ir=ae(Yn);rt.current.textContent=`${ir.hour>0?ir.hour+":":""}${ir.minutes}:${ir.seconds}`;const Zn=we.current.getBoundingClientRect();rt.current.style.left=`${sn.pageX-Zn.left}px`}function lr(sn){switch(sn.code){case"Space":sn.preventDefault(),Mt();break;case"ArrowRight":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime>=we.current.duration)break;we.current.currentTime=parseInt(we.current.currentTime)+5,cn();break;case"ArrowLeft":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime===0)break;we.current.currentTime=parseInt(we.current.currentTime)-5,cn();break;case"ArrowUp":sn.preventDefault(),we.current.volume<1&&(we.current.volume=(parseInt(we.current.volume*10)+1)/10);break;case"ArrowDown":sn.preventDefault(),we.current.volume>0&&(we.current.volume=(parseInt(we.current.volume*10)-1)/10);break}}return He.current.addEventListener((0,de.gH)(),qn),we.current.addEventListener("canplay",Wn),we.current.addEventListener("ended",fn),we.current.addEventListener("seeking",zn),we.current.addEventListener("seeked",wn),we.current.addEventListener("loadedmetadata",yn),pt.current.addEventListener("mousemove",vr),pt.current.addEventListener("input",Vn),we.current.addEventListener("timeupdate",vn),we.current.addEventListener("pause",Kn),we.current.addEventListener("volumechange",ze),document.addEventListener("keydown",lr),()=>{var sn,Yn,ir,Zn,ar,Dr,Mr,Er,Br,sr,Kr,Ut;(sn=we.current)==null||sn.removeEventListener("canplay",Wn),(Yn=we.current)==null||Yn.removeEventListener("play",bt),(ir=we.current)==null||ir.removeEventListener("ended",fn),(Zn=we.current)==null||Zn.removeEventListener("seeking",zn),(ar=we.current)==null||ar.removeEventListener("seeked",wn),(Dr=pt.current)==null||Dr.removeEventListener("mousemove",vr),(Mr=pt.current)==null||Mr.removeEventListener("input",Vn),(Er=we.current)==null||Er.removeEventListener("timeupdate",vn),(Br=we.current)==null||Br.removeEventListener("pause",Kn),(sr=we.current)==null||sr.removeEventListener("loadedmetadata",yn),(Kr=we.current)==null||Kr.removeEventListener("volumechange",ze),document.removeEventListener("keydown",lr),(Ut=we.current)!=null&&Ut.playing&&(Re.push(st,we.current.currentTime),b&&Ze())}},[we,E]),(0,ee.useEffect)(()=>{if(we.current.onended=()=>{ye(we)},we.current.oncontextmenu=()=>!1,(E==null?void 0:E.indexOf(".m3u8"))>-1){if(we.current.canPlayType("application/vnd.apple.mpegurl"))we.current.src=E;else if(Se.ZP.isSupported()){var Dt=new Se.ZP;Dt.loadSource(E),Dt.attachMedia(we.current)}}},[E]);const[ot,It]=(0,ee.useState)(1),Mt=()=>{we.current.paused||we.current.ended?we.current.play():we.current.pause(),Be()};function jt(){we.current.muted=!we.current.muted,we.current.muted?(Et.current.setAttribute("data-volume",volume.value),Et.current.value=0):Et.current.value=Et.current.dataset.volume}return ee.createElement("div",{style:{position:"relative"},ref:He},ee.createElement("div",{ref:Fe,className:`${le.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${le.animate__loop}`},je&&Lt?Lt.login:" "),ee.createElement("div",{className:le.container},ee.createElement("div",{className:le["video-container"],id:"video-container"},ee.createElement("div",{className:le["playback-animation"],id:"playback-animation"},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{className:"hidden",href:"#play-icon"}),ee.createElement("use",{href:"#pause"}))),ee.createElement("video",{className:le.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:we,autoPlay:De}),ee.createElement("div",{className:`${le["video-controls"]} `,id:"video-controls"},ee.createElement("div",{className:le["bottom-controls"]},ee.createElement("div",{className:le["left-controls"]},ee.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Mt},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{ref:We,href:"#play-icon"}),ee.createElement("use",{ref:at,style:{display:"none"},href:"#pause"}))),ee.createElement("div",{className:le.time},ee.createElement("time",{id:"time-elapsed",ref:Bt},"00:00"),ee.createElement("span",null," / "),ee.createElement("time",{id:"duration",ref:At},"00:00"))),ee.createElement("div",{className:le["right-controls"]},y&&ee.createElement(be.Z,{placement:"top",overlayClassName:le.rateOverlay,getPopupContainer:Dt=>Dt.parentNode,menu:{items:[{key:"1",label:ee.createElement("span",{onClick:()=>{It(1),we.current.playbackRate=1}},"1.0x")},{key:"2",label:ee.createElement("span",{onClick:()=>{It(1.5),we.current.playbackRate=1.5}},"1.5x")},{key:"3",label:ee.createElement("span",{onClick:()=>{It(2),we.current.playbackRate=2}},"2.0x")}]}},ee.createElement("div",{className:`${le.controlText} mr5`},"\u500D\u901F")),ee.createElement(ie.CopyToClipboard,{text:E,onCopy:()=>ge.ZP.success("\u590D\u5236\u6210\u529F")},ee.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},ee.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),ee.createElement("div",{className:le["volume-controls"]},ee.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:le["volume-button"],id:"volume-button",onClick:jt},ee.createElement("i",{ref:Xe,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:zt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:Ct,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),ee.createElement("input",{className:le.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Et,style:{display:"none"},onClick:ze})),ee.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:le["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(He.current)}},ee.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),ee.createElement("div",{className:le["video-progress"]},ee.createElement("progress",{ref:Pt,value:"0",min:"0"}),ee.createElement("input",{className:le.seek,ref:pt,value:"0",min:"0",type:"range",step:"1"}),ee.createElement("div",{className:le["seek-tooltip"],ref:rt,id:"seek-tooltip"},"00:00"))))),ee.createElement("svg",{style:{display:"none"}},ee.createElement("defs",null,ee.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),ee.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),ee.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),ee.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),ee.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),ee.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),ee.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),ee.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},30214:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(77254),be=te(11611),pe=()=>{const[Se,fe]=(0,ee.useState)(""),[ie,de]=(0,ee.useState)(0);let[le,me]=(0,ee.useState)(),[ae,he]=(0,ee.useState)();const[oe,ne]=(0,ee.useState)(!1),a=(0,ee.useRef)("");(0,ee.useEffect)(()=>ge.Z.subscribe("preview-image",De=>{fe(De),console.log(ce.current),document.body.style.overflow="hidden"}),[]),(0,ee.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,ee.useEffect)(()=>{a.current=Se},[Se]);function y(ye){ye.keyCode==27&&a.current&&E()}function E(){document.body.style.overflow="auto",me(void 0),he(void 0),de(0),fe("")}function b(){de(ie+90)}function x(){le=ce.current.width*1.1,ae=ce.current.height*1.1,he(ae),me(le)}function z(){le=ce.current.width/1.1,ae=ce.current.height/1.1,he(ae),me(le)}const re=(0,ee.useRef)(),se=(0,ee.useRef)(),ce=(0,ee.useRef)(),_e=ye=>{(ye.nativeEvent.target===re.current||ye.nativeEvent.target===se.current)&&E()};return ee.createElement(ee.Fragment,null,Se?ee.createElement("div",null,ee.createElement("div",{className:"preview-wrp-group",ref:se},ee.createElement(be.Z,{className:"image-preview",src:Se,style:{display:"none"},preview:{visible:!0,src:Se,movable:!1,onVisibleChange:ye=>{fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(ht,Ke,te){"use strict";te.d(Ke,{h:function(){return re}});var ee=te(59301),ge=te(57809),be=te(78241),pe=te(3113),Se=te(89780),fe=te.n(Se),ie=te(45559),de=te(42313),le=Object.defineProperty,me=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(se,ce,_e)=>ce in se?le(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):se[ce]=_e,y=(se,ce)=>{for(var _e in ce||(ce={}))oe.call(ce,_e)&&a(se,_e,ce[_e]);if(he)for(var _e of he(ce))ne.call(ce,_e)&&a(se,_e,ce[_e]);return se},E=(se,ce)=>me(se,ae(ce));const b=ge.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ke.Z=({callback:se,onCancel:ce})=>{const[_e,ye]=(0,ee.useState)("python");function De(je){ye(z[je][1])}function Ee(je){se(je)}return ee.createElement(be.default,E(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ee,style:{width:500}}),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(ge.default,{getPopupContainer:je=>je.parentNode,onChange:De},Object.keys(z).map(je=>ee.createElement(b,{key:je,value:je},z[je][0])))),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(re,{mode:_e})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(pe.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function re({value:se,onChange:ce,mode:_e,options:ye={}}){const De=(0,ee.useRef)(),[Ee,je]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(Ee){let Le=function(mt){const Ye=mt.getValue();ce&&ce(Ye)};return Ee.on("change",Le),()=>{Ee.off("change",Le)}}},[Ee,ce]),(0,ee.useEffect)(()=>{Ee&&Ee.setOption("mode",_e)},[Ee,_e]),(0,ee.useEffect)(()=>{Ee&&(se!==Ee.getValue()||se==="")&&setTimeout(()=>{Ee.setValue(se||"")},300)},[Ee,se]),(0,ee.useEffect)(()=>{if(De.current&&!Ee){const Le=fe().fromTextArea(De.current,y({mode:_e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));je(Le)}},[De.current,Ee]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:De}))}},96565:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return ue}});var ee=te(59301),ge=te(89780),be=te.n(ge),pe=te(76374),Se=te(45559),fe=te(6313),ie=te(25717),de=te(99498),le=te(25419),me=te(67549),ae=te(6339),he=({value:ve="",className:Pe,showTextOnly:xe,showLines:ke,style:tt={}})=>{const dt=(0,ee.useMemo)(()=>"",[ve]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:dt}}))},oe=te(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(ve,Pe,xe)=>Pe in ve?ne(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,re=(ve,Pe)=>{for(var xe in Pe||(Pe={}))b.call(Pe,xe)&&z(ve,xe,Pe[xe]);if(E)for(var xe of E(Pe))x.call(Pe,xe)&&z(ve,xe,Pe[xe]);return ve},se=(ve,Pe)=>a(ve,y(Pe));let ce=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function _e({onActionCallback:ve,title:Pe,icon:xe,actionName:ke,className:tt="",children:dt}){function tn(){ve(ke)}return oe.createElement("a",{title:Pe,className:tt,onClick:tn},oe.createElement("i",{className:`${xe}`}),dt)}var ye=({watch:ve,showNullButton:Pe,showNullProgramButton:xe,onActionCallback:ke,fullScreen:tt,insertTemp:dt,hidetoolBar:tn,extraUse:Kt})=>{const _t=[...ce,{title:`${ve?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ve?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return oe.createElement("ul",{className:"markdown-toolbar-container"},!tn&&_t.map((ft,Ft)=>oe.createElement("li",{key:Ft},ft.actionName?oe.createElement(_e,se(re({},ft),{onActionCallback:ke})):oe.createElement("span",{className:"v-line"}))),Pe?oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xe?oe.createElement(oe.Fragment,null,oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,dt&&oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${dt}`,onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Kt&&oe.createElement("li",null,Kt),oe.createElement("li",{className:"btn-full-screen"},oe.createElement(_e,{icon:`${tt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:tt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ke})))},De=te(57261),Ee=te(78241),je=te(92832),Le=te(3113),mt=Object.defineProperty,Ye=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,at=(ve,Pe,xe)=>Pe in ve?mt(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,We=(ve,Pe)=>{for(var xe in Pe||(Pe={}))Fe.call(Pe,xe)&&at(ve,xe,Pe[xe]);if(we)for(var xe of we(Pe))He.call(Pe,xe)&&at(ve,xe,Pe[xe]);return ve},pt=(ve,Pe)=>Ye(ve,vt(Pe));const Pt={labelCol:{span:4},wrapperCol:{span:20}};var At=({callback:ve,onCancel:Pe})=>{function xe(ke){ve(ke)}return ee.createElement(Ee.default,pt(We({},Pt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xe,style:{width:500}}),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(je.default,null)),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(je.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},Bt=te(85533),rt=te(45053),Xe=te(43418),Ct=te(95237),zt=te(16750),Et=te(59301),an=({callback:ve,onCancel:Pe})=>{const xe=document.createElement("canvas"),ke=xe.getContext("2d");xe.width=1e3,xe.height=800,ke.fillStyle="#ffffff",ke.fillRect(0,0,xe.width,xe.height);const tt=xe.toDataURL("image/png");return Et.createElement(Xe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Et.createElement(Ct.Z,{style:{height:"100vh"}},Et.createElement(zt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:tt,visible:!0,title:String(Date.now())},onOk:dt=>{ve({src:dt.url})},onClose:Pe})))},$e=te(12378);function yt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(yt,go.CommandHandler),yt.prototype.canAlignSelection=function(){var ve=this.diagram;return!(ve===null||ve.isReadOnly||ve.isModelReadOnly||ve.selection.count<2)},yt.prototype.alignLeft=function(){var ve=this.diagram;ve.startTransaction("aligning left");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.x,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe,xe.position.y))}),ve.commitTransaction("aligning left")},yt.prototype.alignRight=function(){var ve=this.diagram;ve.startTransaction("aligning right");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.x+xe.actualBounds.width;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe-xe.actualBounds.width,xe.position.y))}),ve.commitTransaction("aligning right")},yt.prototype.alignTop=function(){var ve=this.diagram;ve.startTransaction("alignTop");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.y,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.position.x,Pe))}),ve.commitTransaction("alignTop")},yt.prototype.alignBottom=function(){var ve=this.diagram;ve.startTransaction("aligning bottom");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.y+xe.actualBounds.height;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.actualBounds.x,Pe-xe.actualBounds.height))}),ve.commitTransaction("aligning bottom")},yt.prototype.alignCenterX=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center X");var xe=Pe.actualBounds.x+Pe.actualBounds.width/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(xe-ke.actualBounds.width/2,ke.actualBounds.y))}),ve.commitTransaction("aligning Center X")}},yt.prototype.alignCenterY=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center Y");var xe=Pe.actualBounds.y+Pe.actualBounds.height/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(ke.actualBounds.x,xe-ke.actualBounds.height/2))}),ve.commitTransaction("aligning Center Y")}},yt.prototype.alignColumn=function(ve){var Pe=this.diagram;Pe.startTransaction("align Column"),ve===void 0&&(ve=0),ve=parseFloat(ve);var xe=new Array;Pe.selection.each(function(Kt){Kt instanceof go.Link||xe.push(Kt)});for(var ke=0;ke0){for(var Kt=dt.elt(tn-1);Kt!==null&&Kt.isTreeExpanded&&!Kt.isTreeLeaf;){var _t=this._sortTreeChildrenByY(Kt);Kt=_t.last()}Kt!==null&&ve.select(Kt)}else ve.select(tt)}}else if(xe.key==="Down")if(Pe.isTreeExpanded&&!Pe.isTreeLeaf){var ke=this._sortTreeChildrenByY(Pe).first();ke!==null&&ve.select(ke)}else for(;Pe!==null;){var tt=Pe.findTreeParentNode();if(tt===null)break;var dt=this._sortTreeChildrenByY(tt),tn=dt.indexOf(Pe);if(tndt.y?1:tt.xdt.x?1:0}),Pe},yt.prototype.copyToClipboard=function(ve){go.CommandHandler.prototype.copyToClipboard.call(this,ve),this._lastPasteOffset.set(this.pasteOffset)},yt.prototype.pasteFromClipboard=function(){var ve=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ve,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ve},Object.defineProperty(yt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ve){if(ve!=="move"&&ve!=="select"&&ve!=="scroll"&&ve!=="tree"&&ve!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ve);this._arrowKeyBehavior=ve}}),Object.defineProperty(yt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ve){if(!(ve instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ve);this._pasteOffset.set(ve)}});var Lt=yt,on=te(25863),$t=te(43604),st=te(38147),lt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ge=te(59301),Ne=(ve,Pe,xe)=>new Promise((ke,tt)=>{var dt=_t=>{try{Kt(xe.next(_t))}catch(ft){tt(ft)}},tn=_t=>{try{Kt(xe.throw(_t))}catch(ft){tt(ft)}},Kt=_t=>_t.done?ke(_t.value):Promise.resolve(_t.value).then(dt,tn);Kt((xe=xe.apply(ve,Pe)).next())});function et({onCancel:ve,callback:Pe}){let xe=(0,ee.useRef)(),ke=(0,ee.useRef)(),tt=(0,ee.useRef)(),dt=(0,ee.useRef)(!1);const tn=(0,ee.useRef)(!1),[Kt,_t]=(0,ee.useState)(0);function ft(){const gt=$e.bx.make,Gt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};xe.current=new $e.S0(ke.current,{padding:20,grid:gt($e.s_,"Grid",gt($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gt($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:un=>{var Sn=un.diagram.commandHandler.addTopLevelParts(un.diagram.selection,!0);Sn||un.diagram.currentTool.doCancel()},commandHandler:gt(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:un=>{var Sn=un.subject;Sn.location=Sn.location.copy().snapToGridPoint(un.diagram.grid.gridOrigin,un.diagram.grid.gridCellSize),setTimeout(()=>{un.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:un=>{var Sn=un.subject;setTimeout(()=>{un.diagram.commandHandler.editTextBlock()})},LinkRelinked:un=>{var Sn=un.parameter.part;Sn.invalidateConnectedLinks();var Nn=un.subject;un.diagram.toolManager.linkingTool.isForwards?Nn.toNode.invalidateConnectedLinks():Nn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xe.current.nodeTemplate=gt($e.NB,"Auto",{locationSpot:$e.z6.Center,locationObjectName:"SHAPE",desiredSize:new $e.$u(120,60),minSize:new $e.$u(40,40),resizable:!0,resizeCellSize:new $e.$u(10,10),rotatable:!0},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),new $e.KX("desiredSize","size",$e.$u.parse).makeTwoWay($e.$u.stringify),gt($e.bn,{name:"SHAPE",fill:Gt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("figure"),new $e.KX("fill"),new $e.KX("stroke","borderColor"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gt($e.al,{margin:1,textAlign:"center",overflow:$e.al.OverflowEllipsis,editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.nodeTemplate.toolTip=gt("ToolTip",gt($e.s_,"Vertical",{maxSize:new $e.$u(200,NaN)},gt($e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new $e.KX("text")),gt($e.al,{font:"10pt sans-serif",textAlign:"center"},new $e.KX("text","details"))));function Zt(un,Sn){var Nn=(pn,cr)=>{pn.handled=!0,pn.diagram.model.commit(fr=>{var Ar=cr.part.adornedPart,Ur=new $e.E9().setRectSpot(Ar.actualBounds,un);Ur.subtract(Ar.location),Ur.scale(2,2),Ur.x+=Math.sign(Ur.x)*130,Ur.y+=Math.sign(Ur.y)*130,Ur.add(Ar.location),Ur.snapToGridPoint(pn.diagram.grid.gridOrigin,pn.diagram.grid.gridCellSize);var to=fr.copyNodeData(Ar.data);fr.setGroupKeyForNodeData(to,fr.getGroupKeyForNodeData(Ar.data)),fr.addNodeData(to);var _o={from:Ar.key,to:fr.getKeyForNodeData(to)};fr.addLinkData(_o);var ho=pn.diagram.findNodeForData(to);ho.location=Ur,pn.diagram.select(ho),setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()},20)})};return gt($e.bn,{figure:Sn,alignment:un,alignmentFocus:un.opposite(),width:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?25:18,height:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?18:25,fill:"orange",stroke:Gt.white,strokeWidth:4,mouseEnter:(pn,cr)=>cr.fill="dodgerblue",mouseLeave:(pn,cr)=>cr.fill="orange",isActionable:!0,click:Nn,contextClick:Nn})}function Tt(un){return gt($e.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Sn,Nn)=>Nn.fill="dodgerblue",mouseLeave:(Sn,Nn)=>Nn.fill="orange",click:(Sn,Nn)=>{Sn.diagram.commandHandler.showContextMenu(Nn.part.adornedPart)}},un||{})}xe.current.nodeTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.Vm,{padding:10}),Zt($e.z6.Top,"TriangleUp"),Zt($e.z6.Left,"TriangleLeft"),Zt($e.z6.Right,"TriangleRight"),Zt($e.z6.Bottom,"TriangleDown"),Tt({alignment:new $e.z6(.75,0)}));function kt(un,Sn){return(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{cr.set(pn.part.adornedPart.data,un,Sn)})}}function Xt(un,Sn){return Sn||(Sn="color"),gt($e.bn,{width:16,height:16,stroke:"lightgray",fill:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.stroke="dodgerblue",mouseLeave:(Nn,pn)=>pn.stroke="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}function dn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white,"fill"),Xt(Gt.beige,"fill"),Xt(Gt.extralightblue,"fill"),Xt(Gt.extralightred,"fill"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.lightgray,"fill"),Xt(Gt.lightgreen,"fill"),Xt(Gt.lightblue,"fill"),Xt(Gt.lightred,"fill")))]}function xn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.black),Xt(Gt.green),Xt(Gt.blue),Xt(Gt.red))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white),Xt(Gt.magenta),Xt(Gt.purple),Xt(Gt.orange)))]}function Fn(un,Sn){return Sn||(Sn="thickness"),gt($e.bn,"LineH",{width:16,height:16,strokeWidth:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function Qn(un,Sn){return Sn||(Sn="dash"),gt($e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function mn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Fn(1),Fn(2),Fn(3),Fn(4))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Qn(null),Qn([2,4]),Qn([4,4])))]}function An(un,Sn){return Sn||(Sn="figure"),gt($e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.fill="dodgerblue",mouseLeave:(Nn,pn)=>pn.fill="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}xe.current.nodeTemplate.contextMenu=gt("ContextMenu",gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),dn(),xn(),mn()),xe.current.groupTemplate=gt($e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:$e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(un,Sn)=>{var Nn=Sn.addMembers(Sn.diagram.selection,!0);Nn||Sn.diagram.currentTool.doCancel()},avoidable:!1},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),gt($e.s_,"Auto",{name:"BODY"},gt($e.bn,{parameter1:10,fill:Gt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("fill"),new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.Vm,{background:"transparent",margin:20})),gt($e.al,{alignment:$e.z6.Top,alignmentFocus:$e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new $e.KX("text"),new $e.KX("stroke","color"))),xe.current.groupTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.s_,"Auto",gt($e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gt($e.Vm,{margin:1.5})),Tt({alignment:$e.z6.TopRight,alignmentFocus:$e.z6.BottomRight})),xe.current.groupTemplate.contextMenu=gt("ContextMenu",dn(),xn(),mn()),xe.current.linkTemplate=gt($e.rU,{layerName:"Foreground",routing:$e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new $e.KX("fromSpot","fromSpot",$e.z6.parse),new $e.KX("toSpot","toSpot",$e.z6.parse),new $e.KX("fromShortLength","dir",un=>un>=1?10:0),new $e.KX("toShortLength","dir",un=>un>=1?10:0),new $e.KX("points").makeTwoWay(),gt($e.bn,{strokeWidth:2},new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,0),segmentOrientation:$e.rU.OrientAlong,alignmentFocus:$e.z6.Right,figure:"circle",width:10,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===1)),gt($e.bn,{segmentIndex:-1,segmentOffset:new $e.E9(-10,6),segmentOrientation:$e.rU.OrientPlus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un>=1),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,-6),segmentOrientation:$e.rU.OrientMinus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===2),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.al,{alignmentFocus:new $e.z6(0,1,-4,0),editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.linkTemplate.selectionAdornmentTemplate=gt($e.uz,gt($e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ur(2)},new $e.KX("pathPattern","thickness",ur)),Tt({alignmentFocus:new $e.z6(0,0,-6,-4)}));function ur(un){return gt($e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(un+4).toString()+" H3"})}function rr(un){var Sn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return un===0?Sn="M0 0 M16 16 M0 8 L16 8":un===2&&(Sn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gt($e.bn,{geometryString:Sn,margin:2,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt("dir",un),contextClick:kt("dir",un)})}function or(un){var Sn=(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{var fr=pn.part.adornedPart;cr.set(fr.data,un?"toSpot":"fromSpot",$e.z6.stringify($e.z6.AllSides)),(un?fr.toNode:fr.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:Sn,contextClick:Sn})}function Wt(un,Sn){var Nn=0,pn=$e.z6.RightSide;un.equals($e.z6.Top)?(Nn=270,pn=$e.z6.TopSide):un.equals($e.z6.Left)?(Nn=180,pn=$e.z6.LeftSide):un.equals($e.z6.Bottom)&&(Nn=90,pn=$e.z6.BottomSide),Sn||(Nn-=180);var cr=(fr,Ar)=>{fr.handled=!0,fr.diagram.model.commit(Ur=>{var to=Ar.part.adornedPart;Ur.set(to.data,Sn?"toSpot":"fromSpot",$e.z6.stringify(pn)),(Sn?to.toNode:to.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{alignment:un,alignmentFocus:un.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Nn,background:"transparent",mouseEnter:(fr,Ar)=>Ar.background="dodgerblue",mouseLeave:(fr,Ar)=>Ar.background="transparent",click:cr,contextClick:cr})}xe.current.linkTemplate.contextMenu=gt("ContextMenu",xn(),mn(),gt("ContextMenuButton",gt($e.s_,"Horizontal",rr(0),rr(1),rr(2))),gt("ContextMenuButton",gt($e.s_,"Horizontal",gt($e.s_,"Spot",or(!1),Wt($e.z6.Top,!1),Wt($e.z6.Left,!1),Wt($e.z6.Right,!1),Wt($e.z6.Bottom,!1)),gt($e.s_,"Spot",{margin:new $e.Zt(0,0,0,2)},or(!0),Wt($e.z6.Top,!0),Wt($e.z6.Left,!0),Wt($e.z6.Right,!0),Wt($e.z6.Bottom,!0)))));const io=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:`$$${re.value}$$`}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},E.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},ce.name&&le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],z=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var se=re.innerText;return ae&&ae(se),se};return(0,ee.useImperativeHandle)(ne,()=>({getData:z})),le.createElement("div",{className:ie.Z.mathWrap},le.createElement(pe.default,{defaultActiveKey:"1",items:x}),le.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},oe||""),he&&le.createElement("div",{className:ie.Z.button},le.createElement(Se.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ke.Z=me},42678:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(65582),ge={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},be=te(59301),pe=({message:Se,className:fe,children:ie,style:de={}})=>be.createElement("div",{className:`custom-spinner ${ge.idsRingWrapper} ${fe}`},be.createElement("div",{className:ge.ldsRing},be.createElement("div",null),be.createElement("div",null),be.createElement("div",null),be.createElement("div",null)),Se?be.createElement("p",{style:de},Se):null,ie,be.createElement(ee.Outlet,null))},29584:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(77254),be=te(59301),pe=({defaultX:Se="40%",leftChild:fe,rightChild:ie,className:de,hideResize:le=!1})=>{const[me,ae]=(0,ee.useState)(Se),he=(0,ee.useRef)();function oe(){he.current=!0}(0,ee.useEffect)(()=>{function y(b){he.current&&(ge.Z.publish("resize-move-bar",b),ae(b.pageX))}function E(){he.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",E),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",E)}},[]);const ne=typeof me=="number"&&me!==.01?`${me}px`:Se,a=`calc(100% - ${le?"0px":"4px"} - ${ne})`;return be.createElement("div",{className:`split-panel-container ${de}`},be.createElement("section",{style:{width:ne,display:me===.01?"none":""}},fe),be.createElement("section",{className:"resize-x-bar",onMouseDown:oe},be.createElement("a",{className:"btn-resize"},be.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},be.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),be.createElement("section",{style:{width:a}},ie))}},51908:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return fe}});var ee=te(59301),ge={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},be=te(92310),pe=te.n(be),fe=({className:ie,style:de={},leftNode:le,leftTitle:me="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:he="\u8FD0\u884C\u7ED3\u679C"})=>ee.createElement("div",{className:pe()(ge.result,ie),style:de},ee.createElement("div",{className:ge.left},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ee.createElement("span",null,me)),ee.createElement("div",{className:ge.leftNode},le)),ee.createElement("div",{className:ge.right},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ee.createElement("span",null,he)),ee.createElement("div",{className:ge.rightNode},ae)))},22744:function(ht,Ke,te){"use strict";var ee=te(59301);const ge=pe=>String(pe).length===1?`0${pe}`:pe,be=({className:pe="",onChange:Se,defaultValue:fe=0})=>{const[ie,de]=(0,ee.useState)(fe);(0,ee.useEffect)(()=>{const he=setTimeout(()=>{de(ie+1e3)},1e3);return Se(ie+1e3),()=>{clearInterval(he)}},[ie]);const le=parseInt(ie/(60*6e4))||"00",me=parseInt(ie%(60*6e4)/6e4)||"00",ae=parseInt(ie%6e4/1e3)||"00";return ee.createElement("div",{className:pe},ge(le),":",ge(me),":",ge(ae))};Ke.Z=be},44080:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return a}});var ee=te(59301),ge=te(8591),be=te(38854),pe=te(73217),Se=te(16471),fe=te(41867),ie=te(56102),de=te(84056),le={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},me=(y,E,b)=>new Promise((x,z)=>{var re=_e=>{try{ce(b.next(_e))}catch(ye){z(ye)}},se=_e=>{try{ce(b.throw(_e))}catch(ye){z(ye)}},ce=_e=>_e.done?x(_e.value):Promise.resolve(_e.value).then(re,se);ce((b=b.apply(y,E)).next())});function ae(y){if(isNaN(y))return{minutes:"00",seconds:"00"};const E=new Date(y*1e3).toISOString().substr(11,8);return{hour:E.substr(0,2),minutes:E.substr(3,2),seconds:E.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function he(y,E){return y-E}function oe(y){y.sort(he);let E=0;for(let b=0;b{},handlePlay:_e=()=>{},handlePlayEnded:ye=()=>{},autoPlay:De=!1,onPlayEnded:Ee=()=>{},isShowWaterMark:je=!0},Le)=>{var mt;const vt=((mt=E==null?void 0:E.split("."))==null?void 0:mt.pop())==="flv",we=(0,ee.useRef)(),Fe=(0,ee.useRef)(),He=(0,ee.useRef)(),at=(0,ee.useRef)(),We=(0,ee.useRef)(),pt=(0,ee.useRef)(),Pt=(0,ee.useRef)(),At=(0,ee.useRef)(),Bt=(0,ee.useRef)(),rt=(0,ee.useRef)(),Xe=(0,ee.useRef)(),Ct=(0,ee.useRef)(),zt=(0,ee.useRef)(),Et=(0,ee.useRef)(),an=navigator.userAgent.toLowerCase().match(ne),$e=an?an[0]:"pc",yt=(0,ee.useRef)(!1),Lt=(0,fe.eY)();let on=0,$t=0,st=0,lt=null,Ge=!1,Ne=20,et=1,xt=!1,Ie=!1,Re=[];(0,ee.useImperativeHandle)(Le,()=>({getLastUpdatedTime:()=>we.current.currentTime,getDuration:()=>we.current.duration})),ge.ZP.config({maxCount:1,getContainer:()=>He.current});const Ze=(0,ee.useCallback)((Dt,Ht=!1)=>{let bt={point:we.current.currentTime};lt?(bt.log_id=lt,bt.watch_duration=oe(Re),bt.total_duration=$t):(re?(bt.video_id=parseInt(x,10),bt.course_id=re):bt.video_id=x,bt.duration=on,bt.device=$e),Ht&&(bt.ed="1");function fn(){return me(this,null,function*(){xt=!0,lt=yield z==null?void 0:z(bt),xt=!1,Dt&&Dt()})}fn()},[x,re]);(0,ee.useEffect)(()=>{we.current&&(at.current.style.display="none",We.current.style.display="block"),ge.ZP.destroy();let Dt=null;return pe.Z.isSupported&&vt&&E&&(E==null?void 0:E.indexOf(".m3u8"))<0?(Dt=pe.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:E,muted:!1}),we.current&&(Dt.attachMediaElement(we.current),Dt.load())):we.current.setAttribute("src",E),ze(),()=>{Dt&&(Dt.unload(),Dt.pause(),Dt.destroy(),Dt=null)}},[we,vt,E]);function Be(){we.current.paused?(at.current.style.display="none",We.current.style.display="block"):(at.current.style.display="block",We.current.style.display="none")}function ze(){Xe.current.style.display="none",zt.current.style.display="none",Ct.current.style.display="none",we.current.muted||we.current.volume===0?Xe.current.style.display="block":we.current.volume>0&&we.current.volume<=.5?zt.current.style.display="block":Ct.current.style.display="block"}(0,ee.useEffect)(()=>{const Dt=document.getElementById("play"),Ht=document.querySelectorAll(".playback-icons use");function bt(){_e(),se&&!yt.current&&(we.current.currentTime=se),yt.current=!0,Re.push(we.current.currentTime),Ge||(Ge=!0,b&&Ze())}function fn(){return me(this,null,function*(){Be(),Re.push(we.current.currentTime),b&&Ze(()=>{lt=null,st=0,Ge=!1,xt=!1,Ie=!1,Re=[],$t=0,et=1},!0),Ee()})}function cn(){pt.current.value=Math.round(we.current.currentTime),Pt.current.value=Math.round(we.current.currentTime)}function wt(){const sn=ae(Math.round(we.current.currentTime));Bt.current.innerText=`${sn.hour>0?sn.hour+":":""}${sn.minutes}:${sn.seconds}`,Bt.current.setAttribute("datetime",`${sn.hour>0?" "+sn.hour+" ":""}${sn.minutes}m ${sn.seconds}s`)}function yn(){var sn,Yn,ir,Zn,ar,Dr,Mr;const Er=Math.round((sn=we.current)==null?void 0:sn.duration);(ir=(Yn=pt.current)==null?void 0:Yn.setAttribute)==null||ir.call(Yn,"max",Er),(ar=(Zn=Pt.current)==null?void 0:Zn.setAttribute)==null||ar.call(Zn,"max",Er);const Br=ae(Er);At.current&&(At.current.innerText=`${Br.hour>0?Br.hour+":":""}${Br.minutes}:${Br.seconds}`,(Mr=(Dr=At.current).setAttribute)==null||Mr.call(Dr,"datetime",`${Br.hour>0?" "+Br.hour+" ":""}${Br.minutes}m ${Br.seconds}s`))}function vn(){try{const sn=Math.round(we.current.duration);pt.current.setAttribute("max",sn),Pt.current.setAttribute("max",sn);const Yn=ae(sn);At.current.innerText=`${Yn.hour>0?Yn.hour+":":""}${Yn.minutes}:${Yn.seconds}`,At.current.setAttribute("datetime",`${Yn.hour>0?" "+Yn.hour+" ":""}${Yn.minutes}m ${Yn.seconds}s`),cn(),wt();const{width:ir,height:Zn,x:ar,y:Dr}=Fe.current.getBoundingClientRect();if(ar<0||Dr<0||!ir)return;if(!Ie){let Mr=we.current.currentTime,Er=Mr-st;Math.abs(Er)<10?($t+=Math.abs(Er),st=Mr,xt||$t-et*Ne>=0&&(et++,Re.push(st),b&&Ze())):(st=Mr,b&&Ze())}}catch(sn){console.log(sn)}}function zn(){Ie=!0}function wn(){we.current.playing&&Re.push(we.current.currentTime,st),st=we.current.currentTime,Ie=!1}function Wn(){on=we.current.duration,on<=20&&(Ne=on/3),we.current.addEventListener("play",bt)}function qn(sn){sn.preventDefault(),(0,de.vp)()?(we.current.style.width="100%",we.current.style.height="100%"):we.current.style.cssText=""}function Kn(){ce()}function Vn(sn){if(!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Yn=sn.target.dataset.seek?sn.target.dataset.seek:sn.target.value;we.current.currentTime=Yn,Pt.current.value=Yn,pt.current.value=Yn}function vr(sn){const Yn=Math.round(sn.offsetX/sn.target.clientWidth*parseInt(sn.target.getAttribute("max"),10));pt.current.setAttribute("data-seek",Yn);const ir=ae(Yn);rt.current.textContent=`${ir.hour>0?ir.hour+":":""}${ir.minutes}:${ir.seconds}`;const Zn=we.current.getBoundingClientRect();rt.current.style.left=`${sn.pageX-Zn.left}px`}function lr(sn){switch(sn.code){case"Space":sn.preventDefault(),Mt();break;case"ArrowRight":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime>=we.current.duration)break;we.current.currentTime=parseInt(we.current.currentTime)+5,cn();break;case"ArrowLeft":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime===0)break;we.current.currentTime=parseInt(we.current.currentTime)-5,cn();break;case"ArrowUp":sn.preventDefault(),we.current.volume<1&&(we.current.volume=(parseInt(we.current.volume*10)+1)/10);break;case"ArrowDown":sn.preventDefault(),we.current.volume>0&&(we.current.volume=(parseInt(we.current.volume*10)-1)/10);break}}return He.current.addEventListener((0,de.gH)(),qn),we.current.addEventListener("canplay",Wn),we.current.addEventListener("ended",fn),we.current.addEventListener("seeking",zn),we.current.addEventListener("seeked",wn),we.current.addEventListener("loadedmetadata",yn),pt.current.addEventListener("mousemove",vr),pt.current.addEventListener("input",Vn),we.current.addEventListener("timeupdate",vn),we.current.addEventListener("pause",Kn),we.current.addEventListener("volumechange",ze),document.addEventListener("keydown",lr),()=>{var sn,Yn,ir,Zn,ar,Dr,Mr,Er,Br,sr,Kr,Ut;(sn=we.current)==null||sn.removeEventListener("canplay",Wn),(Yn=we.current)==null||Yn.removeEventListener("play",bt),(ir=we.current)==null||ir.removeEventListener("ended",fn),(Zn=we.current)==null||Zn.removeEventListener("seeking",zn),(ar=we.current)==null||ar.removeEventListener("seeked",wn),(Dr=pt.current)==null||Dr.removeEventListener("mousemove",vr),(Mr=pt.current)==null||Mr.removeEventListener("input",Vn),(Er=we.current)==null||Er.removeEventListener("timeupdate",vn),(Br=we.current)==null||Br.removeEventListener("pause",Kn),(sr=we.current)==null||sr.removeEventListener("loadedmetadata",yn),(Kr=we.current)==null||Kr.removeEventListener("volumechange",ze),document.removeEventListener("keydown",lr),(Ut=we.current)!=null&&Ut.playing&&(Re.push(st,we.current.currentTime),b&&Ze())}},[we,E]),(0,ee.useEffect)(()=>{if(we.current.onended=()=>{ye(we)},we.current.oncontextmenu=()=>!1,(E==null?void 0:E.indexOf(".m3u8"))>-1){if(we.current.canPlayType("application/vnd.apple.mpegurl"))we.current.src=E;else if(Se.ZP.isSupported()){var Dt=new Se.ZP;Dt.loadSource(E),Dt.attachMedia(we.current)}}},[E]);const[ot,It]=(0,ee.useState)(1),Mt=()=>{we.current.paused||we.current.ended?we.current.play():we.current.pause(),Be()};function jt(){we.current.muted=!we.current.muted,we.current.muted?(Et.current.setAttribute("data-volume",volume.value),Et.current.value=0):Et.current.value=Et.current.dataset.volume}return ee.createElement("div",{style:{position:"relative"},ref:He},ee.createElement("div",{ref:Fe,className:`${le.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${le.animate__loop}`},je&&Lt?Lt.login:" "),ee.createElement("div",{className:le.container},ee.createElement("div",{className:le["video-container"],id:"video-container"},ee.createElement("div",{className:le["playback-animation"],id:"playback-animation"},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{className:"hidden",href:"#play-icon"}),ee.createElement("use",{href:"#pause"}))),ee.createElement("video",{className:le.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:we,autoPlay:De}),ee.createElement("div",{className:`${le["video-controls"]} `,id:"video-controls"},ee.createElement("div",{className:le["bottom-controls"]},ee.createElement("div",{className:le["left-controls"]},ee.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Mt},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{ref:We,href:"#play-icon"}),ee.createElement("use",{ref:at,style:{display:"none"},href:"#pause"}))),ee.createElement("div",{className:le.time},ee.createElement("time",{id:"time-elapsed",ref:Bt},"00:00"),ee.createElement("span",null," / "),ee.createElement("time",{id:"duration",ref:At},"00:00"))),ee.createElement("div",{className:le["right-controls"]},y&&ee.createElement(be.Z,{placement:"top",overlayClassName:le.rateOverlay,getPopupContainer:Dt=>Dt.parentNode,menu:{items:[{key:"1",label:ee.createElement("span",{onClick:()=>{It(1),we.current.playbackRate=1}},"1.0x")},{key:"2",label:ee.createElement("span",{onClick:()=>{It(1.5),we.current.playbackRate=1.5}},"1.5x")},{key:"3",label:ee.createElement("span",{onClick:()=>{It(2),we.current.playbackRate=2}},"2.0x")}]}},ee.createElement("div",{className:`${le.controlText} mr5`},"\u500D\u901F")),ee.createElement(ie.CopyToClipboard,{text:E,onCopy:()=>ge.ZP.success("\u590D\u5236\u6210\u529F")},ee.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},ee.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),ee.createElement("div",{className:le["volume-controls"]},ee.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:le["volume-button"],id:"volume-button",onClick:jt},ee.createElement("i",{ref:Xe,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:zt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:Ct,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),ee.createElement("input",{className:le.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Et,style:{display:"none"},onClick:ze})),ee.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:le["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(He.current)}},ee.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),ee.createElement("div",{className:le["video-progress"]},ee.createElement("progress",{ref:Pt,value:"0",min:"0"}),ee.createElement("input",{className:le.seek,ref:pt,value:"0",min:"0",type:"range",step:"1"}),ee.createElement("div",{className:le["seek-tooltip"],ref:rt,id:"seek-tooltip"},"00:00"))))),ee.createElement("svg",{style:{display:"none"}},ee.createElement("defs",null,ee.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),ee.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),ee.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),ee.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),ee.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),ee.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),ee.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),ee.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},30214:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(77254),be=te(11611),pe=()=>{const[Se,fe]=(0,ee.useState)(""),[ie,de]=(0,ee.useState)(0);let[le,me]=(0,ee.useState)(),[ae,he]=(0,ee.useState)();const[oe,ne]=(0,ee.useState)(!1),a=(0,ee.useRef)("");(0,ee.useEffect)(()=>ge.Z.subscribe("preview-image",De=>{fe(De),console.log(ce.current),document.body.style.overflow="hidden"}),[]),(0,ee.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,ee.useEffect)(()=>{a.current=Se},[Se]);function y(ye){ye.keyCode==27&&a.current&&E()}function E(){document.body.style.overflow="auto",me(void 0),he(void 0),de(0),fe("")}function b(){de(ie+90)}function x(){le=ce.current.width*1.1,ae=ce.current.height*1.1,he(ae),me(le)}function z(){le=ce.current.width/1.1,ae=ce.current.height/1.1,he(ae),me(le)}const re=(0,ee.useRef)(),se=(0,ee.useRef)(),ce=(0,ee.useRef)(),_e=ye=>{(ye.nativeEvent.target===re.current||ye.nativeEvent.target===se.current)&&E()};return ee.createElement(ee.Fragment,null,Se?ee.createElement("div",null,ee.createElement("div",{className:"preview-wrp-group",ref:se},ee.createElement(be.Z,{className:"image-preview",src:Se,style:{display:"none"},preview:{visible:!0,src:Se,movable:!1,onVisibleChange:ye=>{fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(ht,Ke,te){"use strict";te.d(Ke,{h:function(){return re}});var ee=te(59301),ge=te(57809),be=te(78241),pe=te(3113),Se=te(89780),fe=te.n(Se),ie=te(45559),de=te(42313),le=Object.defineProperty,me=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(se,ce,_e)=>ce in se?le(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):se[ce]=_e,y=(se,ce)=>{for(var _e in ce||(ce={}))oe.call(ce,_e)&&a(se,_e,ce[_e]);if(he)for(var _e of he(ce))ne.call(ce,_e)&&a(se,_e,ce[_e]);return se},E=(se,ce)=>me(se,ae(ce));const b=ge.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ke.Z=({callback:se,onCancel:ce})=>{const[_e,ye]=(0,ee.useState)("python");function De(je){ye(z[je][1])}function Ee(je){se(je)}return ee.createElement(be.default,E(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ee,style:{width:500}}),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(ge.default,{getPopupContainer:je=>je.parentNode,onChange:De},Object.keys(z).map(je=>ee.createElement(b,{key:je,value:je},z[je][0])))),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(re,{mode:_e})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(pe.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function re({value:se,onChange:ce,mode:_e,options:ye={}}){const De=(0,ee.useRef)(),[Ee,je]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(Ee){let Le=function(mt){const Ye=mt.getValue();ce&&ce(Ye)};return Ee.on("change",Le),()=>{Ee.off("change",Le)}}},[Ee,ce]),(0,ee.useEffect)(()=>{Ee&&Ee.setOption("mode",_e)},[Ee,_e]),(0,ee.useEffect)(()=>{Ee&&(se!==Ee.getValue()||se==="")&&setTimeout(()=>{Ee.setValue(se||"")},300)},[Ee,se]),(0,ee.useEffect)(()=>{if(De.current&&!Ee){const Le=fe().fromTextArea(De.current,y({mode:_e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));je(Le)}},[De.current,Ee]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:De}))}},96565:function(ht,Ke,te){"use strict";te.d(Ke,{Z:function(){return ue}});var ee=te(59301),ge=te(89780),be=te.n(ge),pe=te(76374),Se=te(45559),fe=te(6313),ie=te(25717),de=te(99498),le=te(25419),me=te(67549),ae=te(6339),he=({value:ve="",className:Pe,showTextOnly:xe,showLines:ke,style:tt={}})=>{const dt=(0,ee.useMemo)(()=>"",[ve]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:dt}}))},oe=te(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(ve,Pe,xe)=>Pe in ve?ne(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,re=(ve,Pe)=>{for(var xe in Pe||(Pe={}))b.call(Pe,xe)&&z(ve,xe,Pe[xe]);if(E)for(var xe of E(Pe))x.call(Pe,xe)&&z(ve,xe,Pe[xe]);return ve},se=(ve,Pe)=>a(ve,y(Pe));let ce=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function _e({onActionCallback:ve,title:Pe,icon:xe,actionName:ke,className:tt="",children:dt}){function tn(){ve(ke)}return oe.createElement("a",{title:Pe,className:tt,onClick:tn},oe.createElement("i",{className:`${xe}`}),dt)}var ye=({watch:ve,showNullButton:Pe,showNullProgramButton:xe,onActionCallback:ke,fullScreen:tt,insertTemp:dt,hidetoolBar:tn,extraUse:Kt})=>{const _t=[...ce,{title:`${ve?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ve?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return oe.createElement("ul",{className:"markdown-toolbar-container"},!tn&&_t.map((ft,Ft)=>oe.createElement("li",{key:Ft},ft.actionName?oe.createElement(_e,se(re({},ft),{onActionCallback:ke})):oe.createElement("span",{className:"v-line"}))),Pe?oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xe?oe.createElement(oe.Fragment,null,oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,dt&&oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${dt}`,onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Kt&&oe.createElement("li",null,Kt),oe.createElement("li",{className:"btn-full-screen"},oe.createElement(_e,{icon:`${tt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:tt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ke})))},De=te(57261),Ee=te(78241),je=te(92832),Le=te(3113),mt=Object.defineProperty,Ye=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,at=(ve,Pe,xe)=>Pe in ve?mt(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,We=(ve,Pe)=>{for(var xe in Pe||(Pe={}))Fe.call(Pe,xe)&&at(ve,xe,Pe[xe]);if(we)for(var xe of we(Pe))He.call(Pe,xe)&&at(ve,xe,Pe[xe]);return ve},pt=(ve,Pe)=>Ye(ve,vt(Pe));const Pt={labelCol:{span:4},wrapperCol:{span:20}};var At=({callback:ve,onCancel:Pe})=>{function xe(ke){ve(ke)}return ee.createElement(Ee.default,pt(We({},Pt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xe,style:{width:500}}),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(je.default,null)),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(je.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},Bt=te(85533),rt=te(45053),Xe=te(43418),Ct=te(95237),zt=te(16750),Et=te(59301),an=({callback:ve,onCancel:Pe})=>{const xe=document.createElement("canvas"),ke=xe.getContext("2d");xe.width=1e3,xe.height=800,ke.fillStyle="#ffffff",ke.fillRect(0,0,xe.width,xe.height);const tt=xe.toDataURL("image/png");return Et.createElement(Xe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Et.createElement(Ct.Z,{style:{height:"100vh"}},Et.createElement(zt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:tt,visible:!0,title:String(Date.now())},onOk:dt=>{ve({src:dt.url})},onClose:Pe})))},$e=te(12378);function yt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(yt,go.CommandHandler),yt.prototype.canAlignSelection=function(){var ve=this.diagram;return!(ve===null||ve.isReadOnly||ve.isModelReadOnly||ve.selection.count<2)},yt.prototype.alignLeft=function(){var ve=this.diagram;ve.startTransaction("aligning left");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.x,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe,xe.position.y))}),ve.commitTransaction("aligning left")},yt.prototype.alignRight=function(){var ve=this.diagram;ve.startTransaction("aligning right");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.x+xe.actualBounds.width;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe-xe.actualBounds.width,xe.position.y))}),ve.commitTransaction("aligning right")},yt.prototype.alignTop=function(){var ve=this.diagram;ve.startTransaction("alignTop");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.y,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.position.x,Pe))}),ve.commitTransaction("alignTop")},yt.prototype.alignBottom=function(){var ve=this.diagram;ve.startTransaction("aligning bottom");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.y+xe.actualBounds.height;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.actualBounds.x,Pe-xe.actualBounds.height))}),ve.commitTransaction("aligning bottom")},yt.prototype.alignCenterX=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center X");var xe=Pe.actualBounds.x+Pe.actualBounds.width/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(xe-ke.actualBounds.width/2,ke.actualBounds.y))}),ve.commitTransaction("aligning Center X")}},yt.prototype.alignCenterY=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center Y");var xe=Pe.actualBounds.y+Pe.actualBounds.height/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(ke.actualBounds.x,xe-ke.actualBounds.height/2))}),ve.commitTransaction("aligning Center Y")}},yt.prototype.alignColumn=function(ve){var Pe=this.diagram;Pe.startTransaction("align Column"),ve===void 0&&(ve=0),ve=parseFloat(ve);var xe=new Array;Pe.selection.each(function(Kt){Kt instanceof go.Link||xe.push(Kt)});for(var ke=0;ke0){for(var Kt=dt.elt(tn-1);Kt!==null&&Kt.isTreeExpanded&&!Kt.isTreeLeaf;){var _t=this._sortTreeChildrenByY(Kt);Kt=_t.last()}Kt!==null&&ve.select(Kt)}else ve.select(tt)}}else if(xe.key==="Down")if(Pe.isTreeExpanded&&!Pe.isTreeLeaf){var ke=this._sortTreeChildrenByY(Pe).first();ke!==null&&ve.select(ke)}else for(;Pe!==null;){var tt=Pe.findTreeParentNode();if(tt===null)break;var dt=this._sortTreeChildrenByY(tt),tn=dt.indexOf(Pe);if(tndt.y?1:tt.xdt.x?1:0}),Pe},yt.prototype.copyToClipboard=function(ve){go.CommandHandler.prototype.copyToClipboard.call(this,ve),this._lastPasteOffset.set(this.pasteOffset)},yt.prototype.pasteFromClipboard=function(){var ve=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ve,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ve},Object.defineProperty(yt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ve){if(ve!=="move"&&ve!=="select"&&ve!=="scroll"&&ve!=="tree"&&ve!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ve);this._arrowKeyBehavior=ve}}),Object.defineProperty(yt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ve){if(!(ve instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ve);this._pasteOffset.set(ve)}});var Lt=yt,on=te(25863),$t=te(43604),st=te(38147),lt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ge=te(59301),Ne=(ve,Pe,xe)=>new Promise((ke,tt)=>{var dt=_t=>{try{Kt(xe.next(_t))}catch(ft){tt(ft)}},tn=_t=>{try{Kt(xe.throw(_t))}catch(ft){tt(ft)}},Kt=_t=>_t.done?ke(_t.value):Promise.resolve(_t.value).then(dt,tn);Kt((xe=xe.apply(ve,Pe)).next())});function et({onCancel:ve,callback:Pe}){let xe=(0,ee.useRef)(),ke=(0,ee.useRef)(),tt=(0,ee.useRef)(),dt=(0,ee.useRef)(!1);const tn=(0,ee.useRef)(!1),[Kt,_t]=(0,ee.useState)(0);function ft(){const gt=$e.bx.make,Gt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};xe.current=new $e.S0(ke.current,{padding:20,grid:gt($e.s_,"Grid",gt($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gt($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:un=>{var Sn=un.diagram.commandHandler.addTopLevelParts(un.diagram.selection,!0);Sn||un.diagram.currentTool.doCancel()},commandHandler:gt(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:un=>{var Sn=un.subject;Sn.location=Sn.location.copy().snapToGridPoint(un.diagram.grid.gridOrigin,un.diagram.grid.gridCellSize),setTimeout(()=>{un.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:un=>{var Sn=un.subject;setTimeout(()=>{un.diagram.commandHandler.editTextBlock()})},LinkRelinked:un=>{var Sn=un.parameter.part;Sn.invalidateConnectedLinks();var Nn=un.subject;un.diagram.toolManager.linkingTool.isForwards?Nn.toNode.invalidateConnectedLinks():Nn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xe.current.nodeTemplate=gt($e.NB,"Auto",{locationSpot:$e.z6.Center,locationObjectName:"SHAPE",desiredSize:new $e.$u(120,60),minSize:new $e.$u(40,40),resizable:!0,resizeCellSize:new $e.$u(10,10),rotatable:!0},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),new $e.KX("desiredSize","size",$e.$u.parse).makeTwoWay($e.$u.stringify),gt($e.bn,{name:"SHAPE",fill:Gt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("figure"),new $e.KX("fill"),new $e.KX("stroke","borderColor"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gt($e.al,{margin:1,textAlign:"center",overflow:$e.al.OverflowEllipsis,editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.nodeTemplate.toolTip=gt("ToolTip",gt($e.s_,"Vertical",{maxSize:new $e.$u(200,NaN)},gt($e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new $e.KX("text")),gt($e.al,{font:"10pt sans-serif",textAlign:"center"},new $e.KX("text","details"))));function Zt(un,Sn){var Nn=(pn,cr)=>{pn.handled=!0,pn.diagram.model.commit(fr=>{var Ar=cr.part.adornedPart,Ur=new $e.E9().setRectSpot(Ar.actualBounds,un);Ur.subtract(Ar.location),Ur.scale(2,2),Ur.x+=Math.sign(Ur.x)*130,Ur.y+=Math.sign(Ur.y)*130,Ur.add(Ar.location),Ur.snapToGridPoint(pn.diagram.grid.gridOrigin,pn.diagram.grid.gridCellSize);var to=fr.copyNodeData(Ar.data);fr.setGroupKeyForNodeData(to,fr.getGroupKeyForNodeData(Ar.data)),fr.addNodeData(to);var _o={from:Ar.key,to:fr.getKeyForNodeData(to)};fr.addLinkData(_o);var ho=pn.diagram.findNodeForData(to);ho.location=Ur,pn.diagram.select(ho),setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()},20)})};return gt($e.bn,{figure:Sn,alignment:un,alignmentFocus:un.opposite(),width:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?25:18,height:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?18:25,fill:"orange",stroke:Gt.white,strokeWidth:4,mouseEnter:(pn,cr)=>cr.fill="dodgerblue",mouseLeave:(pn,cr)=>cr.fill="orange",isActionable:!0,click:Nn,contextClick:Nn})}function Tt(un){return gt($e.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Sn,Nn)=>Nn.fill="dodgerblue",mouseLeave:(Sn,Nn)=>Nn.fill="orange",click:(Sn,Nn)=>{Sn.diagram.commandHandler.showContextMenu(Nn.part.adornedPart)}},un||{})}xe.current.nodeTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.Vm,{padding:10}),Zt($e.z6.Top,"TriangleUp"),Zt($e.z6.Left,"TriangleLeft"),Zt($e.z6.Right,"TriangleRight"),Zt($e.z6.Bottom,"TriangleDown"),Tt({alignment:new $e.z6(.75,0)}));function kt(un,Sn){return(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{cr.set(pn.part.adornedPart.data,un,Sn)})}}function Xt(un,Sn){return Sn||(Sn="color"),gt($e.bn,{width:16,height:16,stroke:"lightgray",fill:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.stroke="dodgerblue",mouseLeave:(Nn,pn)=>pn.stroke="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}function dn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white,"fill"),Xt(Gt.beige,"fill"),Xt(Gt.extralightblue,"fill"),Xt(Gt.extralightred,"fill"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.lightgray,"fill"),Xt(Gt.lightgreen,"fill"),Xt(Gt.lightblue,"fill"),Xt(Gt.lightred,"fill")))]}function xn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.black),Xt(Gt.green),Xt(Gt.blue),Xt(Gt.red))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white),Xt(Gt.magenta),Xt(Gt.purple),Xt(Gt.orange)))]}function Fn(un,Sn){return Sn||(Sn="thickness"),gt($e.bn,"LineH",{width:16,height:16,strokeWidth:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function Qn(un,Sn){return Sn||(Sn="dash"),gt($e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function mn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Fn(1),Fn(2),Fn(3),Fn(4))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Qn(null),Qn([2,4]),Qn([4,4])))]}function An(un,Sn){return Sn||(Sn="figure"),gt($e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.fill="dodgerblue",mouseLeave:(Nn,pn)=>pn.fill="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}xe.current.nodeTemplate.contextMenu=gt("ContextMenu",gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),dn(),xn(),mn()),xe.current.groupTemplate=gt($e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:$e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(un,Sn)=>{var Nn=Sn.addMembers(Sn.diagram.selection,!0);Nn||Sn.diagram.currentTool.doCancel()},avoidable:!1},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),gt($e.s_,"Auto",{name:"BODY"},gt($e.bn,{parameter1:10,fill:Gt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("fill"),new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.Vm,{background:"transparent",margin:20})),gt($e.al,{alignment:$e.z6.Top,alignmentFocus:$e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new $e.KX("text"),new $e.KX("stroke","color"))),xe.current.groupTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.s_,"Auto",gt($e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gt($e.Vm,{margin:1.5})),Tt({alignment:$e.z6.TopRight,alignmentFocus:$e.z6.BottomRight})),xe.current.groupTemplate.contextMenu=gt("ContextMenu",dn(),xn(),mn()),xe.current.linkTemplate=gt($e.rU,{layerName:"Foreground",routing:$e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new $e.KX("fromSpot","fromSpot",$e.z6.parse),new $e.KX("toSpot","toSpot",$e.z6.parse),new $e.KX("fromShortLength","dir",un=>un>=1?10:0),new $e.KX("toShortLength","dir",un=>un>=1?10:0),new $e.KX("points").makeTwoWay(),gt($e.bn,{strokeWidth:2},new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,0),segmentOrientation:$e.rU.OrientAlong,alignmentFocus:$e.z6.Right,figure:"circle",width:10,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===1)),gt($e.bn,{segmentIndex:-1,segmentOffset:new $e.E9(-10,6),segmentOrientation:$e.rU.OrientPlus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un>=1),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,-6),segmentOrientation:$e.rU.OrientMinus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===2),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.al,{alignmentFocus:new $e.z6(0,1,-4,0),editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.linkTemplate.selectionAdornmentTemplate=gt($e.uz,gt($e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ur(2)},new $e.KX("pathPattern","thickness",ur)),Tt({alignmentFocus:new $e.z6(0,0,-6,-4)}));function ur(un){return gt($e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(un+4).toString()+" H3"})}function rr(un){var Sn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return un===0?Sn="M0 0 M16 16 M0 8 L16 8":un===2&&(Sn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gt($e.bn,{geometryString:Sn,margin:2,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt("dir",un),contextClick:kt("dir",un)})}function or(un){var Sn=(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{var fr=pn.part.adornedPart;cr.set(fr.data,un?"toSpot":"fromSpot",$e.z6.stringify($e.z6.AllSides)),(un?fr.toNode:fr.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:Sn,contextClick:Sn})}function Wt(un,Sn){var Nn=0,pn=$e.z6.RightSide;un.equals($e.z6.Top)?(Nn=270,pn=$e.z6.TopSide):un.equals($e.z6.Left)?(Nn=180,pn=$e.z6.LeftSide):un.equals($e.z6.Bottom)&&(Nn=90,pn=$e.z6.BottomSide),Sn||(Nn-=180);var cr=(fr,Ar)=>{fr.handled=!0,fr.diagram.model.commit(Ur=>{var to=Ar.part.adornedPart;Ur.set(to.data,Sn?"toSpot":"fromSpot",$e.z6.stringify(pn)),(Sn?to.toNode:to.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{alignment:un,alignmentFocus:un.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Nn,background:"transparent",mouseEnter:(fr,Ar)=>Ar.background="dodgerblue",mouseLeave:(fr,Ar)=>Ar.background="transparent",click:cr,contextClick:cr})}xe.current.linkTemplate.contextMenu=gt("ContextMenu",xn(),mn(),gt("ContextMenuButton",gt($e.s_,"Horizontal",rr(0),rr(1),rr(2))),gt("ContextMenuButton",gt($e.s_,"Horizontal",gt($e.s_,"Spot",or(!1),Wt($e.z6.Top,!1),Wt($e.z6.Left,!1),Wt($e.z6.Right,!1),Wt($e.z6.Bottom,!1)),gt($e.s_,"Spot",{margin:new $e.Zt(0,0,0,2)},or(!0),Wt($e.z6.Top,!0),Wt($e.z6.Left,!0),Wt($e.z6.Right,!0),Wt($e.z6.Bottom,!0)))));const io=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, diff --git a/p__Shixuns__ThemeChange__index.4a179f21.async.js b/p__Shixuns__ThemeChange__index.8d08b06d.async.js similarity index 91% rename from p__Shixuns__ThemeChange__index.4a179f21.async.js rename to p__Shixuns__ThemeChange__index.8d08b06d.async.js index 7a6defe3cc..b07d5e000d 100644 --- a/p__Shixuns__ThemeChange__index.4a179f21.async.js +++ b/p__Shixuns__ThemeChange__index.8d08b06d.async.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8552],{40001:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},49198:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},84105:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},18785:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},87169:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},73331:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},15277:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},33853:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},38819:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},47472:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},93018:function(Qe,Ne,t){t.d(Ne,{Z:function(){return Oe}});var e=t(59301),n=t(65582),m=t(92310),V=t.n(m),h=t(28501),z={goback:"goback___jLQ4I",title_name:"title_name___YAPgH"},L=Object.defineProperty,T=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,be=(te,Ae,Ze)=>Ae in te?L(te,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):te[Ae]=Ze,E=(te,Ae)=>{for(var Ze in Ae||(Ae={}))ye.call(Ae,Ze)&&be(te,Ze,Ae[Ze]);if(T)for(var Ze of T(Ae))d.call(Ae,Ze)&&be(te,Ze,Ae[Ze]);return te};const f=({dispatch:te,className:Ae,style:Ze={},leftDom:Q,rigthDom:ze,title:H,imgUrl:B})=>((0,e.useEffect)(()=>(te({type:"globalSetting/headerToggle",payload:!1}),()=>{te({type:"globalSetting/headerToggle",payload:!0})}),[]),e.createElement("div",{className:V()("flex item-center justify-between h-64px px-40px",Ae),style:E({background:`url(${B||t(12907)}) 0 0 / 100% 100% no-repeat`,height:85},Ze)},Q||e.createElement("div",{className:"flex item-center",style:{width:120}},e.createElement("div",{className:`current rounded-full px-30px py-12px c-white ${z.goback}`,onClick:()=>{n.history.push("/")}},"\u8FD4\u56DE\u9996\u9875")),typeof H=="string"?e.createElement("div",{className:`text-36px c-white font-semibold ${z.title_name}`}," ",H):H,ze||e.createElement("div",{className:"flex justify-end",style:{width:120}},e.createElement(h.Z,null))));var Oe=(0,n.connect)(({})=>({}))(f)},28501:function(Qe,Ne,t){t.d(Ne,{Z:function(){return Ze}});var e=t(65582),n=t(20834),m=t(8591),V=t(38854),h={flex_box_center:"flex_box_center___M4WZx",flex_space_between:"flex_space_between___bwhOs",flex_box_vertical_center:"flex_box_vertical_center___DNlG5",flex_box_center_end:"flex_box_center_end___HBHt4",flex_box_column:"flex_box_column___spgwz",userPic:"userPic___Tl9mK",rightMenu:"rightMenu___YDuVi",menuWrap:"menuWrap___m0MSS",exit:"exit___dTkih",classromediv:"classromediv___TRiTQ",glow:"glow___OjyUr",height67:"height67___HL_eW",login:"login___Dnj59",icon:"icon___B_lfc"},z=t(41867),L=t(89540),T=t(74128),ye=t(65862),d=t(59301),be=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,Oe=(Q,ze)=>{var H={};for(var B in Q)E.call(Q,B)&&ze.indexOf(B)<0&&(H[B]=Q[B]);if(Q!=null&&be)for(var B of be(Q))ze.indexOf(B)<0&&f.call(Q,B)&&(H[B]=Q[B]);return H},te=(Q,ze,H)=>new Promise((B,l)=>{var r=C=>{try{u(H.next(C))}catch(F){l(F)}},s=C=>{try{u(H.throw(C))}catch(F){l(F)}},u=C=>C.done?B(C.value):Promise.resolve(C.value).then(r,s);u((H=H.apply(Q,ze)).next())});const Ae=Q=>{var ze=Q,{homePage:H,user:B,globalSetting:l,loading:r,dispatch:s,shixunHomeworks:u}=ze,C=Oe(ze,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks"]),F,ee,He,Pe,ve,Je,De,je,Se,Y;const se=(F=B.userInfo)==null?void 0:F.is_school_manage,we=()=>{var S,me,k,le,Ce;return(0,ye.Ll)()?d.createElement(n.default,{className:`${h.rightMenu} ${h.menuWrap}`},d.createElement(n.default.Item,null,d.createElement(e.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):d.createElement(n.default,{className:`${h.rightMenu} ${h.menuWrap}`},d.createElement(n.default.Item,null,d.createElement(e.Link,{to:`/users/${(S=B.userInfo)==null?void 0:S.login}/classrooms`},"\u4E2A\u4EBA\u4E2D\u5FC3")),((k=(me=B.navigationInfo)==null?void 0:me.top)==null?void 0:k.laboratory_admin_url)&&d.createElement(n.default.Item,null,d.createElement("a",{href:(Ce=(le=B.navigationInfo)==null?void 0:le.top)==null?void 0:Ce.laboratory_admin_url},"\u540E\u53F0\u7BA1\u7406")),d.createElement(n.default.Item,null,d.createElement(e.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||s({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:d.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),d.createElement(n.default.Item,{className:h.exit},d.createElement("a",{onClick:()=>te(void 0,null,function*(){(0,ye.m5)();let xe;try{xe=yield(0,L.vR)({}),m.ZP.success(xe==null?void 0:xe.message)}catch(qe){}(0,ye.d8)("_educoder_session","logout",1),(0,ye.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),xe!=null&&xe.url?window.location.href=xe.url:(e.history.replace("/"),window.location.reload())})},"\u9000\u51FA")))};return(0,z.bg)()?d.createElement(V.Z,{dropdownRender:we,placement:"bottomRight"},d.createElement("section",null,d.createElement("aside",null,d.createElement("div",{className:u.actionTabs.type===1?h.classromediv:""},d.createElement("img",{className:`${h.userPic} current ml15`,src:`${(ee=T.Z)==null?void 0:ee.IMG_SERVER}/images/${(He=B.userInfo)==null?void 0:He.image_url}`,alt:"",onClick:()=>{var S;return e.history.push((0,ye.Ll)()?"/account/profile":`/users/${(S=B.userInfo)==null?void 0:S.login}/classrooms`)}}),(0,ye.Ll)()&&d.createElement("span",{className:"ml10 font16"},(Pe=B.userInfo)==null?void 0:Pe.username),d.createElement("i",{className:`iconfont icon-zhankai4 ${h.icon}`}))))):d.createElement("div",{className:`font15 flex item-center gap-10px ${l.isIlearning?h.login:""}`},((ve=l.setting)==null?void 0:ve.sso_login_url)&&d.createElement("a",{target:"_blank",href:(Je=l.setting)==null?void 0:Je.sso_login_url},d.createElement("img",{src:`${T.Z.IMG_SERVER}/${(De=l.setting)==null?void 0:De.login_logo_url}`,width:40}),d.createElement("span",{style:{color:"#fff",fontSize:"14px",fontWeight:500,paddingLeft:"10px"}},(je=l.setting)==null?void 0:je.sso_login_button_name)),!((Se=l.setting)!=null&&Se.hide_account_login)&&d.createElement(d.Fragment,null,d.createElement("span",{className:"current-primary-hover",onClick:()=>{s({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}}," \u767B\u5F55 "),!((Y=l.setting)!=null&&Y.close_register)&&d.createElement(d.Fragment,null,d.createElement("span",null,"|"),d.createElement("span",{className:"current-primary-hover",onClick:()=>{e.history.push("/user/register")}},"\u6CE8\u518C"))))};var Ze=(0,e.connect)(({homePage:Q,loading:ze,user:H,globalSetting:B,shixunHomeworks:l})=>({homePage:Q,user:H,globalSetting:B,shixunHomeworks:l,loading:ze.models.index}))(Ae)},40277:function(Qe,Ne,t){t.d(Ne,{Z:function(){return ye}});var e=t(59301),n=t(65582),m=t(44e3),V=t(20834),h=t(41867),z={myMenu:"myMenu___bbQDH",layoutSider:"layoutSider___b9ayt"};const L={background:"#082930"},T=({globalSetting:d,mainDom:be,dispatch:E})=>{var f;const[Oe,te]=(0,e.useState)([]),[Ae,Ze]=(0,e.useState)([]),Q=(0,e.useMemo)(()=>{var B,l,r;const s=C=>!(C!=null&&C.hidden)&&!((0,h.JA)()&&(C==null?void 0:C.link)==="/paperlibrary"),u=((l=(B=d==null?void 0:d.setting)==null?void 0:B.navbar)==null?void 0:l.filter(s))||[];for(const C of u)C.subitem=((r=C==null?void 0:C.subitem)==null?void 0:r.filter(s))||[];return u},[(f=d==null?void 0:d.setting)==null?void 0:f.navbar]),ze=(B,l)=>{let r="",s=[];for(const u of B)if(u.link===l&&(r=u.link),u.subitem&&u.subitem.length>0){for(const C of u.subitem)if(C.link===l&&(r=C.link,s=[u.link]),C.subitem){const F=ze(C.subitem,l);F.selectedKey&&(r=F.selectedKey,s=[u.link,...F.openKeys])}}return{selectedKey:r,openKeys:s}};(0,e.useEffect)(()=>{const B=location.pathname,{selectedKey:l,openKeys:r}=ze(Q,B);te(l?[l]:[]),r.length>0?Ze(r):Ze([])},[Q]),(0,e.useEffect)(()=>{E({type:"globalSetting/headerFooterToggle",payload:!0})},[]);const H=B=>{switch(B){case"/":return e.createElement("i",{className:"iconfont ml10 icon-shouye3 font14"});case"/paths":return e.createElement("i",{className:"iconfont ml10 icon-zhihuikecheng font14"});case"/shixuns":return e.createElement("i",{className:"iconfont ml10 icon-shijianxiangmu font14"});case"/classrooms":return e.createElement("i",{className:"iconfont ml10 icon-jiaoxueketang2 font14"});default:return null}};return e.createElement(m.default,{style:L},d.showHeader&&d.showHeaderFooter&&e.createElement(m.default.Sider,{className:`flex flex-col ${z.layoutSider}`,width:244,style:L},e.createElement(V.default,{className:`w-full ${z.myMenu}`,mode:"inline",selectedKeys:Oe,openKeys:Ae,onOpenChange:B=>Ze(B),onSelect:({key:B})=>{B&&B.includes("/")&&n.history.push(B)},items:Q.map(B=>{var l;return{key:B.link,label:B.name,icon:H(B==null?void 0:B.link),children:((l=B.subitem)==null?void 0:l.length)>0?B.subitem.map(r=>{var s;return{key:r.link,label:r.name,children:((s=r.subitem)==null?void 0:s.length)>0?r.subitem.map(u=>({key:u.link,label:u.name})):void 0}}):void 0}})})),e.createElement(m.default.Content,{style:{backgroundColor:"#021C21"}},be))};var ye=(0,n.connect)(({globalSetting:d,user:be})=>({globalSetting:d,user:be}))(T)},90175:function(Qe,Ne,t){t.d(Ne,{Z:function(){return ye}});var e=t(59301),n=t(65582),m=t(44e3),V=t(20834),h=t(41867),z={myMenu:"myMenu___BgVun",layoutSider:"layoutSider___rUtSB"};const L={background:"linear-gradient( 180deg, #FFFFFF -20%, #BCD7FF 100%)"},T=({globalSetting:d,mainDom:be,dispatch:E})=>{var f;const[Oe,te]=(0,e.useState)([]),[Ae,Ze]=(0,e.useState)([]),Q=(0,e.useMemo)(()=>{var H,B,l;const r=u=>!(u!=null&&u.hidden)&&!((0,h.JA)()&&(u==null?void 0:u.link)==="/paperlibrary"),s=((B=(H=d==null?void 0:d.setting)==null?void 0:H.navbar)==null?void 0:B.filter(r))||[];for(const u of s)u.subitem=((l=u==null?void 0:u.subitem)==null?void 0:l.filter(r))||[];return s},[(f=d==null?void 0:d.setting)==null?void 0:f.navbar]),ze=(H,B)=>{let l="",r=[];for(const s of H)if(s.link===B&&(l=s.link),s.subitem&&s.subitem.length>0){for(const u of s.subitem)if(u.link===B&&(l=u.link,r=[s.link]),u.subitem){const C=ze(u.subitem,B);C.selectedKey&&(l=C.selectedKey,r=[s.link,...C.openKeys])}}return{selectedKey:l,openKeys:r}};return(0,e.useEffect)(()=>{const H=location.pathname,{selectedKey:B,openKeys:l}=ze(Q,H);te(B?[B]:[]),l.length>0?Ze(l):Ze([])},[Q]),(0,e.useEffect)(()=>{E({type:"globalSetting/headerFooterToggle",payload:!0})},[]),e.createElement(m.default,{style:L},d.showHeader&&d.showHeaderFooter&&e.createElement(m.default.Sider,{className:`flex flex-col ${z.layoutSider}`,width:212,style:L},e.createElement(V.default,{className:`w-full ${z.myMenu}`,mode:"inline",selectedKeys:Oe,openKeys:Ae,onOpenChange:H=>Ze(H),onSelect:({key:H})=>{H&&H.includes("/")&&n.history.push(H)},items:Q.map(H=>{var B;return{key:H.link,label:H.name,children:((B=H.subitem)==null?void 0:B.length)>0?H.subitem.map(l=>{var r;return{key:l.link,label:l.name,children:((r=l.subitem)==null?void 0:r.length)>0?l.subitem.map(s=>({key:s.link,label:s.name})):void 0}}):void 0}})})),e.createElement(m.default.Content,{style:{backgroundColor:"#EEF5FE"}},be))};var ye=(0,n.connect)(({globalSetting:d,user:be})=>({globalSetting:d,user:be}))(T)},61584:function(Qe,Ne,t){t.d(Ne,{i:function(){return r},Z:function(){return u}});var e={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},n=t(71418),m=t(6848),V=t(93948),h=t(92310),z=t.n(h),L=t(65862),T=t(2524),ye=t(41867),d=t(79005),be=t(20345),E=t(77882),f=t(31081),Oe=t(75309),te=t(71979),Ae=t(47558),Ze=t(42922),Q=t(66832),ze=t(96593),H=t(19664),B=t(91833),l=t(59301);const r=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:d,swimg:be},{name:"101\u8BA1\u5212",ptimg:E,swimg:f},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Oe,swimg:te},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ae,swimg:Ze},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Q,swimg:ze},{name:"\u519B\u961F\u4E00\u6D41",ptimg:H,swimg:B}];var u=({className:C,dataSource:F=[],col:ee=4,right:He,bottom:Pe=23,precision:ve=0,wrapWidth:Je=1200,trackEventItems:De,loading:je,onRemove:Se=()=>{},isCurrent:Y=!0,showAlias:se=!1,showProgress:we=!1})=>{const S=Math.floor((Je-(ee-1)*He)/ee),me=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(k=>(window.ENV==="build"&&(k.ptimg=`/react/build${k.ptimg}`,k.swimg=`/react/build${k.swimg}`),k));return l.createElement(n.Z,{spinning:je},l.createElement("div",{className:z()(e.list,C)},!!(F!=null&&F.length)&&(F==null?void 0:F.map((k,le)=>{var Ce,xe,qe,ft,nt,gt;const{name:et,id:at,identifier:j,featured:Me,school_name:b,image_url:A,excellent:o,is_plan:g}=k;return l.createElement("div",{key:at,className:Y&&we?e.wrapisCurrent:e.wrap,style:{width:S,marginRight:(1+le)%ee===0?0:He+ve,marginBottom:Pe}},l.createElement("a",{className:e.li,onClick:x=>{x.preventDefault(),x.stopPropagation(),De&&(0,L.L9)([De]),(0,L.xg)(`/paths/${j}`)}},l.createElement("div",{className:e.img},l.createElement("img",{className:e.cover,src:`${A}`}),Y&&(0,ye.bg)()&&(k==null?void 0:k.studying)&&l.createElement("div",{className:`${e.movebq} user-path-items`,onClick:x=>{x.stopPropagation(),Se(k)}},l.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),l.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ce=k==null?void 0:k.subject_tags)==null?void 0:Ce.map((x,I)=>{var a,i;if(I===0){const y=(a=me.find(c=>c.name==x))==null?void 0:a.swimg;return l.createElement("img",{className:e.sign,src:y,style:{left:"-4px"}})}const U=(i=me.find(y=>y.name==x))==null?void 0:i.ptimg;return l.createElement("img",{className:e.sign,src:U,style:{left:`${48+52*(I-1)+2*I}px`}})}),l.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(k==null?void 0:k.excellent)&&l.createElement("div",{className:e.bq},"\u5F00\u653E\u8BFE\u7A0B"))),l.createElement("div",{className:e.name},l.createElement(m.Z,{title:se&&(k!=null&&k.excellent_alias_name)?l.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${et}`,l.createElement("br",null),l.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${k==null?void 0:k.excellent_alias_name}`)):et},l.createElement("span",{className:e.e},se&&(k==null?void 0:k.excellent_alias_name)||et))),Y&&we&&((xe=k==null?void 0:k.progress)==null?void 0:xe.all_score)!=0&&l.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},l.createElement(V.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((qe=k==null?void 0:k.progress)==null?void 0:qe.my_score)/((ft=k==null?void 0:k.progress)==null?void 0:ft.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(nt=k==null?void 0:k.progress)==null?void 0:nt.my_score,"/",(gt=k==null?void 0:k.progress)==null?void 0:gt.all_score),(!Y||!we)&&l.createElement("div",{className:e.tags},l.createElement("div",null,l.createElement(m.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},l.createElement("span",null,l.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),l.createElement("span",null,k.stages_count))),l.createElement(m.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},l.createElement("span",null,l.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),l.createElement("span",null,k.members_count)))))))})),!F.length&&l.createElement(T.Z,null)))}},3918:function(Qe,Ne,t){t.d(Ne,{jL:function(){return h},w9:function(){return de},vv:function(){return it},dN:function(){return Ot},QD:function(){return an},cQ:function(){return I.Z},vg:function(){return Lt},Oz:function(){return vt},op:function(){return lt},O5:function(){return Fn},_b:function(){return Zt},t7:function(){return Pe},tT:function(){return De},Gi:function(){return It},YG:function(){return Ie},Ed:function(){return ct},kT:function(){return We},qp:function(){return Ze},Um:function(){return r},K3:function(){return H},vr:function(){return Sn},qE:function(){return pn},Je:function(){return Y},wb:function(){return gt},rC:function(){return x},lB:function(){return j},cq:function(){return kt},kO:function(){return q},tp:function(){return C},Si:function(){return wn},k8:function(){return ar},Du:function(){return Un}});var e=t(59301),n={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrH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bB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",h=({dataSource:J=[],img:Z,imgWidth:R=346,title:ue,sunTitle:Le,bannerExtraContent:Ye})=>e.createElement("div",{className:n.banner},e.createElement("div",{className:n.content},e.createElement("aside",null,e.createElement("p",null,e.createElement("b",null,ue),e.createElement("span",null,Le)),J.length>0&&e.createElement("div",{className:n.btns},J.map((oe,rt)=>e.createElement("div",{key:rt,onClick:oe.click},oe.name,oe.sign?e.createElement("img",{src:m,width:39}):null))),Ye),Z&&e.createElement("img",{style:{marginTop:33,marginRight:38},src:Z,width:R}))),z={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},L=t(92310),T=t.n(L),ye=t(89392),d=Object.defineProperty,be=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,Oe=(J,Z,R)=>Z in J?d(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,te=(J,Z)=>{for(var R in Z||(Z={}))E.call(Z,R)&&Oe(J,R,Z[R]);if(be)for(var R of be(Z))f.call(Z,R)&&Oe(J,R,Z[R]);return J},Ze=({dataSource:J=[],value:Z,onChange:R,onTitleChange:ue,className:Le,title:Ye,titleWidth:oe=41,style:rt={},fontColor:wt="#6A7283",showCount:jt,classNameActive:Et,styleItem:Ue={}})=>{const[qt,un]=(0,e.useState)(0),[En,Kt]=(0,e.useState)(!1),Mt=(0,e.useRef)(null),sn=(0,e.useRef)(null);return(0,e.useEffect)(()=>{var gn;J.length!==0&&(((gn=Mt==null?void 0:Mt.current)==null?void 0:gn.clientHeight)>97?un(1):un(0)),J.length===0&&un(0),Kt(!1)},[J]),e.createElement("div",{className:T()(z.row,Le),style:rt},e.createElement("div",{onClick:(0,ye.throttle)(()=>ue==null?void 0:ue(),2e3),style:{width:oe,marginTop:En?12:4},className:`${z.title} ${ue?"current":""}`},Ye),e.createElement("div",{className:En?`${z.tagsWrap} ${z.tagsBorderWrap}`:z.tagsWrap},e.createElement("div",{className:z.bar,ref:sn,style:qt>0?{height:qt===1?97:"auto",overflow:qt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},e.createElement("div",{className:z.tag,ref:Mt},J==null?void 0:J.map(gn=>e.createElement("span",{onClick:()=>R(gn.id),key:gn.id,style:te(te({color:wt},Ue),(gn==null?void 0:gn.style)||{}),className:Z===gn.id?T()(Et||z.active,gn.classNameActive):""},e.createElement("span",{title:gn.name,className:z.name},gn.name),!!jt&&e.createElement("span",{className:z.num},gn.count))))),!!qt&&e.createElement(e.Fragment,null,qt===1?e.createElement("div",{onClick:()=>{var gn;un(2),((gn=Mt==null?void 0:Mt.current)==null?void 0:gn.clientHeight)>245?Kt(!0):Kt(!1)},className:z.action},"\u5C55\u5F00",e.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):e.createElement("div",{onClick:()=>{sn.current.scrollTop=0,un(1),Kt(!1)},className:z.action},"\u6536\u8D77",e.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Q={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},H=({dataSource:J=[],value:Z,onChange:R,onTitleChange:ue,className:Le,title:Ye,titleWidth:oe=41,style:rt={},fontColor:wt="#6A7283",showCount:jt,expand:Et=!0})=>{const[Ue,qt]=(0,e.useState)(0),[un,En]=(0,e.useState)(!1),Kt=(0,e.useRef)(null),Mt=(0,e.useRef)(null),[sn,gn]=(0,e.useState)(Et);return e.createElement("div",{className:T()(Q.row,Le),style:rt},e.createElement("div",{className:"flex item-center justify-between"},e.createElement("div",{onClick:(0,ye.throttle)(()=>ue==null?void 0:ue(),2e3),style:{width:oe,marginTop:un?12:4},className:`${Q.title} ${ue?"current":""}`},Ye),e.createElement("i",{className:`iconfont ${sn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:sn?8:10},onClick:()=>gn(!sn)})),sn&&e.createElement("div",{className:un?`${Q.tagsWrap} ${Q.tagsBorderWrap}`:Q.tagsWrap},e.createElement("div",{className:Q.fenge}),e.createElement("div",{className:Q.bar,ref:Mt},e.createElement("div",{className:Q.tag,ref:Kt},J==null?void 0:J.map(Cn=>e.createElement("span",{onClick:()=>R(Cn.id),key:Cn.id,style:{color:wt},className:Z===Cn.id?Q.active:""},e.createElement("span",{title:Cn.name,className:Q.name},Cn.name),!!jt&&e.createElement("span",{className:Q.num},Cn.count)))))))},B={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},r=({dataSource:J=[],value:Z,onChange:R,onTitleChange:ue,className:Le,title:Ye,titleWidth:oe=41,style:rt={},fontColor:wt="#fff",showCount:jt,expand:Et=!0})=>{const[Ue,qt]=(0,e.useState)(0),[un,En]=(0,e.useState)(!1),Kt=(0,e.useRef)(null),Mt=(0,e.useRef)(null),[sn,gn]=(0,e.useState)(Et);return e.createElement("div",{className:T()(B.row,Le),style:rt},e.createElement("div",{className:"flex item-center justify-between"},e.createElement("div",{onClick:(0,ye.throttle)(()=>ue==null?void 0:ue(),2e3),style:{width:oe},className:`${B.title} ${ue?"current":""}`},Ye),e.createElement("i",{className:`iconfont ${sn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:sn?"#00DDC7":"#037F74",fontSize:sn?10:12},onClick:()=>gn(!sn)})),sn&&e.createElement("div",{className:un?`${B.tagsWrap} ${B.tagsBorderWrap}`:B.tagsWrap},e.createElement("div",{className:B.bar,ref:Mt},e.createElement("div",{className:B.tag,ref:Kt},J==null?void 0:J.map(Cn=>e.createElement("span",{onClick:()=>R(Cn.id),key:Cn.id,style:{color:wt},className:Z===Cn.id?B.active:""},e.createElement("span",{title:Cn.name,className:B.name},Cn.name),!!jt&&e.createElement("span",{className:B.num},Cn.count)))))))},s={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},C=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={}})=>e.createElement("div",{style:Le,className:T()(s.tabs,ue)},J.map(Ye=>e.createElement("span",{onClick:()=>R(Ye.id),className:Z===Ye.id?s.active:"",key:Ye.id},Ye.name))),F={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ee=t(92832),Pe=({dataSource:J=[],value:Z="",onChange:R,onInputChange:ue=()=>{},className:Le,style:Ye={},placeholder:oe,allowClear:rt=!1})=>{var wt;const[jt,Et]=(0,e.useState)(""),[Ue,qt]=(0,e.useState)("");(0,e.useEffect)(()=>{var Kt;let Mt=Z;(Kt=JSON.stringify(Z))!=null&&Kt.includes("{")&&(Et(Z.id),Mt=Z.value||"");try{qt(decodeURIComponent(Mt||""))}catch(sn){qt(decodeURIComponent(Mt||""))}},[Z]);const un=()=>{R(encodeURIComponent(Ue),jt||null)},En=Kt=>{Kt!==jt&&(Et(Kt),R(encodeURIComponent(Ue),Kt))};return e.createElement("div",{className:T()(F.input,Le),style:Ye},!!J.length&&e.createElement("div",{className:F.dropdown},e.createElement("div",{className:F.text},(wt=J.find(Kt=>Kt.id===jt))==null?void 0:wt.name,e.createElement("i",{className:"iconfont icon-zhankai4"}),e.createElement("b",{className:F.b1}),e.createElement("b",{className:F.b2})),e.createElement("div",{className:F.menu},J.map((Kt,Mt)=>e.createElement("div",{key:Mt,onClick:()=>En(Kt.id)},Kt.name)))),e.createElement(ee.default,{onPressEnter:un,value:Ue,onChange:Kt=>{qt(Kt.target.value),ue(encodeURIComponent(Kt.target.value),jt||null)},bordered:!1,placeholder:oe}),e.createElement("i",{onClick:un,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ve={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},De=({dataSource:J=[],value:Z="",onChange:R,onInputChange:ue=()=>{},className:Le,style:Ye={},placeholder:oe,allowClear:rt=!1})=>{var wt;const[jt,Et]=(0,e.useState)(""),[Ue,qt]=(0,e.useState)("");(0,e.useEffect)(()=>{var Kt;let Mt=Z;(Kt=JSON.stringify(Z))!=null&&Kt.includes("{")&&(Et(Z.id),Mt=Z.value||"");try{qt(decodeURIComponent(Mt||""))}catch(sn){qt(decodeURIComponent(Mt||""))}},[Z]);const un=()=>{R(encodeURIComponent(Ue),jt||null)},En=Kt=>{Kt!==jt&&(Et(Kt),R(encodeURIComponent(Ue),Kt))};return e.createElement("div",{className:T()(ve.input,Le),style:Ye},!!J.length&&e.createElement("div",{className:ve.dropdown},e.createElement("div",{className:ve.text},(wt=J.find(Kt=>Kt.id===jt))==null?void 0:wt.name,e.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),e.createElement("div",{className:ve.menu},J.map((Kt,Mt)=>e.createElement("div",{key:Mt,onClick:()=>En(Kt.id)},Kt.name)))),e.createElement(ee.default,{onPressEnter:un,value:Ue,onChange:Kt=>{qt(Kt.target.value),ue(encodeURIComponent(Kt.target.value),jt||null)},bordered:!1,placeholder:oe}),e.createElement("i",{onClick:un,className:"iconfont icon-sousuo9 font14 pl10 current"}))},je={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Y=({value:J,onChange:Z,className:R,total:ue,pageSize:Le,style:Ye={}})=>{const oe=J<2,rt=J>=Math.ceil(ue/Le);return ue<=Le?e.createElement(e.Fragment,null):e.createElement("div",{className:T()(je.quickPager,R),style:Ye},e.createElement("div",{onClick:()=>{oe||Z(J-1,"prev")},className:oe?je.disabled:""},"\u4E0A\u4E00\u9875"),e.createElement("div",{onClick:()=>{rt||Z(J+1,"next")},className:rt?je.disabled:""},"\u4E0B\u4E00\u9875"))},se={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},we=t(71418),S=t(6848),me=t(13570),k=t(74128),le=t(65862),Ce=t(96908),xe=t(57177),qe=t(81378),ft=t(2524),gt=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt})=>{const jt=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:wt},e.createElement("div",{className:T()(se.list,J)},!!Z.length&&Z.map((Et,Ue)=>{const{name:qt,id:un,identifier:En,power:Kt,cover_image_id:Mt,pic:sn}=Et;return e.createElement("div",{className:se.wrap,key:un,style:{width:jt,marginRight:(1+Ue)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/shixuns/${En}/challenges`,className:se.li,onClick:gn=>{gn.preventDefault(),rt&&(0,le.L9)([rt]),Kt&&(0,le.xg)(`/shixuns/${En}/challenges`)}},e.createElement("div",{className:se.img},e.createElement("img",{className:se.cover,src:`${sn}`}),Et.is_jupyter&&e.createElement("img",{className:se.sign,src:Ce}),Et.is_jupyter_lab&&e.createElement("img",{className:se.sign,src:xe}),Et.is_unity_3d&&e.createElement("img",{className:se.sign,src:qe})),e.createElement("div",{className:se.name},e.createElement(S.Z,{title:qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},e.createElement("span",{className:se.e},qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),e.createElement("div",{className:se.tags},e.createElement(S.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),e.createElement("span",null,Et.challenges_count))),!!Et.myshixuns_count&&e.createElement(S.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),e.createElement("span",null,Et.myshixuns_count))),e.createElement(S.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},e.createElement("span",null,e.createElement("span",null,Et.level))),e.createElement("div",{className:se.rate},e.createElement(me.Z,{allowHalf:!0,disabled:!0,defaultValue:Et.score_info}),e.createElement("span",null,"\xA0",Et.score_info?`${Et.score_info}\u5206`:"5\u5206")))),!Kt&&e.createElement("div",{className:se.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Z.length&&e.createElement(ft.Z,null)))},et={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},j=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,wrapClassName:rt,trackEventItems:wt,loading:jt})=>{const Et=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:jt},e.createElement("div",{className:T()(et.list,J)},!!Z.length&&Z.map((Ue,qt)=>{const{name:un,id:En,identifier:Kt,power:Mt,cover_image_id:sn,pic:gn}=Ue;return e.createElement("div",{className:T()(et.wrap,rt),key:En,style:{width:Et,marginRight:(1+qt)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/shixuns/${Kt}/challenges`,className:et.li,onClick:Cn=>{Cn.preventDefault(),wt&&(0,le.L9)([wt]),Mt&&(0,le.xg)(`/shixuns/${Kt}/challenges`)}},e.createElement("img",{src:t(47621),className:et.titleBg}),e.createElement("div",{className:et.name},e.createElement(S.Z,{title:un||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},e.createElement("span",{className:et.e},un||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),e.createElement("div",{style:{padding:"14px",paddingBottom:0}},e.createElement("div",{className:et.img},e.createElement("img",{className:et.cover,src:sn?`${k.Z.API_SERVER}/api/attachments/${sn}`:`${k.Z.IMG_SERVER+gn}`}),Ue.is_jupyter&&e.createElement("div",{className:et.bq},"Jupyter"),Ue.is_jupyter_lab&&e.createElement("div",{className:et.bq},"JupyterLab"),Ue.is_unity_3d&&e.createElement("div",{className:et.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),e.createElement("div",{className:"mt20 flex item-center justify-between"},e.createElement("div",null,e.createElement("span",{className:et.text},"\u5B66\u4E60\u4EBA\u6570"),e.createElement("span",{className:et.value},Ue.myshixuns_count)),e.createElement("div",null,e.createElement("span",{className:et.text},"\u56F0\u96BE\u7B49\u7EA7"),e.createElement("span",{className:et.value},Ue.level))),e.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},e.createElement("div",null,e.createElement("span",{className:et.text},"\u5173\u5361\u6570"),e.createElement("span",{className:et.value},Ue.challenges_count)),e.createElement("div",{className:et.rate},e.createElement(me.Z,{allowHalf:!0,disabled:!0,defaultValue:Ue.score_info}),e.createElement("span",{className:et.value,style:{color:"#FF9C00"}},"\xA0",Ue.score_info?`${Ue.score_info}\u5206`:"5\u5206"))))),!Mt&&e.createElement("div",{className:et.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Z.length&&e.createElement(ft.Z,null)))},Me={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZ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hOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",x=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt,wrapClassName:jt,imgClassName:Et})=>{const Ue=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:wt},e.createElement("div",{className:T()(Me.list,J)},!!Z.length&&Z.map((qt,un)=>{const{name:En,id:Kt,identifier:Mt,power:sn,cover_image_id:gn,pic:Cn}=qt;return e.createElement("div",{className:T()(Me.wrap,jt),key:Kt,style:{width:Ue,marginRight:(1+un)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/shixuns/${Mt}/challenges`,className:Me.li,onClick:Zn=>{Zn.preventDefault(),rt&&(0,le.L9)([rt]),sn&&(0,le.xg)(`/shixuns/${Mt}/challenges`)}},e.createElement("div",{className:T()(Me.img,Et)},e.createElement("img",{className:Me.cover,src:gn?`${k.Z.API_SERVER}/api/attachments/${gn}`:`${k.Z.IMG_SERVER+Cn}`}),qt.is_jupyter&&e.createElement("img",{className:Me.sign,src:b}),qt.is_jupyter_lab&&e.createElement("img",{className:Me.sign,src:A}),qt.is_unity_3d&&e.createElement("img",{className:Me.sign,src:o})),e.createElement("div",{className:Me.name},e.createElement(S.Z,{title:En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},e.createElement("span",{className:Me.e},En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),e.createElement("div",{className:Me.tags},e.createElement(S.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),e.createElement("span",null,qt.challenges_count))),!!qt.myshixuns_count&&e.createElement(S.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),e.createElement("span",null,qt.myshixuns_count))),e.createElement(S.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},e.createElement("span",null,e.createElement("span",null,qt.level))),e.createElement("div",{className:Me.rate},e.createElement(me.Z,{allowHalf:!0,disabled:!0,defaultValue:qt.score_info}),e.createElement("span",null,"\xA0",qt.score_info?`${qt.score_info}\u5206`:"5\u5206")))),!sn&&e.createElement("div",{className:Me.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Z.length&&e.createElement(ft.Z,null)))},I=t(61584),a={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},i=t(79005),U=t(20345),y=t(77882),c=t(31081),M=t(75309),fe=t(71979),W=t(47558),Ee=t(42922),$=t(66832),ne=t(96593),v=t(19664),P=t(91833),G=Object.defineProperty,ge=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Fe=(J,Z,R)=>Z in J?G(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,Te=(J,Z)=>{for(var R in Z||(Z={}))Be.call(Z,R)&&Fe(J,R,Z[R]);if(ge)for(var R of ge(Z))Ge.call(Z,R)&&Fe(J,R,Z[R]);return J};const ot=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:i,swimg:U},{name:"101\u8BA1\u5212",ptimg:y,swimg:c},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:M,swimg:fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:W,swimg:Ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:$,swimg:ne},{name:"\u519B\u961F\u4E00\u6D41",ptimg:v,swimg:P}];var vt=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt,wrapClassName:jt,imgClassName:Et,isArrow:Ue=!1,imgStyle:qt={}})=>{const un=Math.floor((oe-(R-1)*ue)/R),[En,Kt]=(0,e.useState)(),[Mt,sn]=(0,e.useState)(),gn=Zn=>Kt(Zn),Cn=()=>Kt(-1);return e.createElement(we.Z,{spinning:wt},e.createElement("div",{className:T()(a.list,J)},!!(Z!=null&&Z.length)&&(Z==null?void 0:Z.map((Zn,Vn)=>{var Ar;const{name:xr,id:gr,identifier:vr,featured:br,school_name:Xn,image_url:or,excellent:ur,is_plan:pr}=Zn;return e.createElement("div",{key:gr,className:T()(a.wrap,jt),style:{width:un,marginRight:(1+Vn)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/paths/${vr}`,className:a.li,onClick:er=>{er.preventDefault(),rt&&(0,le.L9)([rt]),(0,le.xg)(`/paths/${vr}`)}},e.createElement("img",{src:t(39057),className:a.titleBg}),e.createElement("div",{className:a.name},e.createElement(S.Z,{title:xr},e.createElement("span",{className:a.e,style:{color:Ue&&En===Vn?"#145DFF":"#000000"},onMouseEnter:()=>{gn(Vn)},onMouseLeave:Cn},xr))),e.createElement("div",{style:{padding:"14px",paddingBottom:0}},e.createElement("div",{className:T()(a.img,Et)},e.createElement("img",{className:a.cover,style:Te({},qt),src:`${k.Z.IMG_SERVER+or}`}),(Ar=Zn==null?void 0:Zn.subject_tags)==null?void 0:Ar.map((er,Wn)=>{var fr,Er;if(Wn===0){const dr=(fr=ot.find(vn=>vn.name==er))==null?void 0:fr.swimg;return e.createElement("img",{className:a.sign,src:dr,style:{left:"-4px"}})}const Cr=(Er=ot.find(dr=>dr.name==er))==null?void 0:Er.ptimg;return e.createElement("img",{className:a.sign,src:Cr,style:{left:`${48+52*(Wn-1)+2*Wn}px`}})}),e.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Zn==null?void 0:Zn.excellent)&&e.createElement("div",{className:a.bq},"\u5F00\u653E\u8BFE\u7A0B"))),e.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},e.createElement("div",null,e.createElement("span",{className:a.text},"\u7AE0\u8282\u6570"),e.createElement("span",{className:a.value},Zn.stages_count)),e.createElement("div",null,e.createElement("span",{className:a.text},"\u5B66\u4E60\u4EBA\u6570"),e.createElement("span",{className:a.value},Zn.members_count))))))})),!Z.length&&e.createElement(ft.Z,null)))},yt={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Wt=t(41867),$e=t(59301);const pt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:i,swimg:U},{name:"101\u8BA1\u5212",ptimg:y,swimg:c},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:M,swimg:fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:W,swimg:Ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:$,swimg:ne},{name:"\u519B\u961F\u4E00\u6D41",ptimg:v,swimg:P}];var Lt=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt,onRemove:jt=()=>{},isCurrent:Et=!0,showAlias:Ue=!1,wrapClassName:qt,imgClassName:un})=>{const En=Math.floor((oe-(R-1)*ue)/R),Kt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Mt=>(window.ENV==="build"&&(Mt.ptimg=`/react/build${Mt.ptimg}`,Mt.swimg=`/react/build${Mt.swimg}`),Mt));return $e.createElement(we.Z,{spinning:wt},$e.createElement("div",{className:T()(yt.list,J)},!!(Z!=null&&Z.length)&&(Z==null?void 0:Z.map((Mt,sn)=>{var gn;const{name:Cn,id:Zn,identifier:Vn,featured:Ar,school_name:xr,image_url:gr,excellent:vr,is_plan:br}=Mt;return $e.createElement("div",{key:Zn,className:T()(yt.wrap,qt),style:{width:En,marginRight:(1+sn)%R===0?0:ue+Ye,marginBottom:Le}},$e.createElement("a",{className:yt.li,onClick:Xn=>{Xn.preventDefault(),Xn.stopPropagation(),rt&&(0,le.L9)([rt]),(0,le.xg)(`/paths/${Vn}`)}},$e.createElement("div",{className:T()(yt.img,un)},$e.createElement("img",{className:yt.cover,src:`${k.Z.IMG_SERVER+gr}`}),Et&&(0,Wt.bg)()&&(Mt==null?void 0:Mt.studying)&&$e.createElement("div",{className:`${yt.movebq} user-path-items`,onClick:Xn=>{Xn.stopPropagation(),jt(Mt)}},$e.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),$e.createElement("span",{className:"c-red"},"\u79FB\u9664")),(gn=Mt==null?void 0:Mt.subject_tags)==null?void 0:gn.map((Xn,or)=>{var ur,pr;if(or===0){const Wn=(ur=Kt.find(fr=>fr.name==Xn))==null?void 0:ur.swimg;return $e.createElement("img",{className:yt.sign,src:Wn,style:{left:"-4px"}})}const er=(pr=Kt.find(Wn=>Wn.name==Xn))==null?void 0:pr.ptimg;return $e.createElement("img",{className:yt.sign,src:er,style:{left:`${48+52*(or-1)+2*or}px`}})}),$e.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Mt==null?void 0:Mt.excellent)&&$e.createElement("div",{className:yt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),$e.createElement("div",{className:yt.name},$e.createElement(S.Z,{title:Ue&&(Mt!=null&&Mt.excellent_alias_name)?$e.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Cn}`,$e.createElement("br",null),$e.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Mt==null?void 0:Mt.excellent_alias_name}`)):Cn},$e.createElement("span",{className:yt.e},Ue&&(Mt==null?void 0:Mt.excellent_alias_name)||Cn))),$e.createElement("div",{className:yt.tags},$e.createElement("div",null,$e.createElement(S.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},$e.createElement("span",null,$e.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),$e.createElement("span",null,Mt.stages_count))),$e.createElement(S.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},$e.createElement("span",null,$e.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),$e.createElement("span",null,Mt.members_count)))))))})),!Z.length&&$e.createElement(ft.Z,null)))},dt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YY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STClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ct=t(59301),de=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt})=>{const jt=Math.floor((oe-(R-1)*ue)/R);return Ct.createElement(we.Z,{spinning:wt},Ct.createElement("div",{className:T()(dt.list,J)},!!Z.length&&Z.map((Et,Ue)=>{const{subject_identifier:qt,id:un,identifier:En,power:Kt}=Et,Mt=Et.is_public!=0&&Et.is_public;return Ct.createElement("div",{className:dt.wrap,key:un,style:{width:jt,marginRight:(1+Ue)%R===0?0:ue+Ye,marginBottom:Le}},Ct.createElement("a",{className:dt.li,onClick:sn=>{sn.preventDefault(),rt&&(0,le.L9)([rt]),(0,le.xg)(Et.first_category_url)}},Ct.createElement("div",{className:dt.top},Ct.createElement(S.Z,{title:Et.name},Ct.createElement("div",{className:dt.name},Et.name)),Ct.createElement("img",{className:dt.img,src:k.Z.IMG_SERVER+"/images/"+Et.avatar_url}),Ct.createElement("div",{className:dt.text,title:Et.creator},Et.creator),qt&&Ct.createElement("div",{className:dt.btns},Ct.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ct.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Mt&&Ct.createElement("div",{className:dt.sign},"\u516C\u5F00")),Ct.createElement("div",{className:dt.bottom},Et.visits>0&&Ct.createElement(S.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ct.createElement("span",null,Ct.createElement("i",{className:"iconfont icon-liulanyan"}),Ct.createElement("span",null,Et.visits))),Et.course_members_count>0&&Ct.createElement(S.Z,{title:"\u6210\u5458",placement:"bottom"},Ct.createElement("span",null,Ct.createElement("i",{className:"iconfont icon-chengyuan"}),Et.course_members_count)),Et.tasks_count>0&&Ct.createElement(S.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ct.createElement("span",null,Ct.createElement("i",{className:"iconfont icon-zuoye"}),Et.tasks_count)),Et.is_end?Ct.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ct.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Et.is_accessible&&Ct.createElement("div",{className:dt.lockWrap},Ct.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ct.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Z.length&&Ct.createElement(ft.Z,null)))},N={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExM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PP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ot=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,wrapClassName:rt,trackEventItems:wt,loading:jt})=>{const Et=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:jt},e.createElement("div",{className:T()(N.list,J)},!!Z.length&&Z.map((Ue,qt)=>{const{subject_identifier:un,id:En,identifier:Kt,power:Mt}=Ue,sn=Ue.is_public!=0&&Ue.is_public;return e.createElement("div",{className:T()(`${N.wrap} ${Ue.is_accessible?"":N.warpStyle}`,rt),key:En,style:{width:Et,marginRight:(1+qt)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{className:N.li,onClick:gn=>{gn.preventDefault(),wt&&(0,le.L9)([wt]),(0,le.xg)(Ue.first_category_url)}},e.createElement("div",{className:N.creator},e.createElement("img",{className:N.img,src:k.Z.IMG_SERVER+"/images/"+Ue.avatar_url}),e.createElement("div",{className:N.text,title:Ue.creator},Ue.creator)),e.createElement("div",{className:N.top},e.createElement(S.Z,{title:Ue.name},e.createElement("div",{className:N.name},Ue.name)),sn&&e.createElement("div",{className:N.sign},"\u516C\u5F00")),e.createElement("div",{className:N.middle},e.createElement("div",{className:N.row,style:{marginBottom:6}},e.createElement("div",null,e.createElement("span",{className:N.text},"\u8BBF\u95EE\u91CF"),e.createElement("span",{className:N.value},(Ue==null?void 0:Ue.visits)||0)),e.createElement("div",null,e.createElement("span",{className:N.text},"\u6210\u5458"),e.createElement("span",{className:N.value},(Ue==null?void 0:Ue.course_members_count)||0))),e.createElement("div",{className:N.row},e.createElement("div",null,e.createElement("span",{className:N.text,style:{width:42}},"\u4F5C",e.createElement("span",{style:{marginLeft:14}},"\u4E1A")),e.createElement("span",{className:N.value},(Ue==null?void 0:Ue.tasks_count)||0)),e.createElement("div",null,e.createElement("span",{className:N.text},"\u72B6\u6001"),Ue.is_end?e.createElement("span",{className:N.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):e.createElement("span",{className:N.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),un&&e.createElement("div",{className:N.btns},e.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),e.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ue.is_accessible&&e.createElement("div",{className:N.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Z.length&&e.createElement(ft.Z,null)))},Ke={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Bt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20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vxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",it=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,wrapClassName:rt,trackEventItems:wt,loading:jt})=>{const Et=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:jt},e.createElement("div",{className:T()(Ke.list,J)},!!Z.length&&Z.map((Ue,qt)=>{const{subject_identifier:un,id:En,identifier:Kt,power:Mt}=Ue,sn=Ue.is_public!=0&&Ue.is_public;return e.createElement("div",{className:T()(`${Ke.wrap} ${Ue.is_accessible?"":Ke.warpStyle}`,rt),key:En,style:{width:Et,marginRight:(1+qt)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{className:Ke.li,onClick:gn=>{gn.preventDefault(),wt&&(0,le.L9)([wt]),(0,le.xg)(Ue.first_category_url)}},e.createElement("div",{className:Ke.creator},e.createElement("img",{className:Ke.img,src:k.Z.IMG_SERVER+"/images/"+Ue.avatar_url}),e.createElement("div",{className:Ke.text,title:Ue.creator},Ue.creator)),e.createElement("div",{className:Ke.top},e.createElement(S.Z,{title:Ue.name},e.createElement("div",{className:Ke.name},Ue.name)),sn&&e.createElement("div",{className:Ke.sign})),e.createElement("div",{className:Ke.middle},e.createElement("div",{className:Ke.row,style:{marginBottom:6}},e.createElement("div",null,e.createElement("span",{className:Ke.text},"\u8BBF\u95EE\u91CF"),e.createElement("span",{className:Ke.value},(Ue==null?void 0:Ue.visits)||0)),e.createElement("div",null,e.createElement("span",{className:Ke.text},"\u6210\u5458"),e.createElement("span",{className:Ke.value},(Ue==null?void 0:Ue.course_members_count)||0))),e.createElement("div",{className:Ke.row},e.createElement("div",null,e.createElement("span",{className:Ke.text,style:{width:42}},"\u4F5C",e.createElement("span",{style:{marginLeft:14}},"\u4E1A")),e.createElement("span",{className:Ke.value},(Ue==null?void 0:Ue.tasks_count)||0)),e.createElement("div",null,e.createElement("span",{className:Ke.text},"\u72B6\u6001"),Ue.is_end?e.createElement("span",{className:Ke.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):e.createElement("span",{className:Ke.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),un&&e.createElement("div",{className:Ke.btns},e.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),e.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ue.is_accessible&&e.createElement("div",{className:Ke.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Z.length&&e.createElement(ft.Z,null)))},Vt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},w=t(65582),Ie=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={},tabBarExtraContent:Ye})=>e.createElement("div",{className:T()(Vt.tabs,ue),style:Le},e.createElement("div",{className:Vt.tabsWrap},J.map((oe,rt)=>e.createElement("aside",{className:Vt.tab,onClick:()=>{R(oe.id),oe.link&&w.history.push(oe.link)},key:rt},e.createElement("div",{className:Z===oe.id?Vt.active:""},oe.name),(oe==null?void 0:oe.resetCount)==null&&(oe==null?void 0:oe.total)!==void 0&&e.createElement("span",null,"\uFF08",oe==null?void 0:oe.total,"\uFF09"),(oe==null?void 0:oe.resetCount)!==void 0&&(oe==null?void 0:oe.total)!==void 0&&e.createElement(S.Z,{title:(oe==null?void 0:oe.tip)!=null?oe==null?void 0:oe.tip:""},e.createElement("span",{style:{color:"#9096A3"}},"\uFF08",e.createElement("span",{style:{color:"#000"}},oe==null?void 0:oe.resetCount),"/",e.createElement("span",null,oe==null?void 0:oe.total),"\uFF09"))))),e.createElement("div",{className:Vt.tabBar},Ye)),_={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},We=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={},tabBarExtraContent:Ye})=>e.createElement("div",{className:T()(_.tabs,ue),style:Le},e.createElement("div",{className:_.tabsWrap},J.map((oe,rt)=>e.createElement("aside",{className:_.tab,onClick:()=>{R(oe.id),oe.link&&w.history.push(oe.link)},key:rt},e.createElement("div",{className:Z===oe.id?_.active:""},oe.name),(oe==null?void 0:oe.resetCount)==null&&(oe==null?void 0:oe.total)!==void 0&&e.createElement("span",null,"\uFF08",oe==null?void 0:oe.total,"\uFF09"),(oe==null?void 0:oe.resetCount)!==void 0&&(oe==null?void 0:oe.total)!==void 0&&e.createElement(S.Z,{title:(oe==null?void 0:oe.tip)!=null?oe==null?void 0:oe.tip:""},e.createElement("span",{style:{color:"#9096A3"}},"\uFF08",e.createElement("span",{style:{color:"#000"}},oe==null?void 0:oe.resetCount),"/",e.createElement("span",null,oe==null?void 0:oe.total),"\uFF09"))))),e.createElement("div",{className:_.tabBar},Ye)),ke={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},ct=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={},tabBarExtraContent:Ye})=>e.createElement("div",{className:T()(ke.tabs,ue),style:Le},e.createElement("div",{className:ke.tabsWrap},J.map((oe,rt)=>e.createElement("aside",{className:`${ke.tab} ${Z===oe.id?ke.active:""}`,onClick:()=>{R(oe.id),oe.link&&w.history.push(oe.link)},key:rt},e.createElement("div",null,oe.name),(oe==null?void 0:oe.resetCount)==null&&(oe==null?void 0:oe.total)!==void 0&&e.createElement("span",null,"\uFF08",oe==null?void 0:oe.total,"\uFF09"),(oe==null?void 0:oe.resetCount)!==void 0&&(oe==null?void 0:oe.total)!==void 0&&e.createElement(S.Z,{title:(oe==null?void 0:oe.tip)!=null?oe==null?void 0:oe.tip:""},e.createElement("span",{style:{color:"#9096A3"}},"\uFF08",e.createElement("span",{style:{color:"#000"}},oe==null?void 0:oe.resetCount),"/",e.createElement("span",null,oe==null?void 0:oe.total),"\uFF09"))))),e.createElement("div",{className:ke.tabBar},Ye)),It=({className:J,style:Z={},children:R})=>e.createElement("div",{className:T()(J),style:Z},R),_e={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Rt=t(38854),pe=t(20834);const tt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var kt=({sortValue:J,dropValue:Z,className:R,onSort:ue,onDrop:Le,dataSource:Ye=tt})=>{var oe;return e.createElement("div",{className:T()(_e.orderWrap,R)},e.createElement(Rt.Z,{dropdownRender:()=>e.createElement(pe.default,null,Ye.map((rt,wt)=>e.createElement(pe.default.Item,{key:wt,onClick:()=>Le(rt.id)},rt.name)))},e.createElement("span",{className:_e.orderTextWrap},(oe=Ye.find(rt=>Z===rt.id))==null?void 0:oe.name)),e.createElement("span",{className:_e.orderIconWrap},e.createElement("span",{className:_e.orderAsc},e.createElement("i",{className:J==="asc"?`iconfont icon-sanjiaoxing-up font12 ${_e.cursorPointer} ${_e.active}`:`iconfont icon-sanjiaoxing-up font12 ${_e.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")})),e.createElement("span",{className:_e.orderDesc},e.createElement("i",{className:J==="desc"?`iconfont icon-sanjiaoxing-down font12 ${_e.cursorPointer} ${_e.active}`:`iconfont icon-sanjiaoxing-down font12 ${_e.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")}))))},zt={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const en=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var q=({sortValue:J,dropValue:Z,className:R,onSort:ue,onDrop:Le,dataSource:Ye=en})=>{var oe;return e.createElement("div",{className:T()(zt.orderWrap,R)},e.createElement(Rt.Z,{dropdownRender:()=>e.createElement(pe.default,null,Ye.map((rt,wt)=>e.createElement(pe.default.Item,{key:wt,onClick:()=>Le(rt.id)},rt.name)))},e.createElement("span",{className:zt.orderTextWrap},(oe=Ye.find(rt=>Z===rt.id))==null?void 0:oe.name)),e.createElement("span",{className:zt.orderIconWrap},e.createElement("span",{className:zt.orderAsc},e.createElement("i",{className:J==="asc"?`iconfont icon-sanjiaoxing-up font12 ${zt.cursorPointer} ${zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${zt.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")})),e.createElement("span",{className:zt.orderDesc},e.createElement("i",{className:J==="desc"?`iconfont icon-sanjiaoxing-down font12 ${zt.cursorPointer} ${zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${zt.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")}))))},ie={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},he=t(3113),ae=t(2337),D=Object.defineProperty,O=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Xe=(J,Z,R)=>Z in J?D(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,xt=(J,Z)=>{for(var R in Z||(Z={}))ce.call(Z,R)&&Xe(J,R,Z[R]);if(O)for(var R of O(Z))Ve.call(Z,R)&&Xe(J,R,Z[R]);return J},bt=(J,Z)=>{var R={};for(var ue in J)ce.call(J,ue)&&Z.indexOf(ue)<0&&(R[ue]=J[ue]);if(J!=null&&O)for(var ue of O(J))Z.indexOf(ue)<0&&Ve.call(J,ue)&&(R[ue]=J[ue]);return R},Gt=(J,Z,R)=>new Promise((ue,Le)=>{var Ye=wt=>{try{rt(R.next(wt))}catch(jt){Le(jt)}},oe=wt=>{try{rt(R.throw(wt))}catch(jt){Le(jt)}},rt=wt=>wt.done?ue(wt.value):Promise.resolve(wt.value).then(Ye,oe);rt((R=R.apply(J,Z)).next())}),lt=J=>{var Z=J,{className:R,style:ue,children:Le,loading:Ye=!1,openLoading:oe,onClick:rt=()=>{},size:wt="middle",shape:jt="round",theme:Et}=Z,Ue=bt(Z,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[qt,un]=(0,e.useState)(!1),En=(0,e.useMemo)(()=>{switch(Et){case ae.Fy.THEMEONE:return ie.ThemeOne;case ae.Fy.DEFAULT:default:return ie.btn}},[Et]);return e.createElement(he.ZP,xt({onClick:(0,ye.throttle)(Kt=>Gt(void 0,null,function*(){oe&&un(!0);try{yield rt(Kt)}catch(Mt){console.log("error",Mt)}oe&&un(!1)}),2e3,{leading:!0,trailing:!1}),className:T()(En,ie[`${wt}-${jt}`],R),style:ue,size:wt,shape:jt,loading:qt||Ye},Ue),Le)},Yt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},pn=({className:J,style:Z,children:R=null,onClick:ue,title:Le})=>e.createElement("div",{className:T()(Yt.head,J),style:Z},e.createElement("span",{className:"primary-hover",onClick:ue},e.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),e.createElement("b",{title:Le},Le),e.createElement("div",{className:Yt.node},R)),nn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},an=({confirmShow:J=!0,confirmTitle:Z,confirmClick:R,cancelShow:ue=!0,cancelTitle:Le,cancelClick:Ye,className:oe,style:rt,confirmLoading:wt=!1})=>e.createElement("div",{className:T()(nn.btns,oe),style:rt},J&&e.createElement(he.ZP,{loading:wt,onClick:R,type:"primary",className:nn.confirm},Z),ue&&e.createElement(he.ZP,{onClick:Ye,className:nn.cancel},Le)),Jt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Sn=({className:J,style:Z={},LeftContent:R,children:ue,RightContent:Le})=>e.createElement("div",{className:T()(Jt.fixedBottom,J),style:Z},e.createElement("div",{className:Jt.wrap},e.createElement("div",{className:Jt.left},R),e.createElement("div",{className:Jt.center},ue),e.createElement("div",{className:Jt.right},Le))),Pt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Zt=({className:J,style:Z={},dataSource:R=[]})=>e.createElement("div",{className:T()(Pt.crumbs,J),style:Z},R.map((ue,Le)=>Lew.history.push(ue.path)},ue.name):e.createElement("span",null,ue.name),e.createElement("span",null,"\xA0",">","\xA0")):e.createElement("span",{key:Le,style:{color:"#5F6368"}},ue.name))),ln=t(31797),rn=Object.defineProperty,on=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,bn=(J,Z,R)=>Z in J?rn(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,At=(J,Z)=>{for(var R in Z||(Z={}))An.call(Z,R)&&bn(J,R,Z[R]);if(dn)for(var R of dn(Z))fn.call(Z,R)&&bn(J,R,Z[R]);return J},ut=(J,Z)=>on(J,tn(Z)),Ut=(J,Z)=>{var R={};for(var ue in J)An.call(J,ue)&&Z.indexOf(ue)<0&&(R[ue]=J[ue]);if(J!=null&&dn)for(var ue of dn(J))Z.indexOf(ue)<0&&fn.call(J,ue)&&(R[ue]=J[ue]);return R};const{Countdown:_t}=ln.default;var Fn=J=>{var Z=J,{onChange:R}=Z,ue=Ut(Z,["onChange"]);const[Le,Ye]=(0,e.useState)(null);(0,e.useEffect)(()=>{typeof Le=="number"&&Le>=0&&R(Le)},[Le]);const oe=rt=>{const wt=Math.floor(rt/1e3);Ye(wt)};return e.createElement(_t,ut(At({},ue),{onChange:oe}))},In={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},wn=({DataProps:J,className:Z,style:R={}})=>{var ue;return e.createElement("div",{className:T()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",In.ClassRoomItem,Z),style:R,onClick:()=>{(0,le.xg)(J==null?void 0:J.first_category_url)}},e.createElement("div",{className:"flex flex-col item-center"},e.createElement("img",{src:`${(ue=k.Z)==null?void 0:ue.IMG_SERVER}/images/${J==null?void 0:J.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(J==null?void 0:J.subject_identifier)&&e.createElement("div",{className:"mt-40px"},e.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),e.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),e.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},e.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(J!=null&&J.is_public)&&e.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),e.createElement("span",{className:T()("text-16px font-medium",In.TitleDom)},J==null?void 0:J.name)),e.createElement("div",{className:"c-grey-333 font-medium"},J==null?void 0:J.creator),e.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",J==null?void 0:J.course_members_count),e.createElement("div",{className:"c-grey-333 flex item-center justify-between"},e.createElement("div",null,"\u4F5C\u4E1A\uFF1A",J==null?void 0:J.tasks_count),J!=null&&J.is_end?e.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):e.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Dn=Object.defineProperty,On=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Rn=(J,Z,R)=>Z in J?Dn(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,Hn=(J,Z)=>{for(var R in Z||(Z={}))zn.call(Z,R)&&Rn(J,R,Z[R]);if(On)for(var R of On(Z))yn.call(Z,R)&&Rn(J,R,Z[R]);return J},Un=({DataProps:J=[],selectValue:Z,onChange:R,className:ue,style:Le={},extra:Ye,classNameItem:oe,styleItem:rt={},barHidden:wt})=>{const[jt,Et]=(0,e.useState)();return(0,e.useEffect)(()=>{Et(Array.isArray(Z)?Z:[Z])},[Z]),e.createElement("div",{className:T()("flex px-20px py-10px gap-40px",ue),style:Hn({borderBottom:"1px solid #D3F0FF"},Le)},J==null?void 0:J.map(Ue=>e.createElement("div",{key:Ue==null?void 0:Ue.id,className:T()("flex item-center justify-center current c-grey-333 text-16 relative",oe,Ue==null?void 0:Ue.className),style:Hn(Hn({color:jt!=null&&jt.includes(Ue==null?void 0:Ue.id)?"#1890FF":"",minWidth:88},rt),(Ue==null?void 0:Ue.style)||{}),onClick:qt=>{R==null||R({domEvent:qt,item:Ue}),Ue!=null&&Ue.link&&w.history.push(Ue==null?void 0:Ue.link)}},Ue==null?void 0:Ue.name,!wt&&(jt==null?void 0:jt.includes(Ue==null?void 0:Ue.id))&&e.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),e.createElement("div",{className:"ml-auto"},Ye))},Qn=Object.defineProperty,Kn=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,Jn=(J,Z,R)=>Z in J?Qn(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,Tn=(J,Z)=>{for(var R in Z||(Z={}))nr.call(Z,R)&&Jn(J,R,Z[R]);if(jn)for(var R of jn(Z))rr.call(Z,R)&&Jn(J,R,Z[R]);return J},sr=(J,Z)=>Kn(J,ir(Z)),ar=({value:J,onChange:Z,onInputChange:R,className:ue,style:Le={},InputProps:Ye})=>{const[oe,rt]=(0,e.useState)(J);return e.createElement("div",{className:T()("flex item-center rounded-full px-10px py-2px",ue),style:Tn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Le)},e.createElement(ee.default,sr(Tn({bordered:!1},Ye),{onChange:wt=>{rt(wt.target.value),R==null||R(encodeURIComponent(wt.target.value))},onPressEnter:wt=>{Z==null||Z({domEvent:wt,item:{value:oe}})}})),e.createElement("img",{className:"h-22px current",src:t(25365),height:22,onClick:wt=>{Z==null||Z({domEvent:wt,item:{value:oe}})}}))}},92151:function(Qe,Ne,t){t.r(Ne),t.d(Ne,{default:function(){return Ct}});var e=t(2337),n=t(59301),m=t(65582),V=t(60979),h={page_warp:"page_warp___kpjls",con_warp:"con_warp___j6xTy",left_warp:"left_warp___xKMIs",direction_type_warp:"direction_type_warp___t8L0r",direction_item:"direction_item___c6epi",active_direction_item:"active_direction_item___NYpSl",active_sanjiao:"active_sanjiao___OBDlC",sub_warp:"sub_warp___tIqRQ",tooltip_name:"tooltip_name___VW4tv",type_item:"type_item___nvsSk",active_type_item:"active_type_item___XrS_S",btn_sty:"btn_sty___mZCfN",right_warp:"right_warp___g3Coa",list_warp_css:"list_warp_css___i4wD6",item_warp:"item_warp___Xe9ho",cover:"cover___u9d1x",item_title:"item_title___D1RYZ",img:"img___aqkZf",sign:"sign___X1D5W",item_info_warp:"item_info_warp___RceyU",rate:"rate___sR1Iw",lockWrap:"lockWrap___qsR8X"},z=t(89392),L=t.n(z),T={flex_box_center:"flex_box_center___WmBuT",flex_space_between:"flex_space_between___wVvNb",flex_box_vertical_center:"flex_box_vertical_center___hSMZR",flex_box_center_end:"flex_box_center_end___GrXBM",flex_box_column:"flex_box_column___QRWob",input:"input___pEMe9",dropdown:"dropdown___O1X6b",menu:"menu___Rk1XU",text:"text___ezQOX",active_item:"active_item___VIjHs"},ye=t(92310),d=t.n(ye),be=t(92832),f=({dataSource:re=[],value:de="",onChange:N,onInputChange:Nt=()=>{},className:Qt,style:Ot={},placeholder:Ke,allowClear:Bt=!1})=>{var K;const[it,Vt]=(0,n.useState)(""),[w,p]=(0,n.useState)("");(0,n.useEffect)(()=>{var Re;let We=de;(Re=JSON.stringify(de))!=null&&Re.includes("{")&&(Vt(de.id),We=de.value||"");try{p(decodeURIComponent(We||""))}catch(ke){p(decodeURIComponent(We||""))}},[de]);const Ie=()=>{N(encodeURIComponent(w),it||null)},_=Re=>{Re!==it&&(Vt(Re),N(encodeURIComponent(w),Re))};return n.createElement("div",{className:d()(T.input,Qt),style:Ot},!!re.length&&n.createElement("div",{className:T.dropdown},n.createElement("div",{className:T.text},(K=re.find(Re=>Re.id===it))==null?void 0:K.name,n.createElement("i",{className:"iconfont icon-zhankai4"})),n.createElement("div",{className:T.menu},re.map((Re,We)=>n.createElement("div",{className:(Re==null?void 0:Re.id)==it&&T.active_item,key:We,onClick:()=>_(Re.id)},Re.name)))),n.createElement(be.default,{onPressEnter:Ie,value:w,onChange:Re=>{p(Re.target.value),Nt(encodeURIComponent(Re.target.value),it||null)},bordered:!1,placeholder:Ke}),n.createElement("img",{onClick:Ie,src:t(25365),width:18,height:18,className:"ml10 current"}))},Oe=t(93018),te=t(66457),Ae=t(65862),Ze=t(2524),Q=t(71418),ze=t(6848),H=t(13570),B=t(58421),l=t(96908),r=t(57177),s=t(81378),u=t(74128),C=Object.defineProperty,F=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Pe=(re,de,N)=>de in re?C(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,ve=(re,de)=>{for(var N in de||(de={}))ee.call(de,N)&&Pe(re,N,de[N]);if(F)for(var N of F(de))He.call(de,N)&&Pe(re,N,de[N]);return re};const Je=re=>React.createElement("svg",ve({width:10,height:6,xmlns:"http://www.w3.org/2000/svg"},re),React.createElement("title",null,"\u8DEF\u5F84"),React.createElement("path",{d:"M5.064 5.489 9.88.673a.43.43 0 0 0 0-.567.43.43 0 0 0-.567 0l-4.32 4.32L.673.106a.43.43 0 0 0-.567 0 .43.43 0 0 0 0 .567l4.958 4.816Z",fill:"#333",fillRule:"nonzero"}));var De="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4wNjQgNS40ODkgOS44OC42NzNhLjQzLjQzIDAgMCAwIDAtLjU2Ny40My40MyAwIDAgMC0uNTY3IDBsLTQuMzIgNC4zMkwuNjczLjEwNmEuNDMuNDMgMCAwIDAtLjU2NyAwIC40My40MyAwIDAgMCAwIC41NjdsNC45NTggNC44MTZaIiBmaWxsPSIjMzMzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",je=Object.defineProperty,Se=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,we=(re,de,N)=>de in re?je(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,S=(re,de)=>{for(var N in de||(de={}))Y.call(de,N)&&we(re,N,de[N]);if(Se)for(var N of Se(de))se.call(de,N)&&we(re,N,de[N]);return re};const me=re=>React.createElement("svg",S({width:10,height:6,xmlns:"http://www.w3.org/2000/svg"},re),React.createElement("title",null,"\u6536\u8D77"),React.createElement("path",{d:"M5.064 0 9.88 4.816a.43.43 0 0 1 0 .566.43.43 0 0 1-.567 0l-4.32-4.32-4.32 4.32a.43.43 0 0 1-.567 0 .43.43 0 0 1 0-.566L5.064 0Z",fill:"#FFF",fillRule:"nonzero"}));var k="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4wNjQgMCA5Ljg4IDQuODE2YS40My40MyAwIDAgMSAwIC41NjYuNDMuNDMgMCAwIDEtLjU2NyAwbC00LjMyLTQuMzItNC4zMiA0LjMyYS40My40MyAwIDAgMS0uNTY3IDAgLjQzLjQzIDAgMCAxIDAtLjU2Nkw1LjA2NCAwWiIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+",le=Object.defineProperty,Ce=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,ft=(re,de,N)=>de in re?le(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,nt=(re,de)=>{for(var N in de||(de={}))xe.call(de,N)&&ft(re,N,de[N]);if(Ce)for(var N of Ce(de))qe.call(de,N)&&ft(re,N,de[N]);return re},gt=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const et=({globalSetting:re,dispatch:de})=>{const[N,Nt]=(0,n.useState)({sort:"desc",page:1,limit:12,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Qt,Ot]=(0,n.useState)([]),[Ke,Bt]=(0,n.useState)(0),[K,it]=(0,n.useState)(!0),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]);(0,n.useEffect)(()=>{We(),ke(N)},[]);const Re=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}],We=()=>gt(void 0,null,function*(){var pe;const tt=yield(0,V.I_)({});tt.status!==-1&&(w([{id:"all",name:"\u5168\u90E8\u65B9\u5411"},...(tt==null?void 0:tt.disciplines)||[]]),(pe=tt==null?void 0:tt.disciplines)==null||pe.forEach(ht=>{var kt;_.current=(kt=_.current)==null?void 0:kt.concat(ht.sub_disciplines||[])}),Ie(_.current))}),ke=pe=>gt(void 0,null,function*(){it(!0),pe.keyword=pe.keyword;const tt=L().pickBy(pe,kt=>kt!=="all");tt.type="homepage";const ht=yield(0,V.he)(tt);ht.status!==-1&&(Ot([]),Ot((ht==null?void 0:ht.shixuns)||[]),Bt((ht==null?void 0:ht.total_count)||0)),it(!1)}),st=(pe,tt)=>{N.page=1,N.keyword=pe,N.shixun_type=tt,Nt(nt({},N)),ke(N)},ct=(pe,tt)=>{N.keyword=pe,N.shixun_type=tt,Nt(nt({},N))},mt=pe=>{N.page=1,N.discipline_id=pe,N.sub_discipline_id="all";const tt=Vt.find(kt=>kt.id===pe),ht=pe==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(tt==null?void 0:tt.sub_disciplines)||[]];Nt(nt({},N)),Ie(ht),ke(N)},It=pe=>{N.page=1,N.sub_discipline_id=pe,Nt(nt({},N)),ke(N)},_e=()=>{(0,te.tJ)(de)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},Rt=pe=>{N.page=pe,Nt(nt({},N)),ke(N)};return n.createElement("div",{className:h.page_warp},n.createElement(Oe.Z,{className:"w-full",style:{top:0,left:0},title:"\u5B9E\u8BAD\u7CFB\u7EDF"}),n.createElement("div",{className:h.con_warp},n.createElement("div",{className:h.left_warp},n.createElement(f,{style:{width:"100%",marginBottom:18},dataSource:Re,value:{id:N.shixun_type,value:N.keyword},onChange:st,onInputChange:ct,placeholder:"\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0\u6216\u59D3\u540D\u8FDB\u884C\u641C\u7D22"}),n.createElement("div",{className:h.direction_type_warp},Vt.map(pe=>{var tt;return n.createElement(n.Fragment,null,n.createElement("div",{className:`${h.direction_item} ${(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)&&((tt=h)==null?void 0:tt.active_direction_item)}`,key:pe.id,onClick:()=>mt(pe==null?void 0:pe.id)},n.createElement("div",null,pe.name),(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)?n.createElement("img",{src:k,width:10,height:6}):n.createElement("img",{src:De,width:10,height:6}),(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)&&n.createElement("div",{className:h.active_sanjiao})),(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)&&n.createElement("div",{className:h.sub_warp},n.createElement("div",{className:h.tooltip_name},"\u8BF7\u9009\u62E9\u5B50\u7C7B"),p==null?void 0:p.map(ht=>{var kt;return n.createElement("div",{className:`${h.type_item} ${(N==null?void 0:N.sub_discipline_id)==(ht==null?void 0:ht.id)&&((kt=h)==null?void 0:kt.active_type_item)}`,key:ht==null?void 0:ht.id,onClick:()=>It(ht==null?void 0:ht.id)},ht.name)})))})),n.createElement("div",{className:h.btn_sty,onClick:_e},"\u65B0\u5EFA\u9879\u76EE")),n.createElement("div",{className:h.right_warp},n.createElement(Q.Z,{spinning:K},n.createElement("div",{className:h.list_warp_css},(Qt==null?void 0:Qt.length)>0?Qt==null?void 0:Qt.map((pe,tt)=>n.createElement("div",{className:h.item_warp,key:tt,onClick:ht=>{ht.preventDefault(),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"]),pe!=null&&pe.power&&(0,Ae.xg)(`/shixuns/${pe==null?void 0:pe.identifier}/challenges`)}},n.createElement("div",{className:h.img},n.createElement("img",{className:h.cover,src:`${u.Z.IMG_SERVER+(pe==null?void 0:pe.pic)}`}),(pe==null?void 0:pe.is_jupyter)&&n.createElement("img",{className:h.sign,src:l}),(pe==null?void 0:pe.is_jupyter_lab)&&n.createElement("img",{className:h.sign,src:r}),(pe==null?void 0:pe.is_unity_3d)&&n.createElement("img",{className:h.sign,src:s})),n.createElement("div",{className:h.item_info_warp},n.createElement(ze.Z,{title:pe==null?void 0:pe.name},n.createElement("div",{className:h.item_title},pe==null?void 0:pe.name)),n.createElement("div",{className:h.item_info},n.createElement("div",{className:"mb10"},"\u5173\u5361\u6570\uFF1A",pe==null?void 0:pe.challenges_count),n.createElement("div",{className:"mb10"},"\u96BE\u5EA6\u7B49\u7EA7\uFF1A",pe==null?void 0:pe.level),n.createElement("div",{className:h.rate},"\u9879\u76EE\u8BC4\u5206\uFF1A",n.createElement(H.Z,{allowHalf:!0,disabled:!0,defaultValue:pe.score_info}),n.createElement("span",{className:"ml5"},pe.score_info?`${pe.score_info}\u5206`:"5\u5206")))),!(pe!=null&&pe.power)&&n.createElement("div",{className:h.lockWrap},n.createElement("img",{src:`${u.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),n.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))):n.createElement(Ze.Z,{img:t(56022)})),Ke>12&&n.createElement(B.Z,{style:{width:"100%",marginTop:7},total:Ke,showTotal:()=>n.createElement("div",null,"\u5171 ",n.createElement("span",{style:{color:"#165DFF"}},Ke)," \u6761\u6570\u636E"),showQuickJumper:!1,showSizeChanger:!1,current:N.page,pageSize:N.limit,onChange:pe=>Rt(pe)})))))};var at=(0,m.connect)(({globalSetting:re})=>({globalSetting:re}))(et),j=t(3918),Me=t(95237),b={listBg:"listBg___UlD3V",tabContainer:"tabContainer___geIzx",tabItem:"tabItem___tkt6Z",active:"active___FpzmT",myInput:"myInput___QQbGR",myButton:"myButton___ADxJo",myButton1:"myButton1___F3WOc",filterBg:"filterBg___rdUHz",ShixunList:"ShixunList___ZEMfe",itemwrap:"itemwrap___ACn7o"},A=t(38147),o=t(41867),g=t(95494),x=Object.defineProperty,I=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,U=(re,de,N)=>de in re?x(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,y=(re,de)=>{for(var N in de||(de={}))a.call(de,N)&&U(re,N,de[N]);if(I)for(var N of I(de))i.call(de,N)&&U(re,N,de[N]);return re},c=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const M=({globalSetting:re,user:de,dispatch:N})=>{var Nt,Qt,Ot,Ke,Bt;const[K,it]=(0,n.useState)({sort:"desc",page:1,limit:16,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]),[Re,We]=(0,n.useState)([]),[ke,st]=(0,n.useState)(0),[ct,mt]=(0,n.useState)(!0),It=(0,n.useRef)(""),[_e,Rt]=(0,n.useState)([{id:"new",name:"\u6700\u65B0"},{id:"hot",name:"\u6700\u70ED"}]);(0,n.useEffect)(()=>{(0,o.bg)()&&Rt([..._e,{id:"mine",name:"\u6211\u7684"}])},[(0,o.bg)()]);const pe=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}];(0,n.useEffect)(()=>(N({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{N({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),(0,n.useEffect)(()=>{tt(),ht(K)},[]);const tt=()=>c(void 0,null,function*(){var D,O;const ce=yield(0,A.ZP)("/api/introductions.json",{method:"get"});if(ce!=null&&ce.introductions){const Xe=(D=ce.introductions)==null?void 0:D.find(xt=>xt.clazz==="teacher"&&xt.page_type==="shixun");console.log(Xe,"param"),It.current=Xe==null?void 0:Xe.attachment_url}const Ve=yield(0,V.I_)({});Ve.status!==-1&&(w([{id:"all",name:"\u5168\u90E8"},...(Ve==null?void 0:Ve.disciplines)||[]]),(O=Ve==null?void 0:Ve.disciplines)==null||O.forEach(Xe=>{var xt;_.current=(xt=_.current)==null?void 0:xt.concat(Xe.sub_disciplines||[])}),Ie(_.current))}),ht=D=>c(void 0,null,function*(){mt(!0),D.keyword=D.keyword;const O=L().pickBy(D,Ve=>Ve!=="all");O.type="homepage";const ce=yield(0,V.he)(O);ce.status!==-1&&(We([]),We((ce==null?void 0:ce.shixuns)||[]),st((ce==null?void 0:ce.total_count)||0)),mt(!1)}),kt=()=>{(0,te.tJ)(N)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},zt=()=>{window.open(`${u.Z.API_SERVER}${It.current}`)},en=D=>{K.page=1,K.discipline_id=D,K.sub_discipline_id="all";const O=Vt.find(Ve=>Ve.id===D),ce=D==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(O==null?void 0:O.sub_disciplines)||[]];it(y({},K)),Ie(ce),ht(K)},X=D=>{K.page=1,K.sub_discipline_id=D,it(y({},K)),ht(K)},q=D=>{K.page=1,K.order=D,it(y({},K)),ht(K)},ie=(D,O)=>{K.page=1,K.keyword=D,K.shixun_type=O,it(y({},K)),ht(K)},he=(D,O)=>{K.page=D,it(y({},K)),ht(K),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875",O==="next"?"\u4E0B\u4E00\u9875":"\u4E0A\u4E00\u9875"])},ae=[{name:"\u65B0\u5EFA\u9879\u76EE",click:kt,ButtonProps:{type:"primary",className:b.myButton},isShow:((Nt=de==null?void 0:de.userInfo)==null?void 0:Nt.is_shixun_marker)&&!((Qt=re==null?void 0:re.setting)!=null&&Qt.hide_shixun)},{name:"\u65B0\u624B\u6307\u5F15",click:zt,ButtonProps:{type:"primary",className:b.myButton},sign:!0,isShow:!1},{name:"\u534F\u540C\u5F00\u53D1",ButtonProps:{type:"primary",className:b.myButton},click:()=>{var D,O,ce,Ve,Xe,xt,bt,Gt;const Ht=((Xe=(Ve=(ce=(O=(D=re==null?void 0:re.setting)==null?void 0:D.navbar)==null?void 0:O.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:ce.subitem)==null?void 0:Ve.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Xe.link)||((Gt=(bt=(xt=re==null?void 0:re.setting)==null?void 0:xt.navbar)==null?void 0:bt.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Gt.link);(0,Ae.xg)(`${Ht}`)},isShow:!1},{name:"\u6982\u89C8\u7EDF\u8BA1",ButtonProps:{className:b.myButton1},click:()=>{(0,Ae.xg)("/shixunsoverview")},isShow:(Ot=de==null?void 0:de.userInfo)==null?void 0:Ot.is_show_btn}].filter(D=>D.isShow);return n.createElement("div",{className:"py-20px-rem px-24px-rem text-14px-rem"},n.createElement("div",{className:"flex item-center gap-24px-rem"},n.createElement(j.t7,{className:b.myInput,style:{width:507,zIndex:1,marginRight:"auto"},dataSource:pe,value:{id:K.shixun_type,value:K.keyword},onChange:ie,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u3001\u59D3\u540D\u6216\u5B66\u6821\u540D\u79F0\u8FDB\u884C\u641C\u7D22"}),ae==null?void 0:ae.map((D,O)=>n.createElement(j.op,y({style:{borderRadius:"4rem"},key:O,onClick:D==null?void 0:D.click},(D==null?void 0:D.ButtonProps)||{}),D==null?void 0:D.name))),n.createElement("div",{className:"py-18px-rem px-20px-rem rounded-8px-rem mt-14px-rem",style:{background:"#E7F0FF",position:"relative"}},n.createElement("img",{src:g,className:b.filterBg}),n.createElement(j.K3,{dataSource:Vt,title:"\u65B9\u5411",value:K==null?void 0:K.discipline_id,onChange:en,fontColor:"#000000"}),p.length>1&&n.createElement(j.K3,{dataSource:p,title:"\u5B50\u7C7B",value:K==null?void 0:K.sub_discipline_id,onChange:X,fontColor:"#000000",expand:!1})),n.createElement("div",{className:"mt-20px-rem rounded-20px-rem py-20px-rem px-20px-rem bg-white",style:{position:"relative",border:"1px solid #ffffff"}},n.createElement("img",{src:t(9051),className:b.listBg}),n.createElement(Me.Z,{align:"middle",justify:"space-between",className:"mb30"},n.createElement("div",{className:b.tabContainer},_e.map(D=>n.createElement("div",{key:D.id,onClick:()=>q(D.id),className:`${b.tabItem} ${(K==null?void 0:K.order)===D.id?b.active:""}`},D.name)))),n.createElement(j.lB,{dataSource:Re,right:0,bottom:0,loading:ct,trackEventItems:["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"],className:b.ShixunList,wrapClassName:b.itemwrap}),((Ke=re.setting)==null?void 0:Ke.main_site)&&n.createElement(j.Je,{style:{marginTop:15},total:ke,value:K.page,pageSize:K.limit,onChange:he}),!((Bt=re.setting)!=null&&Bt.main_site)&&n.createElement(B.Z,{style:{marginTop:15,textAlign:"center"},total:ke,showQuickJumper:!1,showSizeChanger:!1,pageSize:K.limit,onChange:(D,O)=>he(D,"")})))};var fe=(0,m.connect)(({globalSetting:re,user:de})=>({globalSetting:re,user:de}))(M),W={list_wrap:"list_wrap___rrdnK",tabContainer:"tabContainer___qEZXK",tabItem:"tabItem___PJRS9",active:"active___grbES",myInput:"myInput___WnK3z",one_style:"one_style___W5Os0",two_style:"two_style___HnbDT",ShixunList:"ShixunList___CAsIq",itemwrap:"itemwrap___WAXj6",listBg:"listBg___gpfHp"},Ee=Object.defineProperty,$=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,P=(re,de,N)=>de in re?Ee(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,G=(re,de)=>{for(var N in de||(de={}))ne.call(de,N)&&P(re,N,de[N]);if($)for(var N of $(de))v.call(de,N)&&P(re,N,de[N]);return re},ge=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const Be=({globalSetting:re,user:de,dispatch:N})=>{var Nt,Qt,Ot,Ke,Bt;const[K,it]=(0,n.useState)({sort:"desc",page:1,limit:16,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]),[Re,We]=(0,n.useState)([]),[ke,st]=(0,n.useState)(0),[ct,mt]=(0,n.useState)(!0),It=(0,n.useRef)(""),[_e,Rt]=(0,n.useState)([{id:"new",name:"\u6700\u65B0"},{id:"hot",name:"\u6700\u70ED"}]);(0,n.useEffect)(()=>{(0,o.bg)()&&Rt([..._e,{id:"mine",name:"\u6211\u7684"}])},[(0,o.bg)()]);const pe=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}];(0,n.useEffect)(()=>(N({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{N({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),(0,n.useEffect)(()=>{tt(),ht(K)},[]);const tt=()=>ge(void 0,null,function*(){var D,O;const ce=yield(0,A.ZP)("/api/introductions.json",{method:"get"});if(ce!=null&&ce.introductions){const Xe=(D=ce.introductions)==null?void 0:D.find(xt=>xt.clazz==="teacher"&&xt.page_type==="shixun");console.log(Xe,"param"),It.current=Xe==null?void 0:Xe.attachment_url}const Ve=yield(0,V.I_)({});Ve.status!==-1&&(w([{id:"all",name:"\u5168\u90E8"},...(Ve==null?void 0:Ve.disciplines)||[]]),(O=Ve==null?void 0:Ve.disciplines)==null||O.forEach(Xe=>{var xt;_.current=(xt=_.current)==null?void 0:xt.concat(Xe.sub_disciplines||[])}),Ie(_.current))}),ht=D=>ge(void 0,null,function*(){mt(!0),D.keyword=D.keyword;const O=L().pickBy(D,Ve=>Ve!=="all");O.type="homepage";const ce=yield(0,V.he)(O);ce.status!==-1&&(We([]),We((ce==null?void 0:ce.shixuns)||[]),st((ce==null?void 0:ce.total_count)||0)),mt(!1)}),kt=()=>{(0,te.tJ)(N)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},zt=()=>{window.open(`${u.Z.API_SERVER}${It.current}`)},en=D=>{K.page=1,K.discipline_id=D,K.sub_discipline_id="all";const O=Vt.find(Ve=>Ve.id===D),ce=D==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(O==null?void 0:O.sub_disciplines)||[]];it(G({},K)),Ie(ce),ht(K)},X=D=>{K.page=1,K.sub_discipline_id=D,it(G({},K)),ht(K)},q=D=>{K.page=1,K.order=D,it(G({},K)),ht(K)},ie=(D,O)=>{K.page=1,K.keyword=D,K.shixun_type=O,it(G({},K)),ht(K)},he=(D,O)=>{K.page=D,it(G({},K)),ht(K),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875",O==="next"?"\u4E0B\u4E00\u9875":"\u4E0A\u4E00\u9875"])},ae=[{name:"\u65B0\u5EFA\u9879\u76EE",click:kt,ButtonProps:{type:"primary",className:W.myButton},isShow:((Nt=de==null?void 0:de.userInfo)==null?void 0:Nt.is_shixun_marker)&&!((Qt=re==null?void 0:re.setting)!=null&&Qt.hide_shixun)},{name:"\u65B0\u624B\u6307\u5F15",click:zt,ButtonProps:{type:"primary",className:W.myButton},sign:!0,isShow:!1},{name:"\u534F\u540C\u5F00\u53D1",ButtonProps:{type:"primary",className:W.myButton},click:()=>{var D,O,ce,Ve,Xe,xt,bt,Gt;const Ht=((Xe=(Ve=(ce=(O=(D=re==null?void 0:re.setting)==null?void 0:D.navbar)==null?void 0:O.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:ce.subitem)==null?void 0:Ve.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Xe.link)||((Gt=(bt=(xt=re==null?void 0:re.setting)==null?void 0:xt.navbar)==null?void 0:bt.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Gt.link);(0,Ae.xg)(`${Ht}`)},isShow:!1},{name:"\u6982\u89C8\u7EDF\u8BA1",ButtonProps:{className:W.myButton1},click:()=>{(0,Ae.xg)("/shixunsoverview")},isShow:(Ot=de==null?void 0:de.userInfo)==null?void 0:Ot.is_show_btn}].filter(D=>D.isShow);return n.createElement("div",{className:"py-20px-rem px-24px-rem text-14px-rem"},n.createElement("div",{className:"flex item-center gap-24px-rem mb30"},n.createElement(j.tT,{className:W.myInput,style:{width:507,zIndex:1,marginRight:"auto"},dataSource:pe,value:{id:K.shixun_type,value:K.keyword},onChange:ie,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u3001\u59D3\u540D\u6216\u5B66\u6821\u540D\u79F0\u8FDB\u884C\u641C\u7D22"}),ae==null?void 0:ae.map((D,O)=>n.createElement("div",{className:(D==null?void 0:D.name)=="\u65B0\u5EFA\u9879\u76EE"?W.one_style:W.two_style,key:O,onClick:D==null?void 0:D.click},D==null?void 0:D.name))),n.createElement("div",{className:"py-10px-rem px-10px-rem",style:{background:"#082930",position:"relative"}},n.createElement(j.Um,{dataSource:Vt,title:"\u65B9\u5411",value:K==null?void 0:K.discipline_id,onChange:en,fontColor:"#000000"}),p.length>1&&n.createElement(j.Um,{dataSource:p,title:"\u5B50\u7C7B",value:K==null?void 0:K.sub_discipline_id,onChange:X,fontColor:"#000000",expand:!1})),n.createElement("div",{className:W.list_wrap},n.createElement("img",{src:t(39993),className:W.listBg}),n.createElement(Me.Z,{align:"middle",justify:"space-between",className:"mb30"},n.createElement("div",{className:W.tabContainer},_e.map(D=>n.createElement("div",{key:D.id,onClick:()=>q(D.id),className:`${W.tabItem} ${(K==null?void 0:K.order)===D.id?W.active:""}`},D.name)))),n.createElement(j.rC,{dataSource:Re,right:0,bottom:0,loading:ct,trackEventItems:["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"],className:W.ShixunList,wrapClassName:W.itemwrap}),((Ke=re.setting)==null?void 0:Ke.main_site)&&n.createElement(j.Je,{style:{marginTop:30},total:ke,value:K.page,pageSize:K.limit,onChange:he}),!((Bt=re.setting)!=null&&Bt.main_site)&&n.createElement(B.Z,{style:{marginTop:30,textAlign:"center"},total:ke,showQuickJumper:!1,showSizeChanger:!1,pageSize:K.limit,onChange:(D,O)=>he(D,"")})))};var Ge=(0,m.connect)(({globalSetting:re,user:de})=>({globalSetting:re,user:de}))(Be),Fe={flex_box_center:"flex_box_center___BWNLg",flex_space_between:"flex_space_between___i8hyV",flex_box_vertical_center:"flex_box_vertical_center___WsPPb",flex_box_center_end:"flex_box_center_end___d_2gN",flex_box_column:"flex_box_column___IPQlQ",page:"page___jXQ2X",center:"center___uNt7d",banner:"banner___jJKdb",content:"content___JC5CR",title:"title___WFguJ",subtitle:"subtitle___IAkxk",btns:"btns___rIANr",statistics:"statistics____BqY7",item:"item___GuOWx",value:"value___DkMTZ",unit:"unit___wlZ9K",name:"name___bxTf6"},Te=Object.defineProperty,ot=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,yt=(re,de,N)=>de in re?Te(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,Wt=(re,de)=>{for(var N in de||(de={}))St.call(de,N)&&yt(re,N,de[N]);if(ot)for(var N of ot(de))vt.call(de,N)&&yt(re,N,de[N]);return re},$e=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const pt=({globalSetting:re,dispatch:de,homePage:N})=>{var Nt,Qt;const[Ot,Ke]=(0,n.useState)(null),Bt=(0,n.useRef)(),[K,it]=(0,n.useState)({sort:"desc",page:1,limit:16,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]),[Re,We]=(0,n.useState)([]),[ke,st]=(0,n.useState)(0),[ct,mt]=(0,n.useState)(!0),[It,_e]=(0,n.useState)([{id:"new",name:"\u6700\u65B0"},{id:"hot",name:"\u6700\u70ED"}]);(0,n.useEffect)(()=>{(0,o.bg)()&&_e([...It,{id:"mine",name:"\u6211\u7684"}])},[(0,o.bg)()]);const Rt=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}];(0,n.useEffect)(()=>(de({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{de({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),(0,n.useEffect)(()=>{pe(),tt(K),de({type:"homePage/home",payload:{}})},[]);const pe=()=>$e(void 0,null,function*(){var O,ce;const Ve=yield(0,A.ZP)("/api/introductions.json",{method:"get"});if(Ve!=null&&Ve.introductions){const xt=(O=Ve.introductions)==null?void 0:O.find(bt=>bt.clazz==="teacher"&&bt.page_type==="shixun");Ke(xt==null?void 0:xt.attachment_id),Bt.current=xt==null?void 0:xt.attachment_url}const Xe=yield(0,V.I_)({});Xe.status!==-1&&(w([{id:"all",name:"\u5168\u90E8"},...(Xe==null?void 0:Xe.disciplines)||[]]),(ce=Xe==null?void 0:Xe.disciplines)==null||ce.forEach(xt=>{var bt;_.current=(bt=_.current)==null?void 0:bt.concat(xt.sub_disciplines||[])}),Ie(_.current))}),tt=O=>$e(void 0,null,function*(){mt(!0),O.keyword=O.keyword;const ce=L().pickBy(O,Xe=>Xe!=="all");ce.type="homepage";const Ve=yield(0,V.he)(ce);Ve.status!==-1&&(We([]),We((Ve==null?void 0:Ve.shixuns)||[]),st((Ve==null?void 0:Ve.total_count)||0)),mt(!1)}),ht=()=>{(0,te.tJ)(de)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},kt=()=>{window.open(Bt.current)},zt=O=>{K.page=1,K.discipline_id=O,K.sub_discipline_id="all";const ce=Vt.find(Xe=>Xe.id===O),Ve=O==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(ce==null?void 0:ce.sub_disciplines)||[]];it(Wt({},K)),Ie(Ve),tt(K)},en=O=>{K.page=1,K.sub_discipline_id=O,it(Wt({},K)),tt(K)},X=O=>{K.page=1,K.order=O,it(Wt({},K)),tt(K)},q=(O,ce)=>{K.page=1,K.keyword=O,K.shixun_type=ce,it(Wt({},K)),tt(K)},ie=(O,ce)=>{K.keyword=O,K.shixun_type=ce,it(Wt({},K))},he=(O,ce)=>{K.page=O,it(Wt({},K)),tt(K),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875",ce==="next"?"\u4E0B\u4E00\u9875":"\u4E0A\u4E00\u9875"])},ae=[{name:"\u65B0\u5EFA\u8BAD\u7EC3\u9879\u76EE",click:ht,isShow:!0},{name:"\u6570\u636E\u6982\u89C8",click:()=>{(0,Ae.xg)("/shixunsoverview")},isShow:N==null?void 0:N.is_show_btn},{name:"\u73AF\u5883\u8D44\u6E90\u76D1\u63A7",click:()=>{(0,Ae.xg)("/shixunsoverview")},isShow:N==null?void 0:N.is_show_btn}].filter(O=>O.isShow),D=[{name:"\u5B66\u4E60\u4EBA\u6570",value:1332,unit:"\u4EBA",img:t(10156)},{name:"\u7D2F\u8BA1\u8BC4\u6D4B\u603B\u6B21\u6570",value:460,unit:"\u6B21",img:t(23656)},{name:"\u901A\u8FC7\u4EFB\u52A1\u5173\u5361\u6570",value:1500,unit:"\u6B21",img:t(45979)},{name:"\u9879\u76EE\u6570",value:100,unit:"\u4E2A",img:t(53387)},{name:"\u4EFB\u52A1\u5173\u5361\u6570",value:1500,unit:"\u4E2A",img:t(99696)},{name:"\u73AF\u5883\u6570",value:200,unit:"\u4E2A",img:t(64151)}];return n.createElement("section",{className:Fe.page},n.createElement("div",{className:Fe.banner},n.createElement("div",{className:Fe.content},n.createElement("aside",null,n.createElement("b",{className:Fe.title},"\u6A21\u62DF\u8BAD\u7EC3\u9879\u76EE"),n.createElement("div",{className:Fe.subtitle},"\u591A\u7C7B\u578B\u73AF\u5883\u4E0E\u5168\u6D41\u7A0B\u5B9E\u6218\u8BC4\u6D4B"),ae.length>0&&n.createElement("div",{className:Fe.btns},ae.map((O,ce)=>n.createElement("div",{key:ce,onClick:O.click},O.name))))),n.createElement("div",{className:Fe.statistics},D.map((O,ce)=>n.createElement("div",{key:ce,className:Fe.item},n.createElement("img",{src:O.img}),n.createElement("div",null,n.createElement("div",{className:"mb10"},n.createElement("span",{className:Fe.value},O.value),n.createElement("span",{className:Fe.unit},O.unit)),n.createElement("div",{className:Fe.name},O.name)))))),n.createElement("div",{className:Fe.center},n.createElement(j.qp,{dataSource:Vt,style:{marginTop:85},title:"\u65B9\u5411",value:K==null?void 0:K.discipline_id,onChange:zt,fontColor:"#000000"}),p.length>1&&n.createElement(j.qp,{dataSource:p,title:"\u5B50\u7C7B",value:K==null?void 0:K.sub_discipline_id,onChange:en,fontColor:"#000000"}),n.createElement(Me.Z,{align:"middle",justify:"space-between",className:"mt30 mb30"},n.createElement(j.tp,{dataSource:It,value:K==null?void 0:K.order,onChange:X}),n.createElement(j.t7,{style:{width:507},dataSource:Rt,value:{id:K.shixun_type,value:K.keyword},onChange:q,onInputChange:ie,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u3001\u59D3\u540D\u6216\u5B66\u6821\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),n.createElement(j.wb,{dataSource:Re,right:23,col:4,precision:1,loading:ct,trackEventItems:["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"]}),((Nt=re.setting)==null?void 0:Nt.main_site)&&n.createElement(j.Je,{style:{marginTop:7},total:ke,value:K.page,pageSize:K.limit,onChange:he}),!((Qt=re.setting)!=null&&Qt.main_site)&&n.createElement(B.Z,{style:{marginTop:7,textAlign:"center"},total:ke,showQuickJumper:!1,showSizeChanger:!1,pageSize:K.limit,onChange:(O,ce)=>he(O,"")})))};var Dt=(0,m.connect)(({globalSetting:re,homePage:de})=>({globalSetting:re,homePage:de}))(pt),Lt=t(90175),dt=t(40277);const Ft=({globalSetting:re})=>{var de;switch(Number((de=re==null?void 0:re.setting)==null?void 0:de.theme)){case e.Fy.THEMEONE:return n.createElement(at,null);case e.Fy.THEMETWO:return n.createElement(Lt.Z,{mainDom:n.createElement(fe,null)});case e.Fy.THEMETHREE:return n.createElement(dt.Z,{mainDom:n.createElement(Ge,null)});case e.Fy.DEFAULT:default:return n.createElement(Dt,null)}};var Ct=(0,m.connect)(({globalSetting:re})=>({globalSetting:re}))(Ft)},66457:function(Qe,Ne,t){t.d(Ne,{rX:function(){return B},pW:function(){return l},gy:function(){return r},xY:function(){return H},O5:function(){return ze},tJ:function(){return Oe},o1:function(){return te},Rd:function(){return Q}});var e=t(65582),n=t(43418),m=t(28103),V=t(8591),h=t(41867),z=t(65862),L=t(87169),T=t(25510),ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgW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nEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",d=t.p+"static/newqrcode.a8740efb.png",be=t(32637),E=t(59301),f=(s,u,C)=>new Promise((F,ee)=>{var He=Je=>{try{ve(C.next(Je))}catch(De){ee(De)}},Pe=Je=>{try{ve(C.throw(Je))}catch(De){ee(De)}},ve=Je=>Je.done?F(Je.value):Promise.resolve(Je.value).then(He,Pe);ve((C=C.apply(s,u)).next())});const Oe=(s,u=!1)=>!!(te(s)&&Ae(u)),te=s=>(0,h.bg)()?!0:(s({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),Ae=(s=!1)=>{var u;const{user:C}=(0,e.getDvaApp)()._store.getState();return(u=C.userInfo)!=null&&u.profile_completed?!0:(n.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,z.xg)("/account/profile/edit"),Ze()}}),!1)},Ze=()=>{n.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()}})},Q=()=>{n.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:E.createElement("div",{style:{textAlign:"center"}},E.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"),E.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:be}),E.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ze=()=>{var s;const{user:u}=(0,e.getDvaApp)()._store.getState();return(s=u.userInfo)!=null&&s.professional_certification?!0:(n.default.confirm({title:"\u63D0\u793A",centered:!0,content:E.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,z.xg)("/account/certification")}}),!1)},H=()=>(0,h.V9)()?!0:(n.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:E.createElement("div",{className:"tc",style:{marginLeft:-38}},E.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),E.createElement("img",{src:d,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),B=(s,u)=>s?!0:(n.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:E.createElement("div",null,E.createElement("p",null,u||"\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"),E.createElement("div",{style:{marginLeft:"110px"}},E.createElement("img",{src:ye,width:200}),E.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,z.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),l=s=>{n.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:E.createElement("div",null,E.createElement("div",null,E.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"),E.createElement(m.Z,null),E.createElement("p",{style:{color:"#666666",fontSize:12}}," ",E.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 ",E.createElement("a",null,s),"\u5929\u3002"),E.createElement("p",{style:{color:"#666666",fontSize:12}}," ",E.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")),E.createElement("div",{style:{textAlign:"center",marginTop:30}},E.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:T,alt:"\u4E8C\u7EF4\u7801",width:160})))})},r=(s,u="")=>{const{shixunsDetail:{detail:C}}=(0,e.getDvaApp)()._store.getState();if((C==null?void 0:C.public)===2||(C==null?void 0:C.public)===1||(C==null?void 0:C.shixun_status)===3){let F="";return(C==null?void 0:C.public)===2&&(F="\u5DF2\u516C\u5F00"),(C==null?void 0:C.public)===1&&(F="\u5F85\u5BA1\u6838"),(C==null?void 0:C.shixun_status)===3&&(F="\u5DF2\u5173\u95ED"),n.default.info({centered:!0,icon:E.createElement(L.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:E.createElement("div",{className:"tc",style:{marginLeft:-38}},E.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},E.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",F,"\uFF0C",u,"\u3002"),E.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),E.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:T,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(C==null?void 0:C.shixun_status)===2?(n.default.confirm({centered:!0,icon:E.createElement(L.Z,null),title:"\u63D0\u793A",content:E.createElement("div",null,E.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",u,"\u3002"),E.createElement("br",null),E.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:()=>{n.default.confirm({width:440,centered:!0,icon:E.createElement(L.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:()=>f(void 0,null,function*(){(yield s({type:"shixunsDetail/cancelRelease",payload:{id:C==null?void 0:C.identifier}})).status!==401&&(V.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),s({type:"shixunsDetail/getShixunsDetail",payload:{id:C==null?void 0:C.identifier}}),s({type:"practiceSetting/getCommonData",payload:{id:C==null?void 0:C.identifier}}))})})}}),!0):!1}},56762:function(Qe,Ne,t){t.d(Ne,{Z:function(){return n}});var e=t(59301);function n(){const[,m]=e.useReducer(V=>V+1,0);return m}},19080:function(Qe,Ne,t){t.d(Ne,{F:function(){return h},Z:function(){return V}});var e=t(92310),n=t.n(e);const m=null;function V(z,L,T){return n()({[`${z}-status-success`]:L==="success",[`${z}-status-warning`]:L==="warning",[`${z}-status-error`]:L==="error",[`${z}-status-validating`]:L==="validating",[`${z}-has-feedback`]:T})}const h=(z,L)=>L||z},93891:function(Qe,Ne,t){var e=t(59301),n=t(36355),m=t(64165);const V=h=>{const{componentName:z}=h,{getPrefixCls:L}=(0,e.useContext)(n.E_),T=L("empty");switch(z){case"Table":case"List":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE,className:`${T}-small`});default:return e.createElement(m.Z,null)}};Ne.Z=V},28103:function(Qe,Ne,t){t.d(Ne,{Z:function(){return E}});var e=t(92310),n=t.n(e),m=t(59301),V=t(36355),h=t(17313),z=t(83116),L=t(37613);const T=f=>{const{componentCls:Oe,sizePaddingEdgeHorizontal:te,colorSplit:Ae,lineWidth:Ze,textPaddingInline:Q,orientationMargin:ze,verticalMarginInline:H}=f;return{[Oe]:Object.assign(Object.assign({},(0,h.Wf)(f)),{borderBlockStart:`${Ze}px solid ${Ae}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:H,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Ze}px solid ${Ae}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${f.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${f.dividerHorizontalWithTextGutterMargin}px 0`,color:f.colorTextHeading,fontWeight:500,fontSize:f.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ae}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Ze}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Oe}-with-text-left`]:{"&::before":{width:`${ze*100}%`},"&::after":{width:`${100-ze*100}%`}},[`&-horizontal${Oe}-with-text-right`]:{"&::before":{width:`${100-ze*100}%`},"&::after":{width:`${ze*100}%`}},[`${Oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Q},"&-dashed":{background:"none",borderColor:Ae,borderStyle:"dashed",borderWidth:`${Ze}px 0 0`},[`&-horizontal${Oe}-with-text${Oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Oe}-dashed`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Oe}-with-text`]:{color:f.colorText,fontWeight:"normal",fontSize:f.fontSize},[`&-horizontal${Oe}-with-text-left${Oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Oe}-inner-text`]:{paddingInlineStart:te}},[`&-horizontal${Oe}-with-text-right${Oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Oe}-inner-text`]:{paddingInlineEnd:te}}})}};var ye=(0,z.Z)("Divider",f=>{const Oe=(0,L.TS)(f,{dividerHorizontalWithTextGutterMargin:f.margin,dividerHorizontalGutterMargin:f.marginLG,sizePaddingEdgeHorizontal:0});return[T(Oe)]},f=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:f.marginXS})),d=function(f,Oe){var te={};for(var Ae in f)Object.prototype.hasOwnProperty.call(f,Ae)&&Oe.indexOf(Ae)<0&&(te[Ae]=f[Ae]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ae=Object.getOwnPropertySymbols(f);Ze{const{getPrefixCls:Oe,direction:te,divider:Ae}=m.useContext(V.E_),{prefixCls:Ze,type:Q="horizontal",orientation:ze="center",orientationMargin:H,className:B,rootClassName:l,children:r,dashed:s,plain:u,style:C}=f,F=d(f,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ee=Oe("divider",Ze),[He,Pe]=ye(ee),ve=ze.length>0?`-${ze}`:ze,Je=!!r,De=ze==="left"&&H!=null,je=ze==="right"&&H!=null,Se=n()(ee,Ae==null?void 0:Ae.className,Pe,`${ee}-${Q}`,{[`${ee}-with-text`]:Je,[`${ee}-with-text${ve}`]:Je,[`${ee}-dashed`]:!!s,[`${ee}-plain`]:!!u,[`${ee}-rtl`]:te==="rtl",[`${ee}-no-default-orientation-margin-left`]:De,[`${ee}-no-default-orientation-margin-right`]:je},B,l),Y=m.useMemo(()=>typeof H=="number"?H:/^\d+$/.test(H)?Number(H):H,[H]),se=Object.assign(Object.assign({},De&&{marginLeft:Y}),je&&{marginRight:Y});return He(m.createElement("div",Object.assign({className:Se,style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),C)},F,{role:"separator"}),r&&Q!=="vertical"&&m.createElement("span",{className:`${ee}-inner-text`,style:se},r)))}},91857:function(Qe,Ne,t){var e=t(59301),n=t(38819),m=t(92310),V=t.n(m),h=t(31561),z=t(70425),L=t(18929),T=t(2738),ye=t(79676),d=t(53487),be=t(92343),E=t(36355),f=t(20834),Oe=t(40875),te=t(88088),Ae=t(47211);const Ze=null,Q=l=>{const{menu:r,arrow:s,prefixCls:u,children:C,trigger:F,disabled:ee,dropdownRender:He,getPopupContainer:Pe,overlayClassName:ve,rootClassName:Je,open:De,onOpenChange:je,visible:Se,onVisibleChange:Y,mouseEnterDelay:se=.15,mouseLeaveDelay:we=.1,autoAdjustOverflow:S=!0,placement:me="",overlay:k,transitionName:le}=l,{getPopupContainer:Ce,getPrefixCls:xe,direction:qe}=e.useContext(E.E_),ft=e.useMemo(()=>{const c=xe();return le!==void 0?le:me.includes("top")?`${c}-slide-down`:`${c}-slide-up`},[xe,me,le]),nt=e.useMemo(()=>me?me.includes("Center")?me.slice(0,me.indexOf("Center")):me:qe==="rtl"?"bottomRight":"bottomLeft",[me,qe]),gt=xe("dropdown",u),[et,at]=(0,Ae.Z)(gt),[,j]=(0,te.Z)(),Me=e.Children.only(C),b=(0,be.Tm)(Me,{className:V()(`${gt}-trigger`,{[`${gt}-rtl`]:qe==="rtl"},Me.props.className),disabled:ee}),A=ee?[]:F;let o;A&&A.includes("contextMenu")&&(o=!0);const[g,x]=(0,L.Z)(!1,{value:De!=null?De:Se}),I=(0,z.useEvent)(c=>{je==null||je(c),Y==null||Y(c),x(c)}),a=V()(ve,Je,at,{[`${gt}-rtl`]:qe==="rtl"}),i=(0,ye.Z)({arrowPointAtCenter:typeof s=="object"&&s.pointAtCenter,autoAdjustOverflow:S,offset:j.marginXXS,arrowWidth:s?j.sizePopupArrow:0,borderRadius:j.borderRadius}),U=e.useCallback(()=>{x(!1)},[]),y=()=>{let c;return r!=null&&r.items?c=e.createElement(f.default,Object.assign({},r)):typeof k=="function"?c=k():c=k,He&&(c=He(c)),c=e.Children.only(typeof c=="string"?e.createElement("span",null,c):c),e.createElement(Oe.J,{prefixCls:`${gt}-menu`,expandIcon:e.createElement("span",{className:`${gt}-menu-submenu-arrow`},e.createElement(n.Z,{className:`${gt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:U,validator:M=>{let{mode:fe}=M}},c)};return et(e.createElement(h.Z,Object.assign({alignPoint:o},(0,T.Z)(l,["rootClassName"]),{mouseEnterDelay:se,mouseLeaveDelay:we,visible:g,builtinPlacements:i,arrow:!!s,overlayClassName:a,prefixCls:gt,getPopupContainer:Pe||Ce,transitionName:ft,trigger:A,overlay:y,placement:nt,onVisibleChange:I}),b))};function ze(l){return Object.assign(Object.assign({},l),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const H=(0,d.Z)(Q,"dropdown",l=>l,ze),B=l=>e.createElement(H,Object.assign({},l),e.createElement("span",null));Q._InternalPanelDoNotUseOrYouWillBeFired=B,Ne.Z=Q},38854:function(Qe,Ne,t){t.d(Ne,{Z:function(){return te}});var e=t(91857),n=t(92310),m=t.n(n),V=t(59301),h=t(18785),z=t(3113),L=t(36355),T=t(81327),ye=t(33234),d=t(47211),be=function(Ae,Ze){var Q={};for(var ze in Ae)Object.prototype.hasOwnProperty.call(Ae,ze)&&Ze.indexOf(ze)<0&&(Q[ze]=Ae[ze]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,ze=Object.getOwnPropertySymbols(Ae);H{const{getPopupContainer:Ze,getPrefixCls:Q,direction:ze}=V.useContext(L.E_),{prefixCls:H,type:B="default",danger:l,disabled:r,loading:s,onClick:u,htmlType:C,children:F,className:ee,menu:He,arrow:Pe,autoFocus:ve,overlay:Je,trigger:De,align:je,open:Se,onOpenChange:Y,placement:se,getPopupContainer:we,href:S,icon:me=V.createElement(h.Z,null),title:k,buttonsRender:le=y=>y,mouseEnterDelay:Ce,mouseLeaveDelay:xe,overlayClassName:qe,overlayStyle:ft,destroyPopupOnHide:nt,dropdownRender:gt}=Ae,et=be(Ae,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),at=Q("dropdown",H),j=`${at}-button`,[Me,b]=(0,d.Z)(at),A={menu:He,arrow:Pe,autoFocus:ve,align:je,disabled:r,trigger:r?[]:De,onOpenChange:Y,getPopupContainer:we||Ze,mouseEnterDelay:Ce,mouseLeaveDelay:xe,overlayClassName:qe,overlayStyle:ft,destroyPopupOnHide:nt,dropdownRender:gt},{compactSize:o,compactItemClassnames:g}=(0,ye.ri)(at,ze),x=m()(j,g,ee,b);"overlay"in Ae&&(A.overlay=Je),"open"in Ae&&(A.open=Se),"placement"in Ae?A.placement=se:A.placement=ze==="rtl"?"bottomLeft":"bottomRight";const I=V.createElement(z.ZP,{type:B,danger:l,disabled:r,loading:s,onClick:u,htmlType:C,href:S,title:k},F),a=V.createElement(z.ZP,{type:B,danger:l,icon:me}),[i,U]=le([I,a]);return Me(V.createElement(T.Z.Compact,Object.assign({className:x,size:o,block:!0},et),i,V.createElement(e.Z,Object.assign({},A),U)))};E.__ANT_BUTTON=!0;var f=E;const Oe=e.Z;Oe.Button=f;var te=Oe},47211:function(Qe,Ne,t){t.d(Ne,{Z:function(){return be}});var e=t(17313),n=t(13826),m=t(92899),V=t(29878),h=t(19447),z=t(83116),L=t(37613),ye=E=>{const{componentCls:f,menuCls:Oe,colorError:te,colorTextLightSolid:Ae}=E,Ze=`${Oe}-item`;return{[`${f}, ${f}-menu-submenu`]:{[`${Oe} ${Ze}`]:{[`&${Ze}-danger:not(${Ze}-disabled)`]:{color:te,"&:hover":{color:Ae,backgroundColor:te}}}}}};const d=E=>{const{componentCls:f,menuCls:Oe,zIndexPopup:te,dropdownArrowDistance:Ae,sizePopupArrow:Ze,antCls:Q,iconCls:ze,motionDurationMid:H,dropdownPaddingVertical:B,fontSize:l,dropdownEdgeChildPadding:r,colorTextDisabled:s,fontSizeIcon:u,controlPaddingHorizontal:C,colorBgElevated:F}=E;return[{[f]:Object.assign(Object.assign({},(0,e.Wf)(E)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:te,display:"block","&::before":{position:"absolute",insetBlock:-Ae+Ze/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Q}-btn`]:{[`& > ${ze}-down, & > ${Q}-btn-icon > ${ze}-down`]:{fontSize:u}},[`${f}-wrap`]:{position:"relative",[`${Q}-btn > ${ze}-down`]:{fontSize:u},[`${ze}-down::before`]:{transition:`transform ${H}`}},[`${f}-wrap-open`]:{[`${ze}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Q}-slide-down-enter${Q}-slide-down-enter-active${f}-placement-bottomLeft, +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8552],{40001:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},49198:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},84105:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},18785:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},87169:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},73331:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},15277:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},33853:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},38819:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},47472:function(Qe,Ne,t){t.d(Ne,{Z:function(){return T}});var e=t(54476),n=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},V=m,h=t(7657),z=function(d,be){return n.createElement(h.Z,(0,e.Z)({},d,{ref:be,icon:V}))},L=n.forwardRef(z),T=L},93018:function(Qe,Ne,t){t.d(Ne,{Z:function(){return Oe}});var e=t(59301),n=t(65582),m=t(92310),V=t.n(m),h=t(28501),z={goback:"goback___jLQ4I",title_name:"title_name___YAPgH"},L=Object.defineProperty,T=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,be=(te,Ae,Ze)=>Ae in te?L(te,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):te[Ae]=Ze,E=(te,Ae)=>{for(var Ze in Ae||(Ae={}))ye.call(Ae,Ze)&&be(te,Ze,Ae[Ze]);if(T)for(var Ze of T(Ae))d.call(Ae,Ze)&&be(te,Ze,Ae[Ze]);return te};const f=({dispatch:te,className:Ae,style:Ze={},leftDom:Q,rigthDom:ze,title:H,imgUrl:B})=>((0,e.useEffect)(()=>(te({type:"globalSetting/headerToggle",payload:!1}),()=>{te({type:"globalSetting/headerToggle",payload:!0})}),[]),e.createElement("div",{className:V()("flex item-center justify-between h-64px px-40px",Ae),style:E({background:`url(${B||t(12907)}) 0 0 / 100% 100% no-repeat`,height:85},Ze)},Q||e.createElement("div",{className:"flex item-center",style:{width:120}},e.createElement("div",{className:`current rounded-full px-30px py-12px c-white ${z.goback}`,onClick:()=>{n.history.push("/")}},"\u8FD4\u56DE\u9996\u9875")),typeof H=="string"?e.createElement("div",{className:`text-36px c-white font-semibold ${z.title_name}`}," ",H):H,ze||e.createElement("div",{className:"flex justify-end",style:{width:120}},e.createElement(h.Z,null))));var Oe=(0,n.connect)(({})=>({}))(f)},28501:function(Qe,Ne,t){t.d(Ne,{Z:function(){return Ze}});var e=t(65582),n=t(20834),m=t(8591),V=t(38854),h={flex_box_center:"flex_box_center___M4WZx",flex_space_between:"flex_space_between___bwhOs",flex_box_vertical_center:"flex_box_vertical_center___DNlG5",flex_box_center_end:"flex_box_center_end___HBHt4",flex_box_column:"flex_box_column___spgwz",userPic:"userPic___Tl9mK",rightMenu:"rightMenu___YDuVi",menuWrap:"menuWrap___m0MSS",exit:"exit___dTkih",classromediv:"classromediv___TRiTQ",glow:"glow___OjyUr",height67:"height67___HL_eW",login:"login___Dnj59",icon:"icon___B_lfc"},z=t(41867),L=t(89540),T=t(74128),ye=t(65862),d=t(59301),be=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,Oe=(Q,ze)=>{var H={};for(var B in Q)E.call(Q,B)&&ze.indexOf(B)<0&&(H[B]=Q[B]);if(Q!=null&&be)for(var B of be(Q))ze.indexOf(B)<0&&f.call(Q,B)&&(H[B]=Q[B]);return H},te=(Q,ze,H)=>new Promise((B,l)=>{var r=C=>{try{u(H.next(C))}catch(F){l(F)}},s=C=>{try{u(H.throw(C))}catch(F){l(F)}},u=C=>C.done?B(C.value):Promise.resolve(C.value).then(r,s);u((H=H.apply(Q,ze)).next())});const Ae=Q=>{var ze=Q,{homePage:H,user:B,globalSetting:l,loading:r,dispatch:s,shixunHomeworks:u}=ze,C=Oe(ze,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks"]),F,ee,He,Pe,ve,Je,De,je,Se,Y;const se=(F=B.userInfo)==null?void 0:F.is_school_manage,we=()=>{var S,me,k,le,Ce;return(0,ye.Ll)()?d.createElement(n.default,{className:`${h.rightMenu} ${h.menuWrap}`},d.createElement(n.default.Item,null,d.createElement(e.Link,{to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406"))):d.createElement(n.default,{className:`${h.rightMenu} ${h.menuWrap}`},d.createElement(n.default.Item,null,d.createElement(e.Link,{to:`/users/${(S=B.userInfo)==null?void 0:S.login}/classrooms`},"\u4E2A\u4EBA\u4E2D\u5FC3")),((k=(me=B.navigationInfo)==null?void 0:me.top)==null?void 0:k.laboratory_admin_url)&&d.createElement(n.default.Item,null,d.createElement("a",{href:(Ce=(le=B.navigationInfo)==null?void 0:le.top)==null?void 0:Ce.laboratory_admin_url},"\u540E\u53F0\u7BA1\u7406")),d.createElement(n.default.Item,null,d.createElement(e.Link,{onClick:()=>{localStorage.getItem("Noviceguide")==="0"||s({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:2,href:"/classrooms",text:d.createElement("div",null,"OK\uFF0C\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5F00\u59CB\u65B0\u5EFA\u3010\u6559\u5B66\u8BFE\u5802\u3011\uFF0C\u8BF7\u60A8\u627E\u5230\u95EA\u5149\u6846\u5E76\u70B9\u51FB \u201C\u6559\u5B66\u8BFE\u5802\u201D\u3002")}})},to:"/account/profile"},"\u8D26\u53F7\u7BA1\u7406")),d.createElement(n.default.Item,{className:h.exit},d.createElement("a",{onClick:()=>te(void 0,null,function*(){(0,ye.m5)();let xe;try{xe=yield(0,L.vR)({}),m.ZP.success(xe==null?void 0:xe.message)}catch(qe){}(0,ye.d8)("_educoder_session","logout",1),(0,ye.m5)(),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),xe!=null&&xe.url?window.location.href=xe.url:(e.history.replace("/"),window.location.reload())})},"\u9000\u51FA")))};return(0,z.bg)()?d.createElement(V.Z,{dropdownRender:we,placement:"bottomRight"},d.createElement("section",null,d.createElement("aside",null,d.createElement("div",{className:u.actionTabs.type===1?h.classromediv:""},d.createElement("img",{className:`${h.userPic} current ml15`,src:`${(ee=T.Z)==null?void 0:ee.IMG_SERVER}/images/${(He=B.userInfo)==null?void 0:He.image_url}`,alt:"",onClick:()=>{var S;return e.history.push((0,ye.Ll)()?"/account/profile":`/users/${(S=B.userInfo)==null?void 0:S.login}/classrooms`)}}),(0,ye.Ll)()&&d.createElement("span",{className:"ml10 font16"},(Pe=B.userInfo)==null?void 0:Pe.username),d.createElement("i",{className:`iconfont icon-zhankai4 ${h.icon}`}))))):d.createElement("div",{className:`font15 flex item-center gap-10px ${l.isIlearning?h.login:""}`},((ve=l.setting)==null?void 0:ve.sso_login_url)&&d.createElement("a",{target:"_blank",href:(Je=l.setting)==null?void 0:Je.sso_login_url},d.createElement("img",{src:`${T.Z.IMG_SERVER}/${(De=l.setting)==null?void 0:De.login_logo_url}`,width:40}),d.createElement("span",{style:{color:"#fff",fontSize:"14px",fontWeight:500,paddingLeft:"10px"}},(je=l.setting)==null?void 0:je.sso_login_button_name)),!((Se=l.setting)!=null&&Se.hide_account_login)&&d.createElement(d.Fragment,null,d.createElement("span",{className:"current-primary-hover",onClick:()=>{s({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}}," \u767B\u5F55 "),!((Y=l.setting)!=null&&Y.close_register)&&d.createElement(d.Fragment,null,d.createElement("span",null,"|"),d.createElement("span",{className:"current-primary-hover",onClick:()=>{e.history.push("/user/register")}},"\u6CE8\u518C"))))};var Ze=(0,e.connect)(({homePage:Q,loading:ze,user:H,globalSetting:B,shixunHomeworks:l})=>({homePage:Q,user:H,globalSetting:B,shixunHomeworks:l,loading:ze.models.index}))(Ae)},40277:function(Qe,Ne,t){t.d(Ne,{Z:function(){return ye}});var e=t(59301),n=t(65582),m=t(44e3),V=t(20834),h=t(41867),z={myMenu:"myMenu___bbQDH",layoutSider:"layoutSider___b9ayt"};const L={background:"#082930"},T=({globalSetting:d,mainDom:be,dispatch:E})=>{var f;const[Oe,te]=(0,e.useState)([]),[Ae,Ze]=(0,e.useState)([]),Q=(0,e.useMemo)(()=>{var B,l,r;const s=C=>!(C!=null&&C.hidden)&&!((0,h.JA)()&&(C==null?void 0:C.link)==="/paperlibrary"),u=((l=(B=d==null?void 0:d.setting)==null?void 0:B.navbar)==null?void 0:l.filter(s))||[];for(const C of u)C.subitem=((r=C==null?void 0:C.subitem)==null?void 0:r.filter(s))||[];return u},[(f=d==null?void 0:d.setting)==null?void 0:f.navbar]),ze=(B,l)=>{let r="",s=[];for(const u of B)if(u.link===l&&(r=u.link),u.subitem&&u.subitem.length>0){for(const C of u.subitem)if(C.link===l&&(r=C.link,s=[u.link]),C.subitem){const F=ze(C.subitem,l);F.selectedKey&&(r=F.selectedKey,s=[u.link,...F.openKeys])}}return{selectedKey:r,openKeys:s}};(0,e.useEffect)(()=>{const B=location.pathname,{selectedKey:l,openKeys:r}=ze(Q,B);te(l?[l]:[]),r.length>0?Ze(r):Ze([])},[Q]),(0,e.useEffect)(()=>{E({type:"globalSetting/headerFooterToggle",payload:!0})},[]);const H=B=>{switch(B){case"/":return e.createElement("i",{className:"iconfont ml10 icon-shouye3 font14"});case"/paths":return e.createElement("i",{className:"iconfont ml10 icon-zhihuikecheng font14"});case"/shixuns":return e.createElement("i",{className:"iconfont ml10 icon-shijianxiangmu font14"});case"/classrooms":return e.createElement("i",{className:"iconfont ml10 icon-jiaoxueketang2 font14"});default:return null}};return e.createElement(m.default,{style:L},d.showHeader&&d.showHeaderFooter&&e.createElement(m.default.Sider,{className:`flex flex-col ${z.layoutSider}`,width:244,style:L},e.createElement(V.default,{className:`w-full ${z.myMenu}`,mode:"inline",selectedKeys:Oe,openKeys:Ae,onOpenChange:B=>Ze(B),onSelect:({key:B})=>{B&&B.includes("/")&&n.history.push(B)},items:Q.map(B=>{var l;return{key:B.link,label:B.name,icon:H(B==null?void 0:B.link),children:((l=B.subitem)==null?void 0:l.length)>0?B.subitem.map(r=>{var s;return{key:r.link,label:r.name,children:((s=r.subitem)==null?void 0:s.length)>0?r.subitem.map(u=>({key:u.link,label:u.name})):void 0}}):void 0}})})),e.createElement(m.default.Content,{style:{backgroundColor:"#021C21"}},be))};var ye=(0,n.connect)(({globalSetting:d,user:be})=>({globalSetting:d,user:be}))(T)},90175:function(Qe,Ne,t){t.d(Ne,{Z:function(){return ye}});var e=t(59301),n=t(65582),m=t(44e3),V=t(20834),h=t(41867),z={myMenu:"myMenu___BgVun",layoutSider:"layoutSider___rUtSB"};const L={background:"linear-gradient( 180deg, #FFFFFF -20%, #BCD7FF 100%)"},T=({globalSetting:d,mainDom:be,dispatch:E})=>{var f;const[Oe,te]=(0,e.useState)([]),[Ae,Ze]=(0,e.useState)([]),Q=(0,e.useMemo)(()=>{var H,B,l;const r=u=>!(u!=null&&u.hidden)&&!((0,h.JA)()&&(u==null?void 0:u.link)==="/paperlibrary"),s=((B=(H=d==null?void 0:d.setting)==null?void 0:H.navbar)==null?void 0:B.filter(r))||[];for(const u of s)u.subitem=((l=u==null?void 0:u.subitem)==null?void 0:l.filter(r))||[];return s},[(f=d==null?void 0:d.setting)==null?void 0:f.navbar]),ze=(H,B)=>{let l="",r=[];for(const s of H)if(s.link===B&&(l=s.link),s.subitem&&s.subitem.length>0){for(const u of s.subitem)if(u.link===B&&(l=u.link,r=[s.link]),u.subitem){const C=ze(u.subitem,B);C.selectedKey&&(l=C.selectedKey,r=[s.link,...C.openKeys])}}return{selectedKey:l,openKeys:r}};return(0,e.useEffect)(()=>{const H=location.pathname,{selectedKey:B,openKeys:l}=ze(Q,H);te(B?[B]:[]),l.length>0?Ze(l):Ze([])},[Q]),(0,e.useEffect)(()=>{E({type:"globalSetting/headerFooterToggle",payload:!0})},[]),e.createElement(m.default,{style:L},d.showHeader&&d.showHeaderFooter&&e.createElement(m.default.Sider,{className:`flex flex-col ${z.layoutSider}`,width:212,style:L},e.createElement(V.default,{className:`w-full ${z.myMenu}`,mode:"inline",selectedKeys:Oe,openKeys:Ae,onOpenChange:H=>Ze(H),onSelect:({key:H})=>{H&&H.includes("/")&&n.history.push(H)},items:Q.map(H=>{var B;return{key:H.link,label:H.name,children:((B=H.subitem)==null?void 0:B.length)>0?H.subitem.map(l=>{var r;return{key:l.link,label:l.name,children:((r=l.subitem)==null?void 0:r.length)>0?l.subitem.map(s=>({key:s.link,label:s.name})):void 0}}):void 0}})})),e.createElement(m.default.Content,{style:{backgroundColor:"#EEF5FE"}},be))};var ye=(0,n.connect)(({globalSetting:d,user:be})=>({globalSetting:d,user:be}))(T)},61584:function(Qe,Ne,t){t.d(Ne,{i:function(){return r},Z:function(){return u}});var e={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},n=t(71418),m=t(6848),V=t(93948),h=t(92310),z=t.n(h),L=t(65862),T=t(2524),ye=t(41867),d=t(79005),be=t(20345),E=t(77882),f=t(31081),Oe=t(75309),te=t(71979),Ae=t(47558),Ze=t(42922),Q=t(66832),ze=t(96593),H=t(19664),B=t(91833),l=t(59301);const r=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:d,swimg:be},{name:"101\u8BA1\u5212",ptimg:E,swimg:f},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Oe,swimg:te},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ae,swimg:Ze},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Q,swimg:ze},{name:"\u519B\u961F\u4E00\u6D41",ptimg:H,swimg:B}];var u=({className:C,dataSource:F=[],col:ee=4,right:He,bottom:Pe=23,precision:ve=0,wrapWidth:Je=1200,trackEventItems:De,loading:je,onRemove:Se=()=>{},isCurrent:Y=!0,showAlias:se=!1,showProgress:we=!1})=>{const S=Math.floor((Je-(ee-1)*He)/ee),me=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(k=>(window.ENV==="build"&&(k.ptimg=`/react/build${k.ptimg}`,k.swimg=`/react/build${k.swimg}`),k));return l.createElement(n.Z,{spinning:je},l.createElement("div",{className:z()(e.list,C)},!!(F!=null&&F.length)&&(F==null?void 0:F.map((k,le)=>{var Ce,xe,qe,ft,nt,gt;const{name:et,id:at,identifier:j,featured:Me,school_name:b,image_url:A,excellent:o,is_plan:g}=k;return l.createElement("div",{key:at,className:Y&&we?e.wrapisCurrent:e.wrap,style:{width:S,marginRight:(1+le)%ee===0?0:He+ve,marginBottom:Pe}},l.createElement("a",{className:e.li,onClick:x=>{x.preventDefault(),x.stopPropagation(),De&&(0,L.L9)([De]),(0,L.xg)(`/paths/${j}`)}},l.createElement("div",{className:e.img},l.createElement("img",{className:e.cover,src:`${A}`}),Y&&(0,ye.bg)()&&(k==null?void 0:k.studying)&&l.createElement("div",{className:`${e.movebq} user-path-items`,onClick:x=>{x.stopPropagation(),Se(k)}},l.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),l.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ce=k==null?void 0:k.subject_tags)==null?void 0:Ce.map((x,I)=>{var a,i;if(I===0){const y=(a=me.find(c=>c.name==x))==null?void 0:a.swimg;return l.createElement("img",{className:e.sign,src:y,style:{left:"-4px"}})}const U=(i=me.find(y=>y.name==x))==null?void 0:i.ptimg;return l.createElement("img",{className:e.sign,src:U,style:{left:`${48+52*(I-1)+2*I}px`}})}),l.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(k==null?void 0:k.excellent)&&l.createElement("div",{className:e.bq},"\u5F00\u653E\u8BFE\u7A0B"))),l.createElement("div",{className:e.name},l.createElement(m.Z,{title:se&&(k!=null&&k.excellent_alias_name)?l.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${et}`,l.createElement("br",null),l.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${k==null?void 0:k.excellent_alias_name}`)):et},l.createElement("span",{className:e.e},se&&(k==null?void 0:k.excellent_alias_name)||et))),Y&&we&&((xe=k==null?void 0:k.progress)==null?void 0:xe.all_score)!=0&&l.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},l.createElement(V.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((qe=k==null?void 0:k.progress)==null?void 0:qe.my_score)/((ft=k==null?void 0:k.progress)==null?void 0:ft.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(nt=k==null?void 0:k.progress)==null?void 0:nt.my_score,"/",(gt=k==null?void 0:k.progress)==null?void 0:gt.all_score),(!Y||!we)&&l.createElement("div",{className:e.tags},l.createElement("div",null,l.createElement(m.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},l.createElement("span",null,l.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),l.createElement("span",null,k.stages_count))),l.createElement(m.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},l.createElement("span",null,l.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),l.createElement("span",null,k.members_count)))))))})),!F.length&&l.createElement(T.Z,null)))}},3918:function(Qe,Ne,t){t.d(Ne,{jL:function(){return h},w9:function(){return de},vv:function(){return it},dN:function(){return Ot},QD:function(){return an},cQ:function(){return I.Z},vg:function(){return Lt},Oz:function(){return vt},op:function(){return lt},O5:function(){return Fn},_b:function(){return Zt},t7:function(){return Pe},tT:function(){return De},Gi:function(){return It},YG:function(){return Ie},Ed:function(){return ct},kT:function(){return We},qp:function(){return Ze},Um:function(){return r},K3:function(){return H},vr:function(){return Sn},qE:function(){return pn},Je:function(){return Y},wb:function(){return gt},rC:function(){return x},lB:function(){return j},cq:function(){return kt},kO:function(){return q},tp:function(){return C},Si:function(){return wn},k8:function(){return ar},Du:function(){return Un}});var e=t(59301),n={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7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oExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",h=({dataSource:J=[],img:Z,imgWidth:R=346,title:ue,sunTitle:Le,bannerExtraContent:Ye})=>e.createElement("div",{className:n.banner},e.createElement("div",{className:n.content},e.createElement("aside",null,e.createElement("p",null,e.createElement("b",null,ue),e.createElement("span",null,Le)),J.length>0&&e.createElement("div",{className:n.btns},J.map((oe,rt)=>e.createElement("div",{key:rt,onClick:oe.click},oe.name,oe.sign?e.createElement("img",{src:m,width:39}):null))),Ye),Z&&e.createElement("img",{style:{marginTop:33,marginRight:38},src:Z,width:R}))),z={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},L=t(92310),T=t.n(L),ye=t(89392),d=Object.defineProperty,be=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,Oe=(J,Z,R)=>Z in J?d(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,te=(J,Z)=>{for(var R in Z||(Z={}))E.call(Z,R)&&Oe(J,R,Z[R]);if(be)for(var R of be(Z))f.call(Z,R)&&Oe(J,R,Z[R]);return J},Ze=({dataSource:J=[],value:Z,onChange:R,onTitleChange:ue,className:Le,title:Ye,titleWidth:oe=41,style:rt={},fontColor:wt="#6A7283",showCount:jt,classNameActive:Et,styleItem:Ue={}})=>{const[qt,un]=(0,e.useState)(0),[En,Kt]=(0,e.useState)(!1),Mt=(0,e.useRef)(null),sn=(0,e.useRef)(null);return(0,e.useEffect)(()=>{var gn;J.length!==0&&(((gn=Mt==null?void 0:Mt.current)==null?void 0:gn.clientHeight)>97?un(1):un(0)),J.length===0&&un(0),Kt(!1)},[J]),e.createElement("div",{className:T()(z.row,Le),style:rt},e.createElement("div",{onClick:(0,ye.throttle)(()=>ue==null?void 0:ue(),2e3),style:{width:oe,marginTop:En?12:4},className:`${z.title} ${ue?"current":""}`},Ye),e.createElement("div",{className:En?`${z.tagsWrap} ${z.tagsBorderWrap}`:z.tagsWrap},e.createElement("div",{className:z.bar,ref:sn,style:qt>0?{height:qt===1?97:"auto",overflow:qt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},e.createElement("div",{className:z.tag,ref:Mt},J==null?void 0:J.map(gn=>e.createElement("span",{onClick:()=>R(gn.id),key:gn.id,style:te(te({color:wt},Ue),(gn==null?void 0:gn.style)||{}),className:Z===gn.id?T()(Et||z.active,gn.classNameActive):""},e.createElement("span",{title:gn.name,className:z.name},gn.name),!!jt&&e.createElement("span",{className:z.num},gn.count))))),!!qt&&e.createElement(e.Fragment,null,qt===1?e.createElement("div",{onClick:()=>{var gn;un(2),((gn=Mt==null?void 0:Mt.current)==null?void 0:gn.clientHeight)>245?Kt(!0):Kt(!1)},className:z.action},"\u5C55\u5F00",e.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):e.createElement("div",{onClick:()=>{sn.current.scrollTop=0,un(1),Kt(!1)},className:z.action},"\u6536\u8D77",e.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Q={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},H=({dataSource:J=[],value:Z,onChange:R,onTitleChange:ue,className:Le,title:Ye,titleWidth:oe=41,style:rt={},fontColor:wt="#6A7283",showCount:jt,expand:Et=!0})=>{const[Ue,qt]=(0,e.useState)(0),[un,En]=(0,e.useState)(!1),Kt=(0,e.useRef)(null),Mt=(0,e.useRef)(null),[sn,gn]=(0,e.useState)(Et);return e.createElement("div",{className:T()(Q.row,Le),style:rt},e.createElement("div",{className:"flex item-center justify-between"},e.createElement("div",{onClick:(0,ye.throttle)(()=>ue==null?void 0:ue(),2e3),style:{width:oe,marginTop:un?12:4},className:`${Q.title} ${ue?"current":""}`},Ye),e.createElement("i",{className:`iconfont ${sn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:sn?8:10},onClick:()=>gn(!sn)})),sn&&e.createElement("div",{className:un?`${Q.tagsWrap} ${Q.tagsBorderWrap}`:Q.tagsWrap},e.createElement("div",{className:Q.fenge}),e.createElement("div",{className:Q.bar,ref:Mt},e.createElement("div",{className:Q.tag,ref:Kt},J==null?void 0:J.map(Cn=>e.createElement("span",{onClick:()=>R(Cn.id),key:Cn.id,style:{color:wt},className:Z===Cn.id?Q.active:""},e.createElement("span",{title:Cn.name,className:Q.name},Cn.name),!!jt&&e.createElement("span",{className:Q.num},Cn.count)))))))},B={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},r=({dataSource:J=[],value:Z,onChange:R,onTitleChange:ue,className:Le,title:Ye,titleWidth:oe=41,style:rt={},fontColor:wt="#fff",showCount:jt,expand:Et=!0})=>{const[Ue,qt]=(0,e.useState)(0),[un,En]=(0,e.useState)(!1),Kt=(0,e.useRef)(null),Mt=(0,e.useRef)(null),[sn,gn]=(0,e.useState)(Et);return e.createElement("div",{className:T()(B.row,Le),style:rt},e.createElement("div",{className:"flex item-center justify-between"},e.createElement("div",{onClick:(0,ye.throttle)(()=>ue==null?void 0:ue(),2e3),style:{width:oe},className:`${B.title} ${ue?"current":""}`},Ye),e.createElement("i",{className:`iconfont ${sn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:sn?"#00DDC7":"#037F74",fontSize:sn?10:12},onClick:()=>gn(!sn)})),sn&&e.createElement("div",{className:un?`${B.tagsWrap} ${B.tagsBorderWrap}`:B.tagsWrap},e.createElement("div",{className:B.bar,ref:Mt},e.createElement("div",{className:B.tag,ref:Kt},J==null?void 0:J.map(Cn=>e.createElement("span",{onClick:()=>R(Cn.id),key:Cn.id,style:{color:wt},className:Z===Cn.id?B.active:""},e.createElement("span",{title:Cn.name,className:B.name},Cn.name),!!jt&&e.createElement("span",{className:B.num},Cn.count)))))))},s={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},C=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={}})=>e.createElement("div",{style:Le,className:T()(s.tabs,ue)},J.map(Ye=>e.createElement("span",{onClick:()=>R(Ye.id),className:Z===Ye.id?s.active:"",key:Ye.id},Ye.name))),F={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ee=t(92832),Pe=({dataSource:J=[],value:Z="",onChange:R,onInputChange:ue=()=>{},className:Le,style:Ye={},placeholder:oe,allowClear:rt=!1})=>{var wt;const[jt,Et]=(0,e.useState)(""),[Ue,qt]=(0,e.useState)("");(0,e.useEffect)(()=>{var Kt;let Mt=Z;(Kt=JSON.stringify(Z))!=null&&Kt.includes("{")&&(Et(Z.id),Mt=Z.value||"");try{qt(decodeURIComponent(Mt||""))}catch(sn){qt(decodeURIComponent(Mt||""))}},[Z]);const un=()=>{R(encodeURIComponent(Ue),jt||null)},En=Kt=>{Kt!==jt&&(Et(Kt),R(encodeURIComponent(Ue),Kt))};return e.createElement("div",{className:T()(F.input,Le),style:Ye},!!J.length&&e.createElement("div",{className:F.dropdown},e.createElement("div",{className:F.text},(wt=J.find(Kt=>Kt.id===jt))==null?void 0:wt.name,e.createElement("i",{className:"iconfont icon-zhankai4"}),e.createElement("b",{className:F.b1}),e.createElement("b",{className:F.b2})),e.createElement("div",{className:F.menu},J.map((Kt,Mt)=>e.createElement("div",{key:Mt,onClick:()=>En(Kt.id)},Kt.name)))),e.createElement(ee.default,{onPressEnter:un,value:Ue,onChange:Kt=>{qt(Kt.target.value),ue(encodeURIComponent(Kt.target.value),jt||null)},bordered:!1,placeholder:oe}),e.createElement("i",{onClick:un,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ve={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},De=({dataSource:J=[],value:Z="",onChange:R,onInputChange:ue=()=>{},className:Le,style:Ye={},placeholder:oe,allowClear:rt=!1})=>{var wt;const[jt,Et]=(0,e.useState)(""),[Ue,qt]=(0,e.useState)("");(0,e.useEffect)(()=>{var Kt;let Mt=Z;(Kt=JSON.stringify(Z))!=null&&Kt.includes("{")&&(Et(Z.id),Mt=Z.value||"");try{qt(decodeURIComponent(Mt||""))}catch(sn){qt(decodeURIComponent(Mt||""))}},[Z]);const un=()=>{R(encodeURIComponent(Ue),jt||null)},En=Kt=>{Kt!==jt&&(Et(Kt),R(encodeURIComponent(Ue),Kt))};return e.createElement("div",{className:T()(ve.input,Le),style:Ye},!!J.length&&e.createElement("div",{className:ve.dropdown},e.createElement("div",{className:ve.text},(wt=J.find(Kt=>Kt.id===jt))==null?void 0:wt.name,e.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),e.createElement("div",{className:ve.menu},J.map((Kt,Mt)=>e.createElement("div",{key:Mt,onClick:()=>En(Kt.id)},Kt.name)))),e.createElement(ee.default,{onPressEnter:un,value:Ue,onChange:Kt=>{qt(Kt.target.value),ue(encodeURIComponent(Kt.target.value),jt||null)},bordered:!1,placeholder:oe}),e.createElement("i",{onClick:un,className:"iconfont icon-sousuo9 font14 pl10 current"}))},je={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Y=({value:J,onChange:Z,className:R,total:ue,pageSize:Le,style:Ye={}})=>{const oe=J<2,rt=J>=Math.ceil(ue/Le);return ue<=Le?e.createElement(e.Fragment,null):e.createElement("div",{className:T()(je.quickPager,R),style:Ye},e.createElement("div",{onClick:()=>{oe||Z(J-1,"prev")},className:oe?je.disabled:""},"\u4E0A\u4E00\u9875"),e.createElement("div",{onClick:()=>{rt||Z(J+1,"next")},className:rt?je.disabled:""},"\u4E0B\u4E00\u9875"))},se={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},we=t(71418),S=t(6848),me=t(13570),k=t(74128),le=t(65862),Ce=t(96908),xe=t(57177),qe=t(81378),ft=t(2524),gt=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt})=>{const jt=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:wt},e.createElement("div",{className:T()(se.list,J)},!!Z.length&&Z.map((Et,Ue)=>{const{name:qt,id:un,identifier:En,power:Kt,cover_image_id:Mt,pic:sn}=Et;return e.createElement("div",{className:se.wrap,key:un,style:{width:jt,marginRight:(1+Ue)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/shixuns/${En}/challenges`,className:se.li,onClick:gn=>{gn.preventDefault(),rt&&(0,le.L9)([rt]),Kt&&(0,le.xg)(`/shixuns/${En}/challenges`)}},e.createElement("div",{className:se.img},e.createElement("img",{className:se.cover,src:`${sn}`}),Et.is_jupyter&&e.createElement("img",{className:se.sign,src:Ce}),Et.is_jupyter_lab&&e.createElement("img",{className:se.sign,src:xe}),Et.is_unity_3d&&e.createElement("img",{className:se.sign,src:qe})),e.createElement("div",{className:se.name},e.createElement(S.Z,{title:qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},e.createElement("span",{className:se.e},qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),e.createElement("div",{className:se.tags},e.createElement(S.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),e.createElement("span",null,Et.challenges_count))),!!Et.myshixuns_count&&e.createElement(S.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),e.createElement("span",null,Et.myshixuns_count))),e.createElement(S.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},e.createElement("span",null,e.createElement("span",null,Et.level))),e.createElement("div",{className:se.rate},e.createElement(me.Z,{allowHalf:!0,disabled:!0,defaultValue:Et.score_info}),e.createElement("span",null,"\xA0",Et.score_info?`${Et.score_info}\u5206`:"5\u5206")))),!Kt&&e.createElement("div",{className:se.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Z.length&&e.createElement(ft.Z,null)))},et={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},j=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,wrapClassName:rt,trackEventItems:wt,loading:jt})=>{const Et=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:jt},e.createElement("div",{className:T()(et.list,J)},!!Z.length&&Z.map((Ue,qt)=>{const{name:un,id:En,identifier:Kt,power:Mt,cover_image_id:sn,pic:gn}=Ue;return e.createElement("div",{className:T()(et.wrap,rt),key:En,style:{width:Et,marginRight:(1+qt)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/shixuns/${Kt}/challenges`,className:et.li,onClick:Cn=>{Cn.preventDefault(),wt&&(0,le.L9)([wt]),Mt&&(0,le.xg)(`/shixuns/${Kt}/challenges`)}},e.createElement("img",{src:t(47621),className:et.titleBg}),e.createElement("div",{className:et.name},e.createElement(S.Z,{title:un||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},e.createElement("span",{className:et.e},un||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),e.createElement("div",{style:{padding:"14px",paddingBottom:0}},e.createElement("div",{className:et.img},e.createElement("img",{className:et.cover,src:sn?`${k.Z.API_SERVER}/api/attachments/${sn}`:`${k.Z.IMG_SERVER+gn}`}),Ue.is_jupyter&&e.createElement("div",{className:et.bq},"Jupyter"),Ue.is_jupyter_lab&&e.createElement("div",{className:et.bq},"JupyterLab"),Ue.is_unity_3d&&e.createElement("div",{className:et.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),e.createElement("div",{className:"mt20 flex item-center justify-between"},e.createElement("div",null,e.createElement("span",{className:et.text},"\u5B66\u4E60\u4EBA\u6570"),e.createElement("span",{className:et.value},Ue.myshixuns_count)),e.createElement("div",null,e.createElement("span",{className:et.text},"\u56F0\u96BE\u7B49\u7EA7"),e.createElement("span",{className:et.value},Ue.level))),e.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},e.createElement("div",null,e.createElement("span",{className:et.text},"\u5173\u5361\u6570"),e.createElement("span",{className:et.value},Ue.challenges_count)),e.createElement("div",{className:et.rate},e.createElement(me.Z,{allowHalf:!0,disabled:!0,defaultValue:Ue.score_info}),e.createElement("span",{className:et.value,style:{color:"#FF9C00"}},"\xA0",Ue.score_info?`${Ue.score_info}\u5206`:"5\u5206"))))),!Mt&&e.createElement("div",{className:et.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Z.length&&e.createElement(ft.Z,null)))},Me={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC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U7myBWAy7y0+EA3/0V649Hw9Lu3qSZ2nQKA7ahLYD6pYEkXiHVtSivqztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",x=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt,wrapClassName:jt,imgClassName:Et})=>{const Ue=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:wt},e.createElement("div",{className:T()(Me.list,J)},!!Z.length&&Z.map((qt,un)=>{const{name:En,id:Kt,identifier:Mt,power:sn,cover_image_id:gn,pic:Cn}=qt;return e.createElement("div",{className:T()(Me.wrap,jt),key:Kt,style:{width:Ue,marginRight:(1+un)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/shixuns/${Mt}/challenges`,className:Me.li,onClick:Zn=>{Zn.preventDefault(),rt&&(0,le.L9)([rt]),sn&&(0,le.xg)(`/shixuns/${Mt}/challenges`)}},e.createElement("div",{className:T()(Me.img,Et)},e.createElement("img",{className:Me.cover,src:gn?`${k.Z.API_SERVER}/api/attachments/${gn}`:`${k.Z.IMG_SERVER+Cn}`}),qt.is_jupyter&&e.createElement("img",{className:Me.sign,src:b}),qt.is_jupyter_lab&&e.createElement("img",{className:Me.sign,src:A}),qt.is_unity_3d&&e.createElement("img",{className:Me.sign,src:o})),e.createElement("div",{className:Me.name},e.createElement(S.Z,{title:En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},e.createElement("span",{className:Me.e},En||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),e.createElement("div",{className:Me.tags},e.createElement(S.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),e.createElement("span",null,qt.challenges_count))),!!qt.myshixuns_count&&e.createElement(S.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},e.createElement("span",null,e.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),e.createElement("span",null,qt.myshixuns_count))),e.createElement(S.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},e.createElement("span",null,e.createElement("span",null,qt.level))),e.createElement("div",{className:Me.rate},e.createElement(me.Z,{allowHalf:!0,disabled:!0,defaultValue:qt.score_info}),e.createElement("span",null,"\xA0",qt.score_info?`${qt.score_info}\u5206`:"5\u5206")))),!sn&&e.createElement("div",{className:Me.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Z.length&&e.createElement(ft.Z,null)))},I=t(61584),a={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},i=t(79005),U=t(20345),y=t(77882),c=t(31081),M=t(75309),fe=t(71979),W=t(47558),Ee=t(42922),$=t(66832),ne=t(96593),v=t(19664),P=t(91833),G=Object.defineProperty,ge=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Fe=(J,Z,R)=>Z in J?G(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,Te=(J,Z)=>{for(var R in Z||(Z={}))Be.call(Z,R)&&Fe(J,R,Z[R]);if(ge)for(var R of ge(Z))Ge.call(Z,R)&&Fe(J,R,Z[R]);return J};const ot=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:i,swimg:U},{name:"101\u8BA1\u5212",ptimg:y,swimg:c},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:M,swimg:fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:W,swimg:Ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:$,swimg:ne},{name:"\u519B\u961F\u4E00\u6D41",ptimg:v,swimg:P}];var vt=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt,wrapClassName:jt,imgClassName:Et,isArrow:Ue=!1,imgStyle:qt={}})=>{const un=Math.floor((oe-(R-1)*ue)/R),[En,Kt]=(0,e.useState)(),[Mt,sn]=(0,e.useState)(),gn=Zn=>Kt(Zn),Cn=()=>Kt(-1);return e.createElement(we.Z,{spinning:wt},e.createElement("div",{className:T()(a.list,J)},!!(Z!=null&&Z.length)&&(Z==null?void 0:Z.map((Zn,Vn)=>{var Ar;const{name:xr,id:gr,identifier:vr,featured:br,school_name:Xn,image_url:or,excellent:ur,is_plan:pr}=Zn;return e.createElement("div",{key:gr,className:T()(a.wrap,jt),style:{width:un,marginRight:(1+Vn)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{target:"_blank",href:`/paths/${vr}`,className:a.li,onClick:er=>{er.preventDefault(),rt&&(0,le.L9)([rt]),(0,le.xg)(`/paths/${vr}`)}},e.createElement("img",{src:t(39057),className:a.titleBg}),e.createElement("div",{className:a.name},e.createElement(S.Z,{title:xr},e.createElement("span",{className:a.e,style:{color:Ue&&En===Vn?"#145DFF":"#000000"},onMouseEnter:()=>{gn(Vn)},onMouseLeave:Cn},xr))),e.createElement("div",{style:{padding:"14px",paddingBottom:0}},e.createElement("div",{className:T()(a.img,Et)},e.createElement("img",{className:a.cover,style:Te({},qt),src:`${k.Z.IMG_SERVER+or}`}),(Ar=Zn==null?void 0:Zn.subject_tags)==null?void 0:Ar.map((er,Wn)=>{var fr,Er;if(Wn===0){const dr=(fr=ot.find(vn=>vn.name==er))==null?void 0:fr.swimg;return e.createElement("img",{className:a.sign,src:dr,style:{left:"-4px"}})}const Cr=(Er=ot.find(dr=>dr.name==er))==null?void 0:Er.ptimg;return e.createElement("img",{className:a.sign,src:Cr,style:{left:`${48+52*(Wn-1)+2*Wn}px`}})}),e.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Zn==null?void 0:Zn.excellent)&&e.createElement("div",{className:a.bq},"\u5F00\u653E\u8BFE\u7A0B"))),e.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},e.createElement("div",null,e.createElement("span",{className:a.text},"\u7AE0\u8282\u6570"),e.createElement("span",{className:a.value},Zn.stages_count)),e.createElement("div",null,e.createElement("span",{className:a.text},"\u5B66\u4E60\u4EBA\u6570"),e.createElement("span",{className:a.value},Zn.members_count))))))})),!Z.length&&e.createElement(ft.Z,null)))},yt={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Wt=t(41867),$e=t(59301);const pt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:i,swimg:U},{name:"101\u8BA1\u5212",ptimg:y,swimg:c},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:M,swimg:fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:W,swimg:Ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:$,swimg:ne},{name:"\u519B\u961F\u4E00\u6D41",ptimg:v,swimg:P}];var Lt=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt,onRemove:jt=()=>{},isCurrent:Et=!0,showAlias:Ue=!1,wrapClassName:qt,imgClassName:un})=>{const En=Math.floor((oe-(R-1)*ue)/R),Kt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Mt=>(window.ENV==="build"&&(Mt.ptimg=`/react/build${Mt.ptimg}`,Mt.swimg=`/react/build${Mt.swimg}`),Mt));return $e.createElement(we.Z,{spinning:wt},$e.createElement("div",{className:T()(yt.list,J)},!!(Z!=null&&Z.length)&&(Z==null?void 0:Z.map((Mt,sn)=>{var gn;const{name:Cn,id:Zn,identifier:Vn,featured:Ar,school_name:xr,image_url:gr,excellent:vr,is_plan:br}=Mt;return $e.createElement("div",{key:Zn,className:T()(yt.wrap,qt),style:{width:En,marginRight:(1+sn)%R===0?0:ue+Ye,marginBottom:Le}},$e.createElement("a",{className:yt.li,onClick:Xn=>{Xn.preventDefault(),Xn.stopPropagation(),rt&&(0,le.L9)([rt]),(0,le.xg)(`/paths/${Vn}`)}},$e.createElement("div",{className:T()(yt.img,un)},$e.createElement("img",{className:yt.cover,src:`${k.Z.IMG_SERVER+gr}`}),Et&&(0,Wt.bg)()&&(Mt==null?void 0:Mt.studying)&&$e.createElement("div",{className:`${yt.movebq} user-path-items`,onClick:Xn=>{Xn.stopPropagation(),jt(Mt)}},$e.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),$e.createElement("span",{className:"c-red"},"\u79FB\u9664")),(gn=Mt==null?void 0:Mt.subject_tags)==null?void 0:gn.map((Xn,or)=>{var ur,pr;if(or===0){const Wn=(ur=Kt.find(fr=>fr.name==Xn))==null?void 0:ur.swimg;return $e.createElement("img",{className:yt.sign,src:Wn,style:{left:"-4px"}})}const er=(pr=Kt.find(Wn=>Wn.name==Xn))==null?void 0:pr.ptimg;return $e.createElement("img",{className:yt.sign,src:er,style:{left:`${48+52*(or-1)+2*or}px`}})}),$e.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Mt==null?void 0:Mt.excellent)&&$e.createElement("div",{className:yt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),$e.createElement("div",{className:yt.name},$e.createElement(S.Z,{title:Ue&&(Mt!=null&&Mt.excellent_alias_name)?$e.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Cn}`,$e.createElement("br",null),$e.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Mt==null?void 0:Mt.excellent_alias_name}`)):Cn},$e.createElement("span",{className:yt.e},Ue&&(Mt==null?void 0:Mt.excellent_alias_name)||Cn))),$e.createElement("div",{className:yt.tags},$e.createElement("div",null,$e.createElement(S.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},$e.createElement("span",null,$e.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),$e.createElement("span",null,Mt.stages_count))),$e.createElement(S.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},$e.createElement("span",null,$e.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),$e.createElement("span",null,Mt.members_count)))))))})),!Z.length&&$e.createElement(ft.Z,null)))},dt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VV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WoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ct=t(59301),de=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,trackEventItems:rt,loading:wt})=>{const jt=Math.floor((oe-(R-1)*ue)/R);return Ct.createElement(we.Z,{spinning:wt},Ct.createElement("div",{className:T()(dt.list,J)},!!Z.length&&Z.map((Et,Ue)=>{const{subject_identifier:qt,id:un,identifier:En,power:Kt}=Et,Mt=Et.is_public!=0&&Et.is_public;return Ct.createElement("div",{className:dt.wrap,key:un,style:{width:jt,marginRight:(1+Ue)%R===0?0:ue+Ye,marginBottom:Le}},Ct.createElement("a",{className:dt.li,onClick:sn=>{sn.preventDefault(),rt&&(0,le.L9)([rt]),(0,le.xg)(Et.first_category_url)}},Ct.createElement("div",{className:dt.top},Ct.createElement(S.Z,{title:Et.name},Ct.createElement("div",{className:dt.name},Et.name)),Ct.createElement("img",{className:dt.img,src:k.Z.IMG_SERVER+"/images/"+Et.avatar_url}),Ct.createElement("div",{className:dt.text,title:Et.creator},Et.creator),qt&&Ct.createElement("div",{className:dt.btns},Ct.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ct.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Mt&&Ct.createElement("div",{className:dt.sign},"\u516C\u5F00")),Ct.createElement("div",{className:dt.bottom},Et.visits>0&&Ct.createElement(S.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ct.createElement("span",null,Ct.createElement("i",{className:"iconfont icon-liulanyan"}),Ct.createElement("span",null,Et.visits))),Et.course_members_count>0&&Ct.createElement(S.Z,{title:"\u6210\u5458",placement:"bottom"},Ct.createElement("span",null,Ct.createElement("i",{className:"iconfont icon-chengyuan"}),Et.course_members_count)),Et.tasks_count>0&&Ct.createElement(S.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ct.createElement("span",null,Ct.createElement("i",{className:"iconfont icon-zuoye"}),Et.tasks_count)),Et.is_end?Ct.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ct.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Et.is_accessible&&Ct.createElement("div",{className:dt.lockWrap},Ct.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ct.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Z.length&&Ct.createElement(ft.Z,null)))},N={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IAr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E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ot=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,wrapClassName:rt,trackEventItems:wt,loading:jt})=>{const Et=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:jt},e.createElement("div",{className:T()(N.list,J)},!!Z.length&&Z.map((Ue,qt)=>{const{subject_identifier:un,id:En,identifier:Kt,power:Mt}=Ue,sn=Ue.is_public!=0&&Ue.is_public;return e.createElement("div",{className:T()(`${N.wrap} ${Ue.is_accessible?"":N.warpStyle}`,rt),key:En,style:{width:Et,marginRight:(1+qt)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{className:N.li,onClick:gn=>{gn.preventDefault(),wt&&(0,le.L9)([wt]),(0,le.xg)(Ue.first_category_url)}},e.createElement("div",{className:N.creator},e.createElement("img",{className:N.img,src:k.Z.IMG_SERVER+"/images/"+Ue.avatar_url}),e.createElement("div",{className:N.text,title:Ue.creator},Ue.creator)),e.createElement("div",{className:N.top},e.createElement(S.Z,{title:Ue.name},e.createElement("div",{className:N.name},Ue.name)),sn&&e.createElement("div",{className:N.sign},"\u516C\u5F00")),e.createElement("div",{className:N.middle},e.createElement("div",{className:N.row,style:{marginBottom:6}},e.createElement("div",null,e.createElement("span",{className:N.text},"\u8BBF\u95EE\u91CF"),e.createElement("span",{className:N.value},(Ue==null?void 0:Ue.visits)||0)),e.createElement("div",null,e.createElement("span",{className:N.text},"\u6210\u5458"),e.createElement("span",{className:N.value},(Ue==null?void 0:Ue.course_members_count)||0))),e.createElement("div",{className:N.row},e.createElement("div",null,e.createElement("span",{className:N.text,style:{width:42}},"\u4F5C",e.createElement("span",{style:{marginLeft:14}},"\u4E1A")),e.createElement("span",{className:N.value},(Ue==null?void 0:Ue.tasks_count)||0)),e.createElement("div",null,e.createElement("span",{className:N.text},"\u72B6\u6001"),Ue.is_end?e.createElement("span",{className:N.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):e.createElement("span",{className:N.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),un&&e.createElement("div",{className:N.btns},e.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),e.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ue.is_accessible&&e.createElement("div",{className:N.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Z.length&&e.createElement(ft.Z,null)))},Ke={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Bt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GL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C",it=({className:J,dataSource:Z=[],col:R=4,right:ue,bottom:Le=23,precision:Ye=0,wrapWidth:oe=1200,wrapClassName:rt,trackEventItems:wt,loading:jt})=>{const Et=Math.floor((oe-(R-1)*ue)/R);return e.createElement(we.Z,{spinning:jt},e.createElement("div",{className:T()(Ke.list,J)},!!Z.length&&Z.map((Ue,qt)=>{const{subject_identifier:un,id:En,identifier:Kt,power:Mt}=Ue,sn=Ue.is_public!=0&&Ue.is_public;return e.createElement("div",{className:T()(`${Ke.wrap} ${Ue.is_accessible?"":Ke.warpStyle}`,rt),key:En,style:{width:Et,marginRight:(1+qt)%R===0?0:ue+Ye,marginBottom:Le}},e.createElement("a",{className:Ke.li,onClick:gn=>{gn.preventDefault(),wt&&(0,le.L9)([wt]),(0,le.xg)(Ue.first_category_url)}},e.createElement("div",{className:Ke.creator},e.createElement("img",{className:Ke.img,src:k.Z.IMG_SERVER+"/images/"+Ue.avatar_url}),e.createElement("div",{className:Ke.text,title:Ue.creator},Ue.creator)),e.createElement("div",{className:Ke.top},e.createElement(S.Z,{title:Ue.name},e.createElement("div",{className:Ke.name},Ue.name)),sn&&e.createElement("div",{className:Ke.sign})),e.createElement("div",{className:Ke.middle},e.createElement("div",{className:Ke.row,style:{marginBottom:6}},e.createElement("div",null,e.createElement("span",{className:Ke.text},"\u8BBF\u95EE\u91CF"),e.createElement("span",{className:Ke.value},(Ue==null?void 0:Ue.visits)||0)),e.createElement("div",null,e.createElement("span",{className:Ke.text},"\u6210\u5458"),e.createElement("span",{className:Ke.value},(Ue==null?void 0:Ue.course_members_count)||0))),e.createElement("div",{className:Ke.row},e.createElement("div",null,e.createElement("span",{className:Ke.text,style:{width:42}},"\u4F5C",e.createElement("span",{style:{marginLeft:14}},"\u4E1A")),e.createElement("span",{className:Ke.value},(Ue==null?void 0:Ue.tasks_count)||0)),e.createElement("div",null,e.createElement("span",{className:Ke.text},"\u72B6\u6001"),Ue.is_end?e.createElement("span",{className:Ke.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):e.createElement("span",{className:Ke.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),un&&e.createElement("div",{className:Ke.btns},e.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),e.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ue.is_accessible&&e.createElement("div",{className:Ke.lockWrap},e.createElement("img",{src:`${k.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),e.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Z.length&&e.createElement(ft.Z,null)))},Vt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},w=t(65582),Ie=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={},tabBarExtraContent:Ye})=>e.createElement("div",{className:T()(Vt.tabs,ue),style:Le},e.createElement("div",{className:Vt.tabsWrap},J.map((oe,rt)=>e.createElement("aside",{className:Vt.tab,onClick:()=>{R(oe.id),oe.link&&w.history.push(oe.link)},key:rt},e.createElement("div",{className:Z===oe.id?Vt.active:""},oe.name),(oe==null?void 0:oe.resetCount)==null&&(oe==null?void 0:oe.total)!==void 0&&e.createElement("span",null,"\uFF08",oe==null?void 0:oe.total,"\uFF09"),(oe==null?void 0:oe.resetCount)!==void 0&&(oe==null?void 0:oe.total)!==void 0&&e.createElement(S.Z,{title:(oe==null?void 0:oe.tip)!=null?oe==null?void 0:oe.tip:""},e.createElement("span",{style:{color:"#9096A3"}},"\uFF08",e.createElement("span",{style:{color:"#000"}},oe==null?void 0:oe.resetCount),"/",e.createElement("span",null,oe==null?void 0:oe.total),"\uFF09"))))),e.createElement("div",{className:Vt.tabBar},Ye)),_={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},We=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={},tabBarExtraContent:Ye})=>e.createElement("div",{className:T()(_.tabs,ue),style:Le},e.createElement("div",{className:_.tabsWrap},J.map((oe,rt)=>e.createElement("aside",{className:_.tab,onClick:()=>{R(oe.id),oe.link&&w.history.push(oe.link)},key:rt},e.createElement("div",{className:Z===oe.id?_.active:""},oe.name),(oe==null?void 0:oe.resetCount)==null&&(oe==null?void 0:oe.total)!==void 0&&e.createElement("span",null,"\uFF08",oe==null?void 0:oe.total,"\uFF09"),(oe==null?void 0:oe.resetCount)!==void 0&&(oe==null?void 0:oe.total)!==void 0&&e.createElement(S.Z,{title:(oe==null?void 0:oe.tip)!=null?oe==null?void 0:oe.tip:""},e.createElement("span",{style:{color:"#9096A3"}},"\uFF08",e.createElement("span",{style:{color:"#000"}},oe==null?void 0:oe.resetCount),"/",e.createElement("span",null,oe==null?void 0:oe.total),"\uFF09"))))),e.createElement("div",{className:_.tabBar},Ye)),ke={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},ct=({dataSource:J=[],value:Z,onChange:R,className:ue,style:Le={},tabBarExtraContent:Ye})=>e.createElement("div",{className:T()(ke.tabs,ue),style:Le},e.createElement("div",{className:ke.tabsWrap},J.map((oe,rt)=>e.createElement("aside",{className:`${ke.tab} ${Z===oe.id?ke.active:""}`,onClick:()=>{R(oe.id),oe.link&&w.history.push(oe.link)},key:rt},e.createElement("div",null,oe.name),(oe==null?void 0:oe.resetCount)==null&&(oe==null?void 0:oe.total)!==void 0&&e.createElement("span",null,"\uFF08",oe==null?void 0:oe.total,"\uFF09"),(oe==null?void 0:oe.resetCount)!==void 0&&(oe==null?void 0:oe.total)!==void 0&&e.createElement(S.Z,{title:(oe==null?void 0:oe.tip)!=null?oe==null?void 0:oe.tip:""},e.createElement("span",{style:{color:"#9096A3"}},"\uFF08",e.createElement("span",{style:{color:"#000"}},oe==null?void 0:oe.resetCount),"/",e.createElement("span",null,oe==null?void 0:oe.total),"\uFF09"))))),e.createElement("div",{className:ke.tabBar},Ye)),It=({className:J,style:Z={},children:R})=>e.createElement("div",{className:T()(J),style:Z},R),_e={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Rt=t(38854),pe=t(20834);const tt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var kt=({sortValue:J,dropValue:Z,className:R,onSort:ue,onDrop:Le,dataSource:Ye=tt})=>{var oe;return e.createElement("div",{className:T()(_e.orderWrap,R)},e.createElement(Rt.Z,{dropdownRender:()=>e.createElement(pe.default,null,Ye.map((rt,wt)=>e.createElement(pe.default.Item,{key:wt,onClick:()=>Le(rt.id)},rt.name)))},e.createElement("span",{className:_e.orderTextWrap},(oe=Ye.find(rt=>Z===rt.id))==null?void 0:oe.name)),e.createElement("span",{className:_e.orderIconWrap},e.createElement("span",{className:_e.orderAsc},e.createElement("i",{className:J==="asc"?`iconfont icon-sanjiaoxing-up font12 ${_e.cursorPointer} ${_e.active}`:`iconfont icon-sanjiaoxing-up font12 ${_e.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")})),e.createElement("span",{className:_e.orderDesc},e.createElement("i",{className:J==="desc"?`iconfont icon-sanjiaoxing-down font12 ${_e.cursorPointer} ${_e.active}`:`iconfont icon-sanjiaoxing-down font12 ${_e.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")}))))},zt={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const en=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var q=({sortValue:J,dropValue:Z,className:R,onSort:ue,onDrop:Le,dataSource:Ye=en})=>{var oe;return e.createElement("div",{className:T()(zt.orderWrap,R)},e.createElement(Rt.Z,{dropdownRender:()=>e.createElement(pe.default,null,Ye.map((rt,wt)=>e.createElement(pe.default.Item,{key:wt,onClick:()=>Le(rt.id)},rt.name)))},e.createElement("span",{className:zt.orderTextWrap},(oe=Ye.find(rt=>Z===rt.id))==null?void 0:oe.name)),e.createElement("span",{className:zt.orderIconWrap},e.createElement("span",{className:zt.orderAsc},e.createElement("i",{className:J==="asc"?`iconfont icon-sanjiaoxing-up font12 ${zt.cursorPointer} ${zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${zt.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")})),e.createElement("span",{className:zt.orderDesc},e.createElement("i",{className:J==="desc"?`iconfont icon-sanjiaoxing-down font12 ${zt.cursorPointer} ${zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${zt.cursorPointer}`,onClick:()=>ue(J==="asc"?"desc":"asc")}))))},ie={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},he=t(3113),ae=t(2337),D=Object.defineProperty,O=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Xe=(J,Z,R)=>Z in J?D(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,xt=(J,Z)=>{for(var R in Z||(Z={}))ce.call(Z,R)&&Xe(J,R,Z[R]);if(O)for(var R of O(Z))Ve.call(Z,R)&&Xe(J,R,Z[R]);return J},bt=(J,Z)=>{var R={};for(var ue in J)ce.call(J,ue)&&Z.indexOf(ue)<0&&(R[ue]=J[ue]);if(J!=null&&O)for(var ue of O(J))Z.indexOf(ue)<0&&Ve.call(J,ue)&&(R[ue]=J[ue]);return R},Gt=(J,Z,R)=>new Promise((ue,Le)=>{var Ye=wt=>{try{rt(R.next(wt))}catch(jt){Le(jt)}},oe=wt=>{try{rt(R.throw(wt))}catch(jt){Le(jt)}},rt=wt=>wt.done?ue(wt.value):Promise.resolve(wt.value).then(Ye,oe);rt((R=R.apply(J,Z)).next())}),lt=J=>{var Z=J,{className:R,style:ue,children:Le,loading:Ye=!1,openLoading:oe,onClick:rt=()=>{},size:wt="middle",shape:jt="round",theme:Et}=Z,Ue=bt(Z,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[qt,un]=(0,e.useState)(!1),En=(0,e.useMemo)(()=>{switch(Et){case ae.Fy.THEMEONE:return ie.ThemeOne;case ae.Fy.DEFAULT:default:return ie.btn}},[Et]);return e.createElement(he.ZP,xt({onClick:(0,ye.throttle)(Kt=>Gt(void 0,null,function*(){oe&&un(!0);try{yield rt(Kt)}catch(Mt){console.log("error",Mt)}oe&&un(!1)}),2e3,{leading:!0,trailing:!1}),className:T()(En,ie[`${wt}-${jt}`],R),style:ue,size:wt,shape:jt,loading:qt||Ye},Ue),Le)},Yt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},pn=({className:J,style:Z,children:R=null,onClick:ue,title:Le})=>e.createElement("div",{className:T()(Yt.head,J),style:Z},e.createElement("span",{className:"primary-hover",onClick:ue},e.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),e.createElement("b",{title:Le},Le),e.createElement("div",{className:Yt.node},R)),nn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},an=({confirmShow:J=!0,confirmTitle:Z,confirmClick:R,cancelShow:ue=!0,cancelTitle:Le,cancelClick:Ye,className:oe,style:rt,confirmLoading:wt=!1})=>e.createElement("div",{className:T()(nn.btns,oe),style:rt},J&&e.createElement(he.ZP,{loading:wt,onClick:R,type:"primary",className:nn.confirm},Z),ue&&e.createElement(he.ZP,{onClick:Ye,className:nn.cancel},Le)),Jt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Sn=({className:J,style:Z={},LeftContent:R,children:ue,RightContent:Le})=>e.createElement("div",{className:T()(Jt.fixedBottom,J),style:Z},e.createElement("div",{className:Jt.wrap},e.createElement("div",{className:Jt.left},R),e.createElement("div",{className:Jt.center},ue),e.createElement("div",{className:Jt.right},Le))),Pt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Zt=({className:J,style:Z={},dataSource:R=[]})=>e.createElement("div",{className:T()(Pt.crumbs,J),style:Z},R.map((ue,Le)=>Lew.history.push(ue.path)},ue.name):e.createElement("span",null,ue.name),e.createElement("span",null,"\xA0",">","\xA0")):e.createElement("span",{key:Le,style:{color:"#5F6368"}},ue.name))),ln=t(31797),rn=Object.defineProperty,on=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,bn=(J,Z,R)=>Z in J?rn(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,At=(J,Z)=>{for(var R in Z||(Z={}))An.call(Z,R)&&bn(J,R,Z[R]);if(dn)for(var R of dn(Z))fn.call(Z,R)&&bn(J,R,Z[R]);return J},ut=(J,Z)=>on(J,tn(Z)),Ut=(J,Z)=>{var R={};for(var ue in J)An.call(J,ue)&&Z.indexOf(ue)<0&&(R[ue]=J[ue]);if(J!=null&&dn)for(var ue of dn(J))Z.indexOf(ue)<0&&fn.call(J,ue)&&(R[ue]=J[ue]);return R};const{Countdown:_t}=ln.default;var Fn=J=>{var Z=J,{onChange:R}=Z,ue=Ut(Z,["onChange"]);const[Le,Ye]=(0,e.useState)(null);(0,e.useEffect)(()=>{typeof Le=="number"&&Le>=0&&R(Le)},[Le]);const oe=rt=>{const wt=Math.floor(rt/1e3);Ye(wt)};return e.createElement(_t,ut(At({},ue),{onChange:oe}))},In={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},wn=({DataProps:J,className:Z,style:R={}})=>{var ue;return e.createElement("div",{className:T()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",In.ClassRoomItem,Z),style:R,onClick:()=>{(0,le.xg)(J==null?void 0:J.first_category_url)}},e.createElement("div",{className:"flex flex-col item-center"},e.createElement("img",{src:`${(ue=k.Z)==null?void 0:ue.IMG_SERVER}/images/${J==null?void 0:J.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(J==null?void 0:J.subject_identifier)&&e.createElement("div",{className:"mt-40px"},e.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),e.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),e.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},e.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(J!=null&&J.is_public)&&e.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),e.createElement("span",{className:T()("text-16px font-medium",In.TitleDom)},J==null?void 0:J.name)),e.createElement("div",{className:"c-grey-333 font-medium"},J==null?void 0:J.creator),e.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",J==null?void 0:J.course_members_count),e.createElement("div",{className:"c-grey-333 flex item-center justify-between"},e.createElement("div",null,"\u4F5C\u4E1A\uFF1A",J==null?void 0:J.tasks_count),J!=null&&J.is_end?e.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):e.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Dn=Object.defineProperty,On=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Rn=(J,Z,R)=>Z in J?Dn(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,Hn=(J,Z)=>{for(var R in Z||(Z={}))zn.call(Z,R)&&Rn(J,R,Z[R]);if(On)for(var R of On(Z))yn.call(Z,R)&&Rn(J,R,Z[R]);return J},Un=({DataProps:J=[],selectValue:Z,onChange:R,className:ue,style:Le={},extra:Ye,classNameItem:oe,styleItem:rt={},barHidden:wt})=>{const[jt,Et]=(0,e.useState)();return(0,e.useEffect)(()=>{Et(Array.isArray(Z)?Z:[Z])},[Z]),e.createElement("div",{className:T()("flex px-20px py-10px gap-40px",ue),style:Hn({borderBottom:"1px solid #D3F0FF"},Le)},J==null?void 0:J.map(Ue=>e.createElement("div",{key:Ue==null?void 0:Ue.id,className:T()("flex item-center justify-center current c-grey-333 text-16 relative",oe,Ue==null?void 0:Ue.className),style:Hn(Hn({color:jt!=null&&jt.includes(Ue==null?void 0:Ue.id)?"#1890FF":"",minWidth:88},rt),(Ue==null?void 0:Ue.style)||{}),onClick:qt=>{R==null||R({domEvent:qt,item:Ue}),Ue!=null&&Ue.link&&w.history.push(Ue==null?void 0:Ue.link)}},Ue==null?void 0:Ue.name,!wt&&(jt==null?void 0:jt.includes(Ue==null?void 0:Ue.id))&&e.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),e.createElement("div",{className:"ml-auto"},Ye))},Qn=Object.defineProperty,Kn=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,Jn=(J,Z,R)=>Z in J?Qn(J,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):J[Z]=R,Tn=(J,Z)=>{for(var R in Z||(Z={}))nr.call(Z,R)&&Jn(J,R,Z[R]);if(jn)for(var R of jn(Z))rr.call(Z,R)&&Jn(J,R,Z[R]);return J},sr=(J,Z)=>Kn(J,ir(Z)),ar=({value:J,onChange:Z,onInputChange:R,className:ue,style:Le={},InputProps:Ye})=>{const[oe,rt]=(0,e.useState)(J);return e.createElement("div",{className:T()("flex item-center rounded-full px-10px py-2px",ue),style:Tn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Le)},e.createElement(ee.default,sr(Tn({bordered:!1},Ye),{onChange:wt=>{rt(wt.target.value),R==null||R(encodeURIComponent(wt.target.value))},onPressEnter:wt=>{Z==null||Z({domEvent:wt,item:{value:oe}})}})),e.createElement("img",{className:"h-22px current",src:t(25365),height:22,onClick:wt=>{Z==null||Z({domEvent:wt,item:{value:oe}})}}))}},92151:function(Qe,Ne,t){t.r(Ne),t.d(Ne,{default:function(){return Ct}});var e=t(2337),n=t(59301),m=t(65582),V=t(60979),h={page_warp:"page_warp___kpjls",con_warp:"con_warp___j6xTy",left_warp:"left_warp___xKMIs",direction_type_warp:"direction_type_warp___t8L0r",direction_item:"direction_item___c6epi",active_direction_item:"active_direction_item___NYpSl",active_sanjiao:"active_sanjiao___OBDlC",sub_warp:"sub_warp___tIqRQ",tooltip_name:"tooltip_name___VW4tv",type_item:"type_item___nvsSk",active_type_item:"active_type_item___XrS_S",btn_sty:"btn_sty___mZCfN",right_warp:"right_warp___g3Coa",list_warp_css:"list_warp_css___i4wD6",item_warp:"item_warp___Xe9ho",cover:"cover___u9d1x",item_title:"item_title___D1RYZ",img:"img___aqkZf",sign:"sign___X1D5W",item_info_warp:"item_info_warp___RceyU",rate:"rate___sR1Iw",lockWrap:"lockWrap___qsR8X"},z=t(89392),L=t.n(z),T={flex_box_center:"flex_box_center___WmBuT",flex_space_between:"flex_space_between___wVvNb",flex_box_vertical_center:"flex_box_vertical_center___hSMZR",flex_box_center_end:"flex_box_center_end___GrXBM",flex_box_column:"flex_box_column___QRWob",input:"input___pEMe9",dropdown:"dropdown___O1X6b",menu:"menu___Rk1XU",text:"text___ezQOX",active_item:"active_item___VIjHs"},ye=t(92310),d=t.n(ye),be=t(92832),f=({dataSource:re=[],value:de="",onChange:N,onInputChange:Nt=()=>{},className:Qt,style:Ot={},placeholder:Ke,allowClear:Bt=!1})=>{var K;const[it,Vt]=(0,n.useState)(""),[w,p]=(0,n.useState)("");(0,n.useEffect)(()=>{var Re;let We=de;(Re=JSON.stringify(de))!=null&&Re.includes("{")&&(Vt(de.id),We=de.value||"");try{p(decodeURIComponent(We||""))}catch(ke){p(decodeURIComponent(We||""))}},[de]);const Ie=()=>{N(encodeURIComponent(w),it||null)},_=Re=>{Re!==it&&(Vt(Re),N(encodeURIComponent(w),Re))};return n.createElement("div",{className:d()(T.input,Qt),style:Ot},!!re.length&&n.createElement("div",{className:T.dropdown},n.createElement("div",{className:T.text},(K=re.find(Re=>Re.id===it))==null?void 0:K.name,n.createElement("i",{className:"iconfont icon-zhankai4"})),n.createElement("div",{className:T.menu},re.map((Re,We)=>n.createElement("div",{className:(Re==null?void 0:Re.id)==it&&T.active_item,key:We,onClick:()=>_(Re.id)},Re.name)))),n.createElement(be.default,{onPressEnter:Ie,value:w,onChange:Re=>{p(Re.target.value),Nt(encodeURIComponent(Re.target.value),it||null)},bordered:!1,placeholder:Ke}),n.createElement("img",{onClick:Ie,src:t(25365),width:18,height:18,className:"ml10 current"}))},Oe=t(93018),te=t(66457),Ae=t(65862),Ze=t(2524),Q=t(71418),ze=t(6848),H=t(13570),B=t(58421),l=t(96908),r=t(57177),s=t(81378),u=t(74128),C=Object.defineProperty,F=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Pe=(re,de,N)=>de in re?C(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,ve=(re,de)=>{for(var N in de||(de={}))ee.call(de,N)&&Pe(re,N,de[N]);if(F)for(var N of F(de))He.call(de,N)&&Pe(re,N,de[N]);return re};const Je=re=>React.createElement("svg",ve({width:10,height:6,xmlns:"http://www.w3.org/2000/svg"},re),React.createElement("title",null,"\u8DEF\u5F84"),React.createElement("path",{d:"M5.064 5.489 9.88.673a.43.43 0 0 0 0-.567.43.43 0 0 0-.567 0l-4.32 4.32L.673.106a.43.43 0 0 0-.567 0 .43.43 0 0 0 0 .567l4.958 4.816Z",fill:"#333",fillRule:"nonzero"}));var De="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4wNjQgNS40ODkgOS44OC42NzNhLjQzLjQzIDAgMCAwIDAtLjU2Ny40My40MyAwIDAgMC0uNTY3IDBsLTQuMzIgNC4zMkwuNjczLjEwNmEuNDMuNDMgMCAwIDAtLjU2NyAwIC40My40MyAwIDAgMCAwIC41NjdsNC45NTggNC44MTZaIiBmaWxsPSIjMzMzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",je=Object.defineProperty,Se=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,we=(re,de,N)=>de in re?je(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,S=(re,de)=>{for(var N in de||(de={}))Y.call(de,N)&&we(re,N,de[N]);if(Se)for(var N of Se(de))se.call(de,N)&&we(re,N,de[N]);return re};const me=re=>React.createElement("svg",S({width:10,height:6,xmlns:"http://www.w3.org/2000/svg"},re),React.createElement("title",null,"\u6536\u8D77"),React.createElement("path",{d:"M5.064 0 9.88 4.816a.43.43 0 0 1 0 .566.43.43 0 0 1-.567 0l-4.32-4.32-4.32 4.32a.43.43 0 0 1-.567 0 .43.43 0 0 1 0-.566L5.064 0Z",fill:"#FFF",fillRule:"nonzero"}));var k="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4wNjQgMCA5Ljg4IDQuODE2YS40My40MyAwIDAgMSAwIC41NjYuNDMuNDMgMCAwIDEtLjU2NyAwbC00LjMyLTQuMzItNC4zMiA0LjMyYS40My40MyAwIDAgMS0uNTY3IDAgLjQzLjQzIDAgMCAxIDAtLjU2Nkw1LjA2NCAwWiIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+",le=Object.defineProperty,Ce=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,ft=(re,de,N)=>de in re?le(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,nt=(re,de)=>{for(var N in de||(de={}))xe.call(de,N)&&ft(re,N,de[N]);if(Ce)for(var N of Ce(de))qe.call(de,N)&&ft(re,N,de[N]);return re},gt=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const et=({globalSetting:re,dispatch:de})=>{const[N,Nt]=(0,n.useState)({sort:"desc",page:1,limit:12,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Qt,Ot]=(0,n.useState)([]),[Ke,Bt]=(0,n.useState)(0),[K,it]=(0,n.useState)(!0),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]);(0,n.useEffect)(()=>{We(),ke(N)},[]);const Re=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}],We=()=>gt(void 0,null,function*(){var pe;const tt=yield(0,V.I_)({});tt.status!==-1&&(w([{id:"all",name:"\u5168\u90E8\u65B9\u5411"},...(tt==null?void 0:tt.disciplines)||[]]),(pe=tt==null?void 0:tt.disciplines)==null||pe.forEach(ht=>{var kt;_.current=(kt=_.current)==null?void 0:kt.concat(ht.sub_disciplines||[])}),Ie(_.current))}),ke=pe=>gt(void 0,null,function*(){it(!0),pe.keyword=pe.keyword;const tt=L().pickBy(pe,kt=>kt!=="all");tt.type="homepage";const ht=yield(0,V.he)(tt);ht.status!==-1&&(Ot([]),Ot((ht==null?void 0:ht.shixuns)||[]),Bt((ht==null?void 0:ht.total_count)||0)),it(!1)}),st=(pe,tt)=>{N.page=1,N.keyword=pe,N.shixun_type=tt,Nt(nt({},N)),ke(N)},ct=(pe,tt)=>{N.keyword=pe,N.shixun_type=tt,Nt(nt({},N))},mt=pe=>{N.page=1,N.discipline_id=pe,N.sub_discipline_id="all";const tt=Vt.find(kt=>kt.id===pe),ht=pe==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(tt==null?void 0:tt.sub_disciplines)||[]];Nt(nt({},N)),Ie(ht),ke(N)},It=pe=>{N.page=1,N.sub_discipline_id=pe,Nt(nt({},N)),ke(N)},_e=()=>{(0,te.tJ)(de)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},Rt=pe=>{N.page=pe,Nt(nt({},N)),ke(N)};return n.createElement("div",{className:h.page_warp},n.createElement(Oe.Z,{className:"w-full",style:{top:0,left:0},title:"\u5B9E\u8BAD\u7CFB\u7EDF"}),n.createElement("div",{className:h.con_warp},n.createElement("div",{className:h.left_warp},n.createElement(f,{style:{width:"100%",marginBottom:18},dataSource:Re,value:{id:N.shixun_type,value:N.keyword},onChange:st,onInputChange:ct,placeholder:"\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0\u6216\u59D3\u540D\u8FDB\u884C\u641C\u7D22"}),n.createElement("div",{className:h.direction_type_warp},Vt.map(pe=>{var tt;return n.createElement(n.Fragment,null,n.createElement("div",{className:`${h.direction_item} ${(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)&&((tt=h)==null?void 0:tt.active_direction_item)}`,key:pe.id,onClick:()=>mt(pe==null?void 0:pe.id)},n.createElement("div",null,pe.name),(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)?n.createElement("img",{src:k,width:10,height:6}):n.createElement("img",{src:De,width:10,height:6}),(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)&&n.createElement("div",{className:h.active_sanjiao})),(N==null?void 0:N.discipline_id)==(pe==null?void 0:pe.id)&&n.createElement("div",{className:h.sub_warp},n.createElement("div",{className:h.tooltip_name},"\u8BF7\u9009\u62E9\u5B50\u7C7B"),p==null?void 0:p.map(ht=>{var kt;return n.createElement("div",{className:`${h.type_item} ${(N==null?void 0:N.sub_discipline_id)==(ht==null?void 0:ht.id)&&((kt=h)==null?void 0:kt.active_type_item)}`,key:ht==null?void 0:ht.id,onClick:()=>It(ht==null?void 0:ht.id)},ht.name)})))})),n.createElement("div",{className:h.btn_sty,onClick:_e},"\u65B0\u5EFA\u9879\u76EE")),n.createElement("div",{className:h.right_warp},n.createElement(Q.Z,{spinning:K},n.createElement("div",{className:h.list_warp_css},(Qt==null?void 0:Qt.length)>0?Qt==null?void 0:Qt.map((pe,tt)=>n.createElement("div",{className:h.item_warp,key:tt,onClick:ht=>{ht.preventDefault(),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"]),pe!=null&&pe.power&&(0,Ae.xg)(`/shixuns/${pe==null?void 0:pe.identifier}/challenges`)}},n.createElement("div",{className:h.img},n.createElement("img",{className:h.cover,src:`${u.Z.IMG_SERVER+(pe==null?void 0:pe.pic)}`}),(pe==null?void 0:pe.is_jupyter)&&n.createElement("img",{className:h.sign,src:l}),(pe==null?void 0:pe.is_jupyter_lab)&&n.createElement("img",{className:h.sign,src:r}),(pe==null?void 0:pe.is_unity_3d)&&n.createElement("img",{className:h.sign,src:s})),n.createElement("div",{className:h.item_info_warp},n.createElement(ze.Z,{title:pe==null?void 0:pe.name},n.createElement("div",{className:h.item_title},pe==null?void 0:pe.name)),n.createElement("div",{className:h.item_info},n.createElement("div",{className:"mb10"},"\u5173\u5361\u6570\uFF1A",pe==null?void 0:pe.challenges_count),n.createElement("div",{className:"mb10"},"\u96BE\u5EA6\u7B49\u7EA7\uFF1A",pe==null?void 0:pe.level),n.createElement("div",{className:h.rate},"\u9879\u76EE\u8BC4\u5206\uFF1A",n.createElement(H.Z,{allowHalf:!0,disabled:!0,defaultValue:pe.score_info}),n.createElement("span",{className:"ml5"},pe.score_info?`${pe.score_info}\u5206`:"5\u5206")))),!(pe!=null&&pe.power)&&n.createElement("div",{className:h.lockWrap},n.createElement("img",{src:`${u.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),n.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))):n.createElement(Ze.Z,{img:t(56022)})),Ke>12&&n.createElement(B.Z,{style:{width:"100%",marginTop:7},total:Ke,showTotal:()=>n.createElement("div",null,"\u5171 ",n.createElement("span",{style:{color:"#165DFF"}},Ke)," \u6761\u6570\u636E"),showQuickJumper:!1,showSizeChanger:!1,current:N.page,pageSize:N.limit,onChange:pe=>Rt(pe)})))))};var at=(0,m.connect)(({globalSetting:re})=>({globalSetting:re}))(et),j=t(3918),Me=t(95237),b={listBg:"listBg___UlD3V",tabContainer:"tabContainer___geIzx",tabItem:"tabItem___tkt6Z",active:"active___FpzmT",myInput:"myInput___QQbGR",myButton:"myButton___ADxJo",myButton1:"myButton1___F3WOc",filterBg:"filterBg___rdUHz",ShixunList:"ShixunList___ZEMfe",itemwrap:"itemwrap___ACn7o"},A=t(38147),o=t(41867),g=t(95494),x=Object.defineProperty,I=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,U=(re,de,N)=>de in re?x(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,y=(re,de)=>{for(var N in de||(de={}))a.call(de,N)&&U(re,N,de[N]);if(I)for(var N of I(de))i.call(de,N)&&U(re,N,de[N]);return re},c=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const M=({globalSetting:re,user:de,dispatch:N})=>{var Nt,Qt,Ot,Ke,Bt;const[K,it]=(0,n.useState)({sort:"desc",page:1,limit:16,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]),[Re,We]=(0,n.useState)([]),[ke,st]=(0,n.useState)(0),[ct,mt]=(0,n.useState)(!0),It=(0,n.useRef)(""),[_e,Rt]=(0,n.useState)([{id:"new",name:"\u6700\u65B0"},{id:"hot",name:"\u6700\u70ED"}]);(0,n.useEffect)(()=>{(0,o.bg)()&&Rt([..._e,{id:"mine",name:"\u6211\u7684"}])},[(0,o.bg)()]);const pe=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}];(0,n.useEffect)(()=>(N({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{N({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),(0,n.useEffect)(()=>{tt(),ht(K)},[]);const tt=()=>c(void 0,null,function*(){var D,O;const ce=yield(0,A.ZP)("/api/introductions.json",{method:"get"});if(ce!=null&&ce.introductions){const Xe=(D=ce.introductions)==null?void 0:D.find(xt=>xt.clazz==="teacher"&&xt.page_type==="shixun");console.log(Xe,"param"),It.current=Xe==null?void 0:Xe.attachment_url}const Ve=yield(0,V.I_)({});Ve.status!==-1&&(w([{id:"all",name:"\u5168\u90E8"},...(Ve==null?void 0:Ve.disciplines)||[]]),(O=Ve==null?void 0:Ve.disciplines)==null||O.forEach(Xe=>{var xt;_.current=(xt=_.current)==null?void 0:xt.concat(Xe.sub_disciplines||[])}),Ie(_.current))}),ht=D=>c(void 0,null,function*(){mt(!0),D.keyword=D.keyword;const O=L().pickBy(D,Ve=>Ve!=="all");O.type="homepage";const ce=yield(0,V.he)(O);ce.status!==-1&&(We([]),We((ce==null?void 0:ce.shixuns)||[]),st((ce==null?void 0:ce.total_count)||0)),mt(!1)}),kt=()=>{(0,te.tJ)(N)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},zt=()=>{window.open(`${u.Z.API_SERVER}${It.current}`)},en=D=>{K.page=1,K.discipline_id=D,K.sub_discipline_id="all";const O=Vt.find(Ve=>Ve.id===D),ce=D==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(O==null?void 0:O.sub_disciplines)||[]];it(y({},K)),Ie(ce),ht(K)},X=D=>{K.page=1,K.sub_discipline_id=D,it(y({},K)),ht(K)},q=D=>{K.page=1,K.order=D,it(y({},K)),ht(K)},ie=(D,O)=>{K.page=1,K.keyword=D,K.shixun_type=O,it(y({},K)),ht(K)},he=(D,O)=>{K.page=D,it(y({},K)),ht(K),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875",O==="next"?"\u4E0B\u4E00\u9875":"\u4E0A\u4E00\u9875"])},ae=[{name:"\u65B0\u5EFA\u9879\u76EE",click:kt,ButtonProps:{type:"primary",className:b.myButton},isShow:((Nt=de==null?void 0:de.userInfo)==null?void 0:Nt.is_shixun_marker)&&!((Qt=re==null?void 0:re.setting)!=null&&Qt.hide_shixun)},{name:"\u65B0\u624B\u6307\u5F15",click:zt,ButtonProps:{type:"primary",className:b.myButton},sign:!0,isShow:!1},{name:"\u534F\u540C\u5F00\u53D1",ButtonProps:{type:"primary",className:b.myButton},click:()=>{var D,O,ce,Ve,Xe,xt,bt,Gt;const Ht=((Xe=(Ve=(ce=(O=(D=re==null?void 0:re.setting)==null?void 0:D.navbar)==null?void 0:O.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:ce.subitem)==null?void 0:Ve.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Xe.link)||((Gt=(bt=(xt=re==null?void 0:re.setting)==null?void 0:xt.navbar)==null?void 0:bt.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Gt.link);(0,Ae.xg)(`${Ht}`)},isShow:!1},{name:"\u6982\u89C8\u7EDF\u8BA1",ButtonProps:{className:b.myButton1},click:()=>{(0,Ae.xg)("/shixunsoverview")},isShow:(Ot=de==null?void 0:de.userInfo)==null?void 0:Ot.is_show_btn}].filter(D=>D.isShow);return n.createElement("div",{className:"py-20px-rem px-24px-rem text-14px-rem"},n.createElement("div",{className:"flex item-center gap-24px-rem"},n.createElement(j.t7,{className:b.myInput,style:{width:507,zIndex:1,marginRight:"auto"},dataSource:pe,value:{id:K.shixun_type,value:K.keyword},onChange:ie,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u3001\u59D3\u540D\u6216\u5B66\u6821\u540D\u79F0\u8FDB\u884C\u641C\u7D22"}),ae==null?void 0:ae.map((D,O)=>n.createElement(j.op,y({style:{borderRadius:"4rem"},key:O,onClick:D==null?void 0:D.click},(D==null?void 0:D.ButtonProps)||{}),D==null?void 0:D.name))),n.createElement("div",{className:"py-18px-rem px-20px-rem rounded-8px-rem mt-14px-rem",style:{background:"#E7F0FF",position:"relative"}},n.createElement("img",{src:g,className:b.filterBg}),n.createElement(j.K3,{dataSource:Vt,title:"\u65B9\u5411",value:K==null?void 0:K.discipline_id,onChange:en,fontColor:"#000000"}),p.length>1&&n.createElement(j.K3,{dataSource:p,title:"\u5B50\u7C7B",value:K==null?void 0:K.sub_discipline_id,onChange:X,fontColor:"#000000",expand:!1})),n.createElement("div",{className:"mt-20px-rem rounded-20px-rem py-20px-rem px-20px-rem bg-white",style:{position:"relative",border:"1px solid #ffffff"}},n.createElement("img",{src:t(9051),className:b.listBg}),n.createElement(Me.Z,{align:"middle",justify:"space-between",className:"mb30"},n.createElement("div",{className:b.tabContainer},_e.map(D=>n.createElement("div",{key:D.id,onClick:()=>q(D.id),className:`${b.tabItem} ${(K==null?void 0:K.order)===D.id?b.active:""}`},D.name)))),n.createElement(j.lB,{dataSource:Re,right:0,bottom:0,loading:ct,trackEventItems:["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"],className:b.ShixunList,wrapClassName:b.itemwrap}),((Ke=re.setting)==null?void 0:Ke.main_site)&&n.createElement(j.Je,{style:{marginTop:15},total:ke,value:K.page,pageSize:K.limit,onChange:he}),!((Bt=re.setting)!=null&&Bt.main_site)&&n.createElement(B.Z,{style:{marginTop:15,textAlign:"center"},total:ke,showQuickJumper:!1,showSizeChanger:!1,pageSize:K.limit,onChange:(D,O)=>he(D,"")})))};var fe=(0,m.connect)(({globalSetting:re,user:de})=>({globalSetting:re,user:de}))(M),W={list_wrap:"list_wrap___rrdnK",tabContainer:"tabContainer___qEZXK",tabItem:"tabItem___PJRS9",active:"active___grbES",myInput:"myInput___WnK3z",one_style:"one_style___W5Os0",two_style:"two_style___HnbDT",ShixunList:"ShixunList___CAsIq",itemwrap:"itemwrap___WAXj6",listBg:"listBg___gpfHp"},Ee=Object.defineProperty,$=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,P=(re,de,N)=>de in re?Ee(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,G=(re,de)=>{for(var N in de||(de={}))ne.call(de,N)&&P(re,N,de[N]);if($)for(var N of $(de))v.call(de,N)&&P(re,N,de[N]);return re},ge=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const Be=({globalSetting:re,user:de,dispatch:N})=>{var Nt,Qt,Ot,Ke,Bt;const[K,it]=(0,n.useState)({sort:"desc",page:1,limit:16,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]),[Re,We]=(0,n.useState)([]),[ke,st]=(0,n.useState)(0),[ct,mt]=(0,n.useState)(!0),It=(0,n.useRef)(""),[_e,Rt]=(0,n.useState)([{id:"new",name:"\u6700\u65B0"},{id:"hot",name:"\u6700\u70ED"}]);(0,n.useEffect)(()=>{(0,o.bg)()&&Rt([..._e,{id:"mine",name:"\u6211\u7684"}])},[(0,o.bg)()]);const pe=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}];(0,n.useEffect)(()=>(N({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{N({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),(0,n.useEffect)(()=>{tt(),ht(K)},[]);const tt=()=>ge(void 0,null,function*(){var D,O;const ce=yield(0,A.ZP)("/api/introductions.json",{method:"get"});if(ce!=null&&ce.introductions){const Xe=(D=ce.introductions)==null?void 0:D.find(xt=>xt.clazz==="teacher"&&xt.page_type==="shixun");console.log(Xe,"param"),It.current=Xe==null?void 0:Xe.attachment_url}const Ve=yield(0,V.I_)({});Ve.status!==-1&&(w([{id:"all",name:"\u5168\u90E8"},...(Ve==null?void 0:Ve.disciplines)||[]]),(O=Ve==null?void 0:Ve.disciplines)==null||O.forEach(Xe=>{var xt;_.current=(xt=_.current)==null?void 0:xt.concat(Xe.sub_disciplines||[])}),Ie(_.current))}),ht=D=>ge(void 0,null,function*(){mt(!0),D.keyword=D.keyword;const O=L().pickBy(D,Ve=>Ve!=="all");O.type="homepage";const ce=yield(0,V.he)(O);ce.status!==-1&&(We([]),We((ce==null?void 0:ce.shixuns)||[]),st((ce==null?void 0:ce.total_count)||0)),mt(!1)}),kt=()=>{(0,te.tJ)(N)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},zt=()=>{window.open(`${u.Z.API_SERVER}${It.current}`)},en=D=>{K.page=1,K.discipline_id=D,K.sub_discipline_id="all";const O=Vt.find(Ve=>Ve.id===D),ce=D==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(O==null?void 0:O.sub_disciplines)||[]];it(G({},K)),Ie(ce),ht(K)},X=D=>{K.page=1,K.sub_discipline_id=D,it(G({},K)),ht(K)},q=D=>{K.page=1,K.order=D,it(G({},K)),ht(K)},ie=(D,O)=>{K.page=1,K.keyword=D,K.shixun_type=O,it(G({},K)),ht(K)},he=(D,O)=>{K.page=D,it(G({},K)),ht(K),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875",O==="next"?"\u4E0B\u4E00\u9875":"\u4E0A\u4E00\u9875"])},ae=[{name:"\u65B0\u5EFA\u9879\u76EE",click:kt,ButtonProps:{type:"primary",className:W.myButton},isShow:((Nt=de==null?void 0:de.userInfo)==null?void 0:Nt.is_shixun_marker)&&!((Qt=re==null?void 0:re.setting)!=null&&Qt.hide_shixun)},{name:"\u65B0\u624B\u6307\u5F15",click:zt,ButtonProps:{type:"primary",className:W.myButton},sign:!0,isShow:!1},{name:"\u534F\u540C\u5F00\u53D1",ButtonProps:{type:"primary",className:W.myButton},click:()=>{var D,O,ce,Ve,Xe,xt,bt,Gt;const Ht=((Xe=(Ve=(ce=(O=(D=re==null?void 0:re.setting)==null?void 0:D.navbar)==null?void 0:O.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:ce.subitem)==null?void 0:Ve.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Xe.link)||((Gt=(bt=(xt=re==null?void 0:re.setting)==null?void 0:xt.navbar)==null?void 0:bt.find(lt=>(lt==null?void 0:lt.name)==="\u9879\u76EE\u6258\u7BA1"))==null?void 0:Gt.link);(0,Ae.xg)(`${Ht}`)},isShow:!1},{name:"\u6982\u89C8\u7EDF\u8BA1",ButtonProps:{className:W.myButton1},click:()=>{(0,Ae.xg)("/shixunsoverview")},isShow:(Ot=de==null?void 0:de.userInfo)==null?void 0:Ot.is_show_btn}].filter(D=>D.isShow);return n.createElement("div",{className:"py-20px-rem px-24px-rem text-14px-rem"},n.createElement("div",{className:"flex item-center gap-24px-rem mb30"},n.createElement(j.tT,{className:W.myInput,style:{width:507,zIndex:1,marginRight:"auto"},dataSource:pe,value:{id:K.shixun_type,value:K.keyword},onChange:ie,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u3001\u59D3\u540D\u6216\u5B66\u6821\u540D\u79F0\u8FDB\u884C\u641C\u7D22"}),ae==null?void 0:ae.map((D,O)=>n.createElement("div",{className:(D==null?void 0:D.name)=="\u65B0\u5EFA\u9879\u76EE"?W.one_style:W.two_style,key:O,onClick:D==null?void 0:D.click},D==null?void 0:D.name))),n.createElement("div",{className:"py-10px-rem px-10px-rem",style:{background:"#082930",position:"relative"}},n.createElement(j.Um,{dataSource:Vt,title:"\u65B9\u5411",value:K==null?void 0:K.discipline_id,onChange:en,fontColor:"#000000"}),p.length>1&&n.createElement(j.Um,{dataSource:p,title:"\u5B50\u7C7B",value:K==null?void 0:K.sub_discipline_id,onChange:X,fontColor:"#000000",expand:!1})),n.createElement("div",{className:W.list_wrap},n.createElement("img",{src:t(39993),className:W.listBg}),n.createElement(Me.Z,{align:"middle",justify:"space-between",className:"mb30"},n.createElement("div",{className:W.tabContainer},_e.map(D=>n.createElement("div",{key:D.id,onClick:()=>q(D.id),className:`${W.tabItem} ${(K==null?void 0:K.order)===D.id?W.active:""}`},D.name)))),n.createElement(j.rC,{dataSource:Re,right:0,bottom:0,loading:ct,trackEventItems:["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"],className:W.ShixunList,wrapClassName:W.itemwrap}),((Ke=re.setting)==null?void 0:Ke.main_site)&&n.createElement(j.Je,{style:{marginTop:30},total:ke,value:K.page,pageSize:K.limit,onChange:he}),!((Bt=re.setting)!=null&&Bt.main_site)&&n.createElement(B.Z,{style:{marginTop:30,textAlign:"center"},total:ke,showQuickJumper:!1,showSizeChanger:!1,pageSize:K.limit,onChange:(D,O)=>he(D,"")})))};var Ge=(0,m.connect)(({globalSetting:re,user:de})=>({globalSetting:re,user:de}))(Be),Fe={flex_box_center:"flex_box_center___BWNLg",flex_space_between:"flex_space_between___i8hyV",flex_box_vertical_center:"flex_box_vertical_center___WsPPb",flex_box_center_end:"flex_box_center_end___d_2gN",flex_box_column:"flex_box_column___IPQlQ",page:"page___jXQ2X",center:"center___uNt7d",banner:"banner___jJKdb",content:"content___JC5CR",title:"title___WFguJ",subtitle:"subtitle___IAkxk",btns:"btns___rIANr",statistics:"statistics____BqY7",item:"item___GuOWx",value:"value___DkMTZ",unit:"unit___wlZ9K",name:"name___bxTf6"},Te=Object.defineProperty,ot=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,yt=(re,de,N)=>de in re?Te(re,de,{enumerable:!0,configurable:!0,writable:!0,value:N}):re[de]=N,Wt=(re,de)=>{for(var N in de||(de={}))St.call(de,N)&&yt(re,N,de[N]);if(ot)for(var N of ot(de))vt.call(de,N)&&yt(re,N,de[N]);return re},$e=(re,de,N)=>new Promise((Nt,Qt)=>{var Ot=K=>{try{Bt(N.next(K))}catch(it){Qt(it)}},Ke=K=>{try{Bt(N.throw(K))}catch(it){Qt(it)}},Bt=K=>K.done?Nt(K.value):Promise.resolve(K.value).then(Ot,Ke);Bt((N=N.apply(re,de)).next())});const pt=({globalSetting:re,dispatch:de,homePage:N})=>{var Nt,Qt;const[Ot,Ke]=(0,n.useState)(null),Bt=(0,n.useRef)(),[K,it]=(0,n.useState)({sort:"desc",page:1,limit:16,keyword:"",order:"new",shixun_type:"all",discipline_id:"all",sub_discipline_id:"all"}),[Vt,w]=(0,n.useState)([]),[p,Ie]=(0,n.useState)([]),_=(0,n.useRef)([{id:"all",name:"\u5168\u90E8"}]),[Re,We]=(0,n.useState)([]),[ke,st]=(0,n.useState)(0),[ct,mt]=(0,n.useState)(!0),[It,_e]=(0,n.useState)([{id:"new",name:"\u6700\u65B0"},{id:"hot",name:"\u6700\u70ED"}]);(0,n.useEffect)(()=>{(0,o.bg)()&&_e([...It,{id:"mine",name:"\u6211\u7684"}])},[(0,o.bg)()]);const Rt=[{id:"all",name:"\u5168\u90E8\u9879\u76EE"},{id:"vnc",name:"\u56FE\u5F62\u5316"},{id:"web_ssh",name:"\u547D\u4EE4\u884C"},{id:"jupyter",name:"Jupyter"},{id:"jupyterlab",name:"JupyterLab"},{id:"unity_3d",name:"\u865A\u62DF\u4EFF\u771F"}];(0,n.useEffect)(()=>(de({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{de({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),(0,n.useEffect)(()=>{pe(),tt(K),de({type:"homePage/home",payload:{}})},[]);const pe=()=>$e(void 0,null,function*(){var O,ce;const Ve=yield(0,A.ZP)("/api/introductions.json",{method:"get"});if(Ve!=null&&Ve.introductions){const xt=(O=Ve.introductions)==null?void 0:O.find(bt=>bt.clazz==="teacher"&&bt.page_type==="shixun");Ke(xt==null?void 0:xt.attachment_id),Bt.current=xt==null?void 0:xt.attachment_url}const Xe=yield(0,V.I_)({});Xe.status!==-1&&(w([{id:"all",name:"\u5168\u90E8"},...(Xe==null?void 0:Xe.disciplines)||[]]),(ce=Xe==null?void 0:Xe.disciplines)==null||ce.forEach(xt=>{var bt;_.current=(bt=_.current)==null?void 0:bt.concat(xt.sub_disciplines||[])}),Ie(_.current))}),tt=O=>$e(void 0,null,function*(){mt(!0),O.keyword=O.keyword;const ce=L().pickBy(O,Xe=>Xe!=="all");ce.type="homepage";const Ve=yield(0,V.he)(ce);Ve.status!==-1&&(We([]),We((Ve==null?void 0:Ve.shixuns)||[]),st((Ve==null?void 0:Ve.total_count)||0)),mt(!1)}),ht=()=>{(0,te.tJ)(de)&&(0,te.xY)()&&((0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u65B0\u5EFA\u9879\u76EE"]),m.history.push("/shixuns/new"))},kt=()=>{window.open(Bt.current)},zt=O=>{K.page=1,K.discipline_id=O,K.sub_discipline_id="all";const ce=Vt.find(Xe=>Xe.id===O),Ve=O==="all"?_.current:[{id:"all",name:"\u5168\u90E8"},...(ce==null?void 0:ce.sub_disciplines)||[]];it(Wt({},K)),Ie(Ve),tt(K)},en=O=>{K.page=1,K.sub_discipline_id=O,it(Wt({},K)),tt(K)},X=O=>{K.page=1,K.order=O,it(Wt({},K)),tt(K)},q=(O,ce)=>{K.page=1,K.keyword=O,K.shixun_type=ce,it(Wt({},K)),tt(K)},ie=(O,ce)=>{K.keyword=O,K.shixun_type=ce,it(Wt({},K))},he=(O,ce)=>{K.page=O,it(Wt({},K)),tt(K),(0,Ae.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875",ce==="next"?"\u4E0B\u4E00\u9875":"\u4E0A\u4E00\u9875"])},ae=[{name:"\u65B0\u5EFA\u8BAD\u7EC3\u9879\u76EE",click:ht,isShow:!0},{name:"\u6570\u636E\u6982\u89C8",click:()=>{(0,Ae.xg)("/shixunsoverview")},isShow:N==null?void 0:N.is_show_btn},{name:"\u73AF\u5883\u8D44\u6E90\u76D1\u63A7",click:()=>{(0,Ae.xg)("http://192.168.88.2:30000/login")},isShow:N==null?void 0:N.is_show_btn}].filter(O=>O.isShow),D=[{name:"\u5B66\u4E60\u4EBA\u6570",value:1332,unit:"\u4EBA",img:t(10156)},{name:"\u7D2F\u8BA1\u8BC4\u6D4B\u603B\u6B21\u6570",value:460,unit:"\u6B21",img:t(23656)},{name:"\u901A\u8FC7\u4EFB\u52A1\u5173\u5361\u6570",value:1500,unit:"\u6B21",img:t(45979)},{name:"\u9879\u76EE\u6570",value:100,unit:"\u4E2A",img:t(53387)},{name:"\u4EFB\u52A1\u5173\u5361\u6570",value:1500,unit:"\u4E2A",img:t(99696)},{name:"\u73AF\u5883\u6570",value:200,unit:"\u4E2A",img:t(64151)}];return n.createElement("section",{className:Fe.page},n.createElement("div",{className:Fe.banner},n.createElement("div",{className:Fe.content},n.createElement("aside",null,n.createElement("b",{className:Fe.title},"\u6A21\u62DF\u8BAD\u7EC3\u9879\u76EE"),n.createElement("div",{className:Fe.subtitle},"\u591A\u7C7B\u578B\u73AF\u5883\u4E0E\u5168\u6D41\u7A0B\u5B9E\u6218\u8BC4\u6D4B"),ae.length>0&&n.createElement("div",{className:Fe.btns},ae.map((O,ce)=>n.createElement("div",{key:ce,onClick:O.click},O.name))))),n.createElement("div",{className:Fe.statistics},D.map((O,ce)=>n.createElement("div",{key:ce,className:Fe.item},n.createElement("img",{src:O.img}),n.createElement("div",null,n.createElement("div",{className:"mb10"},n.createElement("span",{className:Fe.value},O.value),n.createElement("span",{className:Fe.unit},O.unit)),n.createElement("div",{className:Fe.name},O.name)))))),n.createElement("div",{className:Fe.center},n.createElement(j.qp,{dataSource:Vt,style:{marginTop:85},title:"\u65B9\u5411",value:K==null?void 0:K.discipline_id,onChange:zt,fontColor:"#000000"}),p.length>1&&n.createElement(j.qp,{dataSource:p,title:"\u5B50\u7C7B",value:K==null?void 0:K.sub_discipline_id,onChange:en,fontColor:"#000000"}),n.createElement(Me.Z,{align:"middle",justify:"space-between",className:"mt30 mb30"},n.createElement(j.tp,{dataSource:It,value:K==null?void 0:K.order,onChange:X}),n.createElement(j.t7,{style:{width:507},dataSource:Rt,value:{id:K.shixun_type,value:K.keyword},onChange:q,onInputChange:ie,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u9879\u76EE\u3001\u59D3\u540D\u6216\u5B66\u6821\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),n.createElement(j.wb,{dataSource:Re,right:23,col:4,precision:1,loading:ct,trackEventItems:["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"]}),((Nt=re.setting)==null?void 0:Nt.main_site)&&n.createElement(j.Je,{style:{marginTop:7},total:ke,value:K.page,pageSize:K.limit,onChange:he}),!((Qt=re.setting)!=null&&Qt.main_site)&&n.createElement(B.Z,{style:{marginTop:7,textAlign:"center"},total:ke,showQuickJumper:!1,showSizeChanger:!1,pageSize:K.limit,onChange:(O,ce)=>he(O,"")})))};var Dt=(0,m.connect)(({globalSetting:re,homePage:de})=>({globalSetting:re,homePage:de}))(pt),Lt=t(90175),dt=t(40277);const Ft=({globalSetting:re})=>{var de;switch(Number((de=re==null?void 0:re.setting)==null?void 0:de.theme)){case e.Fy.THEMEONE:return n.createElement(at,null);case e.Fy.THEMETWO:return n.createElement(Lt.Z,{mainDom:n.createElement(fe,null)});case e.Fy.THEMETHREE:return n.createElement(dt.Z,{mainDom:n.createElement(Ge,null)});case e.Fy.DEFAULT:default:return n.createElement(Dt,null)}};var Ct=(0,m.connect)(({globalSetting:re})=>({globalSetting:re}))(Ft)},66457:function(Qe,Ne,t){t.d(Ne,{rX:function(){return B},pW:function(){return l},gy:function(){return r},xY:function(){return H},O5:function(){return ze},tJ:function(){return Oe},o1:function(){return te},Rd:function(){return Q}});var e=t(65582),n=t(43418),m=t(28103),V=t(8591),h=t(41867),z=t(65862),L=t(87169),T=t(25510),ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ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301),f=(s,u,C)=>new Promise((F,ee)=>{var He=Je=>{try{ve(C.next(Je))}catch(De){ee(De)}},Pe=Je=>{try{ve(C.throw(Je))}catch(De){ee(De)}},ve=Je=>Je.done?F(Je.value):Promise.resolve(Je.value).then(He,Pe);ve((C=C.apply(s,u)).next())});const Oe=(s,u=!1)=>!!(te(s)&&Ae(u)),te=s=>(0,h.bg)()?!0:(s({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),Ae=(s=!1)=>{var u;const{user:C}=(0,e.getDvaApp)()._store.getState();return(u=C.userInfo)!=null&&u.profile_completed?!0:(n.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,z.xg)("/account/profile/edit"),Ze()}}),!1)},Ze=()=>{n.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()}})},Q=()=>{n.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:E.createElement("div",{style:{textAlign:"center"}},E.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"),E.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:be}),E.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ze=()=>{var s;const{user:u}=(0,e.getDvaApp)()._store.getState();return(s=u.userInfo)!=null&&s.professional_certification?!0:(n.default.confirm({title:"\u63D0\u793A",centered:!0,content:E.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,z.xg)("/account/certification")}}),!1)},H=()=>(0,h.V9)()?!0:(n.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:E.createElement("div",{className:"tc",style:{marginLeft:-38}},E.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),E.createElement("img",{src:d,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),B=(s,u)=>s?!0:(n.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:E.createElement("div",null,E.createElement("p",null,u||"\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"),E.createElement("div",{style:{marginLeft:"110px"}},E.createElement("img",{src:ye,width:200}),E.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,z.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),l=s=>{n.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:E.createElement("div",null,E.createElement("div",null,E.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"),E.createElement(m.Z,null),E.createElement("p",{style:{color:"#666666",fontSize:12}}," ",E.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 ",E.createElement("a",null,s),"\u5929\u3002"),E.createElement("p",{style:{color:"#666666",fontSize:12}}," ",E.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")),E.createElement("div",{style:{textAlign:"center",marginTop:30}},E.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:T,alt:"\u4E8C\u7EF4\u7801",width:160})))})},r=(s,u="")=>{const{shixunsDetail:{detail:C}}=(0,e.getDvaApp)()._store.getState();if((C==null?void 0:C.public)===2||(C==null?void 0:C.public)===1||(C==null?void 0:C.shixun_status)===3){let F="";return(C==null?void 0:C.public)===2&&(F="\u5DF2\u516C\u5F00"),(C==null?void 0:C.public)===1&&(F="\u5F85\u5BA1\u6838"),(C==null?void 0:C.shixun_status)===3&&(F="\u5DF2\u5173\u95ED"),n.default.info({centered:!0,icon:E.createElement(L.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:E.createElement("div",{className:"tc",style:{marginLeft:-38}},E.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},E.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",F,"\uFF0C",u,"\u3002"),E.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),E.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:T,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(C==null?void 0:C.shixun_status)===2?(n.default.confirm({centered:!0,icon:E.createElement(L.Z,null),title:"\u63D0\u793A",content:E.createElement("div",null,E.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",u,"\u3002"),E.createElement("br",null),E.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:()=>{n.default.confirm({width:440,centered:!0,icon:E.createElement(L.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:()=>f(void 0,null,function*(){(yield s({type:"shixunsDetail/cancelRelease",payload:{id:C==null?void 0:C.identifier}})).status!==401&&(V.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),s({type:"shixunsDetail/getShixunsDetail",payload:{id:C==null?void 0:C.identifier}}),s({type:"practiceSetting/getCommonData",payload:{id:C==null?void 0:C.identifier}}))})})}}),!0):!1}},56762:function(Qe,Ne,t){t.d(Ne,{Z:function(){return n}});var e=t(59301);function n(){const[,m]=e.useReducer(V=>V+1,0);return m}},19080:function(Qe,Ne,t){t.d(Ne,{F:function(){return h},Z:function(){return V}});var e=t(92310),n=t.n(e);const m=null;function V(z,L,T){return n()({[`${z}-status-success`]:L==="success",[`${z}-status-warning`]:L==="warning",[`${z}-status-error`]:L==="error",[`${z}-status-validating`]:L==="validating",[`${z}-has-feedback`]:T})}const h=(z,L)=>L||z},93891:function(Qe,Ne,t){var e=t(59301),n=t(36355),m=t(64165);const V=h=>{const{componentName:z}=h,{getPrefixCls:L}=(0,e.useContext)(n.E_),T=L("empty");switch(z){case"Table":case"List":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE,className:`${T}-small`});default:return e.createElement(m.Z,null)}};Ne.Z=V},28103:function(Qe,Ne,t){t.d(Ne,{Z:function(){return E}});var e=t(92310),n=t.n(e),m=t(59301),V=t(36355),h=t(17313),z=t(83116),L=t(37613);const T=f=>{const{componentCls:Oe,sizePaddingEdgeHorizontal:te,colorSplit:Ae,lineWidth:Ze,textPaddingInline:Q,orientationMargin:ze,verticalMarginInline:H}=f;return{[Oe]:Object.assign(Object.assign({},(0,h.Wf)(f)),{borderBlockStart:`${Ze}px solid ${Ae}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:H,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Ze}px solid ${Ae}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${f.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${f.dividerHorizontalWithTextGutterMargin}px 0`,color:f.colorTextHeading,fontWeight:500,fontSize:f.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ae}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Ze}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Oe}-with-text-left`]:{"&::before":{width:`${ze*100}%`},"&::after":{width:`${100-ze*100}%`}},[`&-horizontal${Oe}-with-text-right`]:{"&::before":{width:`${100-ze*100}%`},"&::after":{width:`${ze*100}%`}},[`${Oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Q},"&-dashed":{background:"none",borderColor:Ae,borderStyle:"dashed",borderWidth:`${Ze}px 0 0`},[`&-horizontal${Oe}-with-text${Oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Oe}-dashed`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Oe}-with-text`]:{color:f.colorText,fontWeight:"normal",fontSize:f.fontSize},[`&-horizontal${Oe}-with-text-left${Oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Oe}-inner-text`]:{paddingInlineStart:te}},[`&-horizontal${Oe}-with-text-right${Oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Oe}-inner-text`]:{paddingInlineEnd:te}}})}};var ye=(0,z.Z)("Divider",f=>{const Oe=(0,L.TS)(f,{dividerHorizontalWithTextGutterMargin:f.margin,dividerHorizontalGutterMargin:f.marginLG,sizePaddingEdgeHorizontal:0});return[T(Oe)]},f=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:f.marginXS})),d=function(f,Oe){var te={};for(var Ae in f)Object.prototype.hasOwnProperty.call(f,Ae)&&Oe.indexOf(Ae)<0&&(te[Ae]=f[Ae]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ae=Object.getOwnPropertySymbols(f);Ze{const{getPrefixCls:Oe,direction:te,divider:Ae}=m.useContext(V.E_),{prefixCls:Ze,type:Q="horizontal",orientation:ze="center",orientationMargin:H,className:B,rootClassName:l,children:r,dashed:s,plain:u,style:C}=f,F=d(f,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ee=Oe("divider",Ze),[He,Pe]=ye(ee),ve=ze.length>0?`-${ze}`:ze,Je=!!r,De=ze==="left"&&H!=null,je=ze==="right"&&H!=null,Se=n()(ee,Ae==null?void 0:Ae.className,Pe,`${ee}-${Q}`,{[`${ee}-with-text`]:Je,[`${ee}-with-text${ve}`]:Je,[`${ee}-dashed`]:!!s,[`${ee}-plain`]:!!u,[`${ee}-rtl`]:te==="rtl",[`${ee}-no-default-orientation-margin-left`]:De,[`${ee}-no-default-orientation-margin-right`]:je},B,l),Y=m.useMemo(()=>typeof H=="number"?H:/^\d+$/.test(H)?Number(H):H,[H]),se=Object.assign(Object.assign({},De&&{marginLeft:Y}),je&&{marginRight:Y});return He(m.createElement("div",Object.assign({className:Se,style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),C)},F,{role:"separator"}),r&&Q!=="vertical"&&m.createElement("span",{className:`${ee}-inner-text`,style:se},r)))}},91857:function(Qe,Ne,t){var e=t(59301),n=t(38819),m=t(92310),V=t.n(m),h=t(31561),z=t(70425),L=t(18929),T=t(2738),ye=t(79676),d=t(53487),be=t(92343),E=t(36355),f=t(20834),Oe=t(40875),te=t(88088),Ae=t(47211);const Ze=null,Q=l=>{const{menu:r,arrow:s,prefixCls:u,children:C,trigger:F,disabled:ee,dropdownRender:He,getPopupContainer:Pe,overlayClassName:ve,rootClassName:Je,open:De,onOpenChange:je,visible:Se,onVisibleChange:Y,mouseEnterDelay:se=.15,mouseLeaveDelay:we=.1,autoAdjustOverflow:S=!0,placement:me="",overlay:k,transitionName:le}=l,{getPopupContainer:Ce,getPrefixCls:xe,direction:qe}=e.useContext(E.E_),ft=e.useMemo(()=>{const c=xe();return le!==void 0?le:me.includes("top")?`${c}-slide-down`:`${c}-slide-up`},[xe,me,le]),nt=e.useMemo(()=>me?me.includes("Center")?me.slice(0,me.indexOf("Center")):me:qe==="rtl"?"bottomRight":"bottomLeft",[me,qe]),gt=xe("dropdown",u),[et,at]=(0,Ae.Z)(gt),[,j]=(0,te.Z)(),Me=e.Children.only(C),b=(0,be.Tm)(Me,{className:V()(`${gt}-trigger`,{[`${gt}-rtl`]:qe==="rtl"},Me.props.className),disabled:ee}),A=ee?[]:F;let o;A&&A.includes("contextMenu")&&(o=!0);const[g,x]=(0,L.Z)(!1,{value:De!=null?De:Se}),I=(0,z.useEvent)(c=>{je==null||je(c),Y==null||Y(c),x(c)}),a=V()(ve,Je,at,{[`${gt}-rtl`]:qe==="rtl"}),i=(0,ye.Z)({arrowPointAtCenter:typeof s=="object"&&s.pointAtCenter,autoAdjustOverflow:S,offset:j.marginXXS,arrowWidth:s?j.sizePopupArrow:0,borderRadius:j.borderRadius}),U=e.useCallback(()=>{x(!1)},[]),y=()=>{let c;return r!=null&&r.items?c=e.createElement(f.default,Object.assign({},r)):typeof k=="function"?c=k():c=k,He&&(c=He(c)),c=e.Children.only(typeof c=="string"?e.createElement("span",null,c):c),e.createElement(Oe.J,{prefixCls:`${gt}-menu`,expandIcon:e.createElement("span",{className:`${gt}-menu-submenu-arrow`},e.createElement(n.Z,{className:`${gt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:U,validator:M=>{let{mode:fe}=M}},c)};return et(e.createElement(h.Z,Object.assign({alignPoint:o},(0,T.Z)(l,["rootClassName"]),{mouseEnterDelay:se,mouseLeaveDelay:we,visible:g,builtinPlacements:i,arrow:!!s,overlayClassName:a,prefixCls:gt,getPopupContainer:Pe||Ce,transitionName:ft,trigger:A,overlay:y,placement:nt,onVisibleChange:I}),b))};function ze(l){return Object.assign(Object.assign({},l),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const H=(0,d.Z)(Q,"dropdown",l=>l,ze),B=l=>e.createElement(H,Object.assign({},l),e.createElement("span",null));Q._InternalPanelDoNotUseOrYouWillBeFired=B,Ne.Z=Q},38854:function(Qe,Ne,t){t.d(Ne,{Z:function(){return te}});var e=t(91857),n=t(92310),m=t.n(n),V=t(59301),h=t(18785),z=t(3113),L=t(36355),T=t(81327),ye=t(33234),d=t(47211),be=function(Ae,Ze){var Q={};for(var ze in Ae)Object.prototype.hasOwnProperty.call(Ae,ze)&&Ze.indexOf(ze)<0&&(Q[ze]=Ae[ze]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,ze=Object.getOwnPropertySymbols(Ae);H{const{getPopupContainer:Ze,getPrefixCls:Q,direction:ze}=V.useContext(L.E_),{prefixCls:H,type:B="default",danger:l,disabled:r,loading:s,onClick:u,htmlType:C,children:F,className:ee,menu:He,arrow:Pe,autoFocus:ve,overlay:Je,trigger:De,align:je,open:Se,onOpenChange:Y,placement:se,getPopupContainer:we,href:S,icon:me=V.createElement(h.Z,null),title:k,buttonsRender:le=y=>y,mouseEnterDelay:Ce,mouseLeaveDelay:xe,overlayClassName:qe,overlayStyle:ft,destroyPopupOnHide:nt,dropdownRender:gt}=Ae,et=be(Ae,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),at=Q("dropdown",H),j=`${at}-button`,[Me,b]=(0,d.Z)(at),A={menu:He,arrow:Pe,autoFocus:ve,align:je,disabled:r,trigger:r?[]:De,onOpenChange:Y,getPopupContainer:we||Ze,mouseEnterDelay:Ce,mouseLeaveDelay:xe,overlayClassName:qe,overlayStyle:ft,destroyPopupOnHide:nt,dropdownRender:gt},{compactSize:o,compactItemClassnames:g}=(0,ye.ri)(at,ze),x=m()(j,g,ee,b);"overlay"in Ae&&(A.overlay=Je),"open"in Ae&&(A.open=Se),"placement"in Ae?A.placement=se:A.placement=ze==="rtl"?"bottomLeft":"bottomRight";const I=V.createElement(z.ZP,{type:B,danger:l,disabled:r,loading:s,onClick:u,htmlType:C,href:S,title:k},F),a=V.createElement(z.ZP,{type:B,danger:l,icon:me}),[i,U]=le([I,a]);return Me(V.createElement(T.Z.Compact,Object.assign({className:x,size:o,block:!0},et),i,V.createElement(e.Z,Object.assign({},A),U)))};E.__ANT_BUTTON=!0;var f=E;const Oe=e.Z;Oe.Button=f;var te=Oe},47211:function(Qe,Ne,t){t.d(Ne,{Z:function(){return be}});var e=t(17313),n=t(13826),m=t(92899),V=t(29878),h=t(19447),z=t(83116),L=t(37613),ye=E=>{const{componentCls:f,menuCls:Oe,colorError:te,colorTextLightSolid:Ae}=E,Ze=`${Oe}-item`;return{[`${f}, ${f}-menu-submenu`]:{[`${Oe} ${Ze}`]:{[`&${Ze}-danger:not(${Ze}-disabled)`]:{color:te,"&:hover":{color:Ae,backgroundColor:te}}}}}};const d=E=>{const{componentCls:f,menuCls:Oe,zIndexPopup:te,dropdownArrowDistance:Ae,sizePopupArrow:Ze,antCls:Q,iconCls:ze,motionDurationMid:H,dropdownPaddingVertical:B,fontSize:l,dropdownEdgeChildPadding:r,colorTextDisabled:s,fontSizeIcon:u,controlPaddingHorizontal:C,colorBgElevated:F}=E;return[{[f]:Object.assign(Object.assign({},(0,e.Wf)(E)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:te,display:"block","&::before":{position:"absolute",insetBlock:-Ae+Ze/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Q}-btn`]:{[`& > ${ze}-down, & > ${Q}-btn-icon > ${ze}-down`]:{fontSize:u}},[`${f}-wrap`]:{position:"relative",[`${Q}-btn > ${ze}-down`]:{fontSize:u},[`${ze}-down::before`]:{transition:`transform ${H}`}},[`${f}-wrap-open`]:{[`${ze}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Q}-slide-down-enter${Q}-slide-down-enter-active${f}-placement-bottomLeft, &${Q}-slide-down-appear${Q}-slide-down-appear-active${f}-placement-bottomLeft, &${Q}-slide-down-enter${Q}-slide-down-enter-active${f}-placement-bottom, &${Q}-slide-down-appear${Q}-slide-down-appear-active${f}-placement-bottom, diff --git a/p__User__Detail__Videos__index.fe9e9578.async.js b/p__User__Detail__Videos__index.d7a6c7d0.async.js similarity index 99% rename from p__User__Detail__Videos__index.fe9e9578.async.js rename to p__User__Detail__Videos__index.d7a6c7d0.async.js index 1020658719..e2a81d8694 100644 --- a/p__User__Detail__Videos__index.fe9e9578.async.js +++ b/p__User__Detail__Videos__index.d7a6c7d0.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[2412],{40001:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},26227:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},49198:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},84105:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},41464:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},18785:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},87169:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},73331:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},15277:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},33853:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},62772:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},61485:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},38819:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},47472:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},70031:function(mt,Ye){"use strict";Ye.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},86340:function(mt,Ye,r){"use strict";r.d(Ye,{K:function(){return A}});var t=r(59301),y=r(43418),C=r(44080),z={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},m=r(24334);const A=({visible:j,width:G,videoId:X,file_url:R,course_id:Me,copyUrl:v,toLog:b=!0,logWatchHistory:de=()=>{},allow_skip:ae,onClose:be=()=>{},autoPlay:Ke=!1,onPlayEnded:se=()=>{}})=>t.createElement(y.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:j,title:null,footer:null,width:G,className:z.modal},t.createElement("i",{className:`${z.closeIcon} iconfont icon-guanbi10`,onClick:be}),j&&t.createElement(C.Z,{onPlayEnded:se,autoPlay:Ke,allow_skip:ae,courseId:Me,src:R!=null&&R.startsWith("http")?R:m.Base64.decode(R),videoId:X,toLog:b,logWatchHistory:de}))},44080:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return ae}});var t=r(59301),y=r(8591),C=r(38854),z=r(73217),m=r(17030),A=r(41867),j=r(56102),G=r(84056),X={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},R=(be,Ke,se)=>new Promise((Se,k)=>{var V=S=>{try{d(se.next(S))}catch(x){k(x)}},p=S=>{try{d(se.throw(S))}catch(x){k(x)}},d=S=>S.done?Se(S.value):Promise.resolve(S.value).then(V,p);d((se=se.apply(be,Ke)).next())});function Me(be){if(isNaN(be))return{minutes:"00",seconds:"00"};const Ke=new Date(be*1e3).toISOString().substr(11,8);return{hour:Ke.substr(0,2),minutes:Ke.substr(3,2),seconds:Ke.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function v(be,Ke){return be-Ke}function b(be){be.sort(v);let Ke=0;for(let se=0;se{},handlePlay:S=()=>{},handlePlayEnded:x=()=>{},autoPlay:_=!1,onPlayEnded:le=()=>{},isShowWaterMark:Ae=!0},We)=>{var Ge;const Te=((Ge=Ke==null?void 0:Ke.split("."))==null?void 0:Ge.pop())==="flv",g=(0,t.useRef)(),we=(0,t.useRef)(),oe=(0,t.useRef)(),K=(0,t.useRef)(),ie=(0,t.useRef)(),q=(0,t.useRef)(),P=(0,t.useRef)(),ce=(0,t.useRef)(),Z=(0,t.useRef)(),F=(0,t.useRef)(),He=(0,t.useRef)(),ze=(0,t.useRef)(),rt=(0,t.useRef)(),lt=(0,t.useRef)(),st=navigator.userAgent.toLowerCase().match(de),tt=st?st[0]:"pc",et=(0,t.useRef)(!1),nt=(0,A.eY)();let Be=0,Xe=0,J=0,M=null,E=!1,B=20,T=1,te=!1,c=!1,u=[];(0,t.useImperativeHandle)(We,()=>({getLastUpdatedTime:()=>g.current.currentTime,getDuration:()=>g.current.duration})),y.ZP.config({maxCount:1,getContainer:()=>oe.current});const O=(0,t.useCallback)((ye,De=!1)=>{let N={point:g.current.currentTime};M?(N.log_id=M,N.watch_duration=b(u),N.total_duration=Xe):(V?(N.video_id=parseInt(Se,10),N.course_id=V):N.video_id=Se,N.duration=Be,N.device=tt),De&&(N.ed="1");function me(){return R(this,null,function*(){te=!0,M=yield k==null?void 0:k(N),te=!1,ye&&ye()})}me()},[Se,V]);(0,t.useEffect)(()=>{g.current&&(K.current.style.display="none",ie.current.style.display="block"),y.ZP.destroy();let ye=null;return z.Z.isSupported&&Te&&Ke&&(Ke==null?void 0:Ke.indexOf(".m3u8"))<0?(ye=z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:Ke,muted:!1}),g.current&&(ye.attachMediaElement(g.current),ye.load())):g.current.setAttribute("src",Ke),h(),()=>{ye&&(ye.unload(),ye.pause(),ye.destroy(),ye=null)}},[g,Te,Ke]);function f(){g.current.paused?(K.current.style.display="none",ie.current.style.display="block"):(K.current.style.display="block",ie.current.style.display="none")}function h(){He.current.style.display="none",rt.current.style.display="none",ze.current.style.display="none",g.current.muted||g.current.volume===0?He.current.style.display="block":g.current.volume>0&&g.current.volume<=.5?rt.current.style.display="block":ze.current.style.display="block"}(0,t.useEffect)(()=>{const ye=document.getElementById("play"),De=document.querySelectorAll(".playback-icons use");function N(){S(),p&&!et.current&&(g.current.currentTime=p),et.current=!0,u.push(g.current.currentTime),E||(E=!0,se&&O())}function me(){return R(this,null,function*(){f(),u.push(g.current.currentTime),se&&O(()=>{M=null,J=0,E=!1,te=!1,c=!1,u=[],Xe=0,T=1},!0),le()})}function je(){q.current.value=Math.round(g.current.currentTime),P.current.value=Math.round(g.current.currentTime)}function U(){const ft=Me(Math.round(g.current.currentTime));Z.current.innerText=`${ft.hour>0?ft.hour+":":""}${ft.minutes}:${ft.seconds}`,Z.current.setAttribute("datetime",`${ft.hour>0?" "+ft.hour+" ":""}${ft.minutes}m ${ft.seconds}s`)}function Je(){var ft,Ot,Gt,wt,Vt,Tt,Zt;const cn=Math.round((ft=g.current)==null?void 0:ft.duration);(Gt=(Ot=q.current)==null?void 0:Ot.setAttribute)==null||Gt.call(Ot,"max",cn),(Vt=(wt=P.current)==null?void 0:wt.setAttribute)==null||Vt.call(wt,"max",cn);const vt=Me(cn);ce.current&&(ce.current.innerText=`${vt.hour>0?vt.hour+":":""}${vt.minutes}:${vt.seconds}`,(Zt=(Tt=ce.current).setAttribute)==null||Zt.call(Tt,"datetime",`${vt.hour>0?" "+vt.hour+" ":""}${vt.minutes}m ${vt.seconds}s`))}function ct(){try{const ft=Math.round(g.current.duration);q.current.setAttribute("max",ft),P.current.setAttribute("max",ft);const Ot=Me(ft);ce.current.innerText=`${Ot.hour>0?Ot.hour+":":""}${Ot.minutes}:${Ot.seconds}`,ce.current.setAttribute("datetime",`${Ot.hour>0?" "+Ot.hour+" ":""}${Ot.minutes}m ${Ot.seconds}s`),je(),U();const{width:Gt,height:wt,x:Vt,y:Tt}=we.current.getBoundingClientRect();if(Vt<0||Tt<0||!Gt)return;if(!c){let Zt=g.current.currentTime,cn=Zt-J;Math.abs(cn)<10?(Xe+=Math.abs(cn),J=Zt,te||Xe-T*B>=0&&(T++,u.push(J),se&&O())):(J=Zt,se&&O())}}catch(ft){console.log(ft)}}function _e(){c=!0}function at(){g.current.playing&&u.push(g.current.currentTime,J),J=g.current.currentTime,c=!1}function pt(){Be=g.current.duration,Be<=20&&(B=Be/3),g.current.addEventListener("play",N)}function Pt(ft){ft.preventDefault(),(0,G.vp)()?(g.current.style.width="100%",g.current.style.height="100%"):g.current.style.cssText=""}function Nt(){d()}function xt(ft){if(!be){y.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Ot=ft.target.dataset.seek?ft.target.dataset.seek:ft.target.value;g.current.currentTime=Ot,P.current.value=Ot,q.current.value=Ot}function nn(ft){const Ot=Math.round(ft.offsetX/ft.target.clientWidth*parseInt(ft.target.getAttribute("max"),10));q.current.setAttribute("data-seek",Ot);const Gt=Me(Ot);F.current.textContent=`${Gt.hour>0?Gt.hour+":":""}${Gt.minutes}:${Gt.seconds}`;const wt=g.current.getBoundingClientRect();F.current.style.left=`${ft.pageX-wt.left}px`}function Et(ft){switch(ft.code){case"Space":ft.preventDefault(),ue();break;case"ArrowRight":if(ft.preventDefault(),!be){y.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(g.current.currentTime>=g.current.duration)break;g.current.currentTime=parseInt(g.current.currentTime)+5,je();break;case"ArrowLeft":if(ft.preventDefault(),!be){y.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(g.current.currentTime===0)break;g.current.currentTime=parseInt(g.current.currentTime)-5,je();break;case"ArrowUp":ft.preventDefault(),g.current.volume<1&&(g.current.volume=(parseInt(g.current.volume*10)+1)/10);break;case"ArrowDown":ft.preventDefault(),g.current.volume>0&&(g.current.volume=(parseInt(g.current.volume*10)-1)/10);break}}return oe.current.addEventListener((0,G.gH)(),Pt),g.current.addEventListener("canplay",pt),g.current.addEventListener("ended",me),g.current.addEventListener("seeking",_e),g.current.addEventListener("seeked",at),g.current.addEventListener("loadedmetadata",Je),q.current.addEventListener("mousemove",nn),q.current.addEventListener("input",xt),g.current.addEventListener("timeupdate",ct),g.current.addEventListener("pause",Nt),g.current.addEventListener("volumechange",h),document.addEventListener("keydown",Et),()=>{var ft,Ot,Gt,wt,Vt,Tt,Zt,cn,vt,Kt,En,it;(ft=g.current)==null||ft.removeEventListener("canplay",pt),(Ot=g.current)==null||Ot.removeEventListener("play",N),(Gt=g.current)==null||Gt.removeEventListener("ended",me),(wt=g.current)==null||wt.removeEventListener("seeking",_e),(Vt=g.current)==null||Vt.removeEventListener("seeked",at),(Tt=q.current)==null||Tt.removeEventListener("mousemove",nn),(Zt=q.current)==null||Zt.removeEventListener("input",xt),(cn=g.current)==null||cn.removeEventListener("timeupdate",ct),(vt=g.current)==null||vt.removeEventListener("pause",Nt),(Kt=g.current)==null||Kt.removeEventListener("loadedmetadata",Je),(En=g.current)==null||En.removeEventListener("volumechange",h),document.removeEventListener("keydown",Et),(it=g.current)!=null&&it.playing&&(u.push(J,g.current.currentTime),se&&O())}},[g,Ke]),(0,t.useEffect)(()=>{if(g.current.onended=()=>{x(g)},g.current.oncontextmenu=()=>!1,(Ke==null?void 0:Ke.indexOf(".m3u8"))>-1){if(g.current.canPlayType("application/vnd.apple.mpegurl"))g.current.src=Ke;else if(m.ZP.isSupported()){var ye=new m.ZP;ye.loadSource(Ke),ye.attachMedia(g.current)}}},[Ke]);const[Q,Ie]=(0,t.useState)(1),ue=()=>{g.current.paused||g.current.ended?g.current.play():g.current.pause(),f()};function ke(){g.current.muted=!g.current.muted,g.current.muted?(lt.current.setAttribute("data-volume",volume.value),lt.current.value=0):lt.current.value=lt.current.dataset.volume}return t.createElement("div",{style:{position:"relative"},ref:oe},t.createElement("div",{ref:we,className:`${X.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${X.animate__loop}`},Ae&&nt?nt.login:" "),t.createElement("div",{className:X.container},t.createElement("div",{className:X["video-container"],id:"video-container"},t.createElement("div",{className:X["playback-animation"],id:"playback-animation"},t.createElement("svg",{className:X["playback-icons"]},t.createElement("use",{className:"hidden",href:"#play-icon"}),t.createElement("use",{href:"#pause"}))),t.createElement("video",{className:X.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:g,autoPlay:_}),t.createElement("div",{className:`${X["video-controls"]} `,id:"video-controls"},t.createElement("div",{className:X["bottom-controls"]},t.createElement("div",{className:X["left-controls"]},t.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:ue},t.createElement("svg",{className:X["playback-icons"]},t.createElement("use",{ref:ie,href:"#play-icon"}),t.createElement("use",{ref:K,style:{display:"none"},href:"#pause"}))),t.createElement("div",{className:X.time},t.createElement("time",{id:"time-elapsed",ref:Z},"00:00"),t.createElement("span",null," / "),t.createElement("time",{id:"duration",ref:ce},"00:00"))),t.createElement("div",{className:X["right-controls"]},be&&t.createElement(C.Z,{placement:"top",overlayClassName:X.rateOverlay,getPopupContainer:ye=>ye.parentNode,menu:{items:[{key:"1",label:t.createElement("span",{onClick:()=>{Ie(1),g.current.playbackRate=1}},"1.0x")},{key:"2",label:t.createElement("span",{onClick:()=>{Ie(1.5),g.current.playbackRate=1.5}},"1.5x")},{key:"3",label:t.createElement("span",{onClick:()=>{Ie(2),g.current.playbackRate=2}},"2.0x")}]}},t.createElement("div",{className:`${X.controlText} mr5`},"\u500D\u901F")),t.createElement(j.CopyToClipboard,{text:Ke,onCopy:()=>y.ZP.success("\u590D\u5236\u6210\u529F")},t.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},t.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),t.createElement("div",{className:X["volume-controls"]},t.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:X["volume-button"],id:"volume-button",onClick:ke},t.createElement("i",{ref:He,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),t.createElement("i",{ref:rt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),t.createElement("i",{ref:ze,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),t.createElement("input",{className:X.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:lt,style:{display:"none"},onClick:h})),t.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:X["fullscreen-button"],onClick:()=>{(0,G.vp)()?(0,G.BU)():(0,G.Dj)(oe.current)}},t.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),t.createElement("div",{className:X["video-progress"]},t.createElement("progress",{ref:P,value:"0",min:"0"}),t.createElement("input",{className:X.seek,ref:q,value:"0",min:"0",type:"range",step:"1"}),t.createElement("div",{className:X["seek-tooltip"],ref:F,id:"seek-tooltip"},"00:00"))))),t.createElement("svg",{style:{display:"none"}},t.createElement("defs",null,t.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},t.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),t.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},t.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),t.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},t.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),t.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},t.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),t.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},t.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),t.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},t.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),t.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},t.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),t.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},t.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},61584:function(mt,Ye,r){"use strict";r.d(Ye,{i:function(){return d},Z:function(){return x}});var t={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},y=r(71418),C=r(6848),z=r(93948),m=r(92310),A=r.n(m),j=r(65862),G=r(2524),X=r(41867),R=r(79005),Me=r(20345),v=r(77882),b=r(31081),de=r(75309),ae=r(71979),be=r(47558),Ke=r(42922),se=r(66832),Se=r(96593),k=r(19664),V=r(91833),p=r(59301);const d=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:R,swimg:Me},{name:"101\u8BA1\u5212",ptimg:v,swimg:b},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:de,swimg:ae},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:be,swimg:Ke},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:se,swimg:Se},{name:"\u519B\u961F\u4E00\u6D41",ptimg:k,swimg:V}];var x=({className:_,dataSource:le=[],col:Ae=4,right:We,bottom:Ge=23,precision:W=0,wrapWidth:Te=1200,trackEventItems:g,loading:we,onRemove:oe=()=>{},isCurrent:K=!0,showAlias:ie=!1,showProgress:q=!1})=>{const P=Math.floor((Te-(Ae-1)*We)/Ae),ce=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Z=>(window.ENV==="build"&&(Z.ptimg=`/react/build${Z.ptimg}`,Z.swimg=`/react/build${Z.swimg}`),Z));return p.createElement(y.Z,{spinning:we},p.createElement("div",{className:A()(t.list,_)},!!(le!=null&&le.length)&&(le==null?void 0:le.map((Z,F)=>{var He,ze,rt,lt,st,tt;const{name:et,id:nt,identifier:Be,featured:Xe,school_name:J,image_url:M,excellent:E,is_plan:B}=Z;return p.createElement("div",{key:nt,className:K&&q?t.wrapisCurrent:t.wrap,style:{width:P,marginRight:(1+F)%Ae===0?0:We+W,marginBottom:Ge}},p.createElement("a",{className:t.li,onClick:T=>{T.preventDefault(),T.stopPropagation(),g&&(0,j.L9)([g]),(0,j.xg)(`/paths/${Be}`)}},p.createElement("div",{className:t.img},p.createElement("img",{className:t.cover,src:`${M}`}),K&&(0,X.bg)()&&(Z==null?void 0:Z.studying)&&p.createElement("div",{className:`${t.movebq} user-path-items`,onClick:T=>{T.stopPropagation(),oe(Z)}},p.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),p.createElement("span",{className:"c-red"},"\u79FB\u9664")),(He=Z==null?void 0:Z.subject_tags)==null?void 0:He.map((T,te)=>{var c,u;if(te===0){const f=(c=ce.find(h=>h.name==T))==null?void 0:c.swimg;return p.createElement("img",{className:t.sign,src:f,style:{left:"-4px"}})}const O=(u=ce.find(f=>f.name==T))==null?void 0:u.ptimg;return p.createElement("img",{className:t.sign,src:O,style:{left:`${48+52*(te-1)+2*te}px`}})}),p.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Z==null?void 0:Z.excellent)&&p.createElement("div",{className:t.bq},"\u5F00\u653E\u8BFE\u7A0B"))),p.createElement("div",{className:t.name},p.createElement(C.Z,{title:ie&&(Z!=null&&Z.excellent_alias_name)?p.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${et}`,p.createElement("br",null),p.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Z==null?void 0:Z.excellent_alias_name}`)):et},p.createElement("span",{className:t.e},ie&&(Z==null?void 0:Z.excellent_alias_name)||et))),K&&q&&((ze=Z==null?void 0:Z.progress)==null?void 0:ze.all_score)!=0&&p.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},p.createElement(z.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((rt=Z==null?void 0:Z.progress)==null?void 0:rt.my_score)/((lt=Z==null?void 0:Z.progress)==null?void 0:lt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(st=Z==null?void 0:Z.progress)==null?void 0:st.my_score,"/",(tt=Z==null?void 0:Z.progress)==null?void 0:tt.all_score),(!K||!q)&&p.createElement("div",{className:t.tags},p.createElement("div",null,p.createElement(C.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},p.createElement("span",null,p.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),p.createElement("span",null,Z.stages_count))),p.createElement(C.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},p.createElement("span",null,p.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),p.createElement("span",null,Z.members_count)))))))})),!le.length&&p.createElement(G.Z,null)))}},3918:function(mt,Ye,r){"use strict";r.d(Ye,{jL:function(){return m},w9:function(){return cn},vv:function(){return n},dN:function(){return it},QD:function(){return Qt},cQ:function(){return te.Z},vg:function(){return Gt},Oz:function(){return Nt},op:function(){return ut},O5:function(){return Cn},_b:function(){return Ft},t7:function(){return Ge},tT:function(){return g},Gi:function(){return Ne},YG:function(){return L},Ed:function(){return Ve},kT:function(){return ve},qp:function(){return Ke},Um:function(){return d},K3:function(){return k},vr:function(){return gn},qE:function(){return Ht},Je:function(){return K},wb:function(){return tt},rC:function(){return T},lB:function(){return Be},cq:function(){return Le},kO:function(){return Y},tp:function(){return _},Si:function(){return Mn},k8:function(){return Bn},Du:function(){return Gn}});var t=r(59301),y={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},C="data:image/png;base64,iVBORw0KGgoAAAANSU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60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",m=({dataSource:Ue=[],img:Fe,imgWidth:ge=346,title:qe,sunTitle:ht,bannerExtraContent:At})=>t.createElement("div",{className:y.banner},t.createElement("div",{className:y.content},t.createElement("aside",null,t.createElement("p",null,t.createElement("b",null,qe),t.createElement("span",null,ht)),Ue.length>0&&t.createElement("div",{className:y.btns},Ue.map(($e,Dt)=>t.createElement("div",{key:Dt,onClick:$e.click},$e.name,$e.sign?t.createElement("img",{src:C,width:39}):null))),At),Fe&&t.createElement("img",{style:{marginTop:33,marginRight:38},src:Fe,width:ge}))),A={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},j=r(92310),G=r.n(j),X=r(89392),R=Object.defineProperty,Me=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,de=(Ue,Fe,ge)=>Fe in Ue?R(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,ae=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))v.call(Fe,ge)&&de(Ue,ge,Fe[ge]);if(Me)for(var ge of Me(Fe))b.call(Fe,ge)&&de(Ue,ge,Fe[ge]);return Ue},Ke=({dataSource:Ue=[],value:Fe,onChange:ge,onTitleChange:qe,className:ht,title:At,titleWidth:$e=41,style:Dt={},fontColor:Xt="#6A7283",showCount:ln,classNameActive:Yt,styleItem:yt={}})=>{const[qt,en]=(0,t.useState)(0),[yn,$t]=(0,t.useState)(!1),_t=(0,t.useRef)(null),hn=(0,t.useRef)(null);return(0,t.useEffect)(()=>{var In;Ue.length!==0&&(((In=_t==null?void 0:_t.current)==null?void 0:In.clientHeight)>97?en(1):en(0)),Ue.length===0&&en(0),$t(!1)},[Ue]),t.createElement("div",{className:G()(A.row,ht),style:Dt},t.createElement("div",{onClick:(0,X.throttle)(()=>qe==null?void 0:qe(),2e3),style:{width:$e,marginTop:yn?12:4},className:`${A.title} ${qe?"current":""}`},At),t.createElement("div",{className:yn?`${A.tagsWrap} ${A.tagsBorderWrap}`:A.tagsWrap},t.createElement("div",{className:A.bar,ref:hn,style:qt>0?{height:qt===1?97:"auto",overflow:qt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},t.createElement("div",{className:A.tag,ref:_t},Ue==null?void 0:Ue.map(In=>t.createElement("span",{onClick:()=>ge(In.id),key:In.id,style:ae(ae({color:Xt},yt),(In==null?void 0:In.style)||{}),className:Fe===In.id?G()(Yt||A.active,In.classNameActive):""},t.createElement("span",{title:In.name,className:A.name},In.name),!!ln&&t.createElement("span",{className:A.num},In.count))))),!!qt&&t.createElement(t.Fragment,null,qt===1?t.createElement("div",{onClick:()=>{var In;en(2),((In=_t==null?void 0:_t.current)==null?void 0:In.clientHeight)>245?$t(!0):$t(!1)},className:A.action},"\u5C55\u5F00",t.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):t.createElement("div",{onClick:()=>{hn.current.scrollTop=0,en(1),$t(!1)},className:A.action},"\u6536\u8D77",t.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},se={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},k=({dataSource:Ue=[],value:Fe,onChange:ge,onTitleChange:qe,className:ht,title:At,titleWidth:$e=41,style:Dt={},fontColor:Xt="#6A7283",showCount:ln,expand:Yt=!0})=>{const[yt,qt]=(0,t.useState)(0),[en,yn]=(0,t.useState)(!1),$t=(0,t.useRef)(null),_t=(0,t.useRef)(null),[hn,In]=(0,t.useState)(Yt);return t.createElement("div",{className:G()(se.row,ht),style:Dt},t.createElement("div",{className:"flex item-center justify-between"},t.createElement("div",{onClick:(0,X.throttle)(()=>qe==null?void 0:qe(),2e3),style:{width:$e,marginTop:en?12:4},className:`${se.title} ${qe?"current":""}`},At),t.createElement("i",{className:`iconfont ${hn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:hn?8:10},onClick:()=>In(!hn)})),hn&&t.createElement("div",{className:en?`${se.tagsWrap} ${se.tagsBorderWrap}`:se.tagsWrap},t.createElement("div",{className:se.fenge}),t.createElement("div",{className:se.bar,ref:_t},t.createElement("div",{className:se.tag,ref:$t},Ue==null?void 0:Ue.map(Nn=>t.createElement("span",{onClick:()=>ge(Nn.id),key:Nn.id,style:{color:Xt},className:Fe===Nn.id?se.active:""},t.createElement("span",{title:Nn.name,className:se.name},Nn.name),!!ln&&t.createElement("span",{className:se.num},Nn.count)))))))},V={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},d=({dataSource:Ue=[],value:Fe,onChange:ge,onTitleChange:qe,className:ht,title:At,titleWidth:$e=41,style:Dt={},fontColor:Xt="#fff",showCount:ln,expand:Yt=!0})=>{const[yt,qt]=(0,t.useState)(0),[en,yn]=(0,t.useState)(!1),$t=(0,t.useRef)(null),_t=(0,t.useRef)(null),[hn,In]=(0,t.useState)(Yt);return t.createElement("div",{className:G()(V.row,ht),style:Dt},t.createElement("div",{className:"flex item-center justify-between"},t.createElement("div",{onClick:(0,X.throttle)(()=>qe==null?void 0:qe(),2e3),style:{width:$e},className:`${V.title} ${qe?"current":""}`},At),t.createElement("i",{className:`iconfont ${hn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:hn?"#00DDC7":"#037F74",fontSize:hn?10:12},onClick:()=>In(!hn)})),hn&&t.createElement("div",{className:en?`${V.tagsWrap} ${V.tagsBorderWrap}`:V.tagsWrap},t.createElement("div",{className:V.bar,ref:_t},t.createElement("div",{className:V.tag,ref:$t},Ue==null?void 0:Ue.map(Nn=>t.createElement("span",{onClick:()=>ge(Nn.id),key:Nn.id,style:{color:Xt},className:Fe===Nn.id?V.active:""},t.createElement("span",{title:Nn.name,className:V.name},Nn.name),!!ln&&t.createElement("span",{className:V.num},Nn.count)))))))},S={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},_=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={}})=>t.createElement("div",{style:ht,className:G()(S.tabs,qe)},Ue.map(At=>t.createElement("span",{onClick:()=>ge(At.id),className:Fe===At.id?S.active:"",key:At.id},At.name))),le={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ae=r(92832),Ge=({dataSource:Ue=[],value:Fe="",onChange:ge,onInputChange:qe=()=>{},className:ht,style:At={},placeholder:$e,allowClear:Dt=!1})=>{var Xt;const[ln,Yt]=(0,t.useState)(""),[yt,qt]=(0,t.useState)("");(0,t.useEffect)(()=>{var $t;let _t=Fe;($t=JSON.stringify(Fe))!=null&&$t.includes("{")&&(Yt(Fe.id),_t=Fe.value||"");try{qt(decodeURIComponent(_t||""))}catch(hn){qt(decodeURIComponent(_t||""))}},[Fe]);const en=()=>{ge(encodeURIComponent(yt),ln||null)},yn=$t=>{$t!==ln&&(Yt($t),ge(encodeURIComponent(yt),$t))};return t.createElement("div",{className:G()(le.input,ht),style:At},!!Ue.length&&t.createElement("div",{className:le.dropdown},t.createElement("div",{className:le.text},(Xt=Ue.find($t=>$t.id===ln))==null?void 0:Xt.name,t.createElement("i",{className:"iconfont icon-zhankai4"}),t.createElement("b",{className:le.b1}),t.createElement("b",{className:le.b2})),t.createElement("div",{className:le.menu},Ue.map(($t,_t)=>t.createElement("div",{key:_t,onClick:()=>yn($t.id)},$t.name)))),t.createElement(Ae.default,{onPressEnter:en,value:yt,onChange:$t=>{qt($t.target.value),qe(encodeURIComponent($t.target.value),ln||null)},bordered:!1,placeholder:$e}),t.createElement("i",{onClick:en,className:"iconfont icon-sousuo9 font14 pl10 current"}))},W={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},g=({dataSource:Ue=[],value:Fe="",onChange:ge,onInputChange:qe=()=>{},className:ht,style:At={},placeholder:$e,allowClear:Dt=!1})=>{var Xt;const[ln,Yt]=(0,t.useState)(""),[yt,qt]=(0,t.useState)("");(0,t.useEffect)(()=>{var $t;let _t=Fe;($t=JSON.stringify(Fe))!=null&&$t.includes("{")&&(Yt(Fe.id),_t=Fe.value||"");try{qt(decodeURIComponent(_t||""))}catch(hn){qt(decodeURIComponent(_t||""))}},[Fe]);const en=()=>{ge(encodeURIComponent(yt),ln||null)},yn=$t=>{$t!==ln&&(Yt($t),ge(encodeURIComponent(yt),$t))};return t.createElement("div",{className:G()(W.input,ht),style:At},!!Ue.length&&t.createElement("div",{className:W.dropdown},t.createElement("div",{className:W.text},(Xt=Ue.find($t=>$t.id===ln))==null?void 0:Xt.name,t.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),t.createElement("div",{className:W.menu},Ue.map(($t,_t)=>t.createElement("div",{key:_t,onClick:()=>yn($t.id)},$t.name)))),t.createElement(Ae.default,{onPressEnter:en,value:yt,onChange:$t=>{qt($t.target.value),qe(encodeURIComponent($t.target.value),ln||null)},bordered:!1,placeholder:$e}),t.createElement("i",{onClick:en,className:"iconfont icon-sousuo9 font14 pl10 current"}))},we={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},K=({value:Ue,onChange:Fe,className:ge,total:qe,pageSize:ht,style:At={}})=>{const $e=Ue<2,Dt=Ue>=Math.ceil(qe/ht);return qe<=ht?t.createElement(t.Fragment,null):t.createElement("div",{className:G()(we.quickPager,ge),style:At},t.createElement("div",{onClick:()=>{$e||Fe(Ue-1,"prev")},className:$e?we.disabled:""},"\u4E0A\u4E00\u9875"),t.createElement("div",{onClick:()=>{Dt||Fe(Ue+1,"next")},className:Dt?we.disabled:""},"\u4E0B\u4E00\u9875"))},ie={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},q=r(71418),P=r(6848),ce=r(13570),Z=r(74128),F=r(65862),He=r(96908),ze=r(57177),rt=r(81378),lt=r(2524),tt=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt})=>{const ln=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:Xt},t.createElement("div",{className:G()(ie.list,Ue)},!!Fe.length&&Fe.map((Yt,yt)=>{const{name:qt,id:en,identifier:yn,power:$t,cover_image_id:_t,pic:hn}=Yt;return t.createElement("div",{className:ie.wrap,key:en,style:{width:ln,marginRight:(1+yt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/shixuns/${yn}/challenges`,className:ie.li,onClick:In=>{In.preventDefault(),Dt&&(0,F.L9)([Dt]),$t&&(0,F.xg)(`/shixuns/${yn}/challenges`)}},t.createElement("div",{className:ie.img},t.createElement("img",{className:ie.cover,src:`${hn}`}),Yt.is_jupyter&&t.createElement("img",{className:ie.sign,src:He}),Yt.is_jupyter_lab&&t.createElement("img",{className:ie.sign,src:ze}),Yt.is_unity_3d&&t.createElement("img",{className:ie.sign,src:rt})),t.createElement("div",{className:ie.name},t.createElement(P.Z,{title:qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},t.createElement("span",{className:ie.e},qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),t.createElement("div",{className:ie.tags},t.createElement(P.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),t.createElement("span",null,Yt.challenges_count))),!!Yt.myshixuns_count&&t.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),t.createElement("span",null,Yt.myshixuns_count))),t.createElement(P.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},t.createElement("span",null,t.createElement("span",null,Yt.level))),t.createElement("div",{className:ie.rate},t.createElement(ce.Z,{allowHalf:!0,disabled:!0,defaultValue:Yt.score_info}),t.createElement("span",null,"\xA0",Yt.score_info?`${Yt.score_info}\u5206`:"5\u5206")))),!$t&&t.createElement("div",{className:ie.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Fe.length&&t.createElement(lt.Z,null)))},et={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Be=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,wrapClassName:Dt,trackEventItems:Xt,loading:ln})=>{const Yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:ln},t.createElement("div",{className:G()(et.list,Ue)},!!Fe.length&&Fe.map((yt,qt)=>{const{name:en,id:yn,identifier:$t,power:_t,cover_image_id:hn,pic:In}=yt;return t.createElement("div",{className:G()(et.wrap,Dt),key:yn,style:{width:Yt,marginRight:(1+qt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/shixuns/${$t}/challenges`,className:et.li,onClick:Nn=>{Nn.preventDefault(),Xt&&(0,F.L9)([Xt]),_t&&(0,F.xg)(`/shixuns/${$t}/challenges`)}},t.createElement("img",{src:r(47621),className:et.titleBg}),t.createElement("div",{className:et.name},t.createElement(P.Z,{title:en||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},t.createElement("span",{className:et.e},en||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),t.createElement("div",{style:{padding:"14px",paddingBottom:0}},t.createElement("div",{className:et.img},t.createElement("img",{className:et.cover,src:hn?`${Z.Z.API_SERVER}/api/attachments/${hn}`:`${Z.Z.IMG_SERVER+In}`}),yt.is_jupyter&&t.createElement("div",{className:et.bq},"Jupyter"),yt.is_jupyter_lab&&t.createElement("div",{className:et.bq},"JupyterLab"),yt.is_unity_3d&&t.createElement("div",{className:et.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),t.createElement("div",{className:"mt20 flex item-center justify-between"},t.createElement("div",null,t.createElement("span",{className:et.text},"\u5B66\u4E60\u4EBA\u6570"),t.createElement("span",{className:et.value},yt.myshixuns_count)),t.createElement("div",null,t.createElement("span",{className:et.text},"\u56F0\u96BE\u7B49\u7EA7"),t.createElement("span",{className:et.value},yt.level))),t.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},t.createElement("div",null,t.createElement("span",{className:et.text},"\u5173\u5361\u6570"),t.createElement("span",{className:et.value},yt.challenges_count)),t.createElement("div",{className:et.rate},t.createElement(ce.Z,{allowHalf:!0,disabled:!0,defaultValue:yt.score_info}),t.createElement("span",{className:et.value,style:{color:"#FF9C00"}},"\xA0",yt.score_info?`${yt.score_info}\u5206`:"5\u5206"))))),!_t&&t.createElement("div",{className:et.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Fe.length&&t.createElement(lt.Z,null)))},Xe={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},J="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66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FoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",T=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt,wrapClassName:ln,imgClassName:Yt})=>{const yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:Xt},t.createElement("div",{className:G()(Xe.list,Ue)},!!Fe.length&&Fe.map((qt,en)=>{const{name:yn,id:$t,identifier:_t,power:hn,cover_image_id:In,pic:Nn}=qt;return t.createElement("div",{className:G()(Xe.wrap,ln),key:$t,style:{width:yt,marginRight:(1+en)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/shixuns/${_t}/challenges`,className:Xe.li,onClick:Qn=>{Qn.preventDefault(),Dt&&(0,F.L9)([Dt]),hn&&(0,F.xg)(`/shixuns/${_t}/challenges`)}},t.createElement("div",{className:G()(Xe.img,Yt)},t.createElement("img",{className:Xe.cover,src:In?`${Z.Z.API_SERVER}/api/attachments/${In}`:`${Z.Z.IMG_SERVER+Nn}`}),qt.is_jupyter&&t.createElement("img",{className:Xe.sign,src:J}),qt.is_jupyter_lab&&t.createElement("img",{className:Xe.sign,src:M}),qt.is_unity_3d&&t.createElement("img",{className:Xe.sign,src:E})),t.createElement("div",{className:Xe.name},t.createElement(P.Z,{title:yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},t.createElement("span",{className:Xe.e},yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),t.createElement("div",{className:Xe.tags},t.createElement(P.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),t.createElement("span",null,qt.challenges_count))),!!qt.myshixuns_count&&t.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),t.createElement("span",null,qt.myshixuns_count))),t.createElement(P.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},t.createElement("span",null,t.createElement("span",null,qt.level))),t.createElement("div",{className:Xe.rate},t.createElement(ce.Z,{allowHalf:!0,disabled:!0,defaultValue:qt.score_info}),t.createElement("span",null,"\xA0",qt.score_info?`${qt.score_info}\u5206`:"5\u5206")))),!hn&&t.createElement("div",{className:Xe.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Fe.length&&t.createElement(lt.Z,null)))},te=r(61584),c={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},u=r(79005),O=r(20345),f=r(77882),h=r(31081),Q=r(75309),Ie=r(71979),ue=r(47558),ke=r(42922),ye=r(66832),De=r(96593),N=r(19664),me=r(91833),je=Object.defineProperty,U=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,_e=(Ue,Fe,ge)=>Fe in Ue?je(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,at=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))Je.call(Fe,ge)&&_e(Ue,ge,Fe[ge]);if(U)for(var ge of U(Fe))ct.call(Fe,ge)&&_e(Ue,ge,Fe[ge]);return Ue};const pt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:u,swimg:O},{name:"101\u8BA1\u5212",ptimg:f,swimg:h},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Q,swimg:Ie},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ue,swimg:ke},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ye,swimg:De},{name:"\u519B\u961F\u4E00\u6D41",ptimg:N,swimg:me}];var Nt=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt,wrapClassName:ln,imgClassName:Yt,isArrow:yt=!1,imgStyle:qt={}})=>{const en=Math.floor(($e-(ge-1)*qe)/ge),[yn,$t]=(0,t.useState)(),[_t,hn]=(0,t.useState)(),In=Qn=>$t(Qn),Nn=()=>$t(-1);return t.createElement(q.Z,{spinning:Xt},t.createElement("div",{className:G()(c.list,Ue)},!!(Fe!=null&&Fe.length)&&(Fe==null?void 0:Fe.map((Qn,qn)=>{var br;const{name:Ar,id:hr,identifier:gr,featured:xr,school_name:rr,image_url:lr,excellent:ur,is_plan:vr}=Qn;return t.createElement("div",{key:hr,className:G()(c.wrap,ln),style:{width:en,marginRight:(1+qn)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/paths/${gr}`,className:c.li,onClick:or=>{or.preventDefault(),Dt&&(0,F.L9)([Dt]),(0,F.xg)(`/paths/${gr}`)}},t.createElement("img",{src:r(39057),className:c.titleBg}),t.createElement("div",{className:c.name},t.createElement(P.Z,{title:Ar},t.createElement("span",{className:c.e,style:{color:yt&&yn===qn?"#145DFF":"#000000"},onMouseEnter:()=>{In(qn)},onMouseLeave:Nn},Ar))),t.createElement("div",{style:{padding:"14px",paddingBottom:0}},t.createElement("div",{className:G()(c.img,Yt)},t.createElement("img",{className:c.cover,style:at({},qt),src:`${Z.Z.IMG_SERVER+lr}`}),(br=Qn==null?void 0:Qn.subject_tags)==null?void 0:br.map((or,Jn)=>{var mr,yr;if(Jn===0){const dr=(mr=pt.find(Rn=>Rn.name==or))==null?void 0:mr.swimg;return t.createElement("img",{className:c.sign,src:dr,style:{left:"-4px"}})}const Er=(yr=pt.find(dr=>dr.name==or))==null?void 0:yr.ptimg;return t.createElement("img",{className:c.sign,src:Er,style:{left:`${48+52*(Jn-1)+2*Jn}px`}})}),t.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Qn==null?void 0:Qn.excellent)&&t.createElement("div",{className:c.bq},"\u5F00\u653E\u8BFE\u7A0B"))),t.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},t.createElement("div",null,t.createElement("span",{className:c.text},"\u7AE0\u8282\u6570"),t.createElement("span",{className:c.value},Qn.stages_count)),t.createElement("div",null,t.createElement("span",{className:c.text},"\u5B66\u4E60\u4EBA\u6570"),t.createElement("span",{className:c.value},Qn.members_count))))))})),!Fe.length&&t.createElement(lt.Z,null)))},xt={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},nn=r(41867),Et=r(59301);const ft=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:u,swimg:O},{name:"101\u8BA1\u5212",ptimg:f,swimg:h},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Q,swimg:Ie},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ue,swimg:ke},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ye,swimg:De},{name:"\u519B\u961F\u4E00\u6D41",ptimg:N,swimg:me}];var Gt=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt,onRemove:ln=()=>{},isCurrent:Yt=!0,showAlias:yt=!1,wrapClassName:qt,imgClassName:en})=>{const yn=Math.floor(($e-(ge-1)*qe)/ge),$t=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(_t=>(window.ENV==="build"&&(_t.ptimg=`/react/build${_t.ptimg}`,_t.swimg=`/react/build${_t.swimg}`),_t));return Et.createElement(q.Z,{spinning:Xt},Et.createElement("div",{className:G()(xt.list,Ue)},!!(Fe!=null&&Fe.length)&&(Fe==null?void 0:Fe.map((_t,hn)=>{var In;const{name:Nn,id:Qn,identifier:qn,featured:br,school_name:Ar,image_url:hr,excellent:gr,is_plan:xr}=_t;return Et.createElement("div",{key:Qn,className:G()(xt.wrap,qt),style:{width:yn,marginRight:(1+hn)%ge===0?0:qe+At,marginBottom:ht}},Et.createElement("a",{className:xt.li,onClick:rr=>{rr.preventDefault(),rr.stopPropagation(),Dt&&(0,F.L9)([Dt]),(0,F.xg)(`/paths/${qn}`)}},Et.createElement("div",{className:G()(xt.img,en)},Et.createElement("img",{className:xt.cover,src:`${Z.Z.IMG_SERVER+hr}`}),Yt&&(0,nn.bg)()&&(_t==null?void 0:_t.studying)&&Et.createElement("div",{className:`${xt.movebq} user-path-items`,onClick:rr=>{rr.stopPropagation(),ln(_t)}},Et.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Et.createElement("span",{className:"c-red"},"\u79FB\u9664")),(In=_t==null?void 0:_t.subject_tags)==null?void 0:In.map((rr,lr)=>{var ur,vr;if(lr===0){const Jn=(ur=$t.find(mr=>mr.name==rr))==null?void 0:ur.swimg;return Et.createElement("img",{className:xt.sign,src:Jn,style:{left:"-4px"}})}const or=(vr=$t.find(Jn=>Jn.name==rr))==null?void 0:vr.ptimg;return Et.createElement("img",{className:xt.sign,src:or,style:{left:`${48+52*(lr-1)+2*lr}px`}})}),Et.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(_t==null?void 0:_t.excellent)&&Et.createElement("div",{className:xt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Et.createElement("div",{className:xt.name},Et.createElement(P.Z,{title:yt&&(_t!=null&&_t.excellent_alias_name)?Et.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Nn}`,Et.createElement("br",null),Et.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${_t==null?void 0:_t.excellent_alias_name}`)):Nn},Et.createElement("span",{className:xt.e},yt&&(_t==null?void 0:_t.excellent_alias_name)||Nn))),Et.createElement("div",{className:xt.tags},Et.createElement("div",null,Et.createElement(P.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Et.createElement("span",null,Et.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Et.createElement("span",null,_t.stages_count))),Et.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Et.createElement("span",null,Et.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Et.createElement("span",null,_t.members_count)))))))})),!Fe.length&&Et.createElement(lt.Z,null)))},wt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK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QmCC",Tt=r(59301),cn=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt})=>{const ln=Math.floor(($e-(ge-1)*qe)/ge);return Tt.createElement(q.Z,{spinning:Xt},Tt.createElement("div",{className:G()(wt.list,Ue)},!!Fe.length&&Fe.map((Yt,yt)=>{const{subject_identifier:qt,id:en,identifier:yn,power:$t}=Yt,_t=Yt.is_public!=0&&Yt.is_public;return Tt.createElement("div",{className:wt.wrap,key:en,style:{width:ln,marginRight:(1+yt)%ge===0?0:qe+At,marginBottom:ht}},Tt.createElement("a",{className:wt.li,onClick:hn=>{hn.preventDefault(),Dt&&(0,F.L9)([Dt]),(0,F.xg)(Yt.first_category_url)}},Tt.createElement("div",{className:wt.top},Tt.createElement(P.Z,{title:Yt.name},Tt.createElement("div",{className:wt.name},Yt.name)),Tt.createElement("img",{className:wt.img,src:Z.Z.IMG_SERVER+"/images/"+Yt.avatar_url}),Tt.createElement("div",{className:wt.text,title:Yt.creator},Yt.creator),qt&&Tt.createElement("div",{className:wt.btns},Tt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Tt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),_t&&Tt.createElement("div",{className:wt.sign},"\u516C\u5F00")),Tt.createElement("div",{className:wt.bottom},Yt.visits>0&&Tt.createElement(P.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Tt.createElement("span",null,Tt.createElement("i",{className:"iconfont icon-liulanyan"}),Tt.createElement("span",null,Yt.visits))),Yt.course_members_count>0&&Tt.createElement(P.Z,{title:"\u6210\u5458",placement:"bottom"},Tt.createElement("span",null,Tt.createElement("i",{className:"iconfont icon-chengyuan"}),Yt.course_members_count)),Yt.tasks_count>0&&Tt.createElement(P.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Tt.createElement("span",null,Tt.createElement("i",{className:"iconfont icon-zuoye"}),Yt.tasks_count)),Yt.is_end?Tt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Tt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Yt.is_accessible&&Tt.createElement("div",{className:wt.lockWrap},Tt.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Tt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Fe.length&&Tt.createElement(lt.Z,null)))},vt={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9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9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",it=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,wrapClassName:Dt,trackEventItems:Xt,loading:ln})=>{const Yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:ln},t.createElement("div",{className:G()(vt.list,Ue)},!!Fe.length&&Fe.map((yt,qt)=>{const{subject_identifier:en,id:yn,identifier:$t,power:_t}=yt,hn=yt.is_public!=0&&yt.is_public;return t.createElement("div",{className:G()(`${vt.wrap} ${yt.is_accessible?"":vt.warpStyle}`,Dt),key:yn,style:{width:Yt,marginRight:(1+qt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{className:vt.li,onClick:In=>{In.preventDefault(),Xt&&(0,F.L9)([Xt]),(0,F.xg)(yt.first_category_url)}},t.createElement("div",{className:vt.creator},t.createElement("img",{className:vt.img,src:Z.Z.IMG_SERVER+"/images/"+yt.avatar_url}),t.createElement("div",{className:vt.text,title:yt.creator},yt.creator)),t.createElement("div",{className:vt.top},t.createElement(P.Z,{title:yt.name},t.createElement("div",{className:vt.name},yt.name)),hn&&t.createElement("div",{className:vt.sign},"\u516C\u5F00")),t.createElement("div",{className:vt.middle},t.createElement("div",{className:vt.row,style:{marginBottom:6}},t.createElement("div",null,t.createElement("span",{className:vt.text},"\u8BBF\u95EE\u91CF"),t.createElement("span",{className:vt.value},(yt==null?void 0:yt.visits)||0)),t.createElement("div",null,t.createElement("span",{className:vt.text},"\u6210\u5458"),t.createElement("span",{className:vt.value},(yt==null?void 0:yt.course_members_count)||0))),t.createElement("div",{className:vt.row},t.createElement("div",null,t.createElement("span",{className:vt.text,style:{width:42}},"\u4F5C",t.createElement("span",{style:{marginLeft:14}},"\u4E1A")),t.createElement("span",{className:vt.value},(yt==null?void 0:yt.tasks_count)||0)),t.createElement("div",null,t.createElement("span",{className:vt.text},"\u72B6\u6001"),yt.is_end?t.createElement("span",{className:vt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):t.createElement("span",{className:vt.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),en&&t.createElement("div",{className:vt.btns},t.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),t.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!yt.is_accessible&&t.createElement("div",{className:vt.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Fe.length&&t.createElement(lt.Z,null)))},e={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRX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9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",n=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,wrapClassName:Dt,trackEventItems:Xt,loading:ln})=>{const Yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:ln},t.createElement("div",{className:G()(e.list,Ue)},!!Fe.length&&Fe.map((yt,qt)=>{const{subject_identifier:en,id:yn,identifier:$t,power:_t}=yt,hn=yt.is_public!=0&&yt.is_public;return t.createElement("div",{className:G()(`${e.wrap} ${yt.is_accessible?"":e.warpStyle}`,Dt),key:yn,style:{width:Yt,marginRight:(1+qt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{className:e.li,onClick:In=>{In.preventDefault(),Xt&&(0,F.L9)([Xt]),(0,F.xg)(yt.first_category_url)}},t.createElement("div",{className:e.creator},t.createElement("img",{className:e.img,src:Z.Z.IMG_SERVER+"/images/"+yt.avatar_url}),t.createElement("div",{className:e.text,title:yt.creator},yt.creator)),t.createElement("div",{className:e.top},t.createElement(P.Z,{title:yt.name},t.createElement("div",{className:e.name},yt.name)),hn&&t.createElement("div",{className:e.sign})),t.createElement("div",{className:e.middle},t.createElement("div",{className:e.row,style:{marginBottom:6}},t.createElement("div",null,t.createElement("span",{className:e.text},"\u8BBF\u95EE\u91CF"),t.createElement("span",{className:e.value},(yt==null?void 0:yt.visits)||0)),t.createElement("div",null,t.createElement("span",{className:e.text},"\u6210\u5458"),t.createElement("span",{className:e.value},(yt==null?void 0:yt.course_members_count)||0))),t.createElement("div",{className:e.row},t.createElement("div",null,t.createElement("span",{className:e.text,style:{width:42}},"\u4F5C",t.createElement("span",{style:{marginLeft:14}},"\u4E1A")),t.createElement("span",{className:e.value},(yt==null?void 0:yt.tasks_count)||0)),t.createElement("div",null,t.createElement("span",{className:e.text},"\u72B6\u6001"),yt.is_end?t.createElement("span",{className:e.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):t.createElement("span",{className:e.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),en&&t.createElement("div",{className:e.btns},t.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),t.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!yt.is_accessible&&t.createElement("div",{className:e.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Fe.length&&t.createElement(lt.Z,null)))},o={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},s=r(65582),L=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={},tabBarExtraContent:At})=>t.createElement("div",{className:G()(o.tabs,qe),style:ht},t.createElement("div",{className:o.tabsWrap},Ue.map(($e,Dt)=>t.createElement("aside",{className:o.tab,onClick:()=>{ge($e.id),$e.link&&s.history.push($e.link)},key:Dt},t.createElement("div",{className:Fe===$e.id?o.active:""},$e.name),($e==null?void 0:$e.resetCount)==null&&($e==null?void 0:$e.total)!==void 0&&t.createElement("span",null,"\uFF08",$e==null?void 0:$e.total,"\uFF09"),($e==null?void 0:$e.resetCount)!==void 0&&($e==null?void 0:$e.total)!==void 0&&t.createElement(P.Z,{title:($e==null?void 0:$e.tip)!=null?$e==null?void 0:$e.tip:""},t.createElement("span",{style:{color:"#9096A3"}},"\uFF08",t.createElement("span",{style:{color:"#000"}},$e==null?void 0:$e.resetCount),"/",t.createElement("span",null,$e==null?void 0:$e.total),"\uFF09"))))),t.createElement("div",{className:o.tabBar},At)),w={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},ve=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={},tabBarExtraContent:At})=>t.createElement("div",{className:G()(w.tabs,qe),style:ht},t.createElement("div",{className:w.tabsWrap},Ue.map(($e,Dt)=>t.createElement("aside",{className:w.tab,onClick:()=>{ge($e.id),$e.link&&s.history.push($e.link)},key:Dt},t.createElement("div",{className:Fe===$e.id?w.active:""},$e.name),($e==null?void 0:$e.resetCount)==null&&($e==null?void 0:$e.total)!==void 0&&t.createElement("span",null,"\uFF08",$e==null?void 0:$e.total,"\uFF09"),($e==null?void 0:$e.resetCount)!==void 0&&($e==null?void 0:$e.total)!==void 0&&t.createElement(P.Z,{title:($e==null?void 0:$e.tip)!=null?$e==null?void 0:$e.tip:""},t.createElement("span",{style:{color:"#9096A3"}},"\uFF08",t.createElement("span",{style:{color:"#000"}},$e==null?void 0:$e.resetCount),"/",t.createElement("span",null,$e==null?void 0:$e.total),"\uFF09"))))),t.createElement("div",{className:w.tabBar},At)),Pe={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Ve=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={},tabBarExtraContent:At})=>t.createElement("div",{className:G()(Pe.tabs,qe),style:ht},t.createElement("div",{className:Pe.tabsWrap},Ue.map(($e,Dt)=>t.createElement("aside",{className:`${Pe.tab} ${Fe===$e.id?Pe.active:""}`,onClick:()=>{ge($e.id),$e.link&&s.history.push($e.link)},key:Dt},t.createElement("div",null,$e.name),($e==null?void 0:$e.resetCount)==null&&($e==null?void 0:$e.total)!==void 0&&t.createElement("span",null,"\uFF08",$e==null?void 0:$e.total,"\uFF09"),($e==null?void 0:$e.resetCount)!==void 0&&($e==null?void 0:$e.total)!==void 0&&t.createElement(P.Z,{title:($e==null?void 0:$e.tip)!=null?$e==null?void 0:$e.tip:""},t.createElement("span",{style:{color:"#9096A3"}},"\uFF08",t.createElement("span",{style:{color:"#000"}},$e==null?void 0:$e.resetCount),"/",t.createElement("span",null,$e==null?void 0:$e.total),"\uFF09"))))),t.createElement("div",{className:Pe.tabBar},At)),Ne=({className:Ue,style:Fe={},children:ge})=>t.createElement("div",{className:G()(Ue),style:Fe},ge),Re={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},I=r(38854),H=r(20834);const $=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Le=({sortValue:Ue,dropValue:Fe,className:ge,onSort:qe,onDrop:ht,dataSource:At=$})=>{var $e;return t.createElement("div",{className:G()(Re.orderWrap,ge)},t.createElement(I.Z,{dropdownRender:()=>t.createElement(H.default,null,At.map((Dt,Xt)=>t.createElement(H.default.Item,{key:Xt,onClick:()=>ht(Dt.id)},Dt.name)))},t.createElement("span",{className:Re.orderTextWrap},($e=At.find(Dt=>Fe===Dt.id))==null?void 0:$e.name)),t.createElement("span",{className:Re.orderIconWrap},t.createElement("span",{className:Re.orderAsc},t.createElement("i",{className:Ue==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")})),t.createElement("span",{className:Re.orderDesc},t.createElement("i",{className:Ue==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")}))))},ne={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Oe=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Y=({sortValue:Ue,dropValue:Fe,className:ge,onSort:qe,onDrop:ht,dataSource:At=Oe})=>{var $e;return t.createElement("div",{className:G()(ne.orderWrap,ge)},t.createElement(I.Z,{dropdownRender:()=>t.createElement(H.default,null,At.map((Dt,Xt)=>t.createElement(H.default.Item,{key:Xt,onClick:()=>ht(Dt.id)},Dt.name)))},t.createElement("span",{className:ne.orderTextWrap},($e=At.find(Dt=>Fe===Dt.id))==null?void 0:$e.name)),t.createElement("span",{className:ne.orderIconWrap},t.createElement("span",{className:ne.orderAsc},t.createElement("i",{className:Ue==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ne.cursorPointer} ${ne.active}`:`iconfont icon-sanjiaoxing-up font12 ${ne.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")})),t.createElement("span",{className:ne.orderDesc},t.createElement("i",{className:Ue==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ne.cursorPointer} ${ne.active}`:`iconfont icon-sanjiaoxing-down font12 ${ne.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")}))))},ee={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},pe=r(3113),he=r(2337),Ee=Object.defineProperty,xe=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,dt=(Ue,Fe,ge)=>Fe in Ue?Ee(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,gt=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))Qe.call(Fe,ge)&&dt(Ue,ge,Fe[ge]);if(xe)for(var ge of xe(Fe))ot.call(Fe,ge)&&dt(Ue,ge,Fe[ge]);return Ue},bt=(Ue,Fe)=>{var ge={};for(var qe in Ue)Qe.call(Ue,qe)&&Fe.indexOf(qe)<0&&(ge[qe]=Ue[qe]);if(Ue!=null&&xe)for(var qe of xe(Ue))Fe.indexOf(qe)<0&&ot.call(Ue,qe)&&(ge[qe]=Ue[qe]);return ge},Mt=(Ue,Fe,ge)=>new Promise((qe,ht)=>{var At=Xt=>{try{Dt(ge.next(Xt))}catch(ln){ht(ln)}},$e=Xt=>{try{Dt(ge.throw(Xt))}catch(ln){ht(ln)}},Dt=Xt=>Xt.done?qe(Xt.value):Promise.resolve(Xt.value).then(At,$e);Dt((ge=ge.apply(Ue,Fe)).next())}),ut=Ue=>{var Fe=Ue,{className:ge,style:qe,children:ht,loading:At=!1,openLoading:$e,onClick:Dt=()=>{},size:Xt="middle",shape:ln="round",theme:Yt}=Fe,yt=bt(Fe,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[qt,en]=(0,t.useState)(!1),yn=(0,t.useMemo)(()=>{switch(Yt){case he.Fy.THEMEONE:return ee.ThemeOne;case he.Fy.DEFAULT:default:return ee.btn}},[Yt]);return t.createElement(pe.ZP,gt({onClick:(0,X.throttle)($t=>Mt(void 0,null,function*(){$e&&en(!0);try{yield Dt($t)}catch(_t){console.log("error",_t)}$e&&en(!1)}),2e3,{leading:!0,trailing:!1}),className:G()(yn,ee[`${Xt}-${ln}`],ge),style:qe,size:Xt,shape:ln,loading:qt||At},yt),ht)},jt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ht=({className:Ue,style:Fe,children:ge=null,onClick:qe,title:ht})=>t.createElement("div",{className:G()(jt.head,Ue),style:Fe},t.createElement("span",{className:"primary-hover",onClick:qe},t.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),t.createElement("b",{title:ht},ht),t.createElement("div",{className:jt.node},ge)),St={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Qt=({confirmShow:Ue=!0,confirmTitle:Fe,confirmClick:ge,cancelShow:qe=!0,cancelTitle:ht,cancelClick:At,className:$e,style:Dt,confirmLoading:Xt=!1})=>t.createElement("div",{className:G()(St.btns,$e),style:Dt},Ue&&t.createElement(pe.ZP,{loading:Xt,onClick:ge,type:"primary",className:St.confirm},Fe),qe&&t.createElement(pe.ZP,{onClick:At,className:St.cancel},ht)),Ut={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},gn=({className:Ue,style:Fe={},LeftContent:ge,children:qe,RightContent:ht})=>t.createElement("div",{className:G()(Ut.fixedBottom,Ue),style:Fe},t.createElement("div",{className:Ut.wrap},t.createElement("div",{className:Ut.left},ge),t.createElement("div",{className:Ut.center},qe),t.createElement("div",{className:Ut.right},ht))),zt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Ft=({className:Ue,style:Fe={},dataSource:ge=[]})=>t.createElement("div",{className:G()(zt.crumbs,Ue),style:Fe},ge.map((qe,ht)=>hts.history.push(qe.path)},qe.name):t.createElement("span",null,qe.name),t.createElement("span",null,"\xA0",">","\xA0")):t.createElement("span",{key:ht,style:{color:"#5F6368"}},qe.name))),fn=r(31797),dn=Object.defineProperty,sn=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,tn=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,An=(Ue,Fe,ge)=>Fe in Ue?dn(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,Rt=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))kt.call(Fe,ge)&&An(Ue,ge,Fe[ge]);if(tn)for(var ge of tn(Fe))an.call(Fe,ge)&&An(Ue,ge,Fe[ge]);return Ue},Ct=(Ue,Fe)=>sn(Ue,rn(Fe)),Jt=(Ue,Fe)=>{var ge={};for(var qe in Ue)kt.call(Ue,qe)&&Fe.indexOf(qe)<0&&(ge[qe]=Ue[qe]);if(Ue!=null&&tn)for(var qe of tn(Ue))Fe.indexOf(qe)<0&&an.call(Ue,qe)&&(ge[qe]=Ue[qe]);return ge};const{Countdown:un}=fn.default;var Cn=Ue=>{var Fe=Ue,{onChange:ge}=Fe,qe=Jt(Fe,["onChange"]);const[ht,At]=(0,t.useState)(null);(0,t.useEffect)(()=>{typeof ht=="number"&&ht>=0&&ge(ht)},[ht]);const $e=Dt=>{const Xt=Math.floor(Dt/1e3);At(Xt)};return t.createElement(un,Ct(Rt({},qe),{onChange:$e}))},bn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Mn=({DataProps:Ue,className:Fe,style:ge={}})=>{var qe;return t.createElement("div",{className:G()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",bn.ClassRoomItem,Fe),style:ge,onClick:()=>{(0,F.xg)(Ue==null?void 0:Ue.first_category_url)}},t.createElement("div",{className:"flex flex-col item-center"},t.createElement("img",{src:`${(qe=Z.Z)==null?void 0:qe.IMG_SERVER}/images/${Ue==null?void 0:Ue.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Ue==null?void 0:Ue.subject_identifier)&&t.createElement("div",{className:"mt-40px"},t.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),t.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),t.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},t.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Ue!=null&&Ue.is_public)&&t.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),t.createElement("span",{className:G()("text-16px font-medium",bn.TitleDom)},Ue==null?void 0:Ue.name)),t.createElement("div",{className:"c-grey-333 font-medium"},Ue==null?void 0:Ue.creator),t.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Ue==null?void 0:Ue.course_members_count),t.createElement("div",{className:"c-grey-333 flex item-center justify-between"},t.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Ue==null?void 0:Ue.tasks_count),Ue!=null&&Ue.is_end?t.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):t.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Dn=Object.defineProperty,Pn=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Tn=(Ue,Fe,ge)=>Fe in Ue?Dn(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,Hn=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))zn.call(Fe,ge)&&Tn(Ue,ge,Fe[ge]);if(Pn)for(var ge of Pn(Fe))On.call(Fe,ge)&&Tn(Ue,ge,Fe[ge]);return Ue},Gn=({DataProps:Ue=[],selectValue:Fe,onChange:ge,className:qe,style:ht={},extra:At,classNameItem:$e,styleItem:Dt={},barHidden:Xt})=>{const[ln,Yt]=(0,t.useState)();return(0,t.useEffect)(()=>{Yt(Array.isArray(Fe)?Fe:[Fe])},[Fe]),t.createElement("div",{className:G()("flex px-20px py-10px gap-40px",qe),style:Hn({borderBottom:"1px solid #D3F0FF"},ht)},Ue==null?void 0:Ue.map(yt=>t.createElement("div",{key:yt==null?void 0:yt.id,className:G()("flex item-center justify-center current c-grey-333 text-16 relative",$e,yt==null?void 0:yt.className),style:Hn(Hn({color:ln!=null&&ln.includes(yt==null?void 0:yt.id)?"#1890FF":"",minWidth:88},Dt),(yt==null?void 0:yt.style)||{}),onClick:qt=>{ge==null||ge({domEvent:qt,item:yt}),yt!=null&&yt.link&&s.history.push(yt==null?void 0:yt.link)}},yt==null?void 0:yt.name,!Xt&&(ln==null?void 0:ln.includes(yt==null?void 0:yt.id))&&t.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),t.createElement("div",{className:"ml-auto"},At))},jn=Object.defineProperty,Zn=Object.defineProperties,er=Object.getOwnPropertyDescriptors,Un=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,mn=(Ue,Fe,ge)=>Fe in Ue?jn(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,vn=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))tr.call(Fe,ge)&&mn(Ue,ge,Fe[ge]);if(Un)for(var ge of Un(Fe))Xn.call(Fe,ge)&&mn(Ue,ge,Fe[ge]);return Ue},Ln=(Ue,Fe)=>Zn(Ue,er(Fe)),Bn=({value:Ue,onChange:Fe,onInputChange:ge,className:qe,style:ht={},InputProps:At})=>{const[$e,Dt]=(0,t.useState)(Ue);return t.createElement("div",{className:G()("flex item-center rounded-full px-10px py-2px",qe),style:vn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ht)},t.createElement(Ae.default,Ln(vn({bordered:!1},At),{onChange:Xt=>{Dt(Xt.target.value),ge==null||ge(encodeURIComponent(Xt.target.value))},onPressEnter:Xt=>{Fe==null||Fe({domEvent:Xt,item:{value:$e}})}})),t.createElement("img",{className:"h-22px current",src:r(25365),height:22,onClick:Xt=>{Fe==null||Fe({domEvent:Xt,item:{value:$e}})}}))}},69118:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return Ge}});var t=r(59301),y=r(65582),C=r(8591),z=r(43418),m=r(99313),A=r(61621),j=r(5112),G={title:"title___XAxiE",radioWrap:"radioWrap___k0pOB",radio:"radio___x9kMt",colorFF0000:"colorFF0000___IMgd0",pagination:"pagination___ou2ht",checkboxWrapper:"checkboxWrapper___kF7xI"},X=r(65862),R=r(3918),Me=r(71418),v=r(24905),b=r(89540),de=r(26724),ae=r.n(de),be=(W,Te,g)=>new Promise((we,oe)=>{var K=P=>{try{q(g.next(P))}catch(ce){oe(ce)}},ie=P=>{try{q(g.throw(P))}catch(ce){oe(ce)}},q=P=>P.done?we(P.value):Promise.resolve(P.value).then(K,ie);q((g=g.apply(W,Te)).next())}),se=({username:W,setStages:Te,stages:g,hasError:we,setHasError:oe})=>{const[K,ie]=(0,t.useState)(""),[q,P]=(0,t.useState)(1),[ce,Z]=(0,t.useState)([]),[F,He]=(0,t.useState)(!1),[ze,rt]=(0,t.useState)(0);(0,t.useEffect)(()=>{lt({page:1,search:""},!0)},[]);const lt=(tt,et)=>be(void 0,null,function*(){He(!0);const nt=yield(0,b.w3)({username:W,category:"manage",page:tt.page,search:tt.search});He(!1),Z(Be=>et?nt==null?void 0:nt.subjects:[...Be,...nt==null?void 0:nt.subjects]),rt(nt==null?void 0:nt.count)}),st=(0,t.useRef)();return t.createElement("div",{className:G.wrap},t.createElement("div",{className:"mb10"},t.createElement(R.t7,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:K,style:{width:500},onChange:tt=>{ie(tt),P(1),st.current.scrollTo({behavior:"smooth",top:0}),lt({page:1,search:tt},!0)}})),t.createElement(Me.Z,{spinning:F},t.createElement("div",{className:G.radioWrap,ref:st},t.createElement(ae(),{initialLoad:!1,pageStart:1,threshold:6,loadMore:()=>{P(q+1),lt({page:q+1,search:K},!1)},hasMore:ce.length{Te({subjectId:tt.target.value,stage_ids:[]}),oe(!1)}},ce.map(tt=>{const et=tt.stages.map(nt=>({label:nt.name,value:nt.id}));return t.createElement("div",{key:tt.id},t.createElement(j.ZP,{className:G.radio,value:tt.id},tt.name),tt.id===g.subjectId&&t.createElement("div",{className:G.checkboxWrapper},et.length>0&&t.createElement(v.default,{indeterminate:g.stage_ids.length>0&&g.stage_ids.length{Te({subjectId:tt.id,stage_ids:nt.target.checked?et.map(Be=>Be.value):[]})},checked:g.stage_ids.length===et.length},"\u5168\u9009"),t.createElement(v.default.Group,{options:et,value:g.stage_ids,onChange:nt=>Te({subjectId:tt.id,stage_ids:nt})})))}))))),we&&t.createElement("div",{className:G.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u5B9E\u8DF5\u8BFE\u7A0B\u53CA\u7AE0\u8282"))},Se=r(70031),k=r(47735),V=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,x=(W,Te,g)=>Te in W?V(W,Te,{enumerable:!0,configurable:!0,writable:!0,value:g}):W[Te]=g,_=(W,Te)=>{for(var g in Te||(Te={}))d.call(Te,g)&&x(W,g,Te[g]);if(p)for(var g of p(Te))S.call(Te,g)&&x(W,g,Te[g]);return W},le=(W,Te)=>{var g={};for(var we in W)d.call(W,we)&&Te.indexOf(we)<0&&(g[we]=W[we]);if(W!=null&&p)for(var we of p(W))Te.indexOf(we)<0&&S.call(W,we)&&(g[we]=W[we]);return g},Ae=(W,Te,g)=>new Promise((we,oe)=>{var K=P=>{try{q(g.next(P))}catch(ce){oe(ce)}},ie=P=>{try{q(g.throw(P))}catch(ce){oe(ce)}},q=P=>P.done?we(P.value):Promise.resolve(P.value).then(K,ie);q((g=g.apply(W,Te)).next())});const We=W=>{var Te=W,{userDetail:g,globalSetting:we,loading:oe,user:K,dispatch:ie}=Te,q=le(Te,["userDetail","globalSetting","loading","user","dispatch"]),P,ce,Z,F,He;const[ze,rt]=(0,t.useState)("course"),[lt,st]=(0,t.useState)(""),[tt,et]=(0,t.useState)([]),[nt,Be]=(0,t.useState)(),[Xe,J]=(0,t.useState)(!1),[M,E]=(0,t.useState)(!1);(0,t.useEffect)(()=>{g.actionTabs.key==="UserDetail-SendToClass"&&B(lt)},[g.actionTabs.key]);const B=u=>Ae(void 0,null,function*(){J(!0);const O=yield ie({type:"userDetail/topicGetCourseList",payload:{search:u}});O&&et((O==null?void 0:O.courses)||[]),J(!1)}),[T,te]=(0,t.useState)({subjectId:"",stage_ids:[]}),c=()=>Ae(void 0,null,function*(){var u,O,f,h,Q,Ie;if(ze==="course"){if(!nt){E(!0);return}const ue=yield ie({type:"userDetail/topicSendToClass",payload:_({course_id:nt},(u=g.actionTabs)==null?void 0:u.params)});if(ie({type:"userDetail/setActionTabs",payload:{}}),ue&&ue.status===0){const ke={normal:"common_homework",group:"group_homework",exercise:"exercise",poll:"poll",videos:"video"};(0,X.xg)(`/classrooms/${nt}/${ke[(f=(O=g.actionTabs)==null?void 0:O.params)==null?void 0:f.object_type]}`)}}else{if(!T.subjectId||!T.stage_ids.length){E(!0);return}(yield(0,k.nI)({id:(Q=(h=g.actionTabs)==null?void 0:h.params)==null?void 0:Q.object_id,login:(Ie=K.userInfo)==null?void 0:Ie.login},{stage_ids:T.stage_ids})).status===0&&(C.ZP.success("\u53D1\u9001\u6210\u529F"),ie({type:"userDetail/setActionTabs",payload:{}}),(0,X.xg)(`/paths/${T.subjectId}`))}});return t.createElement(z.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:g.actionTabs.key==="UserDetail-SendToClass",title:"\u53D1\u9001",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:oe["userDetail/sendToClass"],width:600,afterClose:()=>{E(!1),et([]),te({subjectId:"",stage_ids:[]}),st("")},onOk:c,wrapClassName:Se.Z.CustomCss,onCancel:()=>{ie({type:"userDetail/setActionTabs",payload:{}})}},t.createElement(m.default,{activeKey:ze,onChange:u=>{E(!1),rt(u)},items:[{label:"\u8BFE\u5802",key:"course",children:t.createElement("div",{className:G.wrap},t.createElement("div",{className:"mb10"},t.createElement(R.t7,{placeholder:"\u8BF7\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:lt,style:{width:500},onChange:u=>{st(u),B(u)}})),t.createElement(A.Z,{active:!0,loading:Xe},t.createElement("div",{className:G.radioWrap},t.createElement(j.ZP.Group,{value:nt,onChange:u=>{Be(u.target.value),E(!1)}},tt.map((u,O)=>t.createElement(j.ZP,{className:G.radio,value:u.course_id,key:u.course_id},u.course_name))))),((ce=(P=g.actionTabs)==null?void 0:P.params)==null?void 0:ce.object_type)!=="videos"&&t.createElement("div",{className:G.title},"\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"),M&&t.createElement("div",{className:G.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802")),show:!0},{label:"\u5B9E\u8DF5\u8BFE\u7A0B",key:"subject",children:t.createElement(se,{username:(Z=K.userInfo)==null?void 0:Z.login,stages:T,setStages:te,hasError:M,setHasError:E}),show:((He=(F=g.actionTabs)==null?void 0:F.params)==null?void 0:He.object_type)==="videos"}].filter(u=>u.show)}))};var Ge=(0,y.connect)(({userDetail:W,loading:Te,globalSetting:g,user:we})=>({userDetail:W,globalSetting:g,loading:Te.effects,user:we}))(We)},51405:function(mt,Ye,r){"use strict";r.r(Ye),r.d(Ye,{default:function(){return c}});var t=r(59301),y=r(65582),C=r(43418),z=r(8591),m=r(61621),A=r(58421),j=r(2524),G=r(78241),X=r(92832),R=r(54580),Me=r(3113),v=r(38147),b=r(74128),de=r(19248),ae=Object.defineProperty,be=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Se=(u,O,f)=>O in u?ae(u,O,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[O]=f,k=(u,O)=>{for(var f in O||(O={}))Ke.call(O,f)&&Se(u,f,O[f]);if(be)for(var f of be(O))se.call(O,f)&&Se(u,f,O[f]);return u},V=(u,O,f)=>new Promise((h,Q)=>{var Ie=ye=>{try{ke(f.next(ye))}catch(De){Q(De)}},ue=ye=>{try{ke(f.throw(ye))}catch(De){Q(De)}},ke=ye=>ye.done?h(ye.value):Promise.resolve(ye.value).then(Ie,ue);ke((f=f.apply(u,O)).next())});const p=({userDetail:u,user:O,cb:f,loading:h,dispatch:Q})=>{const{actionTabs:Ie}=u,[ue]=G.default.useForm(),[ke,ye]=(0,t.useState)(!1),[De,N]=(0,t.useState)(void 0);(0,t.useEffect)(()=>{var U,Je;u.actionTabs.key==="\u7F16\u8F91\u89C6\u9891"&&(ue.setFieldsValue({title:Ie.data.title,attachment_id:(U=Ie==null?void 0:Ie.data)==null?void 0:U.attachment_id}),N((Je=Ie==null?void 0:Ie.data)==null?void 0:Je.attachment_id))},[u.actionTabs.key]);const me=()=>t.createElement("div",{style:{position:"relative",backgroundColor:"#f4f3f4",display:"flex",alignItems:"center",justifyContent:"center"}},t.createElement("img",{src:b.Z.API_SERVER+"/api/attachments/"+De,alt:"avatar",style:{width:288}}),t.createElement("div",{style:{position:"absolute",right:"-6px",top:"-6px",cursor:"pointer",backgroundColor:"#fff",width:"16px",height:"16px",borderRadius:"50%"}},t.createElement(de.Z,{onClick:()=>N(void 0),style:{fontSize:"16px",color:"red"}}))),je=U=>{var Je,ct,_e,at,pt,Pt;if(U.file.status==="uploading"){ye(!0);return}if(U.file.status==="done"){if(ye(!1),U.file.status==="done"&&((ct=(Je=U.file)==null?void 0:Je.response)==null?void 0:ct.status)===-1){z.ZP.error((at=(_e=U.file)==null?void 0:_e.response)==null?void 0:at.message);return}N((Pt=(pt=U==null?void 0:U.file)==null?void 0:pt.response)==null?void 0:Pt.id)}};return t.createElement(C.default,{bodyStyle:{padding:"30px 40px"},centered:!0,open:u.actionTabs.key==="\u7F16\u8F91\u89C6\u9891",footer:null,width:643,destroyOnClose:!0,closable:!1},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"42px"}},t.createElement("div",{style:{fontSize:"16px",fontWeight:"500",color:"#000",lineHeight:"16px"}},"\u89C6\u9891\u6807\u9898\u7F16\u8F91"),t.createElement("i",{className:"icon-danchuangguanbi iconfont",style:{fontSize:"15px",cursor:"pointer"},onClick:()=>{Q({type:"userDetail/setActionTabs",payload:{}})}})),Ie.data&&t.createElement(G.default,{form:ue},t.createElement(G.default.Item,{label:"\u89C6\u9891\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}],style:{marginBottom:"34px"}},t.createElement(X.default,{maxLength:60})),t.createElement(G.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:",style:{marginBottom:"34px"}},De?me():t.createElement(R.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${b.Z.API_SERVER}/api/attachments.json`,onChange:je,accept:"image/*"},t.createElement(Me.ZP,{loading:ke,icon:t.createElement("i",{className:"iconfont icon-shangchuantupian2"})},t.createElement("span",{style:{marginLeft:"3px"}},"\u4E0A\u4F20\u56FE\u7247")))),t.createElement("aside",null,"\u4EC5\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528278*225\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"),t.createElement(G.default.Item,null,t.createElement(Me.ZP,{style:{float:"right",marginLeft:"20px"},loading:ke,onClick:()=>V(void 0,null,function*(){var U,Je,ct;ue.setFieldsValue({attachment_id:De||((U=Ie==null?void 0:Ie.data)!=null&&U.attachment_id?(Je=Ie==null?void 0:Ie.data)==null?void 0:Je.attachment_id:void 0)});const _e=k({},yield ue.validateFields());(yield(0,v.ZP)(`/api/users/${(ct=O==null?void 0:O.userInfo)==null?void 0:ct.login}/videos/${Ie.data.id}/change_cover.json`,{method:"put",body:k({},_e)}))&&(z.ZP.success("\u4FEE\u6539\u6210\u529F"),Q({type:"userDetail/setActionTabs",payload:{}}),f())})},"\u786E\u5B9A"),t.createElement(Me.ZP,{style:{float:"right"},onClick:()=>{Q({type:"userDetail/setActionTabs",payload:{}})}},"\u53D6\u6D88"))))};var d=(0,y.connect)(({userDetail:u,loading:O,user:f})=>({userDetail:u,loading:O,user:f}))(p),S=r(18889),x=r(6848),_=r(71418),le=r(36193),Ae=r(56102),We={flex_box_center:"flex_box_center___XLvPY",flex_space_between:"flex_space_between___olqDv",flex_box_vertical_center:"flex_box_vertical_center___7Ehj3",flex_box_center_end:"flex_box_center_end___eAyvU",flex_box_column:"flex_box_column___h6EKr",wrap:"wrap___jMjpV",bottomActionWrap:"bottomActionWrap___MLvvL",playIconWrap2:"playIconWrap2___tjBpv",playIcon:"playIcon___Zxs9h",playIconWrap:"playIconWrap___yexC0",linkWrap:"linkWrap___mfd8s",link:"link___XFVyj",imgWrap:"imgWrap___VBvxW",cardBottom:"cardBottom___afGBc",bottomTitle:"bottomTitle___ZuGLa",actionIcon:"actionIcon___yvtTa",timeWrap:"timeWrap___j2lof",time:"time___IA2yw",peopleWrap:"peopleWrap___O2Jrn",playTime:"playTime___apDZs",bottomTitleTip:"bottomTitleTip___nLAHv"},Ge=r(86340),W=Object.defineProperty,Te=Object.defineProperties,g=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,ie=(u,O,f)=>O in u?W(u,O,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[O]=f,q=(u,O)=>{for(var f in O||(O={}))oe.call(O,f)&&ie(u,f,O[f]);if(we)for(var f of we(O))K.call(O,f)&&ie(u,f,O[f]);return u},P=(u,O)=>Te(u,g(O));const ce="90%",Z="55%",F=({data:u,isReview:O,dispatch:f,onDelete:h=()=>{},logWatchHistory:Q=()=>{},onSend:Ie=()=>{}})=>{const[ue,ke]=(0,t.useState)(),[ye,De]=(0,t.useState)({}),N=U=>{if(isNaN(U))return{minutes:"00",seconds:"00"};const Je=new Date(U*1e3).toISOString().substr(11,8);return{hour:Je.substr(0,2),minutes:Je.substr(3,2),seconds:Je.substr(6,2)}},me=U=>{U.link||(ke(!0),De({videoId:U.id,file_url:U.play_url||U.file_url,copyUrl:je(U.play_url||U.file_url,U.cover_url),logWatchHistory:Q}))},je=(U,Je)=>{if(U)return``};return t.createElement(t.Fragment,null,u&&u.map((U,Je)=>{var ct;const _e=N(U.play_duration||0),at=(ct=U==null?void 0:U.cover_url)!=null&&ct.includes("https")?U.cover_url:b.Z.API_SERVER+U.cover_url;return t.createElement("a",{className:We.wrap,key:U.id},t.createElement(S.Z,null,t.createElement(x.Z,{title:"\u89C6\u9891\u65F6\u957F",placement:"bottom"},t.createElement("div",{className:We.playTime},_e.hour==="00"?"":_e.hour+":",_e.minutes+":",_e.seconds)),t.createElement(_.Z,{tip:"\u6B63\u5728\u8F6C\u7801\uFF0C\u8BF7\u7A0D\u7B49...",spinning:!U.transcoded&&!U.link},t.createElement("div",{className:We.imgWrap},t.createElement("img",{src:at}),U.link&&t.createElement("a",{className:We.linkWrap,href:U.link,target:"_blank",title:U.title},t.createElement("span",{className:We.link},"\u5916\u94FE")),O?t.createElement("div",{className:We.playIconWrap2},t.createElement("img",{className:We.playIcon,src:le})):t.createElement("div",{className:We.playIconWrap,onClick:()=>{!O&&me(U)}},t.createElement("img",{className:We.playIcon,src:le})),t.createElement("div",{className:We.bottomActionWrap},t.createElement("span",{className:We.peopleWrap},!!U.people_num&&t.createElement(x.Z,{title:"\u89C2\u770B\u4EBA\u6570",placement:"bottom"},t.createElement("i",{className:"icon-dianjiliang iconfont font12"},U.people_num))),t.createElement("div",null,t.createElement(x.Z,{title:"\u7F16\u8F91",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-bianji10 iconfont`,onClick:()=>{f({type:"userDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u89C6\u9891",data:U}})},style:{marginTop:"1px",display:"inline-block"}})),!O&&t.createElement(Ae.CopyToClipboard,{text:je(U.play_url||U.file_url,U.cover_url),onCopy:()=>z.ZP.success("\u590D\u5236\u6210\u529F")},t.createElement(x.Z,{title:"\u590D\u5236\u94FE\u63A5",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-lianjie2 iconfont`}))),t.createElement(x.Z,{title:"\u5220\u9664",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-shanchu12 iconfont`,onClick:()=>h(U.id)})),(U==null?void 0:U.status)!="processing"&&t.createElement(x.Z,{title:"\u53D1\u9001",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-fasongzhiketang`,onClick:()=>Ie(U.id)})))))),t.createElement("div",{className:We.cardBottom},t.createElement(x.Z,{overlayClassName:We.bottomTitleTip,getPopupContainer:pt=>pt.parentNode,title:U==null?void 0:U.title,placement:"bottom",autoAdjustOverflow:!1,arrowPointAtCenter:!0,mouseEnterDelay:0,mouseLeaveDelay:0},t.createElement("div",{className:We.bottomTitle},U.title)),U.total_time&&t.createElement("div",{className:We.timeWrap},t.createElement("div",{className:We.time},U.total_time&&`\u7D2F\u8BA1\u5B66\u4E60\u65F6\u957F\uFF1A${U.total_time}`)))))}),t.createElement(Ge.K,P(q({},ye),{visible:ue,allow_skip:!0,width:800,onClose:()=>{ke(!1),De({})}})))};var He=(0,y.connect)(({userDetail:u})=>({userDetail:u}))(F),ze={flex_box_center:"flex_box_center___IcqlF",flex_space_between:"flex_space_between___wI3bO",flex_box_vertical_center:"flex_box_vertical_center___wd4F6",flex_box_center_end:"flex_box_center_end___sX6yw",flex_box_column:"flex_box_column___oOUfO",body:"body___qkQFy",status:"status___lJSfh",datalist:"datalist___u3xx3",pager:"pager___inNi6",wrap:"wrap___u5nsU",midWrap:"midWrap___AEcVw",color999:"color999___UbIGq",orderWrap:"orderWrap___NBpTb",orderIconWrap:"orderIconWrap___BWV6J",orderAsc:"orderAsc___d0bIf",orderDesc:"orderDesc___XbnhV",color0152d9:"color0152d9___QUmiG",h10:"h10___aHhYp",cursorPointer:"cursorPointer___tv0ub",orderTextWrap:"orderTextWrap___xIS1a",cardWrap:"cardWrap___YxQcT",countWrap:"countWrap___nr9pc",colorRed:"colorRed___zZSQ2",modal:"modal___AyGQi"},rt=r(66457),lt=r(77254),st=r(3918),tt=r(65862),et=r(69118),nt=Object.defineProperty,Be=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,M=(u,O,f)=>O in u?nt(u,O,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[O]=f,E=(u,O)=>{for(var f in O||(O={}))Xe.call(O,f)&&M(u,f,O[f]);if(Be)for(var f of Be(O))J.call(O,f)&&M(u,f,O[f]);return u},B=(u,O)=>{var f={};for(var h in u)Xe.call(u,h)&&O.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&Be)for(var h of Be(u))O.indexOf(h)<0&&J.call(u,h)&&(f[h]=u[h]);return f},T=(u,O,f)=>new Promise((h,Q)=>{var Ie=ye=>{try{ke(f.next(ye))}catch(De){Q(De)}},ue=ye=>{try{ke(f.throw(ye))}catch(De){Q(De)}},ke=ye=>ye.done?h(ye.value):Promise.resolve(ye.value).then(Ie,ue);ke((f=f.apply(u,O)).next())});const te=u=>{var O=u,{user:f,userDetail:h,globalSetting:Q,loading:Ie,dispatch:ue}=O,ke=B(O,["user","userDetail","globalSetting","loading","dispatch"]),ye;const[De]=(0,y.useSearchParams)(),N=(0,y.useLocation)(),me=(0,t.useRef)(),[je,U]=(0,t.useState)(0),[Je,ct]=(0,t.useState)([]),[_e,at]=(0,t.useState)({category:De.get("category")||"all",page:1,per_page:15,sort_by:"published_at",sort_direction:"desc",username:null,search:null}),[pt,Pt]=(0,t.useState)(!1);(0,t.useEffect)(()=>{var vt;me.current=(vt=N.pathname.split("/"))==null?void 0:vt[2],_e.username=me.current,at(_e),xt(_e)},[N.pathname]);const Nt=((ye=N.pathname.split("/"))==null?void 0:ye[3])||"classrooms";(0,t.useEffect)(()=>lt.Z.subscribe("user-detail-search",Kt=>T(void 0,null,function*(){if(Nt===Kt.currentTabName){const En={category:"all",page:1,per_page:15,sort_by:"published_at",sort_direction:"desc",username:me.current,search:Kt.value};at(En),Pt(!1),yield xt(En),Pt(!0)}})),[]);const xt=vt=>T(void 0,null,function*(){let Kt;vt.category==="all"?Kt=yield ue({type:"userDetail/getVideos",payload:vt}):Kt=yield ue({type:"userDetail/getReviewVideos",payload:vt}),Kt&&(U((Kt==null?void 0:Kt.count)||0),ct((Kt==null?void 0:Kt.videos)||[]))}),nn=vt=>{_e.search=vt,_e.page=1,at(_e),xt(_e)},Et=vt=>{var Kt;_e.category=vt,_e.page=1,(Kt=window.location.href.toString())!=null&&Kt.includes("category")?(0,tt.jz)("category",vt):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&category=${vt}`:`?category=${vt}`),at(_e),xt(_e)},ft=()=>{_e.sort_direction=_e.sort_direction==="desc"?"asc":"desc",at(_e),xt(_e)},Ot=vt=>{_e.page=vt,at(_e),xt(_e)},Gt=()=>{var vt,Kt;((vt=f.userInfo)!=null&&vt.admin||(Kt=f.userInfo)!=null&&Kt.is_teacher&&(0,rt.O5)())&&y.history.push(`/users/${me.current}/videos/upload`)},wt=vt=>{const Kt=C.default.confirm({icon:null,centered:!0,content:t.createElement("div",{style:{margin:"0px ",width:370}},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"42px"}},t.createElement("span",{style:{fontWeight:"500",color:"#000000",lineHeight:"16px"}},"\u63D0\u793A"),t.createElement("i",{className:"icon-danchuangguanbi iconfont",style:{cursor:"pointer"},onClick:()=>{Kt.destroy()}})),t.createElement("div",{className:ze.modal},"\u8BE5\u89C6\u9891\u5C06\u88AB\u5220\u9664\uFF0C\u4E0D\u53EF\u6062\u590D\uFF0C\u662F\u5426\u786E\u8BA4\u5220\u9664?")),okType:"default",onOk:()=>T(void 0,null,function*(){(yield ue({type:"userDetail/deleteVideo",payload:{id:vt,username:me.current}}))&&(z.ZP.info("\u89C6\u9891\u5220\u9664\u6210\u529F\uFF01"),_e.page>1&&(Je==null?void 0:Je.length)===1&&(_e.page=_e.page-1,at(E({},_e))),xt(_e))})})},Vt=vt=>{ue({type:"userDetail/setActionTabs",payload:{key:"UserDetail-SendToClass",params:{object_id:vt,username:me.current,object_type:"videos"}}})},Tt=vt=>ue({type:"userDetail/logWatchHistory",payload:vt}),Zt=[{id:"all",name:"\u5BA1\u6838\u901A\u8FC7\u89C6\u9891"},{id:"pending",name:"\u5F85\u5BA1\u6838\u89C6\u9891"}],cn=[{id:"published_at",name:"\u6700\u65B0\u4E0A\u4F20"}];return t.createElement("div",{className:ze.body},t.createElement(st.YG,{onChange:Et,value:_e.category,tabBarExtraContent:t.createElement(st.t7,{style:{width:303},placeholder:"\u641C\u7D22\u89C6\u9891",value:_e.search,onChange:nn}),className:"mb25",dataSource:Zt}),t.createElement("div",{className:ze.status},t.createElement(st.cq,{dataSource:cn,sortValue:_e.sort_direction,dropValue:_e.sort_by,onSort:ft,onDrop:()=>{console.log(123123)}}),t.createElement(st.op,{style:{marginLeft:"auto"},onClick:Gt},"\u4E0A\u4F20\u89C6\u9891")),t.createElement(m.Z,{loading:!!(Ie["userDetail/getVideos"]||Ie["userDetail/getReviewVideos"]),active:!0,paragraph:{rows:5}},Je.length==0?t.createElement(j.Z,null):t.createElement("div",{className:ze.datalist},t.createElement(He,{data:Je,isReview:_e.category==="pending",onDelete:wt,onSend:Vt,logWatchHistory:Tt})),t.createElement("div",{className:ze.pager},je>_e.per_page&&t.createElement(A.Z,{showQuickJumper:!0,showSizeChanger:!1,total:je,onChange:vt=>Ot(vt),pageSize:_e.per_page,current:_e.page}))),t.createElement(et.Z,null),t.createElement(d,{cb:()=>xt(_e)}))};var c=(0,y.connect)(({user:u,userDetail:O,loading:f,globalSetting:h})=>({user:u,userDetail:O,globalSetting:h,loading:f.effects}))(te)},84056:function(mt,Ye,r){"use strict";r.d(Ye,{BU:function(){return y},Dj:function(){return t},gH:function(){return C},vp:function(){return z}});function t(m){try{m.mozRequestFullScreen?m.mozRequestFullScreen():m.webkitRequestFullScreen&&m.webkitRequestFullScreen()}catch(A){console.log(A,":e")}}function y(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const C=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function z(){var m=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,A=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",m),window.isFullScreen?window.isFullScreen:m!=null}},66457:function(mt,Ye,r){"use strict";r.d(Ye,{rX:function(){return V},pW:function(){return p},gy:function(){return d},xY:function(){return k},O5:function(){return Se},tJ:function(){return de},o1:function(){return ae},Rd:function(){return se}});var t=r(65582),y=r(43418),C=r(28103),z=r(8591),m=r(41867),A=r(65862),j=r(87169),G=r(25510),X="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn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aPyVpgGpWmdcZ/Ho0aH4VsAQzTGVqTjIbEuT81L+KpIBNlxR8lVsHOyqMmbB58hG2p17RrGzLJRAtQSSUdEIOrTXxAWrsqdchWJDzJl0jkTXjplB6FAFoxdzqNuXRv6fAe+1HuoNQfzQ2Pfri4tfbfm+vN97/x2x/9z9/euOESzP+L+UwKfR5H3/jr2yvv7myu3z3eeoo7/54gu1wqy1uBhdHyeOBqPyJhhao059VywoKJZTN/RcYGxBTPNTUCW0Vyf0rGjR1g8WNa/ow/a7IkZbh02shKusyCzmKUdMTr0hN3srzVRWlpS7PS11HT8EVJdVe06nd5b2Jq4CSgddRwbCd5GUt3YIzukjEqYazBu7NvmdiTIbdbLBzSIezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",R=r.p+"static/newqrcode.a8740efb.png",Me=r(32637),v=r(59301),b=(S,x,_)=>new Promise((le,Ae)=>{var We=Te=>{try{W(_.next(Te))}catch(g){Ae(g)}},Ge=Te=>{try{W(_.throw(Te))}catch(g){Ae(g)}},W=Te=>Te.done?le(Te.value):Promise.resolve(Te.value).then(We,Ge);W((_=_.apply(S,x)).next())});const de=(S,x=!1)=>!!(ae(S)&&be(x)),ae=S=>(0,m.bg)()?!0:(S({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),be=(S=!1)=>{var x;const{user:_}=(0,t.getDvaApp)()._store.getState();return(x=_.userInfo)!=null&&x.profile_completed?!0:(y.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,A.xg)("/account/profile/edit"),Ke()}}),!1)},Ke=()=>{y.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()}})},se=()=>{y.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:v.createElement("div",{style:{textAlign:"center"}},v.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"),v.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Me}),v.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Se=()=>{var S;const{user:x}=(0,t.getDvaApp)()._store.getState();return(S=x.userInfo)!=null&&S.professional_certification?!0:(y.default.confirm({title:"\u63D0\u793A",centered:!0,content:v.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,A.xg)("/account/certification")}}),!1)},k=()=>(0,m.V9)()?!0:(y.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:v.createElement("div",{className:"tc",style:{marginLeft:-38}},v.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),v.createElement("img",{src:R,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),V=(S,x)=>S?!0:(y.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:v.createElement("div",null,v.createElement("p",null,x||"\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"),v.createElement("div",{style:{marginLeft:"110px"}},v.createElement("img",{src:X,width:200}),v.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,A.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),p=S=>{y.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:v.createElement("div",null,v.createElement("div",null,v.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"),v.createElement(C.Z,null),v.createElement("p",{style:{color:"#666666",fontSize:12}}," ",v.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 ",v.createElement("a",null,S),"\u5929\u3002"),v.createElement("p",{style:{color:"#666666",fontSize:12}}," ",v.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")),v.createElement("div",{style:{textAlign:"center",marginTop:30}},v.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:G,alt:"\u4E8C\u7EF4\u7801",width:160})))})},d=(S,x="")=>{const{shixunsDetail:{detail:_}}=(0,t.getDvaApp)()._store.getState();if((_==null?void 0:_.public)===2||(_==null?void 0:_.public)===1||(_==null?void 0:_.shixun_status)===3){let le="";return(_==null?void 0:_.public)===2&&(le="\u5DF2\u516C\u5F00"),(_==null?void 0:_.public)===1&&(le="\u5F85\u5BA1\u6838"),(_==null?void 0:_.shixun_status)===3&&(le="\u5DF2\u5173\u95ED"),y.default.info({centered:!0,icon:v.createElement(j.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:v.createElement("div",{className:"tc",style:{marginLeft:-38}},v.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},v.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",le,"\uFF0C",x,"\u3002"),v.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),v.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:G,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(_==null?void 0:_.shixun_status)===2?(y.default.confirm({centered:!0,icon:v.createElement(j.Z,null),title:"\u63D0\u793A",content:v.createElement("div",null,v.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",x,"\u3002"),v.createElement("br",null),v.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:()=>{y.default.confirm({width:440,centered:!0,icon:v.createElement(j.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:()=>b(void 0,null,function*(){(yield S({type:"shixunsDetail/cancelRelease",payload:{id:_==null?void 0:_.identifier}})).status!==401&&(z.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),S({type:"shixunsDetail/getShixunsDetail",payload:{id:_==null?void 0:_.identifier}}),S({type:"practiceSetting/getCommonData",payload:{id:_==null?void 0:_.identifier}}))})})}}),!0):!1}},73217:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return En}});class t{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let i=Object(e);for(let a=1;a ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","error",a),m.ENABLE_ERROR&&(console.error?console.error(a):console.warn?console.warn(a):console.log(a))}static i(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","info",a),m.ENABLE_INFO&&(console.info?console.info(a):console.log(a))}static w(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","warn",a),m.ENABLE_WARN&&(console.warn?console.warn(a):console.log(a))}static d(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","debug",a),m.ENABLE_DEBUG&&(console.debug?console.debug(a):console.log(a))}static v(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","verbose",a),m.ENABLE_VERBOSE&&console.log(a)}}m.GLOBAL_TAG="flv.js",m.FORCE_GLOBAL_TAG=!1,m.ENABLE_ERROR=!0,m.ENABLE_INFO=!0,m.ENABLE_WARN=!0,m.ENABLE_DEBUG=!0,m.ENABLE_VERBOSE=!0,m.ENABLE_CALLBACK=!1,m.emitter=new(z());var A=m;class j{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var G=j;class X{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class R extends X{constructor(e){super(e)}get name(){return"IllegalStateException"}}class Me extends X{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class v extends X{constructor(e){super(e)}get name(){return"NotImplementedException"}}const b={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},de={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class ae{constructor(e){this._type=e||"undefined",this._status=b.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=b.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===b.kConnecting||this._status===b.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,i){throw new v("Unimplemented abstract function!")}abort(){throw new v("Unimplemented abstract function!")}}let be={};function Ke(){let it=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(it)||/(opr)[\/]([\w.]+)/.exec(it)||/(chrome)[ \/]([\w.]+)/.exec(it)||/(iemobile)[\/]([\w.]+)/.exec(it)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(it)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(it)||/(webkit)[ \/]([\w.]+)/.exec(it)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(it)||/(msie) ([\w.]+)/.exec(it)||it.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(it)||it.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(it)||[],i=/(ipad)/.exec(it)||/(ipod)/.exec(it)||/(windows phone)/.exec(it)||/(iphone)/.exec(it)||/(kindle)/.exec(it)||/(android)/.exec(it)||/(windows)/.exec(it)||/(mac)/.exec(it)||/(linux)/.exec(it)||/(cros)/.exec(it)||[],a={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:i[0]||""},n={};if(a.browser){n[a.browser]=!0;let o=a.majorVersion.split(".");n.version={major:parseInt(a.majorVersion,10),string:a.version},o.length>1&&(n.version.minor=parseInt(o[1],10)),o.length>2&&(n.version.build=parseInt(o[2],10))}if(a.platform&&(n[a.platform]=!0),(n.chrome||n.opr||n.safari)&&(n.webkit=!0),n.rv||n.iemobile){n.rv&&delete n.rv;let o="msie";a.browser=o,n[o]=!0}if(n.edge){delete n.edge;let o="msedge";a.browser=o,n[o]=!0}if(n.opr){let o="opera";a.browser=o,n[o]=!0}if(n.safari&&n.android){let o="android";a.browser=o,n[o]=!0}n.name=a.browser,n.platform=a.platform;for(let o in be)be.hasOwnProperty(o)&&delete be[o];Object.assign(be,n)}Ke();var se=be;class Se extends ae{static isSupported(){try{let e=se.msedge&&se.version.minor>=15048,i=se.msedge?e:!0;return self.fetch&&self.ReadableStream&&i}catch(e){return!1}}constructor(e,i){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=i,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,i){this._dataSource=e,this._range=i;let a=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(a=e.redirectedURL);let n=this._seekHandler.getConfig(a,i),o=new self.Headers;if(typeof n.headers=="object"){let l=n.headers;for(let L in l)l.hasOwnProperty(L)&&o.append(L,l[L])}let s={method:"GET",headers:o,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let l in this._config.headers)o.append(l,this._config.headers[l]);e.cors===!1&&(s.mode="same-origin"),e.withCredentials&&(s.credentials="include"),e.referrerPolicy&&(s.referrerPolicy=e.referrerPolicy),this._status=b.kConnecting,self.fetch(n.url,s).then(l=>{if(this._requestAbort){this._requestAbort=!1,this._status=b.kIdle;return}if(l.ok&&l.status>=200&&l.status<=299){if(l.url!==n.url&&this._onURLRedirect){let w=this._seekHandler.removeURLParameters(l.url);this._onURLRedirect(w)}let L=l.headers.get("Content-Length");return L!=null&&(this._contentLength=parseInt(L),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,l.body.getReader())}else if(this._status=b.kError,this._onError)this._onError(de.HTTP_STATUS_CODE_INVALID,{code:l.status,msg:l.statusText});else throw new X("FetchStreamLoader: Http code invalid, "+l.status+" "+l.statusText)}).catch(l=>{if(this._status=b.kError,this._onError)this._onError(de.EXCEPTION,{code:-1,msg:l.message});else throw l})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(i=>{if(i.done)if(this._contentLength!==null&&this._receivedLength{if(i.code===11&&se.msedge)return;this._status=b.kError;let a=0,n=null;if((i.code===19||i.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=b.kError,this._onError)this._onError(de.HTTP_STATUS_CODE_INVALID,{code:i.status,msg:i.statusText});else throw new X("MozChunkedLoader: Http code invalid, "+i.status+" "+i.statusText);else this._status=b.kBuffering}}_onProgress(e){if(this._status===b.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let i=e.target.response,a=this._range.from+this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,a,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===b.kError)return;this._status=b.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=b.kError;let i=0,a=null;if(this._contentLength&&e.loaded=200&&i.status<=299){if(this._status=LoaderStatus.kBuffering,i.responseURL!=null){let n=this._seekHandler.removeURLParameters(i.responseURL);i.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}let a=i.getResponseHeader("Content-Length");if(a!=null&&this._contentLength==null){let n=parseInt(a);n>0&&(this._contentLength=n,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:i.status,msg:i.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+i.status+" "+i.statusText);else if(i.readyState===3&&i.status>=200&&i.status<=299){this._status=LoaderStatus.kBuffering;let a=i.response;this._reader.readAsArrayBuffer(a)}}_xhrOnError(e){this._status=LoaderStatus.kError;let i=LoaderErrors.EXCEPTION,a={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(i,a);else throw new RuntimeException(a.msg)}_msrOnProgress(e){let a=e.target.result;if(a==null){this._doReconnectIfNeeded();return}let n=a.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=a.byteLength;let o=this._totalRange.from+this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,o,this._receivedLength),a.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${o+n.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(a=this._range.from+this._contentLength-1),this._currentRequestRange={from:i,to:a},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,i){this._lastTimeLoaded=0;let a=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?a=this._currentRedirectedURL:e.redirectedURL!=null&&(a=e.redirectedURL));let n=this._seekHandler.getConfig(a,i);this._currentRequestURL=n.url;let o=this._xhr=new XMLHttpRequest;if(o.open("GET",n.url,!0),o.responseType="arraybuffer",o.onreadystatechange=this._onReadyStateChange.bind(this),o.onprogress=this._onProgress.bind(this),o.onload=this._onLoad.bind(this),o.onerror=this._onXhrError.bind(this),e.withCredentials&&(o.withCredentials=!0),typeof n.headers=="object"){let s=n.headers;for(let l in s)s.hasOwnProperty(l)&&o.setRequestHeader(l,s[l])}if(typeof this._config.headers=="object"){let s=this._config.headers;for(let l in s)s.hasOwnProperty(l)&&o.setRequestHeader(l,s[l])}o.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=b.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let i=e.target;if(i.readyState===2){if(i.responseURL!=null){let a=this._seekHandler.removeURLParameters(i.responseURL);i.responseURL!==this._currentRequestURL&&a!==this._currentRedirectedURL&&(this._currentRedirectedURL=a,this._onURLRedirect&&this._onURLRedirect(a))}if(i.status>=200&&i.status<=299){if(this._waitForTotalLength)return;this._status=b.kBuffering}else if(this._status=b.kError,this._onError)this._onError(de.HTTP_STATUS_CODE_INVALID,{code:i.status,msg:i.statusText});else throw new X("RangeLoader: Http code invalid, "+i.status+" "+i.statusText)}}_onProgress(e){if(this._status===b.kError)return;if(this._contentLength===null){let a=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,a=!0;let n=e.total;this._internalAbort(),n!=null&n!==0&&(this._totalLength=n)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,a){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let i=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(i)}_normalizeSpeed(e){let i=this._chunkSizeKBList,a=i.length-1,n=0,o=0,s=a;if(e=i[n]&&e=3&&(i=this._speedSampler.currentKBps)),i!==0){let s=this._normalizeSpeed(i);this._currentSpeedNormalized!==s&&(this._currentSpeedNormalized=s,this._currentChunkSizeKB=s)}let a=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=a.byteLength;let o=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(i.result)},i.readAsArrayBuffer(e.data)}else{this._status=b.kError;let i={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(de.EXCEPTION,i);else throw new X(i.msg)}}_dispatchArrayBuffer(e){let i=e,a=this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,a,this._receivedLength)}_onWebSocketError(e){this._status=b.kError;let i={code:e.code,msg:e.message};if(this._onError)this._onError(de.EXCEPTION,i);else throw new X(i.msg)}}var Ae=le;class We{constructor(e){this._zeroStart=e||!1}getConfig(e,i){let a={};if(i.from!==0||i.to!==-1){let n;i.to!==-1?n=`bytes=${i.from.toString()}-${i.to.toString()}`:n=`bytes=${i.from.toString()}-`,a.Range=n}else this._zeroStart&&(a.Range="bytes=0-");return{url:e,headers:a}}removeURLParameters(e){return e}}var Ge=We;class W{constructor(e,i){this._startName=e,this._endName=i}getConfig(e,i){let a=e;if(i.from!==0||i.to!==-1){let n=!0;a.indexOf("?")===-1&&(a+="?",n=!1),n&&(a+="&"),a+=`${this._startName}=${i.from.toString()}`,i.to!==-1&&(a+=`&${this._endName}=${i.to.toString()}`)}return{url:a,headers:{}}}removeURLParameters(e){let i=e.split("?")[0],a,n=e.indexOf("?");n!==-1&&(a=e.substring(n+1));let o="";if(a!=null&&a.length>0){let s=a.split("&");for(let l=0;l0;L[0]!==this._startName&&L[0]!==this._endName&&(w&&(o+="&"),o+=s[l])}}return o.length===0?i:i+"?"+o}}var Te=W;class g{constructor(e,i,a){this.TAG="IOController",this._config=i,this._extraData=a,this._stashInitialSize=1024*384,i.stashInitialSize!=null&&i.stashInitialSize>0&&(this._stashInitialSize=i.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,i.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new G,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===_?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new Ge(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let i=e.seekParamStart||"bstart",a=e.seekParamEnd||"bend";this._seekHandler=new Te(i,a)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new Me("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new Me(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Ae;else if(k.isSupported())this._loaderClass=k;else if(p.isSupported())this._loaderClass=p;else if(_.isSupported())this._loaderClass=_;else throw new X("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,i){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(i),this._loader.destroy(),this._loader=null;let a={from:e,to:-1};this._currentRange={from:a.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,a),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new Me("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let i=this._stashSize;for(;i+1024*1024*10){let n=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(a,0,i).set(n,0)}this._stashBuffer=a,this._bufferSize=i}_normalizeSpeed(e){let i=this._speedNormalizeList,a=i.length-1,n=0,o=0,s=a;if(e=i[n]&&e=512&&e<=1024?i=Math.floor(e*1.5):i=e*2,i>8192&&(i=8192);let a=i*1024+1024*1024*1;this._bufferSize0){let s=this._stashBuffer.slice(0,this._stashUsed),l=this._dispatchChunks(s,this._stashByteStart);if(l0){let L=new Uint8Array(s,l);o.set(L,0),this._stashUsed=L.byteLength,this._stashByteStart+=l}}else this._stashUsed=0,this._stashByteStart+=l;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),o=new Uint8Array(this._stashBuffer,0,this._bufferSize)),o.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let s=this._dispatchChunks(e,i);if(sthis._bufferSize&&(this._expandBuffer(l),o=new Uint8Array(this._stashBuffer,0,this._bufferSize)),o.set(new Uint8Array(e,s),0),this._stashUsed+=l,this._stashByteStart=i+s}}}else if(this._stashUsed===0){let o=this._dispatchChunks(e,i);if(othis._bufferSize&&this._expandBuffer(s),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,o),0),this._stashUsed+=s,this._stashByteStart=i+o}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let o=new Uint8Array(this._stashBuffer,0,this._bufferSize);o.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let s=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(s0){let l=new Uint8Array(this._stashBuffer,s);o.set(l,0)}this._stashUsed-=s,this._stashByteStart+=s}}_flushStashBuffer(e){if(this._stashUsed>0){let i=this._stashBuffer.slice(0,this._stashUsed),a=this._dispatchChunks(i,this._stashByteStart),n=i.byteLength-a;if(a0){let o=new Uint8Array(this._stashBuffer,0,this._bufferSize),s=new Uint8Array(i,a);o.set(s,0),this._stashUsed=s.byteLength,this._stashByteStart+=a}return 0}return this._stashUsed=0,this._stashByteStart=0,n}return 0}_onLoaderComplete(e,i){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,i){switch(A.e(this.TAG,`Loader error, code = ${i.code}, msg = ${i.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=de.UNRECOVERABLE_EARLY_EOF),e){case de.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let a=this._currentRange.to+1;a0){let i=Z.getConfig();e.emit("change",i)}}static registerListener(e){Z.emitter.addListener("change",e)}static removeListener(e){Z.emitter.removeListener("change",e)}static addLogListener(e){A.emitter.addListener("log",e),A.emitter.listenerCount("log")>0&&(A.ENABLE_CALLBACK=!0,Z._notifyChange())}static removeLogListener(e){A.emitter.removeListener("log",e),A.emitter.listenerCount("log")===0&&(A.ENABLE_CALLBACK=!1,Z._notifyChange())}}Z.emitter=new(z());var F=Z;class He{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,i=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&i}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let i=this.keyframesIndex,a=this._search(i.times,e);return{index:a,milliseconds:i.times[a],fileposition:i.filepositions[a]}}_search(e,i){let a=0,n=e.length-1,o=0,s=0,l=n;for(i=e[o]&&i=128){e.push(String.fromCharCode(o&65535)),a+=2;continue}}}else if(i[a]<240){if(rt(i,a,2)){let o=(i[a]&15)<<12|(i[a+1]&63)<<6|i[a+2]&63;if(o>=2048&&(o&63488)!==55296){e.push(String.fromCharCode(o&65535)),a+=3;continue}}}else if(i[a]<248&&rt(i,a,3)){let o=(i[a]&7)<<18|(i[a+1]&63)<<12|(i[a+2]&63)<<6|i[a+3]&63;if(o>65536&&o<1114112){o-=65536,e.push(String.fromCharCode(o>>>10|55296)),e.push(String.fromCharCode(o&1023|56320)),a+=4;continue}}}e.push("\uFFFD"),++a}return e.join("")}var st=lt;let tt=function(){let it=new ArrayBuffer(2);return new DataView(it).setInt16(0,256,!0),new Int16Array(it)[0]===256}();class et{static parseScriptData(e,i,a){let n={};try{let o=et.parseValue(e,i,a),s=et.parseValue(e,i+o.size,a-o.size);n[o.data]=s.data}catch(o){A.e("AMF",o.toString())}return n}static parseObject(e,i,a){if(a<3)throw new R("Data not enough when parse ScriptDataObject");let n=et.parseString(e,i,a),o=et.parseValue(e,i+n.size,a-n.size),s=o.objectEnd;return{data:{name:n.data,value:o.data},size:n.size+o.size,objectEnd:s}}static parseVariable(e,i,a){return et.parseObject(e,i,a)}static parseString(e,i,a){if(a<2)throw new R("Data not enough when parse String");let o=new DataView(e,i,a).getUint16(0,!tt),s;return o>0?s=st(new Uint8Array(e,i+2,o)):s="",{data:s,size:2+o}}static parseLongString(e,i,a){if(a<4)throw new R("Data not enough when parse LongString");let o=new DataView(e,i,a).getUint32(0,!tt),s;return o>0?s=st(new Uint8Array(e,i+4,o)):s="",{data:s,size:4+o}}static parseDate(e,i,a){if(a<10)throw new R("Data size invalid when parse Date");let n=new DataView(e,i,a),o=n.getFloat64(0,!tt),s=n.getInt16(8,!tt);return o+=s*60*1e3,{data:new Date(o),size:10}}static parseValue(e,i,a){if(a<1)throw new R("Data not enough when parse Value");let n=new DataView(e,i,a),o=1,s=n.getUint8(0),l,L=!1;try{switch(s){case 0:l=n.getFloat64(1,!tt),o+=8;break;case 1:{l=!!n.getUint8(1),o+=1;break}case 2:{let w=et.parseString(e,i+1,a-1);l=w.data,o+=w.size;break}case 3:{l={};let w=0;for((n.getUint32(a-4,!tt)&16777215)===9&&(w=3);o32)throw new Me("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let s=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,s}let i=this._current_word_bits_left?this._current_word:0;i=i>>>32-this._current_word_bits_left;let a=e-this._current_word_bits_left;this._fillCurrentWord();let n=Math.min(a,this._current_word_bits_left),o=this._current_word>>>32-n;return this._current_word<<=n,this._current_word_bits_left-=n,i=i<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Xe=Be;class J{static _ebsp2rbsp(e){let i=e,a=i.byteLength,n=new Uint8Array(a),o=0;for(let s=0;s=2&&i[s]===3&&i[s-1]===0&&i[s-2]===0||(n[o]=i[s],o++);return new Uint8Array(n.buffer,0,o)}static parseSPS(e){let i=J._ebsp2rbsp(e),a=new Xe(i);a.readByte();let n=a.readByte();a.readByte();let o=a.readByte();a.readUEG();let s=J.getProfileString(n),l=J.getLevelString(o),L=1,w=420,re=[0,420,422,444],ve=8;if((n===100||n===110||n===122||n===244||n===44||n===83||n===86||n===118||n===128||n===138||n===144)&&(L=a.readUEG(),L===3&&a.readBits(1),L<=3&&(w=re[L]),ve=a.readUEG()+8,a.readUEG(),a.readBits(1),a.readBool())){let gt=L!==3?8:12;for(let bt=0;bt0&><16?(Le=bt[gt-1],ne=Mt[gt-1]):gt===255&&(Le=a.readByte()<<8|a.readByte(),ne=a.readByte()<<8|a.readByte())}if(a.readBool()&&a.readBool(),a.readBool()&&(a.readBits(4),a.readBool()&&a.readBits(24)),a.readBool()&&(a.readUEG(),a.readUEG()),a.readBool()){let gt=a.readBits(32),bt=a.readBits(32);D=a.readBool(),Y=bt,ee=gt*2,Oe=Y/ee}}let he=1;(Le!==1||ne!==1)&&(he=Le/ne);let Ee=0,xe=0;if(L===0)Ee=1,xe=2-Ne;else{let gt=L===3?1:2,bt=L===1?2:1;Ee=gt,xe=bt*(2-Ne)}let Qe=(Ve+1)*16,ot=(2-Ne)*((Ze+1)*16);Qe-=(Re+I)*Ee,ot-=(H+$)*xe;let dt=Math.ceil(Qe*he);return a.destroy(),a=null,{profile_string:s,level_string:l,bit_depth:ve,ref_frames:Ce,chroma_format:w,chroma_format_string:J.getChromaFormatString(w),frame_rate:{fixed:D,fps:Oe,fps_den:ee,fps_num:Y},sar_ratio:{width:Le,height:ne},codec_size:{width:Qe,height:ot},present_size:{width:dt,height:ot}}}static _skipScalingList(e,i){let a=8,n=8,o=0;for(let s=0;s>>8&255|(it&255)<<8}function te(it){return(it&4278190080)>>>24|(it&16711680)>>>8|(it&65280)<<8|(it&255)<<24}function c(it,e){return it[e]<<24|it[e+1]<<16|it[e+2]<<8|it[e+3]}class u{constructor(e,i){this.TAG="FLVDemuxer",this._config=i,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new ze,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let a=new ArrayBuffer(2);return new DataView(a).setInt16(0,256,!0),new Int16Array(a)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let i=new Uint8Array(e),a={match:!1};if(i[0]!==70||i[1]!==76||i[2]!==86||i[3]!==1)return a;let n=(i[4]&4)>>>2!==0,o=(i[4]&1)!==0,s=c(i,5);return s<9?a:{match:!0,consumed:s,dataOffset:s,hasAudioTrack:n,hasVideoTrack:o}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new ze}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,i){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new R("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let a=0,n=this._littleEndian;if(i===0)if(e.byteLength>13)a=u.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,i+a!==this._dataOffset&&A.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,a).getUint32(0,!n)!==0&&A.w(this.TAG,"PrevTagSize0 !== 0 !!!"),a+=4);ae.byteLength)break;let s=o.getUint8(0),l=o.getUint32(0,!n)&16777215;if(a+11+l+4>e.byteLength)break;if(s!==8&&s!==9&&s!==18){A.w(this.TAG,`Unsupported tag type ${s}, skipped`),a+=11+l+4;continue}let L=o.getUint8(4),w=o.getUint8(5),re=o.getUint8(6),ve=o.getUint8(7),Pe=re|w<<8|L<<16|ve<<24;(o.getUint32(7,!n)&16777215)!==0&&A.w(this.TAG,"Meet tag which has StreamID != 0!");let Ve=a+11;switch(s){case 8:this._parseAudioData(e,Ve,l,Pe);break;case 9:this._parseVideoData(e,Ve,l,Pe,i+a);break;case 18:this._parseScriptData(e,Ve,l);break}let Ze=o.getUint32(11+l,!n);Ze!==11+l&&A.w(this.TAG,`Invalid PrevTagSize ${Ze}`),a+=11+l+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),a}_parseScriptData(e,i,a){let n=nt.parseScriptData(e,i,a);if(n.hasOwnProperty("onMetaData")){if(n.onMetaData==null||typeof n.onMetaData!="object"){A.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&A.w(this.TAG,"Found another onMetaData tag!"),this._metadata=n;let o=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},o)),typeof o.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=o.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof o.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=o.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof o.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=o.audiodatarate),typeof o.videodatarate=="number"&&(this._mediaInfo.videoDataRate=o.videodatarate),typeof o.width=="number"&&(this._mediaInfo.width=o.width),typeof o.height=="number"&&(this._mediaInfo.height=o.height),typeof o.duration=="number"){if(!this._durationOverrided){let s=Math.floor(o.duration*this._timescale);this._duration=s,this._mediaInfo.duration=s}}else this._mediaInfo.duration=0;if(typeof o.framerate=="number"){let s=Math.floor(o.framerate*1e3);if(s>0){let l=s/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=l,this._referenceFrameRate.fps_num=s,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=l}}if(typeof o.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let s=o.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(s),o.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=o,A.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(n).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},n))}_parseKeyframesIndex(e){let i=[],a=[];for(let n=1;n>>4;if(L!==2&&L!==10){this._onError(B.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+L);return}let w=0,re=(l&12)>>>2;if(re>=0&&re<=4)w=this._flvSoundRateTable[re];else{this._onError(B.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+re);return}let ve=(l&2)>>>1,Pe=l&1,Ce=this._audioMetadata,Ve=this._audioTrack;if(Ce||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ce=this._audioMetadata={},Ce.type="audio",Ce.id=Ve.id,Ce.timescale=this._timescale,Ce.duration=this._duration,Ce.audioSampleRate=w,Ce.channelCount=Pe===0?1:2),L===10){let Ze=this._parseAACAudioData(e,i+1,a-1);if(Ze==null)return;if(Ze.packetType===0){Ce.config&&A.w(this.TAG,"Found another AudioSpecificConfig!");let Ne=Ze.data;Ce.audioSampleRate=Ne.samplingRate,Ce.channelCount=Ne.channelCount,Ce.codec=Ne.codec,Ce.originalCodec=Ne.originalCodec,Ce.config=Ne.config,Ce.refSampleDuration=1024/Ce.audioSampleRate*Ce.timescale,A.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ce);let Re=this._mediaInfo;Re.audioCodec=Ce.originalCodec,Re.audioSampleRate=Ce.audioSampleRate,Re.audioChannelCount=Ce.channelCount,Re.hasVideo?Re.videoCodec!=null&&(Re.mimeType='video/x-flv; codecs="'+Re.videoCodec+","+Re.audioCodec+'"'):Re.mimeType='video/x-flv; codecs="'+Re.audioCodec+'"',Re.isComplete()&&this._onMediaInfo(Re)}else if(Ze.packetType===1){let Ne=this._timestampBase+n,Re={unit:Ze.data,length:Ze.data.byteLength,dts:Ne,pts:Ne};Ve.samples.push(Re),Ve.length+=Ze.data.length}else A.e(this.TAG,`Flv: Unsupported AAC data type ${Ze.packetType}`)}else if(L===2){if(!Ce.codec){let I=this._parseMP3AudioData(e,i+1,a-1,!0);if(I==null)return;Ce.audioSampleRate=I.samplingRate,Ce.channelCount=I.channelCount,Ce.codec=I.codec,Ce.originalCodec=I.originalCodec,Ce.refSampleDuration=1152/Ce.audioSampleRate*Ce.timescale,A.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ce);let H=this._mediaInfo;H.audioCodec=Ce.codec,H.audioSampleRate=Ce.audioSampleRate,H.audioChannelCount=Ce.channelCount,H.audioDataRate=I.bitRate,H.hasVideo?H.videoCodec!=null&&(H.mimeType='video/x-flv; codecs="'+H.videoCodec+","+H.audioCodec+'"'):H.mimeType='video/x-flv; codecs="'+H.audioCodec+'"',H.isComplete()&&this._onMediaInfo(H)}let Ze=this._parseMP3AudioData(e,i+1,a-1,!1);if(Ze==null)return;let Ne=this._timestampBase+n,Re={unit:Ze,length:Ze.byteLength,dts:Ne,pts:Ne};Ve.samples.push(Re),Ve.length+=Ze.length}}_parseAACAudioData(e,i,a){if(a<=1){A.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let n={},o=new Uint8Array(e,i,a);return n.packetType=o[0],o[0]===0?n.data=this._parseAACAudioSpecificConfig(e,i+1,a-1):n.data=o.subarray(1),n}_parseAACAudioSpecificConfig(e,i,a){let n=new Uint8Array(e,i,a),o=null,s=0,l=0,L=null,w=0,re=null;if(s=l=n[0]>>>3,w=(n[0]&7)<<1|n[1]>>>7,w<0||w>=this._mpegSamplingRates.length){this._onError(B.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let ve=this._mpegSamplingRates[w],Pe=(n[1]&120)>>>3;if(Pe<0||Pe>=8){this._onError(B.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}s===5&&(re=(n[1]&7)<<1|n[2]>>>7,L=(n[2]&124)>>>2);let Ce=self.navigator.userAgent.toLowerCase();return Ce.indexOf("firefox")!==-1?w>=6?(s=5,o=new Array(4),re=w-3):(s=2,o=new Array(2),re=w):Ce.indexOf("android")!==-1?(s=2,o=new Array(2),re=w):(s=5,re=w,o=new Array(4),w>=6?re=w-3:Pe===1&&(s=2,o=new Array(2),re=w)),o[0]=s<<3,o[0]|=(w&15)>>>1,o[1]=(w&15)<<7,o[1]|=(Pe&15)<<3,s===5&&(o[1]|=(re&15)>>>1,o[2]=(re&1)<<7,o[2]|=8,o[3]=0),{config:o,samplingRate:ve,channelCount:Pe,codec:"mp4a.40."+s,originalCodec:"mp4a.40."+l}}_parseMP3AudioData(e,i,a,n){if(a<4){A.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let o=this._littleEndian,s=new Uint8Array(e,i,a),l=null;if(n){if(s[0]!==255)return;let L=s[1]>>>3&3,w=(s[1]&6)>>1,re=(s[2]&240)>>>4,ve=(s[2]&12)>>>2,Ce=(s[3]>>>6&3)!==3?2:1,Ve=0,Ze=0,Ne=34,Re="mp3";switch(L){case 0:Ve=this._mpegAudioV25SampleRateTable[ve];break;case 2:Ve=this._mpegAudioV20SampleRateTable[ve];break;case 3:Ve=this._mpegAudioV10SampleRateTable[ve];break}switch(w){case 1:Ne=34,re>>4,L=s&15;if(L!==7){this._onError(B.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${L}`);return}this._parseAVCVideoPacket(e,i+1,a-1,n,o,l)}_parseAVCVideoPacket(e,i,a,n,o,s){if(a<4){A.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let l=this._littleEndian,L=new DataView(e,i,a),w=L.getUint8(0),ve=(L.getUint32(0,!l)&16777215)<<8>>8;if(w===0)this._parseAVCDecoderConfigurationRecord(e,i+4,a-4);else if(w===1)this._parseAVCVideoData(e,i+4,a-4,n,o,s,ve);else if(w!==2){this._onError(B.FORMAT_ERROR,`Flv: Invalid video packet type ${w}`);return}}_parseAVCDecoderConfigurationRecord(e,i,a){if(a<7){A.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let n=this._videoMetadata,o=this._videoTrack,s=this._littleEndian,l=new DataView(e,i,a);n?typeof n.avcc!="undefined"&&A.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),n=this._videoMetadata={},n.type="video",n.id=o.id,n.timescale=this._timescale,n.duration=this._duration);let L=l.getUint8(0),w=l.getUint8(1),re=l.getUint8(2),ve=l.getUint8(3);if(L!==1||w===0){this._onError(B.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(l.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(B.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let Pe=l.getUint8(5)&31;if(Pe===0){this._onError(B.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Pe>1&&A.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${Pe}`);let Ce=6;for(let Ze=0;Ze1&&A.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ve}`);Ce++;for(let Ze=0;Ze=a){A.w(this.TAG,`Malformed Nalu near timestamp ${Ve}, offset = ${Pe}, dataSize = ${a}`);break}let Ne=w.getUint32(Pe,!L);if(Ce===3&&(Ne>>>=8),Ne>a-Ce){A.w(this.TAG,`Malformed Nalus near timestamp ${Ve}, NaluSize > DataSize!`);return}let Re=w.getUint8(Pe+Ce)&31;Re===5&&(Ze=!0);let I=new Uint8Array(e,i+Pe,Ce+Ne),H={type:Re,data:I};re.push(H),ve+=I.byteLength,Pe+=Ce+Ne}if(re.length){let Ne=this._videoTrack,Re={units:re,length:ve,isKeyframe:Ze,dts:Ve,cts:l,pts:Ve+l};Ze&&(Re.fileposition=o),Ne.samples.push(Re),Ne.length+=ve}}}var O=u;class f{static init(){f.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let i in f.types)f.types.hasOwnProperty(i)&&(f.types[i]=[i.charCodeAt(0),i.charCodeAt(1),i.charCodeAt(2),i.charCodeAt(3)]);let e=f.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let i=8,a=null,n=Array.prototype.slice.call(arguments,1),o=n.length;for(let l=0;l>>24&255,a[1]=i>>>16&255,a[2]=i>>>8&255,a[3]=i&255,a.set(e,4);let s=8;for(let l=0;l>>24&255,e>>>16&255,e>>>8&255,e&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return f.box(f.types.trak,f.tkhd(e),f.mdia(e))}static tkhd(e){let i=e.id,a=e.duration,n=e.presentWidth,o=e.presentHeight;return f.box(f.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,a&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,n>>>8&255,n&255,0,0,o>>>8&255,o&255,0,0]))}static mdia(e){return f.box(f.types.mdia,f.mdhd(e),f.hdlr(e),f.minf(e))}static mdhd(e){let i=e.timescale,a=e.duration;return f.box(f.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,a>>>24&255,a>>>16&255,a>>>8&255,a&255,85,196,0,0]))}static hdlr(e){let i=null;return e.type==="audio"?i=f.constants.HDLR_AUDIO:i=f.constants.HDLR_VIDEO,f.box(f.types.hdlr,i)}static minf(e){let i=null;return e.type==="audio"?i=f.box(f.types.smhd,f.constants.SMHD):i=f.box(f.types.vmhd,f.constants.VMHD),f.box(f.types.minf,i,f.dinf(),f.stbl(e))}static dinf(){return f.box(f.types.dinf,f.box(f.types.dref,f.constants.DREF))}static stbl(e){return f.box(f.types.stbl,f.stsd(e),f.box(f.types.stts,f.constants.STTS),f.box(f.types.stsc,f.constants.STSC),f.box(f.types.stsz,f.constants.STSZ),f.box(f.types.stco,f.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?f.box(f.types.stsd,f.constants.STSD_PREFIX,f.mp3(e)):f.box(f.types.stsd,f.constants.STSD_PREFIX,f.mp4a(e)):f.box(f.types.stsd,f.constants.STSD_PREFIX,f.avc1(e))}static mp3(e){let i=e.channelCount,a=e.audioSampleRate,n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,i,0,16,0,0,0,0,a>>>8&255,a&255,0,0]);return f.box(f.types[".mp3"],n)}static mp4a(e){let i=e.channelCount,a=e.audioSampleRate,n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,i,0,16,0,0,0,0,a>>>8&255,a&255,0,0]);return f.box(f.types.mp4a,n,f.esds(e))}static esds(e){let i=e.config||[],a=i.length,n=new Uint8Array([0,0,0,0,3,23+a,0,1,0,4,15+a,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([a]).concat(i).concat([6,1,2]));return f.box(f.types.esds,n)}static avc1(e){let i=e.avcc,a=e.codecWidth,n=e.codecHeight,o=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,a>>>8&255,a&255,n>>>8&255,n&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return f.box(f.types.avc1,o,f.box(f.types.avcC,i))}static mvex(e){return f.box(f.types.mvex,f.trex(e))}static trex(e){let i=e.id,a=new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return f.box(f.types.trex,a)}static moof(e,i){return f.box(f.types.moof,f.mfhd(e.sequenceNumber),f.traf(e,i))}static mfhd(e){let i=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return f.box(f.types.mfhd,i)}static traf(e,i){let a=e.id,n=f.box(f.types.tfhd,new Uint8Array([0,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,a&255])),o=f.box(f.types.tfdt,new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255])),s=f.sdtp(e),l=f.trun(e,s.byteLength+16+16+8+16+8+8);return f.box(f.types.traf,n,o,l,s)}static sdtp(e){let i=e.samples||[],a=i.length,n=new Uint8Array(4+a);for(let o=0;o>>24&255,n>>>16&255,n>>>8&255,n&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255],0);for(let l=0;l>>24&255,L>>>16&255,L>>>8&255,L&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,re.isLeading<<2|re.dependsOn,re.isDependedOn<<6|re.hasRedundancy<<4|re.isNonSync,0,0,ve>>>24&255,ve>>>16&255,ve>>>8&255,ve&255],12+16*l)}return f.box(f.types.trun,s)}static mdat(e){return f.box(f.types.mdat,e)}}f.init();var h=f;class Q{static getSilentFrame(e,i){if(e==="mp4a.40.2"){if(i===1)return new Uint8Array([0,200,0,128,35,128]);if(i===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(i===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(i===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(i===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(i===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(i===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(i===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(i===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var Ie=Q;class ue{constructor(e,i,a,n,o){this.dts=e,this.pts=i,this.duration=a,this.originalDts=n,this.isSyncPoint=o,this.fileposition=null}}class ke{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ye{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let i=this._list;e.length!==0&&(i.length>0&&e[0].originalDts=i[o].dts&&ei[n].lastSample.originalDts&&e=i[n].lastSample.originalDts&&(n===i.length-1||n0&&(o=this._searchNearestSegmentBefore(a.originalBeginDts)+1),this._lastAppendLocation=o,this._list.splice(o,0,a)}getLastSegmentBefore(e){let i=this._searchNearestSegmentBefore(e);return i>=0?this._list[i]:null}getLastSampleBefore(e){let i=this.getLastSegmentBefore(e);return i!=null?i.lastSample:null}getLastSyncPointBefore(e){let i=this._searchNearestSegmentBefore(e),a=this._list[i].syncPoints;for(;a.length===0&&i>0;)i--,a=this._list[i].syncPoints;return a.length>0?a[a.length-1]:null}}class N{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new De("audio"),this._videoSegmentInfoList=new De("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(se.chrome&&(se.version.major<50||se.version.major===50&&se.version.build<2661)),this._fillSilentAfterSeek=se.msedge||se.msie,this._mp3UseMpegAudio=!se.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,i){if(!this._onMediaSegment)throw new R("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,i),this._remuxVideo(i),this._remuxAudio(e)}_onTrackMetadataReceived(e,i){let a=null,n="mp4",o=i.codec;if(e==="audio")this._audioMeta=i,i.codec==="mp3"&&this._mp3UseMpegAudio?(n="mpeg",o="",a=new Uint8Array):a=h.generateInitSegment(i);else if(e==="video")this._videoMeta=i,a=h.generateInitSegment(i);else return;if(!this._onInitSegment)throw new R("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:a.buffer,codec:o,container:`${e}/${n}`,mediaDuration:i.duration})}_calculateDtsBase(e,i){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),i.samples&&i.samples.length&&(this._videoDtsBase=i.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,i=this._audioStashedLastSample,a={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(a.samples.push(e),a.length=e.length);let n={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};i!=null&&(n.samples.push(i),n.length=i.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(a,!0),this._remuxAudio(n,!0)}_remuxAudio(e,i){if(this._audioMeta==null)return;let a=e,n=a.samples,o,s=-1,l=-1,L=-1,w=this._audioMeta.refSampleDuration,re=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,ve=this._dtsBaseInited&&this._audioNextDts===void 0,Pe=!1;if(!n||n.length===0||n.length===1&&!i)return;let Ce=0,Ve=null,Ze=0;re?(Ce=0,Ze=a.length):(Ce=8,Ze=8+a.length);let Ne=null;if(n.length>1&&(Ne=n.pop(),Ze-=Ne.length),this._audioStashedLastSample!=null){let ne=this._audioStashedLastSample;this._audioStashedLastSample=null,n.unshift(ne),Ze+=ne.length}Ne!=null&&(this._audioStashedLastSample=Ne);let Re=n[0].dts-this._dtsBase;if(this._audioNextDts)o=Re-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())o=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(Pe=!0);else{let ne=this._audioSegmentInfoList.getLastSampleBefore(Re);if(ne!=null){let Oe=Re-(ne.originalDts+ne.duration);Oe<=3&&(Oe=0);let D=ne.dts+ne.duration+Oe;o=Re-D}else o=0}if(Pe){let ne=Re-o,Oe=this._videoSegmentInfoList.getLastSegmentBefore(Re);if(Oe!=null&&Oe.beginDts=1?pe=I[I.length-1].duration:pe=Math.floor(w);let he=!1,Ee=null;if(pe>w*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!se.safari){he=!0;let xe=Math.abs(pe-w),Qe=Math.ceil(xe/w),ot=ee+w;A.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +(self.webpackChunk=self.webpackChunk||[]).push([[2412],{40001:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},26227:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},49198:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},84105:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},41464:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},18785:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},87169:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},73331:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},15277:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},33853:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},62772:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},61485:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},38819:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},47472:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return G}});var t=r(54476),y=r(59301),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},z=C,m=r(7657),A=function(R,Me){return y.createElement(m.Z,(0,t.Z)({},R,{ref:Me,icon:z}))},j=y.forwardRef(A),G=j},70031:function(mt,Ye){"use strict";Ye.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},86340:function(mt,Ye,r){"use strict";r.d(Ye,{K:function(){return A}});var t=r(59301),y=r(43418),C=r(44080),z={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},m=r(24334);const A=({visible:j,width:G,videoId:X,file_url:R,course_id:Me,copyUrl:v,toLog:b=!0,logWatchHistory:de=()=>{},allow_skip:ae,onClose:be=()=>{},autoPlay:Ke=!1,onPlayEnded:se=()=>{}})=>t.createElement(y.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:j,title:null,footer:null,width:G,className:z.modal},t.createElement("i",{className:`${z.closeIcon} iconfont icon-guanbi10`,onClick:be}),j&&t.createElement(C.Z,{onPlayEnded:se,autoPlay:Ke,allow_skip:ae,courseId:Me,src:R!=null&&R.startsWith("http")?R:m.Base64.decode(R),videoId:X,toLog:b,logWatchHistory:de}))},44080:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return ae}});var t=r(59301),y=r(8591),C=r(38854),z=r(73217),m=r(16471),A=r(41867),j=r(56102),G=r(84056),X={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},R=(be,Ke,se)=>new Promise((Se,k)=>{var V=S=>{try{d(se.next(S))}catch(x){k(x)}},p=S=>{try{d(se.throw(S))}catch(x){k(x)}},d=S=>S.done?Se(S.value):Promise.resolve(S.value).then(V,p);d((se=se.apply(be,Ke)).next())});function Me(be){if(isNaN(be))return{minutes:"00",seconds:"00"};const Ke=new Date(be*1e3).toISOString().substr(11,8);return{hour:Ke.substr(0,2),minutes:Ke.substr(3,2),seconds:Ke.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function v(be,Ke){return be-Ke}function b(be){be.sort(v);let Ke=0;for(let se=0;se{},handlePlay:S=()=>{},handlePlayEnded:x=()=>{},autoPlay:_=!1,onPlayEnded:le=()=>{},isShowWaterMark:Ae=!0},We)=>{var Ge;const Te=((Ge=Ke==null?void 0:Ke.split("."))==null?void 0:Ge.pop())==="flv",g=(0,t.useRef)(),we=(0,t.useRef)(),oe=(0,t.useRef)(),K=(0,t.useRef)(),ie=(0,t.useRef)(),q=(0,t.useRef)(),P=(0,t.useRef)(),ce=(0,t.useRef)(),Z=(0,t.useRef)(),F=(0,t.useRef)(),He=(0,t.useRef)(),ze=(0,t.useRef)(),rt=(0,t.useRef)(),lt=(0,t.useRef)(),st=navigator.userAgent.toLowerCase().match(de),tt=st?st[0]:"pc",et=(0,t.useRef)(!1),nt=(0,A.eY)();let Be=0,Xe=0,J=0,M=null,E=!1,B=20,T=1,te=!1,c=!1,u=[];(0,t.useImperativeHandle)(We,()=>({getLastUpdatedTime:()=>g.current.currentTime,getDuration:()=>g.current.duration})),y.ZP.config({maxCount:1,getContainer:()=>oe.current});const O=(0,t.useCallback)((ye,De=!1)=>{let N={point:g.current.currentTime};M?(N.log_id=M,N.watch_duration=b(u),N.total_duration=Xe):(V?(N.video_id=parseInt(Se,10),N.course_id=V):N.video_id=Se,N.duration=Be,N.device=tt),De&&(N.ed="1");function me(){return R(this,null,function*(){te=!0,M=yield k==null?void 0:k(N),te=!1,ye&&ye()})}me()},[Se,V]);(0,t.useEffect)(()=>{g.current&&(K.current.style.display="none",ie.current.style.display="block"),y.ZP.destroy();let ye=null;return z.Z.isSupported&&Te&&Ke&&(Ke==null?void 0:Ke.indexOf(".m3u8"))<0?(ye=z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:Ke,muted:!1}),g.current&&(ye.attachMediaElement(g.current),ye.load())):g.current.setAttribute("src",Ke),h(),()=>{ye&&(ye.unload(),ye.pause(),ye.destroy(),ye=null)}},[g,Te,Ke]);function f(){g.current.paused?(K.current.style.display="none",ie.current.style.display="block"):(K.current.style.display="block",ie.current.style.display="none")}function h(){He.current.style.display="none",rt.current.style.display="none",ze.current.style.display="none",g.current.muted||g.current.volume===0?He.current.style.display="block":g.current.volume>0&&g.current.volume<=.5?rt.current.style.display="block":ze.current.style.display="block"}(0,t.useEffect)(()=>{const ye=document.getElementById("play"),De=document.querySelectorAll(".playback-icons use");function N(){S(),p&&!et.current&&(g.current.currentTime=p),et.current=!0,u.push(g.current.currentTime),E||(E=!0,se&&O())}function me(){return R(this,null,function*(){f(),u.push(g.current.currentTime),se&&O(()=>{M=null,J=0,E=!1,te=!1,c=!1,u=[],Xe=0,T=1},!0),le()})}function je(){q.current.value=Math.round(g.current.currentTime),P.current.value=Math.round(g.current.currentTime)}function U(){const ft=Me(Math.round(g.current.currentTime));Z.current.innerText=`${ft.hour>0?ft.hour+":":""}${ft.minutes}:${ft.seconds}`,Z.current.setAttribute("datetime",`${ft.hour>0?" "+ft.hour+" ":""}${ft.minutes}m ${ft.seconds}s`)}function Je(){var ft,Ot,Gt,wt,Vt,Tt,Zt;const cn=Math.round((ft=g.current)==null?void 0:ft.duration);(Gt=(Ot=q.current)==null?void 0:Ot.setAttribute)==null||Gt.call(Ot,"max",cn),(Vt=(wt=P.current)==null?void 0:wt.setAttribute)==null||Vt.call(wt,"max",cn);const vt=Me(cn);ce.current&&(ce.current.innerText=`${vt.hour>0?vt.hour+":":""}${vt.minutes}:${vt.seconds}`,(Zt=(Tt=ce.current).setAttribute)==null||Zt.call(Tt,"datetime",`${vt.hour>0?" "+vt.hour+" ":""}${vt.minutes}m ${vt.seconds}s`))}function ct(){try{const ft=Math.round(g.current.duration);q.current.setAttribute("max",ft),P.current.setAttribute("max",ft);const Ot=Me(ft);ce.current.innerText=`${Ot.hour>0?Ot.hour+":":""}${Ot.minutes}:${Ot.seconds}`,ce.current.setAttribute("datetime",`${Ot.hour>0?" "+Ot.hour+" ":""}${Ot.minutes}m ${Ot.seconds}s`),je(),U();const{width:Gt,height:wt,x:Vt,y:Tt}=we.current.getBoundingClientRect();if(Vt<0||Tt<0||!Gt)return;if(!c){let Zt=g.current.currentTime,cn=Zt-J;Math.abs(cn)<10?(Xe+=Math.abs(cn),J=Zt,te||Xe-T*B>=0&&(T++,u.push(J),se&&O())):(J=Zt,se&&O())}}catch(ft){console.log(ft)}}function _e(){c=!0}function at(){g.current.playing&&u.push(g.current.currentTime,J),J=g.current.currentTime,c=!1}function pt(){Be=g.current.duration,Be<=20&&(B=Be/3),g.current.addEventListener("play",N)}function Pt(ft){ft.preventDefault(),(0,G.vp)()?(g.current.style.width="100%",g.current.style.height="100%"):g.current.style.cssText=""}function Nt(){d()}function xt(ft){if(!be){y.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Ot=ft.target.dataset.seek?ft.target.dataset.seek:ft.target.value;g.current.currentTime=Ot,P.current.value=Ot,q.current.value=Ot}function nn(ft){const Ot=Math.round(ft.offsetX/ft.target.clientWidth*parseInt(ft.target.getAttribute("max"),10));q.current.setAttribute("data-seek",Ot);const Gt=Me(Ot);F.current.textContent=`${Gt.hour>0?Gt.hour+":":""}${Gt.minutes}:${Gt.seconds}`;const wt=g.current.getBoundingClientRect();F.current.style.left=`${ft.pageX-wt.left}px`}function Et(ft){switch(ft.code){case"Space":ft.preventDefault(),ue();break;case"ArrowRight":if(ft.preventDefault(),!be){y.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(g.current.currentTime>=g.current.duration)break;g.current.currentTime=parseInt(g.current.currentTime)+5,je();break;case"ArrowLeft":if(ft.preventDefault(),!be){y.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(g.current.currentTime===0)break;g.current.currentTime=parseInt(g.current.currentTime)-5,je();break;case"ArrowUp":ft.preventDefault(),g.current.volume<1&&(g.current.volume=(parseInt(g.current.volume*10)+1)/10);break;case"ArrowDown":ft.preventDefault(),g.current.volume>0&&(g.current.volume=(parseInt(g.current.volume*10)-1)/10);break}}return oe.current.addEventListener((0,G.gH)(),Pt),g.current.addEventListener("canplay",pt),g.current.addEventListener("ended",me),g.current.addEventListener("seeking",_e),g.current.addEventListener("seeked",at),g.current.addEventListener("loadedmetadata",Je),q.current.addEventListener("mousemove",nn),q.current.addEventListener("input",xt),g.current.addEventListener("timeupdate",ct),g.current.addEventListener("pause",Nt),g.current.addEventListener("volumechange",h),document.addEventListener("keydown",Et),()=>{var ft,Ot,Gt,wt,Vt,Tt,Zt,cn,vt,Kt,En,it;(ft=g.current)==null||ft.removeEventListener("canplay",pt),(Ot=g.current)==null||Ot.removeEventListener("play",N),(Gt=g.current)==null||Gt.removeEventListener("ended",me),(wt=g.current)==null||wt.removeEventListener("seeking",_e),(Vt=g.current)==null||Vt.removeEventListener("seeked",at),(Tt=q.current)==null||Tt.removeEventListener("mousemove",nn),(Zt=q.current)==null||Zt.removeEventListener("input",xt),(cn=g.current)==null||cn.removeEventListener("timeupdate",ct),(vt=g.current)==null||vt.removeEventListener("pause",Nt),(Kt=g.current)==null||Kt.removeEventListener("loadedmetadata",Je),(En=g.current)==null||En.removeEventListener("volumechange",h),document.removeEventListener("keydown",Et),(it=g.current)!=null&&it.playing&&(u.push(J,g.current.currentTime),se&&O())}},[g,Ke]),(0,t.useEffect)(()=>{if(g.current.onended=()=>{x(g)},g.current.oncontextmenu=()=>!1,(Ke==null?void 0:Ke.indexOf(".m3u8"))>-1){if(g.current.canPlayType("application/vnd.apple.mpegurl"))g.current.src=Ke;else if(m.ZP.isSupported()){var ye=new m.ZP;ye.loadSource(Ke),ye.attachMedia(g.current)}}},[Ke]);const[Q,Ie]=(0,t.useState)(1),ue=()=>{g.current.paused||g.current.ended?g.current.play():g.current.pause(),f()};function ke(){g.current.muted=!g.current.muted,g.current.muted?(lt.current.setAttribute("data-volume",volume.value),lt.current.value=0):lt.current.value=lt.current.dataset.volume}return t.createElement("div",{style:{position:"relative"},ref:oe},t.createElement("div",{ref:we,className:`${X.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${X.animate__loop}`},Ae&&nt?nt.login:" "),t.createElement("div",{className:X.container},t.createElement("div",{className:X["video-container"],id:"video-container"},t.createElement("div",{className:X["playback-animation"],id:"playback-animation"},t.createElement("svg",{className:X["playback-icons"]},t.createElement("use",{className:"hidden",href:"#play-icon"}),t.createElement("use",{href:"#pause"}))),t.createElement("video",{className:X.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:g,autoPlay:_}),t.createElement("div",{className:`${X["video-controls"]} `,id:"video-controls"},t.createElement("div",{className:X["bottom-controls"]},t.createElement("div",{className:X["left-controls"]},t.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:ue},t.createElement("svg",{className:X["playback-icons"]},t.createElement("use",{ref:ie,href:"#play-icon"}),t.createElement("use",{ref:K,style:{display:"none"},href:"#pause"}))),t.createElement("div",{className:X.time},t.createElement("time",{id:"time-elapsed",ref:Z},"00:00"),t.createElement("span",null," / "),t.createElement("time",{id:"duration",ref:ce},"00:00"))),t.createElement("div",{className:X["right-controls"]},be&&t.createElement(C.Z,{placement:"top",overlayClassName:X.rateOverlay,getPopupContainer:ye=>ye.parentNode,menu:{items:[{key:"1",label:t.createElement("span",{onClick:()=>{Ie(1),g.current.playbackRate=1}},"1.0x")},{key:"2",label:t.createElement("span",{onClick:()=>{Ie(1.5),g.current.playbackRate=1.5}},"1.5x")},{key:"3",label:t.createElement("span",{onClick:()=>{Ie(2),g.current.playbackRate=2}},"2.0x")}]}},t.createElement("div",{className:`${X.controlText} mr5`},"\u500D\u901F")),t.createElement(j.CopyToClipboard,{text:Ke,onCopy:()=>y.ZP.success("\u590D\u5236\u6210\u529F")},t.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},t.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),t.createElement("div",{className:X["volume-controls"]},t.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:X["volume-button"],id:"volume-button",onClick:ke},t.createElement("i",{ref:He,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),t.createElement("i",{ref:rt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),t.createElement("i",{ref:ze,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),t.createElement("input",{className:X.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:lt,style:{display:"none"},onClick:h})),t.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:X["fullscreen-button"],onClick:()=>{(0,G.vp)()?(0,G.BU)():(0,G.Dj)(oe.current)}},t.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),t.createElement("div",{className:X["video-progress"]},t.createElement("progress",{ref:P,value:"0",min:"0"}),t.createElement("input",{className:X.seek,ref:q,value:"0",min:"0",type:"range",step:"1"}),t.createElement("div",{className:X["seek-tooltip"],ref:F,id:"seek-tooltip"},"00:00"))))),t.createElement("svg",{style:{display:"none"}},t.createElement("defs",null,t.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},t.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),t.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},t.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),t.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},t.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),t.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},t.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),t.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},t.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),t.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},t.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),t.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},t.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),t.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},t.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},61584:function(mt,Ye,r){"use strict";r.d(Ye,{i:function(){return d},Z:function(){return x}});var t={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},y=r(71418),C=r(6848),z=r(93948),m=r(92310),A=r.n(m),j=r(65862),G=r(2524),X=r(41867),R=r(79005),Me=r(20345),v=r(77882),b=r(31081),de=r(75309),ae=r(71979),be=r(47558),Ke=r(42922),se=r(66832),Se=r(96593),k=r(19664),V=r(91833),p=r(59301);const d=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:R,swimg:Me},{name:"101\u8BA1\u5212",ptimg:v,swimg:b},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:de,swimg:ae},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:be,swimg:Ke},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:se,swimg:Se},{name:"\u519B\u961F\u4E00\u6D41",ptimg:k,swimg:V}];var x=({className:_,dataSource:le=[],col:Ae=4,right:We,bottom:Ge=23,precision:W=0,wrapWidth:Te=1200,trackEventItems:g,loading:we,onRemove:oe=()=>{},isCurrent:K=!0,showAlias:ie=!1,showProgress:q=!1})=>{const P=Math.floor((Te-(Ae-1)*We)/Ae),ce=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Z=>(window.ENV==="build"&&(Z.ptimg=`/react/build${Z.ptimg}`,Z.swimg=`/react/build${Z.swimg}`),Z));return p.createElement(y.Z,{spinning:we},p.createElement("div",{className:A()(t.list,_)},!!(le!=null&&le.length)&&(le==null?void 0:le.map((Z,F)=>{var He,ze,rt,lt,st,tt;const{name:et,id:nt,identifier:Be,featured:Xe,school_name:J,image_url:M,excellent:E,is_plan:B}=Z;return p.createElement("div",{key:nt,className:K&&q?t.wrapisCurrent:t.wrap,style:{width:P,marginRight:(1+F)%Ae===0?0:We+W,marginBottom:Ge}},p.createElement("a",{className:t.li,onClick:T=>{T.preventDefault(),T.stopPropagation(),g&&(0,j.L9)([g]),(0,j.xg)(`/paths/${Be}`)}},p.createElement("div",{className:t.img},p.createElement("img",{className:t.cover,src:`${M}`}),K&&(0,X.bg)()&&(Z==null?void 0:Z.studying)&&p.createElement("div",{className:`${t.movebq} user-path-items`,onClick:T=>{T.stopPropagation(),oe(Z)}},p.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),p.createElement("span",{className:"c-red"},"\u79FB\u9664")),(He=Z==null?void 0:Z.subject_tags)==null?void 0:He.map((T,te)=>{var c,u;if(te===0){const f=(c=ce.find(h=>h.name==T))==null?void 0:c.swimg;return p.createElement("img",{className:t.sign,src:f,style:{left:"-4px"}})}const O=(u=ce.find(f=>f.name==T))==null?void 0:u.ptimg;return p.createElement("img",{className:t.sign,src:O,style:{left:`${48+52*(te-1)+2*te}px`}})}),p.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Z==null?void 0:Z.excellent)&&p.createElement("div",{className:t.bq},"\u5F00\u653E\u8BFE\u7A0B"))),p.createElement("div",{className:t.name},p.createElement(C.Z,{title:ie&&(Z!=null&&Z.excellent_alias_name)?p.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${et}`,p.createElement("br",null),p.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Z==null?void 0:Z.excellent_alias_name}`)):et},p.createElement("span",{className:t.e},ie&&(Z==null?void 0:Z.excellent_alias_name)||et))),K&&q&&((ze=Z==null?void 0:Z.progress)==null?void 0:ze.all_score)!=0&&p.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},p.createElement(z.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((rt=Z==null?void 0:Z.progress)==null?void 0:rt.my_score)/((lt=Z==null?void 0:Z.progress)==null?void 0:lt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(st=Z==null?void 0:Z.progress)==null?void 0:st.my_score,"/",(tt=Z==null?void 0:Z.progress)==null?void 0:tt.all_score),(!K||!q)&&p.createElement("div",{className:t.tags},p.createElement("div",null,p.createElement(C.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},p.createElement("span",null,p.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),p.createElement("span",null,Z.stages_count))),p.createElement(C.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},p.createElement("span",null,p.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),p.createElement("span",null,Z.members_count)))))))})),!le.length&&p.createElement(G.Z,null)))}},3918:function(mt,Ye,r){"use strict";r.d(Ye,{jL:function(){return m},w9:function(){return cn},vv:function(){return n},dN:function(){return it},QD:function(){return Qt},cQ:function(){return te.Z},vg:function(){return Gt},Oz:function(){return Nt},op:function(){return ut},O5:function(){return Cn},_b:function(){return Ft},t7:function(){return Ge},tT:function(){return g},Gi:function(){return Ne},YG:function(){return L},Ed:function(){return Ve},kT:function(){return ve},qp:function(){return Ke},Um:function(){return d},K3:function(){return k},vr:function(){return gn},qE:function(){return Ht},Je:function(){return K},wb:function(){return tt},rC:function(){return T},lB:function(){return Be},cq:function(){return Le},kO:function(){return Y},tp:function(){return _},Si:function(){return Mn},k8:function(){return Bn},Du:function(){return Gn}});var t=r(59301),y={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsY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uzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",m=({dataSource:Ue=[],img:Fe,imgWidth:ge=346,title:qe,sunTitle:ht,bannerExtraContent:At})=>t.createElement("div",{className:y.banner},t.createElement("div",{className:y.content},t.createElement("aside",null,t.createElement("p",null,t.createElement("b",null,qe),t.createElement("span",null,ht)),Ue.length>0&&t.createElement("div",{className:y.btns},Ue.map(($e,Dt)=>t.createElement("div",{key:Dt,onClick:$e.click},$e.name,$e.sign?t.createElement("img",{src:C,width:39}):null))),At),Fe&&t.createElement("img",{style:{marginTop:33,marginRight:38},src:Fe,width:ge}))),A={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},j=r(92310),G=r.n(j),X=r(89392),R=Object.defineProperty,Me=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,de=(Ue,Fe,ge)=>Fe in Ue?R(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,ae=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))v.call(Fe,ge)&&de(Ue,ge,Fe[ge]);if(Me)for(var ge of Me(Fe))b.call(Fe,ge)&&de(Ue,ge,Fe[ge]);return Ue},Ke=({dataSource:Ue=[],value:Fe,onChange:ge,onTitleChange:qe,className:ht,title:At,titleWidth:$e=41,style:Dt={},fontColor:Xt="#6A7283",showCount:ln,classNameActive:Yt,styleItem:yt={}})=>{const[qt,en]=(0,t.useState)(0),[yn,$t]=(0,t.useState)(!1),_t=(0,t.useRef)(null),hn=(0,t.useRef)(null);return(0,t.useEffect)(()=>{var In;Ue.length!==0&&(((In=_t==null?void 0:_t.current)==null?void 0:In.clientHeight)>97?en(1):en(0)),Ue.length===0&&en(0),$t(!1)},[Ue]),t.createElement("div",{className:G()(A.row,ht),style:Dt},t.createElement("div",{onClick:(0,X.throttle)(()=>qe==null?void 0:qe(),2e3),style:{width:$e,marginTop:yn?12:4},className:`${A.title} ${qe?"current":""}`},At),t.createElement("div",{className:yn?`${A.tagsWrap} ${A.tagsBorderWrap}`:A.tagsWrap},t.createElement("div",{className:A.bar,ref:hn,style:qt>0?{height:qt===1?97:"auto",overflow:qt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},t.createElement("div",{className:A.tag,ref:_t},Ue==null?void 0:Ue.map(In=>t.createElement("span",{onClick:()=>ge(In.id),key:In.id,style:ae(ae({color:Xt},yt),(In==null?void 0:In.style)||{}),className:Fe===In.id?G()(Yt||A.active,In.classNameActive):""},t.createElement("span",{title:In.name,className:A.name},In.name),!!ln&&t.createElement("span",{className:A.num},In.count))))),!!qt&&t.createElement(t.Fragment,null,qt===1?t.createElement("div",{onClick:()=>{var In;en(2),((In=_t==null?void 0:_t.current)==null?void 0:In.clientHeight)>245?$t(!0):$t(!1)},className:A.action},"\u5C55\u5F00",t.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):t.createElement("div",{onClick:()=>{hn.current.scrollTop=0,en(1),$t(!1)},className:A.action},"\u6536\u8D77",t.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},se={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},k=({dataSource:Ue=[],value:Fe,onChange:ge,onTitleChange:qe,className:ht,title:At,titleWidth:$e=41,style:Dt={},fontColor:Xt="#6A7283",showCount:ln,expand:Yt=!0})=>{const[yt,qt]=(0,t.useState)(0),[en,yn]=(0,t.useState)(!1),$t=(0,t.useRef)(null),_t=(0,t.useRef)(null),[hn,In]=(0,t.useState)(Yt);return t.createElement("div",{className:G()(se.row,ht),style:Dt},t.createElement("div",{className:"flex item-center justify-between"},t.createElement("div",{onClick:(0,X.throttle)(()=>qe==null?void 0:qe(),2e3),style:{width:$e,marginTop:en?12:4},className:`${se.title} ${qe?"current":""}`},At),t.createElement("i",{className:`iconfont ${hn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:hn?8:10},onClick:()=>In(!hn)})),hn&&t.createElement("div",{className:en?`${se.tagsWrap} ${se.tagsBorderWrap}`:se.tagsWrap},t.createElement("div",{className:se.fenge}),t.createElement("div",{className:se.bar,ref:_t},t.createElement("div",{className:se.tag,ref:$t},Ue==null?void 0:Ue.map(Nn=>t.createElement("span",{onClick:()=>ge(Nn.id),key:Nn.id,style:{color:Xt},className:Fe===Nn.id?se.active:""},t.createElement("span",{title:Nn.name,className:se.name},Nn.name),!!ln&&t.createElement("span",{className:se.num},Nn.count)))))))},V={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},d=({dataSource:Ue=[],value:Fe,onChange:ge,onTitleChange:qe,className:ht,title:At,titleWidth:$e=41,style:Dt={},fontColor:Xt="#fff",showCount:ln,expand:Yt=!0})=>{const[yt,qt]=(0,t.useState)(0),[en,yn]=(0,t.useState)(!1),$t=(0,t.useRef)(null),_t=(0,t.useRef)(null),[hn,In]=(0,t.useState)(Yt);return t.createElement("div",{className:G()(V.row,ht),style:Dt},t.createElement("div",{className:"flex item-center justify-between"},t.createElement("div",{onClick:(0,X.throttle)(()=>qe==null?void 0:qe(),2e3),style:{width:$e},className:`${V.title} ${qe?"current":""}`},At),t.createElement("i",{className:`iconfont ${hn?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:hn?"#00DDC7":"#037F74",fontSize:hn?10:12},onClick:()=>In(!hn)})),hn&&t.createElement("div",{className:en?`${V.tagsWrap} ${V.tagsBorderWrap}`:V.tagsWrap},t.createElement("div",{className:V.bar,ref:_t},t.createElement("div",{className:V.tag,ref:$t},Ue==null?void 0:Ue.map(Nn=>t.createElement("span",{onClick:()=>ge(Nn.id),key:Nn.id,style:{color:Xt},className:Fe===Nn.id?V.active:""},t.createElement("span",{title:Nn.name,className:V.name},Nn.name),!!ln&&t.createElement("span",{className:V.num},Nn.count)))))))},S={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},_=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={}})=>t.createElement("div",{style:ht,className:G()(S.tabs,qe)},Ue.map(At=>t.createElement("span",{onClick:()=>ge(At.id),className:Fe===At.id?S.active:"",key:At.id},At.name))),le={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ae=r(92832),Ge=({dataSource:Ue=[],value:Fe="",onChange:ge,onInputChange:qe=()=>{},className:ht,style:At={},placeholder:$e,allowClear:Dt=!1})=>{var Xt;const[ln,Yt]=(0,t.useState)(""),[yt,qt]=(0,t.useState)("");(0,t.useEffect)(()=>{var $t;let _t=Fe;($t=JSON.stringify(Fe))!=null&&$t.includes("{")&&(Yt(Fe.id),_t=Fe.value||"");try{qt(decodeURIComponent(_t||""))}catch(hn){qt(decodeURIComponent(_t||""))}},[Fe]);const en=()=>{ge(encodeURIComponent(yt),ln||null)},yn=$t=>{$t!==ln&&(Yt($t),ge(encodeURIComponent(yt),$t))};return t.createElement("div",{className:G()(le.input,ht),style:At},!!Ue.length&&t.createElement("div",{className:le.dropdown},t.createElement("div",{className:le.text},(Xt=Ue.find($t=>$t.id===ln))==null?void 0:Xt.name,t.createElement("i",{className:"iconfont icon-zhankai4"}),t.createElement("b",{className:le.b1}),t.createElement("b",{className:le.b2})),t.createElement("div",{className:le.menu},Ue.map(($t,_t)=>t.createElement("div",{key:_t,onClick:()=>yn($t.id)},$t.name)))),t.createElement(Ae.default,{onPressEnter:en,value:yt,onChange:$t=>{qt($t.target.value),qe(encodeURIComponent($t.target.value),ln||null)},bordered:!1,placeholder:$e}),t.createElement("i",{onClick:en,className:"iconfont icon-sousuo9 font14 pl10 current"}))},W={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},g=({dataSource:Ue=[],value:Fe="",onChange:ge,onInputChange:qe=()=>{},className:ht,style:At={},placeholder:$e,allowClear:Dt=!1})=>{var Xt;const[ln,Yt]=(0,t.useState)(""),[yt,qt]=(0,t.useState)("");(0,t.useEffect)(()=>{var $t;let _t=Fe;($t=JSON.stringify(Fe))!=null&&$t.includes("{")&&(Yt(Fe.id),_t=Fe.value||"");try{qt(decodeURIComponent(_t||""))}catch(hn){qt(decodeURIComponent(_t||""))}},[Fe]);const en=()=>{ge(encodeURIComponent(yt),ln||null)},yn=$t=>{$t!==ln&&(Yt($t),ge(encodeURIComponent(yt),$t))};return t.createElement("div",{className:G()(W.input,ht),style:At},!!Ue.length&&t.createElement("div",{className:W.dropdown},t.createElement("div",{className:W.text},(Xt=Ue.find($t=>$t.id===ln))==null?void 0:Xt.name,t.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),t.createElement("div",{className:W.menu},Ue.map(($t,_t)=>t.createElement("div",{key:_t,onClick:()=>yn($t.id)},$t.name)))),t.createElement(Ae.default,{onPressEnter:en,value:yt,onChange:$t=>{qt($t.target.value),qe(encodeURIComponent($t.target.value),ln||null)},bordered:!1,placeholder:$e}),t.createElement("i",{onClick:en,className:"iconfont icon-sousuo9 font14 pl10 current"}))},we={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},K=({value:Ue,onChange:Fe,className:ge,total:qe,pageSize:ht,style:At={}})=>{const $e=Ue<2,Dt=Ue>=Math.ceil(qe/ht);return qe<=ht?t.createElement(t.Fragment,null):t.createElement("div",{className:G()(we.quickPager,ge),style:At},t.createElement("div",{onClick:()=>{$e||Fe(Ue-1,"prev")},className:$e?we.disabled:""},"\u4E0A\u4E00\u9875"),t.createElement("div",{onClick:()=>{Dt||Fe(Ue+1,"next")},className:Dt?we.disabled:""},"\u4E0B\u4E00\u9875"))},ie={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},q=r(71418),P=r(6848),ce=r(13570),Z=r(74128),F=r(65862),He=r(96908),ze=r(57177),rt=r(81378),lt=r(2524),tt=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt})=>{const ln=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:Xt},t.createElement("div",{className:G()(ie.list,Ue)},!!Fe.length&&Fe.map((Yt,yt)=>{const{name:qt,id:en,identifier:yn,power:$t,cover_image_id:_t,pic:hn}=Yt;return t.createElement("div",{className:ie.wrap,key:en,style:{width:ln,marginRight:(1+yt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/shixuns/${yn}/challenges`,className:ie.li,onClick:In=>{In.preventDefault(),Dt&&(0,F.L9)([Dt]),$t&&(0,F.xg)(`/shixuns/${yn}/challenges`)}},t.createElement("div",{className:ie.img},t.createElement("img",{className:ie.cover,src:`${hn}`}),Yt.is_jupyter&&t.createElement("img",{className:ie.sign,src:He}),Yt.is_jupyter_lab&&t.createElement("img",{className:ie.sign,src:ze}),Yt.is_unity_3d&&t.createElement("img",{className:ie.sign,src:rt})),t.createElement("div",{className:ie.name},t.createElement(P.Z,{title:qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},t.createElement("span",{className:ie.e},qt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),t.createElement("div",{className:ie.tags},t.createElement(P.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),t.createElement("span",null,Yt.challenges_count))),!!Yt.myshixuns_count&&t.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),t.createElement("span",null,Yt.myshixuns_count))),t.createElement(P.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},t.createElement("span",null,t.createElement("span",null,Yt.level))),t.createElement("div",{className:ie.rate},t.createElement(ce.Z,{allowHalf:!0,disabled:!0,defaultValue:Yt.score_info}),t.createElement("span",null,"\xA0",Yt.score_info?`${Yt.score_info}\u5206`:"5\u5206")))),!$t&&t.createElement("div",{className:ie.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Fe.length&&t.createElement(lt.Z,null)))},et={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Be=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,wrapClassName:Dt,trackEventItems:Xt,loading:ln})=>{const Yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:ln},t.createElement("div",{className:G()(et.list,Ue)},!!Fe.length&&Fe.map((yt,qt)=>{const{name:en,id:yn,identifier:$t,power:_t,cover_image_id:hn,pic:In}=yt;return t.createElement("div",{className:G()(et.wrap,Dt),key:yn,style:{width:Yt,marginRight:(1+qt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/shixuns/${$t}/challenges`,className:et.li,onClick:Nn=>{Nn.preventDefault(),Xt&&(0,F.L9)([Xt]),_t&&(0,F.xg)(`/shixuns/${$t}/challenges`)}},t.createElement("img",{src:r(47621),className:et.titleBg}),t.createElement("div",{className:et.name},t.createElement(P.Z,{title:en||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},t.createElement("span",{className:et.e},en||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),t.createElement("div",{style:{padding:"14px",paddingBottom:0}},t.createElement("div",{className:et.img},t.createElement("img",{className:et.cover,src:hn?`${Z.Z.API_SERVER}/api/attachments/${hn}`:`${Z.Z.IMG_SERVER+In}`}),yt.is_jupyter&&t.createElement("div",{className:et.bq},"Jupyter"),yt.is_jupyter_lab&&t.createElement("div",{className:et.bq},"JupyterLab"),yt.is_unity_3d&&t.createElement("div",{className:et.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),t.createElement("div",{className:"mt20 flex item-center justify-between"},t.createElement("div",null,t.createElement("span",{className:et.text},"\u5B66\u4E60\u4EBA\u6570"),t.createElement("span",{className:et.value},yt.myshixuns_count)),t.createElement("div",null,t.createElement("span",{className:et.text},"\u56F0\u96BE\u7B49\u7EA7"),t.createElement("span",{className:et.value},yt.level))),t.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},t.createElement("div",null,t.createElement("span",{className:et.text},"\u5173\u5361\u6570"),t.createElement("span",{className:et.value},yt.challenges_count)),t.createElement("div",{className:et.rate},t.createElement(ce.Z,{allowHalf:!0,disabled:!0,defaultValue:yt.score_info}),t.createElement("span",{className:et.value,style:{color:"#FF9C00"}},"\xA0",yt.score_info?`${yt.score_info}\u5206`:"5\u5206"))))),!_t&&t.createElement("div",{className:et.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Fe.length&&t.createElement(lt.Z,null)))},Xe={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},J="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8v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qztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",T=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt,wrapClassName:ln,imgClassName:Yt})=>{const yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:Xt},t.createElement("div",{className:G()(Xe.list,Ue)},!!Fe.length&&Fe.map((qt,en)=>{const{name:yn,id:$t,identifier:_t,power:hn,cover_image_id:In,pic:Nn}=qt;return t.createElement("div",{className:G()(Xe.wrap,ln),key:$t,style:{width:yt,marginRight:(1+en)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/shixuns/${_t}/challenges`,className:Xe.li,onClick:Qn=>{Qn.preventDefault(),Dt&&(0,F.L9)([Dt]),hn&&(0,F.xg)(`/shixuns/${_t}/challenges`)}},t.createElement("div",{className:G()(Xe.img,Yt)},t.createElement("img",{className:Xe.cover,src:In?`${Z.Z.API_SERVER}/api/attachments/${In}`:`${Z.Z.IMG_SERVER+Nn}`}),qt.is_jupyter&&t.createElement("img",{className:Xe.sign,src:J}),qt.is_jupyter_lab&&t.createElement("img",{className:Xe.sign,src:M}),qt.is_unity_3d&&t.createElement("img",{className:Xe.sign,src:E})),t.createElement("div",{className:Xe.name},t.createElement(P.Z,{title:yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},t.createElement("span",{className:Xe.e},yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),t.createElement("div",{className:Xe.tags},t.createElement(P.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),t.createElement("span",null,qt.challenges_count))),!!qt.myshixuns_count&&t.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},t.createElement("span",null,t.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),t.createElement("span",null,qt.myshixuns_count))),t.createElement(P.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},t.createElement("span",null,t.createElement("span",null,qt.level))),t.createElement("div",{className:Xe.rate},t.createElement(ce.Z,{allowHalf:!0,disabled:!0,defaultValue:qt.score_info}),t.createElement("span",null,"\xA0",qt.score_info?`${qt.score_info}\u5206`:"5\u5206")))),!hn&&t.createElement("div",{className:Xe.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Fe.length&&t.createElement(lt.Z,null)))},te=r(61584),c={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},u=r(79005),O=r(20345),f=r(77882),h=r(31081),Q=r(75309),Ie=r(71979),ue=r(47558),ke=r(42922),ye=r(66832),De=r(96593),N=r(19664),me=r(91833),je=Object.defineProperty,U=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,_e=(Ue,Fe,ge)=>Fe in Ue?je(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,at=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))Je.call(Fe,ge)&&_e(Ue,ge,Fe[ge]);if(U)for(var ge of U(Fe))ct.call(Fe,ge)&&_e(Ue,ge,Fe[ge]);return Ue};const pt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:u,swimg:O},{name:"101\u8BA1\u5212",ptimg:f,swimg:h},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Q,swimg:Ie},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ue,swimg:ke},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ye,swimg:De},{name:"\u519B\u961F\u4E00\u6D41",ptimg:N,swimg:me}];var Nt=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt,wrapClassName:ln,imgClassName:Yt,isArrow:yt=!1,imgStyle:qt={}})=>{const en=Math.floor(($e-(ge-1)*qe)/ge),[yn,$t]=(0,t.useState)(),[_t,hn]=(0,t.useState)(),In=Qn=>$t(Qn),Nn=()=>$t(-1);return t.createElement(q.Z,{spinning:Xt},t.createElement("div",{className:G()(c.list,Ue)},!!(Fe!=null&&Fe.length)&&(Fe==null?void 0:Fe.map((Qn,qn)=>{var br;const{name:Ar,id:hr,identifier:gr,featured:xr,school_name:rr,image_url:lr,excellent:ur,is_plan:vr}=Qn;return t.createElement("div",{key:hr,className:G()(c.wrap,ln),style:{width:en,marginRight:(1+qn)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{target:"_blank",href:`/paths/${gr}`,className:c.li,onClick:or=>{or.preventDefault(),Dt&&(0,F.L9)([Dt]),(0,F.xg)(`/paths/${gr}`)}},t.createElement("img",{src:r(39057),className:c.titleBg}),t.createElement("div",{className:c.name},t.createElement(P.Z,{title:Ar},t.createElement("span",{className:c.e,style:{color:yt&&yn===qn?"#145DFF":"#000000"},onMouseEnter:()=>{In(qn)},onMouseLeave:Nn},Ar))),t.createElement("div",{style:{padding:"14px",paddingBottom:0}},t.createElement("div",{className:G()(c.img,Yt)},t.createElement("img",{className:c.cover,style:at({},qt),src:`${Z.Z.IMG_SERVER+lr}`}),(br=Qn==null?void 0:Qn.subject_tags)==null?void 0:br.map((or,Jn)=>{var mr,yr;if(Jn===0){const dr=(mr=pt.find(Rn=>Rn.name==or))==null?void 0:mr.swimg;return t.createElement("img",{className:c.sign,src:dr,style:{left:"-4px"}})}const Er=(yr=pt.find(dr=>dr.name==or))==null?void 0:yr.ptimg;return t.createElement("img",{className:c.sign,src:Er,style:{left:`${48+52*(Jn-1)+2*Jn}px`}})}),t.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Qn==null?void 0:Qn.excellent)&&t.createElement("div",{className:c.bq},"\u5F00\u653E\u8BFE\u7A0B"))),t.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},t.createElement("div",null,t.createElement("span",{className:c.text},"\u7AE0\u8282\u6570"),t.createElement("span",{className:c.value},Qn.stages_count)),t.createElement("div",null,t.createElement("span",{className:c.text},"\u5B66\u4E60\u4EBA\u6570"),t.createElement("span",{className:c.value},Qn.members_count))))))})),!Fe.length&&t.createElement(lt.Z,null)))},xt={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},nn=r(41867),Et=r(59301);const ft=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:u,swimg:O},{name:"101\u8BA1\u5212",ptimg:f,swimg:h},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Q,swimg:Ie},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ue,swimg:ke},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ye,swimg:De},{name:"\u519B\u961F\u4E00\u6D41",ptimg:N,swimg:me}];var Gt=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt,onRemove:ln=()=>{},isCurrent:Yt=!0,showAlias:yt=!1,wrapClassName:qt,imgClassName:en})=>{const yn=Math.floor(($e-(ge-1)*qe)/ge),$t=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(_t=>(window.ENV==="build"&&(_t.ptimg=`/react/build${_t.ptimg}`,_t.swimg=`/react/build${_t.swimg}`),_t));return Et.createElement(q.Z,{spinning:Xt},Et.createElement("div",{className:G()(xt.list,Ue)},!!(Fe!=null&&Fe.length)&&(Fe==null?void 0:Fe.map((_t,hn)=>{var In;const{name:Nn,id:Qn,identifier:qn,featured:br,school_name:Ar,image_url:hr,excellent:gr,is_plan:xr}=_t;return Et.createElement("div",{key:Qn,className:G()(xt.wrap,qt),style:{width:yn,marginRight:(1+hn)%ge===0?0:qe+At,marginBottom:ht}},Et.createElement("a",{className:xt.li,onClick:rr=>{rr.preventDefault(),rr.stopPropagation(),Dt&&(0,F.L9)([Dt]),(0,F.xg)(`/paths/${qn}`)}},Et.createElement("div",{className:G()(xt.img,en)},Et.createElement("img",{className:xt.cover,src:`${Z.Z.IMG_SERVER+hr}`}),Yt&&(0,nn.bg)()&&(_t==null?void 0:_t.studying)&&Et.createElement("div",{className:`${xt.movebq} user-path-items`,onClick:rr=>{rr.stopPropagation(),ln(_t)}},Et.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Et.createElement("span",{className:"c-red"},"\u79FB\u9664")),(In=_t==null?void 0:_t.subject_tags)==null?void 0:In.map((rr,lr)=>{var ur,vr;if(lr===0){const Jn=(ur=$t.find(mr=>mr.name==rr))==null?void 0:ur.swimg;return Et.createElement("img",{className:xt.sign,src:Jn,style:{left:"-4px"}})}const or=(vr=$t.find(Jn=>Jn.name==rr))==null?void 0:vr.ptimg;return Et.createElement("img",{className:xt.sign,src:or,style:{left:`${48+52*(lr-1)+2*lr}px`}})}),Et.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(_t==null?void 0:_t.excellent)&&Et.createElement("div",{className:xt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Et.createElement("div",{className:xt.name},Et.createElement(P.Z,{title:yt&&(_t!=null&&_t.excellent_alias_name)?Et.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Nn}`,Et.createElement("br",null),Et.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${_t==null?void 0:_t.excellent_alias_name}`)):Nn},Et.createElement("span",{className:xt.e},yt&&(_t==null?void 0:_t.excellent_alias_name)||Nn))),Et.createElement("div",{className:xt.tags},Et.createElement("div",null,Et.createElement(P.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Et.createElement("span",null,Et.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Et.createElement("span",null,_t.stages_count))),Et.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Et.createElement("span",null,Et.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Et.createElement("span",null,_t.members_count)))))))})),!Fe.length&&Et.createElement(lt.Z,null)))},wt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+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Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Tt=r(59301),cn=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,trackEventItems:Dt,loading:Xt})=>{const ln=Math.floor(($e-(ge-1)*qe)/ge);return Tt.createElement(q.Z,{spinning:Xt},Tt.createElement("div",{className:G()(wt.list,Ue)},!!Fe.length&&Fe.map((Yt,yt)=>{const{subject_identifier:qt,id:en,identifier:yn,power:$t}=Yt,_t=Yt.is_public!=0&&Yt.is_public;return Tt.createElement("div",{className:wt.wrap,key:en,style:{width:ln,marginRight:(1+yt)%ge===0?0:qe+At,marginBottom:ht}},Tt.createElement("a",{className:wt.li,onClick:hn=>{hn.preventDefault(),Dt&&(0,F.L9)([Dt]),(0,F.xg)(Yt.first_category_url)}},Tt.createElement("div",{className:wt.top},Tt.createElement(P.Z,{title:Yt.name},Tt.createElement("div",{className:wt.name},Yt.name)),Tt.createElement("img",{className:wt.img,src:Z.Z.IMG_SERVER+"/images/"+Yt.avatar_url}),Tt.createElement("div",{className:wt.text,title:Yt.creator},Yt.creator),qt&&Tt.createElement("div",{className:wt.btns},Tt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Tt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),_t&&Tt.createElement("div",{className:wt.sign},"\u516C\u5F00")),Tt.createElement("div",{className:wt.bottom},Yt.visits>0&&Tt.createElement(P.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Tt.createElement("span",null,Tt.createElement("i",{className:"iconfont icon-liulanyan"}),Tt.createElement("span",null,Yt.visits))),Yt.course_members_count>0&&Tt.createElement(P.Z,{title:"\u6210\u5458",placement:"bottom"},Tt.createElement("span",null,Tt.createElement("i",{className:"iconfont icon-chengyuan"}),Yt.course_members_count)),Yt.tasks_count>0&&Tt.createElement(P.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Tt.createElement("span",null,Tt.createElement("i",{className:"iconfont icon-zuoye"}),Yt.tasks_count)),Yt.is_end?Tt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Tt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Yt.is_accessible&&Tt.createElement("div",{className:wt.lockWrap},Tt.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Tt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Fe.length&&Tt.createElement(lt.Z,null)))},vt={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB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KjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",it=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,wrapClassName:Dt,trackEventItems:Xt,loading:ln})=>{const Yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:ln},t.createElement("div",{className:G()(vt.list,Ue)},!!Fe.length&&Fe.map((yt,qt)=>{const{subject_identifier:en,id:yn,identifier:$t,power:_t}=yt,hn=yt.is_public!=0&&yt.is_public;return t.createElement("div",{className:G()(`${vt.wrap} ${yt.is_accessible?"":vt.warpStyle}`,Dt),key:yn,style:{width:Yt,marginRight:(1+qt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{className:vt.li,onClick:In=>{In.preventDefault(),Xt&&(0,F.L9)([Xt]),(0,F.xg)(yt.first_category_url)}},t.createElement("div",{className:vt.creator},t.createElement("img",{className:vt.img,src:Z.Z.IMG_SERVER+"/images/"+yt.avatar_url}),t.createElement("div",{className:vt.text,title:yt.creator},yt.creator)),t.createElement("div",{className:vt.top},t.createElement(P.Z,{title:yt.name},t.createElement("div",{className:vt.name},yt.name)),hn&&t.createElement("div",{className:vt.sign},"\u516C\u5F00")),t.createElement("div",{className:vt.middle},t.createElement("div",{className:vt.row,style:{marginBottom:6}},t.createElement("div",null,t.createElement("span",{className:vt.text},"\u8BBF\u95EE\u91CF"),t.createElement("span",{className:vt.value},(yt==null?void 0:yt.visits)||0)),t.createElement("div",null,t.createElement("span",{className:vt.text},"\u6210\u5458"),t.createElement("span",{className:vt.value},(yt==null?void 0:yt.course_members_count)||0))),t.createElement("div",{className:vt.row},t.createElement("div",null,t.createElement("span",{className:vt.text,style:{width:42}},"\u4F5C",t.createElement("span",{style:{marginLeft:14}},"\u4E1A")),t.createElement("span",{className:vt.value},(yt==null?void 0:yt.tasks_count)||0)),t.createElement("div",null,t.createElement("span",{className:vt.text},"\u72B6\u6001"),yt.is_end?t.createElement("span",{className:vt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):t.createElement("span",{className:vt.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),en&&t.createElement("div",{className:vt.btns},t.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),t.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!yt.is_accessible&&t.createElement("div",{className:vt.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Fe.length&&t.createElement(lt.Z,null)))},e={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1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AADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",n=({className:Ue,dataSource:Fe=[],col:ge=4,right:qe,bottom:ht=23,precision:At=0,wrapWidth:$e=1200,wrapClassName:Dt,trackEventItems:Xt,loading:ln})=>{const Yt=Math.floor(($e-(ge-1)*qe)/ge);return t.createElement(q.Z,{spinning:ln},t.createElement("div",{className:G()(e.list,Ue)},!!Fe.length&&Fe.map((yt,qt)=>{const{subject_identifier:en,id:yn,identifier:$t,power:_t}=yt,hn=yt.is_public!=0&&yt.is_public;return t.createElement("div",{className:G()(`${e.wrap} ${yt.is_accessible?"":e.warpStyle}`,Dt),key:yn,style:{width:Yt,marginRight:(1+qt)%ge===0?0:qe+At,marginBottom:ht}},t.createElement("a",{className:e.li,onClick:In=>{In.preventDefault(),Xt&&(0,F.L9)([Xt]),(0,F.xg)(yt.first_category_url)}},t.createElement("div",{className:e.creator},t.createElement("img",{className:e.img,src:Z.Z.IMG_SERVER+"/images/"+yt.avatar_url}),t.createElement("div",{className:e.text,title:yt.creator},yt.creator)),t.createElement("div",{className:e.top},t.createElement(P.Z,{title:yt.name},t.createElement("div",{className:e.name},yt.name)),hn&&t.createElement("div",{className:e.sign})),t.createElement("div",{className:e.middle},t.createElement("div",{className:e.row,style:{marginBottom:6}},t.createElement("div",null,t.createElement("span",{className:e.text},"\u8BBF\u95EE\u91CF"),t.createElement("span",{className:e.value},(yt==null?void 0:yt.visits)||0)),t.createElement("div",null,t.createElement("span",{className:e.text},"\u6210\u5458"),t.createElement("span",{className:e.value},(yt==null?void 0:yt.course_members_count)||0))),t.createElement("div",{className:e.row},t.createElement("div",null,t.createElement("span",{className:e.text,style:{width:42}},"\u4F5C",t.createElement("span",{style:{marginLeft:14}},"\u4E1A")),t.createElement("span",{className:e.value},(yt==null?void 0:yt.tasks_count)||0)),t.createElement("div",null,t.createElement("span",{className:e.text},"\u72B6\u6001"),yt.is_end?t.createElement("span",{className:e.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):t.createElement("span",{className:e.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),en&&t.createElement("div",{className:e.btns},t.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),t.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!yt.is_accessible&&t.createElement("div",{className:e.lockWrap},t.createElement("img",{src:`${Z.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),t.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Fe.length&&t.createElement(lt.Z,null)))},o={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},s=r(65582),L=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={},tabBarExtraContent:At})=>t.createElement("div",{className:G()(o.tabs,qe),style:ht},t.createElement("div",{className:o.tabsWrap},Ue.map(($e,Dt)=>t.createElement("aside",{className:o.tab,onClick:()=>{ge($e.id),$e.link&&s.history.push($e.link)},key:Dt},t.createElement("div",{className:Fe===$e.id?o.active:""},$e.name),($e==null?void 0:$e.resetCount)==null&&($e==null?void 0:$e.total)!==void 0&&t.createElement("span",null,"\uFF08",$e==null?void 0:$e.total,"\uFF09"),($e==null?void 0:$e.resetCount)!==void 0&&($e==null?void 0:$e.total)!==void 0&&t.createElement(P.Z,{title:($e==null?void 0:$e.tip)!=null?$e==null?void 0:$e.tip:""},t.createElement("span",{style:{color:"#9096A3"}},"\uFF08",t.createElement("span",{style:{color:"#000"}},$e==null?void 0:$e.resetCount),"/",t.createElement("span",null,$e==null?void 0:$e.total),"\uFF09"))))),t.createElement("div",{className:o.tabBar},At)),w={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},ve=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={},tabBarExtraContent:At})=>t.createElement("div",{className:G()(w.tabs,qe),style:ht},t.createElement("div",{className:w.tabsWrap},Ue.map(($e,Dt)=>t.createElement("aside",{className:w.tab,onClick:()=>{ge($e.id),$e.link&&s.history.push($e.link)},key:Dt},t.createElement("div",{className:Fe===$e.id?w.active:""},$e.name),($e==null?void 0:$e.resetCount)==null&&($e==null?void 0:$e.total)!==void 0&&t.createElement("span",null,"\uFF08",$e==null?void 0:$e.total,"\uFF09"),($e==null?void 0:$e.resetCount)!==void 0&&($e==null?void 0:$e.total)!==void 0&&t.createElement(P.Z,{title:($e==null?void 0:$e.tip)!=null?$e==null?void 0:$e.tip:""},t.createElement("span",{style:{color:"#9096A3"}},"\uFF08",t.createElement("span",{style:{color:"#000"}},$e==null?void 0:$e.resetCount),"/",t.createElement("span",null,$e==null?void 0:$e.total),"\uFF09"))))),t.createElement("div",{className:w.tabBar},At)),Pe={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Ve=({dataSource:Ue=[],value:Fe,onChange:ge,className:qe,style:ht={},tabBarExtraContent:At})=>t.createElement("div",{className:G()(Pe.tabs,qe),style:ht},t.createElement("div",{className:Pe.tabsWrap},Ue.map(($e,Dt)=>t.createElement("aside",{className:`${Pe.tab} ${Fe===$e.id?Pe.active:""}`,onClick:()=>{ge($e.id),$e.link&&s.history.push($e.link)},key:Dt},t.createElement("div",null,$e.name),($e==null?void 0:$e.resetCount)==null&&($e==null?void 0:$e.total)!==void 0&&t.createElement("span",null,"\uFF08",$e==null?void 0:$e.total,"\uFF09"),($e==null?void 0:$e.resetCount)!==void 0&&($e==null?void 0:$e.total)!==void 0&&t.createElement(P.Z,{title:($e==null?void 0:$e.tip)!=null?$e==null?void 0:$e.tip:""},t.createElement("span",{style:{color:"#9096A3"}},"\uFF08",t.createElement("span",{style:{color:"#000"}},$e==null?void 0:$e.resetCount),"/",t.createElement("span",null,$e==null?void 0:$e.total),"\uFF09"))))),t.createElement("div",{className:Pe.tabBar},At)),Ne=({className:Ue,style:Fe={},children:ge})=>t.createElement("div",{className:G()(Ue),style:Fe},ge),Re={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},I=r(38854),H=r(20834);const $=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Le=({sortValue:Ue,dropValue:Fe,className:ge,onSort:qe,onDrop:ht,dataSource:At=$})=>{var $e;return t.createElement("div",{className:G()(Re.orderWrap,ge)},t.createElement(I.Z,{dropdownRender:()=>t.createElement(H.default,null,At.map((Dt,Xt)=>t.createElement(H.default.Item,{key:Xt,onClick:()=>ht(Dt.id)},Dt.name)))},t.createElement("span",{className:Re.orderTextWrap},($e=At.find(Dt=>Fe===Dt.id))==null?void 0:$e.name)),t.createElement("span",{className:Re.orderIconWrap},t.createElement("span",{className:Re.orderAsc},t.createElement("i",{className:Ue==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-up font12 ${Re.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")})),t.createElement("span",{className:Re.orderDesc},t.createElement("i",{className:Ue==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer} ${Re.active}`:`iconfont icon-sanjiaoxing-down font12 ${Re.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")}))))},ne={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Oe=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Y=({sortValue:Ue,dropValue:Fe,className:ge,onSort:qe,onDrop:ht,dataSource:At=Oe})=>{var $e;return t.createElement("div",{className:G()(ne.orderWrap,ge)},t.createElement(I.Z,{dropdownRender:()=>t.createElement(H.default,null,At.map((Dt,Xt)=>t.createElement(H.default.Item,{key:Xt,onClick:()=>ht(Dt.id)},Dt.name)))},t.createElement("span",{className:ne.orderTextWrap},($e=At.find(Dt=>Fe===Dt.id))==null?void 0:$e.name)),t.createElement("span",{className:ne.orderIconWrap},t.createElement("span",{className:ne.orderAsc},t.createElement("i",{className:Ue==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ne.cursorPointer} ${ne.active}`:`iconfont icon-sanjiaoxing-up font12 ${ne.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")})),t.createElement("span",{className:ne.orderDesc},t.createElement("i",{className:Ue==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ne.cursorPointer} ${ne.active}`:`iconfont icon-sanjiaoxing-down font12 ${ne.cursorPointer}`,onClick:()=>qe(Ue==="asc"?"desc":"asc")}))))},ee={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},pe=r(3113),he=r(2337),Ee=Object.defineProperty,xe=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,dt=(Ue,Fe,ge)=>Fe in Ue?Ee(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,gt=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))Qe.call(Fe,ge)&&dt(Ue,ge,Fe[ge]);if(xe)for(var ge of xe(Fe))ot.call(Fe,ge)&&dt(Ue,ge,Fe[ge]);return Ue},bt=(Ue,Fe)=>{var ge={};for(var qe in Ue)Qe.call(Ue,qe)&&Fe.indexOf(qe)<0&&(ge[qe]=Ue[qe]);if(Ue!=null&&xe)for(var qe of xe(Ue))Fe.indexOf(qe)<0&&ot.call(Ue,qe)&&(ge[qe]=Ue[qe]);return ge},Mt=(Ue,Fe,ge)=>new Promise((qe,ht)=>{var At=Xt=>{try{Dt(ge.next(Xt))}catch(ln){ht(ln)}},$e=Xt=>{try{Dt(ge.throw(Xt))}catch(ln){ht(ln)}},Dt=Xt=>Xt.done?qe(Xt.value):Promise.resolve(Xt.value).then(At,$e);Dt((ge=ge.apply(Ue,Fe)).next())}),ut=Ue=>{var Fe=Ue,{className:ge,style:qe,children:ht,loading:At=!1,openLoading:$e,onClick:Dt=()=>{},size:Xt="middle",shape:ln="round",theme:Yt}=Fe,yt=bt(Fe,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[qt,en]=(0,t.useState)(!1),yn=(0,t.useMemo)(()=>{switch(Yt){case he.Fy.THEMEONE:return ee.ThemeOne;case he.Fy.DEFAULT:default:return ee.btn}},[Yt]);return t.createElement(pe.ZP,gt({onClick:(0,X.throttle)($t=>Mt(void 0,null,function*(){$e&&en(!0);try{yield Dt($t)}catch(_t){console.log("error",_t)}$e&&en(!1)}),2e3,{leading:!0,trailing:!1}),className:G()(yn,ee[`${Xt}-${ln}`],ge),style:qe,size:Xt,shape:ln,loading:qt||At},yt),ht)},jt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ht=({className:Ue,style:Fe,children:ge=null,onClick:qe,title:ht})=>t.createElement("div",{className:G()(jt.head,Ue),style:Fe},t.createElement("span",{className:"primary-hover",onClick:qe},t.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),t.createElement("b",{title:ht},ht),t.createElement("div",{className:jt.node},ge)),St={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Qt=({confirmShow:Ue=!0,confirmTitle:Fe,confirmClick:ge,cancelShow:qe=!0,cancelTitle:ht,cancelClick:At,className:$e,style:Dt,confirmLoading:Xt=!1})=>t.createElement("div",{className:G()(St.btns,$e),style:Dt},Ue&&t.createElement(pe.ZP,{loading:Xt,onClick:ge,type:"primary",className:St.confirm},Fe),qe&&t.createElement(pe.ZP,{onClick:At,className:St.cancel},ht)),Ut={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},gn=({className:Ue,style:Fe={},LeftContent:ge,children:qe,RightContent:ht})=>t.createElement("div",{className:G()(Ut.fixedBottom,Ue),style:Fe},t.createElement("div",{className:Ut.wrap},t.createElement("div",{className:Ut.left},ge),t.createElement("div",{className:Ut.center},qe),t.createElement("div",{className:Ut.right},ht))),zt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Ft=({className:Ue,style:Fe={},dataSource:ge=[]})=>t.createElement("div",{className:G()(zt.crumbs,Ue),style:Fe},ge.map((qe,ht)=>hts.history.push(qe.path)},qe.name):t.createElement("span",null,qe.name),t.createElement("span",null,"\xA0",">","\xA0")):t.createElement("span",{key:ht,style:{color:"#5F6368"}},qe.name))),fn=r(31797),dn=Object.defineProperty,sn=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,tn=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,An=(Ue,Fe,ge)=>Fe in Ue?dn(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,Rt=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))kt.call(Fe,ge)&&An(Ue,ge,Fe[ge]);if(tn)for(var ge of tn(Fe))an.call(Fe,ge)&&An(Ue,ge,Fe[ge]);return Ue},Ct=(Ue,Fe)=>sn(Ue,rn(Fe)),Jt=(Ue,Fe)=>{var ge={};for(var qe in Ue)kt.call(Ue,qe)&&Fe.indexOf(qe)<0&&(ge[qe]=Ue[qe]);if(Ue!=null&&tn)for(var qe of tn(Ue))Fe.indexOf(qe)<0&&an.call(Ue,qe)&&(ge[qe]=Ue[qe]);return ge};const{Countdown:un}=fn.default;var Cn=Ue=>{var Fe=Ue,{onChange:ge}=Fe,qe=Jt(Fe,["onChange"]);const[ht,At]=(0,t.useState)(null);(0,t.useEffect)(()=>{typeof ht=="number"&&ht>=0&&ge(ht)},[ht]);const $e=Dt=>{const Xt=Math.floor(Dt/1e3);At(Xt)};return t.createElement(un,Ct(Rt({},qe),{onChange:$e}))},bn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Mn=({DataProps:Ue,className:Fe,style:ge={}})=>{var qe;return t.createElement("div",{className:G()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",bn.ClassRoomItem,Fe),style:ge,onClick:()=>{(0,F.xg)(Ue==null?void 0:Ue.first_category_url)}},t.createElement("div",{className:"flex flex-col item-center"},t.createElement("img",{src:`${(qe=Z.Z)==null?void 0:qe.IMG_SERVER}/images/${Ue==null?void 0:Ue.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Ue==null?void 0:Ue.subject_identifier)&&t.createElement("div",{className:"mt-40px"},t.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),t.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),t.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},t.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Ue!=null&&Ue.is_public)&&t.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),t.createElement("span",{className:G()("text-16px font-medium",bn.TitleDom)},Ue==null?void 0:Ue.name)),t.createElement("div",{className:"c-grey-333 font-medium"},Ue==null?void 0:Ue.creator),t.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Ue==null?void 0:Ue.course_members_count),t.createElement("div",{className:"c-grey-333 flex item-center justify-between"},t.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Ue==null?void 0:Ue.tasks_count),Ue!=null&&Ue.is_end?t.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):t.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Dn=Object.defineProperty,Pn=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Tn=(Ue,Fe,ge)=>Fe in Ue?Dn(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,Hn=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))zn.call(Fe,ge)&&Tn(Ue,ge,Fe[ge]);if(Pn)for(var ge of Pn(Fe))On.call(Fe,ge)&&Tn(Ue,ge,Fe[ge]);return Ue},Gn=({DataProps:Ue=[],selectValue:Fe,onChange:ge,className:qe,style:ht={},extra:At,classNameItem:$e,styleItem:Dt={},barHidden:Xt})=>{const[ln,Yt]=(0,t.useState)();return(0,t.useEffect)(()=>{Yt(Array.isArray(Fe)?Fe:[Fe])},[Fe]),t.createElement("div",{className:G()("flex px-20px py-10px gap-40px",qe),style:Hn({borderBottom:"1px solid #D3F0FF"},ht)},Ue==null?void 0:Ue.map(yt=>t.createElement("div",{key:yt==null?void 0:yt.id,className:G()("flex item-center justify-center current c-grey-333 text-16 relative",$e,yt==null?void 0:yt.className),style:Hn(Hn({color:ln!=null&&ln.includes(yt==null?void 0:yt.id)?"#1890FF":"",minWidth:88},Dt),(yt==null?void 0:yt.style)||{}),onClick:qt=>{ge==null||ge({domEvent:qt,item:yt}),yt!=null&&yt.link&&s.history.push(yt==null?void 0:yt.link)}},yt==null?void 0:yt.name,!Xt&&(ln==null?void 0:ln.includes(yt==null?void 0:yt.id))&&t.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),t.createElement("div",{className:"ml-auto"},At))},jn=Object.defineProperty,Zn=Object.defineProperties,er=Object.getOwnPropertyDescriptors,Un=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,mn=(Ue,Fe,ge)=>Fe in Ue?jn(Ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ue[Fe]=ge,vn=(Ue,Fe)=>{for(var ge in Fe||(Fe={}))tr.call(Fe,ge)&&mn(Ue,ge,Fe[ge]);if(Un)for(var ge of Un(Fe))Xn.call(Fe,ge)&&mn(Ue,ge,Fe[ge]);return Ue},Ln=(Ue,Fe)=>Zn(Ue,er(Fe)),Bn=({value:Ue,onChange:Fe,onInputChange:ge,className:qe,style:ht={},InputProps:At})=>{const[$e,Dt]=(0,t.useState)(Ue);return t.createElement("div",{className:G()("flex item-center rounded-full px-10px py-2px",qe),style:vn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ht)},t.createElement(Ae.default,Ln(vn({bordered:!1},At),{onChange:Xt=>{Dt(Xt.target.value),ge==null||ge(encodeURIComponent(Xt.target.value))},onPressEnter:Xt=>{Fe==null||Fe({domEvent:Xt,item:{value:$e}})}})),t.createElement("img",{className:"h-22px current",src:r(25365),height:22,onClick:Xt=>{Fe==null||Fe({domEvent:Xt,item:{value:$e}})}}))}},69118:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return Ge}});var t=r(59301),y=r(65582),C=r(8591),z=r(43418),m=r(99313),A=r(61621),j=r(5112),G={title:"title___XAxiE",radioWrap:"radioWrap___k0pOB",radio:"radio___x9kMt",colorFF0000:"colorFF0000___IMgd0",pagination:"pagination___ou2ht",checkboxWrapper:"checkboxWrapper___kF7xI"},X=r(65862),R=r(3918),Me=r(71418),v=r(24905),b=r(89540),de=r(26724),ae=r.n(de),be=(W,Te,g)=>new Promise((we,oe)=>{var K=P=>{try{q(g.next(P))}catch(ce){oe(ce)}},ie=P=>{try{q(g.throw(P))}catch(ce){oe(ce)}},q=P=>P.done?we(P.value):Promise.resolve(P.value).then(K,ie);q((g=g.apply(W,Te)).next())}),se=({username:W,setStages:Te,stages:g,hasError:we,setHasError:oe})=>{const[K,ie]=(0,t.useState)(""),[q,P]=(0,t.useState)(1),[ce,Z]=(0,t.useState)([]),[F,He]=(0,t.useState)(!1),[ze,rt]=(0,t.useState)(0);(0,t.useEffect)(()=>{lt({page:1,search:""},!0)},[]);const lt=(tt,et)=>be(void 0,null,function*(){He(!0);const nt=yield(0,b.w3)({username:W,category:"manage",page:tt.page,search:tt.search});He(!1),Z(Be=>et?nt==null?void 0:nt.subjects:[...Be,...nt==null?void 0:nt.subjects]),rt(nt==null?void 0:nt.count)}),st=(0,t.useRef)();return t.createElement("div",{className:G.wrap},t.createElement("div",{className:"mb10"},t.createElement(R.t7,{placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:K,style:{width:500},onChange:tt=>{ie(tt),P(1),st.current.scrollTo({behavior:"smooth",top:0}),lt({page:1,search:tt},!0)}})),t.createElement(Me.Z,{spinning:F},t.createElement("div",{className:G.radioWrap,ref:st},t.createElement(ae(),{initialLoad:!1,pageStart:1,threshold:6,loadMore:()=>{P(q+1),lt({page:q+1,search:K},!1)},hasMore:ce.length{Te({subjectId:tt.target.value,stage_ids:[]}),oe(!1)}},ce.map(tt=>{const et=tt.stages.map(nt=>({label:nt.name,value:nt.id}));return t.createElement("div",{key:tt.id},t.createElement(j.ZP,{className:G.radio,value:tt.id},tt.name),tt.id===g.subjectId&&t.createElement("div",{className:G.checkboxWrapper},et.length>0&&t.createElement(v.default,{indeterminate:g.stage_ids.length>0&&g.stage_ids.length{Te({subjectId:tt.id,stage_ids:nt.target.checked?et.map(Be=>Be.value):[]})},checked:g.stage_ids.length===et.length},"\u5168\u9009"),t.createElement(v.default.Group,{options:et,value:g.stage_ids,onChange:nt=>Te({subjectId:tt.id,stage_ids:nt})})))}))))),we&&t.createElement("div",{className:G.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u5B9E\u8DF5\u8BFE\u7A0B\u53CA\u7AE0\u8282"))},Se=r(70031),k=r(47735),V=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,x=(W,Te,g)=>Te in W?V(W,Te,{enumerable:!0,configurable:!0,writable:!0,value:g}):W[Te]=g,_=(W,Te)=>{for(var g in Te||(Te={}))d.call(Te,g)&&x(W,g,Te[g]);if(p)for(var g of p(Te))S.call(Te,g)&&x(W,g,Te[g]);return W},le=(W,Te)=>{var g={};for(var we in W)d.call(W,we)&&Te.indexOf(we)<0&&(g[we]=W[we]);if(W!=null&&p)for(var we of p(W))Te.indexOf(we)<0&&S.call(W,we)&&(g[we]=W[we]);return g},Ae=(W,Te,g)=>new Promise((we,oe)=>{var K=P=>{try{q(g.next(P))}catch(ce){oe(ce)}},ie=P=>{try{q(g.throw(P))}catch(ce){oe(ce)}},q=P=>P.done?we(P.value):Promise.resolve(P.value).then(K,ie);q((g=g.apply(W,Te)).next())});const We=W=>{var Te=W,{userDetail:g,globalSetting:we,loading:oe,user:K,dispatch:ie}=Te,q=le(Te,["userDetail","globalSetting","loading","user","dispatch"]),P,ce,Z,F,He;const[ze,rt]=(0,t.useState)("course"),[lt,st]=(0,t.useState)(""),[tt,et]=(0,t.useState)([]),[nt,Be]=(0,t.useState)(),[Xe,J]=(0,t.useState)(!1),[M,E]=(0,t.useState)(!1);(0,t.useEffect)(()=>{g.actionTabs.key==="UserDetail-SendToClass"&&B(lt)},[g.actionTabs.key]);const B=u=>Ae(void 0,null,function*(){J(!0);const O=yield ie({type:"userDetail/topicGetCourseList",payload:{search:u}});O&&et((O==null?void 0:O.courses)||[]),J(!1)}),[T,te]=(0,t.useState)({subjectId:"",stage_ids:[]}),c=()=>Ae(void 0,null,function*(){var u,O,f,h,Q,Ie;if(ze==="course"){if(!nt){E(!0);return}const ue=yield ie({type:"userDetail/topicSendToClass",payload:_({course_id:nt},(u=g.actionTabs)==null?void 0:u.params)});if(ie({type:"userDetail/setActionTabs",payload:{}}),ue&&ue.status===0){const ke={normal:"common_homework",group:"group_homework",exercise:"exercise",poll:"poll",videos:"video"};(0,X.xg)(`/classrooms/${nt}/${ke[(f=(O=g.actionTabs)==null?void 0:O.params)==null?void 0:f.object_type]}`)}}else{if(!T.subjectId||!T.stage_ids.length){E(!0);return}(yield(0,k.nI)({id:(Q=(h=g.actionTabs)==null?void 0:h.params)==null?void 0:Q.object_id,login:(Ie=K.userInfo)==null?void 0:Ie.login},{stage_ids:T.stage_ids})).status===0&&(C.ZP.success("\u53D1\u9001\u6210\u529F"),ie({type:"userDetail/setActionTabs",payload:{}}),(0,X.xg)(`/paths/${T.subjectId}`))}});return t.createElement(z.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:g.actionTabs.key==="UserDetail-SendToClass",title:"\u53D1\u9001",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:oe["userDetail/sendToClass"],width:600,afterClose:()=>{E(!1),et([]),te({subjectId:"",stage_ids:[]}),st("")},onOk:c,wrapClassName:Se.Z.CustomCss,onCancel:()=>{ie({type:"userDetail/setActionTabs",payload:{}})}},t.createElement(m.default,{activeKey:ze,onChange:u=>{E(!1),rt(u)},items:[{label:"\u8BFE\u5802",key:"course",children:t.createElement("div",{className:G.wrap},t.createElement("div",{className:"mb10"},t.createElement(R.t7,{placeholder:"\u8BF7\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:lt,style:{width:500},onChange:u=>{st(u),B(u)}})),t.createElement(A.Z,{active:!0,loading:Xe},t.createElement("div",{className:G.radioWrap},t.createElement(j.ZP.Group,{value:nt,onChange:u=>{Be(u.target.value),E(!1)}},tt.map((u,O)=>t.createElement(j.ZP,{className:G.radio,value:u.course_id,key:u.course_id},u.course_name))))),((ce=(P=g.actionTabs)==null?void 0:P.params)==null?void 0:ce.object_type)!=="videos"&&t.createElement("div",{className:G.title},"\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"),M&&t.createElement("div",{className:G.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802")),show:!0},{label:"\u5B9E\u8DF5\u8BFE\u7A0B",key:"subject",children:t.createElement(se,{username:(Z=K.userInfo)==null?void 0:Z.login,stages:T,setStages:te,hasError:M,setHasError:E}),show:((He=(F=g.actionTabs)==null?void 0:F.params)==null?void 0:He.object_type)==="videos"}].filter(u=>u.show)}))};var Ge=(0,y.connect)(({userDetail:W,loading:Te,globalSetting:g,user:we})=>({userDetail:W,globalSetting:g,loading:Te.effects,user:we}))(We)},51405:function(mt,Ye,r){"use strict";r.r(Ye),r.d(Ye,{default:function(){return c}});var t=r(59301),y=r(65582),C=r(43418),z=r(8591),m=r(61621),A=r(58421),j=r(2524),G=r(78241),X=r(92832),R=r(54580),Me=r(3113),v=r(38147),b=r(74128),de=r(19248),ae=Object.defineProperty,be=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Se=(u,O,f)=>O in u?ae(u,O,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[O]=f,k=(u,O)=>{for(var f in O||(O={}))Ke.call(O,f)&&Se(u,f,O[f]);if(be)for(var f of be(O))se.call(O,f)&&Se(u,f,O[f]);return u},V=(u,O,f)=>new Promise((h,Q)=>{var Ie=ye=>{try{ke(f.next(ye))}catch(De){Q(De)}},ue=ye=>{try{ke(f.throw(ye))}catch(De){Q(De)}},ke=ye=>ye.done?h(ye.value):Promise.resolve(ye.value).then(Ie,ue);ke((f=f.apply(u,O)).next())});const p=({userDetail:u,user:O,cb:f,loading:h,dispatch:Q})=>{const{actionTabs:Ie}=u,[ue]=G.default.useForm(),[ke,ye]=(0,t.useState)(!1),[De,N]=(0,t.useState)(void 0);(0,t.useEffect)(()=>{var U,Je;u.actionTabs.key==="\u7F16\u8F91\u89C6\u9891"&&(ue.setFieldsValue({title:Ie.data.title,attachment_id:(U=Ie==null?void 0:Ie.data)==null?void 0:U.attachment_id}),N((Je=Ie==null?void 0:Ie.data)==null?void 0:Je.attachment_id))},[u.actionTabs.key]);const me=()=>t.createElement("div",{style:{position:"relative",backgroundColor:"#f4f3f4",display:"flex",alignItems:"center",justifyContent:"center"}},t.createElement("img",{src:b.Z.API_SERVER+"/api/attachments/"+De,alt:"avatar",style:{width:288}}),t.createElement("div",{style:{position:"absolute",right:"-6px",top:"-6px",cursor:"pointer",backgroundColor:"#fff",width:"16px",height:"16px",borderRadius:"50%"}},t.createElement(de.Z,{onClick:()=>N(void 0),style:{fontSize:"16px",color:"red"}}))),je=U=>{var Je,ct,_e,at,pt,Pt;if(U.file.status==="uploading"){ye(!0);return}if(U.file.status==="done"){if(ye(!1),U.file.status==="done"&&((ct=(Je=U.file)==null?void 0:Je.response)==null?void 0:ct.status)===-1){z.ZP.error((at=(_e=U.file)==null?void 0:_e.response)==null?void 0:at.message);return}N((Pt=(pt=U==null?void 0:U.file)==null?void 0:pt.response)==null?void 0:Pt.id)}};return t.createElement(C.default,{bodyStyle:{padding:"30px 40px"},centered:!0,open:u.actionTabs.key==="\u7F16\u8F91\u89C6\u9891",footer:null,width:643,destroyOnClose:!0,closable:!1},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"42px"}},t.createElement("div",{style:{fontSize:"16px",fontWeight:"500",color:"#000",lineHeight:"16px"}},"\u89C6\u9891\u6807\u9898\u7F16\u8F91"),t.createElement("i",{className:"icon-danchuangguanbi iconfont",style:{fontSize:"15px",cursor:"pointer"},onClick:()=>{Q({type:"userDetail/setActionTabs",payload:{}})}})),Ie.data&&t.createElement(G.default,{form:ue},t.createElement(G.default.Item,{label:"\u89C6\u9891\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}],style:{marginBottom:"34px"}},t.createElement(X.default,{maxLength:60})),t.createElement(G.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:",style:{marginBottom:"34px"}},De?me():t.createElement(R.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${b.Z.API_SERVER}/api/attachments.json`,onChange:je,accept:"image/*"},t.createElement(Me.ZP,{loading:ke,icon:t.createElement("i",{className:"iconfont icon-shangchuantupian2"})},t.createElement("span",{style:{marginLeft:"3px"}},"\u4E0A\u4F20\u56FE\u7247")))),t.createElement("aside",null,"\u4EC5\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528278*225\u50CF\u7D20\uFF1B\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"),t.createElement(G.default.Item,null,t.createElement(Me.ZP,{style:{float:"right",marginLeft:"20px"},loading:ke,onClick:()=>V(void 0,null,function*(){var U,Je,ct;ue.setFieldsValue({attachment_id:De||((U=Ie==null?void 0:Ie.data)!=null&&U.attachment_id?(Je=Ie==null?void 0:Ie.data)==null?void 0:Je.attachment_id:void 0)});const _e=k({},yield ue.validateFields());(yield(0,v.ZP)(`/api/users/${(ct=O==null?void 0:O.userInfo)==null?void 0:ct.login}/videos/${Ie.data.id}/change_cover.json`,{method:"put",body:k({},_e)}))&&(z.ZP.success("\u4FEE\u6539\u6210\u529F"),Q({type:"userDetail/setActionTabs",payload:{}}),f())})},"\u786E\u5B9A"),t.createElement(Me.ZP,{style:{float:"right"},onClick:()=>{Q({type:"userDetail/setActionTabs",payload:{}})}},"\u53D6\u6D88"))))};var d=(0,y.connect)(({userDetail:u,loading:O,user:f})=>({userDetail:u,loading:O,user:f}))(p),S=r(18889),x=r(6848),_=r(71418),le=r(36193),Ae=r(56102),We={flex_box_center:"flex_box_center___XLvPY",flex_space_between:"flex_space_between___olqDv",flex_box_vertical_center:"flex_box_vertical_center___7Ehj3",flex_box_center_end:"flex_box_center_end___eAyvU",flex_box_column:"flex_box_column___h6EKr",wrap:"wrap___jMjpV",bottomActionWrap:"bottomActionWrap___MLvvL",playIconWrap2:"playIconWrap2___tjBpv",playIcon:"playIcon___Zxs9h",playIconWrap:"playIconWrap___yexC0",linkWrap:"linkWrap___mfd8s",link:"link___XFVyj",imgWrap:"imgWrap___VBvxW",cardBottom:"cardBottom___afGBc",bottomTitle:"bottomTitle___ZuGLa",actionIcon:"actionIcon___yvtTa",timeWrap:"timeWrap___j2lof",time:"time___IA2yw",peopleWrap:"peopleWrap___O2Jrn",playTime:"playTime___apDZs",bottomTitleTip:"bottomTitleTip___nLAHv"},Ge=r(86340),W=Object.defineProperty,Te=Object.defineProperties,g=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,ie=(u,O,f)=>O in u?W(u,O,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[O]=f,q=(u,O)=>{for(var f in O||(O={}))oe.call(O,f)&&ie(u,f,O[f]);if(we)for(var f of we(O))K.call(O,f)&&ie(u,f,O[f]);return u},P=(u,O)=>Te(u,g(O));const ce="90%",Z="55%",F=({data:u,isReview:O,dispatch:f,onDelete:h=()=>{},logWatchHistory:Q=()=>{},onSend:Ie=()=>{}})=>{const[ue,ke]=(0,t.useState)(),[ye,De]=(0,t.useState)({}),N=U=>{if(isNaN(U))return{minutes:"00",seconds:"00"};const Je=new Date(U*1e3).toISOString().substr(11,8);return{hour:Je.substr(0,2),minutes:Je.substr(3,2),seconds:Je.substr(6,2)}},me=U=>{U.link||(ke(!0),De({videoId:U.id,file_url:U.play_url||U.file_url,copyUrl:je(U.play_url||U.file_url,U.cover_url),logWatchHistory:Q}))},je=(U,Je)=>{if(U)return``};return t.createElement(t.Fragment,null,u&&u.map((U,Je)=>{var ct;const _e=N(U.play_duration||0),at=(ct=U==null?void 0:U.cover_url)!=null&&ct.includes("https")?U.cover_url:b.Z.API_SERVER+U.cover_url;return t.createElement("a",{className:We.wrap,key:U.id},t.createElement(S.Z,null,t.createElement(x.Z,{title:"\u89C6\u9891\u65F6\u957F",placement:"bottom"},t.createElement("div",{className:We.playTime},_e.hour==="00"?"":_e.hour+":",_e.minutes+":",_e.seconds)),t.createElement(_.Z,{tip:"\u6B63\u5728\u8F6C\u7801\uFF0C\u8BF7\u7A0D\u7B49...",spinning:!U.transcoded&&!U.link},t.createElement("div",{className:We.imgWrap},t.createElement("img",{src:at}),U.link&&t.createElement("a",{className:We.linkWrap,href:U.link,target:"_blank",title:U.title},t.createElement("span",{className:We.link},"\u5916\u94FE")),O?t.createElement("div",{className:We.playIconWrap2},t.createElement("img",{className:We.playIcon,src:le})):t.createElement("div",{className:We.playIconWrap,onClick:()=>{!O&&me(U)}},t.createElement("img",{className:We.playIcon,src:le})),t.createElement("div",{className:We.bottomActionWrap},t.createElement("span",{className:We.peopleWrap},!!U.people_num&&t.createElement(x.Z,{title:"\u89C2\u770B\u4EBA\u6570",placement:"bottom"},t.createElement("i",{className:"icon-dianjiliang iconfont font12"},U.people_num))),t.createElement("div",null,t.createElement(x.Z,{title:"\u7F16\u8F91",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-bianji10 iconfont`,onClick:()=>{f({type:"userDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u89C6\u9891",data:U}})},style:{marginTop:"1px",display:"inline-block"}})),!O&&t.createElement(Ae.CopyToClipboard,{text:je(U.play_url||U.file_url,U.cover_url),onCopy:()=>z.ZP.success("\u590D\u5236\u6210\u529F")},t.createElement(x.Z,{title:"\u590D\u5236\u94FE\u63A5",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-lianjie2 iconfont`}))),t.createElement(x.Z,{title:"\u5220\u9664",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-shanchu12 iconfont`,onClick:()=>h(U.id)})),(U==null?void 0:U.status)!="processing"&&t.createElement(x.Z,{title:"\u53D1\u9001",placement:"top"},t.createElement("i",{className:`${We.actionIcon} icon-fasongzhiketang`,onClick:()=>Ie(U.id)})))))),t.createElement("div",{className:We.cardBottom},t.createElement(x.Z,{overlayClassName:We.bottomTitleTip,getPopupContainer:pt=>pt.parentNode,title:U==null?void 0:U.title,placement:"bottom",autoAdjustOverflow:!1,arrowPointAtCenter:!0,mouseEnterDelay:0,mouseLeaveDelay:0},t.createElement("div",{className:We.bottomTitle},U.title)),U.total_time&&t.createElement("div",{className:We.timeWrap},t.createElement("div",{className:We.time},U.total_time&&`\u7D2F\u8BA1\u5B66\u4E60\u65F6\u957F\uFF1A${U.total_time}`)))))}),t.createElement(Ge.K,P(q({},ye),{visible:ue,allow_skip:!0,width:800,onClose:()=>{ke(!1),De({})}})))};var He=(0,y.connect)(({userDetail:u})=>({userDetail:u}))(F),ze={flex_box_center:"flex_box_center___IcqlF",flex_space_between:"flex_space_between___wI3bO",flex_box_vertical_center:"flex_box_vertical_center___wd4F6",flex_box_center_end:"flex_box_center_end___sX6yw",flex_box_column:"flex_box_column___oOUfO",body:"body___qkQFy",status:"status___lJSfh",datalist:"datalist___u3xx3",pager:"pager___inNi6",wrap:"wrap___u5nsU",midWrap:"midWrap___AEcVw",color999:"color999___UbIGq",orderWrap:"orderWrap___NBpTb",orderIconWrap:"orderIconWrap___BWV6J",orderAsc:"orderAsc___d0bIf",orderDesc:"orderDesc___XbnhV",color0152d9:"color0152d9___QUmiG",h10:"h10___aHhYp",cursorPointer:"cursorPointer___tv0ub",orderTextWrap:"orderTextWrap___xIS1a",cardWrap:"cardWrap___YxQcT",countWrap:"countWrap___nr9pc",colorRed:"colorRed___zZSQ2",modal:"modal___AyGQi"},rt=r(66457),lt=r(77254),st=r(3918),tt=r(65862),et=r(69118),nt=Object.defineProperty,Be=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,M=(u,O,f)=>O in u?nt(u,O,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[O]=f,E=(u,O)=>{for(var f in O||(O={}))Xe.call(O,f)&&M(u,f,O[f]);if(Be)for(var f of Be(O))J.call(O,f)&&M(u,f,O[f]);return u},B=(u,O)=>{var f={};for(var h in u)Xe.call(u,h)&&O.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&Be)for(var h of Be(u))O.indexOf(h)<0&&J.call(u,h)&&(f[h]=u[h]);return f},T=(u,O,f)=>new Promise((h,Q)=>{var Ie=ye=>{try{ke(f.next(ye))}catch(De){Q(De)}},ue=ye=>{try{ke(f.throw(ye))}catch(De){Q(De)}},ke=ye=>ye.done?h(ye.value):Promise.resolve(ye.value).then(Ie,ue);ke((f=f.apply(u,O)).next())});const te=u=>{var O=u,{user:f,userDetail:h,globalSetting:Q,loading:Ie,dispatch:ue}=O,ke=B(O,["user","userDetail","globalSetting","loading","dispatch"]),ye;const[De]=(0,y.useSearchParams)(),N=(0,y.useLocation)(),me=(0,t.useRef)(),[je,U]=(0,t.useState)(0),[Je,ct]=(0,t.useState)([]),[_e,at]=(0,t.useState)({category:De.get("category")||"all",page:1,per_page:15,sort_by:"published_at",sort_direction:"desc",username:null,search:null}),[pt,Pt]=(0,t.useState)(!1);(0,t.useEffect)(()=>{var vt;me.current=(vt=N.pathname.split("/"))==null?void 0:vt[2],_e.username=me.current,at(_e),xt(_e)},[N.pathname]);const Nt=((ye=N.pathname.split("/"))==null?void 0:ye[3])||"classrooms";(0,t.useEffect)(()=>lt.Z.subscribe("user-detail-search",Kt=>T(void 0,null,function*(){if(Nt===Kt.currentTabName){const En={category:"all",page:1,per_page:15,sort_by:"published_at",sort_direction:"desc",username:me.current,search:Kt.value};at(En),Pt(!1),yield xt(En),Pt(!0)}})),[]);const xt=vt=>T(void 0,null,function*(){let Kt;vt.category==="all"?Kt=yield ue({type:"userDetail/getVideos",payload:vt}):Kt=yield ue({type:"userDetail/getReviewVideos",payload:vt}),Kt&&(U((Kt==null?void 0:Kt.count)||0),ct((Kt==null?void 0:Kt.videos)||[]))}),nn=vt=>{_e.search=vt,_e.page=1,at(_e),xt(_e)},Et=vt=>{var Kt;_e.category=vt,_e.page=1,(Kt=window.location.href.toString())!=null&&Kt.includes("category")?(0,tt.jz)("category",vt):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&category=${vt}`:`?category=${vt}`),at(_e),xt(_e)},ft=()=>{_e.sort_direction=_e.sort_direction==="desc"?"asc":"desc",at(_e),xt(_e)},Ot=vt=>{_e.page=vt,at(_e),xt(_e)},Gt=()=>{var vt,Kt;((vt=f.userInfo)!=null&&vt.admin||(Kt=f.userInfo)!=null&&Kt.is_teacher&&(0,rt.O5)())&&y.history.push(`/users/${me.current}/videos/upload`)},wt=vt=>{const Kt=C.default.confirm({icon:null,centered:!0,content:t.createElement("div",{style:{margin:"0px ",width:370}},t.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"42px"}},t.createElement("span",{style:{fontWeight:"500",color:"#000000",lineHeight:"16px"}},"\u63D0\u793A"),t.createElement("i",{className:"icon-danchuangguanbi iconfont",style:{cursor:"pointer"},onClick:()=>{Kt.destroy()}})),t.createElement("div",{className:ze.modal},"\u8BE5\u89C6\u9891\u5C06\u88AB\u5220\u9664\uFF0C\u4E0D\u53EF\u6062\u590D\uFF0C\u662F\u5426\u786E\u8BA4\u5220\u9664?")),okType:"default",onOk:()=>T(void 0,null,function*(){(yield ue({type:"userDetail/deleteVideo",payload:{id:vt,username:me.current}}))&&(z.ZP.info("\u89C6\u9891\u5220\u9664\u6210\u529F\uFF01"),_e.page>1&&(Je==null?void 0:Je.length)===1&&(_e.page=_e.page-1,at(E({},_e))),xt(_e))})})},Vt=vt=>{ue({type:"userDetail/setActionTabs",payload:{key:"UserDetail-SendToClass",params:{object_id:vt,username:me.current,object_type:"videos"}}})},Tt=vt=>ue({type:"userDetail/logWatchHistory",payload:vt}),Zt=[{id:"all",name:"\u5BA1\u6838\u901A\u8FC7\u89C6\u9891"},{id:"pending",name:"\u5F85\u5BA1\u6838\u89C6\u9891"}],cn=[{id:"published_at",name:"\u6700\u65B0\u4E0A\u4F20"}];return t.createElement("div",{className:ze.body},t.createElement(st.YG,{onChange:Et,value:_e.category,tabBarExtraContent:t.createElement(st.t7,{style:{width:303},placeholder:"\u641C\u7D22\u89C6\u9891",value:_e.search,onChange:nn}),className:"mb25",dataSource:Zt}),t.createElement("div",{className:ze.status},t.createElement(st.cq,{dataSource:cn,sortValue:_e.sort_direction,dropValue:_e.sort_by,onSort:ft,onDrop:()=>{console.log(123123)}}),t.createElement(st.op,{style:{marginLeft:"auto"},onClick:Gt},"\u4E0A\u4F20\u89C6\u9891")),t.createElement(m.Z,{loading:!!(Ie["userDetail/getVideos"]||Ie["userDetail/getReviewVideos"]),active:!0,paragraph:{rows:5}},Je.length==0?t.createElement(j.Z,null):t.createElement("div",{className:ze.datalist},t.createElement(He,{data:Je,isReview:_e.category==="pending",onDelete:wt,onSend:Vt,logWatchHistory:Tt})),t.createElement("div",{className:ze.pager},je>_e.per_page&&t.createElement(A.Z,{showQuickJumper:!0,showSizeChanger:!1,total:je,onChange:vt=>Ot(vt),pageSize:_e.per_page,current:_e.page}))),t.createElement(et.Z,null),t.createElement(d,{cb:()=>xt(_e)}))};var c=(0,y.connect)(({user:u,userDetail:O,loading:f,globalSetting:h})=>({user:u,userDetail:O,globalSetting:h,loading:f.effects}))(te)},84056:function(mt,Ye,r){"use strict";r.d(Ye,{BU:function(){return y},Dj:function(){return t},gH:function(){return C},vp:function(){return z}});function t(m){try{m.mozRequestFullScreen?m.mozRequestFullScreen():m.webkitRequestFullScreen&&m.webkitRequestFullScreen()}catch(A){console.log(A,":e")}}function y(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const C=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function z(){var m=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,A=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",m),window.isFullScreen?window.isFullScreen:m!=null}},66457:function(mt,Ye,r){"use strict";r.d(Ye,{rX:function(){return V},pW:function(){return p},gy:function(){return d},xY:function(){return k},O5:function(){return Se},tJ:function(){return de},o1:function(){return ae},Rd:function(){return se}});var t=r(65582),y=r(43418),C=r(28103),z=r(8591),m=r(41867),A=r(65862),j=r(87169),G=r(25510),X="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrO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eZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",R=r.p+"static/newqrcode.a8740efb.png",Me=r(32637),v=r(59301),b=(S,x,_)=>new Promise((le,Ae)=>{var We=Te=>{try{W(_.next(Te))}catch(g){Ae(g)}},Ge=Te=>{try{W(_.throw(Te))}catch(g){Ae(g)}},W=Te=>Te.done?le(Te.value):Promise.resolve(Te.value).then(We,Ge);W((_=_.apply(S,x)).next())});const de=(S,x=!1)=>!!(ae(S)&&be(x)),ae=S=>(0,m.bg)()?!0:(S({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),be=(S=!1)=>{var x;const{user:_}=(0,t.getDvaApp)()._store.getState();return(x=_.userInfo)!=null&&x.profile_completed?!0:(y.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,A.xg)("/account/profile/edit"),Ke()}}),!1)},Ke=()=>{y.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()}})},se=()=>{y.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:v.createElement("div",{style:{textAlign:"center"}},v.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"),v.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Me}),v.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Se=()=>{var S;const{user:x}=(0,t.getDvaApp)()._store.getState();return(S=x.userInfo)!=null&&S.professional_certification?!0:(y.default.confirm({title:"\u63D0\u793A",centered:!0,content:v.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,A.xg)("/account/certification")}}),!1)},k=()=>(0,m.V9)()?!0:(y.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:v.createElement("div",{className:"tc",style:{marginLeft:-38}},v.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),v.createElement("img",{src:R,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),V=(S,x)=>S?!0:(y.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:v.createElement("div",null,v.createElement("p",null,x||"\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"),v.createElement("div",{style:{marginLeft:"110px"}},v.createElement("img",{src:X,width:200}),v.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,A.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),p=S=>{y.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:v.createElement("div",null,v.createElement("div",null,v.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"),v.createElement(C.Z,null),v.createElement("p",{style:{color:"#666666",fontSize:12}}," ",v.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 ",v.createElement("a",null,S),"\u5929\u3002"),v.createElement("p",{style:{color:"#666666",fontSize:12}}," ",v.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")),v.createElement("div",{style:{textAlign:"center",marginTop:30}},v.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:G,alt:"\u4E8C\u7EF4\u7801",width:160})))})},d=(S,x="")=>{const{shixunsDetail:{detail:_}}=(0,t.getDvaApp)()._store.getState();if((_==null?void 0:_.public)===2||(_==null?void 0:_.public)===1||(_==null?void 0:_.shixun_status)===3){let le="";return(_==null?void 0:_.public)===2&&(le="\u5DF2\u516C\u5F00"),(_==null?void 0:_.public)===1&&(le="\u5F85\u5BA1\u6838"),(_==null?void 0:_.shixun_status)===3&&(le="\u5DF2\u5173\u95ED"),y.default.info({centered:!0,icon:v.createElement(j.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:v.createElement("div",{className:"tc",style:{marginLeft:-38}},v.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},v.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",le,"\uFF0C",x,"\u3002"),v.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),v.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:G,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(_==null?void 0:_.shixun_status)===2?(y.default.confirm({centered:!0,icon:v.createElement(j.Z,null),title:"\u63D0\u793A",content:v.createElement("div",null,v.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",x,"\u3002"),v.createElement("br",null),v.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:()=>{y.default.confirm({width:440,centered:!0,icon:v.createElement(j.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:()=>b(void 0,null,function*(){(yield S({type:"shixunsDetail/cancelRelease",payload:{id:_==null?void 0:_.identifier}})).status!==401&&(z.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),S({type:"shixunsDetail/getShixunsDetail",payload:{id:_==null?void 0:_.identifier}}),S({type:"practiceSetting/getCommonData",payload:{id:_==null?void 0:_.identifier}}))})})}}),!0):!1}},73217:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return En}});class t{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let i=Object(e);for(let a=1;a ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","error",a),m.ENABLE_ERROR&&(console.error?console.error(a):console.warn?console.warn(a):console.log(a))}static i(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","info",a),m.ENABLE_INFO&&(console.info?console.info(a):console.log(a))}static w(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","warn",a),m.ENABLE_WARN&&(console.warn?console.warn(a):console.log(a))}static d(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","debug",a),m.ENABLE_DEBUG&&(console.debug?console.debug(a):console.log(a))}static v(e,i){(!e||m.FORCE_GLOBAL_TAG)&&(e=m.GLOBAL_TAG);let a=`[${e}] > ${i}`;m.ENABLE_CALLBACK&&m.emitter.emit("log","verbose",a),m.ENABLE_VERBOSE&&console.log(a)}}m.GLOBAL_TAG="flv.js",m.FORCE_GLOBAL_TAG=!1,m.ENABLE_ERROR=!0,m.ENABLE_INFO=!0,m.ENABLE_WARN=!0,m.ENABLE_DEBUG=!0,m.ENABLE_VERBOSE=!0,m.ENABLE_CALLBACK=!1,m.emitter=new(z());var A=m;class j{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var G=j;class X{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class R extends X{constructor(e){super(e)}get name(){return"IllegalStateException"}}class Me extends X{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class v extends X{constructor(e){super(e)}get name(){return"NotImplementedException"}}const b={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},de={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class ae{constructor(e){this._type=e||"undefined",this._status=b.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=b.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===b.kConnecting||this._status===b.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,i){throw new v("Unimplemented abstract function!")}abort(){throw new v("Unimplemented abstract function!")}}let be={};function Ke(){let it=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(it)||/(opr)[\/]([\w.]+)/.exec(it)||/(chrome)[ \/]([\w.]+)/.exec(it)||/(iemobile)[\/]([\w.]+)/.exec(it)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(it)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(it)||/(webkit)[ \/]([\w.]+)/.exec(it)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(it)||/(msie) ([\w.]+)/.exec(it)||it.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(it)||it.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(it)||[],i=/(ipad)/.exec(it)||/(ipod)/.exec(it)||/(windows phone)/.exec(it)||/(iphone)/.exec(it)||/(kindle)/.exec(it)||/(android)/.exec(it)||/(windows)/.exec(it)||/(mac)/.exec(it)||/(linux)/.exec(it)||/(cros)/.exec(it)||[],a={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:i[0]||""},n={};if(a.browser){n[a.browser]=!0;let o=a.majorVersion.split(".");n.version={major:parseInt(a.majorVersion,10),string:a.version},o.length>1&&(n.version.minor=parseInt(o[1],10)),o.length>2&&(n.version.build=parseInt(o[2],10))}if(a.platform&&(n[a.platform]=!0),(n.chrome||n.opr||n.safari)&&(n.webkit=!0),n.rv||n.iemobile){n.rv&&delete n.rv;let o="msie";a.browser=o,n[o]=!0}if(n.edge){delete n.edge;let o="msedge";a.browser=o,n[o]=!0}if(n.opr){let o="opera";a.browser=o,n[o]=!0}if(n.safari&&n.android){let o="android";a.browser=o,n[o]=!0}n.name=a.browser,n.platform=a.platform;for(let o in be)be.hasOwnProperty(o)&&delete be[o];Object.assign(be,n)}Ke();var se=be;class Se extends ae{static isSupported(){try{let e=se.msedge&&se.version.minor>=15048,i=se.msedge?e:!0;return self.fetch&&self.ReadableStream&&i}catch(e){return!1}}constructor(e,i){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=i,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,i){this._dataSource=e,this._range=i;let a=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(a=e.redirectedURL);let n=this._seekHandler.getConfig(a,i),o=new self.Headers;if(typeof n.headers=="object"){let l=n.headers;for(let L in l)l.hasOwnProperty(L)&&o.append(L,l[L])}let s={method:"GET",headers:o,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let l in this._config.headers)o.append(l,this._config.headers[l]);e.cors===!1&&(s.mode="same-origin"),e.withCredentials&&(s.credentials="include"),e.referrerPolicy&&(s.referrerPolicy=e.referrerPolicy),this._status=b.kConnecting,self.fetch(n.url,s).then(l=>{if(this._requestAbort){this._requestAbort=!1,this._status=b.kIdle;return}if(l.ok&&l.status>=200&&l.status<=299){if(l.url!==n.url&&this._onURLRedirect){let w=this._seekHandler.removeURLParameters(l.url);this._onURLRedirect(w)}let L=l.headers.get("Content-Length");return L!=null&&(this._contentLength=parseInt(L),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,l.body.getReader())}else if(this._status=b.kError,this._onError)this._onError(de.HTTP_STATUS_CODE_INVALID,{code:l.status,msg:l.statusText});else throw new X("FetchStreamLoader: Http code invalid, "+l.status+" "+l.statusText)}).catch(l=>{if(this._status=b.kError,this._onError)this._onError(de.EXCEPTION,{code:-1,msg:l.message});else throw l})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(i=>{if(i.done)if(this._contentLength!==null&&this._receivedLength{if(i.code===11&&se.msedge)return;this._status=b.kError;let a=0,n=null;if((i.code===19||i.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=b.kError,this._onError)this._onError(de.HTTP_STATUS_CODE_INVALID,{code:i.status,msg:i.statusText});else throw new X("MozChunkedLoader: Http code invalid, "+i.status+" "+i.statusText);else this._status=b.kBuffering}}_onProgress(e){if(this._status===b.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let i=e.target.response,a=this._range.from+this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,a,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===b.kError)return;this._status=b.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=b.kError;let i=0,a=null;if(this._contentLength&&e.loaded=200&&i.status<=299){if(this._status=LoaderStatus.kBuffering,i.responseURL!=null){let n=this._seekHandler.removeURLParameters(i.responseURL);i.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}let a=i.getResponseHeader("Content-Length");if(a!=null&&this._contentLength==null){let n=parseInt(a);n>0&&(this._contentLength=n,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:i.status,msg:i.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+i.status+" "+i.statusText);else if(i.readyState===3&&i.status>=200&&i.status<=299){this._status=LoaderStatus.kBuffering;let a=i.response;this._reader.readAsArrayBuffer(a)}}_xhrOnError(e){this._status=LoaderStatus.kError;let i=LoaderErrors.EXCEPTION,a={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(i,a);else throw new RuntimeException(a.msg)}_msrOnProgress(e){let a=e.target.result;if(a==null){this._doReconnectIfNeeded();return}let n=a.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=a.byteLength;let o=this._totalRange.from+this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,o,this._receivedLength),a.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${o+n.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(a=this._range.from+this._contentLength-1),this._currentRequestRange={from:i,to:a},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,i){this._lastTimeLoaded=0;let a=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?a=this._currentRedirectedURL:e.redirectedURL!=null&&(a=e.redirectedURL));let n=this._seekHandler.getConfig(a,i);this._currentRequestURL=n.url;let o=this._xhr=new XMLHttpRequest;if(o.open("GET",n.url,!0),o.responseType="arraybuffer",o.onreadystatechange=this._onReadyStateChange.bind(this),o.onprogress=this._onProgress.bind(this),o.onload=this._onLoad.bind(this),o.onerror=this._onXhrError.bind(this),e.withCredentials&&(o.withCredentials=!0),typeof n.headers=="object"){let s=n.headers;for(let l in s)s.hasOwnProperty(l)&&o.setRequestHeader(l,s[l])}if(typeof this._config.headers=="object"){let s=this._config.headers;for(let l in s)s.hasOwnProperty(l)&&o.setRequestHeader(l,s[l])}o.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=b.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let i=e.target;if(i.readyState===2){if(i.responseURL!=null){let a=this._seekHandler.removeURLParameters(i.responseURL);i.responseURL!==this._currentRequestURL&&a!==this._currentRedirectedURL&&(this._currentRedirectedURL=a,this._onURLRedirect&&this._onURLRedirect(a))}if(i.status>=200&&i.status<=299){if(this._waitForTotalLength)return;this._status=b.kBuffering}else if(this._status=b.kError,this._onError)this._onError(de.HTTP_STATUS_CODE_INVALID,{code:i.status,msg:i.statusText});else throw new X("RangeLoader: Http code invalid, "+i.status+" "+i.statusText)}}_onProgress(e){if(this._status===b.kError)return;if(this._contentLength===null){let a=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,a=!0;let n=e.total;this._internalAbort(),n!=null&n!==0&&(this._totalLength=n)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,a){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let i=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(i)}_normalizeSpeed(e){let i=this._chunkSizeKBList,a=i.length-1,n=0,o=0,s=a;if(e=i[n]&&e=3&&(i=this._speedSampler.currentKBps)),i!==0){let s=this._normalizeSpeed(i);this._currentSpeedNormalized!==s&&(this._currentSpeedNormalized=s,this._currentChunkSizeKB=s)}let a=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=a.byteLength;let o=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(i.result)},i.readAsArrayBuffer(e.data)}else{this._status=b.kError;let i={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(de.EXCEPTION,i);else throw new X(i.msg)}}_dispatchArrayBuffer(e){let i=e,a=this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,a,this._receivedLength)}_onWebSocketError(e){this._status=b.kError;let i={code:e.code,msg:e.message};if(this._onError)this._onError(de.EXCEPTION,i);else throw new X(i.msg)}}var Ae=le;class We{constructor(e){this._zeroStart=e||!1}getConfig(e,i){let a={};if(i.from!==0||i.to!==-1){let n;i.to!==-1?n=`bytes=${i.from.toString()}-${i.to.toString()}`:n=`bytes=${i.from.toString()}-`,a.Range=n}else this._zeroStart&&(a.Range="bytes=0-");return{url:e,headers:a}}removeURLParameters(e){return e}}var Ge=We;class W{constructor(e,i){this._startName=e,this._endName=i}getConfig(e,i){let a=e;if(i.from!==0||i.to!==-1){let n=!0;a.indexOf("?")===-1&&(a+="?",n=!1),n&&(a+="&"),a+=`${this._startName}=${i.from.toString()}`,i.to!==-1&&(a+=`&${this._endName}=${i.to.toString()}`)}return{url:a,headers:{}}}removeURLParameters(e){let i=e.split("?")[0],a,n=e.indexOf("?");n!==-1&&(a=e.substring(n+1));let o="";if(a!=null&&a.length>0){let s=a.split("&");for(let l=0;l0;L[0]!==this._startName&&L[0]!==this._endName&&(w&&(o+="&"),o+=s[l])}}return o.length===0?i:i+"?"+o}}var Te=W;class g{constructor(e,i,a){this.TAG="IOController",this._config=i,this._extraData=a,this._stashInitialSize=1024*384,i.stashInitialSize!=null&&i.stashInitialSize>0&&(this._stashInitialSize=i.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,i.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new G,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===_?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new Ge(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let i=e.seekParamStart||"bstart",a=e.seekParamEnd||"bend";this._seekHandler=new Te(i,a)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new Me("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new Me(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Ae;else if(k.isSupported())this._loaderClass=k;else if(p.isSupported())this._loaderClass=p;else if(_.isSupported())this._loaderClass=_;else throw new X("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,i){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(i),this._loader.destroy(),this._loader=null;let a={from:e,to:-1};this._currentRange={from:a.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,a),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new Me("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let i=this._stashSize;for(;i+1024*1024*10){let n=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(a,0,i).set(n,0)}this._stashBuffer=a,this._bufferSize=i}_normalizeSpeed(e){let i=this._speedNormalizeList,a=i.length-1,n=0,o=0,s=a;if(e=i[n]&&e=512&&e<=1024?i=Math.floor(e*1.5):i=e*2,i>8192&&(i=8192);let a=i*1024+1024*1024*1;this._bufferSize0){let s=this._stashBuffer.slice(0,this._stashUsed),l=this._dispatchChunks(s,this._stashByteStart);if(l0){let L=new Uint8Array(s,l);o.set(L,0),this._stashUsed=L.byteLength,this._stashByteStart+=l}}else this._stashUsed=0,this._stashByteStart+=l;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),o=new Uint8Array(this._stashBuffer,0,this._bufferSize)),o.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let s=this._dispatchChunks(e,i);if(sthis._bufferSize&&(this._expandBuffer(l),o=new Uint8Array(this._stashBuffer,0,this._bufferSize)),o.set(new Uint8Array(e,s),0),this._stashUsed+=l,this._stashByteStart=i+s}}}else if(this._stashUsed===0){let o=this._dispatchChunks(e,i);if(othis._bufferSize&&this._expandBuffer(s),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,o),0),this._stashUsed+=s,this._stashByteStart=i+o}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let o=new Uint8Array(this._stashBuffer,0,this._bufferSize);o.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let s=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(s0){let l=new Uint8Array(this._stashBuffer,s);o.set(l,0)}this._stashUsed-=s,this._stashByteStart+=s}}_flushStashBuffer(e){if(this._stashUsed>0){let i=this._stashBuffer.slice(0,this._stashUsed),a=this._dispatchChunks(i,this._stashByteStart),n=i.byteLength-a;if(a0){let o=new Uint8Array(this._stashBuffer,0,this._bufferSize),s=new Uint8Array(i,a);o.set(s,0),this._stashUsed=s.byteLength,this._stashByteStart+=a}return 0}return this._stashUsed=0,this._stashByteStart=0,n}return 0}_onLoaderComplete(e,i){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,i){switch(A.e(this.TAG,`Loader error, code = ${i.code}, msg = ${i.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=de.UNRECOVERABLE_EARLY_EOF),e){case de.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let a=this._currentRange.to+1;a0){let i=Z.getConfig();e.emit("change",i)}}static registerListener(e){Z.emitter.addListener("change",e)}static removeListener(e){Z.emitter.removeListener("change",e)}static addLogListener(e){A.emitter.addListener("log",e),A.emitter.listenerCount("log")>0&&(A.ENABLE_CALLBACK=!0,Z._notifyChange())}static removeLogListener(e){A.emitter.removeListener("log",e),A.emitter.listenerCount("log")===0&&(A.ENABLE_CALLBACK=!1,Z._notifyChange())}}Z.emitter=new(z());var F=Z;class He{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,i=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&i}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let i=this.keyframesIndex,a=this._search(i.times,e);return{index:a,milliseconds:i.times[a],fileposition:i.filepositions[a]}}_search(e,i){let a=0,n=e.length-1,o=0,s=0,l=n;for(i=e[o]&&i=128){e.push(String.fromCharCode(o&65535)),a+=2;continue}}}else if(i[a]<240){if(rt(i,a,2)){let o=(i[a]&15)<<12|(i[a+1]&63)<<6|i[a+2]&63;if(o>=2048&&(o&63488)!==55296){e.push(String.fromCharCode(o&65535)),a+=3;continue}}}else if(i[a]<248&&rt(i,a,3)){let o=(i[a]&7)<<18|(i[a+1]&63)<<12|(i[a+2]&63)<<6|i[a+3]&63;if(o>65536&&o<1114112){o-=65536,e.push(String.fromCharCode(o>>>10|55296)),e.push(String.fromCharCode(o&1023|56320)),a+=4;continue}}}e.push("\uFFFD"),++a}return e.join("")}var st=lt;let tt=function(){let it=new ArrayBuffer(2);return new DataView(it).setInt16(0,256,!0),new Int16Array(it)[0]===256}();class et{static parseScriptData(e,i,a){let n={};try{let o=et.parseValue(e,i,a),s=et.parseValue(e,i+o.size,a-o.size);n[o.data]=s.data}catch(o){A.e("AMF",o.toString())}return n}static parseObject(e,i,a){if(a<3)throw new R("Data not enough when parse ScriptDataObject");let n=et.parseString(e,i,a),o=et.parseValue(e,i+n.size,a-n.size),s=o.objectEnd;return{data:{name:n.data,value:o.data},size:n.size+o.size,objectEnd:s}}static parseVariable(e,i,a){return et.parseObject(e,i,a)}static parseString(e,i,a){if(a<2)throw new R("Data not enough when parse String");let o=new DataView(e,i,a).getUint16(0,!tt),s;return o>0?s=st(new Uint8Array(e,i+2,o)):s="",{data:s,size:2+o}}static parseLongString(e,i,a){if(a<4)throw new R("Data not enough when parse LongString");let o=new DataView(e,i,a).getUint32(0,!tt),s;return o>0?s=st(new Uint8Array(e,i+4,o)):s="",{data:s,size:4+o}}static parseDate(e,i,a){if(a<10)throw new R("Data size invalid when parse Date");let n=new DataView(e,i,a),o=n.getFloat64(0,!tt),s=n.getInt16(8,!tt);return o+=s*60*1e3,{data:new Date(o),size:10}}static parseValue(e,i,a){if(a<1)throw new R("Data not enough when parse Value");let n=new DataView(e,i,a),o=1,s=n.getUint8(0),l,L=!1;try{switch(s){case 0:l=n.getFloat64(1,!tt),o+=8;break;case 1:{l=!!n.getUint8(1),o+=1;break}case 2:{let w=et.parseString(e,i+1,a-1);l=w.data,o+=w.size;break}case 3:{l={};let w=0;for((n.getUint32(a-4,!tt)&16777215)===9&&(w=3);o32)throw new Me("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let s=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,s}let i=this._current_word_bits_left?this._current_word:0;i=i>>>32-this._current_word_bits_left;let a=e-this._current_word_bits_left;this._fillCurrentWord();let n=Math.min(a,this._current_word_bits_left),o=this._current_word>>>32-n;return this._current_word<<=n,this._current_word_bits_left-=n,i=i<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Xe=Be;class J{static _ebsp2rbsp(e){let i=e,a=i.byteLength,n=new Uint8Array(a),o=0;for(let s=0;s=2&&i[s]===3&&i[s-1]===0&&i[s-2]===0||(n[o]=i[s],o++);return new Uint8Array(n.buffer,0,o)}static parseSPS(e){let i=J._ebsp2rbsp(e),a=new Xe(i);a.readByte();let n=a.readByte();a.readByte();let o=a.readByte();a.readUEG();let s=J.getProfileString(n),l=J.getLevelString(o),L=1,w=420,re=[0,420,422,444],ve=8;if((n===100||n===110||n===122||n===244||n===44||n===83||n===86||n===118||n===128||n===138||n===144)&&(L=a.readUEG(),L===3&&a.readBits(1),L<=3&&(w=re[L]),ve=a.readUEG()+8,a.readUEG(),a.readBits(1),a.readBool())){let gt=L!==3?8:12;for(let bt=0;bt0&><16?(Le=bt[gt-1],ne=Mt[gt-1]):gt===255&&(Le=a.readByte()<<8|a.readByte(),ne=a.readByte()<<8|a.readByte())}if(a.readBool()&&a.readBool(),a.readBool()&&(a.readBits(4),a.readBool()&&a.readBits(24)),a.readBool()&&(a.readUEG(),a.readUEG()),a.readBool()){let gt=a.readBits(32),bt=a.readBits(32);D=a.readBool(),Y=bt,ee=gt*2,Oe=Y/ee}}let he=1;(Le!==1||ne!==1)&&(he=Le/ne);let Ee=0,xe=0;if(L===0)Ee=1,xe=2-Ne;else{let gt=L===3?1:2,bt=L===1?2:1;Ee=gt,xe=bt*(2-Ne)}let Qe=(Ve+1)*16,ot=(2-Ne)*((Ze+1)*16);Qe-=(Re+I)*Ee,ot-=(H+$)*xe;let dt=Math.ceil(Qe*he);return a.destroy(),a=null,{profile_string:s,level_string:l,bit_depth:ve,ref_frames:Ce,chroma_format:w,chroma_format_string:J.getChromaFormatString(w),frame_rate:{fixed:D,fps:Oe,fps_den:ee,fps_num:Y},sar_ratio:{width:Le,height:ne},codec_size:{width:Qe,height:ot},present_size:{width:dt,height:ot}}}static _skipScalingList(e,i){let a=8,n=8,o=0;for(let s=0;s>>8&255|(it&255)<<8}function te(it){return(it&4278190080)>>>24|(it&16711680)>>>8|(it&65280)<<8|(it&255)<<24}function c(it,e){return it[e]<<24|it[e+1]<<16|it[e+2]<<8|it[e+3]}class u{constructor(e,i){this.TAG="FLVDemuxer",this._config=i,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new ze,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let a=new ArrayBuffer(2);return new DataView(a).setInt16(0,256,!0),new Int16Array(a)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let i=new Uint8Array(e),a={match:!1};if(i[0]!==70||i[1]!==76||i[2]!==86||i[3]!==1)return a;let n=(i[4]&4)>>>2!==0,o=(i[4]&1)!==0,s=c(i,5);return s<9?a:{match:!0,consumed:s,dataOffset:s,hasAudioTrack:n,hasVideoTrack:o}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new ze}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,i){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new R("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let a=0,n=this._littleEndian;if(i===0)if(e.byteLength>13)a=u.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,i+a!==this._dataOffset&&A.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,a).getUint32(0,!n)!==0&&A.w(this.TAG,"PrevTagSize0 !== 0 !!!"),a+=4);ae.byteLength)break;let s=o.getUint8(0),l=o.getUint32(0,!n)&16777215;if(a+11+l+4>e.byteLength)break;if(s!==8&&s!==9&&s!==18){A.w(this.TAG,`Unsupported tag type ${s}, skipped`),a+=11+l+4;continue}let L=o.getUint8(4),w=o.getUint8(5),re=o.getUint8(6),ve=o.getUint8(7),Pe=re|w<<8|L<<16|ve<<24;(o.getUint32(7,!n)&16777215)!==0&&A.w(this.TAG,"Meet tag which has StreamID != 0!");let Ve=a+11;switch(s){case 8:this._parseAudioData(e,Ve,l,Pe);break;case 9:this._parseVideoData(e,Ve,l,Pe,i+a);break;case 18:this._parseScriptData(e,Ve,l);break}let Ze=o.getUint32(11+l,!n);Ze!==11+l&&A.w(this.TAG,`Invalid PrevTagSize ${Ze}`),a+=11+l+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),a}_parseScriptData(e,i,a){let n=nt.parseScriptData(e,i,a);if(n.hasOwnProperty("onMetaData")){if(n.onMetaData==null||typeof n.onMetaData!="object"){A.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&A.w(this.TAG,"Found another onMetaData tag!"),this._metadata=n;let o=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},o)),typeof o.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=o.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof o.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=o.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof o.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=o.audiodatarate),typeof o.videodatarate=="number"&&(this._mediaInfo.videoDataRate=o.videodatarate),typeof o.width=="number"&&(this._mediaInfo.width=o.width),typeof o.height=="number"&&(this._mediaInfo.height=o.height),typeof o.duration=="number"){if(!this._durationOverrided){let s=Math.floor(o.duration*this._timescale);this._duration=s,this._mediaInfo.duration=s}}else this._mediaInfo.duration=0;if(typeof o.framerate=="number"){let s=Math.floor(o.framerate*1e3);if(s>0){let l=s/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=l,this._referenceFrameRate.fps_num=s,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=l}}if(typeof o.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let s=o.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(s),o.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=o,A.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(n).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},n))}_parseKeyframesIndex(e){let i=[],a=[];for(let n=1;n>>4;if(L!==2&&L!==10){this._onError(B.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+L);return}let w=0,re=(l&12)>>>2;if(re>=0&&re<=4)w=this._flvSoundRateTable[re];else{this._onError(B.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+re);return}let ve=(l&2)>>>1,Pe=l&1,Ce=this._audioMetadata,Ve=this._audioTrack;if(Ce||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ce=this._audioMetadata={},Ce.type="audio",Ce.id=Ve.id,Ce.timescale=this._timescale,Ce.duration=this._duration,Ce.audioSampleRate=w,Ce.channelCount=Pe===0?1:2),L===10){let Ze=this._parseAACAudioData(e,i+1,a-1);if(Ze==null)return;if(Ze.packetType===0){Ce.config&&A.w(this.TAG,"Found another AudioSpecificConfig!");let Ne=Ze.data;Ce.audioSampleRate=Ne.samplingRate,Ce.channelCount=Ne.channelCount,Ce.codec=Ne.codec,Ce.originalCodec=Ne.originalCodec,Ce.config=Ne.config,Ce.refSampleDuration=1024/Ce.audioSampleRate*Ce.timescale,A.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ce);let Re=this._mediaInfo;Re.audioCodec=Ce.originalCodec,Re.audioSampleRate=Ce.audioSampleRate,Re.audioChannelCount=Ce.channelCount,Re.hasVideo?Re.videoCodec!=null&&(Re.mimeType='video/x-flv; codecs="'+Re.videoCodec+","+Re.audioCodec+'"'):Re.mimeType='video/x-flv; codecs="'+Re.audioCodec+'"',Re.isComplete()&&this._onMediaInfo(Re)}else if(Ze.packetType===1){let Ne=this._timestampBase+n,Re={unit:Ze.data,length:Ze.data.byteLength,dts:Ne,pts:Ne};Ve.samples.push(Re),Ve.length+=Ze.data.length}else A.e(this.TAG,`Flv: Unsupported AAC data type ${Ze.packetType}`)}else if(L===2){if(!Ce.codec){let I=this._parseMP3AudioData(e,i+1,a-1,!0);if(I==null)return;Ce.audioSampleRate=I.samplingRate,Ce.channelCount=I.channelCount,Ce.codec=I.codec,Ce.originalCodec=I.originalCodec,Ce.refSampleDuration=1152/Ce.audioSampleRate*Ce.timescale,A.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ce);let H=this._mediaInfo;H.audioCodec=Ce.codec,H.audioSampleRate=Ce.audioSampleRate,H.audioChannelCount=Ce.channelCount,H.audioDataRate=I.bitRate,H.hasVideo?H.videoCodec!=null&&(H.mimeType='video/x-flv; codecs="'+H.videoCodec+","+H.audioCodec+'"'):H.mimeType='video/x-flv; codecs="'+H.audioCodec+'"',H.isComplete()&&this._onMediaInfo(H)}let Ze=this._parseMP3AudioData(e,i+1,a-1,!1);if(Ze==null)return;let Ne=this._timestampBase+n,Re={unit:Ze,length:Ze.byteLength,dts:Ne,pts:Ne};Ve.samples.push(Re),Ve.length+=Ze.length}}_parseAACAudioData(e,i,a){if(a<=1){A.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let n={},o=new Uint8Array(e,i,a);return n.packetType=o[0],o[0]===0?n.data=this._parseAACAudioSpecificConfig(e,i+1,a-1):n.data=o.subarray(1),n}_parseAACAudioSpecificConfig(e,i,a){let n=new Uint8Array(e,i,a),o=null,s=0,l=0,L=null,w=0,re=null;if(s=l=n[0]>>>3,w=(n[0]&7)<<1|n[1]>>>7,w<0||w>=this._mpegSamplingRates.length){this._onError(B.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let ve=this._mpegSamplingRates[w],Pe=(n[1]&120)>>>3;if(Pe<0||Pe>=8){this._onError(B.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}s===5&&(re=(n[1]&7)<<1|n[2]>>>7,L=(n[2]&124)>>>2);let Ce=self.navigator.userAgent.toLowerCase();return Ce.indexOf("firefox")!==-1?w>=6?(s=5,o=new Array(4),re=w-3):(s=2,o=new Array(2),re=w):Ce.indexOf("android")!==-1?(s=2,o=new Array(2),re=w):(s=5,re=w,o=new Array(4),w>=6?re=w-3:Pe===1&&(s=2,o=new Array(2),re=w)),o[0]=s<<3,o[0]|=(w&15)>>>1,o[1]=(w&15)<<7,o[1]|=(Pe&15)<<3,s===5&&(o[1]|=(re&15)>>>1,o[2]=(re&1)<<7,o[2]|=8,o[3]=0),{config:o,samplingRate:ve,channelCount:Pe,codec:"mp4a.40."+s,originalCodec:"mp4a.40."+l}}_parseMP3AudioData(e,i,a,n){if(a<4){A.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let o=this._littleEndian,s=new Uint8Array(e,i,a),l=null;if(n){if(s[0]!==255)return;let L=s[1]>>>3&3,w=(s[1]&6)>>1,re=(s[2]&240)>>>4,ve=(s[2]&12)>>>2,Ce=(s[3]>>>6&3)!==3?2:1,Ve=0,Ze=0,Ne=34,Re="mp3";switch(L){case 0:Ve=this._mpegAudioV25SampleRateTable[ve];break;case 2:Ve=this._mpegAudioV20SampleRateTable[ve];break;case 3:Ve=this._mpegAudioV10SampleRateTable[ve];break}switch(w){case 1:Ne=34,re>>4,L=s&15;if(L!==7){this._onError(B.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${L}`);return}this._parseAVCVideoPacket(e,i+1,a-1,n,o,l)}_parseAVCVideoPacket(e,i,a,n,o,s){if(a<4){A.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let l=this._littleEndian,L=new DataView(e,i,a),w=L.getUint8(0),ve=(L.getUint32(0,!l)&16777215)<<8>>8;if(w===0)this._parseAVCDecoderConfigurationRecord(e,i+4,a-4);else if(w===1)this._parseAVCVideoData(e,i+4,a-4,n,o,s,ve);else if(w!==2){this._onError(B.FORMAT_ERROR,`Flv: Invalid video packet type ${w}`);return}}_parseAVCDecoderConfigurationRecord(e,i,a){if(a<7){A.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let n=this._videoMetadata,o=this._videoTrack,s=this._littleEndian,l=new DataView(e,i,a);n?typeof n.avcc!="undefined"&&A.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),n=this._videoMetadata={},n.type="video",n.id=o.id,n.timescale=this._timescale,n.duration=this._duration);let L=l.getUint8(0),w=l.getUint8(1),re=l.getUint8(2),ve=l.getUint8(3);if(L!==1||w===0){this._onError(B.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(l.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(B.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let Pe=l.getUint8(5)&31;if(Pe===0){this._onError(B.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Pe>1&&A.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${Pe}`);let Ce=6;for(let Ze=0;Ze1&&A.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ve}`);Ce++;for(let Ze=0;Ze=a){A.w(this.TAG,`Malformed Nalu near timestamp ${Ve}, offset = ${Pe}, dataSize = ${a}`);break}let Ne=w.getUint32(Pe,!L);if(Ce===3&&(Ne>>>=8),Ne>a-Ce){A.w(this.TAG,`Malformed Nalus near timestamp ${Ve}, NaluSize > DataSize!`);return}let Re=w.getUint8(Pe+Ce)&31;Re===5&&(Ze=!0);let I=new Uint8Array(e,i+Pe,Ce+Ne),H={type:Re,data:I};re.push(H),ve+=I.byteLength,Pe+=Ce+Ne}if(re.length){let Ne=this._videoTrack,Re={units:re,length:ve,isKeyframe:Ze,dts:Ve,cts:l,pts:Ve+l};Ze&&(Re.fileposition=o),Ne.samples.push(Re),Ne.length+=ve}}}var O=u;class f{static init(){f.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let i in f.types)f.types.hasOwnProperty(i)&&(f.types[i]=[i.charCodeAt(0),i.charCodeAt(1),i.charCodeAt(2),i.charCodeAt(3)]);let e=f.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let i=8,a=null,n=Array.prototype.slice.call(arguments,1),o=n.length;for(let l=0;l>>24&255,a[1]=i>>>16&255,a[2]=i>>>8&255,a[3]=i&255,a.set(e,4);let s=8;for(let l=0;l>>24&255,e>>>16&255,e>>>8&255,e&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return f.box(f.types.trak,f.tkhd(e),f.mdia(e))}static tkhd(e){let i=e.id,a=e.duration,n=e.presentWidth,o=e.presentHeight;return f.box(f.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,a&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,n>>>8&255,n&255,0,0,o>>>8&255,o&255,0,0]))}static mdia(e){return f.box(f.types.mdia,f.mdhd(e),f.hdlr(e),f.minf(e))}static mdhd(e){let i=e.timescale,a=e.duration;return f.box(f.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,a>>>24&255,a>>>16&255,a>>>8&255,a&255,85,196,0,0]))}static hdlr(e){let i=null;return e.type==="audio"?i=f.constants.HDLR_AUDIO:i=f.constants.HDLR_VIDEO,f.box(f.types.hdlr,i)}static minf(e){let i=null;return e.type==="audio"?i=f.box(f.types.smhd,f.constants.SMHD):i=f.box(f.types.vmhd,f.constants.VMHD),f.box(f.types.minf,i,f.dinf(),f.stbl(e))}static dinf(){return f.box(f.types.dinf,f.box(f.types.dref,f.constants.DREF))}static stbl(e){return f.box(f.types.stbl,f.stsd(e),f.box(f.types.stts,f.constants.STTS),f.box(f.types.stsc,f.constants.STSC),f.box(f.types.stsz,f.constants.STSZ),f.box(f.types.stco,f.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?f.box(f.types.stsd,f.constants.STSD_PREFIX,f.mp3(e)):f.box(f.types.stsd,f.constants.STSD_PREFIX,f.mp4a(e)):f.box(f.types.stsd,f.constants.STSD_PREFIX,f.avc1(e))}static mp3(e){let i=e.channelCount,a=e.audioSampleRate,n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,i,0,16,0,0,0,0,a>>>8&255,a&255,0,0]);return f.box(f.types[".mp3"],n)}static mp4a(e){let i=e.channelCount,a=e.audioSampleRate,n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,i,0,16,0,0,0,0,a>>>8&255,a&255,0,0]);return f.box(f.types.mp4a,n,f.esds(e))}static esds(e){let i=e.config||[],a=i.length,n=new Uint8Array([0,0,0,0,3,23+a,0,1,0,4,15+a,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([a]).concat(i).concat([6,1,2]));return f.box(f.types.esds,n)}static avc1(e){let i=e.avcc,a=e.codecWidth,n=e.codecHeight,o=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,a>>>8&255,a&255,n>>>8&255,n&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return f.box(f.types.avc1,o,f.box(f.types.avcC,i))}static mvex(e){return f.box(f.types.mvex,f.trex(e))}static trex(e){let i=e.id,a=new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return f.box(f.types.trex,a)}static moof(e,i){return f.box(f.types.moof,f.mfhd(e.sequenceNumber),f.traf(e,i))}static mfhd(e){let i=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return f.box(f.types.mfhd,i)}static traf(e,i){let a=e.id,n=f.box(f.types.tfhd,new Uint8Array([0,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,a&255])),o=f.box(f.types.tfdt,new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255])),s=f.sdtp(e),l=f.trun(e,s.byteLength+16+16+8+16+8+8);return f.box(f.types.traf,n,o,l,s)}static sdtp(e){let i=e.samples||[],a=i.length,n=new Uint8Array(4+a);for(let o=0;o>>24&255,n>>>16&255,n>>>8&255,n&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255],0);for(let l=0;l>>24&255,L>>>16&255,L>>>8&255,L&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,re.isLeading<<2|re.dependsOn,re.isDependedOn<<6|re.hasRedundancy<<4|re.isNonSync,0,0,ve>>>24&255,ve>>>16&255,ve>>>8&255,ve&255],12+16*l)}return f.box(f.types.trun,s)}static mdat(e){return f.box(f.types.mdat,e)}}f.init();var h=f;class Q{static getSilentFrame(e,i){if(e==="mp4a.40.2"){if(i===1)return new Uint8Array([0,200,0,128,35,128]);if(i===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(i===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(i===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(i===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(i===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(i===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(i===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(i===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var Ie=Q;class ue{constructor(e,i,a,n,o){this.dts=e,this.pts=i,this.duration=a,this.originalDts=n,this.isSyncPoint=o,this.fileposition=null}}class ke{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ye{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let i=this._list;e.length!==0&&(i.length>0&&e[0].originalDts=i[o].dts&&ei[n].lastSample.originalDts&&e=i[n].lastSample.originalDts&&(n===i.length-1||n0&&(o=this._searchNearestSegmentBefore(a.originalBeginDts)+1),this._lastAppendLocation=o,this._list.splice(o,0,a)}getLastSegmentBefore(e){let i=this._searchNearestSegmentBefore(e);return i>=0?this._list[i]:null}getLastSampleBefore(e){let i=this.getLastSegmentBefore(e);return i!=null?i.lastSample:null}getLastSyncPointBefore(e){let i=this._searchNearestSegmentBefore(e),a=this._list[i].syncPoints;for(;a.length===0&&i>0;)i--,a=this._list[i].syncPoints;return a.length>0?a[a.length-1]:null}}class N{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new De("audio"),this._videoSegmentInfoList=new De("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(se.chrome&&(se.version.major<50||se.version.major===50&&se.version.build<2661)),this._fillSilentAfterSeek=se.msedge||se.msie,this._mp3UseMpegAudio=!se.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,i){if(!this._onMediaSegment)throw new R("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,i),this._remuxVideo(i),this._remuxAudio(e)}_onTrackMetadataReceived(e,i){let a=null,n="mp4",o=i.codec;if(e==="audio")this._audioMeta=i,i.codec==="mp3"&&this._mp3UseMpegAudio?(n="mpeg",o="",a=new Uint8Array):a=h.generateInitSegment(i);else if(e==="video")this._videoMeta=i,a=h.generateInitSegment(i);else return;if(!this._onInitSegment)throw new R("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:a.buffer,codec:o,container:`${e}/${n}`,mediaDuration:i.duration})}_calculateDtsBase(e,i){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),i.samples&&i.samples.length&&(this._videoDtsBase=i.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,i=this._audioStashedLastSample,a={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(a.samples.push(e),a.length=e.length);let n={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};i!=null&&(n.samples.push(i),n.length=i.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(a,!0),this._remuxAudio(n,!0)}_remuxAudio(e,i){if(this._audioMeta==null)return;let a=e,n=a.samples,o,s=-1,l=-1,L=-1,w=this._audioMeta.refSampleDuration,re=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,ve=this._dtsBaseInited&&this._audioNextDts===void 0,Pe=!1;if(!n||n.length===0||n.length===1&&!i)return;let Ce=0,Ve=null,Ze=0;re?(Ce=0,Ze=a.length):(Ce=8,Ze=8+a.length);let Ne=null;if(n.length>1&&(Ne=n.pop(),Ze-=Ne.length),this._audioStashedLastSample!=null){let ne=this._audioStashedLastSample;this._audioStashedLastSample=null,n.unshift(ne),Ze+=ne.length}Ne!=null&&(this._audioStashedLastSample=Ne);let Re=n[0].dts-this._dtsBase;if(this._audioNextDts)o=Re-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())o=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(Pe=!0);else{let ne=this._audioSegmentInfoList.getLastSampleBefore(Re);if(ne!=null){let Oe=Re-(ne.originalDts+ne.duration);Oe<=3&&(Oe=0);let D=ne.dts+ne.duration+Oe;o=Re-D}else o=0}if(Pe){let ne=Re-o,Oe=this._videoSegmentInfoList.getLastSegmentBefore(Re);if(Oe!=null&&Oe.beginDts=1?pe=I[I.length-1].duration:pe=Math.floor(w);let he=!1,Ee=null;if(pe>w*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!se.safari){he=!0;let xe=Math.abs(pe-w),Qe=Math.ceil(xe/w),ot=ee+w;A.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${ee+pe} ms, expected: ${ee+Math.round(w)} ms, delta: ${Math.round(xe)} ms, generate: ${Qe} frames`);let dt=Ie.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);dt==null&&(A.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),dt=D),Ee=[];for(let bt=0;bt0){let ut=Ee[Ee.length-1];ut.duration=Mt-ut.dts}let Bt={dts:Mt,pts:Mt,cts:0,unit:dt,size:dt.byteLength,duration:0,originalDts:Y,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Ee.push(Bt),Ze+=Bt.size,ot+=w}let gt=Ee[Ee.length-1];gt.duration=ee+pe-gt.dts,pe=Math.round(w)}I.push({dts:ee,pts:ee,cts:0,unit:Oe.unit,size:Oe.unit.byteLength,duration:pe,originalDts:Y,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),he&&I.push.apply(I,Ee)}re?Ve=new Uint8Array(Ze):(Ve=new Uint8Array(Ze),Ve[0]=Ze>>>24&255,Ve[1]=Ze>>>16&255,Ve[2]=Ze>>>8&255,Ve[3]=Ze&255,Ve.set(h.types.mdat,4));for(let ne=0;ne1&&(Ce=n.pop(),Pe-=Ce.length),this._videoStashedLastSample!=null){let H=this._videoStashedLastSample;this._videoStashedLastSample=null,n.unshift(H),Pe+=H.length}Ce!=null&&(this._videoStashedLastSample=Ce);let Ve=n[0].dts-this._dtsBase;if(this._videoNextDts)o=Ve-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())o=0;else{let H=this._videoSegmentInfoList.getLastSampleBefore(Ve);if(H!=null){let $=Ve-(H.originalDts+H.duration);$<=3&&($=0);let fe=H.dts+H.duration+$;o=Ve-fe}else o=0}let Ze=new ke,Ne=[];for(let H=0;H=1?Y=Ne[Ne.length-1].duration:Y=Math.floor(this._videoMeta.refSampleDuration),Le){let ee=new ue(ne,D,Y,$.dts,!0);ee.fileposition=$.fileposition,Ze.appendSyncPoint(ee)}Ne.push({dts:ne,pts:D,cts:Oe,units:$.units,size:$.length,isKeyframe:Le,duration:Y,originalDts:fe,flags:{isLeading:0,dependsOn:Le?2:1,isDependedOn:Le?1:0,hasRedundancy:0,isNonSync:Le?0:1}})}ve=new Uint8Array(Pe),ve[0]=Pe>>>24&255,ve[1]=Pe>>>16&255,ve[2]=Pe>>>8&255,ve[3]=Pe&255,ve.set(h.types.mdat,4);for(let H=0;H{n.timestampBase=a,a+=n.duration,n.cors=e.cors,n.withCredentials=e.withCredentials,i.referrerPolicy&&(n.referrerPolicy=i.referrerPolicy)}),!isNaN(a)&&this._mediaDataSource.duration!==a&&(this._mediaDataSource.duration=a),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,i){this._emitter.addListener(e,i)}off(e,i){this._emitter.removeListener(e,i)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,i){this._currentSegmentIndex=e;let a=this._mediaDataSource.segments[e],n=this._ioctl=new we(a,this._config,e);n.onError=this._onIOException.bind(this),n.onSeeked=this._onIOSeeked.bind(this),n.onComplete=this._onIOComplete.bind(this),n.onRedirect=this._onIORedirect.bind(this),n.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),i?this._demuxer.bindDataSource(this._ioctl):n.onDataArrival=this._onInitChunkArrival.bind(this),n.open(i)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let i=this._searchSegmentIndexContains(e);if(i===this._currentSegmentIndex){let a=this._mediaInfo.segments[i];if(a==null)this._pendingSeekTime=e;else{let n=a.getNearestKeyframe(e);this._remuxer.seek(n.milliseconds),this._ioctl.seek(n.fileposition),this._pendingResolveSeekPoint=n.milliseconds}}else{let a=this._mediaInfo.segments[i];if(a==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(i);else{let n=a.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[i].timestampBase,this._loadSegment(i,n.fileposition),this._pendingResolveSeekPoint=n.milliseconds,this._reportSegmentMediaInfo(i)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let i=this._mediaDataSource.segments,a=i.length-1;for(let n=0;n0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,n=this._demuxer.parseChunks(e,i);else if((a=O.probe(e)).match){this._demuxer=new O(a,this._config),this._remuxer||(this._remuxer=new me(this._config));let o=this._mediaDataSource;o.duration!=null&&!isNaN(o.duration)&&(this._demuxer.overridedDuration=o.duration),typeof o.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=o.hasAudio),typeof o.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=o.hasVideo),this._demuxer.timestampBase=o.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),n=this._demuxer.parseChunks(e,i)}else a=null,A.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(U.DEMUX_ERROR,B.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),n=0;return n}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,ze.prototype));let i=Object.assign({},e);Object.setPrototypeOf(i,ze.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=i,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let a=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(a)})}_onMetaDataArrived(e){this._emitter.emit(U.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(U.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let a=e+1;a0&&a[0].originalDts===n&&(n=a[0].pts),this._emitter.emit(U.RECOMMEND_SEEKPOINT,n)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let i=this._mediaInfo.segments[e],a=Object.assign({},i);a.duration=this._mediaInfo.duration,a.segmentCount=this._mediaInfo.segmentCount,delete a.segments,delete a.keyframesIndex,this._emitter.emit(U.MEDIA_INFO,a)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(U.STATISTICS_INFO,e)}}var ct=Je,at=function(it){let e="TransmuxingWorker",i=null,a=Ze.bind(this);y.install(),it.addEventListener("message",function(Ne){switch(Ne.data.cmd){case"init":i=new ct(Ne.data.param[0],Ne.data.param[1]),i.on(U.IO_ERROR,Pe.bind(this)),i.on(U.DEMUX_ERROR,Ce.bind(this)),i.on(U.INIT_SEGMENT,n.bind(this)),i.on(U.MEDIA_SEGMENT,o.bind(this)),i.on(U.LOADING_COMPLETE,s.bind(this)),i.on(U.RECOVERED_EARLY_EOF,l.bind(this)),i.on(U.MEDIA_INFO,L.bind(this)),i.on(U.METADATA_ARRIVED,w.bind(this)),i.on(U.SCRIPTDATA_ARRIVED,re.bind(this)),i.on(U.STATISTICS_INFO,ve.bind(this)),i.on(U.RECOMMEND_SEEKPOINT,Ve.bind(this));break;case"destroy":i&&(i.destroy(),i=null),it.postMessage({msg:"destroyed"});break;case"start":i.start();break;case"stop":i.stop();break;case"seek":i.seek(Ne.data.param);break;case"pause":i.pause();break;case"resume":i.resume();break;case"logging_config":{let Re=Ne.data.param;F.applyConfig(Re),Re.enableCallback===!0?F.addLogListener(a):F.removeLogListener(a);break}}});function n(Ne,Re){let I={msg:U.INIT_SEGMENT,data:{type:Ne,data:Re}};it.postMessage(I,[Re.data])}function o(Ne,Re){let I={msg:U.MEDIA_SEGMENT,data:{type:Ne,data:Re}};it.postMessage(I,[Re.data])}function s(){let Ne={msg:U.LOADING_COMPLETE};it.postMessage(Ne)}function l(){let Ne={msg:U.RECOVERED_EARLY_EOF};it.postMessage(Ne)}function L(Ne){let Re={msg:U.MEDIA_INFO,data:Ne};it.postMessage(Re)}function w(Ne){let Re={msg:U.METADATA_ARRIVED,data:Ne};it.postMessage(Re)}function re(Ne){let Re={msg:U.SCRIPTDATA_ARRIVED,data:Ne};it.postMessage(Re)}function ve(Ne){let Re={msg:U.STATISTICS_INFO,data:Ne};it.postMessage(Re)}function Pe(Ne,Re){it.postMessage({msg:U.IO_ERROR,data:{type:Ne,info:Re}})}function Ce(Ne,Re){it.postMessage({msg:U.DEMUX_ERROR,data:{type:Ne,info:Re}})}function Ve(Ne){it.postMessage({msg:U.RECOMMEND_SEEKPOINT,data:Ne})}function Ze(Ne,Re){it.postMessage({msg:"logcat_callback",data:{type:Ne,logcat:Re}})}};class pt{constructor(e,i){if(this.TAG="Transmuxer",this._emitter=new(z()),i.enableWorker&&typeof Worker!="undefined")try{let a=r(82059);this._worker=a(at),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,i]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},F.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:F.getConfig()})}catch(a){A.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ct(e,i)}else this._controller=new ct(e,i);if(this._controller){let a=this._controller;a.on(U.IO_ERROR,this._onIOError.bind(this)),a.on(U.DEMUX_ERROR,this._onDemuxError.bind(this)),a.on(U.INIT_SEGMENT,this._onInitSegment.bind(this)),a.on(U.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),a.on(U.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),a.on(U.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),a.on(U.MEDIA_INFO,this._onMediaInfo.bind(this)),a.on(U.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),a.on(U.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),a.on(U.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),a.on(U.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),F.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,i){this._emitter.addListener(e,i)}off(e,i){this._emitter.removeListener(e,i)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,i){Promise.resolve().then(()=>{this._emitter.emit(U.INIT_SEGMENT,e,i)})}_onMediaSegment(e,i){Promise.resolve().then(()=>{this._emitter.emit(U.MEDIA_SEGMENT,e,i)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(U.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(U.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(U.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(U.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(U.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(U.STATISTICS_INFO,e)})}_onIOError(e,i){Promise.resolve().then(()=>{this._emitter.emit(U.IO_ERROR,e,i)})}_onDemuxError(e,i){Promise.resolve().then(()=>{this._emitter.emit(U.DEMUX_ERROR,e,i)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(U.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let i=e.data,a=i.data;if(i.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(i.msg){case U.INIT_SEGMENT:case U.MEDIA_SEGMENT:this._emitter.emit(i.msg,a.type,a.data);break;case U.LOADING_COMPLETE:case U.RECOVERED_EARLY_EOF:this._emitter.emit(i.msg);break;case U.MEDIA_INFO:Object.setPrototypeOf(a,ze.prototype),this._emitter.emit(i.msg,a);break;case U.METADATA_ARRIVED:case U.SCRIPTDATA_ARRIVED:case U.STATISTICS_INFO:this._emitter.emit(i.msg,a);break;case U.IO_ERROR:case U.DEMUX_ERROR:this._emitter.emit(i.msg,a.type,a.info);break;case U.RECOMMEND_SEEKPOINT:this._emitter.emit(i.msg,a);break;case"logcat_callback":A.emitter.emit("log",a.type,a.logcat);break;default:break}}}var Pt=pt,xt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class nn{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(z()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new ye}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,i){this._emitter.addListener(e,i)}off(e,i){this._emitter.removeListener(e,i)}attachMediaElement(e){if(this._mediaSource)throw new R("MediaSource has been attached to an HTMLMediaElement!");let i=this._mediaSource=new window.MediaSource;i.addEventListener("sourceopen",this.e.onSourceOpen),i.addEventListener("sourceended",this.e.onSourceEnded),i.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let i in this._sourceBuffers){let a=this._pendingSegments[i];a.splice(0,a.length),this._pendingSegments[i]=null,this._pendingRemoveRanges[i]=null,this._lastInitSegments[i]=null;let n=this._sourceBuffers[i];if(n){if(e.readyState!=="closed"){try{e.removeSourceBuffer(n)}catch(o){A.e(this.TAG,o.message)}n.removeEventListener("error",this.e.onSourceBufferError),n.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[i]=null,this._sourceBuffers[i]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(i){A.e(this.TAG,i.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,i){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let a=e,n=`${a.container}`;a.codec&&a.codec.length>0&&(n+=`;codecs=${a.codec}`);let o=!1;if(A.v(this.TAG,"Received Initialization Segment, mimeType: "+n),this._lastInitSegments[a.type]=a,n!==this._mimeTypes[a.type]){if(this._mimeTypes[a.type])A.v(this.TAG,`Notice: ${a.type} mimeType changed, origin: ${this._mimeTypes[a.type]}, target: ${n}`);else{o=!0;try{let s=this._sourceBuffers[a.type]=this._mediaSource.addSourceBuffer(n);s.addEventListener("error",this.e.onSourceBufferError),s.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(s){A.e(this.TAG,s.message),this._emitter.emit(xt.ERROR,{code:s.code,msg:s.message});return}}this._mimeTypes[a.type]=n}i||this._pendingSegments[a.type].push(a),o||this._sourceBuffers[a.type]&&!this._sourceBuffers[a.type].updating&&this._doAppendSegments(),se.safari&&a.container==="audio/mpeg"&&a.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=a.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let i=e;this._pendingSegments[i.type].push(i),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let a=this._sourceBuffers[i.type];a&&!a.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let i in this._sourceBuffers){if(!this._sourceBuffers[i])continue;let a=this._sourceBuffers[i];if(this._mediaSource.readyState==="open")try{a.abort()}catch(o){A.e(this.TAG,o.message)}this._idrList.clear();let n=this._pendingSegments[i];if(n.splice(0,n.length),this._mediaSource.readyState!=="closed"){for(let o=0;o=1&&e-n.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let i in this._sourceBuffers){let a=this._sourceBuffers[i];if(a){let n=a.buffered,o=!1;for(let s=0;s=this._config.autoCleanupMaxBackwardDuration){o=!0;let w=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[i].push({start:l,end:w})}}else L0&&(isNaN(i)||a>i)&&(A.v(this.TAG,`Update MediaSource duration from ${i} to ${a}`),this._mediaSource.duration=a),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let i=this._sourceBuffers[e],a=this._pendingRemoveRanges[e];for(;a.length&&!i.updating;){let n=a.shift();i.remove(n.start,n.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let i in e)if(!(!this._sourceBuffers[i]||this._sourceBuffers[i].updating)&&e[i].length>0){let a=e[i].shift();if(a.timestampOffset){let n=this._sourceBuffers[i].timestampOffset,o=a.timestampOffset/1e3;Math.abs(n-o)>.1&&(A.v(this.TAG,`Update MPEG audio timestampOffset from ${n} to ${o}`),this._sourceBuffers[i].timestampOffset=o),delete a.timestampOffset}if(!a.data||a.data.byteLength===0)continue;try{this._sourceBuffers[i].appendBuffer(a.data),this._isBufferFull=!1,i==="video"&&a.hasOwnProperty("info")&&this._idrList.appendArray(a.info.syncPoints)}catch(n){this._pendingSegments[i].unshift(a),n.code===22?(this._isBufferFull||this._emitter.emit(xt.BUFFER_FULL),this._isBufferFull=!0):(A.e(this.TAG,n.message),this._emitter.emit(xt.ERROR,{code:n.code,msg:n.message}))}}}_onSourceOpen(){if(A.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let i=e.shift();this.appendInitSegment(i,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(xt.SOURCE_OPEN)}_onSourceEnded(){A.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){A.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(xt.UPDATE_END)}_onSourceBufferError(e){A.e(this.TAG,`SourceBuffer Error: ${e}`)}}var Et=nn;const ft={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Ot={NETWORK_EXCEPTION:de.EXCEPTION,NETWORK_STATUS_CODE_INVALID:de.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:de.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:de.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:B.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:B.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:B.CODEC_UNSUPPORTED};class Gt{constructor(e,i){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(z()),this._config=K(),typeof i=="object"&&Object.assign(this._config,i),e.type.toLowerCase()!=="flv")throw new Me("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let a=se.chrome&&(se.version.major<50||se.version.major===50&&se.version.build<2661);this._alwaysSeekKeyframe=!!(a||se.msedge||se.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,i){e===ce.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(ce.MEDIA_INFO,this.mediaInfo)}):e===ce.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(ce.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,i)}off(e,i){this._emitter.removeListener(e,i)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new Et(this._config),this._msectl.on(xt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(xt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(xt.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(xt.ERROR,i=>{this._emitter.emit(ce.ERROR,ft.MEDIA_ERROR,Ot.MEDIA_MSE_ERROR,i)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(i){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new R("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new R("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Pt(this._mediaDataSource,this._config),this._transmuxer.on(U.INIT_SEGMENT,(e,i)=>{this._msectl.appendInitSegment(i)}),this._transmuxer.on(U.MEDIA_SEGMENT,(e,i)=>{if(this._msectl.appendMediaSegment(i),this._config.lazyLoad&&!this._config.isLive){let a=this._mediaElement.currentTime;i.info.endDts>=(a+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(A.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(U.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(ce.LOADING_COMPLETE)}),this._transmuxer.on(U.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(ce.RECOVERED_EARLY_EOF)}),this._transmuxer.on(U.IO_ERROR,(e,i)=>{this._emitter.emit(ce.ERROR,ft.NETWORK_ERROR,e,i)}),this._transmuxer.on(U.DEMUX_ERROR,(e,i)=>{this._emitter.emit(ce.ERROR,ft.MEDIA_ERROR,e,{code:-1,msg:i})}),this._transmuxer.on(U.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(ce.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(U.METADATA_ARRIVED,e=>{this._emitter.emit(ce.METADATA_ARRIVED,e)}),this._transmuxer.on(U.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(ce.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(U.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(ce.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(U.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let i=!0,a=0,n=0;if(this._mediaElement.getVideoPlaybackQuality){let o=this._mediaElement.getVideoPlaybackQuality();a=o.totalVideoFrames,n=o.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(a=this._mediaElement.webkitDecodedFrameCount,n=this._mediaElement.webkitDroppedFrameCount):i=!1;return i&&(e.decodedFrames=a,e.droppedFrames=n),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,i=this._mediaElement.currentTime,a=0,n=0;for(let o=0;o=i+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(A.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){A.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,i=this._mediaElement.buffered,a=!1;for(let n=0;n=o&&e=s-this._config.lazyLoadRecoverDuration&&(a=!0);break}}a&&(window.clearInterval(this._progressChecker),this._progressChecker=null,a&&(A.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let i=this._mediaElement.buffered;for(let a=0;a=n&&e0){let o=this._mediaElement.buffered.start(0);(o<1&&e0&&i.currentTime0){let n=a.start(0);if(n<1&&i{this._emitter.emit(ce.MEDIA_INFO,this.mediaInfo)}):e===ce.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(ce.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,i)}off(e,i){this._emitter.removeListener(e,i)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(i){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new R("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let i={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(i.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(i.width=this._mediaElement.videoWidth,i.height=this._mediaElement.videoHeight)),i}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let i=!0,a=0,n=0;if(this._mediaElement.getVideoPlaybackQuality){let o=this._mediaElement.getVideoPlaybackQuality();a=o.totalVideoFrames,n=o.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(a=this._mediaElement.webkitDecodedFrameCount,n=this._mediaElement.webkitDroppedFrameCount):i=!1;return i&&(e.decodedFrames=a,e.droppedFrames=n),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(ce.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(ce.STATISTICS_INFO,this.statisticsInfo)}}var Tt=Vt;y.install();function Zt(it,e){let i=it;if(i==null||typeof i!="object")throw new Me("MediaDataSource must be an javascript object!");if(!i.hasOwnProperty("type"))throw new Me("MediaDataSource must has type field to indicate video file type!");switch(i.type){case"flv":return new wt(i,e);default:return new Tt(i,e)}}function cn(){return q.supportMSEH264Playback()}function vt(){return q.getFeatureList()}let Kt={};Kt.createPlayer=Zt,Kt.isSupported=cn,Kt.getFeatureList=vt,Kt.BaseLoader=ae,Kt.LoaderStatus=b,Kt.LoaderErrors=de,Kt.Events=ce,Kt.ErrorTypes=ft,Kt.ErrorDetails=Ot,Kt.FlvPlayer=wt,Kt.NativePlayer=Tt,Kt.LoggingControl=F,Object.defineProperty(Kt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var En=Kt},56762:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return y}});var t=r(59301);function y(){const[,C]=t.useReducer(z=>z+1,0);return C}},19080:function(mt,Ye,r){"use strict";r.d(Ye,{F:function(){return m},Z:function(){return z}});var t=r(92310),y=r.n(t);const C=null;function z(A,j,G){return y()({[`${A}-status-success`]:j==="success",[`${A}-status-warning`]:j==="warning",[`${A}-status-error`]:j==="error",[`${A}-status-validating`]:j==="validating",[`${A}-has-feedback`]:G})}const m=(A,j)=>j||A},18889:function(mt,Ye,r){"use strict";r.d(Ye,{Z:function(){return Te}});var t=r(92310),y=r.n(t),C=r(2738),z=r(59301),m=r(36355),A=r(19716),j=r(61621),G=r(99313),X=function(g,we){var oe={};for(var K in g)Object.prototype.hasOwnProperty.call(g,K)&&we.indexOf(K)<0&&(oe[K]=g[K]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,K=Object.getOwnPropertySymbols(g);ie{var{prefixCls:we,className:oe,hoverable:K=!0}=g,ie=X(g,["prefixCls","className","hoverable"]);const{getPrefixCls:q}=z.useContext(m.E_),P=q("card",we),ce=y()(`${P}-grid`,oe,{[`${P}-grid-hoverable`]:K});return z.createElement("div",Object.assign({},ie,{className:ce}))},v=r(17313),b=r(83116),de=r(37613);const ae=g=>{const{antCls:we,componentCls:oe,headerHeight:K,cardPaddingBase:ie,tabsMarginBottom:q}=g;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:K,marginBottom:-1,padding:`0 ${ie}px`,color:g.colorTextHeading,fontWeight:g.fontWeightStrong,fontSize:g.headerFontSize,background:g.headerBg,borderBottom:`${g.lineWidth}px ${g.lineType} ${g.colorBorderSecondary}`,borderRadius:`${g.borderRadiusLG}px ${g.borderRadiusLG}px 0 0`},(0,v.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},v.vS),{[` > ${oe}-typography, > ${oe}-typography-edit-content diff --git a/p__Video__Detail__id.29c95be3.async.js b/p__Video__Detail__id.f57464b7.async.js similarity index 99% rename from p__Video__Detail__id.29c95be3.async.js rename to p__Video__Detail__id.f57464b7.async.js index 25ce96cdb7..706cd7ecda 100644 --- a/p__Video__Detail__id.29c95be3.async.js +++ b/p__Video__Detail__id.f57464b7.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[6444],{18785:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},52671:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},8657:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},56082:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},33853:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},15075:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},43531:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},38819:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},44080:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return q}});var g=i(59301),x=i(8591),Z=i(38854),Q=i(73217),A=i(17030),f=i(41867),de=i(56102),se=i(84056),oe={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},be=(z,Ce,K)=>new Promise((T,M)=>{var u=k=>{try{N(K.next(k))}catch(I){M(I)}},S=k=>{try{N(K.throw(k))}catch(I){M(I)}},N=k=>k.done?T(k.value):Promise.resolve(k.value).then(u,S);N((K=K.apply(z,Ce)).next())});function ce(z){if(isNaN(z))return{minutes:"00",seconds:"00"};const Ce=new Date(z*1e3).toISOString().substr(11,8);return{hour:Ce.substr(0,2),minutes:Ce.substr(3,2),seconds:Ce.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function $(z,Ce){return z-Ce}function d(z){z.sort($);let Ce=0;for(let K=0;K{},handlePlay:k=()=>{},handlePlayEnded:I=()=>{},autoPlay:ne=!1,onPlayEnded:X=()=>{},isShowWaterMark:ue=!0},D)=>{var xe;const P=((xe=Ce==null?void 0:Ce.split("."))==null?void 0:xe.pop())==="flv",v=(0,g.useRef)(),B=(0,g.useRef)(),pe=(0,g.useRef)(),H=(0,g.useRef)(),le=(0,g.useRef)(),Y=(0,g.useRef)(),w=(0,g.useRef)(),j=(0,g.useRef)(),J=(0,g.useRef)(),ie=(0,g.useRef)(),ge=(0,g.useRef)(),Te=(0,g.useRef)(),Pe=(0,g.useRef)(),Ie=(0,g.useRef)(),Je=navigator.userAgent.toLowerCase().match(te),ke=Je?Je[0]:"pc",ze=(0,g.useRef)(!1),Ge=(0,f.eY)();let V=0,Le=0,m=0,y=null,h=!1,a=20,b=1,U=!1,E=!1,l=[];(0,g.useImperativeHandle)(D,()=>({getLastUpdatedTime:()=>v.current.currentTime,getDuration:()=>v.current.duration})),x.ZP.config({maxCount:1,getContainer:()=>pe.current});const p=(0,g.useCallback)((ae,he=!1)=>{let G={point:v.current.currentTime};y?(G.log_id=y,G.watch_duration=d(l),G.total_duration=Le):(u?(G.video_id=parseInt(T,10),G.course_id=u):G.video_id=T,G.duration=V,G.device=ke),he&&(G.ed="1");function Re(){return be(this,null,function*(){U=!0,y=yield M==null?void 0:M(G),U=!1,ae&&ae()})}Re()},[T,u]);(0,g.useEffect)(()=>{v.current&&(H.current.style.display="none",le.current.style.display="block"),x.ZP.destroy();let ae=null;return Q.Z.isSupported&&P&&Ce&&(Ce==null?void 0:Ce.indexOf(".m3u8"))<0?(ae=Q.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:Ce,muted:!1}),v.current&&(ae.attachMediaElement(v.current),ae.load())):v.current.setAttribute("src",Ce),c(),()=>{ae&&(ae.unload(),ae.pause(),ae.destroy(),ae=null)}},[v,P,Ce]);function o(){v.current.paused?(H.current.style.display="none",le.current.style.display="block"):(H.current.style.display="block",le.current.style.display="none")}function c(){ge.current.style.display="none",Pe.current.style.display="none",Te.current.style.display="none",v.current.muted||v.current.volume===0?ge.current.style.display="block":v.current.volume>0&&v.current.volume<=.5?Pe.current.style.display="block":Te.current.style.display="block"}(0,g.useEffect)(()=>{const ae=document.getElementById("play"),he=document.querySelectorAll(".playback-icons use");function G(){k(),S&&!ze.current&&(v.current.currentTime=S),ze.current=!0,l.push(v.current.currentTime),h||(h=!0,K&&p())}function Re(){return be(this,null,function*(){o(),l.push(v.current.currentTime),K&&p(()=>{y=null,m=0,h=!1,U=!1,E=!1,l=[],Le=0,b=1},!0),X()})}function Ne(){Y.current.value=Math.round(v.current.currentTime),w.current.value=Math.round(v.current.currentTime)}function W(){const Fe=ce(Math.round(v.current.currentTime));J.current.innerText=`${Fe.hour>0?Fe.hour+":":""}${Fe.minutes}:${Fe.seconds}`,J.current.setAttribute("datetime",`${Fe.hour>0?" "+Fe.hour+" ":""}${Fe.minutes}m ${Fe.seconds}s`)}function Be(){var Fe,tt,Et,vt,xt,Ot,gt;const Rt=Math.round((Fe=v.current)==null?void 0:Fe.duration);(Et=(tt=Y.current)==null?void 0:tt.setAttribute)==null||Et.call(tt,"max",Rt),(xt=(vt=w.current)==null?void 0:vt.setAttribute)==null||xt.call(vt,"max",Rt);const it=ce(Rt);j.current&&(j.current.innerText=`${it.hour>0?it.hour+":":""}${it.minutes}:${it.seconds}`,(gt=(Ot=j.current).setAttribute)==null||gt.call(Ot,"datetime",`${it.hour>0?" "+it.hour+" ":""}${it.minutes}m ${it.seconds}s`))}function Xe(){try{const Fe=Math.round(v.current.duration);Y.current.setAttribute("max",Fe),w.current.setAttribute("max",Fe);const tt=ce(Fe);j.current.innerText=`${tt.hour>0?tt.hour+":":""}${tt.minutes}:${tt.seconds}`,j.current.setAttribute("datetime",`${tt.hour>0?" "+tt.hour+" ":""}${tt.minutes}m ${tt.seconds}s`),Ne(),W();const{width:Et,height:vt,x:xt,y:Ot}=B.current.getBoundingClientRect();if(xt<0||Ot<0||!Et)return;if(!E){let gt=v.current.currentTime,Rt=gt-m;Math.abs(Rt)<10?(Le+=Math.abs(Rt),m=gt,U||Le-b*a>=0&&(b++,l.push(m),K&&p())):(m=gt,K&&p())}}catch(Fe){console.log(Fe)}}function Ze(){E=!0}function He(){v.current.playing&&l.push(v.current.currentTime,m),m=v.current.currentTime,E=!1}function rt(){V=v.current.duration,V<=20&&(a=V/3),v.current.addEventListener("play",G)}function _t(Fe){Fe.preventDefault(),(0,se.vp)()?(v.current.style.width="100%",v.current.style.height="100%"):v.current.style.cssText=""}function ct(){N()}function st(Fe){if(!z){x.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const tt=Fe.target.dataset.seek?Fe.target.dataset.seek:Fe.target.value;v.current.currentTime=tt,w.current.value=tt,Y.current.value=tt}function mt(Fe){const tt=Math.round(Fe.offsetX/Fe.target.clientWidth*parseInt(Fe.target.getAttribute("max"),10));Y.current.setAttribute("data-seek",tt);const Et=ce(tt);ie.current.textContent=`${Et.hour>0?Et.hour+":":""}${Et.minutes}:${Et.seconds}`;const vt=v.current.getBoundingClientRect();ie.current.style.left=`${Fe.pageX-vt.left}px`}function Ue(Fe){switch(Fe.code){case"Space":Fe.preventDefault(),F();break;case"ArrowRight":if(Fe.preventDefault(),!z){x.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(v.current.currentTime>=v.current.duration)break;v.current.currentTime=parseInt(v.current.currentTime)+5,Ne();break;case"ArrowLeft":if(Fe.preventDefault(),!z){x.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(v.current.currentTime===0)break;v.current.currentTime=parseInt(v.current.currentTime)-5,Ne();break;case"ArrowUp":Fe.preventDefault(),v.current.volume<1&&(v.current.volume=(parseInt(v.current.volume*10)+1)/10);break;case"ArrowDown":Fe.preventDefault(),v.current.volume>0&&(v.current.volume=(parseInt(v.current.volume*10)-1)/10);break}}return pe.current.addEventListener((0,se.gH)(),_t),v.current.addEventListener("canplay",rt),v.current.addEventListener("ended",Re),v.current.addEventListener("seeking",Ze),v.current.addEventListener("seeked",He),v.current.addEventListener("loadedmetadata",Be),Y.current.addEventListener("mousemove",mt),Y.current.addEventListener("input",st),v.current.addEventListener("timeupdate",Xe),v.current.addEventListener("pause",ct),v.current.addEventListener("volumechange",c),document.addEventListener("keydown",Ue),()=>{var Fe,tt,Et,vt,xt,Ot,gt,Rt,it,at,Ve,me;(Fe=v.current)==null||Fe.removeEventListener("canplay",rt),(tt=v.current)==null||tt.removeEventListener("play",G),(Et=v.current)==null||Et.removeEventListener("ended",Re),(vt=v.current)==null||vt.removeEventListener("seeking",Ze),(xt=v.current)==null||xt.removeEventListener("seeked",He),(Ot=Y.current)==null||Ot.removeEventListener("mousemove",mt),(gt=Y.current)==null||gt.removeEventListener("input",st),(Rt=v.current)==null||Rt.removeEventListener("timeupdate",Xe),(it=v.current)==null||it.removeEventListener("pause",ct),(at=v.current)==null||at.removeEventListener("loadedmetadata",Be),(Ve=v.current)==null||Ve.removeEventListener("volumechange",c),document.removeEventListener("keydown",Ue),(me=v.current)!=null&&me.playing&&(l.push(m,v.current.currentTime),K&&p())}},[v,Ce]),(0,g.useEffect)(()=>{if(v.current.onended=()=>{I(v)},v.current.oncontextmenu=()=>!1,(Ce==null?void 0:Ce.indexOf(".m3u8"))>-1){if(v.current.canPlayType("application/vnd.apple.mpegurl"))v.current.src=Ce;else if(A.ZP.isSupported()){var ae=new A.ZP;ae.loadSource(Ce),ae.attachMedia(v.current)}}},[Ce]);const[_,L]=(0,g.useState)(1),F=()=>{v.current.paused||v.current.ended?v.current.play():v.current.pause(),o()};function fe(){v.current.muted=!v.current.muted,v.current.muted?(Ie.current.setAttribute("data-volume",volume.value),Ie.current.value=0):Ie.current.value=Ie.current.dataset.volume}return g.createElement("div",{style:{position:"relative"},ref:pe},g.createElement("div",{ref:B,className:`${oe.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${oe.animate__loop}`},ue&&Ge?Ge.login:" "),g.createElement("div",{className:oe.container},g.createElement("div",{className:oe["video-container"],id:"video-container"},g.createElement("div",{className:oe["playback-animation"],id:"playback-animation"},g.createElement("svg",{className:oe["playback-icons"]},g.createElement("use",{className:"hidden",href:"#play-icon"}),g.createElement("use",{href:"#pause"}))),g.createElement("video",{className:oe.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:v,autoPlay:ne}),g.createElement("div",{className:`${oe["video-controls"]} `,id:"video-controls"},g.createElement("div",{className:oe["bottom-controls"]},g.createElement("div",{className:oe["left-controls"]},g.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:F},g.createElement("svg",{className:oe["playback-icons"]},g.createElement("use",{ref:le,href:"#play-icon"}),g.createElement("use",{ref:H,style:{display:"none"},href:"#pause"}))),g.createElement("div",{className:oe.time},g.createElement("time",{id:"time-elapsed",ref:J},"00:00"),g.createElement("span",null," / "),g.createElement("time",{id:"duration",ref:j},"00:00"))),g.createElement("div",{className:oe["right-controls"]},z&&g.createElement(Z.Z,{placement:"top",overlayClassName:oe.rateOverlay,getPopupContainer:ae=>ae.parentNode,menu:{items:[{key:"1",label:g.createElement("span",{onClick:()=>{L(1),v.current.playbackRate=1}},"1.0x")},{key:"2",label:g.createElement("span",{onClick:()=>{L(1.5),v.current.playbackRate=1.5}},"1.5x")},{key:"3",label:g.createElement("span",{onClick:()=>{L(2),v.current.playbackRate=2}},"2.0x")}]}},g.createElement("div",{className:`${oe.controlText} mr5`},"\u500D\u901F")),g.createElement(de.CopyToClipboard,{text:Ce,onCopy:()=>x.ZP.success("\u590D\u5236\u6210\u529F")},g.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},g.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),g.createElement("div",{className:oe["volume-controls"]},g.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:oe["volume-button"],id:"volume-button",onClick:fe},g.createElement("i",{ref:ge,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),g.createElement("i",{ref:Pe,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),g.createElement("i",{ref:Te,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),g.createElement("input",{className:oe.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Ie,style:{display:"none"},onClick:c})),g.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:oe["fullscreen-button"],onClick:()=>{(0,se.vp)()?(0,se.BU)():(0,se.Dj)(pe.current)}},g.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),g.createElement("div",{className:oe["video-progress"]},g.createElement("progress",{ref:w,value:"0",min:"0"}),g.createElement("input",{className:oe.seek,ref:Y,value:"0",min:"0",type:"range",step:"1"}),g.createElement("div",{className:oe["seek-tooltip"],ref:ie,id:"seek-tooltip"},"00:00"))))),g.createElement("svg",{style:{display:"none"}},g.createElement("defs",null,g.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},g.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),g.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},g.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),g.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},g.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),g.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},g.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),g.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},g.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),g.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},g.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),g.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},g.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),g.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},g.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},31103:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return x}});var g=i(59301);function x(Z,Q){const A=(0,g.useRef)();(0,g.useEffect)(()=>{A.current=Z}),(0,g.useEffect)(()=>{function f(){A.current()}if(Q!==null){let de=setInterval(f,Q);return()=>clearInterval(de)}},[Q])}},90131:function(ht,Me,i){"use strict";i.r(Me),i.d(Me,{default:function(){return o},formatQuery:function(){return l}});var g=i(59301),x=i(65582),Z=i(71418),Q={bg:"bg___eq_Aq",container:"container___j770l",widthle:"widthle___ouh1T"},A=i(24334),f=i(44080),de=i(43418),se=i(13570),oe=i(78673),be=i(64165),ce={contentWrap:"contentWrap___xMJQi",title:"title___z4t4P",footer:"footer___CLzrT",footer_left:"footer_left___N2sZZ",footer_bfcs:"footer_bfcs___UmvUE",footer_bfcs_value:"footer_bfcs_value___yiYga",pingfen:"pingfen___aEEMe",fenshu:"fenshu___I6HCo",radioGroup:"radioGroup___RT1dL",wrap:"wrap___QZGSJ",introName:"introName___m17tA",rating:"rating___MXLBr",modalRating:"modalRating___aluwj",zdbf:"zdbf___9PNEF"},$=i(31103),d=i(54624),te=i(65862),q=i(59301),z=Object.defineProperty,Ce=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,M=(c,_,L)=>_ in c?z(c,_,{enumerable:!0,configurable:!0,writable:!0,value:L}):c[_]=L,u=(c,_)=>{for(var L in _||(_={}))K.call(_,L)&&M(c,L,_[L]);if(Ce)for(var L of Ce(_))T.call(_,L)&&M(c,L,_[L]);return c},S=(c,_)=>{var L={};for(var F in c)K.call(c,F)&&_.indexOf(F)<0&&(L[F]=c[F]);if(c!=null&&Ce)for(var F of Ce(c))_.indexOf(F)<0&&T.call(c,F)&&(L[F]=c[F]);return L},N=(c,_,L)=>new Promise((F,fe)=>{var ae=Re=>{try{G(L.next(Re))}catch(Ne){fe(Ne)}},he=Re=>{try{G(L.throw(Re))}catch(Ne){fe(Ne)}},G=Re=>Re.done?F(Re.value):Promise.resolve(Re.value).then(ae,he);G((L=L.apply(c,_)).next())});const k=c=>{var _=c,{videoDetail:L,globalSetting:F,loading:fe,dispatch:ae}=_,he=S(_,["videoDetail","globalSetting","loading","dispatch"]);const{queryParams:G,selectParams:Re,videoList:Ne}=L,{subject_id:W,videoId:Be}=G,{checkBoxValue:Xe,radioValue:Ze}=Re,He={videoId:Be},rt={query:G},_t=(0,g.useRef)(),ct=(0,g.useRef)(),st=(0,g.useRef)(),mt=(0,g.useRef)(5),{video_item:Ue}=L.detail||{};(0,$.Z)(()=>N(void 0,null,function*(){ct.current&&(console.log("videoRef lastUpdatedTime: ",_t.current.getLastUpdatedTime()),console.log(_t.current),yield Fe())}),mt.current*1e3);const Fe=(it=!1)=>{const at=it?{is_f:1}:{};return(0,d.DH)(u(u({},at),{id:He.videoId,point:_t.current.getLastUpdatedTime(),total:_t.current.getDuration()}))},tt=it=>(it.ed==="1"&&(ct.current=!1,Fe(!0)),!ct.current&&!it.ed&&(ct.current=!0,mt.current=_t.current.getDuration()<=5?1:5,Fe()),ae({type:"userDetail/logWatchHistory",payload:it})),Et=()=>{ct.current=!1},vt=()=>{ct.current=!0},xt=()=>{st.current=5,de.default.confirm({width:600,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u8BF7\u7ED9\u672C\u89C6\u9891\u8BC4\u5206",content:q.createElement("div",{className:"tc font14"},q.createElement(se.Z,{defaultValue:st.current,onChange:it=>st.current=it,className:ce.modalRating})),onOk:()=>N(void 0,null,function*(){if((yield(0,d.jK)({id:He.videoId,star:st.current})).status===0){const{course_id:at}=(0,te.oP)();ae({type:"videoDetail/getVideoDetail",payload:{id:He.videoId,videoId:He.videoId,course_id:at,subject_id:W}})}})})},Ot=it=>{const at=window.filterVideoSign,Ve=at.findIndex(s=>s.id===Be);if(Ve===at.length-1)return;const e=at[Ve+1].id,t=at[Ve+1].can_view,n=at[Ve+1].link,r=at[Ve+1].is_public;if(window.checkBoxValue){if(n){window.open(n);return}if(!t){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:q.createElement("div",{className:"tc font14"},"\u4E0B\u4E00\u6761\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});return}if(!r){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:q.createElement("div",{className:"tc font14"},"\u4E0B\u4E00\u6761\u89C6\u9891\u6682\u672A\u516C\u5F00\uFF0C\u656C\u8BF7\u671F\u5F85")});return}ae({type:"videoDetail/handleListItemClick",payload:{videoId:e}}),window.videoTimer=setTimeout(()=>{it.current.play()},2e3)}},gt=(it,at)=>{if(it==="checkBox"){const Ve=at;window.checkBoxValue=Ve,ae({type:"videoDetail/setSelectValue",payload:{radioValue:Ze,checkBoxValue:Ve}});return}ae({type:"videoDetail/setSelectValue",payload:{checkBoxValue:Xe,radioValue:at.target.value}})},Rt=()=>Ne.findIndex(Ve=>Ve.id===Be)===Ne.length-1?q.createElement("div",null,"\u5F53\u524D\u5DF2\u662F\u6700\u540E\u4E00\u4E2A\u89C6\u9891"):q.createElement("div",null,q.createElement(oe.Z,{onChange:Ve=>{gt("checkBox",Ve)},defaultChecked:Xe,size:"small"}),q.createElement("span",{className:ce.zdbf},"\u81EA\u52A8\u64AD\u653E\u4E0B\u4E00\u4E2A\u89C6\u9891"));return q.createElement("aside",{className:ce.contentWrap},q.createElement("aside",{className:ce.wrap},q.createElement("header",null),q.createElement("div",{className:ce.title},Ue==null?void 0:Ue.name),!(Ue!=null&&Ue.can_edit)&&!(Ue!=null&&Ue.is_public)?q.createElement(be.Z,{description:"\u5F53\u524D\u89C6\u9891\u6682\u672A\u516C\u5F00\uFF0C\u656C\u8BF7\u671F\u5F85"}):q.createElement(f.Z,{ref:_t,startTime:Ue==null?void 0:Ue.last_point,src:Ue!=null&&Ue.is_link?Ue==null?void 0:Ue.link:(Ue==null?void 0:Ue.play_url)&&A.Base64.decode(Ue==null?void 0:Ue.play_url),videoId:Ue==null?void 0:Ue.video_id,logWatchHistory:tt,handlePause:Et,handlePlay:vt,allow_skip:Ue==null?void 0:Ue.allow_skip,handlePlayEnded:Ot,toLog:()=>{}}),q.createElement("div",{className:ce.footer},q.createElement("div",{className:ce.footer_left},q.createElement("div",{className:ce.pingfen},"\u8BC4\u5206"),q.createElement(se.Z,{value:Ue==null?void 0:Ue.star,disabled:!0,className:ce.rating,style:{color:"#FFA100",fontSize:12,marginLeft:10}}),q.createElement("div",{className:ce.fenshu},(Ue==null?void 0:Ue.star)||0,"\u5206")),!(Ue!=null&&Ue.can_edit)&&!(Ue!=null&&Ue.is_public)?null:q.createElement("div",null,q.createElement("div",{className:ce.checkBox},Rt()))),q.createElement("div",{className:"mt10"},(Ue==null?void 0:Ue.description)&&q.createElement("span",{className:ce.introName},"\u7B80\u4ECB\uFF1A",Ue.description))))};var I=(0,x.connect)(({videoDetail:c,loading:_,globalSetting:L})=>({videoDetail:c,globalSetting:L,loading:_}))(k),ne=i(8591),X=i(17574),ue={flex_box_center:"flex_box_center___yWqSL",flex_space_between:"flex_space_between___LgFmv",flex_box_vertical_center:"flex_box_vertical_center____lt6U",flex_box_center_end:"flex_box_center_end___UqkaD",flex_box_column:"flex_box_column___V8XLF",list:"list___8tjfT",tree_style:"tree_style___ZzDvO",title:"title___IVfkQ",gray:"gray___RnyYk",brght:"brght___EWRNa",s1:"s1___dPBQg",s3:"s3___SRBBG",active:"active___hsNCX",tree_line:"tree_line___EGn30",tabs_style:"tabs_style___Nwkiq",tabs_item:"tabs_item___Vzu_U",tabs_item_active:"tabs_item_active___BcIwZ"},D=i(87513),xe=i(60979),R=i(74128),P=i(59301),v=Object.defineProperty,B=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,w=(c,_,L)=>_ in c?v(c,_,{enumerable:!0,configurable:!0,writable:!0,value:L}):c[_]=L,j=(c,_)=>{for(var L in _||(_={}))le.call(_,L)&&w(c,L,_[L]);if(H)for(var L of H(_))Y.call(_,L)&&w(c,L,_[L]);return c},J=(c,_)=>B(c,pe(_)),ie=(c,_)=>{var L={};for(var F in c)le.call(c,F)&&_.indexOf(F)<0&&(L[F]=c[F]);if(c!=null&&H)for(var F of H(c))_.indexOf(F)<0&&Y.call(c,F)&&(L[F]=c[F]);return L},ge=(c,_,L)=>new Promise((F,fe)=>{var ae=Re=>{try{G(L.next(Re))}catch(Ne){fe(Ne)}},he=Re=>{try{G(L.throw(Re))}catch(Ne){fe(Ne)}},G=Re=>Re.done?F(Re.value):Promise.resolve(Re.value).then(ae,he);G((L=L.apply(c,_)).next())});const Te=[{name:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",icon:P.createElement("i",{className:"iconfont icon-shixun2 font20"}),bq:P.createElement("span",{style:{border:"1px solid #FF9D18",color:"#FF9D18"},className:ue.s1},"\u5B9E\u8BAD")},{name:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",icon:P.createElement("i",{className:"iconfont icon-shipin font20"}),bq:P.createElement("span",{style:{border:"1px solid #9B18FF",color:"#9B18FF"},className:ue.s1},"\u89C6\u9891")},{name:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",icon:P.createElement("i",{className:"iconfont icon-jiaoxueanli font20"}),bq:P.createElement("span",{style:{border:"1px solid #3061D0",color:"#3061D0"},className:ue.s1},"\u8D44\u6599")},{name:"\u7A7A\u76EE\u5F55",type:"StageCatalog",icon:P.createElement("i",{className:"iconfont icon-kongbai font20"}),bq:P.createElement("span",null)}],Pe=c=>{var _=c,{dispatch:L,pathsDetail:F,videoDetail:fe,user:ae}=_,he=ie(_,["dispatch","pathsDetail","videoDetail","user"]);const{queryParams:G,stages:Re,cust_seq:Ne,active:W}=fe,{subject_id:Be,course_id:Xe}=G,Ze=(0,x.useParams)(),[He]=(0,x.useSearchParams)(),[rt,_t]=(0,g.useState)([]),[ct,st]=(0,g.useState)([(W==null?void 0:W.id)||Number(Ze.videoId)]),[mt,Ue]=(0,g.useState)("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"),Fe=[".PDF",".DOC",".DOCX",".XLS",".XLSX",".PPT",".PPTX"];(0,g.useEffect)(()=>{L(Be?{type:"videoDetail/getStageData",payload:{subject_id:Be,page_type:"video"}}:{type:"videoDetail/getCourseStageData",payload:{coursesId:Xe}})},[]),(0,g.useEffect)(()=>{tt()},[fe==null?void 0:fe.stages]);const tt=()=>{let Ve=rt;Re.forEach((me,e)=>{Ve.push({title:P.createElement("div",{title:me.stage_name,className:ue.title},me.stage_name),value:me==null?void 0:me.stage_id,key:me==null?void 0:me.stage_id,icon:P.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Et(me.items||[])})}),_t(Ve)},Et=Ve=>{function me(e){var t;const n=e.children,r=Array.isArray(n)&&n.length>0,s=e==null?void 0:e.id,{name:C,item_type:O,id:we}=e,Se=(t=Te.find(ot=>ot.type===O))==null?void 0:t.bq,De=ue.brght,Qe=W.id===we?`${De} ${ue.active}`:De;return{title:P.createElement("div",{onClick:()=>gt(e),className:De,title:C},Se,P.createElement("div",{className:ue.s3},C)),value:s,key:s,icon:P.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:r?n==null?void 0:n.map(ot=>me(ot)):[]}}return Ve==null?void 0:Ve.map(e=>me(e))},vt=(Ve,me)=>ge(void 0,null,function*(){L({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const e=me?yield(0,xe.BK)({id:Ve}):yield(0,xe.Ir)({id:Ve});if(L({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),e!=null&&e.game_identifier||e!=null&&e.identifier){(0,te.xg)(me?`/tasks/${e==null?void 0:e.identifier}/jupyter`:`/tasks/${e.game_identifier}`);return}(e==null?void 0:e.status)===2?Ot(e==null?void 0:e.message):(e==null?void 0:e.status)===3&&xt(e==null?void 0:e.message)}),xt=Ve=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:P.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Ve,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Ot=Ve=>{Ve=Ve!=null&&Ve.includes(".json")?Ve:`${Ve}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:P.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>ge(void 0,null,function*(){const me=yield(0,D.L8)({url:Ve});if(!me)return;ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const e=yield(0,xe.Ir)({id:me.shixun_identifier});if(e!=null&&e.game_identifier){(0,te.xg)(`/tasks/${e.game_identifier}`);return}(e==null?void 0:e.status)===2?Ot(e==null?void 0:e.message):(e==null?void 0:e.status)===3&&xt(e==null?void 0:e.message)})})},gt=Ve=>{var me,e,t,n,r;if((Ve==null?void 0:Ve.item_type)==="StageCatalog")return;clearTimeout(window.videoTimer);const{id:s,item_type:C,identifier:O,is_jupyter:we,url:Se,link:De}=Ve;if(C==="VideoItem"&&!De){if(!((me=ae.userInfo)!=null&&me.admin)&&!((e=ae.userInfo)!=null&&e.business)&&!Ve.can_view){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:P.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});return}L({type:"videoDetail/handleListItemClick",payload:{videoId:s}}),L({type:"videoDetail/getVideoDetail",payload:J(j({id:s},G),{videoId:s}),callback:Qe=>{if(Qe&&Qe.video_item&&!Qe.video_item.can_edit&&!Ve.is_public){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:P.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u6682\u672A\u516C\u5F00\uFF0C\u656C\u8BF7\u671F\u5F85")});return}}});return}if(C==="VideoItem"&&De){Ve.link&&(0,d.DH)({is_f:1,id:Ve.id,point:0,total:0}),window.open(De);return}if(C==="Shixun"){vt(O,we);return}if(C==="Attachment"){if(De){(0,te.xg)(De);return}let Qe=(n=Ve==null?void 0:Ve.name)==null?void 0:n.substr((t=Ve==null?void 0:Ve.name)==null?void 0:t.lastIndexOf("."));if(Fe.includes(Qe.toUpperCase())){L({type:"videoDetail/handleListItemClick",payload:{attachmentId:s}});return}else{if(!((r=F.detail)!=null&&r.allow_download)){ne.ZP.info("\u6559\u5B66\u8BFE\u4EF6\u4E0D\u652F\u6301\u4E0B\u8F7D");return}(0,te.FH)(Ve.name,R.Z.API_SERVER+Ve.url);return}}window.open(R.Z.IMG_SERVER+Se)},Rt=Ve=>{let me=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],e=["","\u5341","\u767E","\u5343","\u4E07"];Ve=parseInt(Ve);let t=s=>{let C=s.toString().split("").reverse(),O="";for(var we=0;we0&&C[we]==0&&C[we-1]==0?"":me[C[we]]+(C[we]==0?e[0]:e[we]))+O;return O},n=Math.floor(Ve/1e4),r=Ve%1e4;return r.toString().length<4&&(r="0"+r),n?t(n)+"\u4E07"+t(r):t(Ve)},it=(Ve,me,e,t)=>{var n;const{name:r,item_type:s,id:C}=Ve,O=`${me+1}-${e+1}-${t+1}`,we=(n=Te.find(Qe=>Qe.type===s))==null?void 0:n.icon,Se=ue.brght,De=W.id===C?`${Se} ${ue.active}`:Se;return P.createElement("div",{key:O,onClick:()=>gt(Ve),className:De,style:{paddingLeft:52}},P.createElement("span",{className:ue.s1},we),!!Ne&&P.createElement("span",{className:ue.s2},O),P.createElement("span",{className:ue.s3},"\u203B ",r))},at=(Ve,me,e)=>{var t;const{name:n,item_type:r,id:s,children:C}=Ve,O=`${me+1}-${e+1}`,we=(t=Te.find(Qe=>Qe.type===r))==null?void 0:t.icon,Se=ue.brght,De=W.id===s?`${Se} ${ue.active}`:Se;return P.createElement(g.Fragment,{key:O},P.createElement("div",{onClick:()=>gt(Ve),className:De},P.createElement("span",{className:ue.s1},we),!!Ne&&P.createElement("span",{className:ue.s2},O),P.createElement("span",{className:ue.s3},"\u203B ",n)),!!C.length&&C.map((Qe,ot)=>it(Qe,me,e,ot)))};return P.createElement("aside",{className:ue.list},P.createElement("div",{className:ue.tabs_style},P.createElement("div",{className:ue.tabs_item,onClick:()=>{Ue("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55")}},"\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55",mt=="\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"&&P.createElement("div",{className:ue.tabs_item_active}))),P.createElement("div",{className:ue.tree_style},(rt==null?void 0:rt.length)>0&&P.createElement(X.default,{selectedKeys:ct,onSelect:(Ve,me)=>{st([...Ve])},blockNode:!0,treeData:rt,defaultExpandAll:!0,className:ue.tree_line})))};var Ie=(0,x.connect)(({user:c,videoDetail:_,loading:L,globalSetting:F,pathsDetail:fe})=>({user:c,videoDetail:_,globalSetting:F,loading:L,pathsDetail:fe}))(Pe),Je=i(21185),ke=i(59301),ze=Object.defineProperty,Ge=Object.defineProperties,V=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,h=(c,_,L)=>_ in c?ze(c,_,{enumerable:!0,configurable:!0,writable:!0,value:L}):c[_]=L,a=(c,_)=>{for(var L in _||(_={}))m.call(_,L)&&h(c,L,_[L]);if(Le)for(var L of Le(_))y.call(_,L)&&h(c,L,_[L]);return c},b=(c,_)=>Ge(c,V(_)),U=(c,_)=>{var L={};for(var F in c)m.call(c,F)&&_.indexOf(F)<0&&(L[F]=c[F]);if(c!=null&&Le)for(var F of Le(c))_.indexOf(F)<0&&y.call(c,F)&&(L[F]=c[F]);return L},E=(c,_,L)=>new Promise((F,fe)=>{var ae=Re=>{try{G(L.next(Re))}catch(Ne){fe(Ne)}},he=Re=>{try{G(L.throw(Re))}catch(Ne){fe(Ne)}},G=Re=>Re.done?F(Re.value):Promise.resolve(Re.value).then(ae,he);G((L=L.apply(c,_)).next())});const l=c=>{const{subject_id:_}=c;return{subject_id:_,course_id:_}},p=c=>{var _=c,{videoDetail:L,globalSetting:F,loading:fe,pathsDetail:ae,dispatch:he}=_,G=U(_,["videoDetail","globalSetting","loading","pathsDetail","dispatch"]),Re,Ne;const{queryParams:W,videoList:Be,attachmentList:Xe,active:Ze}=L,{subject_id:He,videoId:rt}=W,_t={videoId:rt};(0,g.useEffect)(()=>{if(Ze){const{item_type:mt,id:Ue}=Ze;mt==="VideoItem"&&he({type:"videoDetail/getVideoDetail",payload:b(a({},W),{id:Ue})})}},[Ze.id]),console.log("---",Ze),(0,g.useEffect)(()=>{He&&ct()},[]);function ct(){return E(this,null,function*(){const mt=yield he({type:"pathsDetail/getPathsDetail",payload:{id:He}})})}(0,g.useEffect)(()=>{var mt,Ue;(0,te.Dk)((Ue=(mt=L.detail)==null?void 0:mt.video_item)==null?void 0:Ue.name)},[L]);let st={width:1200};return Ze&&Ze.item_type==="Attachment"&&Ze.content_type==="application/pdf"&&(st={width:1250,marginLeft:(document.body.clientWidth-1200)/2}),ke.createElement(Z.Z,{spinning:!1},ke.createElement("section",{className:Q.bg},ke.createElement("div",{className:Q.container,style:st},ke.createElement(Ie,null),Ze&&Ze.item_type==="VideoItem"&&ke.createElement(I,null),Ze&&Ze.item_type==="Attachment"&&Ze.content_type==="application/pdf"&&Ze.url&&ke.createElement("div",{className:Q.widthle},ke.createElement(Je.Z,{disabledDownload:!((Re=ae.detail)!=null&&Re.allow_download),type:"pdf",filename:Ze.name,data:R.Z.API_SERVER+Ze.url,style:{position:"absolute",zIndex:1}})),Ze&&Ze.item_type==="Attachment"&&["application/msword","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(Ze.content_type)&&Ze.url&&ke.createElement("div",{className:Q.widthle},ke.createElement(Je.Z,{disabledDownload:!((Ne=ae.detail)!=null&&Ne.allow_download),type:"office",data:R.Z.API_SERVER+Ze.url,style:{position:"absolute",zIndex:1}})))))};var o=(0,x.connect)(({videoDetail:c,loading:_,globalSetting:L,pathsDetail:F})=>({videoDetail:c,globalSetting:L,loading:_,pathsDetail:F}))(p)},84056:function(ht,Me,i){"use strict";i.d(Me,{BU:function(){return x},Dj:function(){return g},gH:function(){return Z},vp:function(){return Q}});function g(A){try{A.mozRequestFullScreen?A.mozRequestFullScreen():A.webkitRequestFullScreen&&A.webkitRequestFullScreen()}catch(f){console.log(f,":e")}}function x(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const Z=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Q(){var A=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,f=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",A),window.isFullScreen?window.isFullScreen:A!=null}},73217:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return Ve}});class g{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","error",n),A.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","info",n),A.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","warn",n),A.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","debug",n),A.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","verbose",n),A.ENABLE_VERBOSE&&console.log(n)}}A.GLOBAL_TAG="flv.js",A.FORCE_GLOBAL_TAG=!1,A.ENABLE_ERROR=!0,A.ENABLE_INFO=!0,A.ENABLE_WARN=!0,A.ENABLE_DEBUG=!0,A.ENABLE_VERBOSE=!0,A.ENABLE_CALLBACK=!1,A.emitter=new(Q());var f=A;class de{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var se=de;class oe{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class be extends oe{constructor(e){super(e)}get name(){return"IllegalStateException"}}class ce extends oe{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class $ extends oe{constructor(e){super(e)}get name(){return"NotImplementedException"}}const d={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},te={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class q{constructor(e){this._type=e||"undefined",this._status=d.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=d.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===d.kConnecting||this._status===d.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new $("Unimplemented abstract function!")}abort(){throw new $("Unimplemented abstract function!")}}let z={};function Ce(){let me=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(me)||/(opr)[\/]([\w.]+)/.exec(me)||/(chrome)[ \/]([\w.]+)/.exec(me)||/(iemobile)[\/]([\w.]+)/.exec(me)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(me)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(me)||/(webkit)[ \/]([\w.]+)/.exec(me)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(me)||/(msie) ([\w.]+)/.exec(me)||me.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(me)||me.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(me)||[],t=/(ipad)/.exec(me)||/(ipod)/.exec(me)||/(windows phone)/.exec(me)||/(iphone)/.exec(me)||/(kindle)/.exec(me)||/(android)/.exec(me)||/(windows)/.exec(me)||/(mac)/.exec(me)||/(linux)/.exec(me)||/(cros)/.exec(me)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},r={};if(n.browser){r[n.browser]=!0;let s=n.majorVersion.split(".");r.version={major:parseInt(n.majorVersion,10),string:n.version},s.length>1&&(r.version.minor=parseInt(s[1],10)),s.length>2&&(r.version.build=parseInt(s[2],10))}if(n.platform&&(r[n.platform]=!0),(r.chrome||r.opr||r.safari)&&(r.webkit=!0),r.rv||r.iemobile){r.rv&&delete r.rv;let s="msie";n.browser=s,r[s]=!0}if(r.edge){delete r.edge;let s="msedge";n.browser=s,r[s]=!0}if(r.opr){let s="opera";n.browser=s,r[s]=!0}if(r.safari&&r.android){let s="android";n.browser=s,r[s]=!0}r.name=n.browser,r.platform=n.platform;for(let s in z)z.hasOwnProperty(s)&&delete z[s];Object.assign(z,r)}Ce();var K=z;class T extends q{static isSupported(){try{let e=K.msedge&&K.version.minor>=15048,t=K.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let r=this._seekHandler.getConfig(n,t),s=new self.Headers;if(typeof r.headers=="object"){let O=r.headers;for(let we in O)O.hasOwnProperty(we)&&s.append(we,O[we])}let C={method:"GET",headers:s,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let O in this._config.headers)s.append(O,this._config.headers[O]);e.cors===!1&&(C.mode="same-origin"),e.withCredentials&&(C.credentials="include"),e.referrerPolicy&&(C.referrerPolicy=e.referrerPolicy),this._status=d.kConnecting,self.fetch(r.url,C).then(O=>{if(this._requestAbort){this._requestAbort=!1,this._status=d.kIdle;return}if(O.ok&&O.status>=200&&O.status<=299){if(O.url!==r.url&&this._onURLRedirect){let Se=this._seekHandler.removeURLParameters(O.url);this._onURLRedirect(Se)}let we=O.headers.get("Content-Length");return we!=null&&(this._contentLength=parseInt(we),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,O.body.getReader())}else if(this._status=d.kError,this._onError)this._onError(te.HTTP_STATUS_CODE_INVALID,{code:O.status,msg:O.statusText});else throw new oe("FetchStreamLoader: Http code invalid, "+O.status+" "+O.statusText)}).catch(O=>{if(this._status=d.kError,this._onError)this._onError(te.EXCEPTION,{code:-1,msg:O.message});else throw O})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&K.msedge)return;this._status=d.kError;let n=0,r=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=d.kError,this._onError)this._onError(te.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new oe("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=d.kBuffering}}_onProgress(e){if(this._status===d.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===d.kError)return;this._status=d.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=d.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let r=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&r!==this._currentRedirectedURL&&(this._currentRedirectedURL=r,this._onURLRedirect&&this._onURLRedirect(r))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let r=parseInt(n);r>0&&(this._contentLength=r,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let r=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let s=this._totalRange.from+this._receivedLength;this._receivedLength+=r.byteLength,this._onDataArrival&&this._onDataArrival(r,s,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${s+r.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let r=this._seekHandler.getConfig(n,t);this._currentRequestURL=r.url;let s=this._xhr=new XMLHttpRequest;if(s.open("GET",r.url,!0),s.responseType="arraybuffer",s.onreadystatechange=this._onReadyStateChange.bind(this),s.onprogress=this._onProgress.bind(this),s.onload=this._onLoad.bind(this),s.onerror=this._onXhrError.bind(this),e.withCredentials&&(s.withCredentials=!0),typeof r.headers=="object"){let C=r.headers;for(let O in C)C.hasOwnProperty(O)&&s.setRequestHeader(O,C[O])}if(typeof this._config.headers=="object"){let C=this._config.headers;for(let O in C)C.hasOwnProperty(O)&&s.setRequestHeader(O,C[O])}s.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=d.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=d.kBuffering}else if(this._status=d.kError,this._onError)this._onError(te.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new oe("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===d.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let r=e.total;this._internalAbort(),r!=null&r!==0&&(this._totalLength=r)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,r=0,s=0,C=n;if(e=t[r]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let C=this._normalizeSpeed(t);this._currentSpeedNormalized!==C&&(this._currentSpeedNormalized=C,this._currentChunkSizeKB=C)}let n=e.target.response,r=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let s=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=d.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(te.EXCEPTION,t);else throw new oe(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=d.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(te.EXCEPTION,t);else throw new oe(t.msg)}}var ue=X;class D{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let r;t.to!==-1?r=`bytes=${t.from.toString()}-${t.to.toString()}`:r=`bytes=${t.from.toString()}-`,n.Range=r}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var xe=D;class R{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let r=!0;n.indexOf("?")===-1&&(n+="?",r=!1),r&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,r=e.indexOf("?");r!==-1&&(n=e.substring(r+1));let s="";if(n!=null&&n.length>0){let C=n.split("&");for(let O=0;O0;we[0]!==this._startName&&we[0]!==this._endName&&(Se&&(s+="&"),s+=C[O])}}return s.length===0?t:t+"?"+s}}var P=R;class v{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new se,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===ne?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new xe(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new P(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new ce("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new ce(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=ue;else if(M.isSupported())this._loaderClass=M;else if(S.isSupported())this._loaderClass=S;else if(ne.isSupported())this._loaderClass=ne;else throw new oe("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new ce("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let r=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(r,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,r=0,s=0,C=n;if(e=t[r]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let C=this._stashBuffer.slice(0,this._stashUsed),O=this._dispatchChunks(C,this._stashByteStart);if(O0){let we=new Uint8Array(C,O);s.set(we,0),this._stashUsed=we.byteLength,this._stashByteStart+=O}}else this._stashUsed=0,this._stashByteStart+=O;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),s=new Uint8Array(this._stashBuffer,0,this._bufferSize)),s.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let C=this._dispatchChunks(e,t);if(Cthis._bufferSize&&(this._expandBuffer(O),s=new Uint8Array(this._stashBuffer,0,this._bufferSize)),s.set(new Uint8Array(e,C),0),this._stashUsed+=O,this._stashByteStart=t+C}}}else if(this._stashUsed===0){let s=this._dispatchChunks(e,t);if(sthis._bufferSize&&this._expandBuffer(C),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,s),0),this._stashUsed+=C,this._stashByteStart=t+s}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let s=new Uint8Array(this._stashBuffer,0,this._bufferSize);s.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let C=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(C0){let O=new Uint8Array(this._stashBuffer,C);s.set(O,0)}this._stashUsed-=C,this._stashByteStart+=C}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),r=t.byteLength-n;if(n0){let s=new Uint8Array(this._stashBuffer,0,this._bufferSize),C=new Uint8Array(t,n);s.set(C,0),this._stashUsed=C.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,r}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(f.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=te.UNRECOVERABLE_EARLY_EOF),e){case te.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=J.getConfig();e.emit("change",t)}}static registerListener(e){J.emitter.addListener("change",e)}static removeListener(e){J.emitter.removeListener("change",e)}static addLogListener(e){f.emitter.addListener("log",e),f.emitter.listenerCount("log")>0&&(f.ENABLE_CALLBACK=!0,J._notifyChange())}static removeLogListener(e){f.emitter.removeListener("log",e),f.emitter.listenerCount("log")===0&&(f.ENABLE_CALLBACK=!1,J._notifyChange())}}J.emitter=new(Q());var ie=J;class ge{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,r=e.length-1,s=0,C=0,O=r;for(t=e[s]&&t=128){e.push(String.fromCharCode(s&65535)),n+=2;continue}}}else if(t[n]<240){if(Pe(t,n,2)){let s=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(s>=2048&&(s&63488)!==55296){e.push(String.fromCharCode(s&65535)),n+=3;continue}}}else if(t[n]<248&&Pe(t,n,3)){let s=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(s>65536&&s<1114112){s-=65536,e.push(String.fromCharCode(s>>>10|55296)),e.push(String.fromCharCode(s&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var Je=Ie;let ke=function(){let me=new ArrayBuffer(2);return new DataView(me).setInt16(0,256,!0),new Int16Array(me)[0]===256}();class ze{static parseScriptData(e,t,n){let r={};try{let s=ze.parseValue(e,t,n),C=ze.parseValue(e,t+s.size,n-s.size);r[s.data]=C.data}catch(s){f.e("AMF",s.toString())}return r}static parseObject(e,t,n){if(n<3)throw new be("Data not enough when parse ScriptDataObject");let r=ze.parseString(e,t,n),s=ze.parseValue(e,t+r.size,n-r.size),C=s.objectEnd;return{data:{name:r.data,value:s.data},size:r.size+s.size,objectEnd:C}}static parseVariable(e,t,n){return ze.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new be("Data not enough when parse String");let s=new DataView(e,t,n).getUint16(0,!ke),C;return s>0?C=Je(new Uint8Array(e,t+2,s)):C="",{data:C,size:2+s}}static parseLongString(e,t,n){if(n<4)throw new be("Data not enough when parse LongString");let s=new DataView(e,t,n).getUint32(0,!ke),C;return s>0?C=Je(new Uint8Array(e,t+4,s)):C="",{data:C,size:4+s}}static parseDate(e,t,n){if(n<10)throw new be("Data size invalid when parse Date");let r=new DataView(e,t,n),s=r.getFloat64(0,!ke),C=r.getInt16(8,!ke);return s+=C*60*1e3,{data:new Date(s),size:10}}static parseValue(e,t,n){if(n<1)throw new be("Data not enough when parse Value");let r=new DataView(e,t,n),s=1,C=r.getUint8(0),O,we=!1;try{switch(C){case 0:O=r.getFloat64(1,!ke),s+=8;break;case 1:{O=!!r.getUint8(1),s+=1;break}case 2:{let Se=ze.parseString(e,t+1,n-1);O=Se.data,s+=Se.size;break}case 3:{O={};let Se=0;for((r.getUint32(n-4,!ke)&16777215)===9&&(Se=3);s32)throw new ce("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let C=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,C}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let r=Math.min(n,this._current_word_bits_left),s=this._current_word>>>32-r;return this._current_word<<=r,this._current_word_bits_left-=r,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Le=V;class m{static _ebsp2rbsp(e){let t=e,n=t.byteLength,r=new Uint8Array(n),s=0;for(let C=0;C=2&&t[C]===3&&t[C-1]===0&&t[C-2]===0||(r[s]=t[C],s++);return new Uint8Array(r.buffer,0,s)}static parseSPS(e){let t=m._ebsp2rbsp(e),n=new Le(t);n.readByte();let r=n.readByte();n.readByte();let s=n.readByte();n.readUEG();let C=m.getProfileString(r),O=m.getLevelString(s),we=1,Se=420,De=[0,420,422,444],Qe=8;if((r===100||r===110||r===122||r===244||r===44||r===83||r===86||r===118||r===128||r===138||r===144)&&(we=n.readUEG(),we===3&&n.readBits(1),we<=3&&(Se=De[we]),Qe=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let bt=we!==3?8:12;for(let yt=0;yt0&&bt<16?(It=yt[bt-1],Ye=wt[bt-1]):bt===255&&(It=n.readByte()<<8|n.readByte(),Ye=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let bt=n.readBits(32),yt=n.readBits(32);re=n.readBool(),ee=yt,ve=bt*2,St=ee/ve}}let ye=1;(It!==1||Ye!==1)&&(ye=It/Ye);let Ee=0,_e=0;if(we===0)Ee=1,_e=2-Oe;else{let bt=we===3?1:2,yt=we===1?2:1;Ee=bt,_e=yt*(2-Oe)}let je=(ut+1)*16,ft=(2-Oe)*((We+1)*16);je-=($e+nt)*Ee,ft-=(qe+pt)*_e;let dt=Math.ceil(je*ye);return n.destroy(),n=null,{profile_string:C,level_string:O,bit_depth:Qe,ref_frames:Ke,chroma_format:Se,chroma_format_string:m.getChromaFormatString(Se),frame_rate:{fixed:re,fps:St,fps_den:ve,fps_num:ee},sar_ratio:{width:It,height:Ye},codec_size:{width:je,height:ft},present_size:{width:dt,height:ft}}}static _skipScalingList(e,t){let n=8,r=8,s=0;for(let C=0;C>>8&255|(me&255)<<8}function U(me){return(me&4278190080)>>>24|(me&16711680)>>>8|(me&65280)<<8|(me&255)<<24}function E(me,e){return me[e]<<24|me[e+1]<<16|me[e+2]<<8|me[e+3]}class l{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Te,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let r=(t[4]&4)>>>2!==0,s=(t[4]&1)!==0,C=E(t,5);return C<9?n:{match:!0,consumed:C,dataOffset:C,hasAudioTrack:r,hasVideoTrack:s}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Te}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new be("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,r=this._littleEndian;if(t===0)if(e.byteLength>13)n=l.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&f.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!r)!==0&&f.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let C=s.getUint8(0),O=s.getUint32(0,!r)&16777215;if(n+11+O+4>e.byteLength)break;if(C!==8&&C!==9&&C!==18){f.w(this.TAG,`Unsupported tag type ${C}, skipped`),n+=11+O+4;continue}let we=s.getUint8(4),Se=s.getUint8(5),De=s.getUint8(6),Qe=s.getUint8(7),ot=De|Se<<8|we<<16|Qe<<24;(s.getUint32(7,!r)&16777215)!==0&&f.w(this.TAG,"Meet tag which has StreamID != 0!");let ut=n+11;switch(C){case 8:this._parseAudioData(e,ut,O,ot);break;case 9:this._parseVideoData(e,ut,O,ot,t+n);break;case 18:this._parseScriptData(e,ut,O);break}let We=s.getUint32(11+O,!r);We!==11+O&&f.w(this.TAG,`Invalid PrevTagSize ${We}`),n+=11+O+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let r=Ge.parseScriptData(e,t,n);if(r.hasOwnProperty("onMetaData")){if(r.onMetaData==null||typeof r.onMetaData!="object"){f.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&f.w(this.TAG,"Found another onMetaData tag!"),this._metadata=r;let s=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},s)),typeof s.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=s.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof s.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=s.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof s.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=s.audiodatarate),typeof s.videodatarate=="number"&&(this._mediaInfo.videoDataRate=s.videodatarate),typeof s.width=="number"&&(this._mediaInfo.width=s.width),typeof s.height=="number"&&(this._mediaInfo.height=s.height),typeof s.duration=="number"){if(!this._durationOverrided){let C=Math.floor(s.duration*this._timescale);this._duration=C,this._mediaInfo.duration=C}}else this._mediaInfo.duration=0;if(typeof s.framerate=="number"){let C=Math.floor(s.framerate*1e3);if(C>0){let O=C/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=O,this._referenceFrameRate.fps_num=C,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=O}}if(typeof s.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let C=s.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(C),s.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=s,f.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(r).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},r))}_parseKeyframesIndex(e){let t=[],n=[];for(let r=1;r>>4;if(we!==2&&we!==10){this._onError(a.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+we);return}let Se=0,De=(O&12)>>>2;if(De>=0&&De<=4)Se=this._flvSoundRateTable[De];else{this._onError(a.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+De);return}let Qe=(O&2)>>>1,ot=O&1,Ke=this._audioMetadata,ut=this._audioTrack;if(Ke||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ke=this._audioMetadata={},Ke.type="audio",Ke.id=ut.id,Ke.timescale=this._timescale,Ke.duration=this._duration,Ke.audioSampleRate=Se,Ke.channelCount=ot===0?1:2),we===10){let We=this._parseAACAudioData(e,t+1,n-1);if(We==null)return;if(We.packetType===0){Ke.config&&f.w(this.TAG,"Found another AudioSpecificConfig!");let Oe=We.data;Ke.audioSampleRate=Oe.samplingRate,Ke.channelCount=Oe.channelCount,Ke.codec=Oe.codec,Ke.originalCodec=Oe.originalCodec,Ke.config=Oe.config,Ke.refSampleDuration=1024/Ke.audioSampleRate*Ke.timescale,f.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ke);let $e=this._mediaInfo;$e.audioCodec=Ke.originalCodec,$e.audioSampleRate=Ke.audioSampleRate,$e.audioChannelCount=Ke.channelCount,$e.hasVideo?$e.videoCodec!=null&&($e.mimeType='video/x-flv; codecs="'+$e.videoCodec+","+$e.audioCodec+'"'):$e.mimeType='video/x-flv; codecs="'+$e.audioCodec+'"',$e.isComplete()&&this._onMediaInfo($e)}else if(We.packetType===1){let Oe=this._timestampBase+r,$e={unit:We.data,length:We.data.byteLength,dts:Oe,pts:Oe};ut.samples.push($e),ut.length+=We.data.length}else f.e(this.TAG,`Flv: Unsupported AAC data type ${We.packetType}`)}else if(we===2){if(!Ke.codec){let nt=this._parseMP3AudioData(e,t+1,n-1,!0);if(nt==null)return;Ke.audioSampleRate=nt.samplingRate,Ke.channelCount=nt.channelCount,Ke.codec=nt.codec,Ke.originalCodec=nt.originalCodec,Ke.refSampleDuration=1152/Ke.audioSampleRate*Ke.timescale,f.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ke);let qe=this._mediaInfo;qe.audioCodec=Ke.codec,qe.audioSampleRate=Ke.audioSampleRate,qe.audioChannelCount=Ke.channelCount,qe.audioDataRate=nt.bitRate,qe.hasVideo?qe.videoCodec!=null&&(qe.mimeType='video/x-flv; codecs="'+qe.videoCodec+","+qe.audioCodec+'"'):qe.mimeType='video/x-flv; codecs="'+qe.audioCodec+'"',qe.isComplete()&&this._onMediaInfo(qe)}let We=this._parseMP3AudioData(e,t+1,n-1,!1);if(We==null)return;let Oe=this._timestampBase+r,$e={unit:We,length:We.byteLength,dts:Oe,pts:Oe};ut.samples.push($e),ut.length+=We.length}}_parseAACAudioData(e,t,n){if(n<=1){f.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let r={},s=new Uint8Array(e,t,n);return r.packetType=s[0],s[0]===0?r.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):r.data=s.subarray(1),r}_parseAACAudioSpecificConfig(e,t,n){let r=new Uint8Array(e,t,n),s=null,C=0,O=0,we=null,Se=0,De=null;if(C=O=r[0]>>>3,Se=(r[0]&7)<<1|r[1]>>>7,Se<0||Se>=this._mpegSamplingRates.length){this._onError(a.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Qe=this._mpegSamplingRates[Se],ot=(r[1]&120)>>>3;if(ot<0||ot>=8){this._onError(a.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}C===5&&(De=(r[1]&7)<<1|r[2]>>>7,we=(r[2]&124)>>>2);let Ke=self.navigator.userAgent.toLowerCase();return Ke.indexOf("firefox")!==-1?Se>=6?(C=5,s=new Array(4),De=Se-3):(C=2,s=new Array(2),De=Se):Ke.indexOf("android")!==-1?(C=2,s=new Array(2),De=Se):(C=5,De=Se,s=new Array(4),Se>=6?De=Se-3:ot===1&&(C=2,s=new Array(2),De=Se)),s[0]=C<<3,s[0]|=(Se&15)>>>1,s[1]=(Se&15)<<7,s[1]|=(ot&15)<<3,C===5&&(s[1]|=(De&15)>>>1,s[2]=(De&1)<<7,s[2]|=8,s[3]=0),{config:s,samplingRate:Qe,channelCount:ot,codec:"mp4a.40."+C,originalCodec:"mp4a.40."+O}}_parseMP3AudioData(e,t,n,r){if(n<4){f.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let s=this._littleEndian,C=new Uint8Array(e,t,n),O=null;if(r){if(C[0]!==255)return;let we=C[1]>>>3&3,Se=(C[1]&6)>>1,De=(C[2]&240)>>>4,Qe=(C[2]&12)>>>2,Ke=(C[3]>>>6&3)!==3?2:1,ut=0,We=0,Oe=34,$e="mp3";switch(we){case 0:ut=this._mpegAudioV25SampleRateTable[Qe];break;case 2:ut=this._mpegAudioV20SampleRateTable[Qe];break;case 3:ut=this._mpegAudioV10SampleRateTable[Qe];break}switch(Se){case 1:Oe=34,De>>4,we=C&15;if(we!==7){this._onError(a.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${we}`);return}this._parseAVCVideoPacket(e,t+1,n-1,r,s,O)}_parseAVCVideoPacket(e,t,n,r,s,C){if(n<4){f.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let O=this._littleEndian,we=new DataView(e,t,n),Se=we.getUint8(0),Qe=(we.getUint32(0,!O)&16777215)<<8>>8;if(Se===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(Se===1)this._parseAVCVideoData(e,t+4,n-4,r,s,C,Qe);else if(Se!==2){this._onError(a.FORMAT_ERROR,`Flv: Invalid video packet type ${Se}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){f.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let r=this._videoMetadata,s=this._videoTrack,C=this._littleEndian,O=new DataView(e,t,n);r?typeof r.avcc!="undefined"&&f.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),r=this._videoMetadata={},r.type="video",r.id=s.id,r.timescale=this._timescale,r.duration=this._duration);let we=O.getUint8(0),Se=O.getUint8(1),De=O.getUint8(2),Qe=O.getUint8(3);if(we!==1||Se===0){this._onError(a.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(O.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(a.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let ot=O.getUint8(5)&31;if(ot===0){this._onError(a.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ot>1&&f.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${ot}`);let Ke=6;for(let We=0;We1&&f.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${ut}`);Ke++;for(let We=0;We=n){f.w(this.TAG,`Malformed Nalu near timestamp ${ut}, offset = ${ot}, dataSize = ${n}`);break}let Oe=Se.getUint32(ot,!we);if(Ke===3&&(Oe>>>=8),Oe>n-Ke){f.w(this.TAG,`Malformed Nalus near timestamp ${ut}, NaluSize > DataSize!`);return}let $e=Se.getUint8(ot+Ke)&31;$e===5&&(We=!0);let nt=new Uint8Array(e,t+ot,Ke+Oe),qe={type:$e,data:nt};De.push(qe),Qe+=nt.byteLength,ot+=Ke+Oe}if(De.length){let Oe=this._videoTrack,$e={units:De,length:Qe,isKeyframe:We,dts:ut,cts:O,pts:ut+O};We&&($e.fileposition=s),Oe.samples.push($e),Oe.length+=Qe}}}var p=l;class o{static init(){o.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in o.types)o.types.hasOwnProperty(t)&&(o.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=o.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,r=Array.prototype.slice.call(arguments,1),s=r.length;for(let O=0;O>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let C=8;for(let O=0;O>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return o.box(o.types.trak,o.tkhd(e),o.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,r=e.presentWidth,s=e.presentHeight;return o.box(o.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>>8&255,r&255,0,0,s>>>8&255,s&255,0,0]))}static mdia(e){return o.box(o.types.mdia,o.mdhd(e),o.hdlr(e),o.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return o.box(o.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=o.constants.HDLR_AUDIO:t=o.constants.HDLR_VIDEO,o.box(o.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=o.box(o.types.smhd,o.constants.SMHD):t=o.box(o.types.vmhd,o.constants.VMHD),o.box(o.types.minf,t,o.dinf(),o.stbl(e))}static dinf(){return o.box(o.types.dinf,o.box(o.types.dref,o.constants.DREF))}static stbl(e){return o.box(o.types.stbl,o.stsd(e),o.box(o.types.stts,o.constants.STTS),o.box(o.types.stsc,o.constants.STSC),o.box(o.types.stsz,o.constants.STSZ),o.box(o.types.stco,o.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?o.box(o.types.stsd,o.constants.STSD_PREFIX,o.mp3(e)):o.box(o.types.stsd,o.constants.STSD_PREFIX,o.mp4a(e)):o.box(o.types.stsd,o.constants.STSD_PREFIX,o.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return o.box(o.types[".mp3"],r)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return o.box(o.types.mp4a,r,o.esds(e))}static esds(e){let t=e.config||[],n=t.length,r=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return o.box(o.types.esds,r)}static avc1(e){let t=e.avcc,n=e.codecWidth,r=e.codecHeight,s=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,r>>>8&255,r&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return o.box(o.types.avc1,s,o.box(o.types.avcC,t))}static mvex(e){return o.box(o.types.mvex,o.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return o.box(o.types.trex,n)}static moof(e,t){return o.box(o.types.moof,o.mfhd(e.sequenceNumber),o.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return o.box(o.types.mfhd,t)}static traf(e,t){let n=e.id,r=o.box(o.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),s=o.box(o.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),C=o.sdtp(e),O=o.trun(e,C.byteLength+16+16+8+16+8+8);return o.box(o.types.traf,r,s,O,C)}static sdtp(e){let t=e.samples||[],n=t.length,r=new Uint8Array(4+n);for(let s=0;s>>24&255,r>>>16&255,r>>>8&255,r&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let O=0;O>>24&255,we>>>16&255,we>>>8&255,we&255,Se>>>24&255,Se>>>16&255,Se>>>8&255,Se&255,De.isLeading<<2|De.dependsOn,De.isDependedOn<<6|De.hasRedundancy<<4|De.isNonSync,0,0,Qe>>>24&255,Qe>>>16&255,Qe>>>8&255,Qe&255],12+16*O)}return o.box(o.types.trun,C)}static mdat(e){return o.box(o.types.mdat,e)}}o.init();var c=o;class _{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var L=_;class F{constructor(e,t,n,r,s){this.dts=e,this.pts=t,this.duration=n,this.originalDts=r,this.isSyncPoint=s,this.fileposition=null}}class fe{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ae{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[s].dts&&et[r].lastSample.originalDts&&e=t[r].lastSample.originalDts&&(r===t.length-1||r0&&(s=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=s,this._list.splice(s,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class G{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new he("audio"),this._videoSegmentInfoList=new he("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(K.chrome&&(K.version.major<50||K.version.major===50&&K.version.build<2661)),this._fillSilentAfterSeek=K.msedge||K.msie,this._mp3UseMpegAudio=!K.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new be("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,r="mp4",s=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(r="mpeg",s="",n=new Uint8Array):n=c.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=c.generateInitSegment(t);else return;if(!this._onInitSegment)throw new be("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:s,container:`${e}/${r}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let r={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(r.samples.push(t),r.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(r,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,r=n.samples,s,C=-1,O=-1,we=-1,Se=this._audioMeta.refSampleDuration,De=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Qe=this._dtsBaseInited&&this._audioNextDts===void 0,ot=!1;if(!r||r.length===0||r.length===1&&!t)return;let Ke=0,ut=null,We=0;De?(Ke=0,We=n.length):(Ke=8,We=8+n.length);let Oe=null;if(r.length>1&&(Oe=r.pop(),We-=Oe.length),this._audioStashedLastSample!=null){let Ye=this._audioStashedLastSample;this._audioStashedLastSample=null,r.unshift(Ye),We+=Ye.length}Oe!=null&&(this._audioStashedLastSample=Oe);let $e=r[0].dts-this._dtsBase;if(this._audioNextDts)s=$e-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())s=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(ot=!0);else{let Ye=this._audioSegmentInfoList.getLastSampleBefore($e);if(Ye!=null){let St=$e-(Ye.originalDts+Ye.duration);St<=3&&(St=0);let re=Ye.dts+Ye.duration+St;s=$e-re}else s=0}if(ot){let Ye=$e-s,St=this._videoSegmentInfoList.getLastSegmentBefore($e);if(St!=null&&St.beginDts=1?Ae=nt[nt.length-1].duration:Ae=Math.floor(Se);let ye=!1,Ee=null;if(Ae>Se*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!K.safari){ye=!0;let _e=Math.abs(Ae-Se),je=Math.ceil(_e/Se),ft=ve+Se;f.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +(self.webpackChunk=self.webpackChunk||[]).push([[6444],{18785:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},52671:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},8657:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},56082:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},33853:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},15075:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},43531:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},38819:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return se}});var g=i(54476),x=i(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Q=Z,A=i(7657),f=function(be,ce){return x.createElement(A.Z,(0,g.Z)({},be,{ref:ce,icon:Q}))},de=x.forwardRef(f),se=de},44080:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return q}});var g=i(59301),x=i(8591),Z=i(38854),Q=i(73217),A=i(16471),f=i(41867),de=i(56102),se=i(84056),oe={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},be=(z,Ce,K)=>new Promise((T,M)=>{var u=k=>{try{N(K.next(k))}catch(I){M(I)}},S=k=>{try{N(K.throw(k))}catch(I){M(I)}},N=k=>k.done?T(k.value):Promise.resolve(k.value).then(u,S);N((K=K.apply(z,Ce)).next())});function ce(z){if(isNaN(z))return{minutes:"00",seconds:"00"};const Ce=new Date(z*1e3).toISOString().substr(11,8);return{hour:Ce.substr(0,2),minutes:Ce.substr(3,2),seconds:Ce.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function $(z,Ce){return z-Ce}function d(z){z.sort($);let Ce=0;for(let K=0;K{},handlePlay:k=()=>{},handlePlayEnded:I=()=>{},autoPlay:ne=!1,onPlayEnded:X=()=>{},isShowWaterMark:ue=!0},D)=>{var xe;const P=((xe=Ce==null?void 0:Ce.split("."))==null?void 0:xe.pop())==="flv",v=(0,g.useRef)(),B=(0,g.useRef)(),pe=(0,g.useRef)(),H=(0,g.useRef)(),le=(0,g.useRef)(),Y=(0,g.useRef)(),w=(0,g.useRef)(),j=(0,g.useRef)(),J=(0,g.useRef)(),ie=(0,g.useRef)(),ge=(0,g.useRef)(),Te=(0,g.useRef)(),Pe=(0,g.useRef)(),Ie=(0,g.useRef)(),Je=navigator.userAgent.toLowerCase().match(te),ke=Je?Je[0]:"pc",ze=(0,g.useRef)(!1),Ge=(0,f.eY)();let V=0,Le=0,m=0,y=null,h=!1,a=20,b=1,U=!1,E=!1,l=[];(0,g.useImperativeHandle)(D,()=>({getLastUpdatedTime:()=>v.current.currentTime,getDuration:()=>v.current.duration})),x.ZP.config({maxCount:1,getContainer:()=>pe.current});const p=(0,g.useCallback)((ae,he=!1)=>{let G={point:v.current.currentTime};y?(G.log_id=y,G.watch_duration=d(l),G.total_duration=Le):(u?(G.video_id=parseInt(T,10),G.course_id=u):G.video_id=T,G.duration=V,G.device=ke),he&&(G.ed="1");function Re(){return be(this,null,function*(){U=!0,y=yield M==null?void 0:M(G),U=!1,ae&&ae()})}Re()},[T,u]);(0,g.useEffect)(()=>{v.current&&(H.current.style.display="none",le.current.style.display="block"),x.ZP.destroy();let ae=null;return Q.Z.isSupported&&P&&Ce&&(Ce==null?void 0:Ce.indexOf(".m3u8"))<0?(ae=Q.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:Ce,muted:!1}),v.current&&(ae.attachMediaElement(v.current),ae.load())):v.current.setAttribute("src",Ce),c(),()=>{ae&&(ae.unload(),ae.pause(),ae.destroy(),ae=null)}},[v,P,Ce]);function o(){v.current.paused?(H.current.style.display="none",le.current.style.display="block"):(H.current.style.display="block",le.current.style.display="none")}function c(){ge.current.style.display="none",Pe.current.style.display="none",Te.current.style.display="none",v.current.muted||v.current.volume===0?ge.current.style.display="block":v.current.volume>0&&v.current.volume<=.5?Pe.current.style.display="block":Te.current.style.display="block"}(0,g.useEffect)(()=>{const ae=document.getElementById("play"),he=document.querySelectorAll(".playback-icons use");function G(){k(),S&&!ze.current&&(v.current.currentTime=S),ze.current=!0,l.push(v.current.currentTime),h||(h=!0,K&&p())}function Re(){return be(this,null,function*(){o(),l.push(v.current.currentTime),K&&p(()=>{y=null,m=0,h=!1,U=!1,E=!1,l=[],Le=0,b=1},!0),X()})}function Ne(){Y.current.value=Math.round(v.current.currentTime),w.current.value=Math.round(v.current.currentTime)}function W(){const Fe=ce(Math.round(v.current.currentTime));J.current.innerText=`${Fe.hour>0?Fe.hour+":":""}${Fe.minutes}:${Fe.seconds}`,J.current.setAttribute("datetime",`${Fe.hour>0?" "+Fe.hour+" ":""}${Fe.minutes}m ${Fe.seconds}s`)}function Be(){var Fe,tt,Et,vt,xt,Ot,gt;const Rt=Math.round((Fe=v.current)==null?void 0:Fe.duration);(Et=(tt=Y.current)==null?void 0:tt.setAttribute)==null||Et.call(tt,"max",Rt),(xt=(vt=w.current)==null?void 0:vt.setAttribute)==null||xt.call(vt,"max",Rt);const it=ce(Rt);j.current&&(j.current.innerText=`${it.hour>0?it.hour+":":""}${it.minutes}:${it.seconds}`,(gt=(Ot=j.current).setAttribute)==null||gt.call(Ot,"datetime",`${it.hour>0?" "+it.hour+" ":""}${it.minutes}m ${it.seconds}s`))}function Xe(){try{const Fe=Math.round(v.current.duration);Y.current.setAttribute("max",Fe),w.current.setAttribute("max",Fe);const tt=ce(Fe);j.current.innerText=`${tt.hour>0?tt.hour+":":""}${tt.minutes}:${tt.seconds}`,j.current.setAttribute("datetime",`${tt.hour>0?" "+tt.hour+" ":""}${tt.minutes}m ${tt.seconds}s`),Ne(),W();const{width:Et,height:vt,x:xt,y:Ot}=B.current.getBoundingClientRect();if(xt<0||Ot<0||!Et)return;if(!E){let gt=v.current.currentTime,Rt=gt-m;Math.abs(Rt)<10?(Le+=Math.abs(Rt),m=gt,U||Le-b*a>=0&&(b++,l.push(m),K&&p())):(m=gt,K&&p())}}catch(Fe){console.log(Fe)}}function Ze(){E=!0}function He(){v.current.playing&&l.push(v.current.currentTime,m),m=v.current.currentTime,E=!1}function rt(){V=v.current.duration,V<=20&&(a=V/3),v.current.addEventListener("play",G)}function _t(Fe){Fe.preventDefault(),(0,se.vp)()?(v.current.style.width="100%",v.current.style.height="100%"):v.current.style.cssText=""}function ct(){N()}function st(Fe){if(!z){x.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const tt=Fe.target.dataset.seek?Fe.target.dataset.seek:Fe.target.value;v.current.currentTime=tt,w.current.value=tt,Y.current.value=tt}function mt(Fe){const tt=Math.round(Fe.offsetX/Fe.target.clientWidth*parseInt(Fe.target.getAttribute("max"),10));Y.current.setAttribute("data-seek",tt);const Et=ce(tt);ie.current.textContent=`${Et.hour>0?Et.hour+":":""}${Et.minutes}:${Et.seconds}`;const vt=v.current.getBoundingClientRect();ie.current.style.left=`${Fe.pageX-vt.left}px`}function Ue(Fe){switch(Fe.code){case"Space":Fe.preventDefault(),F();break;case"ArrowRight":if(Fe.preventDefault(),!z){x.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(v.current.currentTime>=v.current.duration)break;v.current.currentTime=parseInt(v.current.currentTime)+5,Ne();break;case"ArrowLeft":if(Fe.preventDefault(),!z){x.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(v.current.currentTime===0)break;v.current.currentTime=parseInt(v.current.currentTime)-5,Ne();break;case"ArrowUp":Fe.preventDefault(),v.current.volume<1&&(v.current.volume=(parseInt(v.current.volume*10)+1)/10);break;case"ArrowDown":Fe.preventDefault(),v.current.volume>0&&(v.current.volume=(parseInt(v.current.volume*10)-1)/10);break}}return pe.current.addEventListener((0,se.gH)(),_t),v.current.addEventListener("canplay",rt),v.current.addEventListener("ended",Re),v.current.addEventListener("seeking",Ze),v.current.addEventListener("seeked",He),v.current.addEventListener("loadedmetadata",Be),Y.current.addEventListener("mousemove",mt),Y.current.addEventListener("input",st),v.current.addEventListener("timeupdate",Xe),v.current.addEventListener("pause",ct),v.current.addEventListener("volumechange",c),document.addEventListener("keydown",Ue),()=>{var Fe,tt,Et,vt,xt,Ot,gt,Rt,it,at,Ve,me;(Fe=v.current)==null||Fe.removeEventListener("canplay",rt),(tt=v.current)==null||tt.removeEventListener("play",G),(Et=v.current)==null||Et.removeEventListener("ended",Re),(vt=v.current)==null||vt.removeEventListener("seeking",Ze),(xt=v.current)==null||xt.removeEventListener("seeked",He),(Ot=Y.current)==null||Ot.removeEventListener("mousemove",mt),(gt=Y.current)==null||gt.removeEventListener("input",st),(Rt=v.current)==null||Rt.removeEventListener("timeupdate",Xe),(it=v.current)==null||it.removeEventListener("pause",ct),(at=v.current)==null||at.removeEventListener("loadedmetadata",Be),(Ve=v.current)==null||Ve.removeEventListener("volumechange",c),document.removeEventListener("keydown",Ue),(me=v.current)!=null&&me.playing&&(l.push(m,v.current.currentTime),K&&p())}},[v,Ce]),(0,g.useEffect)(()=>{if(v.current.onended=()=>{I(v)},v.current.oncontextmenu=()=>!1,(Ce==null?void 0:Ce.indexOf(".m3u8"))>-1){if(v.current.canPlayType("application/vnd.apple.mpegurl"))v.current.src=Ce;else if(A.ZP.isSupported()){var ae=new A.ZP;ae.loadSource(Ce),ae.attachMedia(v.current)}}},[Ce]);const[_,L]=(0,g.useState)(1),F=()=>{v.current.paused||v.current.ended?v.current.play():v.current.pause(),o()};function fe(){v.current.muted=!v.current.muted,v.current.muted?(Ie.current.setAttribute("data-volume",volume.value),Ie.current.value=0):Ie.current.value=Ie.current.dataset.volume}return g.createElement("div",{style:{position:"relative"},ref:pe},g.createElement("div",{ref:B,className:`${oe.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${oe.animate__loop}`},ue&&Ge?Ge.login:" "),g.createElement("div",{className:oe.container},g.createElement("div",{className:oe["video-container"],id:"video-container"},g.createElement("div",{className:oe["playback-animation"],id:"playback-animation"},g.createElement("svg",{className:oe["playback-icons"]},g.createElement("use",{className:"hidden",href:"#play-icon"}),g.createElement("use",{href:"#pause"}))),g.createElement("video",{className:oe.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:v,autoPlay:ne}),g.createElement("div",{className:`${oe["video-controls"]} `,id:"video-controls"},g.createElement("div",{className:oe["bottom-controls"]},g.createElement("div",{className:oe["left-controls"]},g.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:F},g.createElement("svg",{className:oe["playback-icons"]},g.createElement("use",{ref:le,href:"#play-icon"}),g.createElement("use",{ref:H,style:{display:"none"},href:"#pause"}))),g.createElement("div",{className:oe.time},g.createElement("time",{id:"time-elapsed",ref:J},"00:00"),g.createElement("span",null," / "),g.createElement("time",{id:"duration",ref:j},"00:00"))),g.createElement("div",{className:oe["right-controls"]},z&&g.createElement(Z.Z,{placement:"top",overlayClassName:oe.rateOverlay,getPopupContainer:ae=>ae.parentNode,menu:{items:[{key:"1",label:g.createElement("span",{onClick:()=>{L(1),v.current.playbackRate=1}},"1.0x")},{key:"2",label:g.createElement("span",{onClick:()=>{L(1.5),v.current.playbackRate=1.5}},"1.5x")},{key:"3",label:g.createElement("span",{onClick:()=>{L(2),v.current.playbackRate=2}},"2.0x")}]}},g.createElement("div",{className:`${oe.controlText} mr5`},"\u500D\u901F")),g.createElement(de.CopyToClipboard,{text:Ce,onCopy:()=>x.ZP.success("\u590D\u5236\u6210\u529F")},g.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},g.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),g.createElement("div",{className:oe["volume-controls"]},g.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:oe["volume-button"],id:"volume-button",onClick:fe},g.createElement("i",{ref:ge,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),g.createElement("i",{ref:Pe,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),g.createElement("i",{ref:Te,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),g.createElement("input",{className:oe.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Ie,style:{display:"none"},onClick:c})),g.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:oe["fullscreen-button"],onClick:()=>{(0,se.vp)()?(0,se.BU)():(0,se.Dj)(pe.current)}},g.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),g.createElement("div",{className:oe["video-progress"]},g.createElement("progress",{ref:w,value:"0",min:"0"}),g.createElement("input",{className:oe.seek,ref:Y,value:"0",min:"0",type:"range",step:"1"}),g.createElement("div",{className:oe["seek-tooltip"],ref:ie,id:"seek-tooltip"},"00:00"))))),g.createElement("svg",{style:{display:"none"}},g.createElement("defs",null,g.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},g.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),g.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},g.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),g.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},g.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),g.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},g.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),g.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},g.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),g.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},g.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),g.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},g.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),g.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},g.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},31103:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return x}});var g=i(59301);function x(Z,Q){const A=(0,g.useRef)();(0,g.useEffect)(()=>{A.current=Z}),(0,g.useEffect)(()=>{function f(){A.current()}if(Q!==null){let de=setInterval(f,Q);return()=>clearInterval(de)}},[Q])}},90131:function(ht,Me,i){"use strict";i.r(Me),i.d(Me,{default:function(){return o},formatQuery:function(){return l}});var g=i(59301),x=i(65582),Z=i(71418),Q={bg:"bg___eq_Aq",container:"container___j770l",widthle:"widthle___ouh1T"},A=i(24334),f=i(44080),de=i(43418),se=i(13570),oe=i(78673),be=i(64165),ce={contentWrap:"contentWrap___xMJQi",title:"title___z4t4P",footer:"footer___CLzrT",footer_left:"footer_left___N2sZZ",footer_bfcs:"footer_bfcs___UmvUE",footer_bfcs_value:"footer_bfcs_value___yiYga",pingfen:"pingfen___aEEMe",fenshu:"fenshu___I6HCo",radioGroup:"radioGroup___RT1dL",wrap:"wrap___QZGSJ",introName:"introName___m17tA",rating:"rating___MXLBr",modalRating:"modalRating___aluwj",zdbf:"zdbf___9PNEF"},$=i(31103),d=i(54624),te=i(65862),q=i(59301),z=Object.defineProperty,Ce=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,M=(c,_,L)=>_ in c?z(c,_,{enumerable:!0,configurable:!0,writable:!0,value:L}):c[_]=L,u=(c,_)=>{for(var L in _||(_={}))K.call(_,L)&&M(c,L,_[L]);if(Ce)for(var L of Ce(_))T.call(_,L)&&M(c,L,_[L]);return c},S=(c,_)=>{var L={};for(var F in c)K.call(c,F)&&_.indexOf(F)<0&&(L[F]=c[F]);if(c!=null&&Ce)for(var F of Ce(c))_.indexOf(F)<0&&T.call(c,F)&&(L[F]=c[F]);return L},N=(c,_,L)=>new Promise((F,fe)=>{var ae=Re=>{try{G(L.next(Re))}catch(Ne){fe(Ne)}},he=Re=>{try{G(L.throw(Re))}catch(Ne){fe(Ne)}},G=Re=>Re.done?F(Re.value):Promise.resolve(Re.value).then(ae,he);G((L=L.apply(c,_)).next())});const k=c=>{var _=c,{videoDetail:L,globalSetting:F,loading:fe,dispatch:ae}=_,he=S(_,["videoDetail","globalSetting","loading","dispatch"]);const{queryParams:G,selectParams:Re,videoList:Ne}=L,{subject_id:W,videoId:Be}=G,{checkBoxValue:Xe,radioValue:Ze}=Re,He={videoId:Be},rt={query:G},_t=(0,g.useRef)(),ct=(0,g.useRef)(),st=(0,g.useRef)(),mt=(0,g.useRef)(5),{video_item:Ue}=L.detail||{};(0,$.Z)(()=>N(void 0,null,function*(){ct.current&&(console.log("videoRef lastUpdatedTime: ",_t.current.getLastUpdatedTime()),console.log(_t.current),yield Fe())}),mt.current*1e3);const Fe=(it=!1)=>{const at=it?{is_f:1}:{};return(0,d.DH)(u(u({},at),{id:He.videoId,point:_t.current.getLastUpdatedTime(),total:_t.current.getDuration()}))},tt=it=>(it.ed==="1"&&(ct.current=!1,Fe(!0)),!ct.current&&!it.ed&&(ct.current=!0,mt.current=_t.current.getDuration()<=5?1:5,Fe()),ae({type:"userDetail/logWatchHistory",payload:it})),Et=()=>{ct.current=!1},vt=()=>{ct.current=!0},xt=()=>{st.current=5,de.default.confirm({width:600,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u8BF7\u7ED9\u672C\u89C6\u9891\u8BC4\u5206",content:q.createElement("div",{className:"tc font14"},q.createElement(se.Z,{defaultValue:st.current,onChange:it=>st.current=it,className:ce.modalRating})),onOk:()=>N(void 0,null,function*(){if((yield(0,d.jK)({id:He.videoId,star:st.current})).status===0){const{course_id:at}=(0,te.oP)();ae({type:"videoDetail/getVideoDetail",payload:{id:He.videoId,videoId:He.videoId,course_id:at,subject_id:W}})}})})},Ot=it=>{const at=window.filterVideoSign,Ve=at.findIndex(s=>s.id===Be);if(Ve===at.length-1)return;const e=at[Ve+1].id,t=at[Ve+1].can_view,n=at[Ve+1].link,r=at[Ve+1].is_public;if(window.checkBoxValue){if(n){window.open(n);return}if(!t){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:q.createElement("div",{className:"tc font14"},"\u4E0B\u4E00\u6761\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});return}if(!r){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:q.createElement("div",{className:"tc font14"},"\u4E0B\u4E00\u6761\u89C6\u9891\u6682\u672A\u516C\u5F00\uFF0C\u656C\u8BF7\u671F\u5F85")});return}ae({type:"videoDetail/handleListItemClick",payload:{videoId:e}}),window.videoTimer=setTimeout(()=>{it.current.play()},2e3)}},gt=(it,at)=>{if(it==="checkBox"){const Ve=at;window.checkBoxValue=Ve,ae({type:"videoDetail/setSelectValue",payload:{radioValue:Ze,checkBoxValue:Ve}});return}ae({type:"videoDetail/setSelectValue",payload:{checkBoxValue:Xe,radioValue:at.target.value}})},Rt=()=>Ne.findIndex(Ve=>Ve.id===Be)===Ne.length-1?q.createElement("div",null,"\u5F53\u524D\u5DF2\u662F\u6700\u540E\u4E00\u4E2A\u89C6\u9891"):q.createElement("div",null,q.createElement(oe.Z,{onChange:Ve=>{gt("checkBox",Ve)},defaultChecked:Xe,size:"small"}),q.createElement("span",{className:ce.zdbf},"\u81EA\u52A8\u64AD\u653E\u4E0B\u4E00\u4E2A\u89C6\u9891"));return q.createElement("aside",{className:ce.contentWrap},q.createElement("aside",{className:ce.wrap},q.createElement("header",null),q.createElement("div",{className:ce.title},Ue==null?void 0:Ue.name),!(Ue!=null&&Ue.can_edit)&&!(Ue!=null&&Ue.is_public)?q.createElement(be.Z,{description:"\u5F53\u524D\u89C6\u9891\u6682\u672A\u516C\u5F00\uFF0C\u656C\u8BF7\u671F\u5F85"}):q.createElement(f.Z,{ref:_t,startTime:Ue==null?void 0:Ue.last_point,src:Ue!=null&&Ue.is_link?Ue==null?void 0:Ue.link:(Ue==null?void 0:Ue.play_url)&&A.Base64.decode(Ue==null?void 0:Ue.play_url),videoId:Ue==null?void 0:Ue.video_id,logWatchHistory:tt,handlePause:Et,handlePlay:vt,allow_skip:Ue==null?void 0:Ue.allow_skip,handlePlayEnded:Ot,toLog:()=>{}}),q.createElement("div",{className:ce.footer},q.createElement("div",{className:ce.footer_left},q.createElement("div",{className:ce.pingfen},"\u8BC4\u5206"),q.createElement(se.Z,{value:Ue==null?void 0:Ue.star,disabled:!0,className:ce.rating,style:{color:"#FFA100",fontSize:12,marginLeft:10}}),q.createElement("div",{className:ce.fenshu},(Ue==null?void 0:Ue.star)||0,"\u5206")),!(Ue!=null&&Ue.can_edit)&&!(Ue!=null&&Ue.is_public)?null:q.createElement("div",null,q.createElement("div",{className:ce.checkBox},Rt()))),q.createElement("div",{className:"mt10"},(Ue==null?void 0:Ue.description)&&q.createElement("span",{className:ce.introName},"\u7B80\u4ECB\uFF1A",Ue.description))))};var I=(0,x.connect)(({videoDetail:c,loading:_,globalSetting:L})=>({videoDetail:c,globalSetting:L,loading:_}))(k),ne=i(8591),X=i(17574),ue={flex_box_center:"flex_box_center___yWqSL",flex_space_between:"flex_space_between___LgFmv",flex_box_vertical_center:"flex_box_vertical_center____lt6U",flex_box_center_end:"flex_box_center_end___UqkaD",flex_box_column:"flex_box_column___V8XLF",list:"list___8tjfT",tree_style:"tree_style___ZzDvO",title:"title___IVfkQ",gray:"gray___RnyYk",brght:"brght___EWRNa",s1:"s1___dPBQg",s3:"s3___SRBBG",active:"active___hsNCX",tree_line:"tree_line___EGn30",tabs_style:"tabs_style___Nwkiq",tabs_item:"tabs_item___Vzu_U",tabs_item_active:"tabs_item_active___BcIwZ"},D=i(87513),xe=i(60979),R=i(74128),P=i(59301),v=Object.defineProperty,B=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,w=(c,_,L)=>_ in c?v(c,_,{enumerable:!0,configurable:!0,writable:!0,value:L}):c[_]=L,j=(c,_)=>{for(var L in _||(_={}))le.call(_,L)&&w(c,L,_[L]);if(H)for(var L of H(_))Y.call(_,L)&&w(c,L,_[L]);return c},J=(c,_)=>B(c,pe(_)),ie=(c,_)=>{var L={};for(var F in c)le.call(c,F)&&_.indexOf(F)<0&&(L[F]=c[F]);if(c!=null&&H)for(var F of H(c))_.indexOf(F)<0&&Y.call(c,F)&&(L[F]=c[F]);return L},ge=(c,_,L)=>new Promise((F,fe)=>{var ae=Re=>{try{G(L.next(Re))}catch(Ne){fe(Ne)}},he=Re=>{try{G(L.throw(Re))}catch(Ne){fe(Ne)}},G=Re=>Re.done?F(Re.value):Promise.resolve(Re.value).then(ae,he);G((L=L.apply(c,_)).next())});const Te=[{name:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",icon:P.createElement("i",{className:"iconfont icon-shixun2 font20"}),bq:P.createElement("span",{style:{border:"1px solid #FF9D18",color:"#FF9D18"},className:ue.s1},"\u5B9E\u8BAD")},{name:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",icon:P.createElement("i",{className:"iconfont icon-shipin font20"}),bq:P.createElement("span",{style:{border:"1px solid #9B18FF",color:"#9B18FF"},className:ue.s1},"\u89C6\u9891")},{name:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",icon:P.createElement("i",{className:"iconfont icon-jiaoxueanli font20"}),bq:P.createElement("span",{style:{border:"1px solid #3061D0",color:"#3061D0"},className:ue.s1},"\u8D44\u6599")},{name:"\u7A7A\u76EE\u5F55",type:"StageCatalog",icon:P.createElement("i",{className:"iconfont icon-kongbai font20"}),bq:P.createElement("span",null)}],Pe=c=>{var _=c,{dispatch:L,pathsDetail:F,videoDetail:fe,user:ae}=_,he=ie(_,["dispatch","pathsDetail","videoDetail","user"]);const{queryParams:G,stages:Re,cust_seq:Ne,active:W}=fe,{subject_id:Be,course_id:Xe}=G,Ze=(0,x.useParams)(),[He]=(0,x.useSearchParams)(),[rt,_t]=(0,g.useState)([]),[ct,st]=(0,g.useState)([(W==null?void 0:W.id)||Number(Ze.videoId)]),[mt,Ue]=(0,g.useState)("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"),Fe=[".PDF",".DOC",".DOCX",".XLS",".XLSX",".PPT",".PPTX"];(0,g.useEffect)(()=>{L(Be?{type:"videoDetail/getStageData",payload:{subject_id:Be,page_type:"video"}}:{type:"videoDetail/getCourseStageData",payload:{coursesId:Xe}})},[]),(0,g.useEffect)(()=>{tt()},[fe==null?void 0:fe.stages]);const tt=()=>{let Ve=rt;Re.forEach((me,e)=>{Ve.push({title:P.createElement("div",{title:me.stage_name,className:ue.title},me.stage_name),value:me==null?void 0:me.stage_id,key:me==null?void 0:me.stage_id,icon:P.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Et(me.items||[])})}),_t(Ve)},Et=Ve=>{function me(e){var t;const n=e.children,r=Array.isArray(n)&&n.length>0,s=e==null?void 0:e.id,{name:C,item_type:O,id:we}=e,Se=(t=Te.find(ot=>ot.type===O))==null?void 0:t.bq,De=ue.brght,Qe=W.id===we?`${De} ${ue.active}`:De;return{title:P.createElement("div",{onClick:()=>gt(e),className:De,title:C},Se,P.createElement("div",{className:ue.s3},C)),value:s,key:s,icon:P.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:r?n==null?void 0:n.map(ot=>me(ot)):[]}}return Ve==null?void 0:Ve.map(e=>me(e))},vt=(Ve,me)=>ge(void 0,null,function*(){L({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const e=me?yield(0,xe.BK)({id:Ve}):yield(0,xe.Ir)({id:Ve});if(L({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),e!=null&&e.game_identifier||e!=null&&e.identifier){(0,te.xg)(me?`/tasks/${e==null?void 0:e.identifier}/jupyter`:`/tasks/${e.game_identifier}`);return}(e==null?void 0:e.status)===2?Ot(e==null?void 0:e.message):(e==null?void 0:e.status)===3&&xt(e==null?void 0:e.message)}),xt=Ve=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:P.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Ve,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Ot=Ve=>{Ve=Ve!=null&&Ve.includes(".json")?Ve:`${Ve}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:P.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>ge(void 0,null,function*(){const me=yield(0,D.L8)({url:Ve});if(!me)return;ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const e=yield(0,xe.Ir)({id:me.shixun_identifier});if(e!=null&&e.game_identifier){(0,te.xg)(`/tasks/${e.game_identifier}`);return}(e==null?void 0:e.status)===2?Ot(e==null?void 0:e.message):(e==null?void 0:e.status)===3&&xt(e==null?void 0:e.message)})})},gt=Ve=>{var me,e,t,n,r;if((Ve==null?void 0:Ve.item_type)==="StageCatalog")return;clearTimeout(window.videoTimer);const{id:s,item_type:C,identifier:O,is_jupyter:we,url:Se,link:De}=Ve;if(C==="VideoItem"&&!De){if(!((me=ae.userInfo)!=null&&me.admin)&&!((e=ae.userInfo)!=null&&e.business)&&!Ve.can_view){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:P.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});return}L({type:"videoDetail/handleListItemClick",payload:{videoId:s}}),L({type:"videoDetail/getVideoDetail",payload:J(j({id:s},G),{videoId:s}),callback:Qe=>{if(Qe&&Qe.video_item&&!Qe.video_item.can_edit&&!Ve.is_public){de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:P.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u6682\u672A\u516C\u5F00\uFF0C\u656C\u8BF7\u671F\u5F85")});return}}});return}if(C==="VideoItem"&&De){Ve.link&&(0,d.DH)({is_f:1,id:Ve.id,point:0,total:0}),window.open(De);return}if(C==="Shixun"){vt(O,we);return}if(C==="Attachment"){if(De){(0,te.xg)(De);return}let Qe=(n=Ve==null?void 0:Ve.name)==null?void 0:n.substr((t=Ve==null?void 0:Ve.name)==null?void 0:t.lastIndexOf("."));if(Fe.includes(Qe.toUpperCase())){L({type:"videoDetail/handleListItemClick",payload:{attachmentId:s}});return}else{if(!((r=F.detail)!=null&&r.allow_download)){ne.ZP.info("\u6559\u5B66\u8BFE\u4EF6\u4E0D\u652F\u6301\u4E0B\u8F7D");return}(0,te.FH)(Ve.name,R.Z.API_SERVER+Ve.url);return}}window.open(R.Z.IMG_SERVER+Se)},Rt=Ve=>{let me=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],e=["","\u5341","\u767E","\u5343","\u4E07"];Ve=parseInt(Ve);let t=s=>{let C=s.toString().split("").reverse(),O="";for(var we=0;we0&&C[we]==0&&C[we-1]==0?"":me[C[we]]+(C[we]==0?e[0]:e[we]))+O;return O},n=Math.floor(Ve/1e4),r=Ve%1e4;return r.toString().length<4&&(r="0"+r),n?t(n)+"\u4E07"+t(r):t(Ve)},it=(Ve,me,e,t)=>{var n;const{name:r,item_type:s,id:C}=Ve,O=`${me+1}-${e+1}-${t+1}`,we=(n=Te.find(Qe=>Qe.type===s))==null?void 0:n.icon,Se=ue.brght,De=W.id===C?`${Se} ${ue.active}`:Se;return P.createElement("div",{key:O,onClick:()=>gt(Ve),className:De,style:{paddingLeft:52}},P.createElement("span",{className:ue.s1},we),!!Ne&&P.createElement("span",{className:ue.s2},O),P.createElement("span",{className:ue.s3},"\u203B ",r))},at=(Ve,me,e)=>{var t;const{name:n,item_type:r,id:s,children:C}=Ve,O=`${me+1}-${e+1}`,we=(t=Te.find(Qe=>Qe.type===r))==null?void 0:t.icon,Se=ue.brght,De=W.id===s?`${Se} ${ue.active}`:Se;return P.createElement(g.Fragment,{key:O},P.createElement("div",{onClick:()=>gt(Ve),className:De},P.createElement("span",{className:ue.s1},we),!!Ne&&P.createElement("span",{className:ue.s2},O),P.createElement("span",{className:ue.s3},"\u203B ",n)),!!C.length&&C.map((Qe,ot)=>it(Qe,me,e,ot)))};return P.createElement("aside",{className:ue.list},P.createElement("div",{className:ue.tabs_style},P.createElement("div",{className:ue.tabs_item,onClick:()=>{Ue("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55")}},"\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55",mt=="\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"&&P.createElement("div",{className:ue.tabs_item_active}))),P.createElement("div",{className:ue.tree_style},(rt==null?void 0:rt.length)>0&&P.createElement(X.default,{selectedKeys:ct,onSelect:(Ve,me)=>{st([...Ve])},blockNode:!0,treeData:rt,defaultExpandAll:!0,className:ue.tree_line})))};var Ie=(0,x.connect)(({user:c,videoDetail:_,loading:L,globalSetting:F,pathsDetail:fe})=>({user:c,videoDetail:_,globalSetting:F,loading:L,pathsDetail:fe}))(Pe),Je=i(21185),ke=i(59301),ze=Object.defineProperty,Ge=Object.defineProperties,V=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,h=(c,_,L)=>_ in c?ze(c,_,{enumerable:!0,configurable:!0,writable:!0,value:L}):c[_]=L,a=(c,_)=>{for(var L in _||(_={}))m.call(_,L)&&h(c,L,_[L]);if(Le)for(var L of Le(_))y.call(_,L)&&h(c,L,_[L]);return c},b=(c,_)=>Ge(c,V(_)),U=(c,_)=>{var L={};for(var F in c)m.call(c,F)&&_.indexOf(F)<0&&(L[F]=c[F]);if(c!=null&&Le)for(var F of Le(c))_.indexOf(F)<0&&y.call(c,F)&&(L[F]=c[F]);return L},E=(c,_,L)=>new Promise((F,fe)=>{var ae=Re=>{try{G(L.next(Re))}catch(Ne){fe(Ne)}},he=Re=>{try{G(L.throw(Re))}catch(Ne){fe(Ne)}},G=Re=>Re.done?F(Re.value):Promise.resolve(Re.value).then(ae,he);G((L=L.apply(c,_)).next())});const l=c=>{const{subject_id:_}=c;return{subject_id:_,course_id:_}},p=c=>{var _=c,{videoDetail:L,globalSetting:F,loading:fe,pathsDetail:ae,dispatch:he}=_,G=U(_,["videoDetail","globalSetting","loading","pathsDetail","dispatch"]),Re,Ne;const{queryParams:W,videoList:Be,attachmentList:Xe,active:Ze}=L,{subject_id:He,videoId:rt}=W,_t={videoId:rt};(0,g.useEffect)(()=>{if(Ze){const{item_type:mt,id:Ue}=Ze;mt==="VideoItem"&&he({type:"videoDetail/getVideoDetail",payload:b(a({},W),{id:Ue})})}},[Ze.id]),console.log("---",Ze),(0,g.useEffect)(()=>{He&&ct()},[]);function ct(){return E(this,null,function*(){const mt=yield he({type:"pathsDetail/getPathsDetail",payload:{id:He}})})}(0,g.useEffect)(()=>{var mt,Ue;(0,te.Dk)((Ue=(mt=L.detail)==null?void 0:mt.video_item)==null?void 0:Ue.name)},[L]);let st={width:1200};return Ze&&Ze.item_type==="Attachment"&&Ze.content_type==="application/pdf"&&(st={width:1250,marginLeft:(document.body.clientWidth-1200)/2}),ke.createElement(Z.Z,{spinning:!1},ke.createElement("section",{className:Q.bg},ke.createElement("div",{className:Q.container,style:st},ke.createElement(Ie,null),Ze&&Ze.item_type==="VideoItem"&&ke.createElement(I,null),Ze&&Ze.item_type==="Attachment"&&Ze.content_type==="application/pdf"&&Ze.url&&ke.createElement("div",{className:Q.widthle},ke.createElement(Je.Z,{disabledDownload:!((Re=ae.detail)!=null&&Re.allow_download),type:"pdf",filename:Ze.name,data:R.Z.API_SERVER+Ze.url,style:{position:"absolute",zIndex:1}})),Ze&&Ze.item_type==="Attachment"&&["application/msword","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(Ze.content_type)&&Ze.url&&ke.createElement("div",{className:Q.widthle},ke.createElement(Je.Z,{disabledDownload:!((Ne=ae.detail)!=null&&Ne.allow_download),type:"office",data:R.Z.API_SERVER+Ze.url,style:{position:"absolute",zIndex:1}})))))};var o=(0,x.connect)(({videoDetail:c,loading:_,globalSetting:L,pathsDetail:F})=>({videoDetail:c,globalSetting:L,loading:_,pathsDetail:F}))(p)},84056:function(ht,Me,i){"use strict";i.d(Me,{BU:function(){return x},Dj:function(){return g},gH:function(){return Z},vp:function(){return Q}});function g(A){try{A.mozRequestFullScreen?A.mozRequestFullScreen():A.webkitRequestFullScreen&&A.webkitRequestFullScreen()}catch(f){console.log(f,":e")}}function x(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const Z=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Q(){var A=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,f=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",A),window.isFullScreen?window.isFullScreen:A!=null}},73217:function(ht,Me,i){"use strict";i.d(Me,{Z:function(){return Ve}});class g{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","error",n),A.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","info",n),A.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","warn",n),A.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","debug",n),A.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||A.FORCE_GLOBAL_TAG)&&(e=A.GLOBAL_TAG);let n=`[${e}] > ${t}`;A.ENABLE_CALLBACK&&A.emitter.emit("log","verbose",n),A.ENABLE_VERBOSE&&console.log(n)}}A.GLOBAL_TAG="flv.js",A.FORCE_GLOBAL_TAG=!1,A.ENABLE_ERROR=!0,A.ENABLE_INFO=!0,A.ENABLE_WARN=!0,A.ENABLE_DEBUG=!0,A.ENABLE_VERBOSE=!0,A.ENABLE_CALLBACK=!1,A.emitter=new(Q());var f=A;class de{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var se=de;class oe{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class be extends oe{constructor(e){super(e)}get name(){return"IllegalStateException"}}class ce extends oe{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class $ extends oe{constructor(e){super(e)}get name(){return"NotImplementedException"}}const d={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},te={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class q{constructor(e){this._type=e||"undefined",this._status=d.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=d.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===d.kConnecting||this._status===d.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new $("Unimplemented abstract function!")}abort(){throw new $("Unimplemented abstract function!")}}let z={};function Ce(){let me=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(me)||/(opr)[\/]([\w.]+)/.exec(me)||/(chrome)[ \/]([\w.]+)/.exec(me)||/(iemobile)[\/]([\w.]+)/.exec(me)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(me)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(me)||/(webkit)[ \/]([\w.]+)/.exec(me)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(me)||/(msie) ([\w.]+)/.exec(me)||me.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(me)||me.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(me)||[],t=/(ipad)/.exec(me)||/(ipod)/.exec(me)||/(windows phone)/.exec(me)||/(iphone)/.exec(me)||/(kindle)/.exec(me)||/(android)/.exec(me)||/(windows)/.exec(me)||/(mac)/.exec(me)||/(linux)/.exec(me)||/(cros)/.exec(me)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},r={};if(n.browser){r[n.browser]=!0;let s=n.majorVersion.split(".");r.version={major:parseInt(n.majorVersion,10),string:n.version},s.length>1&&(r.version.minor=parseInt(s[1],10)),s.length>2&&(r.version.build=parseInt(s[2],10))}if(n.platform&&(r[n.platform]=!0),(r.chrome||r.opr||r.safari)&&(r.webkit=!0),r.rv||r.iemobile){r.rv&&delete r.rv;let s="msie";n.browser=s,r[s]=!0}if(r.edge){delete r.edge;let s="msedge";n.browser=s,r[s]=!0}if(r.opr){let s="opera";n.browser=s,r[s]=!0}if(r.safari&&r.android){let s="android";n.browser=s,r[s]=!0}r.name=n.browser,r.platform=n.platform;for(let s in z)z.hasOwnProperty(s)&&delete z[s];Object.assign(z,r)}Ce();var K=z;class T extends q{static isSupported(){try{let e=K.msedge&&K.version.minor>=15048,t=K.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let r=this._seekHandler.getConfig(n,t),s=new self.Headers;if(typeof r.headers=="object"){let O=r.headers;for(let we in O)O.hasOwnProperty(we)&&s.append(we,O[we])}let C={method:"GET",headers:s,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let O in this._config.headers)s.append(O,this._config.headers[O]);e.cors===!1&&(C.mode="same-origin"),e.withCredentials&&(C.credentials="include"),e.referrerPolicy&&(C.referrerPolicy=e.referrerPolicy),this._status=d.kConnecting,self.fetch(r.url,C).then(O=>{if(this._requestAbort){this._requestAbort=!1,this._status=d.kIdle;return}if(O.ok&&O.status>=200&&O.status<=299){if(O.url!==r.url&&this._onURLRedirect){let Se=this._seekHandler.removeURLParameters(O.url);this._onURLRedirect(Se)}let we=O.headers.get("Content-Length");return we!=null&&(this._contentLength=parseInt(we),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,O.body.getReader())}else if(this._status=d.kError,this._onError)this._onError(te.HTTP_STATUS_CODE_INVALID,{code:O.status,msg:O.statusText});else throw new oe("FetchStreamLoader: Http code invalid, "+O.status+" "+O.statusText)}).catch(O=>{if(this._status=d.kError,this._onError)this._onError(te.EXCEPTION,{code:-1,msg:O.message});else throw O})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&K.msedge)return;this._status=d.kError;let n=0,r=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=d.kError,this._onError)this._onError(te.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new oe("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=d.kBuffering}}_onProgress(e){if(this._status===d.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===d.kError)return;this._status=d.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=d.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let r=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&r!==this._currentRedirectedURL&&(this._currentRedirectedURL=r,this._onURLRedirect&&this._onURLRedirect(r))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let r=parseInt(n);r>0&&(this._contentLength=r,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let r=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let s=this._totalRange.from+this._receivedLength;this._receivedLength+=r.byteLength,this._onDataArrival&&this._onDataArrival(r,s,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${s+r.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let r=this._seekHandler.getConfig(n,t);this._currentRequestURL=r.url;let s=this._xhr=new XMLHttpRequest;if(s.open("GET",r.url,!0),s.responseType="arraybuffer",s.onreadystatechange=this._onReadyStateChange.bind(this),s.onprogress=this._onProgress.bind(this),s.onload=this._onLoad.bind(this),s.onerror=this._onXhrError.bind(this),e.withCredentials&&(s.withCredentials=!0),typeof r.headers=="object"){let C=r.headers;for(let O in C)C.hasOwnProperty(O)&&s.setRequestHeader(O,C[O])}if(typeof this._config.headers=="object"){let C=this._config.headers;for(let O in C)C.hasOwnProperty(O)&&s.setRequestHeader(O,C[O])}s.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=d.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=d.kBuffering}else if(this._status=d.kError,this._onError)this._onError(te.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new oe("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===d.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let r=e.total;this._internalAbort(),r!=null&r!==0&&(this._totalLength=r)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,r=0,s=0,C=n;if(e=t[r]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let C=this._normalizeSpeed(t);this._currentSpeedNormalized!==C&&(this._currentSpeedNormalized=C,this._currentChunkSizeKB=C)}let n=e.target.response,r=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let s=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=d.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(te.EXCEPTION,t);else throw new oe(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=d.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(te.EXCEPTION,t);else throw new oe(t.msg)}}var ue=X;class D{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let r;t.to!==-1?r=`bytes=${t.from.toString()}-${t.to.toString()}`:r=`bytes=${t.from.toString()}-`,n.Range=r}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var xe=D;class R{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let r=!0;n.indexOf("?")===-1&&(n+="?",r=!1),r&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,r=e.indexOf("?");r!==-1&&(n=e.substring(r+1));let s="";if(n!=null&&n.length>0){let C=n.split("&");for(let O=0;O0;we[0]!==this._startName&&we[0]!==this._endName&&(Se&&(s+="&"),s+=C[O])}}return s.length===0?t:t+"?"+s}}var P=R;class v{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new se,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===ne?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new xe(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new P(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new ce("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new ce(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=ue;else if(M.isSupported())this._loaderClass=M;else if(S.isSupported())this._loaderClass=S;else if(ne.isSupported())this._loaderClass=ne;else throw new oe("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new ce("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let r=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(r,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,r=0,s=0,C=n;if(e=t[r]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let C=this._stashBuffer.slice(0,this._stashUsed),O=this._dispatchChunks(C,this._stashByteStart);if(O0){let we=new Uint8Array(C,O);s.set(we,0),this._stashUsed=we.byteLength,this._stashByteStart+=O}}else this._stashUsed=0,this._stashByteStart+=O;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),s=new Uint8Array(this._stashBuffer,0,this._bufferSize)),s.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let C=this._dispatchChunks(e,t);if(Cthis._bufferSize&&(this._expandBuffer(O),s=new Uint8Array(this._stashBuffer,0,this._bufferSize)),s.set(new Uint8Array(e,C),0),this._stashUsed+=O,this._stashByteStart=t+C}}}else if(this._stashUsed===0){let s=this._dispatchChunks(e,t);if(sthis._bufferSize&&this._expandBuffer(C),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,s),0),this._stashUsed+=C,this._stashByteStart=t+s}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let s=new Uint8Array(this._stashBuffer,0,this._bufferSize);s.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let C=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(C0){let O=new Uint8Array(this._stashBuffer,C);s.set(O,0)}this._stashUsed-=C,this._stashByteStart+=C}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),r=t.byteLength-n;if(n0){let s=new Uint8Array(this._stashBuffer,0,this._bufferSize),C=new Uint8Array(t,n);s.set(C,0),this._stashUsed=C.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,r}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(f.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=te.UNRECOVERABLE_EARLY_EOF),e){case te.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=J.getConfig();e.emit("change",t)}}static registerListener(e){J.emitter.addListener("change",e)}static removeListener(e){J.emitter.removeListener("change",e)}static addLogListener(e){f.emitter.addListener("log",e),f.emitter.listenerCount("log")>0&&(f.ENABLE_CALLBACK=!0,J._notifyChange())}static removeLogListener(e){f.emitter.removeListener("log",e),f.emitter.listenerCount("log")===0&&(f.ENABLE_CALLBACK=!1,J._notifyChange())}}J.emitter=new(Q());var ie=J;class ge{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,r=e.length-1,s=0,C=0,O=r;for(t=e[s]&&t=128){e.push(String.fromCharCode(s&65535)),n+=2;continue}}}else if(t[n]<240){if(Pe(t,n,2)){let s=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(s>=2048&&(s&63488)!==55296){e.push(String.fromCharCode(s&65535)),n+=3;continue}}}else if(t[n]<248&&Pe(t,n,3)){let s=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(s>65536&&s<1114112){s-=65536,e.push(String.fromCharCode(s>>>10|55296)),e.push(String.fromCharCode(s&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var Je=Ie;let ke=function(){let me=new ArrayBuffer(2);return new DataView(me).setInt16(0,256,!0),new Int16Array(me)[0]===256}();class ze{static parseScriptData(e,t,n){let r={};try{let s=ze.parseValue(e,t,n),C=ze.parseValue(e,t+s.size,n-s.size);r[s.data]=C.data}catch(s){f.e("AMF",s.toString())}return r}static parseObject(e,t,n){if(n<3)throw new be("Data not enough when parse ScriptDataObject");let r=ze.parseString(e,t,n),s=ze.parseValue(e,t+r.size,n-r.size),C=s.objectEnd;return{data:{name:r.data,value:s.data},size:r.size+s.size,objectEnd:C}}static parseVariable(e,t,n){return ze.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new be("Data not enough when parse String");let s=new DataView(e,t,n).getUint16(0,!ke),C;return s>0?C=Je(new Uint8Array(e,t+2,s)):C="",{data:C,size:2+s}}static parseLongString(e,t,n){if(n<4)throw new be("Data not enough when parse LongString");let s=new DataView(e,t,n).getUint32(0,!ke),C;return s>0?C=Je(new Uint8Array(e,t+4,s)):C="",{data:C,size:4+s}}static parseDate(e,t,n){if(n<10)throw new be("Data size invalid when parse Date");let r=new DataView(e,t,n),s=r.getFloat64(0,!ke),C=r.getInt16(8,!ke);return s+=C*60*1e3,{data:new Date(s),size:10}}static parseValue(e,t,n){if(n<1)throw new be("Data not enough when parse Value");let r=new DataView(e,t,n),s=1,C=r.getUint8(0),O,we=!1;try{switch(C){case 0:O=r.getFloat64(1,!ke),s+=8;break;case 1:{O=!!r.getUint8(1),s+=1;break}case 2:{let Se=ze.parseString(e,t+1,n-1);O=Se.data,s+=Se.size;break}case 3:{O={};let Se=0;for((r.getUint32(n-4,!ke)&16777215)===9&&(Se=3);s32)throw new ce("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let C=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,C}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let r=Math.min(n,this._current_word_bits_left),s=this._current_word>>>32-r;return this._current_word<<=r,this._current_word_bits_left-=r,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Le=V;class m{static _ebsp2rbsp(e){let t=e,n=t.byteLength,r=new Uint8Array(n),s=0;for(let C=0;C=2&&t[C]===3&&t[C-1]===0&&t[C-2]===0||(r[s]=t[C],s++);return new Uint8Array(r.buffer,0,s)}static parseSPS(e){let t=m._ebsp2rbsp(e),n=new Le(t);n.readByte();let r=n.readByte();n.readByte();let s=n.readByte();n.readUEG();let C=m.getProfileString(r),O=m.getLevelString(s),we=1,Se=420,De=[0,420,422,444],Qe=8;if((r===100||r===110||r===122||r===244||r===44||r===83||r===86||r===118||r===128||r===138||r===144)&&(we=n.readUEG(),we===3&&n.readBits(1),we<=3&&(Se=De[we]),Qe=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let bt=we!==3?8:12;for(let yt=0;yt0&&bt<16?(It=yt[bt-1],Ye=wt[bt-1]):bt===255&&(It=n.readByte()<<8|n.readByte(),Ye=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let bt=n.readBits(32),yt=n.readBits(32);re=n.readBool(),ee=yt,ve=bt*2,St=ee/ve}}let ye=1;(It!==1||Ye!==1)&&(ye=It/Ye);let Ee=0,_e=0;if(we===0)Ee=1,_e=2-Oe;else{let bt=we===3?1:2,yt=we===1?2:1;Ee=bt,_e=yt*(2-Oe)}let je=(ut+1)*16,ft=(2-Oe)*((We+1)*16);je-=($e+nt)*Ee,ft-=(qe+pt)*_e;let dt=Math.ceil(je*ye);return n.destroy(),n=null,{profile_string:C,level_string:O,bit_depth:Qe,ref_frames:Ke,chroma_format:Se,chroma_format_string:m.getChromaFormatString(Se),frame_rate:{fixed:re,fps:St,fps_den:ve,fps_num:ee},sar_ratio:{width:It,height:Ye},codec_size:{width:je,height:ft},present_size:{width:dt,height:ft}}}static _skipScalingList(e,t){let n=8,r=8,s=0;for(let C=0;C>>8&255|(me&255)<<8}function U(me){return(me&4278190080)>>>24|(me&16711680)>>>8|(me&65280)<<8|(me&255)<<24}function E(me,e){return me[e]<<24|me[e+1]<<16|me[e+2]<<8|me[e+3]}class l{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Te,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let r=(t[4]&4)>>>2!==0,s=(t[4]&1)!==0,C=E(t,5);return C<9?n:{match:!0,consumed:C,dataOffset:C,hasAudioTrack:r,hasVideoTrack:s}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Te}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new be("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,r=this._littleEndian;if(t===0)if(e.byteLength>13)n=l.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&f.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!r)!==0&&f.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let C=s.getUint8(0),O=s.getUint32(0,!r)&16777215;if(n+11+O+4>e.byteLength)break;if(C!==8&&C!==9&&C!==18){f.w(this.TAG,`Unsupported tag type ${C}, skipped`),n+=11+O+4;continue}let we=s.getUint8(4),Se=s.getUint8(5),De=s.getUint8(6),Qe=s.getUint8(7),ot=De|Se<<8|we<<16|Qe<<24;(s.getUint32(7,!r)&16777215)!==0&&f.w(this.TAG,"Meet tag which has StreamID != 0!");let ut=n+11;switch(C){case 8:this._parseAudioData(e,ut,O,ot);break;case 9:this._parseVideoData(e,ut,O,ot,t+n);break;case 18:this._parseScriptData(e,ut,O);break}let We=s.getUint32(11+O,!r);We!==11+O&&f.w(this.TAG,`Invalid PrevTagSize ${We}`),n+=11+O+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let r=Ge.parseScriptData(e,t,n);if(r.hasOwnProperty("onMetaData")){if(r.onMetaData==null||typeof r.onMetaData!="object"){f.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&f.w(this.TAG,"Found another onMetaData tag!"),this._metadata=r;let s=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},s)),typeof s.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=s.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof s.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=s.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof s.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=s.audiodatarate),typeof s.videodatarate=="number"&&(this._mediaInfo.videoDataRate=s.videodatarate),typeof s.width=="number"&&(this._mediaInfo.width=s.width),typeof s.height=="number"&&(this._mediaInfo.height=s.height),typeof s.duration=="number"){if(!this._durationOverrided){let C=Math.floor(s.duration*this._timescale);this._duration=C,this._mediaInfo.duration=C}}else this._mediaInfo.duration=0;if(typeof s.framerate=="number"){let C=Math.floor(s.framerate*1e3);if(C>0){let O=C/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=O,this._referenceFrameRate.fps_num=C,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=O}}if(typeof s.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let C=s.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(C),s.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=s,f.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(r).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},r))}_parseKeyframesIndex(e){let t=[],n=[];for(let r=1;r>>4;if(we!==2&&we!==10){this._onError(a.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+we);return}let Se=0,De=(O&12)>>>2;if(De>=0&&De<=4)Se=this._flvSoundRateTable[De];else{this._onError(a.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+De);return}let Qe=(O&2)>>>1,ot=O&1,Ke=this._audioMetadata,ut=this._audioTrack;if(Ke||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Ke=this._audioMetadata={},Ke.type="audio",Ke.id=ut.id,Ke.timescale=this._timescale,Ke.duration=this._duration,Ke.audioSampleRate=Se,Ke.channelCount=ot===0?1:2),we===10){let We=this._parseAACAudioData(e,t+1,n-1);if(We==null)return;if(We.packetType===0){Ke.config&&f.w(this.TAG,"Found another AudioSpecificConfig!");let Oe=We.data;Ke.audioSampleRate=Oe.samplingRate,Ke.channelCount=Oe.channelCount,Ke.codec=Oe.codec,Ke.originalCodec=Oe.originalCodec,Ke.config=Oe.config,Ke.refSampleDuration=1024/Ke.audioSampleRate*Ke.timescale,f.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Ke);let $e=this._mediaInfo;$e.audioCodec=Ke.originalCodec,$e.audioSampleRate=Ke.audioSampleRate,$e.audioChannelCount=Ke.channelCount,$e.hasVideo?$e.videoCodec!=null&&($e.mimeType='video/x-flv; codecs="'+$e.videoCodec+","+$e.audioCodec+'"'):$e.mimeType='video/x-flv; codecs="'+$e.audioCodec+'"',$e.isComplete()&&this._onMediaInfo($e)}else if(We.packetType===1){let Oe=this._timestampBase+r,$e={unit:We.data,length:We.data.byteLength,dts:Oe,pts:Oe};ut.samples.push($e),ut.length+=We.data.length}else f.e(this.TAG,`Flv: Unsupported AAC data type ${We.packetType}`)}else if(we===2){if(!Ke.codec){let nt=this._parseMP3AudioData(e,t+1,n-1,!0);if(nt==null)return;Ke.audioSampleRate=nt.samplingRate,Ke.channelCount=nt.channelCount,Ke.codec=nt.codec,Ke.originalCodec=nt.originalCodec,Ke.refSampleDuration=1152/Ke.audioSampleRate*Ke.timescale,f.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Ke);let qe=this._mediaInfo;qe.audioCodec=Ke.codec,qe.audioSampleRate=Ke.audioSampleRate,qe.audioChannelCount=Ke.channelCount,qe.audioDataRate=nt.bitRate,qe.hasVideo?qe.videoCodec!=null&&(qe.mimeType='video/x-flv; codecs="'+qe.videoCodec+","+qe.audioCodec+'"'):qe.mimeType='video/x-flv; codecs="'+qe.audioCodec+'"',qe.isComplete()&&this._onMediaInfo(qe)}let We=this._parseMP3AudioData(e,t+1,n-1,!1);if(We==null)return;let Oe=this._timestampBase+r,$e={unit:We,length:We.byteLength,dts:Oe,pts:Oe};ut.samples.push($e),ut.length+=We.length}}_parseAACAudioData(e,t,n){if(n<=1){f.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let r={},s=new Uint8Array(e,t,n);return r.packetType=s[0],s[0]===0?r.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):r.data=s.subarray(1),r}_parseAACAudioSpecificConfig(e,t,n){let r=new Uint8Array(e,t,n),s=null,C=0,O=0,we=null,Se=0,De=null;if(C=O=r[0]>>>3,Se=(r[0]&7)<<1|r[1]>>>7,Se<0||Se>=this._mpegSamplingRates.length){this._onError(a.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Qe=this._mpegSamplingRates[Se],ot=(r[1]&120)>>>3;if(ot<0||ot>=8){this._onError(a.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}C===5&&(De=(r[1]&7)<<1|r[2]>>>7,we=(r[2]&124)>>>2);let Ke=self.navigator.userAgent.toLowerCase();return Ke.indexOf("firefox")!==-1?Se>=6?(C=5,s=new Array(4),De=Se-3):(C=2,s=new Array(2),De=Se):Ke.indexOf("android")!==-1?(C=2,s=new Array(2),De=Se):(C=5,De=Se,s=new Array(4),Se>=6?De=Se-3:ot===1&&(C=2,s=new Array(2),De=Se)),s[0]=C<<3,s[0]|=(Se&15)>>>1,s[1]=(Se&15)<<7,s[1]|=(ot&15)<<3,C===5&&(s[1]|=(De&15)>>>1,s[2]=(De&1)<<7,s[2]|=8,s[3]=0),{config:s,samplingRate:Qe,channelCount:ot,codec:"mp4a.40."+C,originalCodec:"mp4a.40."+O}}_parseMP3AudioData(e,t,n,r){if(n<4){f.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let s=this._littleEndian,C=new Uint8Array(e,t,n),O=null;if(r){if(C[0]!==255)return;let we=C[1]>>>3&3,Se=(C[1]&6)>>1,De=(C[2]&240)>>>4,Qe=(C[2]&12)>>>2,Ke=(C[3]>>>6&3)!==3?2:1,ut=0,We=0,Oe=34,$e="mp3";switch(we){case 0:ut=this._mpegAudioV25SampleRateTable[Qe];break;case 2:ut=this._mpegAudioV20SampleRateTable[Qe];break;case 3:ut=this._mpegAudioV10SampleRateTable[Qe];break}switch(Se){case 1:Oe=34,De>>4,we=C&15;if(we!==7){this._onError(a.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${we}`);return}this._parseAVCVideoPacket(e,t+1,n-1,r,s,O)}_parseAVCVideoPacket(e,t,n,r,s,C){if(n<4){f.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let O=this._littleEndian,we=new DataView(e,t,n),Se=we.getUint8(0),Qe=(we.getUint32(0,!O)&16777215)<<8>>8;if(Se===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(Se===1)this._parseAVCVideoData(e,t+4,n-4,r,s,C,Qe);else if(Se!==2){this._onError(a.FORMAT_ERROR,`Flv: Invalid video packet type ${Se}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){f.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let r=this._videoMetadata,s=this._videoTrack,C=this._littleEndian,O=new DataView(e,t,n);r?typeof r.avcc!="undefined"&&f.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),r=this._videoMetadata={},r.type="video",r.id=s.id,r.timescale=this._timescale,r.duration=this._duration);let we=O.getUint8(0),Se=O.getUint8(1),De=O.getUint8(2),Qe=O.getUint8(3);if(we!==1||Se===0){this._onError(a.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(O.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(a.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let ot=O.getUint8(5)&31;if(ot===0){this._onError(a.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ot>1&&f.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${ot}`);let Ke=6;for(let We=0;We1&&f.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${ut}`);Ke++;for(let We=0;We=n){f.w(this.TAG,`Malformed Nalu near timestamp ${ut}, offset = ${ot}, dataSize = ${n}`);break}let Oe=Se.getUint32(ot,!we);if(Ke===3&&(Oe>>>=8),Oe>n-Ke){f.w(this.TAG,`Malformed Nalus near timestamp ${ut}, NaluSize > DataSize!`);return}let $e=Se.getUint8(ot+Ke)&31;$e===5&&(We=!0);let nt=new Uint8Array(e,t+ot,Ke+Oe),qe={type:$e,data:nt};De.push(qe),Qe+=nt.byteLength,ot+=Ke+Oe}if(De.length){let Oe=this._videoTrack,$e={units:De,length:Qe,isKeyframe:We,dts:ut,cts:O,pts:ut+O};We&&($e.fileposition=s),Oe.samples.push($e),Oe.length+=Qe}}}var p=l;class o{static init(){o.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in o.types)o.types.hasOwnProperty(t)&&(o.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=o.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,r=Array.prototype.slice.call(arguments,1),s=r.length;for(let O=0;O>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let C=8;for(let O=0;O>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return o.box(o.types.trak,o.tkhd(e),o.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,r=e.presentWidth,s=e.presentHeight;return o.box(o.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>>8&255,r&255,0,0,s>>>8&255,s&255,0,0]))}static mdia(e){return o.box(o.types.mdia,o.mdhd(e),o.hdlr(e),o.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return o.box(o.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=o.constants.HDLR_AUDIO:t=o.constants.HDLR_VIDEO,o.box(o.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=o.box(o.types.smhd,o.constants.SMHD):t=o.box(o.types.vmhd,o.constants.VMHD),o.box(o.types.minf,t,o.dinf(),o.stbl(e))}static dinf(){return o.box(o.types.dinf,o.box(o.types.dref,o.constants.DREF))}static stbl(e){return o.box(o.types.stbl,o.stsd(e),o.box(o.types.stts,o.constants.STTS),o.box(o.types.stsc,o.constants.STSC),o.box(o.types.stsz,o.constants.STSZ),o.box(o.types.stco,o.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?o.box(o.types.stsd,o.constants.STSD_PREFIX,o.mp3(e)):o.box(o.types.stsd,o.constants.STSD_PREFIX,o.mp4a(e)):o.box(o.types.stsd,o.constants.STSD_PREFIX,o.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return o.box(o.types[".mp3"],r)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return o.box(o.types.mp4a,r,o.esds(e))}static esds(e){let t=e.config||[],n=t.length,r=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return o.box(o.types.esds,r)}static avc1(e){let t=e.avcc,n=e.codecWidth,r=e.codecHeight,s=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,r>>>8&255,r&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return o.box(o.types.avc1,s,o.box(o.types.avcC,t))}static mvex(e){return o.box(o.types.mvex,o.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return o.box(o.types.trex,n)}static moof(e,t){return o.box(o.types.moof,o.mfhd(e.sequenceNumber),o.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return o.box(o.types.mfhd,t)}static traf(e,t){let n=e.id,r=o.box(o.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),s=o.box(o.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),C=o.sdtp(e),O=o.trun(e,C.byteLength+16+16+8+16+8+8);return o.box(o.types.traf,r,s,O,C)}static sdtp(e){let t=e.samples||[],n=t.length,r=new Uint8Array(4+n);for(let s=0;s>>24&255,r>>>16&255,r>>>8&255,r&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let O=0;O>>24&255,we>>>16&255,we>>>8&255,we&255,Se>>>24&255,Se>>>16&255,Se>>>8&255,Se&255,De.isLeading<<2|De.dependsOn,De.isDependedOn<<6|De.hasRedundancy<<4|De.isNonSync,0,0,Qe>>>24&255,Qe>>>16&255,Qe>>>8&255,Qe&255],12+16*O)}return o.box(o.types.trun,C)}static mdat(e){return o.box(o.types.mdat,e)}}o.init();var c=o;class _{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var L=_;class F{constructor(e,t,n,r,s){this.dts=e,this.pts=t,this.duration=n,this.originalDts=r,this.isSyncPoint=s,this.fileposition=null}}class fe{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class ae{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[s].dts&&et[r].lastSample.originalDts&&e=t[r].lastSample.originalDts&&(r===t.length-1||r0&&(s=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=s,this._list.splice(s,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class G{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new he("audio"),this._videoSegmentInfoList=new he("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(K.chrome&&(K.version.major<50||K.version.major===50&&K.version.build<2661)),this._fillSilentAfterSeek=K.msedge||K.msie,this._mp3UseMpegAudio=!K.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new be("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,r="mp4",s=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(r="mpeg",s="",n=new Uint8Array):n=c.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=c.generateInitSegment(t);else return;if(!this._onInitSegment)throw new be("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:s,container:`${e}/${r}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let r={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(r.samples.push(t),r.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(r,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,r=n.samples,s,C=-1,O=-1,we=-1,Se=this._audioMeta.refSampleDuration,De=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Qe=this._dtsBaseInited&&this._audioNextDts===void 0,ot=!1;if(!r||r.length===0||r.length===1&&!t)return;let Ke=0,ut=null,We=0;De?(Ke=0,We=n.length):(Ke=8,We=8+n.length);let Oe=null;if(r.length>1&&(Oe=r.pop(),We-=Oe.length),this._audioStashedLastSample!=null){let Ye=this._audioStashedLastSample;this._audioStashedLastSample=null,r.unshift(Ye),We+=Ye.length}Oe!=null&&(this._audioStashedLastSample=Oe);let $e=r[0].dts-this._dtsBase;if(this._audioNextDts)s=$e-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())s=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(ot=!0);else{let Ye=this._audioSegmentInfoList.getLastSampleBefore($e);if(Ye!=null){let St=$e-(Ye.originalDts+Ye.duration);St<=3&&(St=0);let re=Ye.dts+Ye.duration+St;s=$e-re}else s=0}if(ot){let Ye=$e-s,St=this._videoSegmentInfoList.getLastSegmentBefore($e);if(St!=null&&St.beginDts=1?Ae=nt[nt.length-1].duration:Ae=Math.floor(Se);let ye=!1,Ee=null;if(Ae>Se*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!K.safari){ye=!0;let _e=Math.abs(Ae-Se),je=Math.ceil(_e/Se),ft=ve+Se;f.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${ve+Ae} ms, expected: ${ve+Math.round(Se)} ms, delta: ${Math.round(_e)} ms, generate: ${je} frames`);let dt=L.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);dt==null&&(f.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),dt=re),Ee=[];for(let yt=0;yt0){let Dt=Ee[Ee.length-1];Dt.duration=wt-Dt.dts}let Nt={dts:wt,pts:wt,cts:0,unit:dt,size:dt.byteLength,duration:0,originalDts:ee,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Ee.push(Nt),We+=Nt.size,ft+=Se}let bt=Ee[Ee.length-1];bt.duration=ve+Ae-bt.dts,Ae=Math.round(Se)}nt.push({dts:ve,pts:ve,cts:0,unit:St.unit,size:St.unit.byteLength,duration:Ae,originalDts:ee,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),ye&&nt.push.apply(nt,Ee)}De?ut=new Uint8Array(We):(ut=new Uint8Array(We),ut[0]=We>>>24&255,ut[1]=We>>>16&255,ut[2]=We>>>8&255,ut[3]=We&255,ut.set(c.types.mdat,4));for(let Ye=0;Ye1&&(Ke=r.pop(),ot-=Ke.length),this._videoStashedLastSample!=null){let qe=this._videoStashedLastSample;this._videoStashedLastSample=null,r.unshift(qe),ot+=qe.length}Ke!=null&&(this._videoStashedLastSample=Ke);let ut=r[0].dts-this._dtsBase;if(this._videoNextDts)s=ut-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())s=0;else{let qe=this._videoSegmentInfoList.getLastSampleBefore(ut);if(qe!=null){let pt=ut-(qe.originalDts+qe.duration);pt<=3&&(pt=0);let Tt=qe.dts+qe.duration+pt;s=ut-Tt}else s=0}let We=new fe,Oe=[];for(let qe=0;qe=1?ee=Oe[Oe.length-1].duration:ee=Math.floor(this._videoMeta.refSampleDuration),It){let ve=new F(Ye,re,ee,pt.dts,!0);ve.fileposition=pt.fileposition,We.appendSyncPoint(ve)}Oe.push({dts:Ye,pts:re,cts:St,units:pt.units,size:pt.length,isKeyframe:It,duration:ee,originalDts:Tt,flags:{isLeading:0,dependsOn:It?2:1,isDependedOn:It?1:0,hasRedundancy:0,isNonSync:It?0:1}})}Qe=new Uint8Array(ot),Qe[0]=ot>>>24&255,Qe[1]=ot>>>16&255,Qe[2]=ot>>>8&255,Qe[3]=ot&255,Qe.set(c.types.mdat,4);for(let qe=0;qe{r.timestampBase=n,n+=r.duration,r.cors=e.cors,r.withCredentials=e.withCredentials,t.referrerPolicy&&(r.referrerPolicy=t.referrerPolicy)}),!isNaN(n)&&this._mediaDataSource.duration!==n&&(this._mediaDataSource.duration=n),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,t){this._currentSegmentIndex=e;let n=this._mediaDataSource.segments[e],r=this._ioctl=new B(n,this._config,e);r.onError=this._onIOException.bind(this),r.onSeeked=this._onIOSeeked.bind(this),r.onComplete=this._onIOComplete.bind(this),r.onRedirect=this._onIORedirect.bind(this),r.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):r.onDataArrival=this._onInitChunkArrival.bind(this),r.open(t)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e;else{let r=n.getNearestKeyframe(e);this._remuxer.seek(r.milliseconds),this._ioctl.seek(r.fileposition),this._pendingResolveSeekPoint=r.milliseconds}}else{let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{let r=n.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,r.fileposition),this._pendingResolveSeekPoint=r.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let t=this._mediaDataSource.segments,n=t.length-1;for(let r=0;r0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,r=this._demuxer.parseChunks(e,t);else if((n=p.probe(e)).match){this._demuxer=new p(n,this._config),this._remuxer||(this._remuxer=new Re(this._config));let s=this._mediaDataSource;s.duration!=null&&!isNaN(s.duration)&&(this._demuxer.overridedDuration=s.duration),typeof s.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=s.hasAudio),typeof s.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=s.hasVideo),this._demuxer.timestampBase=s.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),r=this._demuxer.parseChunks(e,t)}else n=null,f.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(W.DEMUX_ERROR,a.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),r=0;return r}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Te.prototype));let t=Object.assign({},e);Object.setPrototypeOf(t,Te.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=t,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let n=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(n)})}_onMetaDataArrived(e){this._emitter.emit(W.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(W.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let n=e+1;n0&&n[0].originalDts===r&&(r=n[0].pts),this._emitter.emit(W.RECOMMEND_SEEKPOINT,r)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let t=this._mediaInfo.segments[e],n=Object.assign({},t);n.duration=this._mediaInfo.duration,n.segmentCount=this._mediaInfo.segmentCount,delete n.segments,delete n.keyframesIndex,this._emitter.emit(W.MEDIA_INFO,n)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(W.STATISTICS_INFO,e)}}var Xe=Be,He=function(me){let e="TransmuxingWorker",t=null,n=We.bind(this);x.install(),me.addEventListener("message",function(Oe){switch(Oe.data.cmd){case"init":t=new Xe(Oe.data.param[0],Oe.data.param[1]),t.on(W.IO_ERROR,ot.bind(this)),t.on(W.DEMUX_ERROR,Ke.bind(this)),t.on(W.INIT_SEGMENT,r.bind(this)),t.on(W.MEDIA_SEGMENT,s.bind(this)),t.on(W.LOADING_COMPLETE,C.bind(this)),t.on(W.RECOVERED_EARLY_EOF,O.bind(this)),t.on(W.MEDIA_INFO,we.bind(this)),t.on(W.METADATA_ARRIVED,Se.bind(this)),t.on(W.SCRIPTDATA_ARRIVED,De.bind(this)),t.on(W.STATISTICS_INFO,Qe.bind(this)),t.on(W.RECOMMEND_SEEKPOINT,ut.bind(this));break;case"destroy":t&&(t.destroy(),t=null),me.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(Oe.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":{let $e=Oe.data.param;ie.applyConfig($e),$e.enableCallback===!0?ie.addLogListener(n):ie.removeLogListener(n);break}}});function r(Oe,$e){let nt={msg:W.INIT_SEGMENT,data:{type:Oe,data:$e}};me.postMessage(nt,[$e.data])}function s(Oe,$e){let nt={msg:W.MEDIA_SEGMENT,data:{type:Oe,data:$e}};me.postMessage(nt,[$e.data])}function C(){let Oe={msg:W.LOADING_COMPLETE};me.postMessage(Oe)}function O(){let Oe={msg:W.RECOVERED_EARLY_EOF};me.postMessage(Oe)}function we(Oe){let $e={msg:W.MEDIA_INFO,data:Oe};me.postMessage($e)}function Se(Oe){let $e={msg:W.METADATA_ARRIVED,data:Oe};me.postMessage($e)}function De(Oe){let $e={msg:W.SCRIPTDATA_ARRIVED,data:Oe};me.postMessage($e)}function Qe(Oe){let $e={msg:W.STATISTICS_INFO,data:Oe};me.postMessage($e)}function ot(Oe,$e){me.postMessage({msg:W.IO_ERROR,data:{type:Oe,info:$e}})}function Ke(Oe,$e){me.postMessage({msg:W.DEMUX_ERROR,data:{type:Oe,info:$e}})}function ut(Oe){me.postMessage({msg:W.RECOMMEND_SEEKPOINT,data:Oe})}function We(Oe,$e){me.postMessage({msg:"logcat_callback",data:{type:Oe,logcat:$e}})}};class rt{constructor(e,t){if(this.TAG="Transmuxer",this._emitter=new(Q()),t.enableWorker&&typeof Worker!="undefined")try{let n=i(82059);this._worker=n(He),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,t]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},ie.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:ie.getConfig()})}catch(n){f.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Xe(e,t)}else this._controller=new Xe(e,t);if(this._controller){let n=this._controller;n.on(W.IO_ERROR,this._onIOError.bind(this)),n.on(W.DEMUX_ERROR,this._onDemuxError.bind(this)),n.on(W.INIT_SEGMENT,this._onInitSegment.bind(this)),n.on(W.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),n.on(W.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),n.on(W.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),n.on(W.MEDIA_INFO,this._onMediaInfo.bind(this)),n.on(W.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),n.on(W.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),n.on(W.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),n.on(W.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),ie.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(W.INIT_SEGMENT,e,t)})}_onMediaSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(W.MEDIA_SEGMENT,e,t)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(W.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(W.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(W.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(W.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(W.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(W.STATISTICS_INFO,e)})}_onIOError(e,t){Promise.resolve().then(()=>{this._emitter.emit(W.IO_ERROR,e,t)})}_onDemuxError(e,t){Promise.resolve().then(()=>{this._emitter.emit(W.DEMUX_ERROR,e,t)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(W.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let t=e.data,n=t.data;if(t.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(t.msg){case W.INIT_SEGMENT:case W.MEDIA_SEGMENT:this._emitter.emit(t.msg,n.type,n.data);break;case W.LOADING_COMPLETE:case W.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case W.MEDIA_INFO:Object.setPrototypeOf(n,Te.prototype),this._emitter.emit(t.msg,n);break;case W.METADATA_ARRIVED:case W.SCRIPTDATA_ARRIVED:case W.STATISTICS_INFO:this._emitter.emit(t.msg,n);break;case W.IO_ERROR:case W.DEMUX_ERROR:this._emitter.emit(t.msg,n.type,n.info);break;case W.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,n);break;case"logcat_callback":f.emitter.emit("log",n.type,n.logcat);break;default:break}}}var _t=rt,st={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class mt{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(Q()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new ae}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaSource)throw new be("MediaSource has been attached to an HTMLMediaElement!");let t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let t in this._sourceBuffers){let n=this._pendingSegments[t];n.splice(0,n.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;let r=this._sourceBuffers[t];if(r){if(e.readyState!=="closed"){try{e.removeSourceBuffer(r)}catch(s){f.e(this.TAG,s.message)}r.removeEventListener("error",this.e.onSourceBufferError),r.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[t]=null,this._sourceBuffers[t]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(t){f.e(this.TAG,t.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,t){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let n=e,r=`${n.container}`;n.codec&&n.codec.length>0&&(r+=`;codecs=${n.codec}`);let s=!1;if(f.v(this.TAG,"Received Initialization Segment, mimeType: "+r),this._lastInitSegments[n.type]=n,r!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])f.v(this.TAG,`Notice: ${n.type} mimeType changed, origin: ${this._mimeTypes[n.type]}, target: ${r}`);else{s=!0;try{let C=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(r);C.addEventListener("error",this.e.onSourceBufferError),C.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(C){f.e(this.TAG,C.message),this._emitter.emit(st.ERROR,{code:C.code,msg:C.message});return}}this._mimeTypes[n.type]=r}t||this._pendingSegments[n.type].push(n),s||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),K.safari&&n.container==="audio/mpeg"&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let n=this._sourceBuffers[t.type];n&&!n.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let t in this._sourceBuffers){if(!this._sourceBuffers[t])continue;let n=this._sourceBuffers[t];if(this._mediaSource.readyState==="open")try{n.abort()}catch(s){f.e(this.TAG,s.message)}this._idrList.clear();let r=this._pendingSegments[t];if(r.splice(0,r.length),this._mediaSource.readyState!=="closed"){for(let s=0;s=1&&e-r.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let t in this._sourceBuffers){let n=this._sourceBuffers[t];if(n){let r=n.buffered,s=!1;for(let C=0;C=this._config.autoCleanupMaxBackwardDuration){s=!0;let Se=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:O,end:Se})}}else we0&&(isNaN(t)||n>t)&&(f.v(this.TAG,`Update MediaSource duration from ${t} to ${n}`),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let t=this._sourceBuffers[e],n=this._pendingRemoveRanges[e];for(;n.length&&!t.updating;){let r=n.shift();t.remove(r.start,r.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let t in e)if(!(!this._sourceBuffers[t]||this._sourceBuffers[t].updating)&&e[t].length>0){let n=e[t].shift();if(n.timestampOffset){let r=this._sourceBuffers[t].timestampOffset,s=n.timestampOffset/1e3;Math.abs(r-s)>.1&&(f.v(this.TAG,`Update MPEG audio timestampOffset from ${r} to ${s}`),this._sourceBuffers[t].timestampOffset=s),delete n.timestampOffset}if(!n.data||n.data.byteLength===0)continue;try{this._sourceBuffers[t].appendBuffer(n.data),this._isBufferFull=!1,t==="video"&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(r){this._pendingSegments[t].unshift(n),r.code===22?(this._isBufferFull||this._emitter.emit(st.BUFFER_FULL),this._isBufferFull=!0):(f.e(this.TAG,r.message),this._emitter.emit(st.ERROR,{code:r.code,msg:r.message}))}}}_onSourceOpen(){if(f.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(st.SOURCE_OPEN)}_onSourceEnded(){f.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){f.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(st.UPDATE_END)}_onSourceBufferError(e){f.e(this.TAG,`SourceBuffer Error: ${e}`)}}var Ue=mt;const Fe={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},tt={NETWORK_EXCEPTION:te.EXCEPTION,NETWORK_STATUS_CODE_INVALID:te.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:te.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:te.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:a.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:a.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:a.CODEC_UNSUPPORTED};class Et{constructor(e,t){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(Q()),this._config=H(),typeof t=="object"&&Object.assign(this._config,t),e.type.toLowerCase()!=="flv")throw new ce("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let n=K.chrome&&(K.version.major<50||K.version.major===50&&K.version.build<2661);this._alwaysSeekKeyframe=!!(n||K.msedge||K.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){e===j.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(j.MEDIA_INFO,this.mediaInfo)}):e===j.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(j.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new Ue(this._config),this._msectl.on(st.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(st.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(st.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(st.ERROR,t=>{this._emitter.emit(j.ERROR,Fe.MEDIA_ERROR,tt.MEDIA_MSE_ERROR,t)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new be("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new be("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new _t(this._mediaDataSource,this._config),this._transmuxer.on(W.INIT_SEGMENT,(e,t)=>{this._msectl.appendInitSegment(t)}),this._transmuxer.on(W.MEDIA_SEGMENT,(e,t)=>{if(this._msectl.appendMediaSegment(t),this._config.lazyLoad&&!this._config.isLive){let n=this._mediaElement.currentTime;t.info.endDts>=(n+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(f.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(W.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(j.LOADING_COMPLETE)}),this._transmuxer.on(W.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(j.RECOVERED_EARLY_EOF)}),this._transmuxer.on(W.IO_ERROR,(e,t)=>{this._emitter.emit(j.ERROR,Fe.NETWORK_ERROR,e,t)}),this._transmuxer.on(W.DEMUX_ERROR,(e,t)=>{this._emitter.emit(j.ERROR,Fe.MEDIA_ERROR,e,{code:-1,msg:t})}),this._transmuxer.on(W.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(j.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(W.METADATA_ARRIVED,e=>{this._emitter.emit(j.METADATA_ARRIVED,e)}),this._transmuxer.on(W.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(j.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(W.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(j.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(W.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,r=0;if(this._mediaElement.getVideoPlaybackQuality){let s=this._mediaElement.getVideoPlaybackQuality();n=s.totalVideoFrames,r=s.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,r=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=r),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,t=this._mediaElement.currentTime,n=0,r=0;for(let s=0;s=t+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(f.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){f.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,t=this._mediaElement.buffered,n=!1;for(let r=0;r=s&&e=C-this._config.lazyLoadRecoverDuration&&(n=!0);break}}n&&(window.clearInterval(this._progressChecker),this._progressChecker=null,n&&(f.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let t=this._mediaElement.buffered;for(let n=0;n=r&&e0){let s=this._mediaElement.buffered.start(0);(s<1&&e0&&t.currentTime0){let r=n.start(0);if(r<1&&t{this._emitter.emit(j.MEDIA_INFO,this.mediaInfo)}):e===j.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(j.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new be("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let t={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,r=0;if(this._mediaElement.getVideoPlaybackQuality){let s=this._mediaElement.getVideoPlaybackQuality();n=s.totalVideoFrames,r=s.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,r=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=r),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(j.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(j.STATISTICS_INFO,this.statisticsInfo)}}var Ot=xt;x.install();function gt(me,e){let t=me;if(t==null||typeof t!="object")throw new ce("MediaDataSource must be an javascript object!");if(!t.hasOwnProperty("type"))throw new ce("MediaDataSource must has type field to indicate video file type!");switch(t.type){case"flv":return new vt(t,e);default:return new Ot(t,e)}}function Rt(){return Y.supportMSEH264Playback()}function it(){return Y.getFeatureList()}let at={};at.createPlayer=gt,at.isSupported=Rt,at.getFeatureList=it,at.BaseLoader=q,at.LoaderStatus=d,at.LoaderErrors=te,at.Events=j,at.ErrorTypes=Fe,at.ErrorDetails=tt,at.FlvPlayer=vt,at.NativePlayer=Ot,at.LoggingControl=ie,Object.defineProperty(at,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ve=at},98447:function(ht,Me,i){"use strict";i.d(Me,{C2:function(){return A}});var g=i(17313),x=i(37613),Z=i(83116);const Q=f=>{const{checkboxCls:de}=f,se=`${de}-wrapper`;return[{[`${de}-group`]:Object.assign(Object.assign({},(0,g.Wf)(f)),{display:"inline-flex",flexWrap:"wrap",columnGap:f.marginXS,[`> ${f.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,g.Wf)(f)),{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}}}),[de]:Object.assign(Object.assign({},(0,g.Wf)(f)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:f.borderRadiusSM,alignSelf:"center",[`${de}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${de}-inner`]:Object.assign({},(0,g.oN)(f))},[`${de}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:f.checkboxSize,height:f.checkboxSize,direction:"ltr",backgroundColor:f.colorBgContainer,border:`${f.lineWidth}px ${f.lineType} ${f.colorBorder}`,borderRadius:f.borderRadiusSM,borderCollapse:"separate",transition:`all ${f.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:f.checkboxSize/14*5,height:f.checkboxSize/14*8,border:`${f.lineWidthBold}px solid ${f.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${f.motionDurationFast} ${f.motionEaseInBack}, opacity ${f.motionDurationFast}`}},"& + span":{paddingInlineStart:f.paddingXS,paddingInlineEnd:f.paddingXS}})},{[` ${se}:not(${se}-disabled), ${de}:not(${de}-disabled) diff --git a/p__index.86f937e4.async.js b/p__index.ba239eb8.async.js similarity index 99% rename from p__index.86f937e4.async.js rename to p__index.ba239eb8.async.js index 3e9f8e9613..e5a22efb89 100644 --- a/p__index.86f937e4.async.js +++ b/p__index.ba239eb8.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[8866],{96935:function($,gt,v){"use strict";v.d(gt,{Z:function(){return Qe}});var n=v(3113),Fe=v(59301),B=Object.defineProperty,le=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,W=(qe,Ce,me)=>Ce in qe?B(qe,Ce,{enumerable:!0,configurable:!0,writable:!0,value:me}):qe[Ce]=me,be=(qe,Ce)=>{for(var me in Ce||(Ce={}))ze.call(Ce,me)&&W(qe,me,Ce[me]);if(w)for(var me of w(Ce))Be.call(Ce,me)&&W(qe,me,Ce[me]);return qe},Ge=(qe,Ce)=>le(qe,ne(Ce)),Ye=(qe,Ce)=>{var me={};for(var re in qe)ze.call(qe,re)&&Ce.indexOf(re)<0&&(me[re]=qe[re]);if(qe!=null&&w)for(var re of w(qe))Ce.indexOf(re)<0&&Be.call(qe,re)&&(me[re]=qe[re]);return me},Re=(qe,Ce,me)=>new Promise((re,Q)=>{var P=m=>{try{O(me.next(m))}catch(Ne){Q(Ne)}},T=m=>{try{O(me.throw(m))}catch(Ne){Q(Ne)}},O=m=>m.done?re(m.value):Promise.resolve(m.value).then(P,T);O((me=me.apply(qe,Ce)).next())});const Qe=qe=>{var Ce=qe,{children:me}=Ce,re=Ye(Ce,["children"]);const[Q,P]=(0,Fe.useState)(!1);return Fe.createElement(n.ZP,Ge(be({},re),{loading:Q,onClick:T=>Re(void 0,null,function*(){try{P(!0),yield re.onClick(T),P(!1)}catch(O){console.error(O),P(!1)}})}),me)}},40277:function($,gt,v){"use strict";v.d(gt,{Z:function(){return W}});var n=v(59301),Fe=v(65582),B=v(44e3),le=v(20834),ne=v(41867),w={myMenu:"myMenu___bbQDH",layoutSider:"layoutSider___b9ayt"};const ze={background:"#082930"},Be=({globalSetting:be,mainDom:Ge,dispatch:Ye})=>{var Re;const[Qe,qe]=(0,n.useState)([]),[Ce,me]=(0,n.useState)([]),re=(0,n.useMemo)(()=>{var T,O,m;const Ne=ct=>!(ct!=null&&ct.hidden)&&!((0,ne.JA)()&&(ct==null?void 0:ct.link)==="/paperlibrary"),he=((O=(T=be==null?void 0:be.setting)==null?void 0:T.navbar)==null?void 0:O.filter(Ne))||[];for(const ct of he)ct.subitem=((m=ct==null?void 0:ct.subitem)==null?void 0:m.filter(Ne))||[];return he},[(Re=be==null?void 0:be.setting)==null?void 0:Re.navbar]),Q=(T,O)=>{let m="",Ne=[];for(const he of T)if(he.link===O&&(m=he.link),he.subitem&&he.subitem.length>0){for(const ct of he.subitem)if(ct.link===O&&(m=ct.link,Ne=[he.link]),ct.subitem){const sn=Q(ct.subitem,O);sn.selectedKey&&(m=sn.selectedKey,Ne=[he.link,...sn.openKeys])}}return{selectedKey:m,openKeys:Ne}};(0,n.useEffect)(()=>{const T=location.pathname,{selectedKey:O,openKeys:m}=Q(re,T);qe(O?[O]:[]),m.length>0?me(m):me([])},[re]),(0,n.useEffect)(()=>{Ye({type:"globalSetting/headerFooterToggle",payload:!0})},[]);const P=T=>{switch(T){case"/":return n.createElement("i",{className:"iconfont ml10 icon-shouye3 font14"});case"/paths":return n.createElement("i",{className:"iconfont ml10 icon-zhihuikecheng font14"});case"/shixuns":return n.createElement("i",{className:"iconfont ml10 icon-shijianxiangmu font14"});case"/classrooms":return n.createElement("i",{className:"iconfont ml10 icon-jiaoxueketang2 font14"});default:return null}};return n.createElement(B.default,{style:ze},be.showHeader&&be.showHeaderFooter&&n.createElement(B.default.Sider,{className:`flex flex-col ${w.layoutSider}`,width:244,style:ze},n.createElement(le.default,{className:`w-full ${w.myMenu}`,mode:"inline",selectedKeys:Qe,openKeys:Ce,onOpenChange:T=>me(T),onSelect:({key:T})=>{T&&T.includes("/")&&Fe.history.push(T)},items:re.map(T=>{var O;return{key:T.link,label:T.name,icon:P(T==null?void 0:T.link),children:((O=T.subitem)==null?void 0:O.length)>0?T.subitem.map(m=>{var Ne;return{key:m.link,label:m.name,children:((Ne=m.subitem)==null?void 0:Ne.length)>0?m.subitem.map(he=>({key:he.link,label:he.name})):void 0}}):void 0}})})),n.createElement(B.default.Content,{style:{backgroundColor:"#021C21"}},Ge))};var W=(0,Fe.connect)(({globalSetting:be,user:Ge})=>({globalSetting:be,user:Ge}))(Be)},90175:function($,gt,v){"use strict";v.d(gt,{Z:function(){return W}});var n=v(59301),Fe=v(65582),B=v(44e3),le=v(20834),ne=v(41867),w={myMenu:"myMenu___BgVun",layoutSider:"layoutSider___rUtSB"};const ze={background:"linear-gradient( 180deg, #FFFFFF -20%, #BCD7FF 100%)"},Be=({globalSetting:be,mainDom:Ge,dispatch:Ye})=>{var Re;const[Qe,qe]=(0,n.useState)([]),[Ce,me]=(0,n.useState)([]),re=(0,n.useMemo)(()=>{var P,T,O;const m=he=>!(he!=null&&he.hidden)&&!((0,ne.JA)()&&(he==null?void 0:he.link)==="/paperlibrary"),Ne=((T=(P=be==null?void 0:be.setting)==null?void 0:P.navbar)==null?void 0:T.filter(m))||[];for(const he of Ne)he.subitem=((O=he==null?void 0:he.subitem)==null?void 0:O.filter(m))||[];return Ne},[(Re=be==null?void 0:be.setting)==null?void 0:Re.navbar]),Q=(P,T)=>{let O="",m=[];for(const Ne of P)if(Ne.link===T&&(O=Ne.link),Ne.subitem&&Ne.subitem.length>0){for(const he of Ne.subitem)if(he.link===T&&(O=he.link,m=[Ne.link]),he.subitem){const ct=Q(he.subitem,T);ct.selectedKey&&(O=ct.selectedKey,m=[Ne.link,...ct.openKeys])}}return{selectedKey:O,openKeys:m}};return(0,n.useEffect)(()=>{const P=location.pathname,{selectedKey:T,openKeys:O}=Q(re,P);qe(T?[T]:[]),O.length>0?me(O):me([])},[re]),(0,n.useEffect)(()=>{Ye({type:"globalSetting/headerFooterToggle",payload:!0})},[]),n.createElement(B.default,{style:ze},be.showHeader&&be.showHeaderFooter&&n.createElement(B.default.Sider,{className:`flex flex-col ${w.layoutSider}`,width:212,style:ze},n.createElement(le.default,{className:`w-full ${w.myMenu}`,mode:"inline",selectedKeys:Qe,openKeys:Ce,onOpenChange:P=>me(P),onSelect:({key:P})=>{P&&P.includes("/")&&Fe.history.push(P)},items:re.map(P=>{var T;return{key:P.link,label:P.name,children:((T=P.subitem)==null?void 0:T.length)>0?P.subitem.map(O=>{var m;return{key:O.link,label:O.name,children:((m=O.subitem)==null?void 0:m.length)>0?O.subitem.map(Ne=>({key:Ne.link,label:Ne.name})):void 0}}):void 0}})})),n.createElement(B.default.Content,{style:{backgroundColor:"#EEF5FE"}},Ge))};var W=(0,Fe.connect)(({globalSetting:be,user:Ge})=>({globalSetting:be,user:Ge}))(Be)},86340:function($,gt,v){"use strict";v.d(gt,{K:function(){return w}});var n=v(59301),Fe=v(43418),B=v(44080),le={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},ne=v(24334);const w=({visible:ze,width:Be,videoId:W,file_url:be,course_id:Ge,copyUrl:Ye,toLog:Re=!0,logWatchHistory:Qe=()=>{},allow_skip:qe,onClose:Ce=()=>{},autoPlay:me=!1,onPlayEnded:re=()=>{}})=>n.createElement(Fe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ze,title:null,footer:null,width:Be,className:le.modal},n.createElement("i",{className:`${le.closeIcon} iconfont icon-guanbi10`,onClick:Ce}),ze&&n.createElement(B.Z,{onPlayEnded:re,autoPlay:me,allow_skip:qe,courseId:Ge,src:be!=null&&be.startsWith("http")?be:ne.Base64.decode(be),videoId:W,toLog:Re,logWatchHistory:Qe}))},44080:function($,gt,v){"use strict";v.d(gt,{Z:function(){return qe}});var n=v(59301),Fe=v(8591),B=v(38854),le=v(73217),ne=v(17030),w=v(41867),ze=v(56102),Be=v(84056),W={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},be=(Ce,me,re)=>new Promise((Q,P)=>{var T=Ne=>{try{m(re.next(Ne))}catch(he){P(he)}},O=Ne=>{try{m(re.throw(Ne))}catch(he){P(he)}},m=Ne=>Ne.done?Q(Ne.value):Promise.resolve(Ne.value).then(T,O);m((re=re.apply(Ce,me)).next())});function Ge(Ce){if(isNaN(Ce))return{minutes:"00",seconds:"00"};const me=new Date(Ce*1e3).toISOString().substr(11,8);return{hour:me.substr(0,2),minutes:me.substr(3,2),seconds:me.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Ye(Ce,me){return Ce-me}function Re(Ce){Ce.sort(Ye);let me=0;for(let re=0;re{},handlePlay:Ne=()=>{},handlePlayEnded:he=()=>{},autoPlay:ct=!1,onPlayEnded:sn=()=>{},isShowWaterMark:Bn=!0},zn)=>{var qn;const lt=((qn=me==null?void 0:me.split("."))==null?void 0:qn.pop())==="flv",K=(0,n.useRef)(),tn=(0,n.useRef)(),_n=(0,n.useRef)(),$n=(0,n.useRef)(),gn=(0,n.useRef)(),yn=(0,n.useRef)(),jn=(0,n.useRef)(),jt=(0,n.useRef)(),Dt=(0,n.useRef)(),at=(0,n.useRef)(),er=(0,n.useRef)(),nn=(0,n.useRef)(),On=(0,n.useRef)(),yr=(0,n.useRef)(),Ir=navigator.userAgent.toLowerCase().match(Qe),Se=Ir?Ir[0]:"pc",ft=(0,n.useRef)(!1),_e=(0,w.eY)();let Fn=0,Ar=0,ln=0,Lr=null,Tn=!1,Qt=20,Jt=1,ar=!1,G=!1,q=[];(0,n.useImperativeHandle)(zn,()=>({getLastUpdatedTime:()=>K.current.currentTime,getDuration:()=>K.current.duration})),Fe.ZP.config({maxCount:1,getContainer:()=>_n.current});const se=(0,n.useCallback)((Gt,vr=!1)=>{let En={point:K.current.currentTime};Lr?(En.log_id=Lr,En.watch_duration=Re(q),En.total_duration=Ar):(T?(En.video_id=parseInt(Q,10),En.course_id=T):En.video_id=Q,En.duration=Fn,En.device=Se),vr&&(En.ed="1");function on(){return be(this,null,function*(){ar=!0,Lr=yield P==null?void 0:P(En),ar=!1,Gt&&Gt()})}on()},[Q,T]);(0,n.useEffect)(()=>{K.current&&($n.current.style.display="none",gn.current.style.display="block"),Fe.ZP.destroy();let Gt=null;return le.Z.isSupported&<&&me&&(me==null?void 0:me.indexOf(".m3u8"))<0?(Gt=le.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:me,muted:!1}),K.current&&(Gt.attachMediaElement(K.current),Gt.load())):K.current.setAttribute("src",me),Ve(),()=>{Gt&&(Gt.unload(),Gt.pause(),Gt.destroy(),Gt=null)}},[K,lt,me]);function b(){K.current.paused?($n.current.style.display="none",gn.current.style.display="block"):($n.current.style.display="block",gn.current.style.display="none")}function Ve(){er.current.style.display="none",On.current.style.display="none",nn.current.style.display="none",K.current.muted||K.current.volume===0?er.current.style.display="block":K.current.volume>0&&K.current.volume<=.5?On.current.style.display="block":nn.current.style.display="block"}(0,n.useEffect)(()=>{const Gt=document.getElementById("play"),vr=document.querySelectorAll(".playback-icons use");function En(){Ne(),O&&!ft.current&&(K.current.currentTime=O),ft.current=!0,q.push(K.current.currentTime),Tn||(Tn=!0,re&&se())}function on(){return be(this,null,function*(){b(),q.push(K.current.currentTime),re&&se(()=>{Lr=null,ln=0,Tn=!1,ar=!1,G=!1,q=[],Ar=0,Jt=1},!0),sn()})}function Yr(){yn.current.value=Math.round(K.current.currentTime),jn.current.value=Math.round(K.current.currentTime)}function Ae(){const l=Ge(Math.round(K.current.currentTime));Dt.current.innerText=`${l.hour>0?l.hour+":":""}${l.minutes}:${l.seconds}`,Dt.current.setAttribute("datetime",`${l.hour>0?" "+l.hour+" ":""}${l.minutes}m ${l.seconds}s`)}function Rr(){var l,N,D,C,Y,ie,xe;const fe=Math.round((l=K.current)==null?void 0:l.duration);(D=(N=yn.current)==null?void 0:N.setAttribute)==null||D.call(N,"max",fe),(Y=(C=jn.current)==null?void 0:C.setAttribute)==null||Y.call(C,"max",fe);const Oe=Ge(fe);jt.current&&(jt.current.innerText=`${Oe.hour>0?Oe.hour+":":""}${Oe.minutes}:${Oe.seconds}`,(xe=(ie=jt.current).setAttribute)==null||xe.call(ie,"datetime",`${Oe.hour>0?" "+Oe.hour+" ":""}${Oe.minutes}m ${Oe.seconds}s`))}function Nr(){try{const l=Math.round(K.current.duration);yn.current.setAttribute("max",l),jn.current.setAttribute("max",l);const N=Ge(l);jt.current.innerText=`${N.hour>0?N.hour+":":""}${N.minutes}:${N.seconds}`,jt.current.setAttribute("datetime",`${N.hour>0?" "+N.hour+" ":""}${N.minutes}m ${N.seconds}s`),Yr(),Ae();const{width:D,height:C,x:Y,y:ie}=tn.current.getBoundingClientRect();if(Y<0||ie<0||!D)return;if(!G){let xe=K.current.currentTime,fe=xe-ln;Math.abs(fe)<10?(Ar+=Math.abs(fe),ln=xe,ar||Ar-Jt*Qt>=0&&(Jt++,q.push(ln),re&&se())):(ln=xe,re&&se())}}catch(l){console.log(l)}}function Et(){G=!0}function sr(){K.current.playing&&q.push(K.current.currentTime,ln),ln=K.current.currentTime,G=!1}function mr(){Fn=K.current.duration,Fn<=20&&(Qt=Fn/3),K.current.addEventListener("play",En)}function Hr(l){l.preventDefault(),(0,Be.vp)()?(K.current.style.width="100%",K.current.style.height="100%"):K.current.style.cssText=""}function _(){m()}function f(l){if(!Ce){Fe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const N=l.target.dataset.seek?l.target.dataset.seek:l.target.value;K.current.currentTime=N,jn.current.value=N,yn.current.value=N}function y(l){const N=Math.round(l.offsetX/l.target.clientWidth*parseInt(l.target.getAttribute("max"),10));yn.current.setAttribute("data-seek",N);const D=Ge(N);at.current.textContent=`${D.hour>0?D.hour+":":""}${D.minutes}:${D.seconds}`;const C=K.current.getBoundingClientRect();at.current.style.left=`${l.pageX-C.left}px`}function V(l){switch(l.code){case"Space":l.preventDefault(),In();break;case"ArrowRight":if(l.preventDefault(),!Ce){Fe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(K.current.currentTime>=K.current.duration)break;K.current.currentTime=parseInt(K.current.currentTime)+5,Yr();break;case"ArrowLeft":if(l.preventDefault(),!Ce){Fe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(K.current.currentTime===0)break;K.current.currentTime=parseInt(K.current.currentTime)-5,Yr();break;case"ArrowUp":l.preventDefault(),K.current.volume<1&&(K.current.volume=(parseInt(K.current.volume*10)+1)/10);break;case"ArrowDown":l.preventDefault(),K.current.volume>0&&(K.current.volume=(parseInt(K.current.volume*10)-1)/10);break}}return _n.current.addEventListener((0,Be.gH)(),Hr),K.current.addEventListener("canplay",mr),K.current.addEventListener("ended",on),K.current.addEventListener("seeking",Et),K.current.addEventListener("seeked",sr),K.current.addEventListener("loadedmetadata",Rr),yn.current.addEventListener("mousemove",y),yn.current.addEventListener("input",f),K.current.addEventListener("timeupdate",Nr),K.current.addEventListener("pause",_),K.current.addEventListener("volumechange",Ve),document.addEventListener("keydown",V),()=>{var l,N,D,C,Y,ie,xe,fe,Oe,We,$e,j;(l=K.current)==null||l.removeEventListener("canplay",mr),(N=K.current)==null||N.removeEventListener("play",En),(D=K.current)==null||D.removeEventListener("ended",on),(C=K.current)==null||C.removeEventListener("seeking",Et),(Y=K.current)==null||Y.removeEventListener("seeked",sr),(ie=yn.current)==null||ie.removeEventListener("mousemove",y),(xe=yn.current)==null||xe.removeEventListener("input",f),(fe=K.current)==null||fe.removeEventListener("timeupdate",Nr),(Oe=K.current)==null||Oe.removeEventListener("pause",_),(We=K.current)==null||We.removeEventListener("loadedmetadata",Rr),($e=K.current)==null||$e.removeEventListener("volumechange",Ve),document.removeEventListener("keydown",V),(j=K.current)!=null&&j.playing&&(q.push(ln,K.current.currentTime),re&&se())}},[K,me]),(0,n.useEffect)(()=>{if(K.current.onended=()=>{he(K)},K.current.oncontextmenu=()=>!1,(me==null?void 0:me.indexOf(".m3u8"))>-1){if(K.current.canPlayType("application/vnd.apple.mpegurl"))K.current.src=me;else if(ne.ZP.isSupported()){var Gt=new ne.ZP;Gt.loadSource(me),Gt.attachMedia(K.current)}}},[me]);const[Xe,Zt]=(0,n.useState)(1),In=()=>{K.current.paused||K.current.ended?K.current.play():K.current.pause(),b()};function Zn(){K.current.muted=!K.current.muted,K.current.muted?(yr.current.setAttribute("data-volume",volume.value),yr.current.value=0):yr.current.value=yr.current.dataset.volume}return n.createElement("div",{style:{position:"relative"},ref:_n},n.createElement("div",{ref:tn,className:`${W.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${W.animate__loop}`},Bn&&_e?_e.login:" "),n.createElement("div",{className:W.container},n.createElement("div",{className:W["video-container"],id:"video-container"},n.createElement("div",{className:W["playback-animation"],id:"playback-animation"},n.createElement("svg",{className:W["playback-icons"]},n.createElement("use",{className:"hidden",href:"#play-icon"}),n.createElement("use",{href:"#pause"}))),n.createElement("video",{className:W.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:K,autoPlay:ct}),n.createElement("div",{className:`${W["video-controls"]} `,id:"video-controls"},n.createElement("div",{className:W["bottom-controls"]},n.createElement("div",{className:W["left-controls"]},n.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:In},n.createElement("svg",{className:W["playback-icons"]},n.createElement("use",{ref:gn,href:"#play-icon"}),n.createElement("use",{ref:$n,style:{display:"none"},href:"#pause"}))),n.createElement("div",{className:W.time},n.createElement("time",{id:"time-elapsed",ref:Dt},"00:00"),n.createElement("span",null," / "),n.createElement("time",{id:"duration",ref:jt},"00:00"))),n.createElement("div",{className:W["right-controls"]},Ce&&n.createElement(B.Z,{placement:"top",overlayClassName:W.rateOverlay,getPopupContainer:Gt=>Gt.parentNode,menu:{items:[{key:"1",label:n.createElement("span",{onClick:()=>{Zt(1),K.current.playbackRate=1}},"1.0x")},{key:"2",label:n.createElement("span",{onClick:()=>{Zt(1.5),K.current.playbackRate=1.5}},"1.5x")},{key:"3",label:n.createElement("span",{onClick:()=>{Zt(2),K.current.playbackRate=2}},"2.0x")}]}},n.createElement("div",{className:`${W.controlText} mr5`},"\u500D\u901F")),n.createElement(ze.CopyToClipboard,{text:me,onCopy:()=>Fe.ZP.success("\u590D\u5236\u6210\u529F")},n.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},n.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),n.createElement("div",{className:W["volume-controls"]},n.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:W["volume-button"],id:"volume-button",onClick:Zn},n.createElement("i",{ref:er,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),n.createElement("i",{ref:On,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),n.createElement("i",{ref:nn,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),n.createElement("input",{className:W.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:yr,style:{display:"none"},onClick:Ve})),n.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:W["fullscreen-button"],onClick:()=>{(0,Be.vp)()?(0,Be.BU)():(0,Be.Dj)(_n.current)}},n.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),n.createElement("div",{className:W["video-progress"]},n.createElement("progress",{ref:jn,value:"0",min:"0"}),n.createElement("input",{className:W.seek,ref:yn,value:"0",min:"0",type:"range",step:"1"}),n.createElement("div",{className:W["seek-tooltip"],ref:at,id:"seek-tooltip"},"00:00"))))),n.createElement("svg",{style:{display:"none"}},n.createElement("defs",null,n.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},n.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),n.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},n.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),n.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},n.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),n.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},n.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),n.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},n.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),n.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},n.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),n.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},n.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),n.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},n.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},71735:function($,gt,v){"use strict";v.r(gt),v.d(gt,{default:function(){return Sr}});var n=v(59301),Fe=v(92736),B=v(81863),le=v(65582),ne=v(90559),w=v(65862),ze={flex_box_center:"flex_box_center___aFf5V",flex_space_between:"flex_space_between___lgjHK",flex_box_vertical_center:"flex_box_vertical_center___MWYpu",flex_box_center_end:"flex_box_center_end___fAgVO",flex_box_column:"flex_box_column___oLrCs",indexPage:"indexPage___n9yrh",indexPageBox:"indexPageBox___eUfJb",indexPageContent:"indexPageContent___egP8m",content_left:"content_left___bH1xY",content_right:"content_right___i2fHq",title:"title___UQUEK",desc:"desc___Jqwih",zxpt:"zxpt___MYnaO",list_item:"list_item____imBe",item_title:"item_title___GmAxX",item_desc:"item_desc___A7m8F"},Be=v(8591);const W=({homePage:g,dispatch:c})=>{const{systems:u}=g;let st=[v(34148),v(55325),v(57615)];return(0,n.useEffect)(()=>{c({type:"homePage/home",payload:{}})},[g.name]),(0,n.useEffect)(()=>((0,w.Ll)()||c({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{c({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),n.createElement("section",{style:{background:"#fff",height:"calc(100vh - 60px)",overflow:"hidden"}},n.createElement("div",{className:ze.indexPage},n.createElement("div",{className:ze.indexPageBox},n.createElement("div",{className:ze.indexPageContent},n.createElement("div",{className:ze.content_left,onClick:()=>{le.history.push("/shixuns")}},n.createElement("div",{className:ze.title},"\u4EBA\u5DE5\u667A\u80FD\u6A21\u62DF\u8BAD\u7EC3\u7CFB\u7EDF"),n.createElement("div",{className:ze.desc},"\u96C6\u8D44\u6E90\u8C03\u5EA6\u3001\u9879\u76EE\u7BA1\u7406\u4E0E\u591A\u6A21\u6001\u73AF\u5883\u4E8E\u4E00\u4F53")),n.createElement("div",{className:ze.content_right,onClick:()=>{le.history.push("/innovation")}},n.createElement("div",{className:ze.title},"\u4EBA\u5DE5\u667A\u80FD\u79D1\u7814\u7BA1\u7406\u7CFB\u7EDF"),n.createElement("div",{className:ze.desc},"\u652F\u6301\u8D44\u6E90\u5171\u4EAB\u3001\u9879\u76EE\u521B\u5EFA\u4E0E\u5168\u5468\u671F\u6258\u7BA1"))))),n.createElement("div",{className:ze.zxpt},u==null?void 0:u.map((ot,Lt)=>n.createElement("div",{className:ze.list_item,onClick:()=>{if(!(ot!=null&&ot.subject_identifier)){Be.ZP.info("\u5F53\u524D\u7CFB\u7EDF\u6682\u672A\u914D\u7F6E\u5185\u5BB9");return}le.history.push(`/paths/${ot==null?void 0:ot.subject_identifier}?activeKey=intro`)}},n.createElement("div",{className:ze.item_title},ot.system),n.createElement("div",{className:ze.item_desc},ot.intr),n.createElement("img",{src:st[Lt],alt:"",width:Lt===0?80:Lt===1?86:90,height:90})))))};var be=(0,le.connect)(({homePage:g})=>({homePage:g}))(W),Ge=v(61621),Ye={flex_box_center:"flex_box_center___sEfC3",flex_space_between:"flex_space_between___rfkoZ",flex_box_vertical_center:"flex_box_vertical_center___g_6Jh",flex_box_center_end:"flex_box_center_end___k37Qa",flex_box_column:"flex_box_column___A9yPD",home:"home___h5c5I",bg:"bg___mDgYE",public_width:"public_width___ctVWu",banner:"banner___Y_cZp",content:"content___S8Tis",experience:"experience___H8Zlm",li:"li___bsBii",btn:"btn___zmK7O",demonstrate:"demonstrate___HUSkM",title:"title___ZV9fz",mask:"mask___G3HO0",name:"name___TRCUE",tagWarp:"tagWarp___kbulg",tag:"tag___O6XvS",feature:"feature___k3jMC"},Re=v(62945),Qe=v.n(Re),qe=v(86340),Ce=Object.defineProperty,me=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,P=(g,c,u)=>c in g?Ce(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,T=(g,c)=>{for(var u in c||(c={}))re.call(c,u)&&P(g,u,c[u]);if(me)for(var u of me(c))Q.call(c,u)&&P(g,u,c[u]);return g};const O=g=>React.createElement("svg",T({width:77,height:50,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon1"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"55.976%",x2:"50%",y2:"99.812%",id:"icon1_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon1_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"55.976%",x2:"50%",y2:"99.812%",id:"icon1_svg__e"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-5.7%",y:"-4.8%",width:"111.3%",height:"109.6%",filterUnits:"objectBoundingBox",id:"icon1_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-3.8%",y:"-4.8%",width:"107.5%",height:"109.7%",filterUnits:"objectBoundingBox",id:"icon1_svg__g"},React.createElement("feGaussianBlur",{stdDeviation:1,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M65.5 33.265C73.167 33.265 77 36.843 77 44H54c0-7.157 3.833-10.735 11.5-10.735ZM65.538 17c4.024 0 7.286 3.223 7.286 7.198 0 3.976-3.262 7.198-7.286 7.198-4.025 0-7.287-3.222-7.287-7.198 0-3.975 3.262-7.198 7.287-7.198Z",id:"icon1_svg__b"}),React.createElement("path",{d:"M34.221 7.589c-.165.612-.397 1.045-.698 1.3.52 1.288.664 2.351.431 3.19-.349 1.259-1.431 2.364-3.645 4.06-1.476 1.131-5.362 2.82-11.659 5.068v5.601H.383c-1.304-7.167.724-11.441 6.083-12.823 3.633-.937 5.927 0 10.113 0 3.925 0 7.273-1.467 13.01-4.935.506-.213 1.139-.473 1.9-.781.592-.613.958-1.242 1.096-1.887.208-.969 2.752-1.804 1.636 1.207ZM10.613 0a5.96 5.96 0 0 1 5.966 5.956 5.96 5.96 0 0 1-5.966 5.956 5.96 5.96 0 0 1-5.966-5.956A5.96 5.96 0 0 1 10.613 0Z",id:"icon1_svg__f"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon1_svg__a)",xlinkHref:"#icon1_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon1_svg__c)",xlinkHref:"#icon1_svg__b"})),React.createElement("circle",{stroke:"url(#icon1_svg__d)",fillOpacity:.29,fill:"#C2D5FE",cx:38,cy:25,r:24.5}),React.createElement("path",{d:"M24 15c3.493-4 8.16-6 14-6s10.507 2 14 6M52 37c-3.369 4-7.869 6-13.5 6S28.369 41 25 37",stroke:"#175FFF"}),React.createElement("g",{transform:"translate(0 16)",fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon1_svg__e)",xlinkHref:"#icon1_svg__f"}),React.createElement("use",{fill:"#000",filter:"url(#icon1_svg__g)",xlinkHref:"#icon1_svg__f"})),React.createElement("path",{stroke:"#175FFF",d:"m51.45 12 .55 4-4-.284M29 37.622 25 37l.217 4"})));var m="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzciIGhlaWdodD0iNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iNTUuOTc2JSIgeDI9IjUwJSIgeTI9Ijk5LjgxMiUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjMEE1NUZDIiBvZmZzZXQ9IjAlIi8+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NNTIgMzdjLTMuMzY5IDQtNy44NjkgNi0xMy41IDZTMjguMzY5IDQxIDI1IDM3IiBzdHJva2U9IiMxNzVGRkYiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDE2KSIgZmlsbC1ydWxlPSJub256ZXJvIj48dXNlIGZpbGw9InVybCgjZSkiIHhsaW5rOmhyZWY9IiNmIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjZykiIHhsaW5rOmhyZWY9IiNmIi8+PC9nPjxwYXRoIHN0cm9rZT0iIzE3NUZGRiIgZD0ibTUxLjQ1IDEyIC41NSA0LTQtLjI4NE0yOSAzNy42MjIgMjUgMzdsLjIxNyA0Ii8+PC9nPjwvc3ZnPg==",Ne=Object.defineProperty,he=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,Bn=(g,c,u)=>c in g?Ne(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,zn=(g,c)=>{for(var u in c||(c={}))ct.call(c,u)&&Bn(g,u,c[u]);if(he)for(var u of he(c))sn.call(c,u)&&Bn(g,u,c[u]);return g};const qn=g=>React.createElement("svg",zn({width:64,height:63,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon2"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"55.976%",x2:"50%",y2:"99.812%",id:"icon2_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon2_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("filter",{x:"-3.4%",y:"-11.8%",width:"106.8%",height:"123.6%",filterUnits:"objectBoundingBox",id:"icon2_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("rect",{id:"icon2_svg__b",x:13,y:52,width:38,height:11,rx:2})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon2_svg__a)",xlinkHref:"#icon2_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon2_svg__c)",xlinkHref:"#icon2_svg__b"})),React.createElement("rect",{stroke:"url(#icon2_svg__d)",fillOpacity:.29,fill:"#C2D5FE",x:.5,y:.5,width:63,height:57,rx:4}),React.createElement("path",{d:"M31.611 15c.602 0 1.097.383 1.16.875l.007.107v2.156a10.89 10.89 0 0 1 10.084 10.084h2.156c.543 0 .982.522.982 1.167 0 .601-.383 1.096-.875 1.16l-.107.007h-2.24c-.718 5.025-4.868 8.943-10 9.306v2.156c0 .543-.522.982-1.167.982-.601 0-1.096-.383-1.16-.875l-.007-.107v-2.24a10.896 10.896 0 0 1-9.223-9.222h-2.24c-.542 0-.981-.523-.981-1.167 0-.602.383-1.097.875-1.16l.107-.007h2.156c.363-5.132 4.28-9.282 9.306-10v-2.24c0-.543.523-.982 1.167-.982ZM32 24.333a4.667 4.667 0 1 0 0 9.334 4.667 4.667 0 0 0 0-9.334ZM59 19V8H48v2.2h8.8V19H59Zm0 20h-2.2v8.8H48V50h11V39ZM5 19V8h11v2.2H7.2V19H5Zm0 20h2.2v8.8H16V50H5V39Z",fill:"#2367FE",fillRule:"nonzero"})));var de="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0i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gxLTEuMTY3IDAtLjYwMi4zODMtMS4wOTcuODc1LTEuMTZsLjEwNy0uMDA3aDIuMTU2Yy4zNjMtNS4xMzIgNC4yOC05LjI4MiA5LjMwNi0xMHYtMi4yNGMwLS41NDMuNTIzLS45ODIgMS4xNjctLjk4MlpNMzIgMjQuMzMzYTQuNjY3IDQuNjY3IDAgMSAwIDAgOS4zMzQgNC42NjcgNC42NjcgMCAwIDAgMC05LjMzNFpNNTkgMTlWOEg0OHYyLjJoOC44VjE5SDU5Wm0wIDIwaC0yLjJ2OC44SDQ4VjUwaDExVjM5Wk01IDE5VjhoMTF2Mi4ySDcuMlYxOUg1Wm0wIDIwaDIuMnY4LjhIMTZWNTBINVYzOVoiIGZpbGw9IiMyMzY3RkUiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",lt=Object.defineProperty,K=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,$n=(g,c,u)=>c in g?lt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,gn=(g,c)=>{for(var u in c||(c={}))tn.call(c,u)&&$n(g,u,c[u]);if(K)for(var u of K(c))_n.call(c,u)&&$n(g,u,c[u]);return g};const yn=g=>React.createElement("svg",gn({width:71,height:63,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon3"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"28.312%",x2:"50%",y2:"100%",id:"icon3_svg__a"},React.createElement("stop",{stopColor:"#145DFF",offset:"0%"}),React.createElement("stop",{stopColor:"#578BFE",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon3_svg__b"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon3_svg__c"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-6.7%",y:"-7.1%",width:"113.3%",height:"114.2%",filterUnits:"objectBoundingBox",id:"icon3_svg__e"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M43.327 25.99c.305 1.42.574 2.705.807 3.856.108.485.206.97.296 1.456.09.485.175.926.255 1.321.08.396.148.733.202 1.012.054.278.09.454.107.526.054.36-.026.597-.242.714a1.496 1.496 0 0 1-.726.176c-.09 0-.22-.032-.39-.095s-.3-.112-.39-.148l-7.017-4.1c-1.273.756-2.43 1.43-3.47 2.023-.447.252-.89.504-1.33.755-.44.252-.838.486-1.197.702a30.21 30.21 0 0 1-.927.539 6.01 6.01 0 0 1-.525.27.915.915 0 0 1-.55.094 1.155 1.155 0 0 1-.512-.202.996.996 0 0 1-.336-.391.717.717 0 0 1-.054-.472l.135-.526c.071-.279.152-.611.242-.998.09-.386.192-.813.309-1.28.116-.468.237-.945.363-1.43l.914-3.776a493.653 493.653 0 0 0-3.912-3.357 87.6 87.6 0 0 1-.941-.81c-.278-.242-.507-.44-.686-.593-.18-.153-.278-.238-.296-.256a3.22 3.22 0 0 1-.551-.66 1.078 1.078 0 0 1-.175-.742.941.941 0 0 1 .296-.594c.161-.144.34-.233.538-.27l8.309-.754 3.092-7.228c.107-.288.26-.535.457-.742.197-.206.466-.31.807-.31.179 0 .336.04.47.121.135.081.247.176.336.284.09.108.166.215.229.323.063.108.112.198.148.27l3.011 7.228 8.309.782c.359.09.61.197.753.323.143.126.215.324.215.594 0 .251-.076.472-.229.66-.152.19-.345.418-.578.688l-5.566 5.016Z",id:"icon3_svg__d"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M35.5 0v16.933h7.1v4.234H0v-4.233l7.1-.001V0h28.4Z",transform:"translate(14.2 41.834)",fill:"url(#icon3_svg__a)",fillRule:"nonzero"}),React.createElement("rect",{stroke:"url(#icon3_svg__b)",fillOpacity:.29,fill:"#C2D5FE",x:.5,y:.5,width:70,height:49.801,rx:2}),React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon3_svg__c)",xlinkHref:"#icon3_svg__d"}),React.createElement("use",{fill:"#000",filter:"url(#icon3_svg__e)",xlinkHref:"#icon3_svg__d"}))));var jn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzEiIGhlaWdodD0iNjMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMjguMzEyJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjMTQ1REZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzU3OEJGRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSIgaWQ9ImIiPjxzdG9wIHN0b3AtY29sb3I9IiNDNEQxRjMiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRERFOUZEIiBzdG9wLW9wYWNpdHk9Ii4zOTQiIG9mZnNldD0i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uMTIxLjEzNS4wODEuMjQ3LjE3Ni4zMzYuMjg0LjA5LjEwOC4xNjYuMjE1LjIyOS4zMjMuMDYzLjEwOC4xMTIuMTk4LjE0OC4yN2wzLjAxMSA3LjIyOCA4LjMwOS43ODJjLjM1OS4wOS42MS4xOTcuNzUzLjMyMy4xNDMuMTI2LjIxNS4zMjQuMjE1LjU5NCAwIC4yNTEtLjA3Ni40NzItLjIyOS42Ni0uMTUyLjE5LS4zNDUuNDE4LS41NzguNjg4bC01LjU2NiA1LjAxNloiIGlkPSJkIi8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTM1LjUgMHYxNi45MzNoNy4xdjQuMjM0SDB2LTQuMjMzbDcuMS0uMDAxVjBoMjguNFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0LjIgNDEuODM0KSIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHJlY3Qgc3Ryb2tlPSJ1cmwoI2IpIiBmaWxsLW9wYWNpdHk9Ii4yOSIgZmlsbD0iI0MyRDVGRSIgeD0iLjUiIHk9Ii41IiB3aWR0aD0iNzAiIGhlaWdodD0iNDkuODAxIiByeD0iMiIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHVzZSBmaWxsPSJ1cmwoI2MpIiB4bGluazpocmVmPSIjZCIvPjx1c2UgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI2UpIiB4bGluazpocmVmPSIjZCIvPjwvZz48L2c+PC9zdmc+",jt=Object.defineProperty,Dt=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,nn=(g,c,u)=>c in g?jt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,On=(g,c)=>{for(var u in c||(c={}))at.call(c,u)&&nn(g,u,c[u]);if(Dt)for(var u of Dt(c))er.call(c,u)&&nn(g,u,c[u]);return g};const yr=g=>React.createElement("svg",On({width:77,height:62,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon4"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon4_svg__a"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon4_svg__b"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon4_svg__f"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon4_svg__g"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-6.7%",y:"-4.4%",width:"113.3%",height:"108.8%",filterUnits:"objectBoundingBox",id:"icon4_svg__d"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-6.7%",y:"-4.4%",width:"113.3%",height:"108.8%",filterUnits:"objectBoundingBox",id:"icon4_svg__e"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-10.6%",y:"-6.2%",width:"121.2%",height:"112.4%",filterUnits:"objectBoundingBox",id:"icon4_svg__i"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-10.6%",y:"-6.2%",width:"121.2%",height:"112.4%",filterUnits:"objectBoundingBox",id:"icon4_svg__j"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("text",{id:"icon4_svg__c",fontFamily:"Helvetica",fontSize:34,fontWeight:"normal"},React.createElement("tspan",{x:13,y:33},"Q")),React.createElement("text",{id:"icon4_svg__h",fontFamily:"Helvetica",fontSize:24,fontWeight:"normal"},React.createElement("tspan",{x:48,y:43},"A"))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m8.258 53.857 13.1-12.102H46a1.5 1.5 0 0 0 1.5-1.5V3A1.5 1.5 0 0 0 46 1.5H2A1.5 1.5 0 0 0 .5 3v37.255a1.5 1.5 0 0 0 1.5 1.5h6.258v12.102Z",stroke:"url(#icon4_svg__a)",fillOpacity:.29,fill:"#C2D5FE",transform:"translate(0 -1)"}),React.createElement("g",{fillRule:"nonzero",transform:"translate(0 -1)"},React.createElement("use",{fill:"url(#icon4_svg__b)",xlinkHref:"#icon4_svg__c"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__d)",xlinkHref:"#icon4_svg__c"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__e)",xlinkHref:"#icon4_svg__c"})),React.createElement("path",{d:"m40.064 61.873 10.982-9.942H75a1.5 1.5 0 0 0 1.5-1.5V19a1.5 1.5 0 0 0-1.5-1.5H35a1.5 1.5 0 0 0-1.5 1.5v31.431a1.5 1.5 0 0 0 1.5 1.5h5.064v9.942Z",stroke:"url(#icon4_svg__f)",fillOpacity:.29,fill:"#C2D5FE",transform:"matrix(-1 0 0 1 110 -1)"}),React.createElement("g",{fillRule:"nonzero",transform:"translate(0 -1)"},React.createElement("use",{fill:"url(#icon4_svg__g)",xlinkHref:"#icon4_svg__h"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__i)",xlinkHref:"#icon4_svg__h"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__j)",xlinkHref:"#icon4_svg__h"}))));var Ir="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzciIGhlaWdodD0iNjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMCUiIHgyP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ZSBmaWxsPSJ1cmwoI2IpIiB4bGluazpocmVmPSIjYyIvPjx1c2UgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI2QpIiB4bGluazpocmVmPSIjYyIvPjx1c2UgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI2UpIiB4bGluazpocmVmPSIjYyIvPjwvZz48cGF0aCBkPSJtNDAuMDY0IDYxLjg3MyAxMC45ODItOS45NDJINzVhMS41IDEuNSAwIDAgMCAxLjUtMS41VjE5YTEuNSAxLjUgMCAwIDAtMS41LTEuNUgzNWExLjUgMS41IDAgMCAwLTEuNSAxLjV2MzEuNDMxYTEuNSAxLjUgMCAwIDAgMS41IDEuNWg1LjA2NHY5Ljk0MloiIHN0cm9rZT0idXJsKCNmKSIgZmlsbC1vcGFjaXR5PSIuMjkiIGZpbGw9IiNDMkQ1RkUiIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDExMCAtMSkiLz48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEpIj48dXNlIGZpbGw9InVybCgjZykiIHhsaW5rOmhyZWY9IiNoIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjaSkiIHhsaW5rOmhyZWY9IiNoIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjaikiIHhsaW5rOmhyZWY9IiNoIi8+PC9nPjwvZz48L3N2Zz4=",Se=Object.defineProperty,ft=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Ar=(g,c,u)=>c in g?Se(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ln=(g,c)=>{for(var u in c||(c={}))_e.call(c,u)&&Ar(g,u,c[u]);if(ft)for(var u of ft(c))Fn.call(c,u)&&Ar(g,u,c[u]);return g};const Lr=g=>React.createElement("svg",ln({width:70,height:53,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon5"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon5_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon5_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon5_svg__e"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-5.6%",y:"-4.2%",width:"111.2%",height:"105%",filterUnits:"objectBoundingBox",id:"icon5_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-11%",y:"-9.5%",width:"122%",height:"119%",filterUnits:"objectBoundingBox",id:"icon5_svg__g"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M40 5.37h9.888a2 2 0 0 1 1.409.58l2.228 2.212a3.39 3.39 0 0 0 4.912-.14l1.786-1.99a2 2 0 0 1 1.488-.663H68a2 2 0 0 1 2 2v33.926a2 2 0 0 1-2 2h-6.315a2 2 0 0 0-1.458.631l-1.79 1.906a3.46 3.46 0 0 1-4.906.14l-2.24-2.127a2 2 0 0 0-1.377-.55H40a2 2 0 0 1-2-2V7.369a2 2 0 0 1 2-2Z",id:"icon5_svg__b"}),React.createElement("path",{id:"icon5_svg__f",d:"M7.343 0h16.376v18.963l-8.188-4.077-8.188 4.077z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon5_svg__a)",xlinkHref:"#icon5_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon5_svg__c)",xlinkHref:"#icon5_svg__b"})),React.createElement("path",{d:"M2 .87a1.5 1.5 0 0 0-1.5 1.5v44.398a1.5 1.5 0 0 0 1.5 1.5h22.392a2.5 2.5 0 0 1 1.441.457l3.67 2.59a3.5 3.5 0 0 0 4.065-.021l3.541-2.554a2.5 2.5 0 0 1 1.462-.472H61a1.5 1.5 0 0 0 1.5-1.5V2.369A1.5 1.5 0 0 0 61 .87H38.595a1.5 1.5 0 0 0-.903.303l-3.463 2.61a4.5 4.5 0 0 1-5.381.029l-3.589-2.649a1.5 1.5 0 0 0-.89-.293H2Z",stroke:"url(#icon5_svg__d)",fillOpacity:.29,fill:"#C2D5FE"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon5_svg__e)",xlinkHref:"#icon5_svg__f"}),React.createElement("use",{fill:"#000",filter:"url(#icon5_svg__g)",xlinkHref:"#icon5_svg__f"}))));var Tn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iNTMiIHhtbG5zPS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CAwIDAtLjg5LS4yOTNIMloiIHN0cm9rZT0idXJsKCNkKSIgZmlsbC1vcGFjaXR5PSIuMjkiIGZpbGw9IiNDMkQ1RkUiLz48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjx1c2UgZmlsbD0idXJsKCNlKSIgeGxpbms6aHJlZj0iI2YiLz48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNnKSIgeGxpbms6aHJlZj0iI2YiLz48L2c+PC9nPjwvc3ZnPg==",Qt=Object.defineProperty,Jt=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,q=(g,c,u)=>c in g?Qt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,se=(g,c)=>{for(var u in c||(c={}))ar.call(c,u)&&q(g,u,c[u]);if(Jt)for(var u of Jt(c))G.call(c,u)&&q(g,u,c[u]);return g};const b=g=>React.createElement("svg",se({width:58,height:57,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon6"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon6_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon6_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon6_svg__e"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-9%",y:"-6.2%",width:"118%",height:"112.4%",filterUnits:"objectBoundingBox",id:"icon6_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-6.2%",y:"-6.4%",width:"112.4%",height:"112.8%",filterUnits:"objectBoundingBox",id:"icon6_svg__g"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M21-4h13a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H21a5 5 0 0 1-5-5V1a5 5 0 0 1 5-5Z",id:"icon6_svg__b"}),React.createElement("path",{d:"M12.447 27.454 1.615 30.291l3.98-9.69 6.852 6.853Zm17.87-17.91-2.29 2.294-6.809-6.822 2.29-2.294s1.09-1.091 2.2.02l4.48 4.488c1.214 1.217.129 2.315.129 2.315Zm-2.975 2.98L12.347 27.547l-6.808-6.821L20.535 5.702l6.807 6.821Z",id:"icon6_svg__f"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero",transform:"rotate(90 26 10.5)"},React.createElement("use",{fill:"url(#icon6_svg__a)",xlinkHref:"#icon6_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon6_svg__c)",xlinkHref:"#icon6_svg__b"})),React.createElement("rect",{stroke:"url(#icon6_svg__d)",fillOpacity:.29,fill:"#C2D5FE",x:.5,y:6.5,width:50,height:50,rx:4}),React.createElement("path",{stroke:"#145CFC",strokeWidth:2,strokeLinecap:"round",d:"M8 21.5h20M8 32h19M8 42.5h9"}),React.createElement("g",{transform:"rotate(-7 169.163 -204.131)",fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon6_svg__e)",xlinkHref:"#icon6_svg__f"}),React.createElement("use",{fill:"#000",filter:"url(#icon6_svg__g)",xlinkHref:"#icon6_svg__f"}))));var Ve="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTgiIGhlaWdodD0iNTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iNTcuMTU0JSIgeDI9IjUwJSIgeTI9Ijk5LjgxMiUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjMEE1NUZDIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ3ODBGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSIgaWQ9ImQiPjxzdG9wIHN0b3AtY29sb3I9IiNDNEQxRjMiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRERFOUZEIiBzdG9wLW9wYWNpdHk9Ii4zOTQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSI1Ny4xNTQlIiB4Mj0iNTAlIiB5Mj0iOTkuODEyJSIgaWQ9ImUiPjxzdG9wIHN0b3AtY29sb3I9IiMwQTU1RkMiIG9mZn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IGZpbGw9IiNDMkQ1RkUiIHg9Ii41IiB5PSI2LjUiIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgcng9IjQiLz48cGF0aCBzdHJva2U9IiMxNDVDRkMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBkPSJNOCAyMS41aDIwTTggMzJoMTlNOCA0Mi41aDkiLz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtNyAxNjkuMTYzIC0yMDQuMTMxKSIgZmlsbC1ydWxlPSJub256ZXJvIj48dXNlIGZpbGw9InVybCgjZSkiIHhsaW5rOmhyZWY9IiNmIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjZykiIHhsaW5rOmhyZWY9IiNmIi8+PC9nPjwvZz48L3N2Zz4=",Xe=v(38147),Zt=v(74128),In=Object.defineProperty,Zn=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,En=(g,c,u)=>c in g?In(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,on=(g,c)=>{for(var u in c||(c={}))Gt.call(c,u)&&En(g,u,c[u]);if(Zn)for(var u of Zn(c))vr.call(c,u)&&En(g,u,c[u]);return g},Yr=(g,c)=>{var u={};for(var st in g)Gt.call(g,st)&&c.indexOf(st)<0&&(u[st]=g[st]);if(g!=null&&Zn)for(var st of Zn(g))c.indexOf(st)<0&&vr.call(g,st)&&(u[st]=g[st]);return u},Ae=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const Rr=g=>{var c=g,{user:u}=c,st=Yr(c,["user"]),ot;const[Lt,Nt]=(0,n.useState)(!0),[St,Ue]=(0,n.useState)(0),[pt,Bt]=(0,n.useState)({}),[cn,An]=(0,n.useState)(!1);(0,n.useEffect)(()=>{Ln()},[]);const Ln=()=>Ae(void 0,null,function*(){Nt(!0);const Ke=yield(0,Xe.ZP)("/api/home/index.json",{method:"get"});Ke.images_url&&Bt(Ke),Nt(!1)}),vn={loop:!0,slidesPerView:3,noSwiping:!0,autoplay:{delay:5e3,disableOnInteraction:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0}},dn=[{name:"\u6C89\u6D78\u5F0F\u6559\u5B66",background:"linear-gradient(90deg, #F5F7FA 0%, #FBFCFD 100%)",tags:["\u6C89\u6D78\u5F0F\u4F53\u9A8C","3D\u7ACB\u4F53\u5E94\u7528\u6559\u5B66","\u4E92\u52A8\u5F0F\u5B66\u4E60"],more:!0},{name:"\u77E5\u8BC6\u68EE\u6797\u5B66\u4E60\u8DEF\u5F84\u667A\u80FD\u5BFC\u822A",background:"linear-gradient(90deg, #FBF3F3 0%, #FCFBFB 100%)",tags:["\u56FE\u8C31\u53EF\u89C6\u5316","\u591A\u6E90\u5F02\u6784\u6570\u636E\u5904\u7406","\u9AD8\u7EA7\u63A8\u7406\u5E94\u7528"],link:"https://ilearning.educoder.net/paths?openLearningPath=true&discipline_id=1&sub_discipline_id=2",more:!0},{name:"\u8BA4\u77E5\u8FC7\u7A0B\u63A8\u7406\u865A\u62DF\u73B0\u5B9E\u5B66\u4E60\u73AF\u5883",background:"linear-gradient(270deg, #FBF8FC 0%, #F0EFFB 100%)",tags:["\u4EFF\u771F\u6A21\u62DF\u8BAD\u7EC3","3D\u865A\u62DF\u73AF\u5883","\u6E38\u620F\u5316\u5B66\u4E60"],more:!1},{name:"\u56FE\u7075\u6D4B\u8BD5",background:"linear-gradient(90deg, #F0F2FD 0%, #F9FAFA 100%)",tags:["\u673A\u5668\u601D\u8003","\u4EBA\u5DE5\u667A\u80FD\u79D1\u5B66","\u6A21\u62DF\u6E38\u620F"],link:"https://ilearning.educoder.net/tasks/4z3jgw6vsuea",more:!0}],Mn=[{img:m,title:"\u6DF7\u5408\u589E\u5F3A\u60C5\u666F\u7406\u89E3",intro:"\u5E08-\u673A-\u751F\u4E09\u5143\u7ED3\u6784\u7684\u590D\u5408\u4E3B\u4F53\uFF0C\u7834\u89E3\u8BA4\u77E5\u80FD\u529B\u7684\u5C40\u9650\u6027"},{img:de,title:"\u884C\u4E3A\u610F\u56FE\u8BC6\u522B\u8DDF\u8E2A",intro:"\u611F\u77E5\u5B66\u751F\u7684\u5B66\u4E60\u72B6\u6001\u3001\u95EE\u9898\u610F\u56FE\u548C\u8F85\u5BFC\u9700\u6C42\uFF0C\u63D0\u4F9B\u667A\u80FD\u76D1\u6D4B\u5BFC\u5B66",link:"https://ilearning.educoder.net/classrooms/nvoi7zeh/exercise/35872/detail?random=false"},{img:jn,title:"\u5B66\u4E60\u8DEF\u5F84\u667A\u80FD\u63A8\u8350",intro:"\u53EF\u89E3\u91CA\u7684\u5B66\u4E60\u89C4\u5212\u548C\u5185\u5BB9\u63A8\u8350\u65B9\u6CD5\uFF0C\u652F\u6491\u4E2A\u6027\u5316\u5BFC\u6559",link:"https://ilearning.educoder.net/paths?openLearningPath=true&discipline_id=1&sub_discipline_id=2"},{img:Ir,title:"\u4E2A\u6027\u5316\u8F85\u5BFC\u7B54\u7591",intro:"\u6570\u636E\u9A71\u52A8\u548C\u77E5\u8BC6\u68EE\u6797\u5F15\u5BFC\u7684\u95EE\u7B54\u65B9\u6CD5\uFF0C\u652F\u6491\u4E2A\u6027\u5316\u4F34\u5B66",link:"https://www.educoder.net/tasks/4z3jgw6vsuea"},{img:Tn,title:"\u4EBA\u673A\u589E\u5F3A\u7FA4\u4F53\u6FC0\u52B1",intro:"\u591A\u7EF4\u5EA6\u6FC0\u52B1\u65B9\u6CD5\uFF0C\u589E\u5F3A\u5B66\u751F\u5BF9\u673A\u5668\u7684\u6B63\u5411\u53CD\u9988",link:"https://ilearning.educoder.net/classrooms/nvoi7zeh/group_homework/572013/detail"},{img:Ve,title:"\u4EBA\u673A\u589E\u5F3A\u7FA4\u4F53\u8BC4\u6D4B",intro:"\u884C\u4E3A\u7279\u5F81\u5D4C\u5165\u3001\u534F\u540C\u8BC4\u6D4B\u7B49\u7FA4\u7EC4\u8BC4\u6D4B\u65B9\u6CD5\uFF0C\u652F\u6491\u6559\u5B66\u6210\u6548\u8BC4\u4EF7",link:"https://ilearning.educoder.net/classrooms/nvoi7zeh/statistics_quality/192066"}];return n.createElement("section",{className:Ye.home},n.createElement(qe.K,{width:800,visible:cn,file_url:"https://www-cdn.educoder.net/video/learning.mp4",copyUrl:"https://www-cdn.educoder.net/video/learning.mp4",onClose:()=>An(!1)}),n.createElement(Ge.Z,{loading:Lt,active:!0,paragraph:{rows:5}},n.createElement("div",{className:Ye.bg},n.createElement("div",{className:Ye.public_width},n.createElement("div",{className:Ye.banner},n.createElement(Qe(),on({},vn),(ot=pt==null?void 0:pt.images_url)==null?void 0:ot.map(Ke=>n.createElement("div",{onClick:()=>{Ke.path&&(0,w.xg)(Ke.path)}},n.createElement("div",{className:"index_moe_li",style:{cursor:Ke.path?"pointer":"default"}},n.createElement("img",{src:Zt.Z.IMG_SERVER+Ke.image_url,alt:""}),n.createElement("div",{className:"index_moe_focus_shadow"}),n.createElement("span",{className:"index_moe_focus_b"})))))))),n.createElement("div",{className:Ye.content},n.createElement("div",{className:Ye.experience},n.createElement("a",{href:"https://i-learning.smartedu.lenovo.com/ilearning",target:"_blank",className:Ye.li}),n.createElement(le.Link,{to:"/paths/higherVocationalEducation",target:"_blank",className:Ye.li}),n.createElement(le.Link,{to:"/paths",target:"_blank",className:Ye.li})),n.createElement("div",{className:Ye.demonstrate},n.createElement("div",{className:Ye.title},"\u5178\u578B\u573A\u666F\u5E94\u7528\u793A\u8303"),n.createElement("aside",null,dn.map((Ke,Ct)=>{var Nn;return n.createElement("div",{key:Ct,className:Ye.li,style:{background:Ke.background,cursor:Ke!=null&&Ke.more?"pointer":"default"},onClick:()=>{}},n.createElement("div",{className:Ye.name},Ke.name),n.createElement("div",{className:Ye.tagWarp},(Nn=Ke==null?void 0:Ke.tags)==null?void 0:Nn.map((Xt,Dn)=>n.createElement("div",{key:`${Ct}-${Dn}`,className:Ye.tag},Xt))),n.createElement("div",{className:Ye.mask,onClick:()=>{switch(Ct){case 0:An(!0);break;default:Ke.link?(0,w.xg)(Ke.link):Ke.more&&le.history.push("/classrooms/classicCases");return}},style:{background:Ke.more?"rgba(25, 110, 253, 0.8)":"rgba(90, 106, 132, 0.6)"}},Ke.more?"\u67E5\u770B\u66F4\u591A":"\u656C\u8BF7\u671F\u5F85\uFF5E"))}))),n.createElement("div",{className:Ye.feature},n.createElement("div",{className:Ye.name},n.createElement("span",null,"\u7279\u8272\u529F\u80FD"),n.createElement("span",null,"FEATURES")),n.createElement("aside",null,Mn.map((Ke,Ct)=>n.createElement("div",{className:Ye.li,key:Ke.title,onClick:()=>{switch(Ct){case 0:An(!0);break;default:Ke.link&&(0,w.xg)(Ke.link);break}}},n.createElement("img",{src:Ke.img}),n.createElement("div",null,n.createElement("h4",null,Ke.title),n.createElement("h6",null,Ke.intro)))))))))};var Nr=(0,le.connect)(({user:g})=>({user:g}))(Rr),Et=v(41867),sr=v(78241),mr=v(6848),Hr=v(3113),_=v(5083),f=v(43418),y=v(1710),V=v(57809),l=v(92832),N=v(88522),D=v(2524),C=v(66649),Y=v.n(C),ie=v(61527),xe=v(33270),fe=v(42441),Oe=v(76411),We=v(95707),$e=v(96935),j=v(26724),e=v.n(j),t=v(59149),r=v(3918),o=Object.defineProperty,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,ge=(g,c,u)=>c in g?o(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ee=(g,c)=>{for(var u in c||(c={}))p.call(c,u)&&ge(g,u,c[u]);if(d)for(var u of d(c))I.call(c,u)&&ge(g,u,c[u]);return g},je=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const dt=({user:g,dispatch:c,homePage:u,forumsList:st,globalSetting:ot})=>{var Lt,Nt,St,Ue,pt,Bt,cn,An,Ln,vn,dn,Mn,Ke,Ct,Nn,Xt,Dn;const[or]=sr.default.useForm(),[,,bt,Yn]=(0,ie.U)(We.su,{}),[Xn,Kn,br]=(0,ie.U)(xe.nQ,{page:1}),[,Mr,Br,ur]=(0,ie.U)(xe.V8,{page:1,limit:5,order:"visits",search:""}),[ke,,De,it]=(0,ie.U)(We.Yu,{type:"view"}),[Kt,kn]=(0,n.useState)(!1),[Pr,xr]=(0,n.useState)(!1),[Gr,jr]=(0,n.useState)([]),[fn,Je]=(0,n.useState)(!0),[Dr,pn]=(0,n.useState)([]),[Wr,Mt]=(0,n.useState)(!0),[Fr,Zr]=(0,n.useState)([]),cr=[{id:"view",name:"\u8BBF\u95EE\u6570\u636E"},{id:"submit",name:"\u8BC4\u6D4B\u6570\u636E"},{id:"learn",name:"\u5B66\u4E60\u6570\u636E"}],dr=[{title:"\u77E5\u8BC6\u56FE\u8C31",key:"4",url:"",children:n.createElement(n.Fragment,null,n.createElement("div",{className:"c-grey-333 text-16px"},n.createElement("span",{className:"font-semibold"},"\u77E5\u8BC6\u56FE\u8C31"),"\u7CFB\u7EDF\u5177\u5907\u591A\u7EF4\u5EA6\u7279\u70B9\uFF0C\u4E00\u65B9\u9762\u901A\u8FC7\u7CBE\u51C6\u5B66\u60C5\u5206\u6790\u638C\u63E1\u5B66\u751F\u5BF9\u5404\u77E5\u8BC6\u70B9\u7684\u638C\u63E1\u7A0B\u5EA6\uFF0C\u5728\u6B64\u57FA\u7840\u4E4B\u4E0A\u8FD0\u7528\u5F3A\u5927\u7B97\u6CD5\u4E3A\u5B66\u751F\u63A8\u8350\u4E2A\u6027\u5316\u5B66\u4E60\u8D44\u6E90\u4E0E\u5B66\u4E60\u8DEF\u5F84\uFF0C\u5B9E\u73B0\u56E0\u6750\u65BD\u6559\uFF1B\u53E6\u4E00\u65B9\u9762\u6784\u5EFA\u591A\u77E5\u8BC6\u56FE\u8C31\u4F53\u7CFB\uFF0C\u5305\u62EC\u8BFE\u7A0B\u56FE\u8C31\u3001\u5927\u7EB2\u56FE\u8C31\u3001\u601D\u653F\u56FE\u8C31\u3001\u601D\u7EF4\u56FE\u8C31\uFF0C\u4E3A\u6559\u80B2\u9886\u57DF\u63D0\u4F9B\u5168\u65B9\u4F4D\u652F\u6491\uFF0C\u540C\u65F6\u6574\u5408\u6559\u6750\u3001\u89C6\u9891\u3001\u5B9E\u9A8C\u3001\u4F5C\u4E1A\u7B49\u591A\u6A21\u6001\u8D44\u6E90\uFF0C\u6253\u9020\u7ED3\u6784\u5316\u7684\u77E5\u8BC6\u7F51\u7EDC\uFF0C\u5168\u65B9\u4F4D\u8D4B\u80FD\u6559\u80B2\u8FC7\u7A0B\u3002 "),n.createElement("img",{src:v(99799),style:{width:"100%"}}))}],[fr,qr]=(0,n.useState)(dr[0]),ve=[{title:"\u6559\u5B66\u8D44\u6E90",img:v(28751),link:"/paths"},{title:"\u5B9E\u8BAD\u7CFB\u7EDF",img:v(78257),link:"/shixuns"},{title:"\u6559\u5B66\u7BA1\u7406",img:v(32074),link:"/classrooms"}],Te=(0,n.useMemo)(()=>{var z,Rt,we,mt,zt,Or,ir,gi,Di,mi,Ri,zi;return[{title:"\u603B\u8BBF\u95EE\u91CF",num:(z=u==null?void 0:u.index_statistics)==null?void 0:z.total_visit_count,unit:"\u6B21",img:v(6218)},{title:"\u8BBF\u5BA2\u6570",num:(Rt=u==null?void 0:u.index_statistics)==null?void 0:Rt.total_user_count,unit:"\u4EBA",img:v(78781)},{title:"\u5B9E\u8DF5\u8BFE\u7A0B",num:(we=u==null?void 0:u.index_statistics)==null?void 0:we.subject_count,unit:"\u95E8",img:v(6491)},{title:"\u5B9E\u8DF5\u9879\u76EE",num:(mt=u==null?void 0:u.index_statistics)==null?void 0:mt.shixun_count,unit:"\u4E2A",img:v(25413)},{title:"\u5B9E\u9A8C\u73AF\u5883",num:(zt=u==null?void 0:u.index_statistics)==null?void 0:zt.repository_count,unit:"\u79CD",img:v(33102)},{title:"\u7D2F\u8BA1\u5B66\u4E60\u4EBA\u6570",num:(Or=u==null?void 0:u.index_statistics)==null?void 0:Or.all_user_count,unit:"\u4EBA",img:v(91159)},{title:"\u8BC4\u6D4B\u6B21\u6570",num:(ir=u==null?void 0:u.index_statistics)==null?void 0:ir.evaluate_count,unit:"\u6B21",img:v(15070)},{title:"\u5728\u7EBF\u4EBA\u6570",num:(gi=u==null?void 0:u.index_statistics)==null?void 0:gi.user_online_count,unit:"\u4EBA",img:v(83425)},{title:"\u8BFE\u4EF6\u6570\u91CF",num:(Di=u==null?void 0:u.index_statistics)==null?void 0:Di.attachment_count,unit:"\u4E2A",img:v(57583)},{title:"\u8BD5\u9898\u6570\u91CF",num:(mi=u==null?void 0:u.index_statistics)==null?void 0:mi.question_count,unit:"\u9053",img:v(21728)},{title:"\u89C6\u9891\u6570\u91CF",num:(Ri=u==null?void 0:u.index_statistics)==null?void 0:Ri.video_count,unit:"\u4E2A",img:v(27261)},{title:"\u7EBF\u4E0A\u8003\u8BD5",num:(zi=u==null?void 0:u.index_statistics)==null?void 0:zi.exercise_count,unit:"\u95E8",img:v(15939)}]},[u==null?void 0:u.index_statistics]),Jn=[{img:v(23258),name:"\u519B\u4E8B\u88C5\u5907\u667A\u80FD\u63A8\u8350\u7CFB\u7EDF",desc:"\u8BE5\u667A\u80FD\u63A8\u8350\u7CFB\u7EDF\u57FA\u4E8E\u519B\u4E8B\u88C5\u5907\u77E5\u8BC6\u56FE\u8C31\uFF0C\u8986\u76D6\u70ED\u95E8\u88C5\u5907\u3001\u5404\u7C7B\u578B\u88C5\u5907\u3001\u4EFB\u52A1\u9700\u6C42\u4E0E\u4F5C\u6218\u573A\u666F\u5339\u914D\uFF0C\u4EE5\u53CA\u76F8\u5173\u88C5\u5907\u63A8\u8350\u7B49\u6838\u5FC3\u573A\u666F\u3002\u7CFB\u7EDF\u878D\u5408\u4F5C\u6218\u9700\u6C42\u3001\u73AF\u5883\u8981\u7D20\u3001\u88C5\u5907\u6027\u80FD\u53CA\u5386\u53F2\u6570\u636E\uFF0C\u63D0\u4F9B\u4E2A\u6027\u5316\u3001\u667A\u80FD\u5316\u7684\u88C5\u5907\u9009\u578B\u65B9\u6848\uFF0C\u52A9\u529B\u4F5C\u6218\u6548\u80FD\u6700\u4F18\u914D\u7F6E\u3002"},{img:v(11483),name:"\u519B\u4E8B\u4F5C\u6218\u6570\u636E\u5206\u6790\u7CFB\u7EDF",desc:"\u672C\u7CFB\u7EDF\u96C6\u6210\u6218\u573A\u4F5C\u6218\u6570\u636E\u3001\u5929\u6C14\u73AF\u5883\u7B49\u591A\u7EF4\u4FE1\u606F\uFF0C\u91C7\u7528\u5148\u8FDB\u7684\u6570\u636E\u6E05\u6D17\u3001\u5904\u7406\u4E0E\u878D\u5408\u6280\u672F\uFF0C\u63D0\u4F9B\u5168\u9762\u7684\u6218\u573A\u6001\u52BF\u5206\u6790\u3002\u901A\u8FC7\u53EF\u89C6\u5316\u5C55\u793A\u4F24\u4EA1\u4E0E\u88C5\u5907\u6D88\u8017\uFF0C\u7ED3\u5408\u6C14\u8C61\u56E0\u7D20\u6DF1\u5165\u8BC4\u4F30\u5929\u6C14\u5BF9\u4F5C\u6218\u6548\u679C\u7684\u5F71\u54CD\uFF0C\u7CBE\u51C6\u9884\u6D4B\u672A\u6765\u6218\u573A\u52A8\u6001\uFF0C\u52A9\u529B\u6307\u6325\u5B98\u4F18\u5316\u51B3\u7B56\u3002 "},{img:v(2340),name:"\u519B\u4E8B\u6218\u5F79\u667A\u80FD\u95EE\u7B54\u7CFB\u7EDF",desc:"\u57FA\u4E8E\u5386\u53F2\u6218\u5F79\u6570\u636E\uFF0C\u6784\u5EFA\u519B\u4E8B\u6218\u5F79\u56FE\u8C31\uFF0C\u7ED3\u5408\u5148\u8FDB\u7684\u667A\u80FD\u95EE\u7B54\u6280\u672F\uFF0C\u5E2E\u52A9\u7528\u6237\u5FEB\u901F\u83B7\u53D6\u8BE6\u7EC6\u3001\u5168\u9762\u7684\u6218\u5F79\u4FE1\u606F\u4E0E\u6DF1\u5EA6\u89E3\u6790\uFF0C\u663E\u8457\u63D0\u5347\u51B3\u7B56\u6548\u7387\u4E0E\u6218\u7565\u90E8\u7F72\u7684\u79D1\u5B66\u6027\uFF0C\u4E3A\u73B0\u4EE3\u519B\u4E8B\u6307\u6325\u63D0\u4F9B\u5F3A\u6709\u529B\u7684\u667A\u80FD\u652F\u6301\u3002"},{img:v(96159),name:"\u519B\u8230\u4E8B\u6545\u5206\u6790\u7CFB\u7EDF",desc:"\u7CFB\u7EDF\u901A\u8FC7\u96C6\u6210\u519B\u8230\u4E8B\u6545\u65B0\u95FB\u4E0E\u519B\u8230\u5DE1\u822A\u57FA\u672C\u4FE1\u606F\uFF0C\u8FD0\u7528\u6570\u636E\u5904\u7406\u4E0E\u5173\u8054\u878D\u5408\u6280\u672F\uFF0C\u6DF1\u5165\u5206\u6790\u4E8B\u6545\u539F\u56E0\u3002\u7CFB\u7EDF\u63D0\u4F9B\u53EF\u89C6\u5316\u5C55\u793A\uFF0C\u5E2E\u52A9\u5FEB\u901F\u8BC6\u522B\u6F5C\u5728\u98CE\u9669\uFF0C\u4E3A\u51B3\u7B56\u8005\u63D0\u4F9B\u7CBE\u51C6\u7684\u4E8B\u6545\u9884\u6D4B\u4E0E\u9884\u8B66\u652F\u6301\uFF0C\u6709\u6548\u63D0\u5347\u519B\u961F\u5B89\u5168\u4FDD\u969C\u548C\u7BA1\u7406\u6548\u7387\uFF0C\u63A8\u52A8\u667A\u80FD\u5316\u8FD0\u8425\u3002"}],Pe=(0,n.useMemo)(()=>({tooltip:{trigger:"axis"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:(it==null?void 0:it.time)||[],nameTextStyle:{color:"#333333"},axisTick:{show:!1},splitLine:{show:!1},axisLine:{lineStyle:{color:"#E5E5E5"}},axisLabel:{color:"#333333"}},yAxis:{type:"value",nameTextStyle:{color:"#333333"},axisTick:{show:!1},splitLine:{lineStyle:{type:"dashed",color:"#E5E5E5"}},axisLine:{show:!1},axisLabel:{color:"#333333"}},series:[{name:"\u672C\u6708",type:"line",data:(it==null?void 0:it.current_month)||[],itemStyle:{color:"#15EAA4"},areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#15EAA4"},{offset:1,color:"rgba(255, 255, 255,0)"}])}},{name:"\u4E0A\u6708",type:"line",data:(it==null?void 0:it.last_month)||[],itemStyle:{color:"#73A0FF"},areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#73A0FF"},{offset:1,color:"rgba(255, 255, 255,0)"}])}}]}),[it]),Ut=[{title:"\u59D3\u540D",dataIndex:"real_name",width:120,ellipsis:!0},{title:"\u5355\u4F4D",dataIndex:"school_name",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"user_id",width:100,render:(z,Rt)=>n.createElement($e.Z,{style:{padding:0,border:"none"},type:"link",onClick:()=>je(void 0,null,function*(){const we=yield(0,We.NX)({teacher_id:z});(we==null?void 0:we.status)==0&&(Be.ZP.success("\u5220\u9664\u6210\u529F"),bt({}),kn(!1))})},"\u5220\u9664\u6210\u5458")}],gr=[{title:"\u59D3\u540D",width:100,ellipsis:!0,dataIndex:"username",render:(z,Rt)=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement(le.Link,{className:"bold c-black",to:`/users/${Rt.login}`,target:"_blank"},z||"--"))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"school_name",width:100,render:z=>z?"\u662F":"\u5426"},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,Y()(z).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:z=>{if(z===1)return n.createElement("span",{className:"c-green"},"\u5DF2\u6DFB\u52A0")}}],_r=(z=!1)=>je(void 0,null,function*(){var Rt;if((z||fn)&&!Kn){const we=or.getFieldsValue(),mt=yield br(ee({page:z?1:(Xn==null?void 0:Xn.page)+1,container_type:1},we));pn(z?[...mt.users]:[...Dr,...mt.users]),((Rt=mt.users)==null?void 0:Rt.length)<10&&Je(!1)}}),Vr=()=>je(void 0,null,function*(){var z;const Rt=yield c({type:"classroomList/getSchoolList",payload:{display_aliases:!0}});jr((z=Rt||[])==null?void 0:z.map(we=>({value:we})))});return(0,n.useEffect)(()=>{const z=Y()();Vr(),bt({}),Br({}),z&&De({start_at:z.subtract(7,"day").format("YYYY-MM-DD"),end_at:z.format("YYYY-MM-DD")}),c({type:"forumsList/getForumsData",payload:{page:1,forum:16,memoType:16,tab_module_type:"forums",limit:5}})},[]),(0,n.useEffect)(()=>{c({type:"homePage/home",payload:{}})},[u.name]),n.createElement("div",{className:"py-32px",style:{background:`url(${v(48223)}) #fafafa 0 0 / 100% auto no-repeat`}},n.createElement("div",{className:"ml-auto mr-auto flex gap-20px",style:{width:"1200px"}},n.createElement("div",{className:"flex-1 flex flex-col gap-20px"},n.createElement("div",{className:"px-40px py-30px flex flex-col rounded-6px",style:{height:"350px",background:`url(${v(91527)}) 0 0 / 100% 100% no-repeat`}},n.createElement("div",{className:"c-grey-333 text-18px font-semibold"},"\u6570\u636E\u4FDD\u969C\u80FD\u529B\u6559\u5B66\u7CFB\u7EDF"),n.createElement("div",{className:"mt-10px c-grey-333 text-16px",style:{lineHeight:"28px"}},"\u2014\u2014\u953B\u9020\u65B0\u65F6\u4EE3\u519B\u4E8B\u6570\u636E\u5C16\u5175\u7684\u667A\u6167\u5E73\u53F0",n.createElement("br",null),n.createElement("br",null),"\u6570\u636E\u4FDD\u969C\u80FD\u529B\u6559\u5B66\u7CFB\u7EDF\u662F\u9762\u5411\u519B\u4E8B\u9662\u6821\u5E08\u751F\u7684\u5B9E\u6218\u5316\u6559\u5B66\u5E73\u53F0\uFF0C\u96C6\u6210\u865A\u62DF\u4EFF\u771F\u63A8\u6F14\u3001\u8D85\u7B97\u6570\u636E\u5904\u7406\u4E0E\u667A\u80FD\u6570\u636E\u4E2D\u53F0\u6280\u672F\uFF0C\u652F\u6301\u6218\u573A\u73AF\u5883\u6A21\u62DF\u63A8\u6F14\u3001\u5927\u89C4\u6A21\u519B\u4E8B\u6570\u636E\u8BAD\u7EC3\u53CA\u4F5C\u6218\u6570\u636E\u6316\u6398\uFF0C\u9002\u7528\u4E8E\u519B\u4E8B\u6570\u636E\u6559\u80B2\u3001\u4F5C\u6218\u6570\u636E\u4FDD\u969C\u6F14\u7EC3\u53CA\u79D1\u7814\u653B\u5173\u7B49\u573A\u666F\uFF0C\u52A9\u529B\u63D0\u5347\u6570\u636E\u4FDD\u969C\u80FD\u529B\uFF0C\u63A8\u52A8\u519B\u4E8B\u6559\u80B2\u6570\u5B57\u5316\u8F6C\u578B\u3002"),n.createElement("div",{className:"mt-30px flex flex-wrap item-center gap-10px",style:{paddingRight:"400px"}},["\u4FDD\u969C\u6570\u636E\u5B89\u5168","\u63D0\u9AD8\u6570\u636E\u8D28\u91CF","\u7BA1\u7406\u6570\u636E\u8D44\u4EA7","\u6570\u636E\u5DE5\u7A0B\u5B9E\u8BAD","\u6570\u636E\u8BFE\u7A0B\u8D44\u6E90"].map((z,Rt)=>n.createElement("div",{key:Rt,className:"rounded-4px px-10px py-6px",style:{color:"#3061D0",background:"#E9EFFF"}},z)))),n.createElement("div",{className:"rounded-6px bg-white flex item-end justify-between px-40px pb-30px relative",style:{height:"179px"}},n.createElement("div",{className:"c-grey-333 text-18px absolute",style:{lineHeight:"34px",padding:"0 112px",background:"linear-gradient( 180deg, #F8FDFF 0%, #EDF5FC 100%)",boxShadow:"inset 0px 1px 3px 0px #FFFFFF",top:0,left:"50%",transform:"translateX(-50%)",borderBottomLeftRadius:"999px",borderBottomRightRadius:"999px"}},"\u5FEB\u6377\u5165\u53E3"),ve.map((z,Rt)=>n.createElement("div",{key:Rt,className:"flex flex-col item-center gap-10px current-primary-hover",onClick:()=>{(0,w.xg)(z==null?void 0:z.link)}},n.createElement("img",{src:z==null?void 0:z.img,style:{width:"59px"}}),n.createElement("div",{className:"text-16px"},z==null?void 0:z.title)))),n.createElement("div",{className:"rounded-6px px-40px py-30px bg-white"},n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:"text-18px c-grey-333 font-semibold"},"\u6570\u636E\u6C47\u603B")),n.createElement("div",{className:"grid gap-40px mt-30px",style:{gridTemplateColumns:"1fr 1fr 1fr 1fr"}},Te.map((z,Rt)=>n.createElement("div",{key:Rt,className:"flex gap-10px item-center"},n.createElement("img",{src:z==null?void 0:z.img,className:"rounded-full",style:{width:"60px"}}),n.createElement("div",{className:"flex flex-col gap-10px c-grey-666"},n.createElement("div",null,n.createElement("span",{className:"mr-6px c-grey-333 text-18px font-semibold"},(z==null?void 0:z.num)||0),z==null?void 0:z.unit),n.createElement("div",null,z.title)))))),n.createElement("div",{className:"rounded-6px"},n.createElement("div",{className:"flex flex-wrap",style:{background:"#F5F6F7"}},dr.map(z=>n.createElement("div",{key:z==null?void 0:z.key,className:`current px-40px py-6px text-18px c-grey-333 font-semibold ${(fr==null?void 0:fr.key)==(z==null?void 0:z.key)?"bg-white":""}`,onClick:()=>{qr(z)},style:{color:(fr==null?void 0:fr.key)==(z==null?void 0:z.key)?"#159DFF":"",borderRadius:"6px 6px 0 0"}},z==null?void 0:z.title))),n.createElement("div",{className:"px-40px py-30px bg-white flex flex-col item-center gap-20px"},(Lt=dr==null?void 0:dr.find(z=>(z==null?void 0:z.key)==(fr==null?void 0:fr.key)))==null?void 0:Lt.children,(fr==null?void 0:fr.url)&&n.createElement(Hr.ZP,{type:"primary",onClick:()=>{(0,w.xg)(fr==null?void 0:fr.url)}},"\u5F00\u59CB\u4F7F\u7528"))),n.createElement("div",{className:"rounded-6px bg-white"},n.createElement("div",{className:"flex flex-wrap",style:{background:"#F5F6F7"}},cr.map(z=>n.createElement("div",{key:z==null?void 0:z.id,className:`current px-40px py-6px text-18px c-grey-333 font-semibold ${(ke==null?void 0:ke.type)==(z==null?void 0:z.id)?"bg-white":""}`,onClick:()=>{De({type:z==null?void 0:z.id})},style:{color:(ke==null?void 0:ke.type)==(z==null?void 0:z.id)?"#159DFF":"",borderRadius:"6px 6px 0 0"}},z==null?void 0:z.name))),n.createElement("div",{className:"flex justify-between mt-32px px-40px"},n.createElement("div",{className:"text-18px font-semibold",style:{color:"#282F3F"}},"\u5E73\u53F0",(Nt=cr==null?void 0:cr.find(z=>(z==null?void 0:z.id)==(ke==null?void 0:ke.type)))==null?void 0:Nt.name),n.createElement(_.default.RangePicker,{value:[Y()(ke==null?void 0:ke.start_at),Y()(ke==null?void 0:ke.end_at)],onChange:(z,Rt)=>{De({start_at:Rt==null?void 0:Rt[0],end_at:Rt==null?void 0:Rt[1]})}})),n.createElement(fe.Z,{option:Pe}))),n.createElement("div",{className:"flex flex-col gap-20px",style:{width:"300px"}},n.createElement("div",{className:"p-30px rounded-6px relative",style:{height:"224px",background:`url(${v(6716)}) 0 0 / 100% auto no-repeat`}},(0,Et.bg)()&&n.createElement(n.Fragment,null,n.createElement("img",{className:"rounded-full",src:`${(St=Zt.Z)==null?void 0:St.IMG_SERVER}/images/${(Ue=g==null?void 0:g.userInfo)==null?void 0:Ue.image_url}`,style:{width:"66px",height:"66px"}}),n.createElement("div",{className:"mt-36px font-semibold text-16px c-grey-333"},(pt=g==null?void 0:g.userInfo)==null?void 0:pt.username),n.createElement("div",{className:"mt-10px c-grey-666"},(Bt=g==null?void 0:g.userInfo)==null?void 0:Bt.user_identity," ",(cn=g==null?void 0:g.userInfo)==null?void 0:cn.user_school),n.createElement("span",{className:"iconfont icon-bianji4 current absolute",style:{color:"#3061D0",top:"30px",right:"20px"},onClick:()=>{var z;le.history.push(`/users/${(z=g==null?void 0:g.userInfo)==null?void 0:z.login}/baseInfo/edit`)}})),!(0,Et.bg)()&&n.createElement(n.Fragment,null,n.createElement("img",{className:"rounded-full",src:v(31454),style:{width:"66px",height:"66px"}}),n.createElement("div",null,n.createElement(Hr.ZP,{type:"primary",className:"mt-22px",onClick:()=>{c({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55/\u6CE8\u518C")),n.createElement("div",{className:"mt-12px text-12px",style:{color:"#3061D0"}},"\u767B\u5F55\u7CFB\u7EDF\u540E\uFF0C\u7545\u4EAB\u6559\u5B66\u4E0E\u5B66\u4E60\u7684\u65E0\u9650\u53EF\u80FD\uFF01"))),n.createElement("div",{className:"rounded-8px bg-white p-20px"},n.createElement("div",{className:"flex item-end justify-between"},n.createElement("img",{src:v(76156),style:{height:"24px"}}),n.createElement("div",{className:"current-primary-hover",onClick:()=>{(0,w.xg)("/forums")}},"\u66F4\u591A ",n.createElement("span",{className:"iconfont icon-you2"}))),(Ln=(An=st.forumsData)==null?void 0:An.memo_list)!=null&&Ln.length?n.createElement("div",{className:"flex flex-col gap-40px mt-40px"},(dn=(vn=st.forumsData)==null?void 0:vn.memo_list)==null?void 0:dn.map(z=>n.createElement("div",{key:z==null?void 0:z.id,className:"flex flex-col gap-20px current",onClick:()=>{(0,w.xg)(`/forums/${z.id}`)}},n.createElement(mr.Z,{placement:"topLeft",title:z==null?void 0:z.subject},n.createElement("div",{className:"text-16px font-semibold c-black multi_ellipsis1 minW-0 w-full current-primary-hover"},z==null?void 0:z.subject)),n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",null,z==null?void 0:z.user_name),n.createElement("div",null,Y()(z==null?void 0:z.created_at).format("YYYY-MM-DD")))))):n.createElement(D.Z,null)),n.createElement("div",{className:"rounded-8px bg-white p-20px"},n.createElement("div",{className:"flex item-end gap-14px"},n.createElement("img",{src:v(46750),style:{height:"21px"}}),(0,Et.Ny)()&&n.createElement(n.Fragment,null,n.createElement(mr.Z,{title:"\u6DFB\u52A0"},n.createElement("span",{className:"iconfont icon-tianjiahezuozhe ml-auto current-primary-hover",onClick:()=>{xr(!0)}})),n.createElement(mr.Z,{title:"\u7F16\u8F91"},n.createElement("span",{className:"iconfont icon-bianji4 current-primary-hover",onClick:()=>{kn(!0)}})))),(Mn=Yn==null?void 0:Yn.data)!=null&&Mn.length?n.createElement("div",{className:"flex flex-col gap-20px mt-30px"},(Ke=Yn==null?void 0:Yn.data)==null?void 0:Ke.map(z=>{var Rt;return n.createElement("div",{key:z==null?void 0:z.user_id,className:"flex item-end current relative",style:{height:66},onClick:()=>{(0,w.xg)(`/users/${z==null?void 0:z.login}/classrooms`)}},n.createElement("img",{className:"rounded-full absolute",src:`${(Rt=Zt.Z)==null?void 0:Rt.IMG_SERVER}/images/${z==null?void 0:z.image_url}`,style:{width:"66px",height:"66px",left:0,top:0}}),n.createElement("div",{className:"flex flex-col justify-center gap-6px rounded-full w-full",style:{height:60,background:"#F6F7F9",paddingLeft:85}},n.createElement("div",{className:"text-16px c-grey-333 font-semibold"},z==null?void 0:z.real_name),n.createElement("div",{className:"text-12px c-grey-333"},z==null?void 0:z.school_name," ",z==null?void 0:z.user_identity)))})):n.createElement(D.Z,null)),n.createElement("div",{className:"rounded-8px bg-white p-20px"},n.createElement("div",{className:"flex item-end justify-between"},n.createElement("img",{src:v(10231),style:{height:"17px"}}),n.createElement("div",{className:"current-primary-hover",onClick:()=>{(0,w.xg)("/paths")}},"\u66F4\u591A ",n.createElement("span",{className:"iconfont icon-you2"}))),(Ct=u.recommend_subjects)!=null&&Ct.length?n.createElement("div",{className:"flex flex-col gap-14px mt-20px"},(Nn=u.recommend_subjects)==null?void 0:Nn.map(z=>{var Rt;return n.createElement("div",{key:z==null?void 0:z.id,className:"flex item-center gap-12px current",style:{height:"80px"},onClick:()=>{(0,w.xg)(`/paths/${z==null?void 0:z.identifier}`)}},n.createElement("div",{className:"rounded-6px h-full overflow-hidden"},n.createElement("img",{className:"h-full hover:scale-110 transition-all",src:`${(Rt=Zt.Z)==null?void 0:Rt.IMG_SERVER}${z==null?void 0:z.image_url}`})),n.createElement("div",{className:"flex flex-col justify-between h-full"},n.createElement("div",{className:"current-primary-hover"},z==null?void 0:z.name),n.createElement("div",{className:"text-12px",style:{color:"#000F37"}},z.members_count," \u4EBA\u5B66\u4E60")))})):n.createElement(D.Z,null)),n.createElement("div",{className:"rounded-8px",style:{background:"#FAFAFA"}},n.createElement("div",{className:"flex item-end justify-between p-20px"},n.createElement("img",{src:v(97787),style:{height:"17px"}}),n.createElement("div",{className:"current-primary-hover",onClick:()=>{(0,w.xg)("/classrooms")}},"\u66F4\u591A ",n.createElement("span",{className:"iconfont icon-you2"}))),(Xt=ur==null?void 0:ur.courses)!=null&&Xt.length?n.createElement("div",{className:"flex flex-col gap-14px"},(Dn=ur==null?void 0:ur.courses)==null?void 0:Dn.map((z,Rt)=>n.createElement("div",{className:"pt-14px",key:Rt},n.createElement(r.Si,{DataProps:z,style:{padding:"10px 20px",gap:"12px"}})))):n.createElement(D.Z,null)))),n.createElement(f.default,{open:Kt,title:"\u7F16\u8F91",width:800,footer:null,onCancel:()=>{kn(!1)},centered:!0,destroyOnClose:!0,onOk:()=>{kn(!1)}},n.createElement(y.default,{columns:Ut,dataSource:(Yn==null?void 0:Yn.data)||[]})),n.createElement(f.default,{open:Pr,title:"\u6DFB\u52A0\u6559\u5E08\u56E2\u961F",width:1200,onCancel:()=>{xr(!1)},centered:!0,destroyOnClose:!0,onOk:()=>je(void 0,null,function*(){(Fr==null?void 0:Fr.length)==0?Be.ZP.error("\u8BF7\u9009\u62E9\u4EBA\u6570"):(yield(0,We.Zz)({teacher_id:Fr})).status===0&&(Be.ZP.success("\u6DFB\u52A0\u6210\u529F"),bt({}),xr(!1))})},n.createElement(sr.default,{layout:"inline",size:"large",form:or,initialValues:{search_type:"1"},onFinish:z=>{if((z==null?void 0:z.keyword)===""){pn([]),Be.ZP.error("\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9");return}Mt(!1),Je(!0),Zr([]),setTimeout(()=>{_r(!0)},200)}},n.createElement(sr.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},n.createElement(V.default,{style:{width:110}},n.createElement(V.default.Option,{value:"1"},"\u59D3\u540D"),n.createElement(V.default.Option,{value:"4"},"\u5B66\u53F7/\u5DE5\u53F7"),n.createElement(V.default.Option,{value:"2"},"\u624B\u673A\u53F7"),n.createElement(V.default.Option,{value:"3"},"\u90AE\u7BB1"))),n.createElement(sr.default.Item,{name:"keyword",label:"\u641C\u7D22\u5185\u5BB9\uFF1A"},n.createElement(l.default,{allowClear:!0,style:{width:240}})),n.createElement(sr.default.Item,{name:"school_name",label:"\u5355\u4F4D\uFF1A"},n.createElement(N.Z,{options:Gr,style:{width:380},placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",filterOption:(z,Rt)=>Rt.value.toUpperCase().indexOf(z.toUpperCase())!==-1})),n.createElement(sr.default.Item,null,n.createElement(Hr.ZP,{htmlType:"submit",type:"primary"},"\u641C\u7D22"))),n.createElement(y.default,{className:"mt20 flexd-table-header ",rowKey:"numid",rowSelection:{type:"checkbox",selectedRowKeys:Fr,onChange:z=>{Zr(z),console.log("selectedRowKeys",z)}},pagination:!1,dataSource:[],columns:gr,showHeader:(Dr==null?void 0:Dr.length)>0}),n.createElement("div",{style:{maxHeight:260,overflow:"auto"}},n.createElement(e(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:z=>{_r()},hasMore:fn,useWindow:!1},n.createElement(y.default,{loading:Kn,showHeader:!1,pagination:!1,dataSource:Dr,columns:gr,locale:{emptyText:n.createElement(D.Z,{img:Wr?t.RL:t.z3,imgStyles:{width:150},styles:{margin:"0 auto"},customText:Wr?"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458":"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"})},rowKey:"numid",rowSelection:{type:"checkbox",selectedRowKeys:Fr,onChange:z=>{Zr(z),console.log("selectedRowKeys",z)}}})))))};var pe=(0,le.connect)(({loading:g,forumsList:c,user:u,homePage:st,globalSetting:ot})=>({user:u,loading:g.models.index,homePage:st,forumsList:c,globalSetting:ot}))(dt),te=v(9951),tt=v(99313),ae={flex_box_center:"flex_box_center___tP1nn",flex_space_between:"flex_space_between___nu84w",flex_box_vertical_center:"flex_box_vertical_center___zbP1q",flex_box_center_end:"flex_box_center_end___a1egM",flex_box_column:"flex_box_column___QHIuF",home:"home___MEDZZ",bg:"bg___KfDDG",btns:"btns___oNaXd",li:"li___UWBaA",competition:"competition___cOtyF",title:"title___esRZA",des:"des___DojIR",information:"information___Awtv_",d1:"d1___X_1hT",d2:"d2___dbc36",d3:"d3___BI04Y",retrospect:"retrospect___PNb0W",banner:"banner___TQcxa",left:"left___c8wMQ",right:"right___Zl7Zw",name:"name___pi8R2",btn:"btn___Jsqzc",l:"l___WuZMb",r:"r___oxdMr",group:"group___rxBvb",tabs:"tabs___GRAT5",list:"list___x_s8k"},oe=v(77531),Ee=v.p+"static/bg1.02a5f786.png",nt=Object.defineProperty,rt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,qt=(g,c,u)=>c in g?nt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,et=(g,c)=>{for(var u in c||(c={}))Wt.call(c,u)&&qt(g,u,c[u]);if(rt)for(var u of rt(c))pr.call(c,u)&&qt(g,u,c[u]);return g};const rn=g=>React.createElement("svg",et({width:33,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 29"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982"},React.createElement("tspan",{x:0,y:42},"1")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m31.5 8.5-13 40"})));var wn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSIwIiB5PSI0MiI+MTwvdHNwYW4+CiAgICAgICAgICAgICAgICA8L3RleHQ+PHBhdGggc3Ryb2tlPSIjRDJEOEVBIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBkPSJtMzEuNSA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",Pn=Object.defineProperty,_t=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,$r=Object.prototype.propertyIsEnumerable,hr=(g,c,u)=>c in g?Pn(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,kr=(g,c)=>{for(var u in c||(c={}))Cr.call(c,u)&&hr(g,u,c[u]);if(_t)for(var u of _t(c))$r.call(c,u)&&hr(g,u,c[u]);return g};const Ur=g=>React.createElement("svg",kr({width:40,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 26"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982",transform:"translate(.667)"},React.createElement("tspan",{x:0,y:42},"2")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m39.167 8.5-13 40"})));var Kr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC42NjcpIj4KICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iMCIgeT0iNDIiPjI8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PjxwYXRoIHN0cm9rZT0iI0QyRDhFQSIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgZD0ibTM5LjE2NyA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",Jr=Object.defineProperty,Hn=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable,ci=(g,c,u)=>c in g?Jr(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ai=(g,c)=>{for(var u in c||(c={}))lr.call(c,u)&&ci(g,u,c[u]);if(Hn)for(var u of Hn(c))Tr.call(c,u)&&ci(g,u,c[u]);return g};const ys=g=>React.createElement("svg",ai({width:40,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 27"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982",transform:"translate(.333)"},React.createElement("tspan",{x:0,y:42},"3")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m38.833 8.5-13 40"})));var Da="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC4zMzMpIj4KICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iMCIgeT0iNDIiPjM8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PjxwYXRoIHN0cm9rZT0iI0QyRDhFQSIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgZD0ibTM4LjgzMyA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",ya=Object.defineProperty,Zi=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,Ti=(g,c,u)=>c in g?ya(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ia=(g,c)=>{for(var u in c||(c={}))Yi.call(c,u)&&Ti(g,u,c[u]);if(Zi)for(var u of Zi(c))ki.call(c,u)&&Ti(g,u,c[u]);return g};const Is=g=>React.createElement("svg",Ia({width:40,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 25"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982"},React.createElement("tspan",{x:0,y:42},"4")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m38.5 8.5-13 40"})));var Ca="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSIwIiB5PSI0MiI+NDwvdHNwYW4+CiAgICAgICAgICAgICAgICA8L3RleHQ+PHBhdGggc3Ryb2tlPSIjRDJEOEVBIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBkPSJtMzguNSA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",di="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAOCAYAAABQOexEAAAAAXNSR0IArs4c6QAAAqtJREFUaEPtmj9oE1Ecx39XDXRQiINLO9ShCBnMcg5BCEiWLHXIcqAZzGBb7GBBi5ihGdqhCulQKZH+AesQhXM4wSxZUiRQAnpLloBESge7ZLBYF3nIyfuX3LtEcXgPhP5uCOTzfve7d9/3uUt7iQW4YQKaE3i5fzheuHnlp2VZQbS1t38YJ72Pp47j/IqOPX72ZuIk/r23PT9PRk3J0jxPbIcJwLsPnWtj58fGb924+ikqrHfw5TYEECdf/e2osA/X325CEEz+uPjNGSUsyopyaU8gCALr/cHn67RxVFjXdc/FJu05OhYVdm5rK3bh9JJLx0YJi7JqXypsSBMwISzKim4ZS0C3sCirsaXCxrrvsFbn+MSG0P9eiam4Tw/SPurZ/bgJQHL6MuN+V3K6UwxswVud4349HUknJlh9s0354ADp5BTjDf9Iqc/anNf9LpuP3GMmNc14rdVl9YQNEMilE4x7zQ7n4sXJcO422gMOAPlMkvFqXeWFLOd7NV+pn52xGd/xfJuE5r+QSzG+4bYG+QDAoiN505ZzoXVL+TSrL1cFFydRLGQYX9lrKH1Kgi/v1BW+Optl9U8qKn+6wPmjSk1Zx/XFGcYfbEjOE32+lGP8ftlT1vdFkfN7a65y3N2iw/jdlTAn8KqUZ/zOclWpf73KeXjTdYflsvZXG2BIVmHNsKxUHAIpIeXfZeUHoK0yEVmllH1ZhZRySsOy8j2GZBWN/kXWwaVDoJDlUlJZw89LVFkHAUlZK17L5hcO36SsZbep5CllXasKLq5E7bJSKUObIiub/h9kFecwUlYCsFv6j2SNXgX4HhPQmYCuuyp9lIV/s+pcGexl5ONfPnNFWVEwIwnovKPKCaKsRpbqbDc1ISpNFGU9214ZOXv8utVIrNjURAKmfsjyG/THRGdCCtl7AAAAAElFTkSuQmCC",Ai=v.p+"static/a1.86bdd427.png",ba=Object.defineProperty,Pi=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Gi=(g,c,u)=>c in g?ba(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Na=(g,c)=>{for(var u in c||(c={}))xa.call(c,u)&&Gi(g,u,c[u]);if(Pi)for(var u of Pi(c))La.call(c,u)&&Gi(g,u,c[u]);return g};const Wi=g=>React.createElement("svg",Na({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 9"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{stroke:"#044CDE",opacity:.3,cx:19,cy:19,r:18.5}),React.createElement("circle",{fill:"#0152D9",cx:19,cy:19,r:13}),React.createElement("g",{fill:"#FFF",fillRule:"nonzero"},React.createElement("path",{d:"M24.333 19.92H13.667a.488.488 0 1 1 0-.979h10.666a.488.488 0 1 1 0 .978Z"}),React.createElement("path",{d:"M24.327 19.913a.487.487 0 0 1-.347-.145l-3.807-3.851a.49.49 0 0 1 .003-.691.49.49 0 0 1 .691.003l3.807 3.85a.49.49 0 0 1-.347.834Z"}),React.createElement("path",{d:"M20.476 23.732a.487.487 0 0 1-.344-.836l3.851-3.806a.49.49 0 0 1 .69.003.49.49 0 0 1-.002.69l-3.851 3.808a.489.489 0 0 1-.344.141Z"}))));var Sa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0iIzA0NENERSIgb3BhY2l0eT0iLjMiIGN4PSIxOSIgY3k9IjE5IiByPSIxOC41Ii8+PGNpcmNsZSBmaWxsPSIjMDE1MkQ5IiBjeD0iMTkiIGN5PSIxOSIgcj0iMTMiLz48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjxwYXRoIGQ9Ik0yNC4zMzMgMTkuOTJIMTMuNjY3YS40ODguNDg4IDAgMSAxIDAtLjk3OWgxMC42NjZhLjQ4OC40ODggMCAxIDEgMCAuOTc4WiIvPjxwYXRoIGQ9Ik0yNC4zMjcgMTkuOTEzYS40ODcuNDg3IDAgMCAxLS4zNDctLjE0NWwtMy44MDctMy44NTFhLjQ5LjQ5IDAgMCAxIC4wMDMtLjY5MS40OS40OSAwIDAgMSAuNjkxLjAwM2wzLjgwNyAzLjg1YS40OS40OSAwIDAgMS0uMzQ3LjgzNFoiLz48cGF0aCBkPSJNMjAuNDc2IDIzLjczMmEuNDg3LjQ4NyAwIDAgMS0uMzQ0LS44MzZsMy44NTEtMy44MDZhLjQ5LjQ5IDAgMCAxIC42OS4wMDMuNDkuNDkgMCAwIDEtLjAwMi42OWwtMy44NTEgMy44MDhhLjQ4OS40ODkgMCAwIDEtLjM0NC4xNDFaIi8+PC9nPjwvZz48L3N2Zz4=",Ba=Object.defineProperty,Vi=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,Hi=(g,c,u)=>c in g?Ba(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ra=(g,c)=>{for(var u in c||(c={}))ja.call(c,u)&&Hi(g,u,c[u]);if(Vi)for(var u of Vi(c))Oa.call(c,u)&&Hi(g,u,c[u]);return g};const Cs=g=>React.createElement("svg",Ra({width:55,height:34,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 31\u5907\u4EFD"),React.createElement("g",{fill:"#F2F5FA",fillRule:"evenodd"},React.createElement("path",{d:"M54.057 33.328H32.811V12.023L45.81.67h8.246l-8.245 11.352h8.245zM22.057 33.328H.811V12.023L13.81.67h8.246l-8.245 11.352h8.245z"})));var za="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTUiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0YyRjVGQSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNTQuMDU3IDMzLjMyOEgzMi44MTFWMTIuMDIzTDQ1LjgxLjY3aDguMjQ2bC04LjI0NSAxMS4zNTJoOC4yNDV6TTIyLjA1NyAzMy4zMjhILjgxMVYxMi4wMjNMMTMuODEuNjdoOC4yNDZsLTguMjQ1IDExLjM1Mmg4LjI0NXoiLz48L2c+PC9zdmc+",Fa=Object.defineProperty,Ui=Object.getOwnPropertySymbols,Za=Object.prototype.hasOwnProperty,Ya=Object.prototype.propertyIsEnumerable,Qi=(g,c,u)=>c in g?Fa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ka=(g,c)=>{for(var u in c||(c={}))Za.call(c,u)&&Qi(g,u,c[u]);if(Ui)for(var u of Ui(c))Ya.call(c,u)&&Qi(g,u,c[u]);return g};const ei=g=>React.createElement("svg",ka({width:55,height:34,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 31"),React.createElement("g",{fill:"#F2F5FA",fillRule:"evenodd"},React.createElement("path",{d:"M.057.328h21.246v21.306l-13 11.352H.056l8.245-11.352H.057zM32.057.328h21.246v21.306l-13 11.352h-8.246l8.245-11.352h-8.245z"})));var Ta="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTUiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0YyRjVGQSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNLjA1Ny4zMjhoMjEuMjQ2djIxLjMwNmwtMTMgMTEuMzUySC4wNTZsOC4yNDUtMTEuMzUySC4wNTd6TTMyLjA1Ny4zMjhoMjEuMjQ2djIxLjMwNmwtMTMgMTEuMzUyaC04LjI0Nmw4LjI0NS0xMS4zNTJoLTguMjQ1eiIvPjwvZz48L3N2Zz4=",Pa=Object.defineProperty,si=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Ki=(g,c,u)=>c in g?Pa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ji=(g,c)=>{for(var u in c||(c={}))Ci.call(c,u)&&Ki(g,u,c[u]);if(si)for(var u of si(c))Xi.call(c,u)&&Ki(g,u,c[u]);return g},Ga=(g,c)=>{var u={};for(var st in g)Ci.call(g,st)&&c.indexOf(st)<0&&(u[st]=g[st]);if(g!=null&&si)for(var st of si(g))c.indexOf(st)<0&&Xi.call(g,st)&&(u[st]=g[st]);return u},qi=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const _i=g=>{var c=g,{competitions:u,user:st,dispatch:ot}=c,Lt=Ga(c,["competitions","user","dispatch"]);const[Nt,St]=(0,n.useState)(!1),[Ue,pt]=(0,n.useState)({}),[Bt,cn]=(0,n.useState)(""),An=(0,n.useRef)(null),Ln=(0,n.useRef)(null);(0,n.useEffect)(()=>{vn()},[]);const vn=()=>qi(void 0,null,function*(){u.listParams.keyword="",u.listParams.category="",u.listParams.page=1,ot({type:"competitions/getList",payload:Ji({},u.listParams)})}),dn=[{path:"",img:Ee},{path:"",img:Ee},{path:"",img:Ee},{path:"",img:Ee}],Mn=[{path:"",img:Ai,name:"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8BA1\u7B97\u673A\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u667A\u80FD\u5927\u8D5B",des:"\u968F\u7740AI\u6280\u672F\u7684\u5F15\u5165\uFF0C\u6559\u80B2\u884C\u4E1A\u6B63\u5728\u8131\u79BB\u5355\u4E00\u6559\u80B2\u8F85\u52A9\u7684\u89D2\u8272\uFF0C\u4E3A\u53D7\u6559\u80B2\u8005\u63D0\u4F9B\u79D1\u6280\u8D4B\u80FD\u3001\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\uFF0C\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\u7ED3\u5408\u6D77\u91CF\u4F18\u8D28\u8D44\u6E90\u8986\u76D6\u7EC8\u8EAB\u5B66\u4E60\u573A\u666F\uFF0C\u5B9E\u73B0\u9AD8\u8D28\u91CF\u6559\u80B2\u7684\u53EF\u6301\u7EED\u53D1\u5C55\u76EE\u6807\u3002"},{path:"",img:Ai,name:"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8BA1\u7B97\u673A\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u667A\u80FD\u5927\u8D5B",des:"\u968F\u7740AI\u6280\u672F\u7684\u5F15\u5165\uFF0C\u6559\u80B2\u884C\u4E1A\u6B63\u5728\u8131\u79BB\u5355\u4E00\u6559\u80B2\u8F85\u52A9\u7684\u89D2\u8272\uFF0C\u4E3A\u53D7\u6559\u80B2\u8005\u63D0\u4F9B\u79D1\u6280\u8D4B\u80FD\u3001\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\uFF0C\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\u7ED3\u5408\u6D77\u91CF\u4F18\u8D28\u8D44\u6E90\u8986\u76D6\u7EC8\u8EAB\u5B66\u4E60\u573A\u666F\uFF0C\u5B9E\u73B0\u9AD8\u8D28\u91CF\u6559\u80B2\u7684\u53EF\u6301\u7EED\u53D1\u5C55\u76EE\u6807\u3002"},{path:"",img:Ai,name:"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8BA1\u7B97\u673A\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u667A\u80FD\u5927\u8D5B",des:"\u968F\u7740AI\u6280\u672F\u7684\u5F15\u5165\uFF0C\u6559\u80B2\u884C\u4E1A\u6B63\u5728\u8131\u79BB\u5355\u4E00\u6559\u80B2\u8F85\u52A9\u7684\u89D2\u8272\uFF0C\u4E3A\u53D7\u6559\u80B2\u8005\u63D0\u4F9B\u79D1\u6280\u8D4B\u80FD\u3001\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\uFF0C\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\u7ED3\u5408\u6D77\u91CF\u4F18\u8D28\u8D44\u6E90\u8986\u76D6\u7EC8\u8EAB\u5B66\u4E60\u573A\u666F\uFF0C\u5B9E\u73B0\u9AD8\u8D28\u91CF\u6559\u80B2\u7684\u53EF\u6301\u7EED\u53D1\u5C55\u76EE\u6807\u3002"}],Ke=Ct=>{cn(Ct),u.listParams.page=1,u.listParams.category=Ct,ot({type:"competitions/getList",payload:Ji({},u.listParams)})};return n.createElement("section",{className:ae.home},n.createElement(Ge.Z,{loading:Nt,active:!0,paragraph:{rows:5}},n.createElement("div",{className:ae.bg},dn&&n.createElement(te.Z,{ref:An,autoplay:!0,pauseOnDotsHover:!0},dn==null?void 0:dn.map((Ct,Nn)=>n.createElement("div",{key:Nn,className:ae.li},n.createElement("a",{href:Ct.path},n.createElement("img",{width:"100%",src:Ct.img}))))),n.createElement("div",{className:ae.btns},n.createElement("div",{onClick:()=>{An.current.prev()}},n.createElement("i",{className:"iconfont icon-fanhui1"})),n.createElement("div",{style:{transform:"rotate(180deg)"},onClick:()=>{An.current.next()}},n.createElement("i",{className:"iconfont icon-fanhui1"})))),n.createElement("div",{className:ae.competition},n.createElement("div",{className:ae.title},"2022\u8D5B\u4E8B"),n.createElement("div",{className:ae.des},n.createElement("img",{src:wn,alt:""}),n.createElement("aside",null,n.createElement("div",null,"5\u67087\u65E5"),n.createElement("div",null,"\u5927\u8D5B\u5F00\u542F")),n.createElement("img",{className:"ml5 mr5",src:di}),n.createElement("img",{src:Kr,alt:""}),n.createElement("aside",null,n.createElement("div",null,"5\u67087\u65E5-8\u670815\u65E5"),n.createElement("div",null,"\u5927\u8D5B\u5E38\u89C4\u8D5B\u9636\u6BB5")),n.createElement("img",{className:"ml5 mr5",src:di}),n.createElement("img",{src:Da,alt:""}),n.createElement("aside",null,n.createElement("div",null,"8\u670815\u65E5-11\u670820\u65E5"),n.createElement("div",null,"\u5927\u8D5B\u51B3\u8D5B\u9636\u6BB5")),n.createElement("img",{className:"ml5 mr5",src:di}),n.createElement("img",{src:Ca,alt:""}),n.createElement("aside",null,n.createElement("div",null,"12\u67081\u65E5"),n.createElement("div",null,"\u9881\u5956\u5927\u4F1A")))),n.createElement("div",{className:ae.information},n.createElement("div",{className:ae.title},n.createElement("b",null,"\u8D5B\u4E8B\u8D44\u8BAF"),n.createElement("span",null,"\u66F4\u591A",n.createElement("i",{className:"iconfont icon-zhankai1 font14"}))),n.createElement("div",{className:ae.des},n.createElement("div",{className:ae.d1},n.createElement("b",null,"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u5927\u8D5B"),n.createElement("aside",null,"openEuler\u5F00\u6E90\u793E\u533A\u8D21\u732E\u8D5B"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5")),n.createElement("div",{className:ae.d2},n.createElement("div",null,n.createElement("b",null,"\u7B2C\u4E8C\u5C4A\u300C\u8BA1\u56FE\u300Dittor\u300D\u4EBA\u5DE5\u667A\u80FD\u6311\u6218\u8D5B"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5")),n.createElement("div",null,n.createElement("b",null,"\u7B2C\u4E8C\u5C4A\u300C\u8BA1\u56FE\u300Dittor\u300D\u8BA1\u7B97\u673A\u4EBA\u5DE5\u667A\u80FD\u6311\u6218\u2026"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5"))),n.createElement("div",{className:ae.d3},n.createElement("div",null,n.createElement("b",null,"DataWorks\u4E00\u7AD9\u5F0F\u5927\u6570\u636E\u5F00\u53D1\u6311\u6218\u5927\u8D5B"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5")),n.createElement("div",null,n.createElement("b",null,"\u300C\u8BA1\u56FE\u300Dittor\u300D\u5927\u6570\u636E\u8FD0\u7528\u4EBA\u5DE5\u667A\u80FD\u6311\u6218\u8D5B\u2026"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5"))))),n.createElement("div",{className:ae.retrospect},n.createElement("div",{className:ae.title},n.createElement("b",null,"\u5F80\u671F\u56DE\u987E"),n.createElement("span",null,"\u66F4\u591A",n.createElement("i",{className:"iconfont icon-zhankai1 font14"}))),n.createElement("div",{className:ae.banner},Mn&&n.createElement(te.Z,{ref:Ln,autoplay:!1,pauseOnDotsHover:!0},Mn==null?void 0:Mn.map((Ct,Nn)=>n.createElement("div",{key:Nn,className:ae.li},n.createElement("div",{className:ae.left},n.createElement("img",{width:524,src:Ct.img})),n.createElement("div",{className:ae.right},n.createElement("div",{className:ae.name},Ct==null?void 0:Ct.name),n.createElement("div",{className:ae.des},Ct.des),n.createElement("div",{className:ae.btn},n.createElement("span",null,"\u7ACB\u5373\u67E5\u770B"),n.createElement("img",{src:Sa})),n.createElement("img",{className:ae.l,src:za}),n.createElement("img",{className:ae.r,src:Ta}))))),n.createElement("div",{className:ae.btns},n.createElement("div",{onClick:()=>{Ln.current.prev()}},n.createElement("i",{className:"iconfont icon-fanhui1"})),n.createElement("div",{style:{transform:"rotate(180deg)"},onClick:()=>{Ln.current.next()}},n.createElement("i",{className:"iconfont icon-fanhui1"}))))),n.createElement("div",{className:ae.group},n.createElement("div",{className:ae.title},"\u8D5B\u9898\u5206\u7EC4"),n.createElement(tt.default,{className:ae.tabs,activeKey:Bt,onChange:Ke},n.createElement(tt.default.TabPane,{tab:"\u5168\u90E8",key:""}),n.createElement(tt.default.TabPane,{tab:"\u8FDB\u884C\u4E2D",key:"progressing"}),n.createElement(tt.default.TabPane,{tab:"\u5DF2\u7ED3\u675F",key:"ended"})),n.createElement("div",{className:ae.list},n.createElement(oe.Z,{show:!1})),n.createElement("div",{onClick:()=>le.history.push(`/competitions?tabs=${Bt}`),className:ae.btn},"\u66F4\u591A\u8D5B\u4E8B",n.createElement("i",{className:"iconfont icon-zhankai1 font14 ml5"})))))};var Wa=(0,le.connect)(({competitions:g,user:c})=>({competitions:g,user:c}))(_i),vi=v(2337),$i=v(93948),pi={ProgressStyle:"ProgressStyle___gcSk5",title:"title___ti6Wz",fullScreen:"fullScreen___n9edN"},ti=v(84056),Va=v(90175),bi=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const ea=g=>bi(void 0,null,function*(){return(0,Xe.ZP)("/api/home/statistic.json",{method:"Get",params:g})}),bs=({dispatch:g})=>{var c,u,st,ot,Lt,Nt,St,Ue,pt,Bt,cn,An,Ln,vn,dn,Mn,Ke,Ct,Nn,Xt,Dn,or,bt,Yn,Xn,Kn,br,Mr,Br,ur,ke,De,it,Kt,kn,Pr,xr,Gr,jr,fn,Je,Dr,pn,Wr,Mt,Fr,Zr,cr,dr,fr;const[,,qr,ve]=(0,ie.U)(ea,{}),Te=(0,n.useMemo)(()=>{var we;const mt=(we=ve==null?void 0:ve.data)==null?void 0:we.homework_publish_statistic,zt=[{value:mt==null?void 0:mt.practice_count,name:"\u5B9E\u8BAD\u4F5C\u4E1A"},{value:mt==null?void 0:mt.hack_count,name:"\u7F16\u7A0B\u4F5C\u4E1A"},{value:mt==null?void 0:mt.normal_count,name:"\u56FE\u6587\u4F5C\u4E1A"},{value:mt==null?void 0:mt.group_count,name:"\u5206\u7EC4\u4F5C\u4E1A"},{value:mt==null?void 0:mt.exercise_count,name:"\u5728\u7EBF\u8003\u8BD5"}];return{tooltip:{trigger:"item"},legend:{orient:"vertical",right:"right",top:"center",itemWidth:14,textStyle:{color:"#727c95"},formatter:Or=>{const ir=zt==null?void 0:zt.find(gi=>(gi==null?void 0:gi.name)==Or);return`${Or}${(Math.round((ir==null?void 0:ir.value)/(mt==null?void 0:mt.total)*100)+"%").padStart(8)}`}},color:["#34A1FA","#FAAE96","#F5D67F","#3ED1AB","#90CDFF"],series:[{type:"pie",center:["20%","50%"],radius:["40%","75%"],data:zt,labelLine:{show:!1},label:{show:!1},itemStyle:{borderColor:"#fff",borderWidth:2}}]}},[(c=ve==null?void 0:ve.data)==null?void 0:c.homework_publish_statistic]),Jn=(0,n.useMemo)(()=>{var we,mt;const zt=(mt=(we=ve==null?void 0:ve.data)==null?void 0:we.student_learn_data)==null?void 0:mt.charts,Or=zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.count);return{tooltip:{trigger:"axis",axisPointer:{type:"none"}},yAxis:{type:"value",show:!1,splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},xAxis:{type:"category",data:zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.weekday),splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:"#727C95"},axisLine:{lineStyle:{color:"rgba(114, 124, 149, .2)"}}},grid:{top:"12%",left:"3%",right:"4%",bottom:"3%",containLabel:!0},series:[{type:"bar",barWidth:"40%",data:Or,label:{show:!0,position:"top",color:"#121C31"},itemStyle:{color:"#ACC6FF",borderRadius:2},emphasis:{itemStyle:{color:"#5E91FE"}}}]}},[(st=(u=ve==null?void 0:ve.data)==null?void 0:u.student_learn_data)==null?void 0:st.charts]),Pe=(0,n.useMemo)(()=>{var we,mt;const zt=(mt=(we=ve==null?void 0:ve.data)==null?void 0:we.homework_number_statistic)==null?void 0:mt.charts,Or=zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.count);return{tooltip:{trigger:"axis",axisPointer:{type:"none"}},yAxis:{type:"value",show:!1,splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},xAxis:{type:"category",data:zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.weekday),splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:"#727C95"},axisLine:{lineStyle:{color:"rgba(114, 124, 149, .2)"}}},grid:{top:"12%",left:"3%",right:"4%",bottom:"3%",containLabel:!0},series:[{type:"bar",barWidth:"40%",data:Or,label:{show:!0,position:"top",color:"#121C31"},itemStyle:{color:"#BBE7DD",borderRadius:2},emphasis:{itemStyle:{color:"#63E7C5"}}}]}},[(Lt=(ot=ve==null?void 0:ve.data)==null?void 0:ot.homework_number_statistic)==null?void 0:Lt.charts]),[Ut,gr]=(0,n.useState)(!1),[_r,Vr]=(0,n.useState)(0),z=(0,n.useRef)(null),Rt=()=>bi(void 0,null,function*(){const we=yield qr({});(we==null?void 0:we.status)==0&&setTimeout(()=>{Rt()},5*60*1e3)});return(0,n.useEffect)(()=>{(0,Et.bg)()?Rt():le.history.push("/newlogin")},[(0,Et.bg)()]),(0,n.useEffect)(()=>{if(!z.current)return;const we=()=>{if(z.current){const Or=z.current.clientHeight;Or!==_r&&Vr(Or)}};we();const mt=new ResizeObserver(()=>{we()});mt.observe(z.current);const zt=()=>{requestAnimationFrame(we)};return document.addEventListener("fullscreenchange",zt),window.addEventListener("resize",we),()=>{mt.disconnect(),document.removeEventListener("fullscreenchange",zt),window.removeEventListener("resize",we)}},[_r]),(0,n.useEffect)(()=>{const we=()=>{const zt=document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement;gr(!!zt)};document.addEventListener("fullscreenchange",we),document.addEventListener("webkitfullscreenchange",we),document.addEventListener("mozfullscreenchange",we),document.addEventListener("MSFullscreenChange",we);const mt=zt=>{console.log(zt.key,"event.key"),zt.key==="F11"&&(zt.preventDefault(),Ut?(0,ti.BU)():(0,ti.Dj)(document.getElementById("dashboard")),gr(!Ut)),zt.key==="Escape"&&Ut&&((0,ti.BU)(),gr(!1))};return window.addEventListener("keydown",mt),()=>{document.removeEventListener("fullscreenchange",we),document.removeEventListener("webkitfullscreenchange",we),document.removeEventListener("mozfullscreenchange",we),document.removeEventListener("MSFullscreenChange",we),window.removeEventListener("keydown",mt)}},[]),n.createElement(Va.Z,{mainDom:n.createElement("div",{id:"dashboard",style:{minHeight:Ut?"100vh":"",backgroundColor:"#EEF5FE"}},Ut&&n.createElement("div",{className:"flex item-center relative justify-center",style:{height:"95rem",zIndex:100}},n.createElement("img",{className:"absolute w-full",src:v(33226),style:{top:0,left:0,zIndex:-1}}),Ut&&n.createElement("div",{className:"flex item-center justify-between absolute",style:{right:"80rem",bottom:"6rem"}},n.createElement("div",{className:pi.fullScreen,style:{width:"132rem"},onClick:()=>{Ut?(0,ti.BU)():(0,ti.Dj)(document.getElementById("dashboard")),gr(!Ut)}},n.createElement("i",{className:"iconfont icon-hjj-tuichuquanping font14"}),n.createElement("div",null,"\u9000\u51FA\u5168\u5C4F")))),n.createElement("div",{className:"flex flex-col gap-20px-rem py-20px-rem px-24px-rem",style:{color:"#121C31",height:Ut?"calc(100vh - 95rem)":"calc(100vh - 70rem)",overflowY:"auto",padding:Ut?"20rem 80rem":"20rem 20rem"}},!Ut&&n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:pi.title},"\u6570\u636E\u770B\u677F"),n.createElement("div",{className:pi.fullScreen,onClick:()=>{Ut?(0,ti.BU)():(0,ti.Dj)(document.getElementById("dashboard")),gr(!Ut)}},n.createElement("i",{className:"iconfont icon-hjj-quanping font14"}),n.createElement("div",null,"\u5168\u5C4F"))),n.createElement("div",{className:"flex gap-18px-rem",style:{height:"14%"}},n.createElement("div",{className:"flex flex-col gap-20px-rem rounded-8px-rem bg-white py-14px-rem px-20px-rem flex-2"},n.createElement("div",{className:"font-medium"},"\u5E73\u53F0\u6210\u5458"),n.createElement("div",{className:"flex item-center justify-between"},[{title:"\u5B66\u4E60\u603B\u4EBA\u6570",num:(St=(Nt=ve==null?void 0:ve.data)==null?void 0:Nt.platform_member)==null?void 0:St.total,icon:"#icon-hjj-xuexizongrenshu"},{title:"\u6559\u5E08\u6570",num:(pt=(Ue=ve==null?void 0:ve.data)==null?void 0:Ue.platform_member)==null?void 0:pt.teacher_count,icon:"#icon-hjj-jiaoshishu1"},{title:"\u5B66\u751F\u6570",num:(cn=(Bt=ve==null?void 0:ve.data)==null?void 0:Bt.platform_member)==null?void 0:cn.student_count,icon:"#icon-hjj-xueshengshu"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-10px-rem"},n.createElement("svg",{className:"icon text-36px-rem","aria-hidden":!0},n.createElement("use",{xlinkHref:`${we==null?void 0:we.icon}`})),n.createElement("div",{className:"flex flex-col gap-4px-rem"},n.createElement("div",{className:"text-20px-rem font-bold",style:{lineHeight:"20rem"}},(we==null?void 0:we.num)||0),n.createElement("div",{className:"c-grey-666 text-12px-rem"},we==null?void 0:we.title)))))),n.createElement("div",{className:"flex flex-col gap-20px-rem rounded-8px-rem bg-white py-14px-rem px-20px-rem",style:{flex:"1.5"}},n.createElement("div",{className:"font-medium"},"\u5B66\u4E60\u4EBA\u6570"),n.createElement("div",{className:"flex item-center justify-between"},[{title:"7\u5929\u5185\u6D3B\u8DC3\u7528\u6237",num:(Ln=(An=ve==null?void 0:ve.data)==null?void 0:An.learn_number)==null?void 0:Ln.weekly_active_user_count,icon:"#icon-hjj-jinrixuexirenshu1"},{title:"\u6B63\u5728\u5B66\u4E60\u4EBA\u6570",num:(dn=(vn=ve==null?void 0:ve.data)==null?void 0:vn.learn_number)==null?void 0:dn.learning_count,icon:"#icon-hjj-zhengzaixuexirenshu"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-10px-rem"},n.createElement("svg",{className:"icon text-36px-rem","aria-hidden":!0},n.createElement("use",{xlinkHref:`${we==null?void 0:we.icon}`})),n.createElement("div",{className:"flex flex-col gap-4px-rem"},n.createElement("div",{className:"text-20px-rem font-bold",style:{lineHeight:"20rem"}},we==null?void 0:we.num),n.createElement("div",{className:"c-grey-666 text-12px-rem"},we==null?void 0:we.title)))))),n.createElement("div",{className:"flex flex-col gap-20px-rem rounded-8px-rem bg-white py-14px-rem px-20px-rem flex-2"},n.createElement("div",{className:"font-medium"},"\u6559\u5B66\u5185\u5BB9\u6982\u89C8"),n.createElement("div",{className:"flex item-center justify-between"},[{title:"\u5B9E\u8DF5\u9879\u76EE\u6570",num:(Ke=(Mn=ve==null?void 0:ve.data)==null?void 0:Mn.teaching_content_overview)==null?void 0:Ke.shixun_count,icon:"#icon-hjj-shijianxiangmushu"},{title:"\u667A\u6167\u8BFE\u7A0B\u6570",num:(Nn=(Ct=ve==null?void 0:ve.data)==null?void 0:Ct.teaching_content_overview)==null?void 0:Nn.subject_count,icon:"#icon-hjj-zhihuikechengshu"},{title:"\u6559\u5B66\u8BFE\u5802\u6570",num:(Dn=(Xt=ve==null?void 0:ve.data)==null?void 0:Xt.teaching_content_overview)==null?void 0:Dn.course_count,icon:"#icon-hjj-jiaoxueketangshu"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-10px-rem"},n.createElement("svg",{className:"icon text-36px-rem","aria-hidden":!0},n.createElement("use",{xlinkHref:`${we==null?void 0:we.icon}`})),n.createElement("div",{className:"flex flex-col gap-4px-rem"},n.createElement("div",{className:"text-20px-rem font-bold",style:{lineHeight:"20rem"}},we==null?void 0:we.num),n.createElement("div",{className:"c-grey-666 text-12px-rem"},we==null?void 0:we.title))))))),n.createElement("div",{className:"flex gap-18px-rem",style:{height:"29%"},ref:z},n.createElement("div",{className:"flex-2 rounded-8px-rem ",style:{overflow:"hidden"}},n.createElement(te.Z,{className:"w-full h-full",autoplay:!0},(or=ve==null?void 0:ve.data)==null?void 0:or.images_url.map((we,mt)=>{var zt;return n.createElement("div",{key:mt,className:"w-full h-full"},n.createElement("div",{style:{width:"100%",height:_r||((zt=z==null?void 0:z.current)==null?void 0:zt.clientHeight),background:`url(${Zt.Z.IMG_SERVER}${we==null?void 0:we.image_url}) center / auto 100% no-repeat`}}))}))),n.createElement("div",{className:"flex flex-col gap-10px-rem flex-1 minW-0 rounded-8px-rem bg-white py-14px-rem px-16px-rem"},n.createElement("div",{className:"c-grey-333 font-medium"},"\u4F5C\u4E1A\u53D1\u5E03\u6570\u7EDF\u8BA1"),n.createElement("div",{style:{margin:"auto 0"}},n.createElement(fe.Z,{style:{height:"137px"},option:Te}))),n.createElement("div",{className:"flex flex-col gap-10px-rem flex-1 minW-0 rounded-8px-rem bg-white py-14px-rem px-16px-rem"},n.createElement("div",{className:"c-grey-333 font-medium"},"\u5B9E\u9A8C\u7EDF\u8BA1"),n.createElement("div",{className:"flex-1 minW-0 flex flex-col gap-8px-rem"},[{title:"\u8BC4\u6D4B\u603B\u6B21\u6570",num:(Yn=(bt=ve==null?void 0:ve.data)==null?void 0:bt.shixun_evaluate_statistic)==null?void 0:Yn.evaluate_count,icon:"icon-hjj-pingcezongcishu"},{title:"\u7D2F\u8BA1\u901A\u8FC7\u6B21\u6570",num:(Kn=(Xn=ve==null?void 0:ve.data)==null?void 0:Xn.shixun_evaluate_statistic)==null?void 0:Kn.pass_count,icon:"icon-hjj-leijitongguocishu"},{title:"\u5E73\u5747\u901A\u8FC7\u7387",num:((Mr=(br=ve==null?void 0:ve.data)==null?void 0:br.shixun_evaluate_statistic)==null?void 0:Mr.avg_pass_rate)*100,icon:"icon-hjj-pingjuntongguoshuai",unit:"%"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex-1 minW-0 flex gap-8px-rem item-center rounded-4px-rem pl-12px-rem",style:{background:"linear-gradient( 90deg, #E8F3FD 0%, #FFFFFF 100%)"}},n.createElement("span",{className:`iconfont ${we==null?void 0:we.icon}`,style:{color:"#6898FE",fontSize:"12rem"}}),n.createElement("div",{className:"text-12px-rem",style:{color:"rgba(11,15,23,0.6)"}},we==null?void 0:we.title),n.createElement("div",{className:"ml-auto text-16px-rem",style:{color:"#121C31"}},we==null?void 0:we.num,we==null?void 0:we.unit)))))),n.createElement("div",{className:"grid gap-18px-rem",style:{gridTemplateColumns:"1fr 1fr",height:"62%"}},n.createElement("div",{className:"flex flex-col gap-25px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},n.createElement("div",{className:"font-medium c-grey-333"},"\u5B66\u751F\u5B66\u4E60\u6570\u636E"),n.createElement("div",{className:"flex-1 flex gap-20px-rem"},n.createElement("div",{className:"rounded-6px-rem h-full py-14px-rem px-10px-rem",style:{background:"linear-gradient( 180deg, #F2F8FF 0%, #FFFFFF 100%)"}},n.createElement("div",{className:"text-12px-rem c-grey-666"},"\u4ECA\u65E5\u8BC4\u6D4B\u603B\u6B21\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((ur=(Br=ve==null?void 0:ve.data)==null?void 0:Br.student_learn_data)==null?void 0:ur.today_learn_count)||0),n.createElement("div",{className:"w-full mt-14px-rem ",style:{height:"1rem",border:"1rem dashed rgba(33,135,217,0.43)"}}),n.createElement("div",{className:"text-12px-rem c-grey-666 text-nowrap mt-14px-rem"},"\u8FD17\u65E5\u8BC4\u6D4B\u603B\u6B21\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((De=(ke=ve==null?void 0:ve.data)==null?void 0:ke.student_learn_data)==null?void 0:De.recently_learn_count)||0)),n.createElement(fe.Z,{className:"flex-1",style:{height:"162rem"},option:Jn}))),n.createElement("div",{className:"flex flex-col gap-25px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},n.createElement("div",{className:"font-medium c-grey-333"},"\u4F5C\u4E1A\u53D1\u5E03\u6570\u7EDF\u8BA1"),n.createElement("div",{className:"flex-1 flex gap-20px-rem"},n.createElement("div",{className:"rounded-6px-rem h-full py-14px-rem px-10px-rem",style:{background:"linear-gradient( 180deg, #F2F8FF 0%, #FFFFFF 100%)"}},n.createElement("div",{className:"text-12px-rem c-grey-666"},"\u4ECA\u65E5\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((Kt=(it=ve==null?void 0:ve.data)==null?void 0:it.homework_number_statistic)==null?void 0:Kt.today_homework_count)||0),n.createElement("div",{className:"w-full mt-14px-rem ",style:{height:"1rem",border:"1rem dashed rgba(33,135,217,0.43)"}}),n.createElement("div",{className:"text-12px-rem c-grey-666 text-nowrap mt-14px-rem"},"\u8FD17\u5929\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((Pr=(kn=ve==null?void 0:ve.data)==null?void 0:kn.homework_number_statistic)==null?void 0:Pr.recently_homework_count)||0)),n.createElement(fe.Z,{className:"flex-1",style:{height:"162rem"},option:Pe}))),n.createElement("div",{className:"flex flex-col gap-10px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},n.createElement("div",{className:"font-medium c-grey-333"},"\u5B66\u751F\u6574\u4F53\u4F5C\u4E1A\u5B8C\u6210\u7387"),n.createElement("div",{className:"mt-16px-rem flex flex-col gap-20px-rem"},[{title:"\u5B9E\u8BAD\u4F5C\u4E1A",percent:(Gr=(xr=ve==null?void 0:ve.data)==null?void 0:xr.homework_complete_statistic)==null?void 0:Gr.practice_rate,strokeColor:{from:"#C8D9FD",to:"#6596FE"}},{title:"\u7F16\u7A0B\u4F5C\u4E1A",percent:(fn=(jr=ve==null?void 0:ve.data)==null?void 0:jr.homework_complete_statistic)==null?void 0:fn.hack_rate,strokeColor:{from:"#D5E8FE",to:"#67B4F7"}},{title:"\u56FE\u6587\u4F5C\u4E1A",percent:(Dr=(Je=ve==null?void 0:ve.data)==null?void 0:Je.homework_complete_statistic)==null?void 0:Dr.normal_rate,strokeColor:{from:"#D2EFFF",to:"#72CDFF"}},{title:"\u5206\u7EC4\u4F5C\u4E1A",percent:(Wr=(pn=ve==null?void 0:ve.data)==null?void 0:pn.homework_complete_statistic)==null?void 0:Wr.group_rate,strokeColor:{from:"#F1E6CA",to:"#FFD28C"}}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-20px-rem"},n.createElement("div",{className:"text-nowrap",style:{color:"#727C95"}},we==null?void 0:we.title),n.createElement($i.Z,{className:pi.ProgressStyle,percent:Math.round((we==null?void 0:we.percent)*1e4)/100,strokeColor:we==null?void 0:we.strokeColor,format:zt=>n.createElement("span",{className:"text-16px-rem",style:{color:"#121C31"}},zt.toFixed(1),"%")}))))),n.createElement("div",{className:"flex gap-10px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},[{title:"\u8BD5\u9898\u603B\u6570",src:v(31632),num:(Fr=(Mt=ve==null?void 0:ve.data)==null?void 0:Mt.count_statistic)==null?void 0:Fr.question_count},{title:"\u8BD5\u5377\u603B\u6570",src:v(52609),num:(cr=(Zr=ve==null?void 0:ve.data)==null?void 0:Zr.count_statistic)==null?void 0:cr.paper_count},{title:"\u8BFE\u4EF6\u603B\u6570",src:v(46326),num:(fr=(dr=ve==null?void 0:ve.data)==null?void 0:dr.count_statistic)==null?void 0:fr.courseware_count}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex flex-col item-center justify-center flex-1 minW-0 rounded-8px-rem ",style:{background:"linear-gradient( 180deg, rgba(234,243,255,0.8) 0%, #F8FCFF 100%)"}},n.createElement("img",{src:we==null?void 0:we.src,style:{width:"40rem"}}),n.createElement("div",{className:"c-grey-666 mt-24px-rem"},we==null?void 0:we.title),n.createElement("div",{className:"text-20px-rem font-bold mt-4px-rem",style:{color:"#121C31"}},we==null?void 0:we.num)))))))})};var ta=(0,le.connect)(({})=>({}))(bs),Yt={homeCon:"homeCon___IPlea",mainLogo:"mainLogo___BS7eJ",exptStats:"exptStats___aCtB_",exptStatsItem:"exptStatsItem___l9SVl",esItemName:"esItemName___L8Tzl",titleName:"titleName___RKQq1",platSituStats:"platSituStats___iQ2Hu",pSSItem:"pSSItem___aWBDd",new_jxkt:"new_jxkt___uLIIr",new_syxm:"new_syxm___ZDHlH",kt_sx_item:"kt_sx_item___FL0da",kt_sx_item_user:"kt_sx_item_user___aZIT6",kt_sx_item_name:"kt_sx_item_name___XPGIy",kt_sx_item_time:"kt_sx_item_time___Gddx9",watchMore:"watchMore___gm2yE",fwsj_zyfb:"fwsj_zyfb___NjqSx",zyfb_info:"zyfb_info___lD1Cr",zyfb_info_l_r:"zyfb_info_l_r___ZEIxA",info_title:"info_title___rBABx",info_count:"info_count___JgjfG"},Ha=Object.defineProperty,na=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,ra=(g,c,u)=>c in g?Ha(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Qa=(g,c)=>{for(var u in c||(c={}))Ua.call(c,u)&&ra(g,u,c[u]);if(na)for(var u of na(c))xi.call(c,u)&&ra(g,u,c[u]);return g};const xs=g=>React.createElement("svg",Qa({width:15,height:14,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u8BC4\u6D4B\u603B\u6B21\u6570"),React.createElement("path",{d:"M.533.005c.292 0 .53.239.53.53v11.67h12.73c.292 0 .53.238.53.53 0 .291-.238.53-.53.53H.533a.532.532 0 0 1-.53-.53V.534c0-.291.239-.53.53-.53ZM13.236 2.79c.186-.212.53-.186.716 0 .186.185.186.504 0 .716L9.364 8.12a.524.524 0 0 1-.37.16.585.585 0 0 1-.399-.16L5.97 5.495 2.761 8.704a.513.513 0 0 1-.742 0 .513.513 0 0 1 0-.743l3.58-3.554a.524.524 0 0 1 .371-.159.79.79 0 0 1 .398.133L9.02 7.033Z",fill:"#00DDC7",fillRule:"nonzero"}));var Xa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTS41MzMuMDA1Yy4yOTIgMCAuNTMuMjM5LjUzLjUzdjExLjY3aDEyLjczYy4yOTIgMCAuNTMuMjM4LjUzLjUzIDAgLjI5MS0uMjM4LjUzLS41My41M0guNTMzYS41MzIuNTMyIDAgMCAxLS41My0uNTNWLjUzNGMwLS4yOTEuMjM5LS41My41My0uNTNaTTEzLjIzNiAyLjc5Yy4xODYtLjIxMi41My0uMTg2LjcxNiAwIC4xODYuMTg1LjE4Ni41MDQgMCAuNzE2TDkuMzY0IDguMTJhLjUyNC41MjQgMCAwIDEtLjM3LjE2LjU4NS41ODUgMCAwIDEtLjM5OS0uMTZMNS45NyA1LjQ5NSAyLjc2MSA4LjcwNGEuNTEzLjUxMyAwIDAgMS0uNzQyIDAgLjUxMy41MTMgMCAwIDEgMC0uNzQzbDMuNTgtMy41NTRhLjUyNC41MjQgMCAwIDEgLjM3MS0uMTU5Ljc5Ljc5IDAgMCAxIC4zOTguMTMzTDkuMDIgNy4wMzNaIiBmaWxsPSIjMDBEREM3IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Ka=Object.defineProperty,Li=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,aa=(g,c,u)=>c in g?Ka(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,qa=(g,c)=>{for(var u in c||(c={}))ia.call(c,u)&&aa(g,u,c[u]);if(Li)for(var u of Li(c))Ja.call(c,u)&&aa(g,u,c[u]);return g};const Ls=g=>React.createElement("svg",qa({width:15,height:15,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7D2F\u8BA1\u901A\u8FC7\u6B21\u6570"),React.createElement("path",{d:"M4.317 14.377H.724a.719.719 0 0 1-.718-.719V5.395c0-.397.321-.719.718-.719h3.593V.724c0-.397.322-.718.719-.718h4.31c.398 0 .72.321.72.718v6.827h3.592c.376 0 .689.29.717.664l.002.054v5.39c0 .375-.29.688-.665.716l-.054.002H4.317Zm0-8.623H1.083V13.3h3.234V5.754Zm8.982 2.874h-3.234V13.3H13.3v-4.67ZM8.988 1.083H5.395V13.3h3.593V1.083Z",fill:"#00DDC7",fillRule:"nonzero"}));var Ei="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuMzE3IDE0LjM3N0guNzI0YS43MTkuNzE5IDAgMCAxLS43MTgtLjcxOVY1LjM5NWMwLS4zOTcuMzIxLS43MTkuNzE4LS43MTloMy41OTNWLjcyNGMwLS4zOTcuMzIyLS43MTguNzE5LS43MThoNC4zMWMuMzk4IDAgLjcyLjMyMS43Mi43MTh2Ni44MjdoMy41OTJjLjM3NiAwIC42ODkuMjkuNzE3LjY2NGwuMDAyLjA1NHY1LjM5YzAgLjM3NS0uMjkuNjg4LS42NjUuNzE2bC0uMDU0LjAwMkg0LjMxN1ptMC04LjYyM0gxLjA4M1YxMy4zaDMuMjM0VjUuNzU0Wm04Ljk4MiAyLjg3NGgtMy4yMzRWMTMuM0gxMy4zdi00LjY3Wk04Ljk4OCAxLjA4M0g1LjM5NVYxMy4zaDMuNTkzVjEuMDgzWiIgZmlsbD0iIzAwRERDNyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+",sa=Object.defineProperty,Ni=Object.getOwnPropertySymbols,la=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable,Si=(g,c,u)=>c in g?sa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ua=(g,c)=>{for(var u in c||(c={}))la.call(c,u)&&Si(g,u,c[u]);if(Ni)for(var u of Ni(c))oa.call(c,u)&&Si(g,u,c[u]);return g};const _a=g=>React.createElement("svg",ua({width:16,height:15,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u5E73\u5747\u901A\u8FC7\u7387"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h14.4v14.4H0z"}),React.createElement("path",{d:"M5.572.552c.273 0 .455.091.546.364.09.273 0 .637-.273.728C2.75 3.01 1.295 6.558 2.659 9.653c1.001 2.184 3.095 3.64 5.552 3.64.819 0 1.638-.182 2.457-.546a6.056 6.056 0 0 0 3.185-3.185c.09-.182.273-.364.546-.364h.182c.182.09.273.182.273.273.091.182.091.273 0 .455-1.183 2.73-3.731 4.459-6.643 4.459a7.416 7.416 0 0 1-2.821-.546C1.75 12.292.02 8.015 1.567 4.374 2.295 2.645 3.66 1.371 5.3.644c.09 0 .182-.092.273-.092ZM8.21.006a7.147 7.147 0 0 1 7.189 7.19c0 .272-.273.546-.546.546H8.211c-.273 0-.546-.274-.546-.547V.552c0-.273.273-.546.546-.546Zm.637 1.183h-.091v5.46h5.46v-.09c-.182-1.366-.82-2.64-1.73-3.64-1-1.002-2.274-1.548-3.64-1.73Z",fill:"#00DDC7",fillRule:"nonzero"})));var wi="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDE0LjR2MTQuNEgweiIvPjxwYXRoIGQ9Ik01LjU3Mi41NTJjLjI3MyAwIC40NTUuMDkxLjU0Ni4zNjQuMDkuMjczIDAgLjYzNy0uMjczLjcyOEMyLjc1IDMuMDEgMS4yOTUgNi41NTggMi42NTkgOS42NTNjMS4wMDEgMi4xODQgMy4wOTUgMy42NCA1LjU1MiAzLjY0LjgxOSAwIDEuNjM4LS4xODIgMi40NTctLjU0NmE2LjA1NiA2LjA1NiAwIDAgMCAzLjE4NS0zLjE4NWMuMDktLjE4Mi4yNzMtLjM2NC41NDYtLjM2NGguMTgyYy4xODIuMDkuMjczLjE4Mi4yNzMuMjczLjA5MS4xODIuMDkxLjI3MyAwIC40NTUtMS4xODMgMi43My0zLjczMSA0LjQ1OS02LjY0MyA0LjQ1OWE3LjQxNiA3LjQxNiAwIDAgMS0yLjgyMS0uNTQ2QzEuNzUgMTIuMjkyLjAyIDguMDE1IDEuNTY3IDQuMzc0IDIuMjk1IDIuNjQ1IDMuNjYgMS4zNzEgNS4zLjY0NGMuMDkgMCAuMTgyLS4wOTIuMjczLS4wOTJaTTguMjEuMDA2YTcuMTQ3IDcuMTQ3IDAgMCAxIDcuMTg5IDcuMTljMCAuMjcyLS4yNzMuNTQ2LS41NDYuNTQ2SDguMjExYy0uMjczIDAtLjU0Ni0uMjc0LS41NDYtLjU0N1YuNTUyYzAtLjI3My4yNzMtLjU0Ni41NDYtLjU0NlptLjYzNyAxLjE4M2gtLjA5MXY1LjQ2aDUuNDZ2LS4wOWMtLjE4Mi0xLjM2Ni0uODItMi42NC0xLjczLTMuNjQtMS0xLjAwMi0yLjI3NC0xLjU0OC0zLjY0LTEuNzNaIiBmaWxsPSIjMDBEREM3IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+",ni=Object.defineProperty,Mi=Object.getOwnPropertySymbols,$a=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,ri=(g,c,u)=>c in g?ni(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ca=(g,c)=>{for(var u in c||(c={}))$a.call(c,u)&&ri(g,u,c[u]);if(Mi)for(var u of Mi(c))es.call(c,u)&&ri(g,u,c[u]);return g};const da=g=>React.createElement("svg",ca({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"5"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"sjkc_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"sjkc_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M4.235.257v27.454H1.497c-.339 0-.655-.139-.882-.375a1.306 1.306 0 0 1-.358-.919V1.551c0-.327.15-.665.39-.914.217-.225.513-.38.85-.38h2.738Zm18.064 0c.34 0 .655.139.883.375.22.228.358.547.358.919v24.891c.071.347-.019.664-.216.893a1.127 1.127 0 0 1-.864.376H6.3V.364h8.363v9.862l3.151-3.385 3.245 3.245V.257Z",transform:"translate(17.828 15.967)",fill:"url(#sjkc_svg__a)",stroke:"url(#sjkc_svg__b)",strokeWidth:.514})));var ts="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwMEREQzciIGN4PSIzMCIgY3k9IjMwIiByPSIzMCIvPjxwYXRoIGQ9Ik00LjIzNS4yNTd2MjcuNDU0SDEuNDk3Yy0uMzM5IDAtLjY1NS0uMTM5LS44ODItLjM3NWExLjMwNiAxLjMwNiAwIDAgMS0uMzU4LS45MTlWMS41NTFjMC0uMzI3LjE1LS42NjUuMzktLjkxNC4yMTctLjIyNS41MTMtLjM4Ljg1LS4zOGgyLjczOFptMTguMDY0IDBjLjM0IDAgLjY1NS4xMzkuODgzLjM3NS4yMi4yMjguMzU4LjU0Ny4zNTguOTE5djI0Ljg5MWMuMDcxLjM0Ny0uMDE5LjY2NC0uMjE2Ljg5M2ExLjEyNyAxLjEyNyAwIDAgMS0uODY0LjM3Nkg2LjNWLjM2NGg4LjM2M3Y5Ljg2MmwzLjE1MS0zLjM4NSAzLjI0NSAzLjI0NVYuMjU3WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTcuODI4IDE1Ljk2NykiIGZpbGw9InVybCgjYSkiIHN0cm9rZT0idXJsKCNiKSIgc3Ryb2tlLXdpZHRoPSIuNTE0Ii8+PC9nPjwvc3ZnPg==",Bi=Object.defineProperty,fa=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,rs=Object.prototype.propertyIsEnumerable,ga=(g,c,u)=>c in g?Bi(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,is=(g,c)=>{for(var u in c||(c={}))ns.call(c,u)&&ga(g,u,c[u]);if(fa)for(var u of fa(c))rs.call(c,u)&&ga(g,u,c[u]);return g};const Ns=g=>React.createElement("svg",is({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"6"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"sjrw_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"sjrw_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M28.636 22.48c.197 0 .386.053.551.15.166.097.307.239.406.413.2.352.2.784 0 1.137a1.101 1.101 0 0 1-.957.563H1.363a1.09 1.09 0 0 1-.78-.33 1.141 1.141 0 0 1-.326-.802c0-.313.124-.597.326-.802.2-.203.476-.33.78-.33ZM25.908.256c1.059 0 2.017.437 2.71 1.143a3.931 3.931 0 0 1 1.118 2.537l.007.23V16.11c0 1.08-.43 2.058-1.125 2.766a3.79 3.79 0 0 1-2.485 1.137l-.225.006H4.092a3.786 3.786 0 0 1-2.71-1.143A3.93 3.93 0 0 1 .264 16.34l-.007-.23V4.167c0-1.08.43-2.059 1.125-2.766A3.79 3.79 0 0 1 3.866.264l.226-.007h21.816ZM16.111 3.91h-1.389l-.167.008a1.71 1.71 0 0 0-.987.425 1.442 1.442 0 0 0-.492 1.075c0 .418.186.8.492 1.075.295.265.703.432 1.154.432h1.39l.166-.008c.385-.035.729-.192.987-.424.306-.276.492-.657.492-1.075 0-.42-.186-.8-.492-1.075a1.722 1.722 0 0 0-1.154-.433Z",transform:"translate(15 18)",fill:"url(#sjrw_svg__a)",stroke:"url(#sjrw_svg__b)",strokeWidth:.514})));var ma="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MC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NS4wMDZINC4wOTJhMy43ODYgMy43ODYgMCAwIDEtMi43MS0xLjE0M0EzLjkzIDMuOTMgMCAwIDEgLjI2NCAxNi4zNGwtLjAwNy0uMjNWNC4xNjdjMC0xLjA4LjQzLTIuMDU5IDEuMTI1LTIuNzY2QTMuNzkgMy43OSAwIDAgMSAzLjg2Ni4yNjRsLjIyNi0uMDA3aDIxLjgxNlpNMTYuMTExIDMuOTFoLTEuMzg5bC0uMTY3LjAwOGExLjcxIDEuNzEgMCAwIDAtLjk4Ny40MjUgMS40NDIgMS40NDIgMCAwIDAtLjQ5MiAxLjA3NWMwIC40MTguMTg2LjguNDkyIDEuMDc1LjI5NS4yNjUuNzAzLjQzMiAxLjE1NC40MzJoMS4zOWwuMTY2LS4wMDhjLjM4NS0uMDM1LjcyOS0uMTkyLjk4Ny0uNDI0LjMwNi0uMjc2LjQ5Mi0uNjU3LjQ5Mi0xLjA3NSAwLS40Mi0uMTg2LS44LS40OTItMS4wNzVhMS43MjIgMS43MjIgMCAwIDAtMS4xNTQtLjQzM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE1IDE4KSIgZmlsbD0idXJsKCNhKSIgc3Ryb2tlPSJ1cmwoI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",as=Object.defineProperty,ha=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,ss=Object.prototype.propertyIsEnumerable,fi=(g,c,u)=>c in g?as(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Aa=(g,c)=>{for(var u in c||(c={}))ji.call(c,u)&&fi(g,u,c[u]);if(ha)for(var u of ha(c))ss.call(c,u)&&fi(g,u,c[u]);return g};const Ss=g=>React.createElement("svg",Aa({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"12"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"syhj_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"syhj_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M22.969 14.32a3.96 3.96 0 0 1 3.961 3.961c1.026.91 1.67 1.23 2.106 1.76.443.537.672 1.283.703 2.221.002 1.274-.271 2.213-.85 2.83-.584.62-1.469.9-2.639.9H13.125c-1.128 0-1.99-.26-2.575-.808-.582-.545-.878-1.368-.914-2.447-.002-1.273.271-2.213.85-2.83.584-.62 1.469-.9 2.639-.9.307-1.256.708-2.129 1.33-2.751a3.398 3.398 0 0 1 2.42-1c.916 0 1.75.353 2.372.93.727-.571 1.185-1.015 1.741-1.336a3.96 3.96 0 0 1 1.98-.53Zm-21.738.662.116.003 10.964.005c-.384.42-.67.921-.832 1.465-1.343.361-2.597 1.034-3.513 1.97-.862.88-1.428 1.991-1.501 3.304a7.412 7.412 0 0 0 1.197 4.211H1.348a1 1 0 0 1-.726-.272.941.941 0 0 1-.292-.699v-9.133a.894.894 0 0 1 .278-.593.956.956 0 0 1 .739-.258Zm20.212-7.016c.188.163.325.386.377.642l.02.13v3.01c-.021.296-.16.572-.387.765a1.181 1.181 0 0 1-.719.283l-.132-.001H1.498A1.193 1.193 0 0 1 .28 11.87l-.023-.13V8.737c.02-.297.16-.573.387-.767.202-.173.455-.272.719-.283l.132.002h19.107c.319-.024.617.084.84.278ZM3.167 8.54A1.649 1.649 0 0 0 1.994 9a1.663 1.663 0 0 0-.513 1.18c.025.441.22.837.523 1.126.3.287.708.468 1.158.482a1.644 1.644 0 0 0 1.666-1.62 1.644 1.644 0 0 0-1.66-1.628ZM1.352.257l.134.011h19.116a1.155 1.155 0 0 1 1.218.92l.02.132v3.008c-.021.297-.16.572-.387.766a1.181 1.181 0 0 1-.719.283l-.132-.002H1.495c-.31.022-.616-.08-.852-.283a1.112 1.112 0 0 1-.37-.64l-.016-.126v-3.02c0-.302.131-.588.36-.785C.788.375 1 .285 1.22.263l.133-.006Zm1.815.794a1.704 1.704 0 0 0-1.686 1.637c.025.442.22.838.523 1.128.3.287.708.469 1.158.483a1.644 1.644 0 0 0 1.666-1.623 1.64 1.64 0 0 0-1.66-1.625Z",transform:"translate(18 17)",fill:"url(#syhj_svg__a)",stroke:"url(#syhj_svg__b)",strokeWidth:.514})));var ls="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwMEREQzciIGN4PSIzMCIgY3k9IjMwIiByPSIzMCIvPjxwYXRoIGQ9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oI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",Bs=Object.defineProperty,Oi=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,us=Object.prototype.propertyIsEnumerable,va=(g,c,u)=>c in g?Bs(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,cs=(g,c)=>{for(var u in c||(c={}))os.call(c,u)&&va(g,u,c[u]);if(Oi)for(var u of Oi(c))us.call(c,u)&&va(g,u,c[u]);return g};const tl=g=>React.createElement("svg",cs({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"stsl_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"stsl_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M22.605.257c.342 0 .658.111.914.3.185.135.338.31.448.514l.074.157-9.768 14.208.108 3.224a2.208 2.208 0 0 0 2.626 2.175l.206-.05 3.205-1.065 3.722-5.36v9.736a1.553 1.553 0 0 1-1.267 1.524l-.146.02-20.92.006A1.553 1.553 0 0 1 .283 24.38l-.02-.146L.257 1.807A1.553 1.553 0 0 1 1.524.283l.147-.02L22.605.257ZM10.843 18.72H4.217l-.15.007a1.46 1.46 0 0 0-.883.422c-.265.265-.43.63-.43 1.033 0 .385.151.737.415 1.001.25.25.606.423 1.036.46h6.638l.15-.007a1.46 1.46 0 0 0 .883-.422 1.458 1.458 0 0 0 0-2.065 1.458 1.458 0 0 0-1.033-.43Zm2.41-7.23H4.217l-.15.008a1.46 1.46 0 0 0-.883.422c-.265.265-.43.63-.43 1.033 0 .385.151.737.415 1.001.25.25.606.423 1.036.46h9.048l.149-.007a1.46 1.46 0 0 0 .884-.421 1.458 1.458 0 0 0 0-2.066 1.458 1.458 0 0 0-1.033-.43Zm3.012-7.228H4.217l-.15.008a1.46 1.46 0 0 0-.883.421c-.265.265-.43.63-.43 1.033 0 .385.151.737.415 1.001.25.25.606.423 1.036.46h12.06l.149-.007a1.46 1.46 0 0 0 .884-.421 1.458 1.458 0 0 0 0-2.066 1.458 1.458 0 0 0-1.033-.43Zm8.167-.409 3.313 2.312-8.42 12.128-2.479.822c-.24.017-.422-.01-.552-.083l-.281-3.066 8.419-12.113Zm1.805-2.563 3.29 1.803a.3.3 0 0 1 .111.159.289.289 0 0 1 0 .173l-.713 1.037-3.31-2.282.622-.89Z",transform:"translate(15.012 17.002)",fill:"url(#stsl_svg__a)",stroke:"url(#stsl_svg__b)",strokeWidth:.514})));var ds="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0P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2aDkuMDQ4bC4xNDktLjAwN2ExLjQ2IDEuNDYgMCAwIDAgLjg4NC0uNDIxIDEuNDU4IDEuNDU4IDAgMCAwIDAtMi4wNjYgMS40NTggMS40NTggMCAwIDAtMS4wMzMtLjQzWm0zLjAxMi03LjIyOEg0LjIxN2wtLjE1LjAwOGExLjQ2IDEuNDYgMCAwIDAtLjg4My40MjFjLS4yNjUuMjY1LS40My42My0uNDMgMS4wMzMgMCAuMzg1LjE1MS43MzcuNDE1IDEuMDAxLjI1LjI1LjYwNi40MjMgMS4wMzYuNDZoMTIuMDZsLjE0OS0uMDA3YTEuNDYgMS40NiAwIDAgMCAuODg0LS40MjEgMS40NTggMS40NTggMCAwIDAgMC0yLjA2NiAxLjQ1OCAxLjQ1OCAwIDAgMC0xLjAzMy0uNDNabTguMTY3LS40MDkgMy4zMTMgMi4zMTItOC40MiAxMi4xMjgtMi40NzkuODIyYy0uMjQuMDE3LS40MjItLjAxLS41NTItLjA4M2wtLjI4MS0zLjA2NiA4LjQxOS0xMi4xMTNabTEuODA1LTIuNTYzIDMuMjkgMS44MDNhLjMuMyAwIDAgMSAuMTExLjE1OS4yODkuMjg5IDAgMCAxIDAgLjE3M2wtLjcxMyAxLjAzNy0zLjMxLTIuMjgyLjYyMi0uODlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS4wMTIgMTcuMDAyKSIgZmlsbD0idXJsKCNhKSIgc3Ryb2tlPSJ1cmwoI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",pa=Object.defineProperty,ii=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,fs=Object.prototype.propertyIsEnumerable,wa=(g,c,u)=>c in g?pa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,gs=(g,c)=>{for(var u in c||(c={}))Ea.call(c,u)&&wa(g,u,c[u]);if(ii)for(var u of ii(c))fs.call(c,u)&&wa(g,u,c[u]);return g};const i=g=>React.createElement("svg",gs({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"10"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"xsks_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"xsks_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"m11.501 9.255.438.603 8.076 8.262.414.422-.157.57-2.592 9.46-.207.757h-.79l-15.157.252 6.532-6.532a2.47 2.47 0 0 0 2.916-1.022 2.47 2.47 0 0 0 .35-1.685 2.47 2.47 0 0 0-.831-1.506 2.47 2.47 0 0 0-1.612-.6 2.47 2.47 0 0 0-1.615.594 2.47 2.47 0 0 0-.594 3.01l-4.658 4.657-1.75 1.751.167-15.757.742-.217 9.634-2.815.694-.204ZM17.926.257c1.017 0 1.985.41 2.732 1.152l7.702 7.975a3.834 3.834 0 0 1 1.144 2.626 3.457 3.457 0 0 1-1 2.538l-3.027 2.076c-.455.4-1.09.65-1.923.826-1.41.054-2.393-.348-3.122-1.065L13.41 9.434a3.843 3.843 0 0 1-1.154-2.53c-.05-.913.234-1.784.81-2.455l2.238-3.016c.9-.849 1.742-1.18 2.621-1.176Z",transform:"translate(17.009 15.011)",fill:"url(#xsks_svg__a)",stroke:"url(#xsks_svg__b)",strokeWidth:.514})));var a="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1M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MTUybDcuNzAyIDcuOTc1YTMuODM0IDMuODM0IDAgMCAxIDEuMTQ0IDIuNjI2IDMuNDU3IDMuNDU3IDAgMCAxLTEgMi41MzhsLTMuMDI3IDIuMDc2Yy0uNDU1LjQtMS4wOS42NS0xLjkyMy44MjYtMS40MS4wNTQtMi4zOTMtLjM0OC0zLjEyMi0xLjA2NUwxMy40MSA5LjQzNGEzLjg0MyAzLjg0MyAwIDAgMS0xLjE1NC0yLjUzYy0uMDUtLjkxMy4yMzQtMS43ODQuODEtMi40NTVsMi4yMzgtMy4wMTZjLjktLjg0OSAxLjc0Mi0xLjE4IDIuNjIxLTEuMTc2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTcuMDA5IDE1LjAxMSkiIGZpbGw9InVybCgjYSkiIHN0cm9rZT0idXJsKCNiKSIgc3Ryb2tlLXdpZHRoPSIuNTE0Ii8+PC9nPjwvc3ZnPg==",s=Object.defineProperty,h=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,E=(g,c,u)=>c in g?s(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,L=(g,c)=>{for(var u in c||(c={}))A.call(c,u)&&E(g,u,c[u]);if(h)for(var u of h(c))M.call(c,u)&&E(g,u,c[u]);return g};const S=g=>React.createElement("svg",L({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"2"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"ljxxrs_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"ljxxrs_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M16 .257A6.711 6.711 0 0 1 22.743 7c0 1.987-.881 3.775-2.259 5.01-.151.135-.309.265-.471.387.195.015.399.035.613.06 2.97.344 3.845 1.165 4.645 2.681l.083.16 4.008-.935c.652-.212 1.413-.104 2.065.313a2.193 2.193 0 0 1 1.162 1.38l.035.151.119 8.705c0 .571-.218 1.115-.581 1.556-.33.4-.78.716-1.295.891l-.197.06-14.29 3.317L2.338 27.42a2.897 2.897 0 0 1-1.499-.952 2.486 2.486 0 0 1-.573-1.367l-.008-.189v-8.04c0-.731.299-1.384.788-1.854a2.787 2.787 0 0 1 1.944-.76c.167 0 .336-.006.504.048l.126.052 3.049.712c.727-1.208 1.774-2.125 4.783-2.551.21-.03.41-.055.602-.075a6.897 6.897 0 0 1-.469-.374C10.168 10.835 9.257 9.02 9.257 7A6.711 6.711 0 0 1 16 .257Zm-.922 13.424c-5.069.079-6.276.892-6.83 1.758l8.254 1.927 7.155-1.757-.039-.072c-.618-1.14-1.316-1.794-6.722-1.855a6.694 6.694 0 0 1-1.818 0Z",transform:"translate(14 15)",fill:"url(#ljxxrs_svg__a)",stroke:"url(#ljxxrs_svg__b)",strokeWidth:.514})));var R="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42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S4wNTUuNjAyLS4wNzVhNi44OTcgNi44OTcgMCAwIDEtLjQ2OS0uMzc0QzEwLjE2OCAxMC44MzUgOS4yNTcgOS4wMiA5LjI1NyA3QTYuNzExIDYuNzExIDAgMCAxIDE2IC4yNTdabS0uOTIyIDEzLjQyNGMtNS4wNjkuMDc5LTYuMjc2Ljg5Mi02LjgzIDEuNzU4bDguMjU0IDEuOTI3IDcuMTU1LTEuNzU3LS4wMzktLjA3MmMtLjYxOC0xLjE0LTEuMzE2LTEuNzk0LTYuNzIyLTEuODU1YTYuNjk0IDYuNjk0IDAgMCAxLTEuODE4IDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNCAxNSkiIGZpbGw9InVybCgjYSkiIHN0cm9rZT0idXJsKCNiKSIgc3Ryb2tlLXdpZHRoPSIuNTE0Ii8+PC9nPjwvc3ZnPg==",J=Object.defineProperty,F=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,U=(g,c,u)=>c in g?J(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,x=(g,c)=>{for(var u in c||(c={}))k.call(c,u)&&U(g,u,c[u]);if(F)for(var u of F(c))H.call(c,u)&&U(g,u,c[u]);return g};const Z=g=>React.createElement("svg",x({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u6559\u5E08\u6570"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"jss_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"jss_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fillOpacity:.2,fill:"#00DDC7",width:60,height:60,rx:30}),React.createElement("path",{d:"M13.406.871c2.06 0 3.93.85 5.286 2.223a7.599 7.599 0 0 1 2.197 5.353 7.593 7.593 0 0 1-4.057 6.72c.191.051.38.107.57.167 4.04 1.29 7.257 4.498 8.567 8.622l4.943-12.05a.678.678 0 0 1 .877-.39l-4.9 14.627c-.212 1.028-.393 1.6-.764 2.024-.306.349-.74.554-1.19.594l-22.84.007a1.846 1.846 0 0 1-1.36-.61 1.797 1.797 0 0 1-.47-1.415 13.35 13.35 0 0 1 2.868-7.086 13.206 13.206 0 0 1 6.847-4.491 7.57 7.57 0 0 1-4.057-6.719c0-2.09.838-3.985 2.194-5.358A7.411 7.411 0 0 1 13.406.871ZM31.62 6.137c.188 0 .357.073.479.194.121.121.194.29.194.479l-7.24.673a.673.673 0 0 1-.48-.195.671.671 0 0 1-.195-.478Zm.781-5.88c.189 0 .358.073.48.195.121.121.194.29.194.478l-9.214.673a.672.672 0 0 1-.478-.194.672.672 0 0 1-.195-.479Z",transform:"translate(13.335 15.234)",fill:"url(#jss_svg__a)",stroke:"url(#jss_svg__b)",strokeWidth:.514})));var X="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREV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habS43ODEtNS44OGMuMTg5IDAgLjM1OC4wNzMuNDguMTk1LjEyMS4xMjEuMTk0LjI5LjE5NC40NzhsLTkuMjE0LjY3M2EuNjcyLjY3MiAwIDAgMS0uNDc4LS4xOTQuNjcyLjY3MiAwIDAgMS0uMTk1LS40NzlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMy4zMzUgMTUuMjM0KSIgZmlsbD0idXJsKCNhKSIgc3Ryb2tlPSJ1cmwoI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",Me=Object.defineProperty,ue=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Ie=(g,c,u)=>c in g?Me(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ce=(g,c)=>{for(var u in c||(c={}))ye.call(c,u)&&Ie(g,u,c[u]);if(ue)for(var u of ue(c))Le.call(c,u)&&Ie(g,u,c[u]);return g};const ht=g=>React.createElement("svg",ce({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"xss_svg__b"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"xss_svg__a"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M31.098 32.678c.05-.024 6.863-3.133 11.18-2.895-.03 1.012-.043 3.064.02 5.225.647.25.94.325 1.139.463.182.128.27.31.27.514v2.053a.73.73 0 0 1-.731.73c-.305 1.476-.163 2.509.055 3.125a49.513 49.513 0 0 0-3.174.443l-.607.106-.906.17-.597.118c-3.288.667-6.11 1.547-6.838 2.013h-2.177l-.346-.118-.228-.076a76.522 76.522 0 0 0-4.921-1.442l-.588-.147c-1.781-.436-3.7-.82-5.391-.967.191-.62.337-1.684.436-2.948-.84-.277-1.065-.335-1.222-.491a.73.73 0 0 1-.215-.516v-2.053a.734.734 0 0 1 .733-.727h.877c.048-2.25.01-4.409-.072-5.436C22.55 29.57 28.5 32.643 28.5 32.643Zm-1.166-17.42c1.875-.03 3.759.642 5.127 2.026 1.556 1.575 2.212 3.465 1.975 5.427-.239 1.977-1.377 4.02-3.38 5.893.356.638.715.815 1.035.95-1.444.742-3.37 1.682-3.708 1.847l-2.29.026c-.306-.187-1.646-.97-3.765-1.664.552-.208 1.06-.408 1.49-.698-1.993-2.244-3.162-4.245-3.434-6.198-.27-1.932.346-3.81 1.862-5.423 1.341-1.427 3.212-2.157 5.088-2.186Z",stroke:"url(#xss_svg__a)",strokeWidth:.514,fill:"url(#xss_svg__b)"})));var He="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E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jk3NSA1LjQyNy0uMjM5IDEuOTc3LTEuMzc3IDQuMDItMy4zOCA1Ljg5My4zNTYuNjM4LjcxNS44MTUgMS4wMzUuOTUtMS40NDQuNzQyLTMuMzcgMS42ODItMy43MDggMS44NDdsLTIuMjkuMDI2Yy0uMzA2LS4xODctMS42NDYtLjk3LTMuNzY1LTEuNjY0LjU1Mi0uMjA4IDEuMDYtLjQwOCAxLjQ5LS42OTgtMS45OTMtMi4yNDQtMy4xNjItNC4yNDUtMy40MzQtNi4xOTgtLjI3LTEuOTMyLjM0Ni0zLjgxIDEuODYyLTUuNDIzIDEuMzQxLTEuNDI3IDMuMjEyLTIuMTU3IDUuMDg4LTIuMTg2WiIgc3Ryb2tlPSJ1cmwoI2EpIiBzdHJva2Utd2lkdGg9Ii41MTQiIGZpbGw9InVybCgjYikiLz48L2c+PC9zdmc+",At=Object.defineProperty,wt=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,an=(g,c,u)=>c in g?At(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ot=(g,c)=>{for(var u in c||(c={}))kt.call(c,u)&&an(g,u,c[u]);if(wt)for(var u of wt(c))Vt.call(c,u)&&an(g,u,c[u]);return g};const yt=g=>React.createElement("svg",Ot({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"7"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"jrxxrs_svg__b"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"jrxxrs_svg__a"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M42.273 16.257c.682 0 1.299.28 1.746.73.402.407.667.953.716 1.56l.008.205v21.996a2.5 2.5 0 0 1-.724 1.765 2.452 2.452 0 0 1-1.544.722l-.202.008H17.727a2.45 2.45 0 0 1-1.746-.73 2.498 2.498 0 0 1-.716-1.56l-.008-.205V18.752a2.5 2.5 0 0 1 .724-1.765 2.452 2.452 0 0 1 1.544-.722l.202-.008h24.546ZM37.5 24.68c-.415 0-.83.16-1.147.479l-4.309 4.344-2.944-2.97-.123-.112a1.608 1.608 0 0 0-2.17.113l-5.454 5.5-.112.124a1.635 1.635 0 0 0-.363 1.03c0 .418.158.836.474 1.154a1.608 1.608 0 0 0 2.293.001l4.309-4.344 2.944 2.969.123.112a1.608 1.608 0 0 0 2.17-.112l5.454-5.5.111-.124c.242-.3.364-.665.364-1.03 0-.418-.158-.836-.474-1.154a1.608 1.608 0 0 0-1.146-.48Z",stroke:"url(#jrxxrs_svg__a)",strokeWidth:.514,fill:"url(#jrxxrs_svg__b)"})));var It="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Ag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40NzQtMS4xNTRhMS42MDggMS42MDggMCAwIDAtMS4xNDYtLjQ4WiIgc3Ryb2tlPSJ1cmwoI2EpIiBzdHJva2Utd2lkdGg9Ii41MTQiIGZpbGw9InVybCgjYikiLz48L2c+PC9zdmc+",Tt=Object.defineProperty,Ht=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Rn=(g,c,u)=>c in g?Tt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Cn=(g,c)=>{for(var u in c||(c={}))xt.call(c,u)&&Rn(g,u,c[u]);if(Ht)for(var u of Ht(c))$t.call(c,u)&&Rn(g,u,c[u]);return g};const tr=g=>React.createElement("svg",Cn({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"8"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"zxrs_svg__b"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"zxrs_svg__a"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M38.501 32.984c1.623.002 3.091.66 4.154 1.724a5.868 5.868 0 0 1 0 8.31 5.866 5.866 0 0 1-8.31.001 5.868 5.868 0 0 1 0-8.312 5.866 5.866 0 0 1 4.156-1.723ZM37.4 36.562c-.457-.011-.892.144-1.18.408l-2.382 2.159-.1.102a.997.997 0 0 0-.259.8c.04.303.226.6.57.81.31.19.694.27 1.064.244.376-.028.736-.167.993-.4l1.177-1.067 1.058 1.088.106.098c.265.216.639.352 1.079.362.442 0 .854-.15 1.133-.398l2.5-2.238.1-.1a.999.999 0 0 0 .265-.8c-.038-.302-.222-.602-.563-.814a1.808 1.808 0 0 0-1.062-.247 1.673 1.673 0 0 0-.996.395l-1.29 1.155-1.065-1.094-.107-.099a1.709 1.709 0 0 0-1.04-.364Zm-8.73-21.305a7.502 7.502 0 0 1 4.251 1.349 7.78 7.78 0 0 1 2.768 3.513c.58 1.46.709 3.028.422 4.51a7.908 7.908 0 0 1-2.067 3.996c1.15.812 2.15 1.344 3.07 2.001a8.504 8.504 0 0 0-5.262 2.631 9.006 9.006 0 0 0-2.453 6.199 9.053 9.053 0 0 0 .86 3.866c-.52.038-1.048.057-1.586.057-3.224 0-6.213-.742-8.46-1.806-1.23-.583-2.238-1.262-2.933-1.968-.644-.654-1.022-1.328-1.022-1.97 0-1.85.683-3.574 1.86-5.034 1.23-1.525 2.996-2.761 5.093-3.555-.991-1.54-1.695-2.944-1.981-4.432a8.062 8.062 0 0 1 .435-4.529 7.775 7.775 0 0 1 2.798-3.512 7.408 7.408 0 0 1 4.208-1.316Z",stroke:"url(#zxrs_svg__a)",strokeWidth:.514,fill:"url(#zxrs_svg__b)"})));var mn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjR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wMiA3LjUwMiAwIDAgMSA0LjI1MSAxLjM0OSA3Ljc4IDcuNzggMCAwIDEgMi43NjggMy41MTNjLjU4IDEuNDYuNzA5IDMuMDI4LjQyMiA0LjUxYTcuOTA4IDcuOTA4IDAgMCAxLTIuMDY3IDMuOTk2YzEuMTUuODEyIDIuMTUgMS4zNDQgMy4wNyAyLjAwMWE4LjUwNCA4LjUwNCAwIDAgMC01LjI2MiAyLjYzMSA5LjAwNiA5LjAwNiAwIDAgMC0yLjQ1MyA2LjE5OSA5LjA1MyA5LjA1MyAwIDAgMCAuODYgMy44NjZjLS41Mi4wMzgtMS4wNDguMDU3LTEuNTg2LjA1Ny0zLjIyNCAwLTYuMjEzLS43NDItOC40Ni0xLjgwNi0xLjIzLS41ODMtMi4yMzgtMS4yNjItMi45MzMtMS45NjgtLjY0NC0uNjU0LTEuMDIyLTEuMzI4LTEuMDIyLTEuOTcgMC0xLjg1LjY4My0zLjU3NCAxLjg2LTUuMDM0IDEuMjMtMS41MjUgMi45OTYtMi43NjEgNS4wOTMtMy41NTUtLjk5MS0xLjU0LTEuNjk1LTIuOTQ0LTEuOTgxLTQuNDMyYTguMDYyIDguMDYyIDAgMCAxIC40MzUtNC41MjkgNy43NzUgNy43NzUgMCAwIDEgMi43OTgtMy41MTIgNy40MDggNy40MDggMCAwIDEgNC4yMDgtMS4zMTZaIiBzdHJva2U9InVybCgjYSkiIHN0cm9rZS13aWR0aD0iLjUxNCIgZmlsbD0idXJsKCNiKSIvPjwvZz48L3N2Zz4=",Un=Object.defineProperty,en=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,nr=(g,c,u)=>c in g?Un(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Wn=(g,c)=>{for(var u in c||(c={}))bn.call(c,u)&&nr(g,u,c[u]);if(en)for(var u of en(c))Gn.call(c,u)&&nr(g,u,c[u]);return g};const Er=g=>React.createElement("svg",Wn({width:18,height:22,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"\u706B\u{1F525}"),React.createElement("defs",null,React.createElement("path",{d:"M2.96 6.843c-.381 2.078.064 3.002 1.335 2.771 1.272-.23 2.003-1.472 2.194-3.724.699-3.523 2.48-5.486 5.34-5.89-1.717 2.165-1.335 3.205 3.433 6.583C19.744 10.567 19.267 20.614 9.731 22c-6.26-.173-8.834-3.118-9.597-6.843-.509-2.482.433-5.254 2.826-8.314Z",id:"fire_svg__a"}),React.createElement("path",{d:"M.309 9.268c-1.144 4.908.89 7.477 6.103 7.708 3.815 0 5.089-3.031 5.436-5.023.347-1.992.477-4.158-2.194-7.103.89 3.523.573 5.457-.953 5.804-1.717.057-2.289-.895-1.717-2.859.859-2.945 1.717-4.244 1.24-5.89C7.843.925 7.334.29 6.698 0c-.063 1.444-.477 2.57-1.24 3.378-1.144 1.213-3.814 3.724-1.907 7.535.191 1.386-.572 1.646-1.24 1.473C1.168 11.982.5 10.942.31 9.268Z",id:"fire_svg__c"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",null,React.createElement("mask",{id:"fire_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#fire_svg__a"})),React.createElement("use",{fill:"#00DDC7",xlinkHref:"#fire_svg__a"}),React.createElement("path",{d:"M2.96 8.142C-1.108 16.11.703 20.73 8.396 22c7.247-.289 10.235-4.417 8.964-12.386-.381-1.443-1.59-2.83-3.624-4.157C11.702 4.129 11.066 2.31 11.83 0c-1.78.462-2.988 2.136-3.624 5.024C6.87 10.22 5.122 11.26 2.96 8.142Z",fill:"#01A89A",mask:"url(#fire_svg__b)"}),React.createElement("path",{d:"M11.924 0c-1.208.75-1.939 2.425-2.193 5.024.763 2.338.763 1.299-.763 10.913-.636 2.598-.795 4.62-.477 6.063 4.514 0 7.566-2.021 9.155-6.063 1.335-5.89-.954-7.709-2.289-9.354C12.115 3.58 10.971 1.386 11.924 0Z",fill:"#037F74",mask:"url(#fire_svg__b)"}),React.createElement("path",{d:"M11.291 7.535c.636 1.56.636 3.811 0 6.756-.127 1.04.668 1.242 2.384.607l-1.049-5.024c3.751 2.483 5.086 5.688 4.005 9.614 1.145 4.273-1.398 5.313-7.629 3.118L8.621 11.26l2.67-3.725Z",fill:"#02423C",mask:"url(#fire_svg__b)"})),React.createElement("g",{transform:"translate(2.937 5.024)"},React.createElement("mask",{id:"fire_svg__d",fill:"#fff"},React.createElement("use",{xlinkHref:"#fire_svg__c"})),React.createElement("use",{fill:"#2FEBD8",xlinkHref:"#fire_svg__c"}),React.createElement("path",{d:"M7.366.433s.797 1.819-.668 3.724c-1.464 1.906-1.526 3.898-1.24 4.331.287.433-1.048-.693-.667-2.512s-1.24 2.772 0 4.937c.318 1.097-.095 1.935-1.24 2.512C1.835 13.598.818 12.56.5 10.307c-.191.606-1.526 4.504 3.051 6.15 3.37.75 5.69.144 6.962-1.82 1.144-2.02 1.494-4.157 1.049-6.409-.954-1.847-1.59-2.973-1.908-3.378.954 3.87.445 5.804-1.525 5.804-2.48-.434-.763-3.638-.382-4.937C9.69 1.646 7.366.433 7.366.433Z",fill:"#01A89A",mask:"url(#fire_svg__d)"}),React.createElement("path",{d:"M9.654 4.85c.954 2.08 1.272 3.985.954 5.717-.318 1.732-1.558 2.916-3.72 3.551 1.59-.058 2.83-.433 3.72-1.126 1.335-1.04-1.716 2.165-3.433 2.772a12.526 12.526 0 0 1-3.624.693c.55.288 1.503.462 2.861.52 2.037.086 5.66-1.213 5.436-5.024.913-2.945.182-5.313-2.194-7.103Z",fill:"#037F74",mask:"url(#fire_svg__d)"}))));var wr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0yLjk2IDY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9nPjwvc3ZnPg==",vt=v(38819),xn=v(60979),un=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const Qn=g=>un(void 0,null,function*(){return(0,Xe.ZP)("/api/home/statistic.json",{method:"Get",params:g})}),rr=({user:g,dispatch:c,homePage:u,forumsList:st,globalSetting:ot})=>{var Lt,Nt,St,Ue,pt,Bt,cn,An,Ln,vn,dn,Mn,Ke,Ct,Nn,Xt,Dn,or,bt,Yn,Xn,Kn,br,Mr,Br,ur,ke,De,it,Kt,kn,Pr,xr,Gr,jr,fn;const[Je,,Dr,pn]=(0,ie.U)(We.Yu,{type:"view"}),[,,Wr,Mt]=(0,ie.U)(Qn,{}),[,Fr,Zr,cr]=(0,ie.U)(xe.V8,{page:1,limit:5,order:"created_at"}),[dr,fr]=(0,n.useState)({total_count:0,shixuns:[]});(0,n.useEffect)(()=>{const Pe=Y()();Pe&&Dr({start_at:Pe.subtract(7,"day").format("YYYY-MM-DD"),end_at:Pe.format("YYYY-MM-DD")}),Te(),Zr({page:1,limit:5,order:"created_at"}),Jn()},[]);const qr=(0,n.useMemo)(()=>({tooltip:{trigger:"axis"},legend:{right:"1%",bottom:"1%",itemGap:40,textStyle:{color:"#fff"}},grid:{top:"3%",left:"3%",right:"4%",bottom:"15%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:(pn==null?void 0:pn.time)||[],nameTextStyle:{color:"#B6BFC2"},axisTick:{show:!1},splitLine:{show:!1},axisLine:{lineStyle:{color:"#037F74"}},axisLabel:{color:"#B6BFC2"}},yAxis:{type:"value",nameTextStyle:{color:"#B6BFC2"},axisTick:{show:!1},splitLine:{lineStyle:{type:"dashed",color:"#037F74"}},axisLine:{show:!1},axisLabel:{color:"#B6BFC2"}},series:[{name:"\u672C\u6708",type:"line",data:(pn==null?void 0:pn.current_month)||[],itemStyle:{color:"#15EAA4"},smooth:!0,areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#15EAA4"},{offset:1,color:"rgba(255, 255, 255,0)"}])}},{name:"\u4E0A\u6708",type:"line",data:(pn==null?void 0:pn.last_month)||[],itemStyle:{color:"#73A0FF"},smooth:!0,areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#73A0FF"},{offset:1,color:"rgba(255, 255, 255,0)"}])}}]}),[pn]),ve=(0,n.useMemo)(()=>{var Pe,Ut;const gr=(Ut=(Pe=Mt==null?void 0:Mt.data)==null?void 0:Pe.homework_number_statistic)==null?void 0:Ut.charts,_r=gr==null?void 0:gr.map(Vr=>Vr==null?void 0:Vr.count);return{tooltip:{trigger:"axis",axisPointer:{type:"none"}},yAxis:{type:"value",show:!1,splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},xAxis:{type:"category",data:gr==null?void 0:gr.map(Vr=>Vr==null?void 0:Vr.weekday),splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:"#B6BFC2"},axisLine:{lineStyle:{color:"#037F74"}}},grid:{top:"15%",left:"1%",right:"1%",bottom:"1%",containLabel:!0},series:[{type:"bar",barWidth:"40%",data:_r,label:{show:!0,position:"top",color:"#B6BFC2"},itemStyle:{color:"rgba(0,221,199,0.4)",borderRadius:2},emphasis:{itemStyle:{color:"#63E7C5"}}}]}},[(Nt=(Lt=Mt==null?void 0:Mt.data)==null?void 0:Lt.homework_number_statistic)==null?void 0:Nt.charts]),Te=()=>un(void 0,null,function*(){const Pe=yield Wr({});(Pe==null?void 0:Pe.status)==0&&setTimeout(()=>{Te()},5*60*1e3)}),Jn=()=>un(void 0,null,function*(){const Pe=yield(0,xn.he)({sort:"desc",page:1,limit:5,order:"new"});Pe.status||fr(Pe)});return n.createElement("div",{className:Yt.homeCon},n.createElement("div",{className:"flex",style:{height:"30vh"}},n.createElement("div",{className:Yt.mainLogo},n.createElement("img",{src:v(37703),style:{width:"100%",height:"100%"}})),n.createElement("div",{className:Yt.exptStats},n.createElement("div",{className:Yt.titleName},"\u5B9E\u9A8C\u7EDF\u8BA1"),[{name:"\u8BC4\u6D4B\u603B\u6B21\u6570",img:Xa,count:(Ue=(St=Mt==null?void 0:Mt.data)==null?void 0:St.shixun_evaluate_statistic)==null?void 0:Ue.evaluate_count},{name:"\u7D2F\u8BA1\u901A\u8FC7\u6B21\u6570",img:Ei,count:(Bt=(pt=Mt==null?void 0:Mt.data)==null?void 0:pt.shixun_evaluate_statistic)==null?void 0:Bt.pass_count},{name:"\u5E73\u5747\u901A\u8FC7\u7387",img:wi,count:((An=(cn=Mt==null?void 0:Mt.data)==null?void 0:cn.shixun_evaluate_statistic)==null?void 0:An.avg_pass_rate)*100}].map((Pe,Ut)=>{var gr;return n.createElement("div",{className:Yt.exptStatsItem,key:Pe==null?void 0:Pe.name},n.createElement("div",{className:"flex item-center"},n.createElement("img",{src:Pe==null?void 0:Pe.img}),n.createElement("div",{className:Yt.esItemName},Pe==null?void 0:Pe.name)),n.createElement("div",{style:{color:"#00DDC7",fontSize:"2.1vh"}},parseFloat((gr=Pe==null?void 0:Pe.count)==null?void 0:gr.toFixed(2)),Ut==2&&"%"))}))),n.createElement("div",{className:Yt.platSituStats},n.createElement("div",{className:Yt.titleName},"\u5E73\u53F0\u60C5\u51B5\u7EDF\u8BA1"),n.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:"11%"}},[{name:"\u5B9E\u8DF5\u8BFE\u7A0B",img:ts,count:(vn=(Ln=Mt==null?void 0:Mt.data)==null?void 0:Ln.number_statistics)==null?void 0:vn.subject_count,type:"\u95E8"},{name:"\u5B9E\u8DF5\u4EFB\u52A1",img:ma,count:(Mn=(dn=Mt==null?void 0:Mt.data)==null?void 0:dn.number_statistics)==null?void 0:Mn.shixun_count,type:"\u4E2A"},{name:"\u5B9E\u9A8C\u73AF\u5883",img:ls,count:(Ct=(Ke=Mt==null?void 0:Mt.data)==null?void 0:Ke.number_statistics)==null?void 0:Ct.repository_count,type:"\u79CD"},{name:"\u8BD5\u9898\u6570\u91CF",img:ds,count:(Xt=(Nn=Mt==null?void 0:Mt.data)==null?void 0:Nn.number_statistics)==null?void 0:Xt.question_count,type:"\u9053"},{name:"\u7EBF\u4E0A\u8003\u8BD5",img:a,count:(or=(Dn=Mt==null?void 0:Mt.data)==null?void 0:Dn.number_statistics)==null?void 0:or.exercise_count,type:"\u95E8"},{name:"\u7D2F\u8BA1\u5B66\u4E60\u4EBA\u6570",img:R,count:(Yn=(bt=Mt==null?void 0:Mt.data)==null?void 0:bt.number_statistics)==null?void 0:Yn.all_user_count,type:"\u4EBA"},{name:"\u6559\u5E08\u6570",img:X,count:(Kn=(Xn=Mt==null?void 0:Mt.data)==null?void 0:Xn.number_statistics)==null?void 0:Kn.teacher_count,type:"\u4EBA"},{name:"\u5B66\u751F\u6570",img:He,count:(Mr=(br=Mt==null?void 0:Mt.data)==null?void 0:br.number_statistics)==null?void 0:Mr.student_count,type:"\u4EBA"},{name:"\u4ECA\u65E5\u5B66\u4E60\u4EBA\u6570",img:It,count:(ur=(Br=Mt==null?void 0:Mt.data)==null?void 0:Br.number_statistics)==null?void 0:ur.weekly_active_user_count,type:"\u4EBA"},{name:"\u5728\u7EBF\u4EBA\u6570",img:mn,count:(De=(ke=Mt==null?void 0:Mt.data)==null?void 0:ke.number_statistics)==null?void 0:De.user_online_count,type:"\u4EBA"}].map((Pe,Ut)=>n.createElement("div",{className:Yt.pSSItem,key:Ut,style:{marginBottom:Ut<5&&"4vh"}},n.createElement("img",{src:Pe==null?void 0:Pe.img}),n.createElement("div",{className:Yt.pSSItemInfo},n.createElement("div",null,n.createElement("span",{style:{color:"#fff",fontSize:"1.9vh",fontWeight:"500"}},Pe==null?void 0:Pe.count),n.createElement("span",{style:{color:"#B6BFC2",fontSize:"1.6vh",marginLeft:"1vh"}},Pe==null?void 0:Pe.type)),n.createElement("div",{style:{marginTop:"1vh"}},Pe==null?void 0:Pe.name)))))),n.createElement("div",{className:"flex",style:{gap:"1vh"}},n.createElement("div",{className:Yt.new_jxkt},n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:"flex"},n.createElement("img",{src:wr,style:{width:"1.8vh",height:"2.2vh",marginRight:4}}),n.createElement("div",{style:{color:"#fff",fontSize:"1.7vh",fontWeight:"bold"}},"\u6700\u65B0\u4F7F\u7528\u7684\u6559\u5B66\u8BFE\u5802"),n.createElement("div",{style:{color:"#B6BFC2",marginLeft:"2vh"}},"\u5171",n.createElement("span",{style:{color:"#00DDC7"}},cr==null?void 0:cr.courses_count),"\u4E2A\u8BFE\u5802")),n.createElement("div",{className:Yt.watchMore,onClick:()=>{le.history.push("/classrooms")}},"\u67E5\u770B\u66F4\u591A ",n.createElement(vt.Z,null))),n.createElement("div",null,((it=cr==null?void 0:cr.courses)==null?void 0:it.length)>0?(Kt=cr==null?void 0:cr.courses)==null?void 0:Kt.map((Pe,Ut)=>n.createElement("div",{key:Ut,className:Yt.kt_sx_item},n.createElement("div",{className:Yt.kt_sx_item_user},Pe==null?void 0:Pe.creator),n.createElement("div",{className:Yt.kt_sx_item_name},Pe==null?void 0:Pe.name),n.createElement("div",{className:Yt.kt_sx_item_time},Y()(Pe==null?void 0:Pe.created_at).format("YYYY-MM-DD HH:mm")))):n.createElement(D.Z,{styles:{margin:"5vh"},imgStyles:{width:"12vh",height:"10vh"}}))),n.createElement("div",{className:Yt.new_syxm},n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:"flex"},n.createElement("img",{src:wr,style:{width:"1.8vh",height:"2.2vh",marginRight:4}}),n.createElement("div",{style:{color:"#fff",fontSize:"1.7vh",fontWeight:"bold"}},"\u6700\u65B0\u4F7F\u7528\u7684\u5B9E\u9A8C\u9879\u76EE"),n.createElement("div",{style:{color:"#B6BFC2",marginLeft:"2vh"}},"\u5171",n.createElement("span",{style:{color:"#00DDC7"}},dr==null?void 0:dr.total_count),"\u4E2A\u5B9E\u9A8C\u9879\u76EE")),n.createElement("div",{className:Yt.watchMore,onClick:()=>{le.history.push("/shixuns")}},"\u67E5\u770B\u66F4\u591A ",n.createElement(vt.Z,null))),n.createElement("div",null,((kn=dr==null?void 0:dr.shixuns)==null?void 0:kn.length)>0?(Pr=dr==null?void 0:dr.shixuns)==null?void 0:Pr.map((Pe,Ut)=>n.createElement("div",{key:Ut,className:Yt.kt_sx_item},n.createElement("div",{className:Yt.kt_sx_item_user},Pe==null?void 0:Pe.author_name),n.createElement("div",{className:Yt.kt_sx_item_name},Pe==null?void 0:Pe.name),n.createElement("div",{className:Yt.kt_sx_item_time},Y()(Pe==null?void 0:Pe.created_at).format("YYYY-MM-DD HH:mm")))):n.createElement(D.Z,{styles:{margin:"5vh"},imgStyles:{width:"12vh",height:"10vh"}})))),n.createElement("div",{className:"flex",style:{gap:"1vh"}},n.createElement("div",{className:Yt.fwsj_zyfb},n.createElement("div",{className:Yt.titleName,style:{display:"flex",justifyContent:"space-between"}},"\u5E73\u53F0\u8BBF\u95EE\u6570\u636E",n.createElement(_.default.RangePicker,{allowClear:!1,value:[Y()(Je==null?void 0:Je.start_at),Y()(Je==null?void 0:Je.end_at)],onChange:(Pe,Ut)=>{Dr({start_at:Ut==null?void 0:Ut[0],end_at:Ut==null?void 0:Ut[1]})}})),n.createElement(fe.Z,{style:{height:"31vh"},option:qr})),n.createElement("div",{className:Yt.fwsj_zyfb},n.createElement("div",{className:Yt.titleName},"\u5E73\u53F0\u4F5C\u4E1A\u53D1\u5E03"),n.createElement("div",{className:Yt.zyfb_info},n.createElement("div",{className:Yt.zyfb_info_l_r},n.createElement("div",{className:Yt.info_title},"\u4ECA\u65E5\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:Yt.info_count},((Gr=(xr=Mt==null?void 0:Mt.data)==null?void 0:xr.homework_number_statistic)==null?void 0:Gr.today_homework_count)||0)),n.createElement("div",{className:Yt.zyfb_info_l_r},n.createElement("div",{className:Yt.info_title},"\u8FD17\u5929\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:Yt.info_count},((fn=(jr=Mt==null?void 0:Mt.data)==null?void 0:jr.homework_number_statistic)==null?void 0:fn.recently_homework_count)||0))),n.createElement(fe.Z,{style:{height:"23vh"},option:ve}))))};var hn=(0,le.connect)(({loading:g,forumsList:c,user:u,homePage:st,globalSetting:ot})=>({user:u,loading:g.models.index,homePage:st,forumsList:c,globalSetting:ot}))(rr),Vn=v(40277);const zr=({globalSetting:g})=>{var c;const u=(0,n.useMemo)(()=>{var st;switch(Number((st=g==null?void 0:g.setting)==null?void 0:st.theme)){case vi.Fy.THEMEONE:return n.createElement(pe,null);case vi.Fy.THEMETWO:return n.createElement(ta,null);case vi.Fy.THEMETHREE:return n.createElement(Vn.Z,{mainDom:n.createElement(hn,null)});case vi.Fy.DEFAULT:default:return n.createElement(be,null)}},[(c=g==null?void 0:g.setting)==null?void 0:c.theme]);return n.createElement(Fe.ZP,{locale:B.Z},!g.isIlearning&&g.isPaZhou?n.createElement(Wa,null):u,g.isIlearning&&n.createElement(Nr,null))};var Sr=(0,le.connect)(({loading:g,globalSetting:c,user:u})=>({loading:g,globalSetting:c,user:u}))(zr)},84056:function($,gt,v){"use strict";v.d(gt,{BU:function(){return Fe},Dj:function(){return n},gH:function(){return B},vp:function(){return le}});function n(ne){try{ne.mozRequestFullScreen?ne.mozRequestFullScreen():ne.webkitRequestFullScreen&&ne.webkitRequestFullScreen()}catch(w){console.log(w,":e")}}function Fe(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const B=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function le(){var ne=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,w=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",ne),window.isFullScreen?window.isFullScreen:ne!=null}},61527:function($,gt,v){"use strict";v.d(gt,{U:function(){return W}});var n=v(59301),Fe=Object.defineProperty,B=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,w=(be,Ge,Ye)=>Ge in be?Fe(be,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):be[Ge]=Ye,ze=(be,Ge)=>{for(var Ye in Ge||(Ge={}))le.call(Ge,Ye)&&w(be,Ye,Ge[Ye]);if(B)for(var Ye of B(Ge))ne.call(Ge,Ye)&&w(be,Ye,Ge[Ye]);return be},Be=(be,Ge,Ye)=>new Promise((Re,Qe)=>{var qe=re=>{try{me(Ye.next(re))}catch(Q){Qe(Q)}},Ce=re=>{try{me(Ye.throw(re))}catch(Q){Qe(Q)}},me=re=>re.done?Re(re.value):Promise.resolve(re.value).then(qe,Ce);me((Ye=Ye.apply(be,Ge)).next())});function W(be,Ge){const[Ye,Re]=(0,n.useState)(Ge),[Qe,qe]=(0,n.useState)(!1),[Ce,me]=(0,n.useState)();return[Ye,Qe,(Q,P=!1)=>Be(this,null,function*(){const T=P?Ge:ze(ze({},Ye),Q);qe(!0),Re(T);const O=yield be(T);return qe(!1),me(O),O}),Ce]}},73217:function($,gt,v){"use strict";v.d(gt,{Z:function(){return $e}});class n{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let r=1;r ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","error",r),ne.ENABLE_ERROR&&(console.error?console.error(r):console.warn?console.warn(r):console.log(r))}static i(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","info",r),ne.ENABLE_INFO&&(console.info?console.info(r):console.log(r))}static w(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","warn",r),ne.ENABLE_WARN&&(console.warn?console.warn(r):console.log(r))}static d(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","debug",r),ne.ENABLE_DEBUG&&(console.debug?console.debug(r):console.log(r))}static v(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","verbose",r),ne.ENABLE_VERBOSE&&console.log(r)}}ne.GLOBAL_TAG="flv.js",ne.FORCE_GLOBAL_TAG=!1,ne.ENABLE_ERROR=!0,ne.ENABLE_INFO=!0,ne.ENABLE_WARN=!0,ne.ENABLE_DEBUG=!0,ne.ENABLE_VERBOSE=!0,ne.ENABLE_CALLBACK=!1,ne.emitter=new(le());var w=ne;class ze{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var Be=ze;class W{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class be extends W{constructor(e){super(e)}get name(){return"IllegalStateException"}}class Ge extends W{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class Ye extends W{constructor(e){super(e)}get name(){return"NotImplementedException"}}const Re={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},Qe={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class qe{constructor(e){this._type=e||"undefined",this._status=Re.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=Re.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===Re.kConnecting||this._status===Re.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new Ye("Unimplemented abstract function!")}abort(){throw new Ye("Unimplemented abstract function!")}}let Ce={};function me(){let j=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(j)||/(opr)[\/]([\w.]+)/.exec(j)||/(chrome)[ \/]([\w.]+)/.exec(j)||/(iemobile)[\/]([\w.]+)/.exec(j)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(j)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(j)||/(webkit)[ \/]([\w.]+)/.exec(j)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(j)||/(msie) ([\w.]+)/.exec(j)||j.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(j)||j.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(j)||[],t=/(ipad)/.exec(j)||/(ipod)/.exec(j)||/(windows phone)/.exec(j)||/(iphone)/.exec(j)||/(kindle)/.exec(j)||/(android)/.exec(j)||/(windows)/.exec(j)||/(mac)/.exec(j)||/(linux)/.exec(j)||/(cros)/.exec(j)||[],r={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},o={};if(r.browser){o[r.browser]=!0;let d=r.majorVersion.split(".");o.version={major:parseInt(r.majorVersion,10),string:r.version},d.length>1&&(o.version.minor=parseInt(d[1],10)),d.length>2&&(o.version.build=parseInt(d[2],10))}if(r.platform&&(o[r.platform]=!0),(o.chrome||o.opr||o.safari)&&(o.webkit=!0),o.rv||o.iemobile){o.rv&&delete o.rv;let d="msie";r.browser=d,o[d]=!0}if(o.edge){delete o.edge;let d="msedge";r.browser=d,o[d]=!0}if(o.opr){let d="opera";r.browser=d,o[d]=!0}if(o.safari&&o.android){let d="android";r.browser=d,o[d]=!0}o.name=r.browser,o.platform=r.platform;for(let d in Ce)Ce.hasOwnProperty(d)&&delete Ce[d];Object.assign(Ce,o)}me();var re=Ce;class Q extends qe{static isSupported(){try{let e=re.msedge&&re.version.minor>=15048,t=re.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let r=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(r=e.redirectedURL);let o=this._seekHandler.getConfig(r,t),d=new self.Headers;if(typeof o.headers=="object"){let I=o.headers;for(let ge in I)I.hasOwnProperty(ge)&&d.append(ge,I[ge])}let p={method:"GET",headers:d,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let I in this._config.headers)d.append(I,this._config.headers[I]);e.cors===!1&&(p.mode="same-origin"),e.withCredentials&&(p.credentials="include"),e.referrerPolicy&&(p.referrerPolicy=e.referrerPolicy),this._status=Re.kConnecting,self.fetch(o.url,p).then(I=>{if(this._requestAbort){this._requestAbort=!1,this._status=Re.kIdle;return}if(I.ok&&I.status>=200&&I.status<=299){if(I.url!==o.url&&this._onURLRedirect){let ee=this._seekHandler.removeURLParameters(I.url);this._onURLRedirect(ee)}let ge=I.headers.get("Content-Length");return ge!=null&&(this._contentLength=parseInt(ge),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,I.body.getReader())}else if(this._status=Re.kError,this._onError)this._onError(Qe.HTTP_STATUS_CODE_INVALID,{code:I.status,msg:I.statusText});else throw new W("FetchStreamLoader: Http code invalid, "+I.status+" "+I.statusText)}).catch(I=>{if(this._status=Re.kError,this._onError)this._onError(Qe.EXCEPTION,{code:-1,msg:I.message});else throw I})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&re.msedge)return;this._status=Re.kError;let r=0,o=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=Re.kError,this._onError)this._onError(Qe.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new W("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=Re.kBuffering}}_onProgress(e){if(this._status===Re.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,r=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===Re.kError)return;this._status=Re.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=Re.kError;let t=0,r=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let o=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&o!==this._currentRedirectedURL&&(this._currentRedirectedURL=o,this._onURLRedirect&&this._onURLRedirect(o))}let r=t.getResponseHeader("Content-Length");if(r!=null&&this._contentLength==null){let o=parseInt(r);o>0&&(this._contentLength=o,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let r=t.response;this._reader.readAsArrayBuffer(r)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,r={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,r);else throw new RuntimeException(r.msg)}_msrOnProgress(e){let r=e.target.result;if(r==null){this._doReconnectIfNeeded();return}let o=r.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=r.byteLength;let d=this._totalRange.from+this._receivedLength;this._receivedLength+=o.byteLength,this._onDataArrival&&this._onDataArrival(o,d,this._receivedLength),r.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${d+o.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(r=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:r},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let r=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?r=this._currentRedirectedURL:e.redirectedURL!=null&&(r=e.redirectedURL));let o=this._seekHandler.getConfig(r,t);this._currentRequestURL=o.url;let d=this._xhr=new XMLHttpRequest;if(d.open("GET",o.url,!0),d.responseType="arraybuffer",d.onreadystatechange=this._onReadyStateChange.bind(this),d.onprogress=this._onProgress.bind(this),d.onload=this._onLoad.bind(this),d.onerror=this._onXhrError.bind(this),e.withCredentials&&(d.withCredentials=!0),typeof o.headers=="object"){let p=o.headers;for(let I in p)p.hasOwnProperty(I)&&d.setRequestHeader(I,p[I])}if(typeof this._config.headers=="object"){let p=this._config.headers;for(let I in p)p.hasOwnProperty(I)&&d.setRequestHeader(I,p[I])}d.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=Re.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let r=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&r!==this._currentRedirectedURL&&(this._currentRedirectedURL=r,this._onURLRedirect&&this._onURLRedirect(r))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=Re.kBuffering}else if(this._status=Re.kError,this._onError)this._onError(Qe.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new W("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===Re.kError)return;if(this._contentLength===null){let r=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,r=!0;let o=e.total;this._internalAbort(),o!=null&o!==0&&(this._totalLength=o)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,r){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,r=t.length-1,o=0,d=0,p=r;if(e=t[o]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let p=this._normalizeSpeed(t);this._currentSpeedNormalized!==p&&(this._currentSpeedNormalized=p,this._currentChunkSizeKB=p)}let r=e.target.response,o=this._range.from+this._receivedLength;this._receivedLength+=r.byteLength;let d=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=Re.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(Qe.EXCEPTION,t);else throw new W(t.msg)}}_dispatchArrayBuffer(e){let t=e,r=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength)}_onWebSocketError(e){this._status=Re.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(Qe.EXCEPTION,t);else throw new W(t.msg)}}var Bn=sn;class zn{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let r={};if(t.from!==0||t.to!==-1){let o;t.to!==-1?o=`bytes=${t.from.toString()}-${t.to.toString()}`:o=`bytes=${t.from.toString()}-`,r.Range=o}else this._zeroStart&&(r.Range="bytes=0-");return{url:e,headers:r}}removeURLParameters(e){return e}}var qn=zn;class de{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let r=e;if(t.from!==0||t.to!==-1){let o=!0;r.indexOf("?")===-1&&(r+="?",o=!1),o&&(r+="&"),r+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(r+=`&${this._endName}=${t.to.toString()}`)}return{url:r,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],r,o=e.indexOf("?");o!==-1&&(r=e.substring(o+1));let d="";if(r!=null&&r.length>0){let p=r.split("&");for(let I=0;I0;ge[0]!==this._startName&&ge[0]!==this._endName&&(ee&&(d+="&"),d+=p[I])}}return d.length===0?t:t+"?"+d}}var lt=de;class K{constructor(e,t,r){this.TAG="IOController",this._config=t,this._extraData=r,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new Be,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===ct?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new qn(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",r=e.seekParamEnd||"bend";this._seekHandler=new lt(t,r)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new Ge("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new Ge(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Bn;else if(P.isSupported())this._loaderClass=P;else if(O.isSupported())this._loaderClass=O;else if(ct.isSupported())this._loaderClass=ct;else throw new W("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let r={from:e,to:-1};this._currentRange={from:r.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,r),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new Ge("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let o=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(r,0,t).set(o,0)}this._stashBuffer=r,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,r=t.length-1,o=0,d=0,p=r;if(e=t[o]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let r=t*1024+1024*1024*1;this._bufferSize0){let p=this._stashBuffer.slice(0,this._stashUsed),I=this._dispatchChunks(p,this._stashByteStart);if(I0){let ge=new Uint8Array(p,I);d.set(ge,0),this._stashUsed=ge.byteLength,this._stashByteStart+=I}}else this._stashUsed=0,this._stashByteStart+=I;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),d=new Uint8Array(this._stashBuffer,0,this._bufferSize)),d.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let p=this._dispatchChunks(e,t);if(pthis._bufferSize&&(this._expandBuffer(I),d=new Uint8Array(this._stashBuffer,0,this._bufferSize)),d.set(new Uint8Array(e,p),0),this._stashUsed+=I,this._stashByteStart=t+p}}}else if(this._stashUsed===0){let d=this._dispatchChunks(e,t);if(dthis._bufferSize&&this._expandBuffer(p),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,d),0),this._stashUsed+=p,this._stashByteStart=t+d}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let d=new Uint8Array(this._stashBuffer,0,this._bufferSize);d.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let p=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(p0){let I=new Uint8Array(this._stashBuffer,p);d.set(I,0)}this._stashUsed-=p,this._stashByteStart+=p}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),r=this._dispatchChunks(t,this._stashByteStart),o=t.byteLength-r;if(r0){let d=new Uint8Array(this._stashBuffer,0,this._bufferSize),p=new Uint8Array(t,r);d.set(p,0),this._stashUsed=p.byteLength,this._stashByteStart+=r}return 0}return this._stashUsed=0,this._stashByteStart=0,o}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(w.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=Qe.UNRECOVERABLE_EARLY_EOF),e){case Qe.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let r=this._currentRange.to+1;r0){let t=Dt.getConfig();e.emit("change",t)}}static registerListener(e){Dt.emitter.addListener("change",e)}static removeListener(e){Dt.emitter.removeListener("change",e)}static addLogListener(e){w.emitter.addListener("log",e),w.emitter.listenerCount("log")>0&&(w.ENABLE_CALLBACK=!0,Dt._notifyChange())}static removeLogListener(e){w.emitter.removeListener("log",e),w.emitter.listenerCount("log")===0&&(w.ENABLE_CALLBACK=!1,Dt._notifyChange())}}Dt.emitter=new(le());var at=Dt;class er{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,r=this._search(t.times,e);return{index:r,milliseconds:t.times[r],fileposition:t.filepositions[r]}}_search(e,t){let r=0,o=e.length-1,d=0,p=0,I=o;for(t=e[d]&&t=128){e.push(String.fromCharCode(d&65535)),r+=2;continue}}}else if(t[r]<240){if(On(t,r,2)){let d=(t[r]&15)<<12|(t[r+1]&63)<<6|t[r+2]&63;if(d>=2048&&(d&63488)!==55296){e.push(String.fromCharCode(d&65535)),r+=3;continue}}}else if(t[r]<248&&On(t,r,3)){let d=(t[r]&7)<<18|(t[r+1]&63)<<12|(t[r+2]&63)<<6|t[r+3]&63;if(d>65536&&d<1114112){d-=65536,e.push(String.fromCharCode(d>>>10|55296)),e.push(String.fromCharCode(d&1023|56320)),r+=4;continue}}}e.push("\uFFFD"),++r}return e.join("")}var Ir=yr;let Se=function(){let j=new ArrayBuffer(2);return new DataView(j).setInt16(0,256,!0),new Int16Array(j)[0]===256}();class ft{static parseScriptData(e,t,r){let o={};try{let d=ft.parseValue(e,t,r),p=ft.parseValue(e,t+d.size,r-d.size);o[d.data]=p.data}catch(d){w.e("AMF",d.toString())}return o}static parseObject(e,t,r){if(r<3)throw new be("Data not enough when parse ScriptDataObject");let o=ft.parseString(e,t,r),d=ft.parseValue(e,t+o.size,r-o.size),p=d.objectEnd;return{data:{name:o.data,value:d.data},size:o.size+d.size,objectEnd:p}}static parseVariable(e,t,r){return ft.parseObject(e,t,r)}static parseString(e,t,r){if(r<2)throw new be("Data not enough when parse String");let d=new DataView(e,t,r).getUint16(0,!Se),p;return d>0?p=Ir(new Uint8Array(e,t+2,d)):p="",{data:p,size:2+d}}static parseLongString(e,t,r){if(r<4)throw new be("Data not enough when parse LongString");let d=new DataView(e,t,r).getUint32(0,!Se),p;return d>0?p=Ir(new Uint8Array(e,t+4,d)):p="",{data:p,size:4+d}}static parseDate(e,t,r){if(r<10)throw new be("Data size invalid when parse Date");let o=new DataView(e,t,r),d=o.getFloat64(0,!Se),p=o.getInt16(8,!Se);return d+=p*60*1e3,{data:new Date(d),size:10}}static parseValue(e,t,r){if(r<1)throw new be("Data not enough when parse Value");let o=new DataView(e,t,r),d=1,p=o.getUint8(0),I,ge=!1;try{switch(p){case 0:I=o.getFloat64(1,!Se),d+=8;break;case 1:{I=!!o.getUint8(1),d+=1;break}case 2:{let ee=ft.parseString(e,t+1,r-1);I=ee.data,d+=ee.size;break}case 3:{I={};let ee=0;for((o.getUint32(r-4,!Se)&16777215)===9&&(ee=3);d32)throw new Ge("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let p=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,p}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let r=e-this._current_word_bits_left;this._fillCurrentWord();let o=Math.min(r,this._current_word_bits_left),d=this._current_word>>>32-o;return this._current_word<<=o,this._current_word_bits_left-=o,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Ar=Fn;class ln{static _ebsp2rbsp(e){let t=e,r=t.byteLength,o=new Uint8Array(r),d=0;for(let p=0;p=2&&t[p]===3&&t[p-1]===0&&t[p-2]===0||(o[d]=t[p],d++);return new Uint8Array(o.buffer,0,d)}static parseSPS(e){let t=ln._ebsp2rbsp(e),r=new Ar(t);r.readByte();let o=r.readByte();r.readByte();let d=r.readByte();r.readUEG();let p=ln.getProfileString(o),I=ln.getLevelString(d),ge=1,ee=420,je=[0,420,422,444],dt=8;if((o===100||o===110||o===122||o===244||o===44||o===83||o===86||o===118||o===128||o===138||o===144)&&(ge=r.readUEG(),ge===3&&r.readBits(1),ge<=3&&(ee=je[ge]),dt=r.readUEG()+8,r.readUEG(),r.readBits(1),r.readBool())){let Hn=ge!==3?8:12;for(let lr=0;lr0&&Hn<16?(qt=lr[Hn-1],et=Tr[Hn-1]):Hn===255&&(qt=r.readByte()<<8|r.readByte(),et=r.readByte()<<8|r.readByte())}if(r.readBool()&&r.readBool(),r.readBool()&&(r.readBits(4),r.readBool()&&r.readBits(24)),r.readBool()&&(r.readUEG(),r.readUEG()),r.readBool()){let Hn=r.readBits(32),lr=r.readBits(32);wn=r.readBool(),Pn=lr,_t=Hn*2,rn=Pn/_t}}let $r=1;(qt!==1||et!==1)&&($r=qt/et);let hr=0,kr=0;if(ge===0)hr=1,kr=2-oe;else{let Hn=ge===3?1:2,lr=ge===1?2:1;hr=Hn,kr=lr*(2-oe)}let Ur=(tt+1)*16,Kr=(2-oe)*((ae+1)*16);Ur-=(Ee+nt)*hr,Kr-=(rt+Wt)*kr;let Jr=Math.ceil(Ur*$r);return r.destroy(),r=null,{profile_string:p,level_string:I,bit_depth:dt,ref_frames:te,chroma_format:ee,chroma_format_string:ln.getChromaFormatString(ee),frame_rate:{fixed:wn,fps:rn,fps_den:_t,fps_num:Pn},sar_ratio:{width:qt,height:et},codec_size:{width:Ur,height:Kr},present_size:{width:Jr,height:Kr}}}static _skipScalingList(e,t){let r=8,o=8,d=0;for(let p=0;p>>8&255|(j&255)<<8}function ar(j){return(j&4278190080)>>>24|(j&16711680)>>>8|(j&65280)<<8|(j&255)<<24}function G(j,e){return j[e]<<24|j[e+1]<<16|j[e+2]<<8|j[e+3]}class q{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new nn,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let r=new ArrayBuffer(2);return new DataView(r).setInt16(0,256,!0),new Int16Array(r)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),r={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return r;let o=(t[4]&4)>>>2!==0,d=(t[4]&1)!==0,p=G(t,5);return p<9?r:{match:!0,consumed:p,dataOffset:p,hasAudioTrack:o,hasVideoTrack:d}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new nn}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new be("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let r=0,o=this._littleEndian;if(t===0)if(e.byteLength>13)r=q.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+r!==this._dataOffset&&w.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,r).getUint32(0,!o)!==0&&w.w(this.TAG,"PrevTagSize0 !== 0 !!!"),r+=4);re.byteLength)break;let p=d.getUint8(0),I=d.getUint32(0,!o)&16777215;if(r+11+I+4>e.byteLength)break;if(p!==8&&p!==9&&p!==18){w.w(this.TAG,`Unsupported tag type ${p}, skipped`),r+=11+I+4;continue}let ge=d.getUint8(4),ee=d.getUint8(5),je=d.getUint8(6),dt=d.getUint8(7),pe=je|ee<<8|ge<<16|dt<<24;(d.getUint32(7,!o)&16777215)!==0&&w.w(this.TAG,"Meet tag which has StreamID != 0!");let tt=r+11;switch(p){case 8:this._parseAudioData(e,tt,I,pe);break;case 9:this._parseVideoData(e,tt,I,pe,t+r);break;case 18:this._parseScriptData(e,tt,I);break}let ae=d.getUint32(11+I,!o);ae!==11+I&&w.w(this.TAG,`Invalid PrevTagSize ${ae}`),r+=11+I+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),r}_parseScriptData(e,t,r){let o=_e.parseScriptData(e,t,r);if(o.hasOwnProperty("onMetaData")){if(o.onMetaData==null||typeof o.onMetaData!="object"){w.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&w.w(this.TAG,"Found another onMetaData tag!"),this._metadata=o;let d=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},d)),typeof d.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=d.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof d.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=d.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof d.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=d.audiodatarate),typeof d.videodatarate=="number"&&(this._mediaInfo.videoDataRate=d.videodatarate),typeof d.width=="number"&&(this._mediaInfo.width=d.width),typeof d.height=="number"&&(this._mediaInfo.height=d.height),typeof d.duration=="number"){if(!this._durationOverrided){let p=Math.floor(d.duration*this._timescale);this._duration=p,this._mediaInfo.duration=p}}else this._mediaInfo.duration=0;if(typeof d.framerate=="number"){let p=Math.floor(d.framerate*1e3);if(p>0){let I=p/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=I,this._referenceFrameRate.fps_num=p,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=I}}if(typeof d.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let p=d.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(p),d.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=d,w.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(o).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},o))}_parseKeyframesIndex(e){let t=[],r=[];for(let o=1;o>>4;if(ge!==2&&ge!==10){this._onError(Qt.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+ge);return}let ee=0,je=(I&12)>>>2;if(je>=0&&je<=4)ee=this._flvSoundRateTable[je];else{this._onError(Qt.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+je);return}let dt=(I&2)>>>1,pe=I&1,te=this._audioMetadata,tt=this._audioTrack;if(te||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),te=this._audioMetadata={},te.type="audio",te.id=tt.id,te.timescale=this._timescale,te.duration=this._duration,te.audioSampleRate=ee,te.channelCount=pe===0?1:2),ge===10){let ae=this._parseAACAudioData(e,t+1,r-1);if(ae==null)return;if(ae.packetType===0){te.config&&w.w(this.TAG,"Found another AudioSpecificConfig!");let oe=ae.data;te.audioSampleRate=oe.samplingRate,te.channelCount=oe.channelCount,te.codec=oe.codec,te.originalCodec=oe.originalCodec,te.config=oe.config,te.refSampleDuration=1024/te.audioSampleRate*te.timescale,w.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",te);let Ee=this._mediaInfo;Ee.audioCodec=te.originalCodec,Ee.audioSampleRate=te.audioSampleRate,Ee.audioChannelCount=te.channelCount,Ee.hasVideo?Ee.videoCodec!=null&&(Ee.mimeType='video/x-flv; codecs="'+Ee.videoCodec+","+Ee.audioCodec+'"'):Ee.mimeType='video/x-flv; codecs="'+Ee.audioCodec+'"',Ee.isComplete()&&this._onMediaInfo(Ee)}else if(ae.packetType===1){let oe=this._timestampBase+o,Ee={unit:ae.data,length:ae.data.byteLength,dts:oe,pts:oe};tt.samples.push(Ee),tt.length+=ae.data.length}else w.e(this.TAG,`Flv: Unsupported AAC data type ${ae.packetType}`)}else if(ge===2){if(!te.codec){let nt=this._parseMP3AudioData(e,t+1,r-1,!0);if(nt==null)return;te.audioSampleRate=nt.samplingRate,te.channelCount=nt.channelCount,te.codec=nt.codec,te.originalCodec=nt.originalCodec,te.refSampleDuration=1152/te.audioSampleRate*te.timescale,w.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",te);let rt=this._mediaInfo;rt.audioCodec=te.codec,rt.audioSampleRate=te.audioSampleRate,rt.audioChannelCount=te.channelCount,rt.audioDataRate=nt.bitRate,rt.hasVideo?rt.videoCodec!=null&&(rt.mimeType='video/x-flv; codecs="'+rt.videoCodec+","+rt.audioCodec+'"'):rt.mimeType='video/x-flv; codecs="'+rt.audioCodec+'"',rt.isComplete()&&this._onMediaInfo(rt)}let ae=this._parseMP3AudioData(e,t+1,r-1,!1);if(ae==null)return;let oe=this._timestampBase+o,Ee={unit:ae,length:ae.byteLength,dts:oe,pts:oe};tt.samples.push(Ee),tt.length+=ae.length}}_parseAACAudioData(e,t,r){if(r<=1){w.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let o={},d=new Uint8Array(e,t,r);return o.packetType=d[0],d[0]===0?o.data=this._parseAACAudioSpecificConfig(e,t+1,r-1):o.data=d.subarray(1),o}_parseAACAudioSpecificConfig(e,t,r){let o=new Uint8Array(e,t,r),d=null,p=0,I=0,ge=null,ee=0,je=null;if(p=I=o[0]>>>3,ee=(o[0]&7)<<1|o[1]>>>7,ee<0||ee>=this._mpegSamplingRates.length){this._onError(Qt.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let dt=this._mpegSamplingRates[ee],pe=(o[1]&120)>>>3;if(pe<0||pe>=8){this._onError(Qt.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}p===5&&(je=(o[1]&7)<<1|o[2]>>>7,ge=(o[2]&124)>>>2);let te=self.navigator.userAgent.toLowerCase();return te.indexOf("firefox")!==-1?ee>=6?(p=5,d=new Array(4),je=ee-3):(p=2,d=new Array(2),je=ee):te.indexOf("android")!==-1?(p=2,d=new Array(2),je=ee):(p=5,je=ee,d=new Array(4),ee>=6?je=ee-3:pe===1&&(p=2,d=new Array(2),je=ee)),d[0]=p<<3,d[0]|=(ee&15)>>>1,d[1]=(ee&15)<<7,d[1]|=(pe&15)<<3,p===5&&(d[1]|=(je&15)>>>1,d[2]=(je&1)<<7,d[2]|=8,d[3]=0),{config:d,samplingRate:dt,channelCount:pe,codec:"mp4a.40."+p,originalCodec:"mp4a.40."+I}}_parseMP3AudioData(e,t,r,o){if(r<4){w.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let d=this._littleEndian,p=new Uint8Array(e,t,r),I=null;if(o){if(p[0]!==255)return;let ge=p[1]>>>3&3,ee=(p[1]&6)>>1,je=(p[2]&240)>>>4,dt=(p[2]&12)>>>2,te=(p[3]>>>6&3)!==3?2:1,tt=0,ae=0,oe=34,Ee="mp3";switch(ge){case 0:tt=this._mpegAudioV25SampleRateTable[dt];break;case 2:tt=this._mpegAudioV20SampleRateTable[dt];break;case 3:tt=this._mpegAudioV10SampleRateTable[dt];break}switch(ee){case 1:oe=34,je>>4,ge=p&15;if(ge!==7){this._onError(Qt.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${ge}`);return}this._parseAVCVideoPacket(e,t+1,r-1,o,d,I)}_parseAVCVideoPacket(e,t,r,o,d,p){if(r<4){w.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let I=this._littleEndian,ge=new DataView(e,t,r),ee=ge.getUint8(0),dt=(ge.getUint32(0,!I)&16777215)<<8>>8;if(ee===0)this._parseAVCDecoderConfigurationRecord(e,t+4,r-4);else if(ee===1)this._parseAVCVideoData(e,t+4,r-4,o,d,p,dt);else if(ee!==2){this._onError(Qt.FORMAT_ERROR,`Flv: Invalid video packet type ${ee}`);return}}_parseAVCDecoderConfigurationRecord(e,t,r){if(r<7){w.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let o=this._videoMetadata,d=this._videoTrack,p=this._littleEndian,I=new DataView(e,t,r);o?typeof o.avcc!="undefined"&&w.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),o=this._videoMetadata={},o.type="video",o.id=d.id,o.timescale=this._timescale,o.duration=this._duration);let ge=I.getUint8(0),ee=I.getUint8(1),je=I.getUint8(2),dt=I.getUint8(3);if(ge!==1||ee===0){this._onError(Qt.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(I.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Qt.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let pe=I.getUint8(5)&31;if(pe===0){this._onError(Qt.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else pe>1&&w.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${pe}`);let te=6;for(let ae=0;ae1&&w.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${tt}`);te++;for(let ae=0;ae=r){w.w(this.TAG,`Malformed Nalu near timestamp ${tt}, offset = ${pe}, dataSize = ${r}`);break}let oe=ee.getUint32(pe,!ge);if(te===3&&(oe>>>=8),oe>r-te){w.w(this.TAG,`Malformed Nalus near timestamp ${tt}, NaluSize > DataSize!`);return}let Ee=ee.getUint8(pe+te)&31;Ee===5&&(ae=!0);let nt=new Uint8Array(e,t+pe,te+oe),rt={type:Ee,data:nt};je.push(rt),dt+=nt.byteLength,pe+=te+oe}if(je.length){let oe=this._videoTrack,Ee={units:je,length:dt,isKeyframe:ae,dts:tt,cts:I,pts:tt+I};ae&&(Ee.fileposition=d),oe.samples.push(Ee),oe.length+=dt}}}var se=q;class b{static init(){b.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in b.types)b.types.hasOwnProperty(t)&&(b.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=b.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,r=null,o=Array.prototype.slice.call(arguments,1),d=o.length;for(let I=0;I>>24&255,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r.set(e,4);let p=8;for(let I=0;I>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return b.box(b.types.trak,b.tkhd(e),b.mdia(e))}static tkhd(e){let t=e.id,r=e.duration,o=e.presentWidth,d=e.presentHeight;return b.box(b.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,o>>>8&255,o&255,0,0,d>>>8&255,d&255,0,0]))}static mdia(e){return b.box(b.types.mdia,b.mdhd(e),b.hdlr(e),b.minf(e))}static mdhd(e){let t=e.timescale,r=e.duration;return b.box(b.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,r>>>24&255,r>>>16&255,r>>>8&255,r&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=b.constants.HDLR_AUDIO:t=b.constants.HDLR_VIDEO,b.box(b.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=b.box(b.types.smhd,b.constants.SMHD):t=b.box(b.types.vmhd,b.constants.VMHD),b.box(b.types.minf,t,b.dinf(),b.stbl(e))}static dinf(){return b.box(b.types.dinf,b.box(b.types.dref,b.constants.DREF))}static stbl(e){return b.box(b.types.stbl,b.stsd(e),b.box(b.types.stts,b.constants.STTS),b.box(b.types.stsc,b.constants.STSC),b.box(b.types.stsz,b.constants.STSZ),b.box(b.types.stco,b.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?b.box(b.types.stsd,b.constants.STSD_PREFIX,b.mp3(e)):b.box(b.types.stsd,b.constants.STSD_PREFIX,b.mp4a(e)):b.box(b.types.stsd,b.constants.STSD_PREFIX,b.avc1(e))}static mp3(e){let t=e.channelCount,r=e.audioSampleRate,o=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,r>>>8&255,r&255,0,0]);return b.box(b.types[".mp3"],o)}static mp4a(e){let t=e.channelCount,r=e.audioSampleRate,o=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,r>>>8&255,r&255,0,0]);return b.box(b.types.mp4a,o,b.esds(e))}static esds(e){let t=e.config||[],r=t.length,o=new Uint8Array([0,0,0,0,3,23+r,0,1,0,4,15+r,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([r]).concat(t).concat([6,1,2]));return b.box(b.types.esds,o)}static avc1(e){let t=e.avcc,r=e.codecWidth,o=e.codecHeight,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,r>>>8&255,r&255,o>>>8&255,o&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return b.box(b.types.avc1,d,b.box(b.types.avcC,t))}static mvex(e){return b.box(b.types.mvex,b.trex(e))}static trex(e){let t=e.id,r=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return b.box(b.types.trex,r)}static moof(e,t){return b.box(b.types.moof,b.mfhd(e.sequenceNumber),b.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return b.box(b.types.mfhd,t)}static traf(e,t){let r=e.id,o=b.box(b.types.tfhd,new Uint8Array([0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255])),d=b.box(b.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),p=b.sdtp(e),I=b.trun(e,p.byteLength+16+16+8+16+8+8);return b.box(b.types.traf,o,d,I,p)}static sdtp(e){let t=e.samples||[],r=t.length,o=new Uint8Array(4+r);for(let d=0;d>>24&255,o>>>16&255,o>>>8&255,o&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let I=0;I>>24&255,ge>>>16&255,ge>>>8&255,ge&255,ee>>>24&255,ee>>>16&255,ee>>>8&255,ee&255,je.isLeading<<2|je.dependsOn,je.isDependedOn<<6|je.hasRedundancy<<4|je.isNonSync,0,0,dt>>>24&255,dt>>>16&255,dt>>>8&255,dt&255],12+16*I)}return b.box(b.types.trun,p)}static mdat(e){return b.box(b.types.mdat,e)}}b.init();var Ve=b;class Xe{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var Zt=Xe;class In{constructor(e,t,r,o,d){this.dts=e,this.pts=t,this.duration=r,this.originalDts=o,this.isSyncPoint=d,this.fileposition=null}}class Zn{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class Gt{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[d].dts&&et[o].lastSample.originalDts&&e=t[o].lastSample.originalDts&&(o===t.length-1||o0&&(d=this._searchNearestSegmentBefore(r.originalBeginDts)+1),this._lastAppendLocation=d,this._list.splice(d,0,r)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),r=this._list[t].syncPoints;for(;r.length===0&&t>0;)t--,r=this._list[t].syncPoints;return r.length>0?r[r.length-1]:null}}class En{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new vr("audio"),this._videoSegmentInfoList=new vr("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(re.chrome&&(re.version.major<50||re.version.major===50&&re.version.build<2661)),this._fillSilentAfterSeek=re.msedge||re.msie,this._mp3UseMpegAudio=!re.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new be("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let r=null,o="mp4",d=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(o="mpeg",d="",r=new Uint8Array):r=Ve.generateInitSegment(t);else if(e==="video")this._videoMeta=t,r=Ve.generateInitSegment(t);else return;if(!this._onInitSegment)throw new be("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:r.buffer,codec:d,container:`${e}/${o}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,r={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(r.samples.push(e),r.length=e.length);let o={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(o.samples.push(t),o.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(r,!0),this._remuxAudio(o,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let r=e,o=r.samples,d,p=-1,I=-1,ge=-1,ee=this._audioMeta.refSampleDuration,je=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,dt=this._dtsBaseInited&&this._audioNextDts===void 0,pe=!1;if(!o||o.length===0||o.length===1&&!t)return;let te=0,tt=null,ae=0;je?(te=0,ae=r.length):(te=8,ae=8+r.length);let oe=null;if(o.length>1&&(oe=o.pop(),ae-=oe.length),this._audioStashedLastSample!=null){let et=this._audioStashedLastSample;this._audioStashedLastSample=null,o.unshift(et),ae+=et.length}oe!=null&&(this._audioStashedLastSample=oe);let Ee=o[0].dts-this._dtsBase;if(this._audioNextDts)d=Ee-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())d=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(pe=!0);else{let et=this._audioSegmentInfoList.getLastSampleBefore(Ee);if(et!=null){let rn=Ee-(et.originalDts+et.duration);rn<=3&&(rn=0);let wn=et.dts+et.duration+rn;d=Ee-wn}else d=0}if(pe){let et=Ee-d,rn=this._videoSegmentInfoList.getLastSegmentBefore(Ee);if(rn!=null&&rn.beginDts=1?Cr=nt[nt.length-1].duration:Cr=Math.floor(ee);let $r=!1,hr=null;if(Cr>ee*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!re.safari){$r=!0;let kr=Math.abs(Cr-ee),Ur=Math.ceil(kr/ee),Kr=_t+ee;w.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +(self.webpackChunk=self.webpackChunk||[]).push([[8866],{96935:function($,gt,v){"use strict";v.d(gt,{Z:function(){return Qe}});var n=v(3113),Fe=v(59301),B=Object.defineProperty,le=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,W=(qe,Ce,me)=>Ce in qe?B(qe,Ce,{enumerable:!0,configurable:!0,writable:!0,value:me}):qe[Ce]=me,be=(qe,Ce)=>{for(var me in Ce||(Ce={}))ze.call(Ce,me)&&W(qe,me,Ce[me]);if(w)for(var me of w(Ce))Be.call(Ce,me)&&W(qe,me,Ce[me]);return qe},Ge=(qe,Ce)=>le(qe,ne(Ce)),Ye=(qe,Ce)=>{var me={};for(var re in qe)ze.call(qe,re)&&Ce.indexOf(re)<0&&(me[re]=qe[re]);if(qe!=null&&w)for(var re of w(qe))Ce.indexOf(re)<0&&Be.call(qe,re)&&(me[re]=qe[re]);return me},Re=(qe,Ce,me)=>new Promise((re,Q)=>{var P=m=>{try{O(me.next(m))}catch(Ne){Q(Ne)}},T=m=>{try{O(me.throw(m))}catch(Ne){Q(Ne)}},O=m=>m.done?re(m.value):Promise.resolve(m.value).then(P,T);O((me=me.apply(qe,Ce)).next())});const Qe=qe=>{var Ce=qe,{children:me}=Ce,re=Ye(Ce,["children"]);const[Q,P]=(0,Fe.useState)(!1);return Fe.createElement(n.ZP,Ge(be({},re),{loading:Q,onClick:T=>Re(void 0,null,function*(){try{P(!0),yield re.onClick(T),P(!1)}catch(O){console.error(O),P(!1)}})}),me)}},40277:function($,gt,v){"use strict";v.d(gt,{Z:function(){return W}});var n=v(59301),Fe=v(65582),B=v(44e3),le=v(20834),ne=v(41867),w={myMenu:"myMenu___bbQDH",layoutSider:"layoutSider___b9ayt"};const ze={background:"#082930"},Be=({globalSetting:be,mainDom:Ge,dispatch:Ye})=>{var Re;const[Qe,qe]=(0,n.useState)([]),[Ce,me]=(0,n.useState)([]),re=(0,n.useMemo)(()=>{var T,O,m;const Ne=ct=>!(ct!=null&&ct.hidden)&&!((0,ne.JA)()&&(ct==null?void 0:ct.link)==="/paperlibrary"),he=((O=(T=be==null?void 0:be.setting)==null?void 0:T.navbar)==null?void 0:O.filter(Ne))||[];for(const ct of he)ct.subitem=((m=ct==null?void 0:ct.subitem)==null?void 0:m.filter(Ne))||[];return he},[(Re=be==null?void 0:be.setting)==null?void 0:Re.navbar]),Q=(T,O)=>{let m="",Ne=[];for(const he of T)if(he.link===O&&(m=he.link),he.subitem&&he.subitem.length>0){for(const ct of he.subitem)if(ct.link===O&&(m=ct.link,Ne=[he.link]),ct.subitem){const sn=Q(ct.subitem,O);sn.selectedKey&&(m=sn.selectedKey,Ne=[he.link,...sn.openKeys])}}return{selectedKey:m,openKeys:Ne}};(0,n.useEffect)(()=>{const T=location.pathname,{selectedKey:O,openKeys:m}=Q(re,T);qe(O?[O]:[]),m.length>0?me(m):me([])},[re]),(0,n.useEffect)(()=>{Ye({type:"globalSetting/headerFooterToggle",payload:!0})},[]);const P=T=>{switch(T){case"/":return n.createElement("i",{className:"iconfont ml10 icon-shouye3 font14"});case"/paths":return n.createElement("i",{className:"iconfont ml10 icon-zhihuikecheng font14"});case"/shixuns":return n.createElement("i",{className:"iconfont ml10 icon-shijianxiangmu font14"});case"/classrooms":return n.createElement("i",{className:"iconfont ml10 icon-jiaoxueketang2 font14"});default:return null}};return n.createElement(B.default,{style:ze},be.showHeader&&be.showHeaderFooter&&n.createElement(B.default.Sider,{className:`flex flex-col ${w.layoutSider}`,width:244,style:ze},n.createElement(le.default,{className:`w-full ${w.myMenu}`,mode:"inline",selectedKeys:Qe,openKeys:Ce,onOpenChange:T=>me(T),onSelect:({key:T})=>{T&&T.includes("/")&&Fe.history.push(T)},items:re.map(T=>{var O;return{key:T.link,label:T.name,icon:P(T==null?void 0:T.link),children:((O=T.subitem)==null?void 0:O.length)>0?T.subitem.map(m=>{var Ne;return{key:m.link,label:m.name,children:((Ne=m.subitem)==null?void 0:Ne.length)>0?m.subitem.map(he=>({key:he.link,label:he.name})):void 0}}):void 0}})})),n.createElement(B.default.Content,{style:{backgroundColor:"#021C21"}},Ge))};var W=(0,Fe.connect)(({globalSetting:be,user:Ge})=>({globalSetting:be,user:Ge}))(Be)},90175:function($,gt,v){"use strict";v.d(gt,{Z:function(){return W}});var n=v(59301),Fe=v(65582),B=v(44e3),le=v(20834),ne=v(41867),w={myMenu:"myMenu___BgVun",layoutSider:"layoutSider___rUtSB"};const ze={background:"linear-gradient( 180deg, #FFFFFF -20%, #BCD7FF 100%)"},Be=({globalSetting:be,mainDom:Ge,dispatch:Ye})=>{var Re;const[Qe,qe]=(0,n.useState)([]),[Ce,me]=(0,n.useState)([]),re=(0,n.useMemo)(()=>{var P,T,O;const m=he=>!(he!=null&&he.hidden)&&!((0,ne.JA)()&&(he==null?void 0:he.link)==="/paperlibrary"),Ne=((T=(P=be==null?void 0:be.setting)==null?void 0:P.navbar)==null?void 0:T.filter(m))||[];for(const he of Ne)he.subitem=((O=he==null?void 0:he.subitem)==null?void 0:O.filter(m))||[];return Ne},[(Re=be==null?void 0:be.setting)==null?void 0:Re.navbar]),Q=(P,T)=>{let O="",m=[];for(const Ne of P)if(Ne.link===T&&(O=Ne.link),Ne.subitem&&Ne.subitem.length>0){for(const he of Ne.subitem)if(he.link===T&&(O=he.link,m=[Ne.link]),he.subitem){const ct=Q(he.subitem,T);ct.selectedKey&&(O=ct.selectedKey,m=[Ne.link,...ct.openKeys])}}return{selectedKey:O,openKeys:m}};return(0,n.useEffect)(()=>{const P=location.pathname,{selectedKey:T,openKeys:O}=Q(re,P);qe(T?[T]:[]),O.length>0?me(O):me([])},[re]),(0,n.useEffect)(()=>{Ye({type:"globalSetting/headerFooterToggle",payload:!0})},[]),n.createElement(B.default,{style:ze},be.showHeader&&be.showHeaderFooter&&n.createElement(B.default.Sider,{className:`flex flex-col ${w.layoutSider}`,width:212,style:ze},n.createElement(le.default,{className:`w-full ${w.myMenu}`,mode:"inline",selectedKeys:Qe,openKeys:Ce,onOpenChange:P=>me(P),onSelect:({key:P})=>{P&&P.includes("/")&&Fe.history.push(P)},items:re.map(P=>{var T;return{key:P.link,label:P.name,children:((T=P.subitem)==null?void 0:T.length)>0?P.subitem.map(O=>{var m;return{key:O.link,label:O.name,children:((m=O.subitem)==null?void 0:m.length)>0?O.subitem.map(Ne=>({key:Ne.link,label:Ne.name})):void 0}}):void 0}})})),n.createElement(B.default.Content,{style:{backgroundColor:"#EEF5FE"}},Ge))};var W=(0,Fe.connect)(({globalSetting:be,user:Ge})=>({globalSetting:be,user:Ge}))(Be)},86340:function($,gt,v){"use strict";v.d(gt,{K:function(){return w}});var n=v(59301),Fe=v(43418),B=v(44080),le={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},ne=v(24334);const w=({visible:ze,width:Be,videoId:W,file_url:be,course_id:Ge,copyUrl:Ye,toLog:Re=!0,logWatchHistory:Qe=()=>{},allow_skip:qe,onClose:Ce=()=>{},autoPlay:me=!1,onPlayEnded:re=()=>{}})=>n.createElement(Fe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:ze,title:null,footer:null,width:Be,className:le.modal},n.createElement("i",{className:`${le.closeIcon} iconfont icon-guanbi10`,onClick:Ce}),ze&&n.createElement(B.Z,{onPlayEnded:re,autoPlay:me,allow_skip:qe,courseId:Ge,src:be!=null&&be.startsWith("http")?be:ne.Base64.decode(be),videoId:W,toLog:Re,logWatchHistory:Qe}))},44080:function($,gt,v){"use strict";v.d(gt,{Z:function(){return qe}});var n=v(59301),Fe=v(8591),B=v(38854),le=v(73217),ne=v(16471),w=v(41867),ze=v(56102),Be=v(84056),W={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},be=(Ce,me,re)=>new Promise((Q,P)=>{var T=Ne=>{try{m(re.next(Ne))}catch(he){P(he)}},O=Ne=>{try{m(re.throw(Ne))}catch(he){P(he)}},m=Ne=>Ne.done?Q(Ne.value):Promise.resolve(Ne.value).then(T,O);m((re=re.apply(Ce,me)).next())});function Ge(Ce){if(isNaN(Ce))return{minutes:"00",seconds:"00"};const me=new Date(Ce*1e3).toISOString().substr(11,8);return{hour:me.substr(0,2),minutes:me.substr(3,2),seconds:me.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Ye(Ce,me){return Ce-me}function Re(Ce){Ce.sort(Ye);let me=0;for(let re=0;re{},handlePlay:Ne=()=>{},handlePlayEnded:he=()=>{},autoPlay:ct=!1,onPlayEnded:sn=()=>{},isShowWaterMark:Bn=!0},zn)=>{var qn;const lt=((qn=me==null?void 0:me.split("."))==null?void 0:qn.pop())==="flv",K=(0,n.useRef)(),tn=(0,n.useRef)(),_n=(0,n.useRef)(),$n=(0,n.useRef)(),gn=(0,n.useRef)(),yn=(0,n.useRef)(),jn=(0,n.useRef)(),jt=(0,n.useRef)(),Dt=(0,n.useRef)(),at=(0,n.useRef)(),er=(0,n.useRef)(),nn=(0,n.useRef)(),On=(0,n.useRef)(),yr=(0,n.useRef)(),Ir=navigator.userAgent.toLowerCase().match(Qe),Se=Ir?Ir[0]:"pc",ft=(0,n.useRef)(!1),_e=(0,w.eY)();let Fn=0,Ar=0,ln=0,Lr=null,Tn=!1,Qt=20,Jt=1,ar=!1,G=!1,q=[];(0,n.useImperativeHandle)(zn,()=>({getLastUpdatedTime:()=>K.current.currentTime,getDuration:()=>K.current.duration})),Fe.ZP.config({maxCount:1,getContainer:()=>_n.current});const se=(0,n.useCallback)((Gt,vr=!1)=>{let En={point:K.current.currentTime};Lr?(En.log_id=Lr,En.watch_duration=Re(q),En.total_duration=Ar):(T?(En.video_id=parseInt(Q,10),En.course_id=T):En.video_id=Q,En.duration=Fn,En.device=Se),vr&&(En.ed="1");function on(){return be(this,null,function*(){ar=!0,Lr=yield P==null?void 0:P(En),ar=!1,Gt&&Gt()})}on()},[Q,T]);(0,n.useEffect)(()=>{K.current&&($n.current.style.display="none",gn.current.style.display="block"),Fe.ZP.destroy();let Gt=null;return le.Z.isSupported&<&&me&&(me==null?void 0:me.indexOf(".m3u8"))<0?(Gt=le.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:me,muted:!1}),K.current&&(Gt.attachMediaElement(K.current),Gt.load())):K.current.setAttribute("src",me),Ve(),()=>{Gt&&(Gt.unload(),Gt.pause(),Gt.destroy(),Gt=null)}},[K,lt,me]);function b(){K.current.paused?($n.current.style.display="none",gn.current.style.display="block"):($n.current.style.display="block",gn.current.style.display="none")}function Ve(){er.current.style.display="none",On.current.style.display="none",nn.current.style.display="none",K.current.muted||K.current.volume===0?er.current.style.display="block":K.current.volume>0&&K.current.volume<=.5?On.current.style.display="block":nn.current.style.display="block"}(0,n.useEffect)(()=>{const Gt=document.getElementById("play"),vr=document.querySelectorAll(".playback-icons use");function En(){Ne(),O&&!ft.current&&(K.current.currentTime=O),ft.current=!0,q.push(K.current.currentTime),Tn||(Tn=!0,re&&se())}function on(){return be(this,null,function*(){b(),q.push(K.current.currentTime),re&&se(()=>{Lr=null,ln=0,Tn=!1,ar=!1,G=!1,q=[],Ar=0,Jt=1},!0),sn()})}function Yr(){yn.current.value=Math.round(K.current.currentTime),jn.current.value=Math.round(K.current.currentTime)}function Ae(){const l=Ge(Math.round(K.current.currentTime));Dt.current.innerText=`${l.hour>0?l.hour+":":""}${l.minutes}:${l.seconds}`,Dt.current.setAttribute("datetime",`${l.hour>0?" "+l.hour+" ":""}${l.minutes}m ${l.seconds}s`)}function Rr(){var l,N,D,C,Y,ie,xe;const fe=Math.round((l=K.current)==null?void 0:l.duration);(D=(N=yn.current)==null?void 0:N.setAttribute)==null||D.call(N,"max",fe),(Y=(C=jn.current)==null?void 0:C.setAttribute)==null||Y.call(C,"max",fe);const Oe=Ge(fe);jt.current&&(jt.current.innerText=`${Oe.hour>0?Oe.hour+":":""}${Oe.minutes}:${Oe.seconds}`,(xe=(ie=jt.current).setAttribute)==null||xe.call(ie,"datetime",`${Oe.hour>0?" "+Oe.hour+" ":""}${Oe.minutes}m ${Oe.seconds}s`))}function Nr(){try{const l=Math.round(K.current.duration);yn.current.setAttribute("max",l),jn.current.setAttribute("max",l);const N=Ge(l);jt.current.innerText=`${N.hour>0?N.hour+":":""}${N.minutes}:${N.seconds}`,jt.current.setAttribute("datetime",`${N.hour>0?" "+N.hour+" ":""}${N.minutes}m ${N.seconds}s`),Yr(),Ae();const{width:D,height:C,x:Y,y:ie}=tn.current.getBoundingClientRect();if(Y<0||ie<0||!D)return;if(!G){let xe=K.current.currentTime,fe=xe-ln;Math.abs(fe)<10?(Ar+=Math.abs(fe),ln=xe,ar||Ar-Jt*Qt>=0&&(Jt++,q.push(ln),re&&se())):(ln=xe,re&&se())}}catch(l){console.log(l)}}function Et(){G=!0}function sr(){K.current.playing&&q.push(K.current.currentTime,ln),ln=K.current.currentTime,G=!1}function mr(){Fn=K.current.duration,Fn<=20&&(Qt=Fn/3),K.current.addEventListener("play",En)}function Hr(l){l.preventDefault(),(0,Be.vp)()?(K.current.style.width="100%",K.current.style.height="100%"):K.current.style.cssText=""}function _(){m()}function f(l){if(!Ce){Fe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const N=l.target.dataset.seek?l.target.dataset.seek:l.target.value;K.current.currentTime=N,jn.current.value=N,yn.current.value=N}function y(l){const N=Math.round(l.offsetX/l.target.clientWidth*parseInt(l.target.getAttribute("max"),10));yn.current.setAttribute("data-seek",N);const D=Ge(N);at.current.textContent=`${D.hour>0?D.hour+":":""}${D.minutes}:${D.seconds}`;const C=K.current.getBoundingClientRect();at.current.style.left=`${l.pageX-C.left}px`}function V(l){switch(l.code){case"Space":l.preventDefault(),In();break;case"ArrowRight":if(l.preventDefault(),!Ce){Fe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(K.current.currentTime>=K.current.duration)break;K.current.currentTime=parseInt(K.current.currentTime)+5,Yr();break;case"ArrowLeft":if(l.preventDefault(),!Ce){Fe.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(K.current.currentTime===0)break;K.current.currentTime=parseInt(K.current.currentTime)-5,Yr();break;case"ArrowUp":l.preventDefault(),K.current.volume<1&&(K.current.volume=(parseInt(K.current.volume*10)+1)/10);break;case"ArrowDown":l.preventDefault(),K.current.volume>0&&(K.current.volume=(parseInt(K.current.volume*10)-1)/10);break}}return _n.current.addEventListener((0,Be.gH)(),Hr),K.current.addEventListener("canplay",mr),K.current.addEventListener("ended",on),K.current.addEventListener("seeking",Et),K.current.addEventListener("seeked",sr),K.current.addEventListener("loadedmetadata",Rr),yn.current.addEventListener("mousemove",y),yn.current.addEventListener("input",f),K.current.addEventListener("timeupdate",Nr),K.current.addEventListener("pause",_),K.current.addEventListener("volumechange",Ve),document.addEventListener("keydown",V),()=>{var l,N,D,C,Y,ie,xe,fe,Oe,We,$e,j;(l=K.current)==null||l.removeEventListener("canplay",mr),(N=K.current)==null||N.removeEventListener("play",En),(D=K.current)==null||D.removeEventListener("ended",on),(C=K.current)==null||C.removeEventListener("seeking",Et),(Y=K.current)==null||Y.removeEventListener("seeked",sr),(ie=yn.current)==null||ie.removeEventListener("mousemove",y),(xe=yn.current)==null||xe.removeEventListener("input",f),(fe=K.current)==null||fe.removeEventListener("timeupdate",Nr),(Oe=K.current)==null||Oe.removeEventListener("pause",_),(We=K.current)==null||We.removeEventListener("loadedmetadata",Rr),($e=K.current)==null||$e.removeEventListener("volumechange",Ve),document.removeEventListener("keydown",V),(j=K.current)!=null&&j.playing&&(q.push(ln,K.current.currentTime),re&&se())}},[K,me]),(0,n.useEffect)(()=>{if(K.current.onended=()=>{he(K)},K.current.oncontextmenu=()=>!1,(me==null?void 0:me.indexOf(".m3u8"))>-1){if(K.current.canPlayType("application/vnd.apple.mpegurl"))K.current.src=me;else if(ne.ZP.isSupported()){var Gt=new ne.ZP;Gt.loadSource(me),Gt.attachMedia(K.current)}}},[me]);const[Xe,Zt]=(0,n.useState)(1),In=()=>{K.current.paused||K.current.ended?K.current.play():K.current.pause(),b()};function Zn(){K.current.muted=!K.current.muted,K.current.muted?(yr.current.setAttribute("data-volume",volume.value),yr.current.value=0):yr.current.value=yr.current.dataset.volume}return n.createElement("div",{style:{position:"relative"},ref:_n},n.createElement("div",{ref:tn,className:`${W.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${W.animate__loop}`},Bn&&_e?_e.login:" "),n.createElement("div",{className:W.container},n.createElement("div",{className:W["video-container"],id:"video-container"},n.createElement("div",{className:W["playback-animation"],id:"playback-animation"},n.createElement("svg",{className:W["playback-icons"]},n.createElement("use",{className:"hidden",href:"#play-icon"}),n.createElement("use",{href:"#pause"}))),n.createElement("video",{className:W.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:K,autoPlay:ct}),n.createElement("div",{className:`${W["video-controls"]} `,id:"video-controls"},n.createElement("div",{className:W["bottom-controls"]},n.createElement("div",{className:W["left-controls"]},n.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:In},n.createElement("svg",{className:W["playback-icons"]},n.createElement("use",{ref:gn,href:"#play-icon"}),n.createElement("use",{ref:$n,style:{display:"none"},href:"#pause"}))),n.createElement("div",{className:W.time},n.createElement("time",{id:"time-elapsed",ref:Dt},"00:00"),n.createElement("span",null," / "),n.createElement("time",{id:"duration",ref:jt},"00:00"))),n.createElement("div",{className:W["right-controls"]},Ce&&n.createElement(B.Z,{placement:"top",overlayClassName:W.rateOverlay,getPopupContainer:Gt=>Gt.parentNode,menu:{items:[{key:"1",label:n.createElement("span",{onClick:()=>{Zt(1),K.current.playbackRate=1}},"1.0x")},{key:"2",label:n.createElement("span",{onClick:()=>{Zt(1.5),K.current.playbackRate=1.5}},"1.5x")},{key:"3",label:n.createElement("span",{onClick:()=>{Zt(2),K.current.playbackRate=2}},"2.0x")}]}},n.createElement("div",{className:`${W.controlText} mr5`},"\u500D\u901F")),n.createElement(ze.CopyToClipboard,{text:me,onCopy:()=>Fe.ZP.success("\u590D\u5236\u6210\u529F")},n.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},n.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),n.createElement("div",{className:W["volume-controls"]},n.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:W["volume-button"],id:"volume-button",onClick:Zn},n.createElement("i",{ref:er,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),n.createElement("i",{ref:On,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),n.createElement("i",{ref:nn,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),n.createElement("input",{className:W.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:yr,style:{display:"none"},onClick:Ve})),n.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:W["fullscreen-button"],onClick:()=>{(0,Be.vp)()?(0,Be.BU)():(0,Be.Dj)(_n.current)}},n.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),n.createElement("div",{className:W["video-progress"]},n.createElement("progress",{ref:jn,value:"0",min:"0"}),n.createElement("input",{className:W.seek,ref:yn,value:"0",min:"0",type:"range",step:"1"}),n.createElement("div",{className:W["seek-tooltip"],ref:at,id:"seek-tooltip"},"00:00"))))),n.createElement("svg",{style:{display:"none"}},n.createElement("defs",null,n.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},n.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),n.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},n.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),n.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},n.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),n.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},n.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),n.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},n.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),n.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},n.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),n.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},n.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),n.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},n.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},71735:function($,gt,v){"use strict";v.r(gt),v.d(gt,{default:function(){return Sr}});var n=v(59301),Fe=v(92736),B=v(81863),le=v(65582),ne=v(90559),w=v(65862),ze={flex_box_center:"flex_box_center___aFf5V",flex_space_between:"flex_space_between___lgjHK",flex_box_vertical_center:"flex_box_vertical_center___MWYpu",flex_box_center_end:"flex_box_center_end___fAgVO",flex_box_column:"flex_box_column___oLrCs",indexPage:"indexPage___n9yrh",indexPageBox:"indexPageBox___eUfJb",indexPageContent:"indexPageContent___egP8m",content_left:"content_left___bH1xY",content_right:"content_right___i2fHq",title:"title___UQUEK",desc:"desc___Jqwih",zxpt:"zxpt___MYnaO",list_item:"list_item____imBe",item_title:"item_title___GmAxX",item_desc:"item_desc___A7m8F"},Be=v(8591);const W=({homePage:g,dispatch:c})=>{const{systems:u}=g;let st=[v(34148),v(55325),v(57615)];return(0,n.useEffect)(()=>{c({type:"homePage/home",payload:{}})},[g.name]),(0,n.useEffect)(()=>((0,w.Ll)()||c({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),()=>{c({type:"globalSetting/onlyShowBackTopToggle",payload:!0})}),[]),n.createElement("section",{style:{background:"#fff",height:"calc(100vh - 60px)",overflow:"hidden"}},n.createElement("div",{className:ze.indexPage},n.createElement("div",{className:ze.indexPageBox},n.createElement("div",{className:ze.indexPageContent},n.createElement("div",{className:ze.content_left,onClick:()=>{le.history.push("/shixuns")}},n.createElement("div",{className:ze.title},"\u4EBA\u5DE5\u667A\u80FD\u6A21\u62DF\u8BAD\u7EC3\u7CFB\u7EDF"),n.createElement("div",{className:ze.desc},"\u96C6\u8D44\u6E90\u8C03\u5EA6\u3001\u9879\u76EE\u7BA1\u7406\u4E0E\u591A\u6A21\u6001\u73AF\u5883\u4E8E\u4E00\u4F53")),n.createElement("div",{className:ze.content_right,onClick:()=>{le.history.push("/innovation")}},n.createElement("div",{className:ze.title},"\u4EBA\u5DE5\u667A\u80FD\u79D1\u7814\u7BA1\u7406\u7CFB\u7EDF"),n.createElement("div",{className:ze.desc},"\u652F\u6301\u8D44\u6E90\u5171\u4EAB\u3001\u9879\u76EE\u521B\u5EFA\u4E0E\u5168\u5468\u671F\u6258\u7BA1"))))),n.createElement("div",{className:ze.zxpt},u==null?void 0:u.map((ot,Lt)=>n.createElement("div",{className:ze.list_item,onClick:()=>{if(!(ot!=null&&ot.subject_identifier)){Be.ZP.info("\u5F53\u524D\u7CFB\u7EDF\u6682\u672A\u914D\u7F6E\u5185\u5BB9");return}le.history.push(`/paths/${ot==null?void 0:ot.subject_identifier}?activeKey=intro`)}},n.createElement("div",{className:ze.item_title},ot.system),n.createElement("div",{className:ze.item_desc},ot.intr),n.createElement("img",{src:st[Lt],alt:"",width:Lt===0?80:Lt===1?86:90,height:90})))))};var be=(0,le.connect)(({homePage:g})=>({homePage:g}))(W),Ge=v(61621),Ye={flex_box_center:"flex_box_center___sEfC3",flex_space_between:"flex_space_between___rfkoZ",flex_box_vertical_center:"flex_box_vertical_center___g_6Jh",flex_box_center_end:"flex_box_center_end___k37Qa",flex_box_column:"flex_box_column___A9yPD",home:"home___h5c5I",bg:"bg___mDgYE",public_width:"public_width___ctVWu",banner:"banner___Y_cZp",content:"content___S8Tis",experience:"experience___H8Zlm",li:"li___bsBii",btn:"btn___zmK7O",demonstrate:"demonstrate___HUSkM",title:"title___ZV9fz",mask:"mask___G3HO0",name:"name___TRCUE",tagWarp:"tagWarp___kbulg",tag:"tag___O6XvS",feature:"feature___k3jMC"},Re=v(62945),Qe=v.n(Re),qe=v(86340),Ce=Object.defineProperty,me=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,P=(g,c,u)=>c in g?Ce(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,T=(g,c)=>{for(var u in c||(c={}))re.call(c,u)&&P(g,u,c[u]);if(me)for(var u of me(c))Q.call(c,u)&&P(g,u,c[u]);return g};const O=g=>React.createElement("svg",T({width:77,height:50,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon1"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"55.976%",x2:"50%",y2:"99.812%",id:"icon1_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon1_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"55.976%",x2:"50%",y2:"99.812%",id:"icon1_svg__e"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-5.7%",y:"-4.8%",width:"111.3%",height:"109.6%",filterUnits:"objectBoundingBox",id:"icon1_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-3.8%",y:"-4.8%",width:"107.5%",height:"109.7%",filterUnits:"objectBoundingBox",id:"icon1_svg__g"},React.createElement("feGaussianBlur",{stdDeviation:1,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M65.5 33.265C73.167 33.265 77 36.843 77 44H54c0-7.157 3.833-10.735 11.5-10.735ZM65.538 17c4.024 0 7.286 3.223 7.286 7.198 0 3.976-3.262 7.198-7.286 7.198-4.025 0-7.287-3.222-7.287-7.198 0-3.975 3.262-7.198 7.287-7.198Z",id:"icon1_svg__b"}),React.createElement("path",{d:"M34.221 7.589c-.165.612-.397 1.045-.698 1.3.52 1.288.664 2.351.431 3.19-.349 1.259-1.431 2.364-3.645 4.06-1.476 1.131-5.362 2.82-11.659 5.068v5.601H.383c-1.304-7.167.724-11.441 6.083-12.823 3.633-.937 5.927 0 10.113 0 3.925 0 7.273-1.467 13.01-4.935.506-.213 1.139-.473 1.9-.781.592-.613.958-1.242 1.096-1.887.208-.969 2.752-1.804 1.636 1.207ZM10.613 0a5.96 5.96 0 0 1 5.966 5.956 5.96 5.96 0 0 1-5.966 5.956 5.96 5.96 0 0 1-5.966-5.956A5.96 5.96 0 0 1 10.613 0Z",id:"icon1_svg__f"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon1_svg__a)",xlinkHref:"#icon1_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon1_svg__c)",xlinkHref:"#icon1_svg__b"})),React.createElement("circle",{stroke:"url(#icon1_svg__d)",fillOpacity:.29,fill:"#C2D5FE",cx:38,cy:25,r:24.5}),React.createElement("path",{d:"M24 15c3.493-4 8.16-6 14-6s10.507 2 14 6M52 37c-3.369 4-7.869 6-13.5 6S28.369 41 25 37",stroke:"#175FFF"}),React.createElement("g",{transform:"translate(0 16)",fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon1_svg__e)",xlinkHref:"#icon1_svg__f"}),React.createElement("use",{fill:"#000",filter:"url(#icon1_svg__g)",xlinkHref:"#icon1_svg__f"})),React.createElement("path",{stroke:"#175FFF",d:"m51.45 12 .55 4-4-.284M29 37.622 25 37l.217 4"})));var m="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzciIGhlaWdodD0iNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iNTUuOTc2JSIgeDI9IjUwJSIgeTI9Ijk5LjgxMiUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjMEE1NUZDIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ3ODBGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSIgaWQ9ImQiPjxzdG9wIHN0b3AtY29sb3I9IiNDNEQxRjMiIG9mZnNldD0iMC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aWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjZykiIHhsaW5rOmhyZWY9IiNmIi8+PC9nPjxwYXRoIHN0cm9rZT0iIzE3NUZGRiIgZD0ibTUxLjQ1IDEyIC41NSA0LTQtLjI4NE0yOSAzNy42MjIgMjUgMzdsLjIxNyA0Ii8+PC9nPjwvc3ZnPg==",Ne=Object.defineProperty,he=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,Bn=(g,c,u)=>c in g?Ne(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,zn=(g,c)=>{for(var u in c||(c={}))ct.call(c,u)&&Bn(g,u,c[u]);if(he)for(var u of he(c))sn.call(c,u)&&Bn(g,u,c[u]);return g};const qn=g=>React.createElement("svg",zn({width:64,height:63,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon2"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"55.976%",x2:"50%",y2:"99.812%",id:"icon2_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon2_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("filter",{x:"-3.4%",y:"-11.8%",width:"106.8%",height:"123.6%",filterUnits:"objectBoundingBox",id:"icon2_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("rect",{id:"icon2_svg__b",x:13,y:52,width:38,height:11,rx:2})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon2_svg__a)",xlinkHref:"#icon2_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon2_svg__c)",xlinkHref:"#icon2_svg__b"})),React.createElement("rect",{stroke:"url(#icon2_svg__d)",fillOpacity:.29,fill:"#C2D5FE",x:.5,y:.5,width:63,height:57,rx:4}),React.createElement("path",{d:"M31.611 15c.602 0 1.097.383 1.16.875l.007.107v2.156a10.89 10.89 0 0 1 10.084 10.084h2.156c.543 0 .982.522.982 1.167 0 .601-.383 1.096-.875 1.16l-.107.007h-2.24c-.718 5.025-4.868 8.943-10 9.306v2.156c0 .543-.522.982-1.167.982-.601 0-1.096-.383-1.16-.875l-.007-.107v-2.24a10.896 10.896 0 0 1-9.223-9.222h-2.24c-.542 0-.981-.523-.981-1.167 0-.602.383-1.097.875-1.16l.107-.007h2.156c.363-5.132 4.28-9.282 9.306-10v-2.24c0-.543.523-.982 1.167-.982ZM32 24.333a4.667 4.667 0 1 0 0 9.334 4.667 4.667 0 0 0 0-9.334ZM59 19V8H48v2.2h8.8V19H59Zm0 20h-2.2v8.8H48V50h11V39ZM5 19V8h11v2.2H7.2V19H5Zm0 20h2.2v8.8H16V50H5V39Z",fill:"#2367FE",fillRule:"nonzero"})));var de="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iNTUuOTc2JSIgeDI9IjUwJSIgeTI9Ijk5LjgxMi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NC42NjcgMCAwIDAgMC05LjMzNFpNNTkgMTlWOEg0OHYyLjJoOC44VjE5SDU5Wm0wIDIwaC0yLjJ2OC44SDQ4VjUwaDExVjM5Wk01IDE5VjhoMTF2Mi4ySDcuMlYxOUg1Wm0wIDIwaDIuMnY4LjhIMTZWNTBINVYzOVoiIGZpbGw9IiMyMzY3RkUiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",lt=Object.defineProperty,K=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,$n=(g,c,u)=>c in g?lt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,gn=(g,c)=>{for(var u in c||(c={}))tn.call(c,u)&&$n(g,u,c[u]);if(K)for(var u of K(c))_n.call(c,u)&&$n(g,u,c[u]);return g};const yn=g=>React.createElement("svg",gn({width:71,height:63,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon3"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"28.312%",x2:"50%",y2:"100%",id:"icon3_svg__a"},React.createElement("stop",{stopColor:"#145DFF",offset:"0%"}),React.createElement("stop",{stopColor:"#578BFE",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon3_svg__b"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon3_svg__c"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-6.7%",y:"-7.1%",width:"113.3%",height:"114.2%",filterUnits:"objectBoundingBox",id:"icon3_svg__e"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M43.327 25.99c.305 1.42.574 2.705.807 3.856.108.485.206.97.296 1.456.09.485.175.926.255 1.321.08.396.148.733.202 1.012.054.278.09.454.107.526.054.36-.026.597-.242.714a1.496 1.496 0 0 1-.726.176c-.09 0-.22-.032-.39-.095s-.3-.112-.39-.148l-7.017-4.1c-1.273.756-2.43 1.43-3.47 2.023-.447.252-.89.504-1.33.755-.44.252-.838.486-1.197.702a30.21 30.21 0 0 1-.927.539 6.01 6.01 0 0 1-.525.27.915.915 0 0 1-.55.094 1.155 1.155 0 0 1-.512-.202.996.996 0 0 1-.336-.391.717.717 0 0 1-.054-.472l.135-.526c.071-.279.152-.611.242-.998.09-.386.192-.813.309-1.28.116-.468.237-.945.363-1.43l.914-3.776a493.653 493.653 0 0 0-3.912-3.357 87.6 87.6 0 0 1-.941-.81c-.278-.242-.507-.44-.686-.593-.18-.153-.278-.238-.296-.256a3.22 3.22 0 0 1-.551-.66 1.078 1.078 0 0 1-.175-.742.941.941 0 0 1 .296-.594c.161-.144.34-.233.538-.27l8.309-.754 3.092-7.228c.107-.288.26-.535.457-.742.197-.206.466-.31.807-.31.179 0 .336.04.47.121.135.081.247.176.336.284.09.108.166.215.229.323.063.108.112.198.148.27l3.011 7.228 8.309.782c.359.09.61.197.753.323.143.126.215.324.215.594 0 .251-.076.472-.229.66-.152.19-.345.418-.578.688l-5.566 5.016Z",id:"icon3_svg__d"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M35.5 0v16.933h7.1v4.234H0v-4.233l7.1-.001V0h28.4Z",transform:"translate(14.2 41.834)",fill:"url(#icon3_svg__a)",fillRule:"nonzero"}),React.createElement("rect",{stroke:"url(#icon3_svg__b)",fillOpacity:.29,fill:"#C2D5FE",x:.5,y:.5,width:70,height:49.801,rx:2}),React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon3_svg__c)",xlinkHref:"#icon3_svg__d"}),React.createElement("use",{fill:"#000",filter:"url(#icon3_svg__e)",xlinkHref:"#icon3_svg__d"}))));var jn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzEiIGhlaWdodD0iNjMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMjguMzEyJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjMTQ1REZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzU3OEJGRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSIgaWQ9ImIiPjxzdG9wIHN0b3AtY29sb3I9IiNDNEQxRjMiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRERFOUZEIiBzdG9wLW9wYWNpdHk9Ii4zOTQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSI1Ny4xNTQlIiB4Mj0iNTAlIiB5Mj0iOTkuODEyJSIgaWQ9ImMiPjxzdG9wIHN0b3AtY29sb3I9IiMwQTU1RkMiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjNDc4MEZ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Ni40NzItLjIyOS42Ni0uMTUyLjE5LS4zNDUuNDE4LS41NzguNjg4bC01LjU2NiA1LjAxNloiIGlkPSJkIi8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTM1LjUgMHYxNi45MzNoNy4xdjQuMjM0SDB2LTQuMjMzbDcuMS0uMDAxVjBoMjguNFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0LjIgNDEuODM0KSIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHJlY3Qgc3Ryb2tlPSJ1cmwoI2IpIiBmaWxsLW9wYWNpdHk9Ii4yOSIgZmlsbD0iI0MyRDVGRSIgeD0iLjUiIHk9Ii41IiB3aWR0aD0iNzAiIGhlaWdodD0iNDkuODAxIiByeD0iMiIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHVzZSBmaWxsPSJ1cmwoI2MpIiB4bGluazpocmVmPSIjZCIvPjx1c2UgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI2UpIiB4bGluazpocmVmPSIjZCIvPjwvZz48L2c+PC9zdmc+",jt=Object.defineProperty,Dt=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,nn=(g,c,u)=>c in g?jt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,On=(g,c)=>{for(var u in c||(c={}))at.call(c,u)&&nn(g,u,c[u]);if(Dt)for(var u of Dt(c))er.call(c,u)&&nn(g,u,c[u]);return g};const yr=g=>React.createElement("svg",On({width:77,height:62,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon4"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon4_svg__a"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon4_svg__b"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon4_svg__f"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon4_svg__g"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-6.7%",y:"-4.4%",width:"113.3%",height:"108.8%",filterUnits:"objectBoundingBox",id:"icon4_svg__d"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-6.7%",y:"-4.4%",width:"113.3%",height:"108.8%",filterUnits:"objectBoundingBox",id:"icon4_svg__e"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-10.6%",y:"-6.2%",width:"121.2%",height:"112.4%",filterUnits:"objectBoundingBox",id:"icon4_svg__i"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-10.6%",y:"-6.2%",width:"121.2%",height:"112.4%",filterUnits:"objectBoundingBox",id:"icon4_svg__j"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("text",{id:"icon4_svg__c",fontFamily:"Helvetica",fontSize:34,fontWeight:"normal"},React.createElement("tspan",{x:13,y:33},"Q")),React.createElement("text",{id:"icon4_svg__h",fontFamily:"Helvetica",fontSize:24,fontWeight:"normal"},React.createElement("tspan",{x:48,y:43},"A"))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m8.258 53.857 13.1-12.102H46a1.5 1.5 0 0 0 1.5-1.5V3A1.5 1.5 0 0 0 46 1.5H2A1.5 1.5 0 0 0 .5 3v37.255a1.5 1.5 0 0 0 1.5 1.5h6.258v12.102Z",stroke:"url(#icon4_svg__a)",fillOpacity:.29,fill:"#C2D5FE",transform:"translate(0 -1)"}),React.createElement("g",{fillRule:"nonzero",transform:"translate(0 -1)"},React.createElement("use",{fill:"url(#icon4_svg__b)",xlinkHref:"#icon4_svg__c"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__d)",xlinkHref:"#icon4_svg__c"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__e)",xlinkHref:"#icon4_svg__c"})),React.createElement("path",{d:"m40.064 61.873 10.982-9.942H75a1.5 1.5 0 0 0 1.5-1.5V19a1.5 1.5 0 0 0-1.5-1.5H35a1.5 1.5 0 0 0-1.5 1.5v31.431a1.5 1.5 0 0 0 1.5 1.5h5.064v9.942Z",stroke:"url(#icon4_svg__f)",fillOpacity:.29,fill:"#C2D5FE",transform:"matrix(-1 0 0 1 110 -1)"}),React.createElement("g",{fillRule:"nonzero",transform:"translate(0 -1)"},React.createElement("use",{fill:"url(#icon4_svg__g)",xlinkHref:"#icon4_svg__h"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__i)",xlinkHref:"#icon4_svg__h"}),React.createElement("use",{fill:"#000",filter:"url(#icon4_svg__j)",xlinkHref:"#icon4_svg__h"}))));var Ir="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzciIGhlaWdodD0iNjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMCUiIHgyPSI1MCUiIHkyPSIxMDAlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iI0M0RDFGMyIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNEREU5RkQiIHN0b3Atb3BhY2l0eT0iLjM5NCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbn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xLjg3MyAxMC45ODItOS45NDJINzVhMS41IDEuNSAwIDAgMCAxLjUtMS41VjE5YTEuNSAxLjUgMCAwIDAtMS41LTEuNUgzNWExLjUgMS41IDAgMCAwLTEuNSAxLjV2MzEuNDMxYTEuNSAxLjUgMCAwIDAgMS41IDEuNWg1LjA2NHY5Ljk0MloiIHN0cm9rZT0idXJsKCNmKSIgZmlsbC1vcGFjaXR5PSIuMjkiIGZpbGw9IiNDMkQ1RkUiIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDExMCAtMSkiLz48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEpIj48dXNlIGZpbGw9InVybCgjZykiIHhsaW5rOmhyZWY9IiNoIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjaSkiIHhsaW5rOmhyZWY9IiNoIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjaikiIHhsaW5rOmhyZWY9IiNoIi8+PC9nPjwvZz48L3N2Zz4=",Se=Object.defineProperty,ft=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Ar=(g,c,u)=>c in g?Se(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ln=(g,c)=>{for(var u in c||(c={}))_e.call(c,u)&&Ar(g,u,c[u]);if(ft)for(var u of ft(c))Fn.call(c,u)&&Ar(g,u,c[u]);return g};const Lr=g=>React.createElement("svg",ln({width:70,height:53,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon5"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon5_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon5_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon5_svg__e"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-5.6%",y:"-4.2%",width:"111.2%",height:"105%",filterUnits:"objectBoundingBox",id:"icon5_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-11%",y:"-9.5%",width:"122%",height:"119%",filterUnits:"objectBoundingBox",id:"icon5_svg__g"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M40 5.37h9.888a2 2 0 0 1 1.409.58l2.228 2.212a3.39 3.39 0 0 0 4.912-.14l1.786-1.99a2 2 0 0 1 1.488-.663H68a2 2 0 0 1 2 2v33.926a2 2 0 0 1-2 2h-6.315a2 2 0 0 0-1.458.631l-1.79 1.906a3.46 3.46 0 0 1-4.906.14l-2.24-2.127a2 2 0 0 0-1.377-.55H40a2 2 0 0 1-2-2V7.369a2 2 0 0 1 2-2Z",id:"icon5_svg__b"}),React.createElement("path",{id:"icon5_svg__f",d:"M7.343 0h16.376v18.963l-8.188-4.077-8.188 4.077z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon5_svg__a)",xlinkHref:"#icon5_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon5_svg__c)",xlinkHref:"#icon5_svg__b"})),React.createElement("path",{d:"M2 .87a1.5 1.5 0 0 0-1.5 1.5v44.398a1.5 1.5 0 0 0 1.5 1.5h22.392a2.5 2.5 0 0 1 1.441.457l3.67 2.59a3.5 3.5 0 0 0 4.065-.021l3.541-2.554a2.5 2.5 0 0 1 1.462-.472H61a1.5 1.5 0 0 0 1.5-1.5V2.369A1.5 1.5 0 0 0 61 .87H38.595a1.5 1.5 0 0 0-.903.303l-3.463 2.61a4.5 4.5 0 0 1-5.381.029l-3.589-2.649a1.5 1.5 0 0 0-.89-.293H2Z",stroke:"url(#icon5_svg__d)",fillOpacity:.29,fill:"#C2D5FE"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon5_svg__e)",xlinkHref:"#icon5_svg__f"}),React.createElement("use",{fill:"#000",filter:"url(#icon5_svg__g)",xlinkHref:"#icon5_svg__f"}))));var Tn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iNTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iNTcuMTU0JSIgeDI9IjUwJSIgeTI9Ijk5LjgxMiUiIGlkPSJhIj48c3RvcCBzdG9wLWNv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JsKCNnKSIgeGxpbms6aHJlZj0iI2YiLz48L2c+PC9nPjwvc3ZnPg==",Qt=Object.defineProperty,Jt=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,q=(g,c,u)=>c in g?Qt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,se=(g,c)=>{for(var u in c||(c={}))ar.call(c,u)&&q(g,u,c[u]);if(Jt)for(var u of Jt(c))G.call(c,u)&&q(g,u,c[u]);return g};const b=g=>React.createElement("svg",se({width:58,height:57,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"icon6"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon6_svg__a"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"icon6_svg__d"},React.createElement("stop",{stopColor:"#C4D1F3",offset:"0%"}),React.createElement("stop",{stopColor:"#DDE9FD",stopOpacity:.394,offset:"100%"})),React.createElement("linearGradient",{x1:"50%",y1:"57.154%",x2:"50%",y2:"99.812%",id:"icon6_svg__e"},React.createElement("stop",{stopColor:"#0A55FC",offset:"0%"}),React.createElement("stop",{stopColor:"#4780FF",offset:"100%"})),React.createElement("filter",{x:"-9%",y:"-6.2%",width:"118%",height:"112.4%",filterUnits:"objectBoundingBox",id:"icon6_svg__c"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("filter",{x:"-6.2%",y:"-6.4%",width:"112.4%",height:"112.8%",filterUnits:"objectBoundingBox",id:"icon6_svg__g"},React.createElement("feGaussianBlur",{stdDeviation:1.5,in:"SourceAlpha",result:"shadowBlurInner1"}),React.createElement("feOffset",{dy:.6,in:"shadowBlurInner1",result:"shadowOffsetInner1"}),React.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",operator:"arithmetic",k2:-1,k3:1,result:"shadowInnerInner1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0.879230183 0 0 0 0 0.902851028 0 0 0 0 1 0 0 0 0.5 0",in:"shadowInnerInner1"})),React.createElement("path",{d:"M21-4h13a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H21a5 5 0 0 1-5-5V1a5 5 0 0 1 5-5Z",id:"icon6_svg__b"}),React.createElement("path",{d:"M12.447 27.454 1.615 30.291l3.98-9.69 6.852 6.853Zm17.87-17.91-2.29 2.294-6.809-6.822 2.29-2.294s1.09-1.091 2.2.02l4.48 4.488c1.214 1.217.129 2.315.129 2.315Zm-2.975 2.98L12.347 27.547l-6.808-6.821L20.535 5.702l6.807 6.821Z",id:"icon6_svg__f"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fillRule:"nonzero",transform:"rotate(90 26 10.5)"},React.createElement("use",{fill:"url(#icon6_svg__a)",xlinkHref:"#icon6_svg__b"}),React.createElement("use",{fill:"#000",filter:"url(#icon6_svg__c)",xlinkHref:"#icon6_svg__b"})),React.createElement("rect",{stroke:"url(#icon6_svg__d)",fillOpacity:.29,fill:"#C2D5FE",x:.5,y:6.5,width:50,height:50,rx:4}),React.createElement("path",{stroke:"#145CFC",strokeWidth:2,strokeLinecap:"round",d:"M8 21.5h20M8 32h19M8 42.5h9"}),React.createElement("g",{transform:"rotate(-7 169.163 -204.131)",fillRule:"nonzero"},React.createElement("use",{fill:"url(#icon6_svg__e)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Lz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtNyAxNjkuMTYzIC0yMDQuMTMxKSIgZmlsbC1ydWxlPSJub256ZXJvIj48dXNlIGZpbGw9InVybCgjZSkiIHhsaW5rOmhyZWY9IiNmIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjZykiIHhsaW5rOmhyZWY9IiNmIi8+PC9nPjwvZz48L3N2Zz4=",Xe=v(38147),Zt=v(74128),In=Object.defineProperty,Zn=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,En=(g,c,u)=>c in g?In(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,on=(g,c)=>{for(var u in c||(c={}))Gt.call(c,u)&&En(g,u,c[u]);if(Zn)for(var u of Zn(c))vr.call(c,u)&&En(g,u,c[u]);return g},Yr=(g,c)=>{var u={};for(var st in g)Gt.call(g,st)&&c.indexOf(st)<0&&(u[st]=g[st]);if(g!=null&&Zn)for(var st of Zn(g))c.indexOf(st)<0&&vr.call(g,st)&&(u[st]=g[st]);return u},Ae=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const Rr=g=>{var c=g,{user:u}=c,st=Yr(c,["user"]),ot;const[Lt,Nt]=(0,n.useState)(!0),[St,Ue]=(0,n.useState)(0),[pt,Bt]=(0,n.useState)({}),[cn,An]=(0,n.useState)(!1);(0,n.useEffect)(()=>{Ln()},[]);const Ln=()=>Ae(void 0,null,function*(){Nt(!0);const Ke=yield(0,Xe.ZP)("/api/home/index.json",{method:"get"});Ke.images_url&&Bt(Ke),Nt(!1)}),vn={loop:!0,slidesPerView:3,noSwiping:!0,autoplay:{delay:5e3,disableOnInteraction:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0}},dn=[{name:"\u6C89\u6D78\u5F0F\u6559\u5B66",background:"linear-gradient(90deg, #F5F7FA 0%, #FBFCFD 100%)",tags:["\u6C89\u6D78\u5F0F\u4F53\u9A8C","3D\u7ACB\u4F53\u5E94\u7528\u6559\u5B66","\u4E92\u52A8\u5F0F\u5B66\u4E60"],more:!0},{name:"\u77E5\u8BC6\u68EE\u6797\u5B66\u4E60\u8DEF\u5F84\u667A\u80FD\u5BFC\u822A",background:"linear-gradient(90deg, #FBF3F3 0%, #FCFBFB 100%)",tags:["\u56FE\u8C31\u53EF\u89C6\u5316","\u591A\u6E90\u5F02\u6784\u6570\u636E\u5904\u7406","\u9AD8\u7EA7\u63A8\u7406\u5E94\u7528"],link:"https://ilearning.educoder.net/paths?openLearningPath=true&discipline_id=1&sub_discipline_id=2",more:!0},{name:"\u8BA4\u77E5\u8FC7\u7A0B\u63A8\u7406\u865A\u62DF\u73B0\u5B9E\u5B66\u4E60\u73AF\u5883",background:"linear-gradient(270deg, #FBF8FC 0%, #F0EFFB 100%)",tags:["\u4EFF\u771F\u6A21\u62DF\u8BAD\u7EC3","3D\u865A\u62DF\u73AF\u5883","\u6E38\u620F\u5316\u5B66\u4E60"],more:!1},{name:"\u56FE\u7075\u6D4B\u8BD5",background:"linear-gradient(90deg, #F0F2FD 0%, #F9FAFA 100%)",tags:["\u673A\u5668\u601D\u8003","\u4EBA\u5DE5\u667A\u80FD\u79D1\u5B66","\u6A21\u62DF\u6E38\u620F"],link:"https://ilearning.educoder.net/tasks/4z3jgw6vsuea",more:!0}],Mn=[{img:m,title:"\u6DF7\u5408\u589E\u5F3A\u60C5\u666F\u7406\u89E3",intro:"\u5E08-\u673A-\u751F\u4E09\u5143\u7ED3\u6784\u7684\u590D\u5408\u4E3B\u4F53\uFF0C\u7834\u89E3\u8BA4\u77E5\u80FD\u529B\u7684\u5C40\u9650\u6027"},{img:de,title:"\u884C\u4E3A\u610F\u56FE\u8BC6\u522B\u8DDF\u8E2A",intro:"\u611F\u77E5\u5B66\u751F\u7684\u5B66\u4E60\u72B6\u6001\u3001\u95EE\u9898\u610F\u56FE\u548C\u8F85\u5BFC\u9700\u6C42\uFF0C\u63D0\u4F9B\u667A\u80FD\u76D1\u6D4B\u5BFC\u5B66",link:"https://ilearning.educoder.net/classrooms/nvoi7zeh/exercise/35872/detail?random=false"},{img:jn,title:"\u5B66\u4E60\u8DEF\u5F84\u667A\u80FD\u63A8\u8350",intro:"\u53EF\u89E3\u91CA\u7684\u5B66\u4E60\u89C4\u5212\u548C\u5185\u5BB9\u63A8\u8350\u65B9\u6CD5\uFF0C\u652F\u6491\u4E2A\u6027\u5316\u5BFC\u6559",link:"https://ilearning.educoder.net/paths?openLearningPath=true&discipline_id=1&sub_discipline_id=2"},{img:Ir,title:"\u4E2A\u6027\u5316\u8F85\u5BFC\u7B54\u7591",intro:"\u6570\u636E\u9A71\u52A8\u548C\u77E5\u8BC6\u68EE\u6797\u5F15\u5BFC\u7684\u95EE\u7B54\u65B9\u6CD5\uFF0C\u652F\u6491\u4E2A\u6027\u5316\u4F34\u5B66",link:"https://www.educoder.net/tasks/4z3jgw6vsuea"},{img:Tn,title:"\u4EBA\u673A\u589E\u5F3A\u7FA4\u4F53\u6FC0\u52B1",intro:"\u591A\u7EF4\u5EA6\u6FC0\u52B1\u65B9\u6CD5\uFF0C\u589E\u5F3A\u5B66\u751F\u5BF9\u673A\u5668\u7684\u6B63\u5411\u53CD\u9988",link:"https://ilearning.educoder.net/classrooms/nvoi7zeh/group_homework/572013/detail"},{img:Ve,title:"\u4EBA\u673A\u589E\u5F3A\u7FA4\u4F53\u8BC4\u6D4B",intro:"\u884C\u4E3A\u7279\u5F81\u5D4C\u5165\u3001\u534F\u540C\u8BC4\u6D4B\u7B49\u7FA4\u7EC4\u8BC4\u6D4B\u65B9\u6CD5\uFF0C\u652F\u6491\u6559\u5B66\u6210\u6548\u8BC4\u4EF7",link:"https://ilearning.educoder.net/classrooms/nvoi7zeh/statistics_quality/192066"}];return n.createElement("section",{className:Ye.home},n.createElement(qe.K,{width:800,visible:cn,file_url:"https://www-cdn.educoder.net/video/learning.mp4",copyUrl:"https://www-cdn.educoder.net/video/learning.mp4",onClose:()=>An(!1)}),n.createElement(Ge.Z,{loading:Lt,active:!0,paragraph:{rows:5}},n.createElement("div",{className:Ye.bg},n.createElement("div",{className:Ye.public_width},n.createElement("div",{className:Ye.banner},n.createElement(Qe(),on({},vn),(ot=pt==null?void 0:pt.images_url)==null?void 0:ot.map(Ke=>n.createElement("div",{onClick:()=>{Ke.path&&(0,w.xg)(Ke.path)}},n.createElement("div",{className:"index_moe_li",style:{cursor:Ke.path?"pointer":"default"}},n.createElement("img",{src:Zt.Z.IMG_SERVER+Ke.image_url,alt:""}),n.createElement("div",{className:"index_moe_focus_shadow"}),n.createElement("span",{className:"index_moe_focus_b"})))))))),n.createElement("div",{className:Ye.content},n.createElement("div",{className:Ye.experience},n.createElement("a",{href:"https://i-learning.smartedu.lenovo.com/ilearning",target:"_blank",className:Ye.li}),n.createElement(le.Link,{to:"/paths/higherVocationalEducation",target:"_blank",className:Ye.li}),n.createElement(le.Link,{to:"/paths",target:"_blank",className:Ye.li})),n.createElement("div",{className:Ye.demonstrate},n.createElement("div",{className:Ye.title},"\u5178\u578B\u573A\u666F\u5E94\u7528\u793A\u8303"),n.createElement("aside",null,dn.map((Ke,Ct)=>{var Nn;return n.createElement("div",{key:Ct,className:Ye.li,style:{background:Ke.background,cursor:Ke!=null&&Ke.more?"pointer":"default"},onClick:()=>{}},n.createElement("div",{className:Ye.name},Ke.name),n.createElement("div",{className:Ye.tagWarp},(Nn=Ke==null?void 0:Ke.tags)==null?void 0:Nn.map((Xt,Dn)=>n.createElement("div",{key:`${Ct}-${Dn}`,className:Ye.tag},Xt))),n.createElement("div",{className:Ye.mask,onClick:()=>{switch(Ct){case 0:An(!0);break;default:Ke.link?(0,w.xg)(Ke.link):Ke.more&&le.history.push("/classrooms/classicCases");return}},style:{background:Ke.more?"rgba(25, 110, 253, 0.8)":"rgba(90, 106, 132, 0.6)"}},Ke.more?"\u67E5\u770B\u66F4\u591A":"\u656C\u8BF7\u671F\u5F85\uFF5E"))}))),n.createElement("div",{className:Ye.feature},n.createElement("div",{className:Ye.name},n.createElement("span",null,"\u7279\u8272\u529F\u80FD"),n.createElement("span",null,"FEATURES")),n.createElement("aside",null,Mn.map((Ke,Ct)=>n.createElement("div",{className:Ye.li,key:Ke.title,onClick:()=>{switch(Ct){case 0:An(!0);break;default:Ke.link&&(0,w.xg)(Ke.link);break}}},n.createElement("img",{src:Ke.img}),n.createElement("div",null,n.createElement("h4",null,Ke.title),n.createElement("h6",null,Ke.intro)))))))))};var Nr=(0,le.connect)(({user:g})=>({user:g}))(Rr),Et=v(41867),sr=v(78241),mr=v(6848),Hr=v(3113),_=v(5083),f=v(43418),y=v(1710),V=v(57809),l=v(92832),N=v(88522),D=v(2524),C=v(66649),Y=v.n(C),ie=v(61527),xe=v(33270),fe=v(42441),Oe=v(76411),We=v(95707),$e=v(96935),j=v(26724),e=v.n(j),t=v(59149),r=v(3918),o=Object.defineProperty,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,ge=(g,c,u)=>c in g?o(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ee=(g,c)=>{for(var u in c||(c={}))p.call(c,u)&&ge(g,u,c[u]);if(d)for(var u of d(c))I.call(c,u)&&ge(g,u,c[u]);return g},je=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const dt=({user:g,dispatch:c,homePage:u,forumsList:st,globalSetting:ot})=>{var Lt,Nt,St,Ue,pt,Bt,cn,An,Ln,vn,dn,Mn,Ke,Ct,Nn,Xt,Dn;const[or]=sr.default.useForm(),[,,bt,Yn]=(0,ie.U)(We.su,{}),[Xn,Kn,br]=(0,ie.U)(xe.nQ,{page:1}),[,Mr,Br,ur]=(0,ie.U)(xe.V8,{page:1,limit:5,order:"visits",search:""}),[ke,,De,it]=(0,ie.U)(We.Yu,{type:"view"}),[Kt,kn]=(0,n.useState)(!1),[Pr,xr]=(0,n.useState)(!1),[Gr,jr]=(0,n.useState)([]),[fn,Je]=(0,n.useState)(!0),[Dr,pn]=(0,n.useState)([]),[Wr,Mt]=(0,n.useState)(!0),[Fr,Zr]=(0,n.useState)([]),cr=[{id:"view",name:"\u8BBF\u95EE\u6570\u636E"},{id:"submit",name:"\u8BC4\u6D4B\u6570\u636E"},{id:"learn",name:"\u5B66\u4E60\u6570\u636E"}],dr=[{title:"\u77E5\u8BC6\u56FE\u8C31",key:"4",url:"",children:n.createElement(n.Fragment,null,n.createElement("div",{className:"c-grey-333 text-16px"},n.createElement("span",{className:"font-semibold"},"\u77E5\u8BC6\u56FE\u8C31"),"\u7CFB\u7EDF\u5177\u5907\u591A\u7EF4\u5EA6\u7279\u70B9\uFF0C\u4E00\u65B9\u9762\u901A\u8FC7\u7CBE\u51C6\u5B66\u60C5\u5206\u6790\u638C\u63E1\u5B66\u751F\u5BF9\u5404\u77E5\u8BC6\u70B9\u7684\u638C\u63E1\u7A0B\u5EA6\uFF0C\u5728\u6B64\u57FA\u7840\u4E4B\u4E0A\u8FD0\u7528\u5F3A\u5927\u7B97\u6CD5\u4E3A\u5B66\u751F\u63A8\u8350\u4E2A\u6027\u5316\u5B66\u4E60\u8D44\u6E90\u4E0E\u5B66\u4E60\u8DEF\u5F84\uFF0C\u5B9E\u73B0\u56E0\u6750\u65BD\u6559\uFF1B\u53E6\u4E00\u65B9\u9762\u6784\u5EFA\u591A\u77E5\u8BC6\u56FE\u8C31\u4F53\u7CFB\uFF0C\u5305\u62EC\u8BFE\u7A0B\u56FE\u8C31\u3001\u5927\u7EB2\u56FE\u8C31\u3001\u601D\u653F\u56FE\u8C31\u3001\u601D\u7EF4\u56FE\u8C31\uFF0C\u4E3A\u6559\u80B2\u9886\u57DF\u63D0\u4F9B\u5168\u65B9\u4F4D\u652F\u6491\uFF0C\u540C\u65F6\u6574\u5408\u6559\u6750\u3001\u89C6\u9891\u3001\u5B9E\u9A8C\u3001\u4F5C\u4E1A\u7B49\u591A\u6A21\u6001\u8D44\u6E90\uFF0C\u6253\u9020\u7ED3\u6784\u5316\u7684\u77E5\u8BC6\u7F51\u7EDC\uFF0C\u5168\u65B9\u4F4D\u8D4B\u80FD\u6559\u80B2\u8FC7\u7A0B\u3002 "),n.createElement("img",{src:v(99799),style:{width:"100%"}}))}],[fr,qr]=(0,n.useState)(dr[0]),ve=[{title:"\u6559\u5B66\u8D44\u6E90",img:v(28751),link:"/paths"},{title:"\u5B9E\u8BAD\u7CFB\u7EDF",img:v(78257),link:"/shixuns"},{title:"\u6559\u5B66\u7BA1\u7406",img:v(32074),link:"/classrooms"}],Te=(0,n.useMemo)(()=>{var z,Rt,we,mt,zt,Or,ir,gi,Di,mi,Ri,zi;return[{title:"\u603B\u8BBF\u95EE\u91CF",num:(z=u==null?void 0:u.index_statistics)==null?void 0:z.total_visit_count,unit:"\u6B21",img:v(6218)},{title:"\u8BBF\u5BA2\u6570",num:(Rt=u==null?void 0:u.index_statistics)==null?void 0:Rt.total_user_count,unit:"\u4EBA",img:v(78781)},{title:"\u5B9E\u8DF5\u8BFE\u7A0B",num:(we=u==null?void 0:u.index_statistics)==null?void 0:we.subject_count,unit:"\u95E8",img:v(6491)},{title:"\u5B9E\u8DF5\u9879\u76EE",num:(mt=u==null?void 0:u.index_statistics)==null?void 0:mt.shixun_count,unit:"\u4E2A",img:v(25413)},{title:"\u5B9E\u9A8C\u73AF\u5883",num:(zt=u==null?void 0:u.index_statistics)==null?void 0:zt.repository_count,unit:"\u79CD",img:v(33102)},{title:"\u7D2F\u8BA1\u5B66\u4E60\u4EBA\u6570",num:(Or=u==null?void 0:u.index_statistics)==null?void 0:Or.all_user_count,unit:"\u4EBA",img:v(91159)},{title:"\u8BC4\u6D4B\u6B21\u6570",num:(ir=u==null?void 0:u.index_statistics)==null?void 0:ir.evaluate_count,unit:"\u6B21",img:v(15070)},{title:"\u5728\u7EBF\u4EBA\u6570",num:(gi=u==null?void 0:u.index_statistics)==null?void 0:gi.user_online_count,unit:"\u4EBA",img:v(83425)},{title:"\u8BFE\u4EF6\u6570\u91CF",num:(Di=u==null?void 0:u.index_statistics)==null?void 0:Di.attachment_count,unit:"\u4E2A",img:v(57583)},{title:"\u8BD5\u9898\u6570\u91CF",num:(mi=u==null?void 0:u.index_statistics)==null?void 0:mi.question_count,unit:"\u9053",img:v(21728)},{title:"\u89C6\u9891\u6570\u91CF",num:(Ri=u==null?void 0:u.index_statistics)==null?void 0:Ri.video_count,unit:"\u4E2A",img:v(27261)},{title:"\u7EBF\u4E0A\u8003\u8BD5",num:(zi=u==null?void 0:u.index_statistics)==null?void 0:zi.exercise_count,unit:"\u95E8",img:v(15939)}]},[u==null?void 0:u.index_statistics]),Jn=[{img:v(23258),name:"\u519B\u4E8B\u88C5\u5907\u667A\u80FD\u63A8\u8350\u7CFB\u7EDF",desc:"\u8BE5\u667A\u80FD\u63A8\u8350\u7CFB\u7EDF\u57FA\u4E8E\u519B\u4E8B\u88C5\u5907\u77E5\u8BC6\u56FE\u8C31\uFF0C\u8986\u76D6\u70ED\u95E8\u88C5\u5907\u3001\u5404\u7C7B\u578B\u88C5\u5907\u3001\u4EFB\u52A1\u9700\u6C42\u4E0E\u4F5C\u6218\u573A\u666F\u5339\u914D\uFF0C\u4EE5\u53CA\u76F8\u5173\u88C5\u5907\u63A8\u8350\u7B49\u6838\u5FC3\u573A\u666F\u3002\u7CFB\u7EDF\u878D\u5408\u4F5C\u6218\u9700\u6C42\u3001\u73AF\u5883\u8981\u7D20\u3001\u88C5\u5907\u6027\u80FD\u53CA\u5386\u53F2\u6570\u636E\uFF0C\u63D0\u4F9B\u4E2A\u6027\u5316\u3001\u667A\u80FD\u5316\u7684\u88C5\u5907\u9009\u578B\u65B9\u6848\uFF0C\u52A9\u529B\u4F5C\u6218\u6548\u80FD\u6700\u4F18\u914D\u7F6E\u3002"},{img:v(11483),name:"\u519B\u4E8B\u4F5C\u6218\u6570\u636E\u5206\u6790\u7CFB\u7EDF",desc:"\u672C\u7CFB\u7EDF\u96C6\u6210\u6218\u573A\u4F5C\u6218\u6570\u636E\u3001\u5929\u6C14\u73AF\u5883\u7B49\u591A\u7EF4\u4FE1\u606F\uFF0C\u91C7\u7528\u5148\u8FDB\u7684\u6570\u636E\u6E05\u6D17\u3001\u5904\u7406\u4E0E\u878D\u5408\u6280\u672F\uFF0C\u63D0\u4F9B\u5168\u9762\u7684\u6218\u573A\u6001\u52BF\u5206\u6790\u3002\u901A\u8FC7\u53EF\u89C6\u5316\u5C55\u793A\u4F24\u4EA1\u4E0E\u88C5\u5907\u6D88\u8017\uFF0C\u7ED3\u5408\u6C14\u8C61\u56E0\u7D20\u6DF1\u5165\u8BC4\u4F30\u5929\u6C14\u5BF9\u4F5C\u6218\u6548\u679C\u7684\u5F71\u54CD\uFF0C\u7CBE\u51C6\u9884\u6D4B\u672A\u6765\u6218\u573A\u52A8\u6001\uFF0C\u52A9\u529B\u6307\u6325\u5B98\u4F18\u5316\u51B3\u7B56\u3002 "},{img:v(2340),name:"\u519B\u4E8B\u6218\u5F79\u667A\u80FD\u95EE\u7B54\u7CFB\u7EDF",desc:"\u57FA\u4E8E\u5386\u53F2\u6218\u5F79\u6570\u636E\uFF0C\u6784\u5EFA\u519B\u4E8B\u6218\u5F79\u56FE\u8C31\uFF0C\u7ED3\u5408\u5148\u8FDB\u7684\u667A\u80FD\u95EE\u7B54\u6280\u672F\uFF0C\u5E2E\u52A9\u7528\u6237\u5FEB\u901F\u83B7\u53D6\u8BE6\u7EC6\u3001\u5168\u9762\u7684\u6218\u5F79\u4FE1\u606F\u4E0E\u6DF1\u5EA6\u89E3\u6790\uFF0C\u663E\u8457\u63D0\u5347\u51B3\u7B56\u6548\u7387\u4E0E\u6218\u7565\u90E8\u7F72\u7684\u79D1\u5B66\u6027\uFF0C\u4E3A\u73B0\u4EE3\u519B\u4E8B\u6307\u6325\u63D0\u4F9B\u5F3A\u6709\u529B\u7684\u667A\u80FD\u652F\u6301\u3002"},{img:v(96159),name:"\u519B\u8230\u4E8B\u6545\u5206\u6790\u7CFB\u7EDF",desc:"\u7CFB\u7EDF\u901A\u8FC7\u96C6\u6210\u519B\u8230\u4E8B\u6545\u65B0\u95FB\u4E0E\u519B\u8230\u5DE1\u822A\u57FA\u672C\u4FE1\u606F\uFF0C\u8FD0\u7528\u6570\u636E\u5904\u7406\u4E0E\u5173\u8054\u878D\u5408\u6280\u672F\uFF0C\u6DF1\u5165\u5206\u6790\u4E8B\u6545\u539F\u56E0\u3002\u7CFB\u7EDF\u63D0\u4F9B\u53EF\u89C6\u5316\u5C55\u793A\uFF0C\u5E2E\u52A9\u5FEB\u901F\u8BC6\u522B\u6F5C\u5728\u98CE\u9669\uFF0C\u4E3A\u51B3\u7B56\u8005\u63D0\u4F9B\u7CBE\u51C6\u7684\u4E8B\u6545\u9884\u6D4B\u4E0E\u9884\u8B66\u652F\u6301\uFF0C\u6709\u6548\u63D0\u5347\u519B\u961F\u5B89\u5168\u4FDD\u969C\u548C\u7BA1\u7406\u6548\u7387\uFF0C\u63A8\u52A8\u667A\u80FD\u5316\u8FD0\u8425\u3002"}],Pe=(0,n.useMemo)(()=>({tooltip:{trigger:"axis"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:(it==null?void 0:it.time)||[],nameTextStyle:{color:"#333333"},axisTick:{show:!1},splitLine:{show:!1},axisLine:{lineStyle:{color:"#E5E5E5"}},axisLabel:{color:"#333333"}},yAxis:{type:"value",nameTextStyle:{color:"#333333"},axisTick:{show:!1},splitLine:{lineStyle:{type:"dashed",color:"#E5E5E5"}},axisLine:{show:!1},axisLabel:{color:"#333333"}},series:[{name:"\u672C\u6708",type:"line",data:(it==null?void 0:it.current_month)||[],itemStyle:{color:"#15EAA4"},areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#15EAA4"},{offset:1,color:"rgba(255, 255, 255,0)"}])}},{name:"\u4E0A\u6708",type:"line",data:(it==null?void 0:it.last_month)||[],itemStyle:{color:"#73A0FF"},areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#73A0FF"},{offset:1,color:"rgba(255, 255, 255,0)"}])}}]}),[it]),Ut=[{title:"\u59D3\u540D",dataIndex:"real_name",width:120,ellipsis:!0},{title:"\u5355\u4F4D",dataIndex:"school_name",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"user_id",width:100,render:(z,Rt)=>n.createElement($e.Z,{style:{padding:0,border:"none"},type:"link",onClick:()=>je(void 0,null,function*(){const we=yield(0,We.NX)({teacher_id:z});(we==null?void 0:we.status)==0&&(Be.ZP.success("\u5220\u9664\u6210\u529F"),bt({}),kn(!1))})},"\u5220\u9664\u6210\u5458")}],gr=[{title:"\u59D3\u540D",width:100,ellipsis:!0,dataIndex:"username",render:(z,Rt)=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement(le.Link,{className:"bold c-black",to:`/users/${Rt.login}`,target:"_blank"},z||"--"))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,z||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"school_name",width:100,render:z=>z?"\u662F":"\u5426"},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:z=>n.createElement(mr.Z,{placement:"bottom",title:z},n.createElement("span",null,Y()(z).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:z=>{if(z===1)return n.createElement("span",{className:"c-green"},"\u5DF2\u6DFB\u52A0")}}],_r=(z=!1)=>je(void 0,null,function*(){var Rt;if((z||fn)&&!Kn){const we=or.getFieldsValue(),mt=yield br(ee({page:z?1:(Xn==null?void 0:Xn.page)+1,container_type:1},we));pn(z?[...mt.users]:[...Dr,...mt.users]),((Rt=mt.users)==null?void 0:Rt.length)<10&&Je(!1)}}),Vr=()=>je(void 0,null,function*(){var z;const Rt=yield c({type:"classroomList/getSchoolList",payload:{display_aliases:!0}});jr((z=Rt||[])==null?void 0:z.map(we=>({value:we})))});return(0,n.useEffect)(()=>{const z=Y()();Vr(),bt({}),Br({}),z&&De({start_at:z.subtract(7,"day").format("YYYY-MM-DD"),end_at:z.format("YYYY-MM-DD")}),c({type:"forumsList/getForumsData",payload:{page:1,forum:16,memoType:16,tab_module_type:"forums",limit:5}})},[]),(0,n.useEffect)(()=>{c({type:"homePage/home",payload:{}})},[u.name]),n.createElement("div",{className:"py-32px",style:{background:`url(${v(48223)}) #fafafa 0 0 / 100% auto no-repeat`}},n.createElement("div",{className:"ml-auto mr-auto flex gap-20px",style:{width:"1200px"}},n.createElement("div",{className:"flex-1 flex flex-col gap-20px"},n.createElement("div",{className:"px-40px py-30px flex flex-col rounded-6px",style:{height:"350px",background:`url(${v(91527)}) 0 0 / 100% 100% no-repeat`}},n.createElement("div",{className:"c-grey-333 text-18px font-semibold"},"\u6570\u636E\u4FDD\u969C\u80FD\u529B\u6559\u5B66\u7CFB\u7EDF"),n.createElement("div",{className:"mt-10px c-grey-333 text-16px",style:{lineHeight:"28px"}},"\u2014\u2014\u953B\u9020\u65B0\u65F6\u4EE3\u519B\u4E8B\u6570\u636E\u5C16\u5175\u7684\u667A\u6167\u5E73\u53F0",n.createElement("br",null),n.createElement("br",null),"\u6570\u636E\u4FDD\u969C\u80FD\u529B\u6559\u5B66\u7CFB\u7EDF\u662F\u9762\u5411\u519B\u4E8B\u9662\u6821\u5E08\u751F\u7684\u5B9E\u6218\u5316\u6559\u5B66\u5E73\u53F0\uFF0C\u96C6\u6210\u865A\u62DF\u4EFF\u771F\u63A8\u6F14\u3001\u8D85\u7B97\u6570\u636E\u5904\u7406\u4E0E\u667A\u80FD\u6570\u636E\u4E2D\u53F0\u6280\u672F\uFF0C\u652F\u6301\u6218\u573A\u73AF\u5883\u6A21\u62DF\u63A8\u6F14\u3001\u5927\u89C4\u6A21\u519B\u4E8B\u6570\u636E\u8BAD\u7EC3\u53CA\u4F5C\u6218\u6570\u636E\u6316\u6398\uFF0C\u9002\u7528\u4E8E\u519B\u4E8B\u6570\u636E\u6559\u80B2\u3001\u4F5C\u6218\u6570\u636E\u4FDD\u969C\u6F14\u7EC3\u53CA\u79D1\u7814\u653B\u5173\u7B49\u573A\u666F\uFF0C\u52A9\u529B\u63D0\u5347\u6570\u636E\u4FDD\u969C\u80FD\u529B\uFF0C\u63A8\u52A8\u519B\u4E8B\u6559\u80B2\u6570\u5B57\u5316\u8F6C\u578B\u3002"),n.createElement("div",{className:"mt-30px flex flex-wrap item-center gap-10px",style:{paddingRight:"400px"}},["\u4FDD\u969C\u6570\u636E\u5B89\u5168","\u63D0\u9AD8\u6570\u636E\u8D28\u91CF","\u7BA1\u7406\u6570\u636E\u8D44\u4EA7","\u6570\u636E\u5DE5\u7A0B\u5B9E\u8BAD","\u6570\u636E\u8BFE\u7A0B\u8D44\u6E90"].map((z,Rt)=>n.createElement("div",{key:Rt,className:"rounded-4px px-10px py-6px",style:{color:"#3061D0",background:"#E9EFFF"}},z)))),n.createElement("div",{className:"rounded-6px bg-white flex item-end justify-between px-40px pb-30px relative",style:{height:"179px"}},n.createElement("div",{className:"c-grey-333 text-18px absolute",style:{lineHeight:"34px",padding:"0 112px",background:"linear-gradient( 180deg, #F8FDFF 0%, #EDF5FC 100%)",boxShadow:"inset 0px 1px 3px 0px #FFFFFF",top:0,left:"50%",transform:"translateX(-50%)",borderBottomLeftRadius:"999px",borderBottomRightRadius:"999px"}},"\u5FEB\u6377\u5165\u53E3"),ve.map((z,Rt)=>n.createElement("div",{key:Rt,className:"flex flex-col item-center gap-10px current-primary-hover",onClick:()=>{(0,w.xg)(z==null?void 0:z.link)}},n.createElement("img",{src:z==null?void 0:z.img,style:{width:"59px"}}),n.createElement("div",{className:"text-16px"},z==null?void 0:z.title)))),n.createElement("div",{className:"rounded-6px px-40px py-30px bg-white"},n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:"text-18px c-grey-333 font-semibold"},"\u6570\u636E\u6C47\u603B")),n.createElement("div",{className:"grid gap-40px mt-30px",style:{gridTemplateColumns:"1fr 1fr 1fr 1fr"}},Te.map((z,Rt)=>n.createElement("div",{key:Rt,className:"flex gap-10px item-center"},n.createElement("img",{src:z==null?void 0:z.img,className:"rounded-full",style:{width:"60px"}}),n.createElement("div",{className:"flex flex-col gap-10px c-grey-666"},n.createElement("div",null,n.createElement("span",{className:"mr-6px c-grey-333 text-18px font-semibold"},(z==null?void 0:z.num)||0),z==null?void 0:z.unit),n.createElement("div",null,z.title)))))),n.createElement("div",{className:"rounded-6px"},n.createElement("div",{className:"flex flex-wrap",style:{background:"#F5F6F7"}},dr.map(z=>n.createElement("div",{key:z==null?void 0:z.key,className:`current px-40px py-6px text-18px c-grey-333 font-semibold ${(fr==null?void 0:fr.key)==(z==null?void 0:z.key)?"bg-white":""}`,onClick:()=>{qr(z)},style:{color:(fr==null?void 0:fr.key)==(z==null?void 0:z.key)?"#159DFF":"",borderRadius:"6px 6px 0 0"}},z==null?void 0:z.title))),n.createElement("div",{className:"px-40px py-30px bg-white flex flex-col item-center gap-20px"},(Lt=dr==null?void 0:dr.find(z=>(z==null?void 0:z.key)==(fr==null?void 0:fr.key)))==null?void 0:Lt.children,(fr==null?void 0:fr.url)&&n.createElement(Hr.ZP,{type:"primary",onClick:()=>{(0,w.xg)(fr==null?void 0:fr.url)}},"\u5F00\u59CB\u4F7F\u7528"))),n.createElement("div",{className:"rounded-6px bg-white"},n.createElement("div",{className:"flex flex-wrap",style:{background:"#F5F6F7"}},cr.map(z=>n.createElement("div",{key:z==null?void 0:z.id,className:`current px-40px py-6px text-18px c-grey-333 font-semibold ${(ke==null?void 0:ke.type)==(z==null?void 0:z.id)?"bg-white":""}`,onClick:()=>{De({type:z==null?void 0:z.id})},style:{color:(ke==null?void 0:ke.type)==(z==null?void 0:z.id)?"#159DFF":"",borderRadius:"6px 6px 0 0"}},z==null?void 0:z.name))),n.createElement("div",{className:"flex justify-between mt-32px px-40px"},n.createElement("div",{className:"text-18px font-semibold",style:{color:"#282F3F"}},"\u5E73\u53F0",(Nt=cr==null?void 0:cr.find(z=>(z==null?void 0:z.id)==(ke==null?void 0:ke.type)))==null?void 0:Nt.name),n.createElement(_.default.RangePicker,{value:[Y()(ke==null?void 0:ke.start_at),Y()(ke==null?void 0:ke.end_at)],onChange:(z,Rt)=>{De({start_at:Rt==null?void 0:Rt[0],end_at:Rt==null?void 0:Rt[1]})}})),n.createElement(fe.Z,{option:Pe}))),n.createElement("div",{className:"flex flex-col gap-20px",style:{width:"300px"}},n.createElement("div",{className:"p-30px rounded-6px relative",style:{height:"224px",background:`url(${v(6716)}) 0 0 / 100% auto no-repeat`}},(0,Et.bg)()&&n.createElement(n.Fragment,null,n.createElement("img",{className:"rounded-full",src:`${(St=Zt.Z)==null?void 0:St.IMG_SERVER}/images/${(Ue=g==null?void 0:g.userInfo)==null?void 0:Ue.image_url}`,style:{width:"66px",height:"66px"}}),n.createElement("div",{className:"mt-36px font-semibold text-16px c-grey-333"},(pt=g==null?void 0:g.userInfo)==null?void 0:pt.username),n.createElement("div",{className:"mt-10px c-grey-666"},(Bt=g==null?void 0:g.userInfo)==null?void 0:Bt.user_identity," ",(cn=g==null?void 0:g.userInfo)==null?void 0:cn.user_school),n.createElement("span",{className:"iconfont icon-bianji4 current absolute",style:{color:"#3061D0",top:"30px",right:"20px"},onClick:()=>{var z;le.history.push(`/users/${(z=g==null?void 0:g.userInfo)==null?void 0:z.login}/baseInfo/edit`)}})),!(0,Et.bg)()&&n.createElement(n.Fragment,null,n.createElement("img",{className:"rounded-full",src:v(31454),style:{width:"66px",height:"66px"}}),n.createElement("div",null,n.createElement(Hr.ZP,{type:"primary",className:"mt-22px",onClick:()=>{c({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"\u767B\u5F55/\u6CE8\u518C")),n.createElement("div",{className:"mt-12px text-12px",style:{color:"#3061D0"}},"\u767B\u5F55\u7CFB\u7EDF\u540E\uFF0C\u7545\u4EAB\u6559\u5B66\u4E0E\u5B66\u4E60\u7684\u65E0\u9650\u53EF\u80FD\uFF01"))),n.createElement("div",{className:"rounded-8px bg-white p-20px"},n.createElement("div",{className:"flex item-end justify-between"},n.createElement("img",{src:v(76156),style:{height:"24px"}}),n.createElement("div",{className:"current-primary-hover",onClick:()=>{(0,w.xg)("/forums")}},"\u66F4\u591A ",n.createElement("span",{className:"iconfont icon-you2"}))),(Ln=(An=st.forumsData)==null?void 0:An.memo_list)!=null&&Ln.length?n.createElement("div",{className:"flex flex-col gap-40px mt-40px"},(dn=(vn=st.forumsData)==null?void 0:vn.memo_list)==null?void 0:dn.map(z=>n.createElement("div",{key:z==null?void 0:z.id,className:"flex flex-col gap-20px current",onClick:()=>{(0,w.xg)(`/forums/${z.id}`)}},n.createElement(mr.Z,{placement:"topLeft",title:z==null?void 0:z.subject},n.createElement("div",{className:"text-16px font-semibold c-black multi_ellipsis1 minW-0 w-full current-primary-hover"},z==null?void 0:z.subject)),n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",null,z==null?void 0:z.user_name),n.createElement("div",null,Y()(z==null?void 0:z.created_at).format("YYYY-MM-DD")))))):n.createElement(D.Z,null)),n.createElement("div",{className:"rounded-8px bg-white p-20px"},n.createElement("div",{className:"flex item-end gap-14px"},n.createElement("img",{src:v(46750),style:{height:"21px"}}),(0,Et.Ny)()&&n.createElement(n.Fragment,null,n.createElement(mr.Z,{title:"\u6DFB\u52A0"},n.createElement("span",{className:"iconfont icon-tianjiahezuozhe ml-auto current-primary-hover",onClick:()=>{xr(!0)}})),n.createElement(mr.Z,{title:"\u7F16\u8F91"},n.createElement("span",{className:"iconfont icon-bianji4 current-primary-hover",onClick:()=>{kn(!0)}})))),(Mn=Yn==null?void 0:Yn.data)!=null&&Mn.length?n.createElement("div",{className:"flex flex-col gap-20px mt-30px"},(Ke=Yn==null?void 0:Yn.data)==null?void 0:Ke.map(z=>{var Rt;return n.createElement("div",{key:z==null?void 0:z.user_id,className:"flex item-end current relative",style:{height:66},onClick:()=>{(0,w.xg)(`/users/${z==null?void 0:z.login}/classrooms`)}},n.createElement("img",{className:"rounded-full absolute",src:`${(Rt=Zt.Z)==null?void 0:Rt.IMG_SERVER}/images/${z==null?void 0:z.image_url}`,style:{width:"66px",height:"66px",left:0,top:0}}),n.createElement("div",{className:"flex flex-col justify-center gap-6px rounded-full w-full",style:{height:60,background:"#F6F7F9",paddingLeft:85}},n.createElement("div",{className:"text-16px c-grey-333 font-semibold"},z==null?void 0:z.real_name),n.createElement("div",{className:"text-12px c-grey-333"},z==null?void 0:z.school_name," ",z==null?void 0:z.user_identity)))})):n.createElement(D.Z,null)),n.createElement("div",{className:"rounded-8px bg-white p-20px"},n.createElement("div",{className:"flex item-end justify-between"},n.createElement("img",{src:v(10231),style:{height:"17px"}}),n.createElement("div",{className:"current-primary-hover",onClick:()=>{(0,w.xg)("/paths")}},"\u66F4\u591A ",n.createElement("span",{className:"iconfont icon-you2"}))),(Ct=u.recommend_subjects)!=null&&Ct.length?n.createElement("div",{className:"flex flex-col gap-14px mt-20px"},(Nn=u.recommend_subjects)==null?void 0:Nn.map(z=>{var Rt;return n.createElement("div",{key:z==null?void 0:z.id,className:"flex item-center gap-12px current",style:{height:"80px"},onClick:()=>{(0,w.xg)(`/paths/${z==null?void 0:z.identifier}`)}},n.createElement("div",{className:"rounded-6px h-full overflow-hidden"},n.createElement("img",{className:"h-full hover:scale-110 transition-all",src:`${(Rt=Zt.Z)==null?void 0:Rt.IMG_SERVER}${z==null?void 0:z.image_url}`})),n.createElement("div",{className:"flex flex-col justify-between h-full"},n.createElement("div",{className:"current-primary-hover"},z==null?void 0:z.name),n.createElement("div",{className:"text-12px",style:{color:"#000F37"}},z.members_count," \u4EBA\u5B66\u4E60")))})):n.createElement(D.Z,null)),n.createElement("div",{className:"rounded-8px",style:{background:"#FAFAFA"}},n.createElement("div",{className:"flex item-end justify-between p-20px"},n.createElement("img",{src:v(97787),style:{height:"17px"}}),n.createElement("div",{className:"current-primary-hover",onClick:()=>{(0,w.xg)("/classrooms")}},"\u66F4\u591A ",n.createElement("span",{className:"iconfont icon-you2"}))),(Xt=ur==null?void 0:ur.courses)!=null&&Xt.length?n.createElement("div",{className:"flex flex-col gap-14px"},(Dn=ur==null?void 0:ur.courses)==null?void 0:Dn.map((z,Rt)=>n.createElement("div",{className:"pt-14px",key:Rt},n.createElement(r.Si,{DataProps:z,style:{padding:"10px 20px",gap:"12px"}})))):n.createElement(D.Z,null)))),n.createElement(f.default,{open:Kt,title:"\u7F16\u8F91",width:800,footer:null,onCancel:()=>{kn(!1)},centered:!0,destroyOnClose:!0,onOk:()=>{kn(!1)}},n.createElement(y.default,{columns:Ut,dataSource:(Yn==null?void 0:Yn.data)||[]})),n.createElement(f.default,{open:Pr,title:"\u6DFB\u52A0\u6559\u5E08\u56E2\u961F",width:1200,onCancel:()=>{xr(!1)},centered:!0,destroyOnClose:!0,onOk:()=>je(void 0,null,function*(){(Fr==null?void 0:Fr.length)==0?Be.ZP.error("\u8BF7\u9009\u62E9\u4EBA\u6570"):(yield(0,We.Zz)({teacher_id:Fr})).status===0&&(Be.ZP.success("\u6DFB\u52A0\u6210\u529F"),bt({}),xr(!1))})},n.createElement(sr.default,{layout:"inline",size:"large",form:or,initialValues:{search_type:"1"},onFinish:z=>{if((z==null?void 0:z.keyword)===""){pn([]),Be.ZP.error("\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9");return}Mt(!1),Je(!0),Zr([]),setTimeout(()=>{_r(!0)},200)}},n.createElement(sr.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},n.createElement(V.default,{style:{width:110}},n.createElement(V.default.Option,{value:"1"},"\u59D3\u540D"),n.createElement(V.default.Option,{value:"4"},"\u5B66\u53F7/\u5DE5\u53F7"),n.createElement(V.default.Option,{value:"2"},"\u624B\u673A\u53F7"),n.createElement(V.default.Option,{value:"3"},"\u90AE\u7BB1"))),n.createElement(sr.default.Item,{name:"keyword",label:"\u641C\u7D22\u5185\u5BB9\uFF1A"},n.createElement(l.default,{allowClear:!0,style:{width:240}})),n.createElement(sr.default.Item,{name:"school_name",label:"\u5355\u4F4D\uFF1A"},n.createElement(N.Z,{options:Gr,style:{width:380},placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",filterOption:(z,Rt)=>Rt.value.toUpperCase().indexOf(z.toUpperCase())!==-1})),n.createElement(sr.default.Item,null,n.createElement(Hr.ZP,{htmlType:"submit",type:"primary"},"\u641C\u7D22"))),n.createElement(y.default,{className:"mt20 flexd-table-header ",rowKey:"numid",rowSelection:{type:"checkbox",selectedRowKeys:Fr,onChange:z=>{Zr(z),console.log("selectedRowKeys",z)}},pagination:!1,dataSource:[],columns:gr,showHeader:(Dr==null?void 0:Dr.length)>0}),n.createElement("div",{style:{maxHeight:260,overflow:"auto"}},n.createElement(e(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:z=>{_r()},hasMore:fn,useWindow:!1},n.createElement(y.default,{loading:Kn,showHeader:!1,pagination:!1,dataSource:Dr,columns:gr,locale:{emptyText:n.createElement(D.Z,{img:Wr?t.RL:t.z3,imgStyles:{width:150},styles:{margin:"0 auto"},customText:Wr?"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458":"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"})},rowKey:"numid",rowSelection:{type:"checkbox",selectedRowKeys:Fr,onChange:z=>{Zr(z),console.log("selectedRowKeys",z)}}})))))};var pe=(0,le.connect)(({loading:g,forumsList:c,user:u,homePage:st,globalSetting:ot})=>({user:u,loading:g.models.index,homePage:st,forumsList:c,globalSetting:ot}))(dt),te=v(9951),tt=v(99313),ae={flex_box_center:"flex_box_center___tP1nn",flex_space_between:"flex_space_between___nu84w",flex_box_vertical_center:"flex_box_vertical_center___zbP1q",flex_box_center_end:"flex_box_center_end___a1egM",flex_box_column:"flex_box_column___QHIuF",home:"home___MEDZZ",bg:"bg___KfDDG",btns:"btns___oNaXd",li:"li___UWBaA",competition:"competition___cOtyF",title:"title___esRZA",des:"des___DojIR",information:"information___Awtv_",d1:"d1___X_1hT",d2:"d2___dbc36",d3:"d3___BI04Y",retrospect:"retrospect___PNb0W",banner:"banner___TQcxa",left:"left___c8wMQ",right:"right___Zl7Zw",name:"name___pi8R2",btn:"btn___Jsqzc",l:"l___WuZMb",r:"r___oxdMr",group:"group___rxBvb",tabs:"tabs___GRAT5",list:"list___x_s8k"},oe=v(77531),Ee=v.p+"static/bg1.02a5f786.png",nt=Object.defineProperty,rt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,qt=(g,c,u)=>c in g?nt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,et=(g,c)=>{for(var u in c||(c={}))Wt.call(c,u)&&qt(g,u,c[u]);if(rt)for(var u of rt(c))pr.call(c,u)&&qt(g,u,c[u]);return g};const rn=g=>React.createElement("svg",et({width:33,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 29"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982"},React.createElement("tspan",{x:0,y:42},"1")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m31.5 8.5-13 40"})));var wn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSIwIiB5PSI0MiI+MTwvdHNwYW4+CiAgICAgICAgICAgICAgICA8L3RleHQ+PHBhdGggc3Ryb2tlPSIjRDJEOEVBIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBkPSJtMzEuNSA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",Pn=Object.defineProperty,_t=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,$r=Object.prototype.propertyIsEnumerable,hr=(g,c,u)=>c in g?Pn(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,kr=(g,c)=>{for(var u in c||(c={}))Cr.call(c,u)&&hr(g,u,c[u]);if(_t)for(var u of _t(c))$r.call(c,u)&&hr(g,u,c[u]);return g};const Ur=g=>React.createElement("svg",kr({width:40,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 26"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982",transform:"translate(.667)"},React.createElement("tspan",{x:0,y:42},"2")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m39.167 8.5-13 40"})));var Kr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC42NjcpIj4KICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iMCIgeT0iNDIiPjI8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PjxwYXRoIHN0cm9rZT0iI0QyRDhFQSIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgZD0ibTM5LjE2NyA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",Jr=Object.defineProperty,Hn=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable,ci=(g,c,u)=>c in g?Jr(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ai=(g,c)=>{for(var u in c||(c={}))lr.call(c,u)&&ci(g,u,c[u]);if(Hn)for(var u of Hn(c))Tr.call(c,u)&&ci(g,u,c[u]);return g};const ys=g=>React.createElement("svg",ai({width:40,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 27"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982",transform:"translate(.333)"},React.createElement("tspan",{x:0,y:42},"3")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m38.833 8.5-13 40"})));var Da="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC4zMzMpIj4KICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iMCIgeT0iNDIiPjM8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PjxwYXRoIHN0cm9rZT0iI0QyRDhFQSIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgZD0ibTM4LjgzMyA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",ya=Object.defineProperty,Zi=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,Ti=(g,c,u)=>c in g?ya(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ia=(g,c)=>{for(var u in c||(c={}))Yi.call(c,u)&&Ti(g,u,c[u]);if(Zi)for(var u of Zi(c))ki.call(c,u)&&Ti(g,u,c[u]);return g};const Is=g=>React.createElement("svg",Ia({width:40,height:56,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 25"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("text",{opacity:.3,fontFamily:"PingFangSC-Regular, PingFang SC",fontSize:40,fill:"#606982"},React.createElement("tspan",{x:0,y:42},"4")),React.createElement("path",{stroke:"#D2D8EA",strokeLinecap:"square",d:"m38.5 8.5-13 40"})));var Ca="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dGV4dCBvcGFjaXR5PSIuMyIgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iNDAiIGZpbGw9IiM2MDY5ODIiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSIwIiB5PSI0MiI+NDwvdHNwYW4+CiAgICAgICAgICAgICAgICA8L3RleHQ+PHBhdGggc3Ryb2tlPSIjRDJEOEVBIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBkPSJtMzguNSA4LjUtMTMgNDAiLz48L2c+PC9zdmc+",di="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAAAOCAYAAABQOexEAAAAAXNSR0IArs4c6QAAAqtJREFUaEPtmj9oE1Ecx39XDXRQiINLO9ShCBnMcg5BCEiWLHXIcqAZzGBb7GBBi5ihGdqhCulQKZH+AesQhXM4wSxZUiRQAnpLloBESge7ZLBYF3nIyfuX3LtEcXgPhP5uCOTzfve7d9/3uUt7iQW4YQKaE3i5fzheuHnlp2VZQbS1t38YJ72Pp47j/IqOPX72ZuIk/r23PT9PRk3J0jxPbIcJwLsPnWtj58fGb924+ikqrHfw5TYEECdf/e2osA/X325CEEz+uPjNGSUsyopyaU8gCALr/cHn67RxVFjXdc/FJu05OhYVdm5rK3bh9JJLx0YJi7JqXypsSBMwISzKim4ZS0C3sCirsaXCxrrvsFbn+MSG0P9eiam4Tw/SPurZ/bgJQHL6MuN+V3K6UwxswVud4349HUknJlh9s0354ADp5BTjDf9Iqc/anNf9LpuP3GMmNc14rdVl9YQNEMilE4x7zQ7n4sXJcO422gMOAPlMkvFqXeWFLOd7NV+pn52xGd/xfJuE5r+QSzG+4bYG+QDAoiN505ZzoXVL+TSrL1cFFydRLGQYX9lrKH1Kgi/v1BW+Optl9U8qKn+6wPmjSk1Zx/XFGcYfbEjOE32+lGP8ftlT1vdFkfN7a65y3N2iw/jdlTAn8KqUZ/zOclWpf73KeXjTdYflsvZXG2BIVmHNsKxUHAIpIeXfZeUHoK0yEVmllH1ZhZRySsOy8j2GZBWN/kXWwaVDoJDlUlJZw89LVFkHAUlZK17L5hcO36SsZbep5CllXasKLq5E7bJSKUObIiub/h9kFecwUlYCsFv6j2SNXgX4HhPQmYCuuyp9lIV/s+pcGexl5ONfPnNFWVEwIwnovKPKCaKsRpbqbDc1ISpNFGU9214ZOXv8utVIrNjURAKmfsjyG/THRGdCCtl7AAAAAElFTkSuQmCC",Ai=v.p+"static/a1.86bdd427.png",ba=Object.defineProperty,Pi=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Gi=(g,c,u)=>c in g?ba(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Na=(g,c)=>{for(var u in c||(c={}))xa.call(c,u)&&Gi(g,u,c[u]);if(Pi)for(var u of Pi(c))La.call(c,u)&&Gi(g,u,c[u]);return g};const Wi=g=>React.createElement("svg",Na({width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 9"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{stroke:"#044CDE",opacity:.3,cx:19,cy:19,r:18.5}),React.createElement("circle",{fill:"#0152D9",cx:19,cy:19,r:13}),React.createElement("g",{fill:"#FFF",fillRule:"nonzero"},React.createElement("path",{d:"M24.333 19.92H13.667a.488.488 0 1 1 0-.979h10.666a.488.488 0 1 1 0 .978Z"}),React.createElement("path",{d:"M24.327 19.913a.487.487 0 0 1-.347-.145l-3.807-3.851a.49.49 0 0 1 .003-.691.49.49 0 0 1 .691.003l3.807 3.85a.49.49 0 0 1-.347.834Z"}),React.createElement("path",{d:"M20.476 23.732a.487.487 0 0 1-.344-.836l3.851-3.806a.49.49 0 0 1 .69.003.49.49 0 0 1-.002.69l-3.851 3.808a.489.489 0 0 1-.344.141Z"}))));var Sa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0iIzA0NENERSIgb3BhY2l0eT0iLjMiIGN4PSIxOSIgY3k9IjE5IiByPSIxOC41Ii8+PGNpcmNsZSBmaWxsPSIjMDE1MkQ5IiBjeD0iMTkiIGN5PSIxOSIgcj0iMTMiLz48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjxwYXRoIGQ9Ik0yNC4zMzMgMTkuOTJIMTMuNjY3YS40ODguNDg4IDAgMSAxIDAtLjk3OWgxMC42NjZhLjQ4OC40ODggMCAxIDEgMCAuOTc4WiIvPjxwYXRoIGQ9Ik0yNC4zMjcgMTkuOTEzYS40ODcuNDg3IDAgMCAxLS4zNDctLjE0NWwtMy44MDctMy44NTFhLjQ5LjQ5IDAgMCAxIC4wMDMtLjY5MS40OS40OSAwIDAgMSAuNjkxLjAwM2wzLjgwNyAzLjg1YS40OS40OSAwIDAgMS0uMzQ3LjgzNFoiLz48cGF0aCBkPSJNMjAuNDc2IDIzLjczMmEuNDg3LjQ4NyAwIDAgMS0uMzQ0LS44MzZsMy44NTEtMy44MDZhLjQ5LjQ5IDAgMCAxIC42OS4wMDMuNDkuNDkgMCAwIDEtLjAwMi42OWwtMy44NTEgMy44MDhhLjQ4OS40ODkgMCAwIDEtLjM0NC4xNDFaIi8+PC9nPjwvZz48L3N2Zz4=",Ba=Object.defineProperty,Vi=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,Hi=(g,c,u)=>c in g?Ba(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ra=(g,c)=>{for(var u in c||(c={}))ja.call(c,u)&&Hi(g,u,c[u]);if(Vi)for(var u of Vi(c))Oa.call(c,u)&&Hi(g,u,c[u]);return g};const Cs=g=>React.createElement("svg",Ra({width:55,height:34,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 31\u5907\u4EFD"),React.createElement("g",{fill:"#F2F5FA",fillRule:"evenodd"},React.createElement("path",{d:"M54.057 33.328H32.811V12.023L45.81.67h8.246l-8.245 11.352h8.245zM22.057 33.328H.811V12.023L13.81.67h8.246l-8.245 11.352h8.245z"})));var za="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTUiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0YyRjVGQSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNTQuMDU3IDMzLjMyOEgzMi44MTFWMTIuMDIzTDQ1LjgxLjY3aDguMjQ2bC04LjI0NSAxMS4zNTJoOC4yNDV6TTIyLjA1NyAzMy4zMjhILjgxMVYxMi4wMjNMMTMuODEuNjdoOC4yNDZsLTguMjQ1IDExLjM1Mmg4LjI0NXoiLz48L2c+PC9zdmc+",Fa=Object.defineProperty,Ui=Object.getOwnPropertySymbols,Za=Object.prototype.hasOwnProperty,Ya=Object.prototype.propertyIsEnumerable,Qi=(g,c,u)=>c in g?Fa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ka=(g,c)=>{for(var u in c||(c={}))Za.call(c,u)&&Qi(g,u,c[u]);if(Ui)for(var u of Ui(c))Ya.call(c,u)&&Qi(g,u,c[u]);return g};const ei=g=>React.createElement("svg",ka({width:55,height:34,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7F16\u7EC4 31"),React.createElement("g",{fill:"#F2F5FA",fillRule:"evenodd"},React.createElement("path",{d:"M.057.328h21.246v21.306l-13 11.352H.056l8.245-11.352H.057zM32.057.328h21.246v21.306l-13 11.352h-8.246l8.245-11.352h-8.245z"})));var Ta="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTUiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0YyRjVGQSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNLjA1Ny4zMjhoMjEuMjQ2djIxLjMwNmwtMTMgMTEuMzUySC4wNTZsOC4yNDUtMTEuMzUySC4wNTd6TTMyLjA1Ny4zMjhoMjEuMjQ2djIxLjMwNmwtMTMgMTEuMzUyaC04LjI0Nmw4LjI0NS0xMS4zNTJoLTguMjQ1eiIvPjwvZz48L3N2Zz4=",Pa=Object.defineProperty,si=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Ki=(g,c,u)=>c in g?Pa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ji=(g,c)=>{for(var u in c||(c={}))Ci.call(c,u)&&Ki(g,u,c[u]);if(si)for(var u of si(c))Xi.call(c,u)&&Ki(g,u,c[u]);return g},Ga=(g,c)=>{var u={};for(var st in g)Ci.call(g,st)&&c.indexOf(st)<0&&(u[st]=g[st]);if(g!=null&&si)for(var st of si(g))c.indexOf(st)<0&&Xi.call(g,st)&&(u[st]=g[st]);return u},qi=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const _i=g=>{var c=g,{competitions:u,user:st,dispatch:ot}=c,Lt=Ga(c,["competitions","user","dispatch"]);const[Nt,St]=(0,n.useState)(!1),[Ue,pt]=(0,n.useState)({}),[Bt,cn]=(0,n.useState)(""),An=(0,n.useRef)(null),Ln=(0,n.useRef)(null);(0,n.useEffect)(()=>{vn()},[]);const vn=()=>qi(void 0,null,function*(){u.listParams.keyword="",u.listParams.category="",u.listParams.page=1,ot({type:"competitions/getList",payload:Ji({},u.listParams)})}),dn=[{path:"",img:Ee},{path:"",img:Ee},{path:"",img:Ee},{path:"",img:Ee}],Mn=[{path:"",img:Ai,name:"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8BA1\u7B97\u673A\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u667A\u80FD\u5927\u8D5B",des:"\u968F\u7740AI\u6280\u672F\u7684\u5F15\u5165\uFF0C\u6559\u80B2\u884C\u4E1A\u6B63\u5728\u8131\u79BB\u5355\u4E00\u6559\u80B2\u8F85\u52A9\u7684\u89D2\u8272\uFF0C\u4E3A\u53D7\u6559\u80B2\u8005\u63D0\u4F9B\u79D1\u6280\u8D4B\u80FD\u3001\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\uFF0C\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\u7ED3\u5408\u6D77\u91CF\u4F18\u8D28\u8D44\u6E90\u8986\u76D6\u7EC8\u8EAB\u5B66\u4E60\u573A\u666F\uFF0C\u5B9E\u73B0\u9AD8\u8D28\u91CF\u6559\u80B2\u7684\u53EF\u6301\u7EED\u53D1\u5C55\u76EE\u6807\u3002"},{path:"",img:Ai,name:"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8BA1\u7B97\u673A\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u667A\u80FD\u5927\u8D5B",des:"\u968F\u7740AI\u6280\u672F\u7684\u5F15\u5165\uFF0C\u6559\u80B2\u884C\u4E1A\u6B63\u5728\u8131\u79BB\u5355\u4E00\u6559\u80B2\u8F85\u52A9\u7684\u89D2\u8272\uFF0C\u4E3A\u53D7\u6559\u80B2\u8005\u63D0\u4F9B\u79D1\u6280\u8D4B\u80FD\u3001\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\uFF0C\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\u7ED3\u5408\u6D77\u91CF\u4F18\u8D28\u8D44\u6E90\u8986\u76D6\u7EC8\u8EAB\u5B66\u4E60\u573A\u666F\uFF0C\u5B9E\u73B0\u9AD8\u8D28\u91CF\u6559\u80B2\u7684\u53EF\u6301\u7EED\u53D1\u5C55\u76EE\u6807\u3002"},{path:"",img:Ai,name:"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8BA1\u7B97\u673A\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u667A\u80FD\u5927\u8D5B",des:"\u968F\u7740AI\u6280\u672F\u7684\u5F15\u5165\uFF0C\u6559\u80B2\u884C\u4E1A\u6B63\u5728\u8131\u79BB\u5355\u4E00\u6559\u80B2\u8F85\u52A9\u7684\u89D2\u8272\uFF0C\u4E3A\u53D7\u6559\u80B2\u8005\u63D0\u4F9B\u79D1\u6280\u8D4B\u80FD\u3001\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\uFF0C\u5185\u5BB9\u5B8C\u5584\u3001\u6548\u679C\u4F18\u826F\u7684\u8BFE\u7A0B\uFF0C\u7ED3\u5408\u6D77\u91CF\u4F18\u8D28\u8D44\u6E90\u8986\u76D6\u7EC8\u8EAB\u5B66\u4E60\u573A\u666F\uFF0C\u5B9E\u73B0\u9AD8\u8D28\u91CF\u6559\u80B2\u7684\u53EF\u6301\u7EED\u53D1\u5C55\u76EE\u6807\u3002"}],Ke=Ct=>{cn(Ct),u.listParams.page=1,u.listParams.category=Ct,ot({type:"competitions/getList",payload:Ji({},u.listParams)})};return n.createElement("section",{className:ae.home},n.createElement(Ge.Z,{loading:Nt,active:!0,paragraph:{rows:5}},n.createElement("div",{className:ae.bg},dn&&n.createElement(te.Z,{ref:An,autoplay:!0,pauseOnDotsHover:!0},dn==null?void 0:dn.map((Ct,Nn)=>n.createElement("div",{key:Nn,className:ae.li},n.createElement("a",{href:Ct.path},n.createElement("img",{width:"100%",src:Ct.img}))))),n.createElement("div",{className:ae.btns},n.createElement("div",{onClick:()=>{An.current.prev()}},n.createElement("i",{className:"iconfont icon-fanhui1"})),n.createElement("div",{style:{transform:"rotate(180deg)"},onClick:()=>{An.current.next()}},n.createElement("i",{className:"iconfont icon-fanhui1"})))),n.createElement("div",{className:ae.competition},n.createElement("div",{className:ae.title},"2022\u8D5B\u4E8B"),n.createElement("div",{className:ae.des},n.createElement("img",{src:wn,alt:""}),n.createElement("aside",null,n.createElement("div",null,"5\u67087\u65E5"),n.createElement("div",null,"\u5927\u8D5B\u5F00\u542F")),n.createElement("img",{className:"ml5 mr5",src:di}),n.createElement("img",{src:Kr,alt:""}),n.createElement("aside",null,n.createElement("div",null,"5\u67087\u65E5-8\u670815\u65E5"),n.createElement("div",null,"\u5927\u8D5B\u5E38\u89C4\u8D5B\u9636\u6BB5")),n.createElement("img",{className:"ml5 mr5",src:di}),n.createElement("img",{src:Da,alt:""}),n.createElement("aside",null,n.createElement("div",null,"8\u670815\u65E5-11\u670820\u65E5"),n.createElement("div",null,"\u5927\u8D5B\u51B3\u8D5B\u9636\u6BB5")),n.createElement("img",{className:"ml5 mr5",src:di}),n.createElement("img",{src:Ca,alt:""}),n.createElement("aside",null,n.createElement("div",null,"12\u67081\u65E5"),n.createElement("div",null,"\u9881\u5956\u5927\u4F1A")))),n.createElement("div",{className:ae.information},n.createElement("div",{className:ae.title},n.createElement("b",null,"\u8D5B\u4E8B\u8D44\u8BAF"),n.createElement("span",null,"\u66F4\u591A",n.createElement("i",{className:"iconfont icon-zhankai1 font14"}))),n.createElement("div",{className:ae.des},n.createElement("div",{className:ae.d1},n.createElement("b",null,"\u7B2C\u4E94\u5C4A\u4E2D\u56FD\u8F6F\u4EF6\u5F00\u6E90\u521B\u65B0\u5927\u8D5B"),n.createElement("aside",null,"openEuler\u5F00\u6E90\u793E\u533A\u8D21\u732E\u8D5B"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5")),n.createElement("div",{className:ae.d2},n.createElement("div",null,n.createElement("b",null,"\u7B2C\u4E8C\u5C4A\u300C\u8BA1\u56FE\u300Dittor\u300D\u4EBA\u5DE5\u667A\u80FD\u6311\u6218\u8D5B"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5")),n.createElement("div",null,n.createElement("b",null,"\u7B2C\u4E8C\u5C4A\u300C\u8BA1\u56FE\u300Dittor\u300D\u8BA1\u7B97\u673A\u4EBA\u5DE5\u667A\u80FD\u6311\u6218\u2026"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5"))),n.createElement("div",{className:ae.d3},n.createElement("div",null,n.createElement("b",null,"DataWorks\u4E00\u7AD9\u5F0F\u5927\u6570\u636E\u5F00\u53D1\u6311\u6218\u5927\u8D5B"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5")),n.createElement("div",null,n.createElement("b",null,"\u300C\u8BA1\u56FE\u300Dittor\u300D\u5927\u6570\u636E\u8FD0\u7528\u4EBA\u5DE5\u667A\u80FD\u6311\u6218\u8D5B\u2026"),n.createElement("aside",null,"\u56FD\u5BB6\u81EA\u7136\u79D1\u5B66\u57FA\u91D1\u59D4\u4FE1\u606F\u79D1\u5B66\u90E8"),n.createElement("div",null,"\u67E5\u770B\u8BE6\u60C5"))))),n.createElement("div",{className:ae.retrospect},n.createElement("div",{className:ae.title},n.createElement("b",null,"\u5F80\u671F\u56DE\u987E"),n.createElement("span",null,"\u66F4\u591A",n.createElement("i",{className:"iconfont icon-zhankai1 font14"}))),n.createElement("div",{className:ae.banner},Mn&&n.createElement(te.Z,{ref:Ln,autoplay:!1,pauseOnDotsHover:!0},Mn==null?void 0:Mn.map((Ct,Nn)=>n.createElement("div",{key:Nn,className:ae.li},n.createElement("div",{className:ae.left},n.createElement("img",{width:524,src:Ct.img})),n.createElement("div",{className:ae.right},n.createElement("div",{className:ae.name},Ct==null?void 0:Ct.name),n.createElement("div",{className:ae.des},Ct.des),n.createElement("div",{className:ae.btn},n.createElement("span",null,"\u7ACB\u5373\u67E5\u770B"),n.createElement("img",{src:Sa})),n.createElement("img",{className:ae.l,src:za}),n.createElement("img",{className:ae.r,src:Ta}))))),n.createElement("div",{className:ae.btns},n.createElement("div",{onClick:()=>{Ln.current.prev()}},n.createElement("i",{className:"iconfont icon-fanhui1"})),n.createElement("div",{style:{transform:"rotate(180deg)"},onClick:()=>{Ln.current.next()}},n.createElement("i",{className:"iconfont icon-fanhui1"}))))),n.createElement("div",{className:ae.group},n.createElement("div",{className:ae.title},"\u8D5B\u9898\u5206\u7EC4"),n.createElement(tt.default,{className:ae.tabs,activeKey:Bt,onChange:Ke},n.createElement(tt.default.TabPane,{tab:"\u5168\u90E8",key:""}),n.createElement(tt.default.TabPane,{tab:"\u8FDB\u884C\u4E2D",key:"progressing"}),n.createElement(tt.default.TabPane,{tab:"\u5DF2\u7ED3\u675F",key:"ended"})),n.createElement("div",{className:ae.list},n.createElement(oe.Z,{show:!1})),n.createElement("div",{onClick:()=>le.history.push(`/competitions?tabs=${Bt}`),className:ae.btn},"\u66F4\u591A\u8D5B\u4E8B",n.createElement("i",{className:"iconfont icon-zhankai1 font14 ml5"})))))};var Wa=(0,le.connect)(({competitions:g,user:c})=>({competitions:g,user:c}))(_i),vi=v(2337),$i=v(93948),pi={ProgressStyle:"ProgressStyle___gcSk5",title:"title___ti6Wz",fullScreen:"fullScreen___n9edN"},ti=v(84056),Va=v(90175),bi=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const ea=g=>bi(void 0,null,function*(){return(0,Xe.ZP)("/api/home/statistic.json",{method:"Get",params:g})}),bs=({dispatch:g})=>{var c,u,st,ot,Lt,Nt,St,Ue,pt,Bt,cn,An,Ln,vn,dn,Mn,Ke,Ct,Nn,Xt,Dn,or,bt,Yn,Xn,Kn,br,Mr,Br,ur,ke,De,it,Kt,kn,Pr,xr,Gr,jr,fn,Je,Dr,pn,Wr,Mt,Fr,Zr,cr,dr,fr;const[,,qr,ve]=(0,ie.U)(ea,{}),Te=(0,n.useMemo)(()=>{var we;const mt=(we=ve==null?void 0:ve.data)==null?void 0:we.homework_publish_statistic,zt=[{value:mt==null?void 0:mt.practice_count,name:"\u5B9E\u8BAD\u4F5C\u4E1A"},{value:mt==null?void 0:mt.hack_count,name:"\u7F16\u7A0B\u4F5C\u4E1A"},{value:mt==null?void 0:mt.normal_count,name:"\u56FE\u6587\u4F5C\u4E1A"},{value:mt==null?void 0:mt.group_count,name:"\u5206\u7EC4\u4F5C\u4E1A"},{value:mt==null?void 0:mt.exercise_count,name:"\u5728\u7EBF\u8003\u8BD5"}];return{tooltip:{trigger:"item"},legend:{orient:"vertical",right:"right",top:"center",itemWidth:14,textStyle:{color:"#727c95"},formatter:Or=>{const ir=zt==null?void 0:zt.find(gi=>(gi==null?void 0:gi.name)==Or);return`${Or}${(Math.round((ir==null?void 0:ir.value)/(mt==null?void 0:mt.total)*100)+"%").padStart(8)}`}},color:["#34A1FA","#FAAE96","#F5D67F","#3ED1AB","#90CDFF"],series:[{type:"pie",center:["20%","50%"],radius:["40%","75%"],data:zt,labelLine:{show:!1},label:{show:!1},itemStyle:{borderColor:"#fff",borderWidth:2}}]}},[(c=ve==null?void 0:ve.data)==null?void 0:c.homework_publish_statistic]),Jn=(0,n.useMemo)(()=>{var we,mt;const zt=(mt=(we=ve==null?void 0:ve.data)==null?void 0:we.student_learn_data)==null?void 0:mt.charts,Or=zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.count);return{tooltip:{trigger:"axis",axisPointer:{type:"none"}},yAxis:{type:"value",show:!1,splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},xAxis:{type:"category",data:zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.weekday),splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:"#727C95"},axisLine:{lineStyle:{color:"rgba(114, 124, 149, .2)"}}},grid:{top:"12%",left:"3%",right:"4%",bottom:"3%",containLabel:!0},series:[{type:"bar",barWidth:"40%",data:Or,label:{show:!0,position:"top",color:"#121C31"},itemStyle:{color:"#ACC6FF",borderRadius:2},emphasis:{itemStyle:{color:"#5E91FE"}}}]}},[(st=(u=ve==null?void 0:ve.data)==null?void 0:u.student_learn_data)==null?void 0:st.charts]),Pe=(0,n.useMemo)(()=>{var we,mt;const zt=(mt=(we=ve==null?void 0:ve.data)==null?void 0:we.homework_number_statistic)==null?void 0:mt.charts,Or=zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.count);return{tooltip:{trigger:"axis",axisPointer:{type:"none"}},yAxis:{type:"value",show:!1,splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},xAxis:{type:"category",data:zt==null?void 0:zt.map(ir=>ir==null?void 0:ir.weekday),splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:"#727C95"},axisLine:{lineStyle:{color:"rgba(114, 124, 149, .2)"}}},grid:{top:"12%",left:"3%",right:"4%",bottom:"3%",containLabel:!0},series:[{type:"bar",barWidth:"40%",data:Or,label:{show:!0,position:"top",color:"#121C31"},itemStyle:{color:"#BBE7DD",borderRadius:2},emphasis:{itemStyle:{color:"#63E7C5"}}}]}},[(Lt=(ot=ve==null?void 0:ve.data)==null?void 0:ot.homework_number_statistic)==null?void 0:Lt.charts]),[Ut,gr]=(0,n.useState)(!1),[_r,Vr]=(0,n.useState)(0),z=(0,n.useRef)(null),Rt=()=>bi(void 0,null,function*(){const we=yield qr({});(we==null?void 0:we.status)==0&&setTimeout(()=>{Rt()},5*60*1e3)});return(0,n.useEffect)(()=>{(0,Et.bg)()?Rt():le.history.push("/newlogin")},[(0,Et.bg)()]),(0,n.useEffect)(()=>{if(!z.current)return;const we=()=>{if(z.current){const Or=z.current.clientHeight;Or!==_r&&Vr(Or)}};we();const mt=new ResizeObserver(()=>{we()});mt.observe(z.current);const zt=()=>{requestAnimationFrame(we)};return document.addEventListener("fullscreenchange",zt),window.addEventListener("resize",we),()=>{mt.disconnect(),document.removeEventListener("fullscreenchange",zt),window.removeEventListener("resize",we)}},[_r]),(0,n.useEffect)(()=>{const we=()=>{const zt=document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement;gr(!!zt)};document.addEventListener("fullscreenchange",we),document.addEventListener("webkitfullscreenchange",we),document.addEventListener("mozfullscreenchange",we),document.addEventListener("MSFullscreenChange",we);const mt=zt=>{console.log(zt.key,"event.key"),zt.key==="F11"&&(zt.preventDefault(),Ut?(0,ti.BU)():(0,ti.Dj)(document.getElementById("dashboard")),gr(!Ut)),zt.key==="Escape"&&Ut&&((0,ti.BU)(),gr(!1))};return window.addEventListener("keydown",mt),()=>{document.removeEventListener("fullscreenchange",we),document.removeEventListener("webkitfullscreenchange",we),document.removeEventListener("mozfullscreenchange",we),document.removeEventListener("MSFullscreenChange",we),window.removeEventListener("keydown",mt)}},[]),n.createElement(Va.Z,{mainDom:n.createElement("div",{id:"dashboard",style:{minHeight:Ut?"100vh":"",backgroundColor:"#EEF5FE"}},Ut&&n.createElement("div",{className:"flex item-center relative justify-center",style:{height:"95rem",zIndex:100}},n.createElement("img",{className:"absolute w-full",src:v(33226),style:{top:0,left:0,zIndex:-1}}),Ut&&n.createElement("div",{className:"flex item-center justify-between absolute",style:{right:"80rem",bottom:"6rem"}},n.createElement("div",{className:pi.fullScreen,style:{width:"132rem"},onClick:()=>{Ut?(0,ti.BU)():(0,ti.Dj)(document.getElementById("dashboard")),gr(!Ut)}},n.createElement("i",{className:"iconfont icon-hjj-tuichuquanping font14"}),n.createElement("div",null,"\u9000\u51FA\u5168\u5C4F")))),n.createElement("div",{className:"flex flex-col gap-20px-rem py-20px-rem px-24px-rem",style:{color:"#121C31",height:Ut?"calc(100vh - 95rem)":"calc(100vh - 70rem)",overflowY:"auto",padding:Ut?"20rem 80rem":"20rem 20rem"}},!Ut&&n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:pi.title},"\u6570\u636E\u770B\u677F"),n.createElement("div",{className:pi.fullScreen,onClick:()=>{Ut?(0,ti.BU)():(0,ti.Dj)(document.getElementById("dashboard")),gr(!Ut)}},n.createElement("i",{className:"iconfont icon-hjj-quanping font14"}),n.createElement("div",null,"\u5168\u5C4F"))),n.createElement("div",{className:"flex gap-18px-rem",style:{height:"14%"}},n.createElement("div",{className:"flex flex-col gap-20px-rem rounded-8px-rem bg-white py-14px-rem px-20px-rem flex-2"},n.createElement("div",{className:"font-medium"},"\u5E73\u53F0\u6210\u5458"),n.createElement("div",{className:"flex item-center justify-between"},[{title:"\u5B66\u4E60\u603B\u4EBA\u6570",num:(St=(Nt=ve==null?void 0:ve.data)==null?void 0:Nt.platform_member)==null?void 0:St.total,icon:"#icon-hjj-xuexizongrenshu"},{title:"\u6559\u5E08\u6570",num:(pt=(Ue=ve==null?void 0:ve.data)==null?void 0:Ue.platform_member)==null?void 0:pt.teacher_count,icon:"#icon-hjj-jiaoshishu1"},{title:"\u5B66\u751F\u6570",num:(cn=(Bt=ve==null?void 0:ve.data)==null?void 0:Bt.platform_member)==null?void 0:cn.student_count,icon:"#icon-hjj-xueshengshu"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-10px-rem"},n.createElement("svg",{className:"icon text-36px-rem","aria-hidden":!0},n.createElement("use",{xlinkHref:`${we==null?void 0:we.icon}`})),n.createElement("div",{className:"flex flex-col gap-4px-rem"},n.createElement("div",{className:"text-20px-rem font-bold",style:{lineHeight:"20rem"}},(we==null?void 0:we.num)||0),n.createElement("div",{className:"c-grey-666 text-12px-rem"},we==null?void 0:we.title)))))),n.createElement("div",{className:"flex flex-col gap-20px-rem rounded-8px-rem bg-white py-14px-rem px-20px-rem",style:{flex:"1.5"}},n.createElement("div",{className:"font-medium"},"\u5B66\u4E60\u4EBA\u6570"),n.createElement("div",{className:"flex item-center justify-between"},[{title:"7\u5929\u5185\u6D3B\u8DC3\u7528\u6237",num:(Ln=(An=ve==null?void 0:ve.data)==null?void 0:An.learn_number)==null?void 0:Ln.weekly_active_user_count,icon:"#icon-hjj-jinrixuexirenshu1"},{title:"\u6B63\u5728\u5B66\u4E60\u4EBA\u6570",num:(dn=(vn=ve==null?void 0:ve.data)==null?void 0:vn.learn_number)==null?void 0:dn.learning_count,icon:"#icon-hjj-zhengzaixuexirenshu"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-10px-rem"},n.createElement("svg",{className:"icon text-36px-rem","aria-hidden":!0},n.createElement("use",{xlinkHref:`${we==null?void 0:we.icon}`})),n.createElement("div",{className:"flex flex-col gap-4px-rem"},n.createElement("div",{className:"text-20px-rem font-bold",style:{lineHeight:"20rem"}},we==null?void 0:we.num),n.createElement("div",{className:"c-grey-666 text-12px-rem"},we==null?void 0:we.title)))))),n.createElement("div",{className:"flex flex-col gap-20px-rem rounded-8px-rem bg-white py-14px-rem px-20px-rem flex-2"},n.createElement("div",{className:"font-medium"},"\u6559\u5B66\u5185\u5BB9\u6982\u89C8"),n.createElement("div",{className:"flex item-center justify-between"},[{title:"\u5B9E\u8DF5\u9879\u76EE\u6570",num:(Ke=(Mn=ve==null?void 0:ve.data)==null?void 0:Mn.teaching_content_overview)==null?void 0:Ke.shixun_count,icon:"#icon-hjj-shijianxiangmushu"},{title:"\u667A\u6167\u8BFE\u7A0B\u6570",num:(Nn=(Ct=ve==null?void 0:ve.data)==null?void 0:Ct.teaching_content_overview)==null?void 0:Nn.subject_count,icon:"#icon-hjj-zhihuikechengshu"},{title:"\u6559\u5B66\u8BFE\u5802\u6570",num:(Dn=(Xt=ve==null?void 0:ve.data)==null?void 0:Xt.teaching_content_overview)==null?void 0:Dn.course_count,icon:"#icon-hjj-jiaoxueketangshu"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-10px-rem"},n.createElement("svg",{className:"icon text-36px-rem","aria-hidden":!0},n.createElement("use",{xlinkHref:`${we==null?void 0:we.icon}`})),n.createElement("div",{className:"flex flex-col gap-4px-rem"},n.createElement("div",{className:"text-20px-rem font-bold",style:{lineHeight:"20rem"}},we==null?void 0:we.num),n.createElement("div",{className:"c-grey-666 text-12px-rem"},we==null?void 0:we.title))))))),n.createElement("div",{className:"flex gap-18px-rem",style:{height:"29%"},ref:z},n.createElement("div",{className:"flex-2 rounded-8px-rem ",style:{overflow:"hidden"}},n.createElement(te.Z,{className:"w-full h-full",autoplay:!0},(or=ve==null?void 0:ve.data)==null?void 0:or.images_url.map((we,mt)=>{var zt;return n.createElement("div",{key:mt,className:"w-full h-full"},n.createElement("div",{style:{width:"100%",height:_r||((zt=z==null?void 0:z.current)==null?void 0:zt.clientHeight),background:`url(${Zt.Z.IMG_SERVER}${we==null?void 0:we.image_url}) center / auto 100% no-repeat`}}))}))),n.createElement("div",{className:"flex flex-col gap-10px-rem flex-1 minW-0 rounded-8px-rem bg-white py-14px-rem px-16px-rem"},n.createElement("div",{className:"c-grey-333 font-medium"},"\u4F5C\u4E1A\u53D1\u5E03\u6570\u7EDF\u8BA1"),n.createElement("div",{style:{margin:"auto 0"}},n.createElement(fe.Z,{style:{height:"137px"},option:Te}))),n.createElement("div",{className:"flex flex-col gap-10px-rem flex-1 minW-0 rounded-8px-rem bg-white py-14px-rem px-16px-rem"},n.createElement("div",{className:"c-grey-333 font-medium"},"\u5B9E\u9A8C\u7EDF\u8BA1"),n.createElement("div",{className:"flex-1 minW-0 flex flex-col gap-8px-rem"},[{title:"\u8BC4\u6D4B\u603B\u6B21\u6570",num:(Yn=(bt=ve==null?void 0:ve.data)==null?void 0:bt.shixun_evaluate_statistic)==null?void 0:Yn.evaluate_count,icon:"icon-hjj-pingcezongcishu"},{title:"\u7D2F\u8BA1\u901A\u8FC7\u6B21\u6570",num:(Kn=(Xn=ve==null?void 0:ve.data)==null?void 0:Xn.shixun_evaluate_statistic)==null?void 0:Kn.pass_count,icon:"icon-hjj-leijitongguocishu"},{title:"\u5E73\u5747\u901A\u8FC7\u7387",num:((Mr=(br=ve==null?void 0:ve.data)==null?void 0:br.shixun_evaluate_statistic)==null?void 0:Mr.avg_pass_rate)*100,icon:"icon-hjj-pingjuntongguoshuai",unit:"%"}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex-1 minW-0 flex gap-8px-rem item-center rounded-4px-rem pl-12px-rem",style:{background:"linear-gradient( 90deg, #E8F3FD 0%, #FFFFFF 100%)"}},n.createElement("span",{className:`iconfont ${we==null?void 0:we.icon}`,style:{color:"#6898FE",fontSize:"12rem"}}),n.createElement("div",{className:"text-12px-rem",style:{color:"rgba(11,15,23,0.6)"}},we==null?void 0:we.title),n.createElement("div",{className:"ml-auto text-16px-rem",style:{color:"#121C31"}},we==null?void 0:we.num,we==null?void 0:we.unit)))))),n.createElement("div",{className:"grid gap-18px-rem",style:{gridTemplateColumns:"1fr 1fr",height:"62%"}},n.createElement("div",{className:"flex flex-col gap-25px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},n.createElement("div",{className:"font-medium c-grey-333"},"\u5B66\u751F\u5B66\u4E60\u6570\u636E"),n.createElement("div",{className:"flex-1 flex gap-20px-rem"},n.createElement("div",{className:"rounded-6px-rem h-full py-14px-rem px-10px-rem",style:{background:"linear-gradient( 180deg, #F2F8FF 0%, #FFFFFF 100%)"}},n.createElement("div",{className:"text-12px-rem c-grey-666"},"\u4ECA\u65E5\u8BC4\u6D4B\u603B\u6B21\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((ur=(Br=ve==null?void 0:ve.data)==null?void 0:Br.student_learn_data)==null?void 0:ur.today_learn_count)||0),n.createElement("div",{className:"w-full mt-14px-rem ",style:{height:"1rem",border:"1rem dashed rgba(33,135,217,0.43)"}}),n.createElement("div",{className:"text-12px-rem c-grey-666 text-nowrap mt-14px-rem"},"\u8FD17\u65E5\u8BC4\u6D4B\u603B\u6B21\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((De=(ke=ve==null?void 0:ve.data)==null?void 0:ke.student_learn_data)==null?void 0:De.recently_learn_count)||0)),n.createElement(fe.Z,{className:"flex-1",style:{height:"162rem"},option:Jn}))),n.createElement("div",{className:"flex flex-col gap-25px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},n.createElement("div",{className:"font-medium c-grey-333"},"\u4F5C\u4E1A\u53D1\u5E03\u6570\u7EDF\u8BA1"),n.createElement("div",{className:"flex-1 flex gap-20px-rem"},n.createElement("div",{className:"rounded-6px-rem h-full py-14px-rem px-10px-rem",style:{background:"linear-gradient( 180deg, #F2F8FF 0%, #FFFFFF 100%)"}},n.createElement("div",{className:"text-12px-rem c-grey-666"},"\u4ECA\u65E5\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((Kt=(it=ve==null?void 0:ve.data)==null?void 0:it.homework_number_statistic)==null?void 0:Kt.today_homework_count)||0),n.createElement("div",{className:"w-full mt-14px-rem ",style:{height:"1rem",border:"1rem dashed rgba(33,135,217,0.43)"}}),n.createElement("div",{className:"text-12px-rem c-grey-666 text-nowrap mt-14px-rem"},"\u8FD17\u5929\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:"font-bold text-20px-rem mt-4px-rem",style:{color:"#121C31"}},((Pr=(kn=ve==null?void 0:ve.data)==null?void 0:kn.homework_number_statistic)==null?void 0:Pr.recently_homework_count)||0)),n.createElement(fe.Z,{className:"flex-1",style:{height:"162rem"},option:Pe}))),n.createElement("div",{className:"flex flex-col gap-10px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},n.createElement("div",{className:"font-medium c-grey-333"},"\u5B66\u751F\u6574\u4F53\u4F5C\u4E1A\u5B8C\u6210\u7387"),n.createElement("div",{className:"mt-16px-rem flex flex-col gap-20px-rem"},[{title:"\u5B9E\u8BAD\u4F5C\u4E1A",percent:(Gr=(xr=ve==null?void 0:ve.data)==null?void 0:xr.homework_complete_statistic)==null?void 0:Gr.practice_rate,strokeColor:{from:"#C8D9FD",to:"#6596FE"}},{title:"\u7F16\u7A0B\u4F5C\u4E1A",percent:(fn=(jr=ve==null?void 0:ve.data)==null?void 0:jr.homework_complete_statistic)==null?void 0:fn.hack_rate,strokeColor:{from:"#D5E8FE",to:"#67B4F7"}},{title:"\u56FE\u6587\u4F5C\u4E1A",percent:(Dr=(Je=ve==null?void 0:ve.data)==null?void 0:Je.homework_complete_statistic)==null?void 0:Dr.normal_rate,strokeColor:{from:"#D2EFFF",to:"#72CDFF"}},{title:"\u5206\u7EC4\u4F5C\u4E1A",percent:(Wr=(pn=ve==null?void 0:ve.data)==null?void 0:pn.homework_complete_statistic)==null?void 0:Wr.group_rate,strokeColor:{from:"#F1E6CA",to:"#FFD28C"}}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex item-center gap-20px-rem"},n.createElement("div",{className:"text-nowrap",style:{color:"#727C95"}},we==null?void 0:we.title),n.createElement($i.Z,{className:pi.ProgressStyle,percent:Math.round((we==null?void 0:we.percent)*1e4)/100,strokeColor:we==null?void 0:we.strokeColor,format:zt=>n.createElement("span",{className:"text-16px-rem",style:{color:"#121C31"}},zt.toFixed(1),"%")}))))),n.createElement("div",{className:"flex gap-10px-rem py-14px-rem px-20px-rem rounded-8px-rem bg-white"},[{title:"\u8BD5\u9898\u603B\u6570",src:v(31632),num:(Fr=(Mt=ve==null?void 0:ve.data)==null?void 0:Mt.count_statistic)==null?void 0:Fr.question_count},{title:"\u8BD5\u5377\u603B\u6570",src:v(52609),num:(cr=(Zr=ve==null?void 0:ve.data)==null?void 0:Zr.count_statistic)==null?void 0:cr.paper_count},{title:"\u8BFE\u4EF6\u603B\u6570",src:v(46326),num:(fr=(dr=ve==null?void 0:ve.data)==null?void 0:dr.count_statistic)==null?void 0:fr.courseware_count}].map((we,mt)=>n.createElement("div",{key:mt,className:"flex flex-col item-center justify-center flex-1 minW-0 rounded-8px-rem ",style:{background:"linear-gradient( 180deg, rgba(234,243,255,0.8) 0%, #F8FCFF 100%)"}},n.createElement("img",{src:we==null?void 0:we.src,style:{width:"40rem"}}),n.createElement("div",{className:"c-grey-666 mt-24px-rem"},we==null?void 0:we.title),n.createElement("div",{className:"text-20px-rem font-bold mt-4px-rem",style:{color:"#121C31"}},we==null?void 0:we.num)))))))})};var ta=(0,le.connect)(({})=>({}))(bs),Yt={homeCon:"homeCon___IPlea",mainLogo:"mainLogo___BS7eJ",exptStats:"exptStats___aCtB_",exptStatsItem:"exptStatsItem___l9SVl",esItemName:"esItemName___L8Tzl",titleName:"titleName___RKQq1",platSituStats:"platSituStats___iQ2Hu",pSSItem:"pSSItem___aWBDd",new_jxkt:"new_jxkt___uLIIr",new_syxm:"new_syxm___ZDHlH",kt_sx_item:"kt_sx_item___FL0da",kt_sx_item_user:"kt_sx_item_user___aZIT6",kt_sx_item_name:"kt_sx_item_name___XPGIy",kt_sx_item_time:"kt_sx_item_time___Gddx9",watchMore:"watchMore___gm2yE",fwsj_zyfb:"fwsj_zyfb___NjqSx",zyfb_info:"zyfb_info___lD1Cr",zyfb_info_l_r:"zyfb_info_l_r___ZEIxA",info_title:"info_title___rBABx",info_count:"info_count___JgjfG"},Ha=Object.defineProperty,na=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,ra=(g,c,u)=>c in g?Ha(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Qa=(g,c)=>{for(var u in c||(c={}))Ua.call(c,u)&&ra(g,u,c[u]);if(na)for(var u of na(c))xi.call(c,u)&&ra(g,u,c[u]);return g};const xs=g=>React.createElement("svg",Qa({width:15,height:14,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u8BC4\u6D4B\u603B\u6B21\u6570"),React.createElement("path",{d:"M.533.005c.292 0 .53.239.53.53v11.67h12.73c.292 0 .53.238.53.53 0 .291-.238.53-.53.53H.533a.532.532 0 0 1-.53-.53V.534c0-.291.239-.53.53-.53ZM13.236 2.79c.186-.212.53-.186.716 0 .186.185.186.504 0 .716L9.364 8.12a.524.524 0 0 1-.37.16.585.585 0 0 1-.399-.16L5.97 5.495 2.761 8.704a.513.513 0 0 1-.742 0 .513.513 0 0 1 0-.743l3.58-3.554a.524.524 0 0 1 .371-.159.79.79 0 0 1 .398.133L9.02 7.033Z",fill:"#00DDC7",fillRule:"nonzero"}));var Xa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTS41MzMuMDA1Yy4yOTIgMCAuNTMuMjM5LjUzLjUzdjExLjY3aDEyLjczYy4yOTIgMCAuNTMuMjM4LjUzLjUzIDAgLjI5MS0uMjM4LjUzLS41My41M0guNTMzYS41MzIuNTMyIDAgMCAxLS41My0uNTNWLjUzNGMwLS4yOTEuMjM5LS41My41My0uNTNaTTEzLjIzNiAyLjc5Yy4xODYtLjIxMi41My0uMTg2LjcxNiAwIC4xODYuMTg1LjE4Ni41MDQgMCAuNzE2TDkuMzY0IDguMTJhLjUyNC41MjQgMCAwIDEtLjM3LjE2LjU4NS41ODUgMCAwIDEtLjM5OS0uMTZMNS45NyA1LjQ5NSAyLjc2MSA4LjcwNGEuNTEzLjUxMyAwIDAgMS0uNzQyIDAgLjUxMy41MTMgMCAwIDEgMC0uNzQzbDMuNTgtMy41NTRhLjUyNC41MjQgMCAwIDEgLjM3MS0uMTU5Ljc5Ljc5IDAgMCAxIC4zOTguMTMzTDkuMDIgNy4wMzNaIiBmaWxsPSIjMDBEREM3IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Ka=Object.defineProperty,Li=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,aa=(g,c,u)=>c in g?Ka(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,qa=(g,c)=>{for(var u in c||(c={}))ia.call(c,u)&&aa(g,u,c[u]);if(Li)for(var u of Li(c))Ja.call(c,u)&&aa(g,u,c[u]);return g};const Ls=g=>React.createElement("svg",qa({width:15,height:15,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u7D2F\u8BA1\u901A\u8FC7\u6B21\u6570"),React.createElement("path",{d:"M4.317 14.377H.724a.719.719 0 0 1-.718-.719V5.395c0-.397.321-.719.718-.719h3.593V.724c0-.397.322-.718.719-.718h4.31c.398 0 .72.321.72.718v6.827h3.592c.376 0 .689.29.717.664l.002.054v5.39c0 .375-.29.688-.665.716l-.054.002H4.317Zm0-8.623H1.083V13.3h3.234V5.754Zm8.982 2.874h-3.234V13.3H13.3v-4.67ZM8.988 1.083H5.395V13.3h3.593V1.083Z",fill:"#00DDC7",fillRule:"nonzero"}));var Ei="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuMzE3IDE0LjM3N0guNzI0YS43MTkuNzE5IDAgMCAxLS43MTgtLjcxOVY1LjM5NWMwLS4zOTcuMzIxLS43MTkuNzE4LS43MTloMy41OTNWLjcyNGMwLS4zOTcuMzIyLS43MTguNzE5LS43MThoNC4zMWMuMzk4IDAgLjcyLjMyMS43Mi43MTh2Ni44MjdoMy41OTJjLjM3NiAwIC42ODkuMjkuNzE3LjY2NGwuMDAyLjA1NHY1LjM5YzAgLjM3NS0uMjkuNjg4LS42NjUuNzE2bC0uMDU0LjAwMkg0LjMxN1ptMC04LjYyM0gxLjA4M1YxMy4zaDMuMjM0VjUuNzU0Wm04Ljk4MiAyLjg3NGgtMy4yMzRWMTMuM0gxMy4zdi00LjY3Wk04Ljk4OCAxLjA4M0g1LjM5NVYxMy4zaDMuNTkzVjEuMDgzWiIgZmlsbD0iIzAwRERDNyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+",sa=Object.defineProperty,Ni=Object.getOwnPropertySymbols,la=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable,Si=(g,c,u)=>c in g?sa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ua=(g,c)=>{for(var u in c||(c={}))la.call(c,u)&&Si(g,u,c[u]);if(Ni)for(var u of Ni(c))oa.call(c,u)&&Si(g,u,c[u]);return g};const _a=g=>React.createElement("svg",ua({width:16,height:15,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u5E73\u5747\u901A\u8FC7\u7387"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h14.4v14.4H0z"}),React.createElement("path",{d:"M5.572.552c.273 0 .455.091.546.364.09.273 0 .637-.273.728C2.75 3.01 1.295 6.558 2.659 9.653c1.001 2.184 3.095 3.64 5.552 3.64.819 0 1.638-.182 2.457-.546a6.056 6.056 0 0 0 3.185-3.185c.09-.182.273-.364.546-.364h.182c.182.09.273.182.273.273.091.182.091.273 0 .455-1.183 2.73-3.731 4.459-6.643 4.459a7.416 7.416 0 0 1-2.821-.546C1.75 12.292.02 8.015 1.567 4.374 2.295 2.645 3.66 1.371 5.3.644c.09 0 .182-.092.273-.092ZM8.21.006a7.147 7.147 0 0 1 7.189 7.19c0 .272-.273.546-.546.546H8.211c-.273 0-.546-.274-.546-.547V.552c0-.273.273-.546.546-.546Zm.637 1.183h-.091v5.46h5.46v-.09c-.182-1.366-.82-2.64-1.73-3.64-1-1.002-2.274-1.548-3.64-1.73Z",fill:"#00DDC7",fillRule:"nonzero"})));var wi="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDE0LjR2MTQuNEgweiIvPjxwYXRoIGQ9Ik01LjU3Mi41NTJjLjI3MyAwIC40NTUuMDkxLjU0Ni4zNjQuMDkuMjczIDAgLjYzNy0uMjczLjcyOEMyLjc1IDMuMDEgMS4yOTUgNi41NTggMi42NTkgOS42NTNjMS4wMDEgMi4xODQgMy4wOTUgMy42NCA1LjU1MiAzLjY0LjgxOSAwIDEuNjM4LS4xODIgMi40NTctLjU0NmE2LjA1NiA2LjA1NiAwIDAgMCAzLjE4NS0zLjE4NWMuMDktLjE4Mi4yNzMtLjM2NC41NDYtLjM2NGguMTgyYy4xODIuMDkuMjczLjE4Mi4yNzMuMjczLjA5MS4xODIuMDkxLjI3MyAwIC40NTUtMS4xODMgMi43My0zLjczMSA0LjQ1OS02LjY0MyA0LjQ1OWE3LjQxNiA3LjQxNiAwIDAgMS0yLjgyMS0uNTQ2QzEuNzUgMTIuMjkyLjAyIDguMDE1IDEuNTY3IDQuMzc0IDIuMjk1IDIuNjQ1IDMuNjYgMS4zNzEgNS4zLjY0NGMuMDkgMCAuMTgyLS4wOTIuMjczLS4wOTJaTTguMjEuMDA2YTcuMTQ3IDcuMTQ3IDAgMCAxIDcuMTg5IDcuMTljMCAuMjcyLS4yNzMuNTQ2LS41NDYuNTQ2SDguMjExYy0uMjczIDAtLjU0Ni0uMjc0LS41NDYtLjU0N1YuNTUyYzAtLjI3My4yNzMtLjU0Ni41NDYtLjU0NlptLjYzNyAxLjE4M2gtLjA5MXY1LjQ2aDUuNDZ2LS4wOWMtLjE4Mi0xLjM2Ni0uODItMi42NC0xLjczLTMuNjQtMS0xLjAwMi0yLjI3NC0xLjU0OC0zLjY0LTEuNzNaIiBmaWxsPSIjMDBEREM3IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+",ni=Object.defineProperty,Mi=Object.getOwnPropertySymbols,$a=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,ri=(g,c,u)=>c in g?ni(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ca=(g,c)=>{for(var u in c||(c={}))$a.call(c,u)&&ri(g,u,c[u]);if(Mi)for(var u of Mi(c))es.call(c,u)&&ri(g,u,c[u]);return g};const da=g=>React.createElement("svg",ca({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"5"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"sjkc_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"sjkc_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M4.235.257v27.454H1.497c-.339 0-.655-.139-.882-.375a1.306 1.306 0 0 1-.358-.919V1.551c0-.327.15-.665.39-.914.217-.225.513-.38.85-.38h2.738Zm18.064 0c.34 0 .655.139.883.375.22.228.358.547.358.919v24.891c.071.347-.019.664-.216.893a1.127 1.127 0 0 1-.864.376H6.3V.364h8.363v9.862l3.151-3.385 3.245 3.245V.257Z",transform:"translate(17.828 15.967)",fill:"url(#sjkc_svg__a)",stroke:"url(#sjkc_svg__b)",strokeWidth:.514})));var ts="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwMEREQzciIGN4PSIzMCIgY3k9IjMwIiByPSIzMCIvPjxwYXRoIGQ9Ik00LjIzNS4yNTd2MjcuNDU0SDEuNDk3Yy0uMzM5IDAtLjY1NS0uMTM5LS44ODItLjM3NWExLjMwNiAxLjMwNiAwIDAgMS0uMzU4LS45MTlWMS41NTFjMC0uMzI3LjE1LS42NjUuMzktLjkxNC4yMTctLjIyNS41MTMtLjM4Ljg1LS4zOGgyLjczOFptMTguMDY0IDBjLjM0IDAgLjY1NS4xMzkuODgzLjM3NS4yMi4yMjguMzU4LjU0Ny4zNTguOTE5djI0Ljg5MWMuMDcxLjM0Ny0uMDE5LjY2NC0uMjE2Ljg5M2ExLjEyNyAxLjEyNyAwIDAgMS0uODY0LjM3Nkg2LjNWLjM2NGg4LjM2M3Y5Ljg2MmwzLjE1MS0zLjM4NSAzLjI0NSAzLjI0NVYuMjU3WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTcuODI4IDE1Ljk2NykiIGZpbGw9InVybCgjYSkiIHN0cm9rZT0idXJsKCNiKSIgc3Ryb2tlLXdpZHRoPSIuNTE0Ii8+PC9nPjwvc3ZnPg==",Bi=Object.defineProperty,fa=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,rs=Object.prototype.propertyIsEnumerable,ga=(g,c,u)=>c in g?Bi(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,is=(g,c)=>{for(var u in c||(c={}))ns.call(c,u)&&ga(g,u,c[u]);if(fa)for(var u of fa(c))rs.call(c,u)&&ga(g,u,c[u]);return g};const Ns=g=>React.createElement("svg",is({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"6"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"sjrw_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"sjrw_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M28.636 22.48c.197 0 .386.053.551.15.166.097.307.239.406.413.2.352.2.784 0 1.137a1.101 1.101 0 0 1-.957.563H1.363a1.09 1.09 0 0 1-.78-.33 1.141 1.141 0 0 1-.326-.802c0-.313.124-.597.326-.802.2-.203.476-.33.78-.33ZM25.908.256c1.059 0 2.017.437 2.71 1.143a3.931 3.931 0 0 1 1.118 2.537l.007.23V16.11c0 1.08-.43 2.058-1.125 2.766a3.79 3.79 0 0 1-2.485 1.137l-.225.006H4.092a3.786 3.786 0 0 1-2.71-1.143A3.93 3.93 0 0 1 .264 16.34l-.007-.23V4.167c0-1.08.43-2.059 1.125-2.766A3.79 3.79 0 0 1 3.866.264l.226-.007h21.816ZM16.111 3.91h-1.389l-.167.008a1.71 1.71 0 0 0-.987.425 1.442 1.442 0 0 0-.492 1.075c0 .418.186.8.492 1.075.295.265.703.432 1.154.432h1.39l.166-.008c.385-.035.729-.192.987-.424.306-.276.492-.657.492-1.075 0-.42-.186-.8-.492-1.075a1.722 1.722 0 0 0-1.154-.433Z",transform:"translate(15 18)",fill:"url(#sjrw_svg__a)",stroke:"url(#sjrw_svg__b)",strokeWidth:.514})));var ma="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQge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MTYuMTExIDMuOTFoLTEuMzg5bC0uMTY3LjAwOGExLjcxIDEuNzEgMCAwIDAtLjk4Ny40MjUgMS40NDIgMS40NDIgMCAwIDAtLjQ5MiAxLjA3NWMwIC40MTguMTg2LjguNDkyIDEuMDc1LjI5NS4yNjUuNzAzLjQzMiAxLjE1NC40MzJoMS4zOWwuMTY2LS4wMDhjLjM4NS0uMDM1LjcyOS0uMTkyLjk4Ny0uNDI0LjMwNi0uMjc2LjQ5Mi0uNjU3LjQ5Mi0xLjA3NSAwLS40Mi0uMTg2LS44LS40OTItMS4wNzVhMS43MjIgMS43MjIgMCAwIDAtMS4xNTQtLjQzM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE1IDE4KSIgZmlsbD0idXJsKCNhKSIgc3Ryb2tlPSJ1cmwoI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",as=Object.defineProperty,ha=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,ss=Object.prototype.propertyIsEnumerable,fi=(g,c,u)=>c in g?as(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Aa=(g,c)=>{for(var u in c||(c={}))ji.call(c,u)&&fi(g,u,c[u]);if(ha)for(var u of ha(c))ss.call(c,u)&&fi(g,u,c[u]);return g};const Ss=g=>React.createElement("svg",Aa({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"12"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"syhj_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"syhj_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M22.969 14.32a3.96 3.96 0 0 1 3.961 3.961c1.026.91 1.67 1.23 2.106 1.76.443.537.672 1.283.703 2.221.002 1.274-.271 2.213-.85 2.83-.584.62-1.469.9-2.639.9H13.125c-1.128 0-1.99-.26-2.575-.808-.582-.545-.878-1.368-.914-2.447-.002-1.273.271-2.213.85-2.83.584-.62 1.469-.9 2.639-.9.307-1.256.708-2.129 1.33-2.751a3.398 3.398 0 0 1 2.42-1c.916 0 1.75.353 2.372.93.727-.571 1.185-1.015 1.741-1.336a3.96 3.96 0 0 1 1.98-.53Zm-21.738.662.116.003 10.964.005c-.384.42-.67.921-.832 1.465-1.343.361-2.597 1.034-3.513 1.97-.862.88-1.428 1.991-1.501 3.304a7.412 7.412 0 0 0 1.197 4.211H1.348a1 1 0 0 1-.726-.272.941.941 0 0 1-.292-.699v-9.133a.894.894 0 0 1 .278-.593.956.956 0 0 1 .739-.258Zm20.212-7.016c.188.163.325.386.377.642l.02.13v3.01c-.021.296-.16.572-.387.765a1.181 1.181 0 0 1-.719.283l-.132-.001H1.498A1.193 1.193 0 0 1 .28 11.87l-.023-.13V8.737c.02-.297.16-.573.387-.767.202-.173.455-.272.719-.283l.132.002h19.107c.319-.024.617.084.84.278ZM3.167 8.54A1.649 1.649 0 0 0 1.994 9a1.663 1.663 0 0 0-.513 1.18c.025.441.22.837.523 1.126.3.287.708.468 1.158.482a1.644 1.644 0 0 0 1.666-1.62 1.644 1.644 0 0 0-1.66-1.628ZM1.352.257l.134.011h19.116a1.155 1.155 0 0 1 1.218.92l.02.132v3.008c-.021.297-.16.572-.387.766a1.181 1.181 0 0 1-.719.283l-.132-.002H1.495c-.31.022-.616-.08-.852-.283a1.112 1.112 0 0 1-.37-.64l-.016-.126v-3.02c0-.302.131-.588.36-.785C.788.375 1 .285 1.22.263l.133-.006Zm1.815.794a1.704 1.704 0 0 0-1.686 1.637c.025.442.22.838.523 1.128.3.287.708.469 1.158.483a1.644 1.644 0 0 0 1.666-1.623 1.64 1.64 0 0 0-1.66-1.625Z",transform:"translate(18 17)",fill:"url(#syhj_svg__a)",stroke:"url(#syhj_svg__b)",strokeWidth:.514})));var ls="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwMEREQzciIGN4PSIzMCIgY3k9IjMwIiByPSIzMCIvPjxwYXRoIGQ9Ik0yMi45NjkgMTQuMzJhMy45NiAzLjk2IDAgMCAxIDMuOTYxIDMuOTYxYzEuMDI2LjkxIDEuNjcgMS4yMyAyLjEwNiAxLjc2LjQ0My41MzcuNjcyIDEuMjgzLjcwMyAyLjIyMS4wMDIgMS4yNzQtLjI3MSAyLjIxMy0uODUgMi44My0uNTg0LjYyLTEuNDY5LjktMi42MzkuOUgxMy4xM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jY0OSAwIDAgMCAxLjk5NCA5YTEuNjYzIDEuNjYzIDAgMCAwLS41MTMgMS4xOGMuMDI1LjQ0MS4yMi44MzcuNTIzIDEuMTI2LjMuMjg3LjcwOC40NjggMS4xNTguNDgyYTEuNjQ0IDEuNjQ0IDAgMCAwIDEuNjY2LTEuNjIgMS42NDQgMS42NDQgMCAwIDAtMS42Ni0xLjYyOFpNMS4zNTIuMjU3bC4xMzQuMDExaDE5LjExNmExLjE1NSAxLjE1NSAwIDAgMSAxLjIxOC45MmwuMDIuMTMydjMuMDA4Yy0uMDIxLjI5Ny0uMTYuNTcyLS4zODcuNzY2YTEuMTgxIDEuMTgxIDAgMCAxLS43MTkuMjgzbC0uMTMyLS4wMDJIMS40OTVjLS4zMS4wMjItLjYxNi0uMDgtLjg1Mi0uMjgzYTEuMTEyIDEuMTEyIDAgMCAxLS4zNy0uNjRsLS4wMTYtLjEyNnYtMy4wMmMwLS4zMDIuMTMxLS41ODguMzYtLjc4NUMuNzg4LjM3NSAxIC4yODUgMS4yMi4yNjNsLjEzMy0uMDA2Wm0xLjgxNS43OTRhMS43MDQgMS43MDQgMCAwIDAtMS42ODYgMS42MzdjLjAyNS40NDIuMjIuODM4LjUyMyAxLjEyOC4zLjI4Ny43MDguNDY5IDEuMTU4LjQ4M2ExLjY0NCAxLjY0NCAwIDAgMCAxLjY2Ni0xLjYyMyAxLjY0IDEuNjQgMCAwIDAtMS42Ni0xLjYyNVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4IDE3KSIgZmlsbD0idXJsKCNhKSIgc3Ryb2tlPSJ1cmwoI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",Bs=Object.defineProperty,Oi=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,us=Object.prototype.propertyIsEnumerable,va=(g,c,u)=>c in g?Bs(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,cs=(g,c)=>{for(var u in c||(c={}))os.call(c,u)&&va(g,u,c[u]);if(Oi)for(var u of Oi(c))us.call(c,u)&&va(g,u,c[u]);return g};const tl=g=>React.createElement("svg",cs({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"stsl_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"stsl_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M22.605.257c.342 0 .658.111.914.3.185.135.338.31.448.514l.074.157-9.768 14.208.108 3.224a2.208 2.208 0 0 0 2.626 2.175l.206-.05 3.205-1.065 3.722-5.36v9.736a1.553 1.553 0 0 1-1.267 1.524l-.146.02-20.92.006A1.553 1.553 0 0 1 .283 24.38l-.02-.146L.257 1.807A1.553 1.553 0 0 1 1.524.283l.147-.02L22.605.257ZM10.843 18.72H4.217l-.15.007a1.46 1.46 0 0 0-.883.422c-.265.265-.43.63-.43 1.033 0 .385.151.737.415 1.001.25.25.606.423 1.036.46h6.638l.15-.007a1.46 1.46 0 0 0 .883-.422 1.458 1.458 0 0 0 0-2.065 1.458 1.458 0 0 0-1.033-.43Zm2.41-7.23H4.217l-.15.008a1.46 1.46 0 0 0-.883.422c-.265.265-.43.63-.43 1.033 0 .385.151.737.415 1.001.25.25.606.423 1.036.46h9.048l.149-.007a1.46 1.46 0 0 0 .884-.421 1.458 1.458 0 0 0 0-2.066 1.458 1.458 0 0 0-1.033-.43Zm3.012-7.228H4.217l-.15.008a1.46 1.46 0 0 0-.883.421c-.265.265-.43.63-.43 1.033 0 .385.151.737.415 1.001.25.25.606.423 1.036.46h12.06l.149-.007a1.46 1.46 0 0 0 .884-.421 1.458 1.458 0 0 0 0-2.066 1.458 1.458 0 0 0-1.033-.43Zm8.167-.409 3.313 2.312-8.42 12.128-2.479.822c-.24.017-.422-.01-.552-.083l-.281-3.066 8.419-12.113Zm1.805-2.563 3.29 1.803a.3.3 0 0 1 .111.159.289.289 0 0 1 0 .173l-.713 1.037-3.31-2.282.622-.89Z",transform:"translate(15.012 17.002)",fill:"url(#stsl_svg__a)",stroke:"url(#stsl_svg__b)",strokeWidth:.514})));var ds="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwMEREQzciIGN4PSIzMCIgY3k9IjMwIiByPSIzMCIvPjxwYXRoIGQ9Ik0yMi42MDUuMjU3Yy4zNDI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jY1LS40My42My0uNDMgMS4wMzMgMCAuMzg1LjE1MS43MzcuNDE1IDEuMDAxLjI1LjI1LjYwNi40MjMgMS4wMzYuNDZoMTIuMDZsLjE0OS0uMDA3YTEuNDYgMS40NiAwIDAgMCAuODg0LS40MjEgMS40NTggMS40NTggMCAwIDAgMC0yLjA2NiAxLjQ1OCAxLjQ1OCAwIDAgMC0xLjAzMy0uNDNabTguMTY3LS40MDkgMy4zMTMgMi4zMTItOC40MiAxMi4xMjgtMi40NzkuODIyYy0uMjQuMDE3LS40MjItLjAxLS41NTItLjA4M2wtLjI4MS0zLjA2NiA4LjQxOS0xMi4xMTNabTEuODA1LTIuNTYzIDMuMjkgMS44MDNhLjMuMyAwIDAgMSAuMTExLjE1OS4yODkuMjg5IDAgMCAxIDAgLjE3M2wtLjcxMyAxLjAzNy0zLjMxLTIuMjgyLjYyMi0uODlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS4wMTIgMTcuMDAyKSIgZmlsbD0idXJsKCNhKSIgc3Ryb2tlPSJ1cmwoI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",pa=Object.defineProperty,ii=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,fs=Object.prototype.propertyIsEnumerable,wa=(g,c,u)=>c in g?pa(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,gs=(g,c)=>{for(var u in c||(c={}))Ea.call(c,u)&&wa(g,u,c[u]);if(ii)for(var u of ii(c))fs.call(c,u)&&wa(g,u,c[u]);return g};const i=g=>React.createElement("svg",gs({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"10"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"xsks_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"xsks_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"m11.501 9.255.438.603 8.076 8.262.414.422-.157.57-2.592 9.46-.207.757h-.79l-15.157.252 6.532-6.532a2.47 2.47 0 0 0 2.916-1.022 2.47 2.47 0 0 0 .35-1.685 2.47 2.47 0 0 0-.831-1.506 2.47 2.47 0 0 0-1.612-.6 2.47 2.47 0 0 0-1.615.594 2.47 2.47 0 0 0-.594 3.01l-4.658 4.657-1.75 1.751.167-15.757.742-.217 9.634-2.815.694-.204ZM17.926.257c1.017 0 1.985.41 2.732 1.152l7.702 7.975a3.834 3.834 0 0 1 1.144 2.626 3.457 3.457 0 0 1-1 2.538l-3.027 2.076c-.455.4-1.09.65-1.923.826-1.41.054-2.393-.348-3.122-1.065L13.41 9.434a3.843 3.843 0 0 1-1.154-2.53c-.05-.913.234-1.784.81-2.455l2.238-3.016c.9-.849 1.742-1.18 2.621-1.176Z",transform:"translate(17.009 15.011)",fill:"url(#xsks_svg__a)",stroke:"url(#xsks_svg__b)",strokeWidth:.514})));var a="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQg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g0MyAzLjg0MyAwIDAgMS0xLjE1NC0yLjUzYy0uMDUtLjkxMy4yMzQtMS43ODQuODEtMi40NTVsMi4yMzgtMy4wMTZjLjktLjg0OSAxLjc0Mi0xLjE4IDIuNjIxLTEuMTc2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTcuMDA5IDE1LjAxMSkiIGZpbGw9InVybCgjYSkiIHN0cm9rZT0idXJsKCNiKSIgc3Ryb2tlLXdpZHRoPSIuNTE0Ii8+PC9nPjwvc3ZnPg==",s=Object.defineProperty,h=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,E=(g,c,u)=>c in g?s(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,L=(g,c)=>{for(var u in c||(c={}))A.call(c,u)&&E(g,u,c[u]);if(h)for(var u of h(c))M.call(c,u)&&E(g,u,c[u]);return g};const S=g=>React.createElement("svg",L({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"2"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"ljxxrs_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"ljxxrs_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M16 .257A6.711 6.711 0 0 1 22.743 7c0 1.987-.881 3.775-2.259 5.01-.151.135-.309.265-.471.387.195.015.399.035.613.06 2.97.344 3.845 1.165 4.645 2.681l.083.16 4.008-.935c.652-.212 1.413-.104 2.065.313a2.193 2.193 0 0 1 1.162 1.38l.035.151.119 8.705c0 .571-.218 1.115-.581 1.556-.33.4-.78.716-1.295.891l-.197.06-14.29 3.317L2.338 27.42a2.897 2.897 0 0 1-1.499-.952 2.486 2.486 0 0 1-.573-1.367l-.008-.189v-8.04c0-.731.299-1.384.788-1.854a2.787 2.787 0 0 1 1.944-.76c.167 0 .336-.006.504.048l.126.052 3.049.712c.727-1.208 1.774-2.125 4.783-2.551.21-.03.41-.055.602-.075a6.897 6.897 0 0 1-.469-.374C10.168 10.835 9.257 9.02 9.257 7A6.711 6.711 0 0 1 16 .257Zm-.922 13.424c-5.069.079-6.276.892-6.83 1.758l8.254 1.927 7.155-1.757-.039-.072c-.618-1.14-1.316-1.794-6.722-1.855a6.694 6.694 0 0 1-1.818 0Z",transform:"translate(14 15)",fill:"url(#ljxxrs_svg__a)",stroke:"url(#ljxxrs_svg__b)",strokeWidth:.514})));var R="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZm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I3IDcuMTU1LTEuNzU3LS4wMzktLjA3MmMtLjYxOC0xLjE0LTEuMzE2LTEuNzk0LTYuNzIyLTEuODU1YTYuNjk0IDYuNjk0IDAgMCAxLTEuODE4IDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNCAxNSkiIGZpbGw9InVybCgjYSkiIHN0cm9rZT0idXJsKCNiKSIgc3Ryb2tlLXdpZHRoPSIuNTE0Ii8+PC9nPjwvc3ZnPg==",J=Object.defineProperty,F=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,U=(g,c,u)=>c in g?J(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,x=(g,c)=>{for(var u in c||(c={}))k.call(c,u)&&U(g,u,c[u]);if(F)for(var u of F(c))H.call(c,u)&&U(g,u,c[u]);return g};const Z=g=>React.createElement("svg",x({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"\u6559\u5E08\u6570"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"jss_svg__a"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"jss_svg__b"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fillOpacity:.2,fill:"#00DDC7",width:60,height:60,rx:30}),React.createElement("path",{d:"M13.406.871c2.06 0 3.93.85 5.286 2.223a7.599 7.599 0 0 1 2.197 5.353 7.593 7.593 0 0 1-4.057 6.72c.191.051.38.107.57.167 4.04 1.29 7.257 4.498 8.567 8.622l4.943-12.05a.678.678 0 0 1 .877-.39l-4.9 14.627c-.212 1.028-.393 1.6-.764 2.024-.306.349-.74.554-1.19.594l-22.84.007a1.846 1.846 0 0 1-1.36-.61 1.797 1.797 0 0 1-.47-1.415 13.35 13.35 0 0 1 2.868-7.086 13.206 13.206 0 0 1 6.847-4.491 7.57 7.57 0 0 1-4.057-6.719c0-2.09.838-3.985 2.194-5.358A7.411 7.411 0 0 1 13.406.871ZM31.62 6.137c.188 0 .357.073.479.194.121.121.194.29.194.479l-7.24.673a.673.673 0 0 1-.48-.195.671.671 0 0 1-.195-.478Zm.781-5.88c.189 0 .358.073.48.195.121.121.194.29.194.478l-9.214.673a.672.672 0 0 1-.478-.194.672.672 0 0 1-.195-.479Z",transform:"translate(13.335 15.234)",fill:"url(#jss_svg__a)",stroke:"url(#jss_svg__b)",strokeWidth:.514})));var X="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsLW9wYWNpdHk9Ii4yIiBmaWxsPSIjMDBEREM3IiB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ZmlsbD0idXJsKCNhKSIgc3Ryb2tlPSJ1cmwoI2IpIiBzdHJva2Utd2lkdGg9Ii41MTQiLz48L2c+PC9zdmc+",Me=Object.defineProperty,ue=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Ie=(g,c,u)=>c in g?Me(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,ce=(g,c)=>{for(var u in c||(c={}))ye.call(c,u)&&Ie(g,u,c[u]);if(ue)for(var u of ue(c))Le.call(c,u)&&Ie(g,u,c[u]);return g};const ht=g=>React.createElement("svg",ce({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"xss_svg__b"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"xss_svg__a"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M31.098 32.678c.05-.024 6.863-3.133 11.18-2.895-.03 1.012-.043 3.064.02 5.225.647.25.94.325 1.139.463.182.128.27.31.27.514v2.053a.73.73 0 0 1-.731.73c-.305 1.476-.163 2.509.055 3.125a49.513 49.513 0 0 0-3.174.443l-.607.106-.906.17-.597.118c-3.288.667-6.11 1.547-6.838 2.013h-2.177l-.346-.118-.228-.076a76.522 76.522 0 0 0-4.921-1.442l-.588-.147c-1.781-.436-3.7-.82-5.391-.967.191-.62.337-1.684.436-2.948-.84-.277-1.065-.335-1.222-.491a.73.73 0 0 1-.215-.516v-2.053a.734.734 0 0 1 .733-.727h.877c.048-2.25.01-4.409-.072-5.436C22.55 29.57 28.5 32.643 28.5 32.643Zm-1.166-17.42c1.875-.03 3.759.642 5.127 2.026 1.556 1.575 2.212 3.465 1.975 5.427-.239 1.977-1.377 4.02-3.38 5.893.356.638.715.815 1.035.95-1.444.742-3.37 1.682-3.708 1.847l-2.29.026c-.306-.187-1.646-.97-3.765-1.664.552-.208 1.06-.408 1.49-.698-1.993-2.244-3.162-4.245-3.434-6.198-.27-1.932.346-3.81 1.862-5.423 1.341-1.427 3.212-2.157 5.088-2.186Z",stroke:"url(#xss_svg__a)",strokeWidth:.514,fill:"url(#xss_svg__b)"})));var He="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwMEREQzciIGN4PSIzMCIgY3k9IjMwIiByPSIzMCIvPjxwYXRoIGQ9Ik0z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QwOCAxLjQ5LS42OTgtMS45OTMtMi4yNDQtMy4xNjItNC4yNDUtMy40MzQtNi4xOTgtLjI3LTEuOTMyLjM0Ni0zLjgxIDEuODYyLTUuNDIzIDEuMzQxLTEuNDI3IDMuMjEyLTIuMTU3IDUuMDg4LTIuMTg2WiIgc3Ryb2tlPSJ1cmwoI2EpIiBzdHJva2Utd2lkdGg9Ii41MTQiIGZpbGw9InVybCgjYikiLz48L2c+PC9zdmc+",At=Object.defineProperty,wt=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,an=(g,c,u)=>c in g?At(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Ot=(g,c)=>{for(var u in c||(c={}))kt.call(c,u)&&an(g,u,c[u]);if(wt)for(var u of wt(c))Vt.call(c,u)&&an(g,u,c[u]);return g};const yt=g=>React.createElement("svg",Ot({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"7"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"jrxxrs_svg__b"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"jrxxrs_svg__a"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M42.273 16.257c.682 0 1.299.28 1.746.73.402.407.667.953.716 1.56l.008.205v21.996a2.5 2.5 0 0 1-.724 1.765 2.452 2.452 0 0 1-1.544.722l-.202.008H17.727a2.45 2.45 0 0 1-1.746-.73 2.498 2.498 0 0 1-.716-1.56l-.008-.205V18.752a2.5 2.5 0 0 1 .724-1.765 2.452 2.452 0 0 1 1.544-.722l.202-.008h24.546ZM37.5 24.68c-.415 0-.83.16-1.147.479l-4.309 4.344-2.944-2.97-.123-.112a1.608 1.608 0 0 0-2.17.113l-5.454 5.5-.112.124a1.635 1.635 0 0 0-.363 1.03c0 .418.158.836.474 1.154a1.608 1.608 0 0 0 2.293.001l4.309-4.344 2.944 2.969.123.112a1.608 1.608 0 0 0 2.17-.112l5.454-5.5.111-.124c.242-.3.364-.665.364-1.03 0-.418-.158-.836-.474-1.154a1.608 1.608 0 0 0-1.146-.48Z",stroke:"url(#jrxxrs_svg__a)",strokeWidth:.514,fill:"url(#jrxxrs_svg__b)"})));var It="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwMEREQzciIGN4PSIzMCIgY3k9IjMwIiByPSIzMCI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Rn=(g,c,u)=>c in g?Tt(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Cn=(g,c)=>{for(var u in c||(c={}))xt.call(c,u)&&Rn(g,u,c[u]);if(Ht)for(var u of Ht(c))$t.call(c,u)&&Rn(g,u,c[u]);return g};const tr=g=>React.createElement("svg",Cn({width:60,height:60,xmlns:"http://www.w3.org/2000/svg"},g),React.createElement("title",null,"8"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"99.269%",id:"zxrs_svg__b"},React.createElement("stop",{stopColor:"#90FBED",offset:"0%"}),React.createElement("stop",{stopColor:"#33F0AE",offset:"100%"})),React.createElement("linearGradient",{x1:"106.39%",y1:"43.61%",x2:"-6.39%",y2:"43.61%",id:"zxrs_svg__a"},React.createElement("stop",{stopColor:"#D0FDEF",offset:"0%"}),React.createElement("stop",{stopColor:"#A4FEDA",offset:"100%"}))),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fillOpacity:.2,fill:"#00DDC7",cx:30,cy:30,r:30}),React.createElement("path",{d:"M38.501 32.984c1.623.002 3.091.66 4.154 1.724a5.868 5.868 0 0 1 0 8.31 5.866 5.866 0 0 1-8.31.001 5.868 5.868 0 0 1 0-8.312 5.866 5.866 0 0 1 4.156-1.723ZM37.4 36.562c-.457-.011-.892.144-1.18.408l-2.382 2.159-.1.102a.997.997 0 0 0-.259.8c.04.303.226.6.57.81.31.19.694.27 1.064.244.376-.028.736-.167.993-.4l1.177-1.067 1.058 1.088.106.098c.265.216.639.352 1.079.362.442 0 .854-.15 1.133-.398l2.5-2.238.1-.1a.999.999 0 0 0 .265-.8c-.038-.302-.222-.602-.563-.814a1.808 1.808 0 0 0-1.062-.247 1.673 1.673 0 0 0-.996.395l-1.29 1.155-1.065-1.094-.107-.099a1.709 1.709 0 0 0-1.04-.364Zm-8.73-21.305a7.502 7.502 0 0 1 4.251 1.349 7.78 7.78 0 0 1 2.768 3.513c.58 1.46.709 3.028.422 4.51a7.908 7.908 0 0 1-2.067 3.996c1.15.812 2.15 1.344 3.07 2.001a8.504 8.504 0 0 0-5.262 2.631 9.006 9.006 0 0 0-2.453 6.199 9.053 9.053 0 0 0 .86 3.866c-.52.038-1.048.057-1.586.057-3.224 0-6.213-.742-8.46-1.806-1.23-.583-2.238-1.262-2.933-1.968-.644-.654-1.022-1.328-1.022-1.97 0-1.85.683-3.574 1.86-5.034 1.23-1.525 2.996-2.761 5.093-3.555-.991-1.54-1.695-2.944-1.981-4.432a8.062 8.062 0 0 1 .435-4.529 7.775 7.775 0 0 1 2.798-3.512 7.408 7.408 0 0 1 4.208-1.316Z",stroke:"url(#zxrs_svg__a)",strokeWidth:.514,fill:"url(#zxrs_svg__b)"})));var mn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9Ijk5LjI2OSUiIGlkPSJiIj48c3RvcCBzdG9wLWNvbG9yPSIjOTBGQkVEIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzRjBBRSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjEwNi4zOSUiIHkxPSI0My42MSUiIHgyPSItNi4zOSUiIHkyPSI0My42MSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRDBGREVGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0E0RkVEQSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGwtb3BhY2l0eT0iLjIiIGZpbGw9IiMwM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wIDAgMC01LjI2MiAyLjYzMSA5LjAwNiA5LjAwNiAwIDAgMC0yLjQ1MyA2LjE5OSA5LjA1MyA5LjA1MyAwIDAgMCAuODYgMy44NjZjLS41Mi4wMzgtMS4wNDguMDU3LTEuNTg2LjA1Ny0zLjIyNCAwLTYuMjEzLS43NDItOC40Ni0xLjgwNi0xLjIzLS41ODMtMi4yMzgtMS4yNjItMi45MzMtMS45NjgtLjY0NC0uNjU0LTEuMDIyLTEuMzI4LTEuMDIyLTEuOTcgMC0xLjg1LjY4My0zLjU3NCAxLjg2LTUuMDM0IDEuMjMtMS41MjUgMi45OTYtMi43NjEgNS4wOTMtMy41NTUtLjk5MS0xLjU0LTEuNjk1LTIuOTQ0LTEuOTgxLTQuNDMyYTguMDYyIDguMDYyIDAgMCAxIC40MzUtNC41MjkgNy43NzUgNy43NzUgMCAwIDEgMi43OTgtMy41MTIgNy40MDggNy40MDggMCAwIDEgNC4yMDgtMS4zMTZaIiBzdHJva2U9InVybCgjYSkiIHN0cm9rZS13aWR0aD0iLjUxNCIgZmlsbD0idXJsKCNiKSIvPjwvZz48L3N2Zz4=",Un=Object.defineProperty,en=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,nr=(g,c,u)=>c in g?Un(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Wn=(g,c)=>{for(var u in c||(c={}))bn.call(c,u)&&nr(g,u,c[u]);if(en)for(var u of en(c))Gn.call(c,u)&&nr(g,u,c[u]);return g};const Er=g=>React.createElement("svg",Wn({width:18,height:22,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},g),React.createElement("title",null,"\u706B\u{1F525}"),React.createElement("defs",null,React.createElement("path",{d:"M2.96 6.843c-.381 2.078.064 3.002 1.335 2.771 1.272-.23 2.003-1.472 2.194-3.724.699-3.523 2.48-5.486 5.34-5.89-1.717 2.165-1.335 3.205 3.433 6.583C19.744 10.567 19.267 20.614 9.731 22c-6.26-.173-8.834-3.118-9.597-6.843-.509-2.482.433-5.254 2.826-8.314Z",id:"fire_svg__a"}),React.createElement("path",{d:"M.309 9.268c-1.144 4.908.89 7.477 6.103 7.708 3.815 0 5.089-3.031 5.436-5.023.347-1.992.477-4.158-2.194-7.103.89 3.523.573 5.457-.953 5.804-1.717.057-2.289-.895-1.717-2.859.859-2.945 1.717-4.244 1.24-5.89C7.843.925 7.334.29 6.698 0c-.063 1.444-.477 2.57-1.24 3.378-1.144 1.213-3.814 3.724-1.907 7.535.191 1.386-.572 1.646-1.24 1.473C1.168 11.982.5 10.942.31 9.268Z",id:"fire_svg__c"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",null,React.createElement("mask",{id:"fire_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#fire_svg__a"})),React.createElement("use",{fill:"#00DDC7",xlinkHref:"#fire_svg__a"}),React.createElement("path",{d:"M2.96 8.142C-1.108 16.11.703 20.73 8.396 22c7.247-.289 10.235-4.417 8.964-12.386-.381-1.443-1.59-2.83-3.624-4.157C11.702 4.129 11.066 2.31 11.83 0c-1.78.462-2.988 2.136-3.624 5.024C6.87 10.22 5.122 11.26 2.96 8.142Z",fill:"#01A89A",mask:"url(#fire_svg__b)"}),React.createElement("path",{d:"M11.924 0c-1.208.75-1.939 2.425-2.193 5.024.763 2.338.763 1.299-.763 10.913-.636 2.598-.795 4.62-.477 6.063 4.514 0 7.566-2.021 9.155-6.063 1.335-5.89-.954-7.709-2.289-9.354C12.115 3.58 10.971 1.386 11.924 0Z",fill:"#037F74",mask:"url(#fire_svg__b)"}),React.createElement("path",{d:"M11.291 7.535c.636 1.56.636 3.811 0 6.756-.127 1.04.668 1.242 2.384.607l-1.049-5.024c3.751 2.483 5.086 5.688 4.005 9.614 1.145 4.273-1.398 5.313-7.629 3.118L8.621 11.26l2.67-3.725Z",fill:"#02423C",mask:"url(#fire_svg__b)"})),React.createElement("g",{transform:"translate(2.937 5.024)"},React.createElement("mask",{id:"fire_svg__d",fill:"#fff"},React.createElement("use",{xlinkHref:"#fire_svg__c"})),React.createElement("use",{fill:"#2FEBD8",xlinkHref:"#fire_svg__c"}),React.createElement("path",{d:"M7.366.433s.797 1.819-.668 3.724c-1.464 1.906-1.526 3.898-1.24 4.331.287.433-1.048-.693-.667-2.512s-1.24 2.772 0 4.937c.318 1.097-.095 1.935-1.24 2.512C1.835 13.598.818 12.56.5 10.307c-.191.606-1.526 4.504 3.051 6.15 3.37.75 5.69.144 6.962-1.82 1.144-2.02 1.494-4.157 1.049-6.409-.954-1.847-1.59-2.973-1.908-3.378.954 3.87.445 5.804-1.525 5.804-2.48-.434-.763-3.638-.382-4.937C9.69 1.646 7.366.433 7.366.433Z",fill:"#01A89A",mask:"url(#fire_svg__d)"}),React.createElement("path",{d:"M9.654 4.85c.954 2.08 1.272 3.985.954 5.717-.318 1.732-1.558 2.916-3.72 3.551 1.59-.058 2.83-.433 3.72-1.126 1.335-1.04-1.716 2.165-3.433 2.772a12.526 12.526 0 0 1-3.624.693c.55.288 1.503.462 2.861.52 2.037.086 5.66-1.213 5.436-5.024.913-2.945.182-5.313-2.194-7.103Z",fill:"#037F74",mask:"url(#fire_svg__d)"}))));var wr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0yLjk2IDYuODQzYy0uMzgxIDIuMDc4LjA2NCAzLjAwMiAxLjMzNSAyLjc3MSAxLjI3Mi0uMjMgMi4wMDMtMS40NzIgMi4xOTQtMy43MjQuNjk5LTMuNTIzIDIuNDgtNS40ODYgNS4zNC01Ljg5LTEuNzE3IDIuMTY1LTEuMzM1IDMuMjA1IDMuNDMzIDYuNTgzQzE5Ljc0NCAxMC41NjcgMT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kzN2MuMzE4IDEuMDk3LS4wOTUgMS45MzUtMS4yNCAyLjUxMkMxLjgzNSAxMy41OTguODE4IDEyLjU2LjUgMTAuMzA3Yy0uMTkxLjYwNi0xLjUyNiA0LjUwNCAzLjA1MSA2LjE1IDMuMzcuNzUgNS42OS4xNDQgNi45NjItMS44MiAxLjE0NC0yLjAyIDEuNDk0LTQuMTU3IDEuMDQ5LTYuNDA5LS45NTQtMS44NDctMS41OS0yLjk3My0xLjkwOC0zLjM3OC45NTQgMy44Ny40NDUgNS44MDQtMS41MjUgNS44MDQtMi40OC0uNDM0LS43NjMtMy42MzgtLjM4Mi00LjkzN0M5LjY5IDEuNjQ2IDcuMzY2LjQzMyA3LjM2Ni40MzNaIiBmaWxsPSIjMDFBODlBIiBtYXNrPSJ1cmwoI2QpIi8+PHBhdGggZD0iTTkuNjU0IDQuODVjLjk1NCAyLjA4IDEuMjcyIDMuOTg1Ljk1NCA1LjcxNy0uMzE4IDEuNzMyLTEuNTU4IDIuOTE2LTMuNzIgMy41NTEgMS41OS0uMDU4IDIuODMtLjQzMyAzLjcyLTEuMTI2IDEuMzM1LTEuMDQtMS43MTYgMi4xNjUtMy40MzMgMi43NzJhMTIuNTI2IDEyLjUyNiAwIDAgMS0zLjYyNC42OTNjLjU1LjI4OCAxLjUwMy40NjIgMi44NjEuNTIgMi4wMzcuMDg2IDUuNjYtMS4yMTMgNS40MzYtNS4wMjQuOTEzLTIuOTQ1LjE4Mi01LjMxMy0yLjE5NC03LjEwM1oiIGZpbGw9IiMwMzdGNzQiIG1hc2s9InVybCgjZCkiLz48L2c+PC9nPjwvc3ZnPg==",vt=v(38819),xn=v(60979),un=(g,c,u)=>new Promise((st,ot)=>{var Lt=Ue=>{try{St(u.next(Ue))}catch(pt){ot(pt)}},Nt=Ue=>{try{St(u.throw(Ue))}catch(pt){ot(pt)}},St=Ue=>Ue.done?st(Ue.value):Promise.resolve(Ue.value).then(Lt,Nt);St((u=u.apply(g,c)).next())});const Qn=g=>un(void 0,null,function*(){return(0,Xe.ZP)("/api/home/statistic.json",{method:"Get",params:g})}),rr=({user:g,dispatch:c,homePage:u,forumsList:st,globalSetting:ot})=>{var Lt,Nt,St,Ue,pt,Bt,cn,An,Ln,vn,dn,Mn,Ke,Ct,Nn,Xt,Dn,or,bt,Yn,Xn,Kn,br,Mr,Br,ur,ke,De,it,Kt,kn,Pr,xr,Gr,jr,fn;const[Je,,Dr,pn]=(0,ie.U)(We.Yu,{type:"view"}),[,,Wr,Mt]=(0,ie.U)(Qn,{}),[,Fr,Zr,cr]=(0,ie.U)(xe.V8,{page:1,limit:5,order:"created_at"}),[dr,fr]=(0,n.useState)({total_count:0,shixuns:[]});(0,n.useEffect)(()=>{const Pe=Y()();Pe&&Dr({start_at:Pe.subtract(7,"day").format("YYYY-MM-DD"),end_at:Pe.format("YYYY-MM-DD")}),Te(),Zr({page:1,limit:5,order:"created_at"}),Jn()},[]);const qr=(0,n.useMemo)(()=>({tooltip:{trigger:"axis"},legend:{right:"1%",bottom:"1%",itemGap:40,textStyle:{color:"#fff"}},grid:{top:"3%",left:"3%",right:"4%",bottom:"15%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:(pn==null?void 0:pn.time)||[],nameTextStyle:{color:"#B6BFC2"},axisTick:{show:!1},splitLine:{show:!1},axisLine:{lineStyle:{color:"#037F74"}},axisLabel:{color:"#B6BFC2"}},yAxis:{type:"value",nameTextStyle:{color:"#B6BFC2"},axisTick:{show:!1},splitLine:{lineStyle:{type:"dashed",color:"#037F74"}},axisLine:{show:!1},axisLabel:{color:"#B6BFC2"}},series:[{name:"\u672C\u6708",type:"line",data:(pn==null?void 0:pn.current_month)||[],itemStyle:{color:"#15EAA4"},smooth:!0,areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#15EAA4"},{offset:1,color:"rgba(255, 255, 255,0)"}])}},{name:"\u4E0A\u6708",type:"line",data:(pn==null?void 0:pn.last_month)||[],itemStyle:{color:"#73A0FF"},smooth:!0,areaStyle:{color:new Oe.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#73A0FF"},{offset:1,color:"rgba(255, 255, 255,0)"}])}}]}),[pn]),ve=(0,n.useMemo)(()=>{var Pe,Ut;const gr=(Ut=(Pe=Mt==null?void 0:Mt.data)==null?void 0:Pe.homework_number_statistic)==null?void 0:Ut.charts,_r=gr==null?void 0:gr.map(Vr=>Vr==null?void 0:Vr.count);return{tooltip:{trigger:"axis",axisPointer:{type:"none"}},yAxis:{type:"value",show:!1,splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},xAxis:{type:"category",data:gr==null?void 0:gr.map(Vr=>Vr==null?void 0:Vr.weekday),splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,color:"#B6BFC2"},axisLine:{lineStyle:{color:"#037F74"}}},grid:{top:"15%",left:"1%",right:"1%",bottom:"1%",containLabel:!0},series:[{type:"bar",barWidth:"40%",data:_r,label:{show:!0,position:"top",color:"#B6BFC2"},itemStyle:{color:"rgba(0,221,199,0.4)",borderRadius:2},emphasis:{itemStyle:{color:"#63E7C5"}}}]}},[(Nt=(Lt=Mt==null?void 0:Mt.data)==null?void 0:Lt.homework_number_statistic)==null?void 0:Nt.charts]),Te=()=>un(void 0,null,function*(){const Pe=yield Wr({});(Pe==null?void 0:Pe.status)==0&&setTimeout(()=>{Te()},5*60*1e3)}),Jn=()=>un(void 0,null,function*(){const Pe=yield(0,xn.he)({sort:"desc",page:1,limit:5,order:"new"});Pe.status||fr(Pe)});return n.createElement("div",{className:Yt.homeCon},n.createElement("div",{className:"flex",style:{height:"30vh"}},n.createElement("div",{className:Yt.mainLogo},n.createElement("img",{src:v(37703),style:{width:"100%",height:"100%"}})),n.createElement("div",{className:Yt.exptStats},n.createElement("div",{className:Yt.titleName},"\u5B9E\u9A8C\u7EDF\u8BA1"),[{name:"\u8BC4\u6D4B\u603B\u6B21\u6570",img:Xa,count:(Ue=(St=Mt==null?void 0:Mt.data)==null?void 0:St.shixun_evaluate_statistic)==null?void 0:Ue.evaluate_count},{name:"\u7D2F\u8BA1\u901A\u8FC7\u6B21\u6570",img:Ei,count:(Bt=(pt=Mt==null?void 0:Mt.data)==null?void 0:pt.shixun_evaluate_statistic)==null?void 0:Bt.pass_count},{name:"\u5E73\u5747\u901A\u8FC7\u7387",img:wi,count:((An=(cn=Mt==null?void 0:Mt.data)==null?void 0:cn.shixun_evaluate_statistic)==null?void 0:An.avg_pass_rate)*100}].map((Pe,Ut)=>{var gr;return n.createElement("div",{className:Yt.exptStatsItem,key:Pe==null?void 0:Pe.name},n.createElement("div",{className:"flex item-center"},n.createElement("img",{src:Pe==null?void 0:Pe.img}),n.createElement("div",{className:Yt.esItemName},Pe==null?void 0:Pe.name)),n.createElement("div",{style:{color:"#00DDC7",fontSize:"2.1vh"}},parseFloat((gr=Pe==null?void 0:Pe.count)==null?void 0:gr.toFixed(2)),Ut==2&&"%"))}))),n.createElement("div",{className:Yt.platSituStats},n.createElement("div",{className:Yt.titleName},"\u5E73\u53F0\u60C5\u51B5\u7EDF\u8BA1"),n.createElement("div",{style:{display:"flex",flexWrap:"wrap",gap:"11%"}},[{name:"\u5B9E\u8DF5\u8BFE\u7A0B",img:ts,count:(vn=(Ln=Mt==null?void 0:Mt.data)==null?void 0:Ln.number_statistics)==null?void 0:vn.subject_count,type:"\u95E8"},{name:"\u5B9E\u8DF5\u4EFB\u52A1",img:ma,count:(Mn=(dn=Mt==null?void 0:Mt.data)==null?void 0:dn.number_statistics)==null?void 0:Mn.shixun_count,type:"\u4E2A"},{name:"\u5B9E\u9A8C\u73AF\u5883",img:ls,count:(Ct=(Ke=Mt==null?void 0:Mt.data)==null?void 0:Ke.number_statistics)==null?void 0:Ct.repository_count,type:"\u79CD"},{name:"\u8BD5\u9898\u6570\u91CF",img:ds,count:(Xt=(Nn=Mt==null?void 0:Mt.data)==null?void 0:Nn.number_statistics)==null?void 0:Xt.question_count,type:"\u9053"},{name:"\u7EBF\u4E0A\u8003\u8BD5",img:a,count:(or=(Dn=Mt==null?void 0:Mt.data)==null?void 0:Dn.number_statistics)==null?void 0:or.exercise_count,type:"\u95E8"},{name:"\u7D2F\u8BA1\u5B66\u4E60\u4EBA\u6570",img:R,count:(Yn=(bt=Mt==null?void 0:Mt.data)==null?void 0:bt.number_statistics)==null?void 0:Yn.all_user_count,type:"\u4EBA"},{name:"\u6559\u5E08\u6570",img:X,count:(Kn=(Xn=Mt==null?void 0:Mt.data)==null?void 0:Xn.number_statistics)==null?void 0:Kn.teacher_count,type:"\u4EBA"},{name:"\u5B66\u751F\u6570",img:He,count:(Mr=(br=Mt==null?void 0:Mt.data)==null?void 0:br.number_statistics)==null?void 0:Mr.student_count,type:"\u4EBA"},{name:"\u4ECA\u65E5\u5B66\u4E60\u4EBA\u6570",img:It,count:(ur=(Br=Mt==null?void 0:Mt.data)==null?void 0:Br.number_statistics)==null?void 0:ur.weekly_active_user_count,type:"\u4EBA"},{name:"\u5728\u7EBF\u4EBA\u6570",img:mn,count:(De=(ke=Mt==null?void 0:Mt.data)==null?void 0:ke.number_statistics)==null?void 0:De.user_online_count,type:"\u4EBA"}].map((Pe,Ut)=>n.createElement("div",{className:Yt.pSSItem,key:Ut,style:{marginBottom:Ut<5&&"4vh"}},n.createElement("img",{src:Pe==null?void 0:Pe.img}),n.createElement("div",{className:Yt.pSSItemInfo},n.createElement("div",null,n.createElement("span",{style:{color:"#fff",fontSize:"1.9vh",fontWeight:"500"}},Pe==null?void 0:Pe.count),n.createElement("span",{style:{color:"#B6BFC2",fontSize:"1.6vh",marginLeft:"1vh"}},Pe==null?void 0:Pe.type)),n.createElement("div",{style:{marginTop:"1vh"}},Pe==null?void 0:Pe.name)))))),n.createElement("div",{className:"flex",style:{gap:"1vh"}},n.createElement("div",{className:Yt.new_jxkt},n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:"flex"},n.createElement("img",{src:wr,style:{width:"1.8vh",height:"2.2vh",marginRight:4}}),n.createElement("div",{style:{color:"#fff",fontSize:"1.7vh",fontWeight:"bold"}},"\u6700\u65B0\u4F7F\u7528\u7684\u6559\u5B66\u8BFE\u5802"),n.createElement("div",{style:{color:"#B6BFC2",marginLeft:"2vh"}},"\u5171",n.createElement("span",{style:{color:"#00DDC7"}},cr==null?void 0:cr.courses_count),"\u4E2A\u8BFE\u5802")),n.createElement("div",{className:Yt.watchMore,onClick:()=>{le.history.push("/classrooms")}},"\u67E5\u770B\u66F4\u591A ",n.createElement(vt.Z,null))),n.createElement("div",null,((it=cr==null?void 0:cr.courses)==null?void 0:it.length)>0?(Kt=cr==null?void 0:cr.courses)==null?void 0:Kt.map((Pe,Ut)=>n.createElement("div",{key:Ut,className:Yt.kt_sx_item},n.createElement("div",{className:Yt.kt_sx_item_user},Pe==null?void 0:Pe.creator),n.createElement("div",{className:Yt.kt_sx_item_name},Pe==null?void 0:Pe.name),n.createElement("div",{className:Yt.kt_sx_item_time},Y()(Pe==null?void 0:Pe.created_at).format("YYYY-MM-DD HH:mm")))):n.createElement(D.Z,{styles:{margin:"5vh"},imgStyles:{width:"12vh",height:"10vh"}}))),n.createElement("div",{className:Yt.new_syxm},n.createElement("div",{className:"flex item-center justify-between"},n.createElement("div",{className:"flex"},n.createElement("img",{src:wr,style:{width:"1.8vh",height:"2.2vh",marginRight:4}}),n.createElement("div",{style:{color:"#fff",fontSize:"1.7vh",fontWeight:"bold"}},"\u6700\u65B0\u4F7F\u7528\u7684\u5B9E\u9A8C\u9879\u76EE"),n.createElement("div",{style:{color:"#B6BFC2",marginLeft:"2vh"}},"\u5171",n.createElement("span",{style:{color:"#00DDC7"}},dr==null?void 0:dr.total_count),"\u4E2A\u5B9E\u9A8C\u9879\u76EE")),n.createElement("div",{className:Yt.watchMore,onClick:()=>{le.history.push("/shixuns")}},"\u67E5\u770B\u66F4\u591A ",n.createElement(vt.Z,null))),n.createElement("div",null,((kn=dr==null?void 0:dr.shixuns)==null?void 0:kn.length)>0?(Pr=dr==null?void 0:dr.shixuns)==null?void 0:Pr.map((Pe,Ut)=>n.createElement("div",{key:Ut,className:Yt.kt_sx_item},n.createElement("div",{className:Yt.kt_sx_item_user},Pe==null?void 0:Pe.author_name),n.createElement("div",{className:Yt.kt_sx_item_name},Pe==null?void 0:Pe.name),n.createElement("div",{className:Yt.kt_sx_item_time},Y()(Pe==null?void 0:Pe.created_at).format("YYYY-MM-DD HH:mm")))):n.createElement(D.Z,{styles:{margin:"5vh"},imgStyles:{width:"12vh",height:"10vh"}})))),n.createElement("div",{className:"flex",style:{gap:"1vh"}},n.createElement("div",{className:Yt.fwsj_zyfb},n.createElement("div",{className:Yt.titleName,style:{display:"flex",justifyContent:"space-between"}},"\u5E73\u53F0\u8BBF\u95EE\u6570\u636E",n.createElement(_.default.RangePicker,{allowClear:!1,value:[Y()(Je==null?void 0:Je.start_at),Y()(Je==null?void 0:Je.end_at)],onChange:(Pe,Ut)=>{Dr({start_at:Ut==null?void 0:Ut[0],end_at:Ut==null?void 0:Ut[1]})}})),n.createElement(fe.Z,{style:{height:"31vh"},option:qr})),n.createElement("div",{className:Yt.fwsj_zyfb},n.createElement("div",{className:Yt.titleName},"\u5E73\u53F0\u4F5C\u4E1A\u53D1\u5E03"),n.createElement("div",{className:Yt.zyfb_info},n.createElement("div",{className:Yt.zyfb_info_l_r},n.createElement("div",{className:Yt.info_title},"\u4ECA\u65E5\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:Yt.info_count},((Gr=(xr=Mt==null?void 0:Mt.data)==null?void 0:xr.homework_number_statistic)==null?void 0:Gr.today_homework_count)||0)),n.createElement("div",{className:Yt.zyfb_info_l_r},n.createElement("div",{className:Yt.info_title},"\u8FD17\u5929\u4F5C\u4E1A\u53D1\u5E03\u6570"),n.createElement("div",{className:Yt.info_count},((fn=(jr=Mt==null?void 0:Mt.data)==null?void 0:jr.homework_number_statistic)==null?void 0:fn.recently_homework_count)||0))),n.createElement(fe.Z,{style:{height:"23vh"},option:ve}))))};var hn=(0,le.connect)(({loading:g,forumsList:c,user:u,homePage:st,globalSetting:ot})=>({user:u,loading:g.models.index,homePage:st,forumsList:c,globalSetting:ot}))(rr),Vn=v(40277);const zr=({globalSetting:g})=>{var c;const u=(0,n.useMemo)(()=>{var st;switch(Number((st=g==null?void 0:g.setting)==null?void 0:st.theme)){case vi.Fy.THEMEONE:return n.createElement(pe,null);case vi.Fy.THEMETWO:return n.createElement(ta,null);case vi.Fy.THEMETHREE:return n.createElement(Vn.Z,{mainDom:n.createElement(hn,null)});case vi.Fy.DEFAULT:default:return n.createElement(be,null)}},[(c=g==null?void 0:g.setting)==null?void 0:c.theme]);return n.createElement(Fe.ZP,{locale:B.Z},!g.isIlearning&&g.isPaZhou?n.createElement(Wa,null):u,g.isIlearning&&n.createElement(Nr,null))};var Sr=(0,le.connect)(({loading:g,globalSetting:c,user:u})=>({loading:g,globalSetting:c,user:u}))(zr)},84056:function($,gt,v){"use strict";v.d(gt,{BU:function(){return Fe},Dj:function(){return n},gH:function(){return B},vp:function(){return le}});function n(ne){try{ne.mozRequestFullScreen?ne.mozRequestFullScreen():ne.webkitRequestFullScreen&&ne.webkitRequestFullScreen()}catch(w){console.log(w,":e")}}function Fe(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const B=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function le(){var ne=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,w=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",ne),window.isFullScreen?window.isFullScreen:ne!=null}},61527:function($,gt,v){"use strict";v.d(gt,{U:function(){return W}});var n=v(59301),Fe=Object.defineProperty,B=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,w=(be,Ge,Ye)=>Ge in be?Fe(be,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):be[Ge]=Ye,ze=(be,Ge)=>{for(var Ye in Ge||(Ge={}))le.call(Ge,Ye)&&w(be,Ye,Ge[Ye]);if(B)for(var Ye of B(Ge))ne.call(Ge,Ye)&&w(be,Ye,Ge[Ye]);return be},Be=(be,Ge,Ye)=>new Promise((Re,Qe)=>{var qe=re=>{try{me(Ye.next(re))}catch(Q){Qe(Q)}},Ce=re=>{try{me(Ye.throw(re))}catch(Q){Qe(Q)}},me=re=>re.done?Re(re.value):Promise.resolve(re.value).then(qe,Ce);me((Ye=Ye.apply(be,Ge)).next())});function W(be,Ge){const[Ye,Re]=(0,n.useState)(Ge),[Qe,qe]=(0,n.useState)(!1),[Ce,me]=(0,n.useState)();return[Ye,Qe,(Q,P=!1)=>Be(this,null,function*(){const T=P?Ge:ze(ze({},Ye),Q);qe(!0),Re(T);const O=yield be(T);return qe(!1),me(O),O}),Ce]}},73217:function($,gt,v){"use strict";v.d(gt,{Z:function(){return $e}});class n{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let r=1;r ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","error",r),ne.ENABLE_ERROR&&(console.error?console.error(r):console.warn?console.warn(r):console.log(r))}static i(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","info",r),ne.ENABLE_INFO&&(console.info?console.info(r):console.log(r))}static w(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","warn",r),ne.ENABLE_WARN&&(console.warn?console.warn(r):console.log(r))}static d(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","debug",r),ne.ENABLE_DEBUG&&(console.debug?console.debug(r):console.log(r))}static v(e,t){(!e||ne.FORCE_GLOBAL_TAG)&&(e=ne.GLOBAL_TAG);let r=`[${e}] > ${t}`;ne.ENABLE_CALLBACK&&ne.emitter.emit("log","verbose",r),ne.ENABLE_VERBOSE&&console.log(r)}}ne.GLOBAL_TAG="flv.js",ne.FORCE_GLOBAL_TAG=!1,ne.ENABLE_ERROR=!0,ne.ENABLE_INFO=!0,ne.ENABLE_WARN=!0,ne.ENABLE_DEBUG=!0,ne.ENABLE_VERBOSE=!0,ne.ENABLE_CALLBACK=!1,ne.emitter=new(le());var w=ne;class ze{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var Be=ze;class W{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class be extends W{constructor(e){super(e)}get name(){return"IllegalStateException"}}class Ge extends W{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class Ye extends W{constructor(e){super(e)}get name(){return"NotImplementedException"}}const Re={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},Qe={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class qe{constructor(e){this._type=e||"undefined",this._status=Re.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=Re.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===Re.kConnecting||this._status===Re.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new Ye("Unimplemented abstract function!")}abort(){throw new Ye("Unimplemented abstract function!")}}let Ce={};function me(){let j=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(j)||/(opr)[\/]([\w.]+)/.exec(j)||/(chrome)[ \/]([\w.]+)/.exec(j)||/(iemobile)[\/]([\w.]+)/.exec(j)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(j)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(j)||/(webkit)[ \/]([\w.]+)/.exec(j)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(j)||/(msie) ([\w.]+)/.exec(j)||j.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(j)||j.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(j)||[],t=/(ipad)/.exec(j)||/(ipod)/.exec(j)||/(windows phone)/.exec(j)||/(iphone)/.exec(j)||/(kindle)/.exec(j)||/(android)/.exec(j)||/(windows)/.exec(j)||/(mac)/.exec(j)||/(linux)/.exec(j)||/(cros)/.exec(j)||[],r={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},o={};if(r.browser){o[r.browser]=!0;let d=r.majorVersion.split(".");o.version={major:parseInt(r.majorVersion,10),string:r.version},d.length>1&&(o.version.minor=parseInt(d[1],10)),d.length>2&&(o.version.build=parseInt(d[2],10))}if(r.platform&&(o[r.platform]=!0),(o.chrome||o.opr||o.safari)&&(o.webkit=!0),o.rv||o.iemobile){o.rv&&delete o.rv;let d="msie";r.browser=d,o[d]=!0}if(o.edge){delete o.edge;let d="msedge";r.browser=d,o[d]=!0}if(o.opr){let d="opera";r.browser=d,o[d]=!0}if(o.safari&&o.android){let d="android";r.browser=d,o[d]=!0}o.name=r.browser,o.platform=r.platform;for(let d in Ce)Ce.hasOwnProperty(d)&&delete Ce[d];Object.assign(Ce,o)}me();var re=Ce;class Q extends qe{static isSupported(){try{let e=re.msedge&&re.version.minor>=15048,t=re.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let r=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(r=e.redirectedURL);let o=this._seekHandler.getConfig(r,t),d=new self.Headers;if(typeof o.headers=="object"){let I=o.headers;for(let ge in I)I.hasOwnProperty(ge)&&d.append(ge,I[ge])}let p={method:"GET",headers:d,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let I in this._config.headers)d.append(I,this._config.headers[I]);e.cors===!1&&(p.mode="same-origin"),e.withCredentials&&(p.credentials="include"),e.referrerPolicy&&(p.referrerPolicy=e.referrerPolicy),this._status=Re.kConnecting,self.fetch(o.url,p).then(I=>{if(this._requestAbort){this._requestAbort=!1,this._status=Re.kIdle;return}if(I.ok&&I.status>=200&&I.status<=299){if(I.url!==o.url&&this._onURLRedirect){let ee=this._seekHandler.removeURLParameters(I.url);this._onURLRedirect(ee)}let ge=I.headers.get("Content-Length");return ge!=null&&(this._contentLength=parseInt(ge),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,I.body.getReader())}else if(this._status=Re.kError,this._onError)this._onError(Qe.HTTP_STATUS_CODE_INVALID,{code:I.status,msg:I.statusText});else throw new W("FetchStreamLoader: Http code invalid, "+I.status+" "+I.statusText)}).catch(I=>{if(this._status=Re.kError,this._onError)this._onError(Qe.EXCEPTION,{code:-1,msg:I.message});else throw I})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&re.msedge)return;this._status=Re.kError;let r=0,o=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=Re.kError,this._onError)this._onError(Qe.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new W("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=Re.kBuffering}}_onProgress(e){if(this._status===Re.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,r=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===Re.kError)return;this._status=Re.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=Re.kError;let t=0,r=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let o=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&o!==this._currentRedirectedURL&&(this._currentRedirectedURL=o,this._onURLRedirect&&this._onURLRedirect(o))}let r=t.getResponseHeader("Content-Length");if(r!=null&&this._contentLength==null){let o=parseInt(r);o>0&&(this._contentLength=o,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let r=t.response;this._reader.readAsArrayBuffer(r)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,r={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,r);else throw new RuntimeException(r.msg)}_msrOnProgress(e){let r=e.target.result;if(r==null){this._doReconnectIfNeeded();return}let o=r.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=r.byteLength;let d=this._totalRange.from+this._receivedLength;this._receivedLength+=o.byteLength,this._onDataArrival&&this._onDataArrival(o,d,this._receivedLength),r.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${d+o.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(r=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:r},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let r=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?r=this._currentRedirectedURL:e.redirectedURL!=null&&(r=e.redirectedURL));let o=this._seekHandler.getConfig(r,t);this._currentRequestURL=o.url;let d=this._xhr=new XMLHttpRequest;if(d.open("GET",o.url,!0),d.responseType="arraybuffer",d.onreadystatechange=this._onReadyStateChange.bind(this),d.onprogress=this._onProgress.bind(this),d.onload=this._onLoad.bind(this),d.onerror=this._onXhrError.bind(this),e.withCredentials&&(d.withCredentials=!0),typeof o.headers=="object"){let p=o.headers;for(let I in p)p.hasOwnProperty(I)&&d.setRequestHeader(I,p[I])}if(typeof this._config.headers=="object"){let p=this._config.headers;for(let I in p)p.hasOwnProperty(I)&&d.setRequestHeader(I,p[I])}d.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=Re.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let r=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&r!==this._currentRedirectedURL&&(this._currentRedirectedURL=r,this._onURLRedirect&&this._onURLRedirect(r))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=Re.kBuffering}else if(this._status=Re.kError,this._onError)this._onError(Qe.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new W("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===Re.kError)return;if(this._contentLength===null){let r=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,r=!0;let o=e.total;this._internalAbort(),o!=null&o!==0&&(this._totalLength=o)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,r){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,r=t.length-1,o=0,d=0,p=r;if(e=t[o]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let p=this._normalizeSpeed(t);this._currentSpeedNormalized!==p&&(this._currentSpeedNormalized=p,this._currentChunkSizeKB=p)}let r=e.target.response,o=this._range.from+this._receivedLength;this._receivedLength+=r.byteLength;let d=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=Re.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(Qe.EXCEPTION,t);else throw new W(t.msg)}}_dispatchArrayBuffer(e){let t=e,r=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength)}_onWebSocketError(e){this._status=Re.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(Qe.EXCEPTION,t);else throw new W(t.msg)}}var Bn=sn;class zn{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let r={};if(t.from!==0||t.to!==-1){let o;t.to!==-1?o=`bytes=${t.from.toString()}-${t.to.toString()}`:o=`bytes=${t.from.toString()}-`,r.Range=o}else this._zeroStart&&(r.Range="bytes=0-");return{url:e,headers:r}}removeURLParameters(e){return e}}var qn=zn;class de{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let r=e;if(t.from!==0||t.to!==-1){let o=!0;r.indexOf("?")===-1&&(r+="?",o=!1),o&&(r+="&"),r+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(r+=`&${this._endName}=${t.to.toString()}`)}return{url:r,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],r,o=e.indexOf("?");o!==-1&&(r=e.substring(o+1));let d="";if(r!=null&&r.length>0){let p=r.split("&");for(let I=0;I0;ge[0]!==this._startName&&ge[0]!==this._endName&&(ee&&(d+="&"),d+=p[I])}}return d.length===0?t:t+"?"+d}}var lt=de;class K{constructor(e,t,r){this.TAG="IOController",this._config=t,this._extraData=r,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new Be,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===ct?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new qn(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",r=e.seekParamEnd||"bend";this._seekHandler=new lt(t,r)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new Ge("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new Ge(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Bn;else if(P.isSupported())this._loaderClass=P;else if(O.isSupported())this._loaderClass=O;else if(ct.isSupported())this._loaderClass=ct;else throw new W("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let r={from:e,to:-1};this._currentRange={from:r.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,r),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new Ge("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let o=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(r,0,t).set(o,0)}this._stashBuffer=r,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,r=t.length-1,o=0,d=0,p=r;if(e=t[o]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let r=t*1024+1024*1024*1;this._bufferSize0){let p=this._stashBuffer.slice(0,this._stashUsed),I=this._dispatchChunks(p,this._stashByteStart);if(I0){let ge=new Uint8Array(p,I);d.set(ge,0),this._stashUsed=ge.byteLength,this._stashByteStart+=I}}else this._stashUsed=0,this._stashByteStart+=I;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),d=new Uint8Array(this._stashBuffer,0,this._bufferSize)),d.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let p=this._dispatchChunks(e,t);if(pthis._bufferSize&&(this._expandBuffer(I),d=new Uint8Array(this._stashBuffer,0,this._bufferSize)),d.set(new Uint8Array(e,p),0),this._stashUsed+=I,this._stashByteStart=t+p}}}else if(this._stashUsed===0){let d=this._dispatchChunks(e,t);if(dthis._bufferSize&&this._expandBuffer(p),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,d),0),this._stashUsed+=p,this._stashByteStart=t+d}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let d=new Uint8Array(this._stashBuffer,0,this._bufferSize);d.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let p=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(p0){let I=new Uint8Array(this._stashBuffer,p);d.set(I,0)}this._stashUsed-=p,this._stashByteStart+=p}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),r=this._dispatchChunks(t,this._stashByteStart),o=t.byteLength-r;if(r0){let d=new Uint8Array(this._stashBuffer,0,this._bufferSize),p=new Uint8Array(t,r);d.set(p,0),this._stashUsed=p.byteLength,this._stashByteStart+=r}return 0}return this._stashUsed=0,this._stashByteStart=0,o}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(w.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=Qe.UNRECOVERABLE_EARLY_EOF),e){case Qe.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let r=this._currentRange.to+1;r0){let t=Dt.getConfig();e.emit("change",t)}}static registerListener(e){Dt.emitter.addListener("change",e)}static removeListener(e){Dt.emitter.removeListener("change",e)}static addLogListener(e){w.emitter.addListener("log",e),w.emitter.listenerCount("log")>0&&(w.ENABLE_CALLBACK=!0,Dt._notifyChange())}static removeLogListener(e){w.emitter.removeListener("log",e),w.emitter.listenerCount("log")===0&&(w.ENABLE_CALLBACK=!1,Dt._notifyChange())}}Dt.emitter=new(le());var at=Dt;class er{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,r=this._search(t.times,e);return{index:r,milliseconds:t.times[r],fileposition:t.filepositions[r]}}_search(e,t){let r=0,o=e.length-1,d=0,p=0,I=o;for(t=e[d]&&t=128){e.push(String.fromCharCode(d&65535)),r+=2;continue}}}else if(t[r]<240){if(On(t,r,2)){let d=(t[r]&15)<<12|(t[r+1]&63)<<6|t[r+2]&63;if(d>=2048&&(d&63488)!==55296){e.push(String.fromCharCode(d&65535)),r+=3;continue}}}else if(t[r]<248&&On(t,r,3)){let d=(t[r]&7)<<18|(t[r+1]&63)<<12|(t[r+2]&63)<<6|t[r+3]&63;if(d>65536&&d<1114112){d-=65536,e.push(String.fromCharCode(d>>>10|55296)),e.push(String.fromCharCode(d&1023|56320)),r+=4;continue}}}e.push("\uFFFD"),++r}return e.join("")}var Ir=yr;let Se=function(){let j=new ArrayBuffer(2);return new DataView(j).setInt16(0,256,!0),new Int16Array(j)[0]===256}();class ft{static parseScriptData(e,t,r){let o={};try{let d=ft.parseValue(e,t,r),p=ft.parseValue(e,t+d.size,r-d.size);o[d.data]=p.data}catch(d){w.e("AMF",d.toString())}return o}static parseObject(e,t,r){if(r<3)throw new be("Data not enough when parse ScriptDataObject");let o=ft.parseString(e,t,r),d=ft.parseValue(e,t+o.size,r-o.size),p=d.objectEnd;return{data:{name:o.data,value:d.data},size:o.size+d.size,objectEnd:p}}static parseVariable(e,t,r){return ft.parseObject(e,t,r)}static parseString(e,t,r){if(r<2)throw new be("Data not enough when parse String");let d=new DataView(e,t,r).getUint16(0,!Se),p;return d>0?p=Ir(new Uint8Array(e,t+2,d)):p="",{data:p,size:2+d}}static parseLongString(e,t,r){if(r<4)throw new be("Data not enough when parse LongString");let d=new DataView(e,t,r).getUint32(0,!Se),p;return d>0?p=Ir(new Uint8Array(e,t+4,d)):p="",{data:p,size:4+d}}static parseDate(e,t,r){if(r<10)throw new be("Data size invalid when parse Date");let o=new DataView(e,t,r),d=o.getFloat64(0,!Se),p=o.getInt16(8,!Se);return d+=p*60*1e3,{data:new Date(d),size:10}}static parseValue(e,t,r){if(r<1)throw new be("Data not enough when parse Value");let o=new DataView(e,t,r),d=1,p=o.getUint8(0),I,ge=!1;try{switch(p){case 0:I=o.getFloat64(1,!Se),d+=8;break;case 1:{I=!!o.getUint8(1),d+=1;break}case 2:{let ee=ft.parseString(e,t+1,r-1);I=ee.data,d+=ee.size;break}case 3:{I={};let ee=0;for((o.getUint32(r-4,!Se)&16777215)===9&&(ee=3);d32)throw new Ge("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let p=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,p}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let r=e-this._current_word_bits_left;this._fillCurrentWord();let o=Math.min(r,this._current_word_bits_left),d=this._current_word>>>32-o;return this._current_word<<=o,this._current_word_bits_left-=o,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Ar=Fn;class ln{static _ebsp2rbsp(e){let t=e,r=t.byteLength,o=new Uint8Array(r),d=0;for(let p=0;p=2&&t[p]===3&&t[p-1]===0&&t[p-2]===0||(o[d]=t[p],d++);return new Uint8Array(o.buffer,0,d)}static parseSPS(e){let t=ln._ebsp2rbsp(e),r=new Ar(t);r.readByte();let o=r.readByte();r.readByte();let d=r.readByte();r.readUEG();let p=ln.getProfileString(o),I=ln.getLevelString(d),ge=1,ee=420,je=[0,420,422,444],dt=8;if((o===100||o===110||o===122||o===244||o===44||o===83||o===86||o===118||o===128||o===138||o===144)&&(ge=r.readUEG(),ge===3&&r.readBits(1),ge<=3&&(ee=je[ge]),dt=r.readUEG()+8,r.readUEG(),r.readBits(1),r.readBool())){let Hn=ge!==3?8:12;for(let lr=0;lr0&&Hn<16?(qt=lr[Hn-1],et=Tr[Hn-1]):Hn===255&&(qt=r.readByte()<<8|r.readByte(),et=r.readByte()<<8|r.readByte())}if(r.readBool()&&r.readBool(),r.readBool()&&(r.readBits(4),r.readBool()&&r.readBits(24)),r.readBool()&&(r.readUEG(),r.readUEG()),r.readBool()){let Hn=r.readBits(32),lr=r.readBits(32);wn=r.readBool(),Pn=lr,_t=Hn*2,rn=Pn/_t}}let $r=1;(qt!==1||et!==1)&&($r=qt/et);let hr=0,kr=0;if(ge===0)hr=1,kr=2-oe;else{let Hn=ge===3?1:2,lr=ge===1?2:1;hr=Hn,kr=lr*(2-oe)}let Ur=(tt+1)*16,Kr=(2-oe)*((ae+1)*16);Ur-=(Ee+nt)*hr,Kr-=(rt+Wt)*kr;let Jr=Math.ceil(Ur*$r);return r.destroy(),r=null,{profile_string:p,level_string:I,bit_depth:dt,ref_frames:te,chroma_format:ee,chroma_format_string:ln.getChromaFormatString(ee),frame_rate:{fixed:wn,fps:rn,fps_den:_t,fps_num:Pn},sar_ratio:{width:qt,height:et},codec_size:{width:Ur,height:Kr},present_size:{width:Jr,height:Kr}}}static _skipScalingList(e,t){let r=8,o=8,d=0;for(let p=0;p>>8&255|(j&255)<<8}function ar(j){return(j&4278190080)>>>24|(j&16711680)>>>8|(j&65280)<<8|(j&255)<<24}function G(j,e){return j[e]<<24|j[e+1]<<16|j[e+2]<<8|j[e+3]}class q{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new nn,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let r=new ArrayBuffer(2);return new DataView(r).setInt16(0,256,!0),new Int16Array(r)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),r={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return r;let o=(t[4]&4)>>>2!==0,d=(t[4]&1)!==0,p=G(t,5);return p<9?r:{match:!0,consumed:p,dataOffset:p,hasAudioTrack:o,hasVideoTrack:d}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new nn}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new be("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let r=0,o=this._littleEndian;if(t===0)if(e.byteLength>13)r=q.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+r!==this._dataOffset&&w.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,r).getUint32(0,!o)!==0&&w.w(this.TAG,"PrevTagSize0 !== 0 !!!"),r+=4);re.byteLength)break;let p=d.getUint8(0),I=d.getUint32(0,!o)&16777215;if(r+11+I+4>e.byteLength)break;if(p!==8&&p!==9&&p!==18){w.w(this.TAG,`Unsupported tag type ${p}, skipped`),r+=11+I+4;continue}let ge=d.getUint8(4),ee=d.getUint8(5),je=d.getUint8(6),dt=d.getUint8(7),pe=je|ee<<8|ge<<16|dt<<24;(d.getUint32(7,!o)&16777215)!==0&&w.w(this.TAG,"Meet tag which has StreamID != 0!");let tt=r+11;switch(p){case 8:this._parseAudioData(e,tt,I,pe);break;case 9:this._parseVideoData(e,tt,I,pe,t+r);break;case 18:this._parseScriptData(e,tt,I);break}let ae=d.getUint32(11+I,!o);ae!==11+I&&w.w(this.TAG,`Invalid PrevTagSize ${ae}`),r+=11+I+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),r}_parseScriptData(e,t,r){let o=_e.parseScriptData(e,t,r);if(o.hasOwnProperty("onMetaData")){if(o.onMetaData==null||typeof o.onMetaData!="object"){w.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&w.w(this.TAG,"Found another onMetaData tag!"),this._metadata=o;let d=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},d)),typeof d.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=d.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof d.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=d.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof d.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=d.audiodatarate),typeof d.videodatarate=="number"&&(this._mediaInfo.videoDataRate=d.videodatarate),typeof d.width=="number"&&(this._mediaInfo.width=d.width),typeof d.height=="number"&&(this._mediaInfo.height=d.height),typeof d.duration=="number"){if(!this._durationOverrided){let p=Math.floor(d.duration*this._timescale);this._duration=p,this._mediaInfo.duration=p}}else this._mediaInfo.duration=0;if(typeof d.framerate=="number"){let p=Math.floor(d.framerate*1e3);if(p>0){let I=p/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=I,this._referenceFrameRate.fps_num=p,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=I}}if(typeof d.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let p=d.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(p),d.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=d,w.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(o).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},o))}_parseKeyframesIndex(e){let t=[],r=[];for(let o=1;o>>4;if(ge!==2&&ge!==10){this._onError(Qt.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+ge);return}let ee=0,je=(I&12)>>>2;if(je>=0&&je<=4)ee=this._flvSoundRateTable[je];else{this._onError(Qt.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+je);return}let dt=(I&2)>>>1,pe=I&1,te=this._audioMetadata,tt=this._audioTrack;if(te||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),te=this._audioMetadata={},te.type="audio",te.id=tt.id,te.timescale=this._timescale,te.duration=this._duration,te.audioSampleRate=ee,te.channelCount=pe===0?1:2),ge===10){let ae=this._parseAACAudioData(e,t+1,r-1);if(ae==null)return;if(ae.packetType===0){te.config&&w.w(this.TAG,"Found another AudioSpecificConfig!");let oe=ae.data;te.audioSampleRate=oe.samplingRate,te.channelCount=oe.channelCount,te.codec=oe.codec,te.originalCodec=oe.originalCodec,te.config=oe.config,te.refSampleDuration=1024/te.audioSampleRate*te.timescale,w.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",te);let Ee=this._mediaInfo;Ee.audioCodec=te.originalCodec,Ee.audioSampleRate=te.audioSampleRate,Ee.audioChannelCount=te.channelCount,Ee.hasVideo?Ee.videoCodec!=null&&(Ee.mimeType='video/x-flv; codecs="'+Ee.videoCodec+","+Ee.audioCodec+'"'):Ee.mimeType='video/x-flv; codecs="'+Ee.audioCodec+'"',Ee.isComplete()&&this._onMediaInfo(Ee)}else if(ae.packetType===1){let oe=this._timestampBase+o,Ee={unit:ae.data,length:ae.data.byteLength,dts:oe,pts:oe};tt.samples.push(Ee),tt.length+=ae.data.length}else w.e(this.TAG,`Flv: Unsupported AAC data type ${ae.packetType}`)}else if(ge===2){if(!te.codec){let nt=this._parseMP3AudioData(e,t+1,r-1,!0);if(nt==null)return;te.audioSampleRate=nt.samplingRate,te.channelCount=nt.channelCount,te.codec=nt.codec,te.originalCodec=nt.originalCodec,te.refSampleDuration=1152/te.audioSampleRate*te.timescale,w.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",te);let rt=this._mediaInfo;rt.audioCodec=te.codec,rt.audioSampleRate=te.audioSampleRate,rt.audioChannelCount=te.channelCount,rt.audioDataRate=nt.bitRate,rt.hasVideo?rt.videoCodec!=null&&(rt.mimeType='video/x-flv; codecs="'+rt.videoCodec+","+rt.audioCodec+'"'):rt.mimeType='video/x-flv; codecs="'+rt.audioCodec+'"',rt.isComplete()&&this._onMediaInfo(rt)}let ae=this._parseMP3AudioData(e,t+1,r-1,!1);if(ae==null)return;let oe=this._timestampBase+o,Ee={unit:ae,length:ae.byteLength,dts:oe,pts:oe};tt.samples.push(Ee),tt.length+=ae.length}}_parseAACAudioData(e,t,r){if(r<=1){w.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let o={},d=new Uint8Array(e,t,r);return o.packetType=d[0],d[0]===0?o.data=this._parseAACAudioSpecificConfig(e,t+1,r-1):o.data=d.subarray(1),o}_parseAACAudioSpecificConfig(e,t,r){let o=new Uint8Array(e,t,r),d=null,p=0,I=0,ge=null,ee=0,je=null;if(p=I=o[0]>>>3,ee=(o[0]&7)<<1|o[1]>>>7,ee<0||ee>=this._mpegSamplingRates.length){this._onError(Qt.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let dt=this._mpegSamplingRates[ee],pe=(o[1]&120)>>>3;if(pe<0||pe>=8){this._onError(Qt.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}p===5&&(je=(o[1]&7)<<1|o[2]>>>7,ge=(o[2]&124)>>>2);let te=self.navigator.userAgent.toLowerCase();return te.indexOf("firefox")!==-1?ee>=6?(p=5,d=new Array(4),je=ee-3):(p=2,d=new Array(2),je=ee):te.indexOf("android")!==-1?(p=2,d=new Array(2),je=ee):(p=5,je=ee,d=new Array(4),ee>=6?je=ee-3:pe===1&&(p=2,d=new Array(2),je=ee)),d[0]=p<<3,d[0]|=(ee&15)>>>1,d[1]=(ee&15)<<7,d[1]|=(pe&15)<<3,p===5&&(d[1]|=(je&15)>>>1,d[2]=(je&1)<<7,d[2]|=8,d[3]=0),{config:d,samplingRate:dt,channelCount:pe,codec:"mp4a.40."+p,originalCodec:"mp4a.40."+I}}_parseMP3AudioData(e,t,r,o){if(r<4){w.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let d=this._littleEndian,p=new Uint8Array(e,t,r),I=null;if(o){if(p[0]!==255)return;let ge=p[1]>>>3&3,ee=(p[1]&6)>>1,je=(p[2]&240)>>>4,dt=(p[2]&12)>>>2,te=(p[3]>>>6&3)!==3?2:1,tt=0,ae=0,oe=34,Ee="mp3";switch(ge){case 0:tt=this._mpegAudioV25SampleRateTable[dt];break;case 2:tt=this._mpegAudioV20SampleRateTable[dt];break;case 3:tt=this._mpegAudioV10SampleRateTable[dt];break}switch(ee){case 1:oe=34,je>>4,ge=p&15;if(ge!==7){this._onError(Qt.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${ge}`);return}this._parseAVCVideoPacket(e,t+1,r-1,o,d,I)}_parseAVCVideoPacket(e,t,r,o,d,p){if(r<4){w.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let I=this._littleEndian,ge=new DataView(e,t,r),ee=ge.getUint8(0),dt=(ge.getUint32(0,!I)&16777215)<<8>>8;if(ee===0)this._parseAVCDecoderConfigurationRecord(e,t+4,r-4);else if(ee===1)this._parseAVCVideoData(e,t+4,r-4,o,d,p,dt);else if(ee!==2){this._onError(Qt.FORMAT_ERROR,`Flv: Invalid video packet type ${ee}`);return}}_parseAVCDecoderConfigurationRecord(e,t,r){if(r<7){w.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let o=this._videoMetadata,d=this._videoTrack,p=this._littleEndian,I=new DataView(e,t,r);o?typeof o.avcc!="undefined"&&w.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),o=this._videoMetadata={},o.type="video",o.id=d.id,o.timescale=this._timescale,o.duration=this._duration);let ge=I.getUint8(0),ee=I.getUint8(1),je=I.getUint8(2),dt=I.getUint8(3);if(ge!==1||ee===0){this._onError(Qt.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(I.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Qt.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let pe=I.getUint8(5)&31;if(pe===0){this._onError(Qt.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else pe>1&&w.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${pe}`);let te=6;for(let ae=0;ae1&&w.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${tt}`);te++;for(let ae=0;ae=r){w.w(this.TAG,`Malformed Nalu near timestamp ${tt}, offset = ${pe}, dataSize = ${r}`);break}let oe=ee.getUint32(pe,!ge);if(te===3&&(oe>>>=8),oe>r-te){w.w(this.TAG,`Malformed Nalus near timestamp ${tt}, NaluSize > DataSize!`);return}let Ee=ee.getUint8(pe+te)&31;Ee===5&&(ae=!0);let nt=new Uint8Array(e,t+pe,te+oe),rt={type:Ee,data:nt};je.push(rt),dt+=nt.byteLength,pe+=te+oe}if(je.length){let oe=this._videoTrack,Ee={units:je,length:dt,isKeyframe:ae,dts:tt,cts:I,pts:tt+I};ae&&(Ee.fileposition=d),oe.samples.push(Ee),oe.length+=dt}}}var se=q;class b{static init(){b.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in b.types)b.types.hasOwnProperty(t)&&(b.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=b.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,r=null,o=Array.prototype.slice.call(arguments,1),d=o.length;for(let I=0;I>>24&255,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r.set(e,4);let p=8;for(let I=0;I>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return b.box(b.types.trak,b.tkhd(e),b.mdia(e))}static tkhd(e){let t=e.id,r=e.duration,o=e.presentWidth,d=e.presentHeight;return b.box(b.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,o>>>8&255,o&255,0,0,d>>>8&255,d&255,0,0]))}static mdia(e){return b.box(b.types.mdia,b.mdhd(e),b.hdlr(e),b.minf(e))}static mdhd(e){let t=e.timescale,r=e.duration;return b.box(b.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,r>>>24&255,r>>>16&255,r>>>8&255,r&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=b.constants.HDLR_AUDIO:t=b.constants.HDLR_VIDEO,b.box(b.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=b.box(b.types.smhd,b.constants.SMHD):t=b.box(b.types.vmhd,b.constants.VMHD),b.box(b.types.minf,t,b.dinf(),b.stbl(e))}static dinf(){return b.box(b.types.dinf,b.box(b.types.dref,b.constants.DREF))}static stbl(e){return b.box(b.types.stbl,b.stsd(e),b.box(b.types.stts,b.constants.STTS),b.box(b.types.stsc,b.constants.STSC),b.box(b.types.stsz,b.constants.STSZ),b.box(b.types.stco,b.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?b.box(b.types.stsd,b.constants.STSD_PREFIX,b.mp3(e)):b.box(b.types.stsd,b.constants.STSD_PREFIX,b.mp4a(e)):b.box(b.types.stsd,b.constants.STSD_PREFIX,b.avc1(e))}static mp3(e){let t=e.channelCount,r=e.audioSampleRate,o=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,r>>>8&255,r&255,0,0]);return b.box(b.types[".mp3"],o)}static mp4a(e){let t=e.channelCount,r=e.audioSampleRate,o=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,r>>>8&255,r&255,0,0]);return b.box(b.types.mp4a,o,b.esds(e))}static esds(e){let t=e.config||[],r=t.length,o=new Uint8Array([0,0,0,0,3,23+r,0,1,0,4,15+r,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([r]).concat(t).concat([6,1,2]));return b.box(b.types.esds,o)}static avc1(e){let t=e.avcc,r=e.codecWidth,o=e.codecHeight,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,r>>>8&255,r&255,o>>>8&255,o&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return b.box(b.types.avc1,d,b.box(b.types.avcC,t))}static mvex(e){return b.box(b.types.mvex,b.trex(e))}static trex(e){let t=e.id,r=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return b.box(b.types.trex,r)}static moof(e,t){return b.box(b.types.moof,b.mfhd(e.sequenceNumber),b.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return b.box(b.types.mfhd,t)}static traf(e,t){let r=e.id,o=b.box(b.types.tfhd,new Uint8Array([0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255])),d=b.box(b.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),p=b.sdtp(e),I=b.trun(e,p.byteLength+16+16+8+16+8+8);return b.box(b.types.traf,o,d,I,p)}static sdtp(e){let t=e.samples||[],r=t.length,o=new Uint8Array(4+r);for(let d=0;d>>24&255,o>>>16&255,o>>>8&255,o&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let I=0;I>>24&255,ge>>>16&255,ge>>>8&255,ge&255,ee>>>24&255,ee>>>16&255,ee>>>8&255,ee&255,je.isLeading<<2|je.dependsOn,je.isDependedOn<<6|je.hasRedundancy<<4|je.isNonSync,0,0,dt>>>24&255,dt>>>16&255,dt>>>8&255,dt&255],12+16*I)}return b.box(b.types.trun,p)}static mdat(e){return b.box(b.types.mdat,e)}}b.init();var Ve=b;class Xe{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var Zt=Xe;class In{constructor(e,t,r,o,d){this.dts=e,this.pts=t,this.duration=r,this.originalDts=o,this.isSyncPoint=d,this.fileposition=null}}class Zn{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class Gt{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[d].dts&&et[o].lastSample.originalDts&&e=t[o].lastSample.originalDts&&(o===t.length-1||o0&&(d=this._searchNearestSegmentBefore(r.originalBeginDts)+1),this._lastAppendLocation=d,this._list.splice(d,0,r)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),r=this._list[t].syncPoints;for(;r.length===0&&t>0;)t--,r=this._list[t].syncPoints;return r.length>0?r[r.length-1]:null}}class En{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new vr("audio"),this._videoSegmentInfoList=new vr("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(re.chrome&&(re.version.major<50||re.version.major===50&&re.version.build<2661)),this._fillSilentAfterSeek=re.msedge||re.msie,this._mp3UseMpegAudio=!re.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new be("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let r=null,o="mp4",d=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(o="mpeg",d="",r=new Uint8Array):r=Ve.generateInitSegment(t);else if(e==="video")this._videoMeta=t,r=Ve.generateInitSegment(t);else return;if(!this._onInitSegment)throw new be("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:r.buffer,codec:d,container:`${e}/${o}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,r={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(r.samples.push(e),r.length=e.length);let o={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(o.samples.push(t),o.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(r,!0),this._remuxAudio(o,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let r=e,o=r.samples,d,p=-1,I=-1,ge=-1,ee=this._audioMeta.refSampleDuration,je=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,dt=this._dtsBaseInited&&this._audioNextDts===void 0,pe=!1;if(!o||o.length===0||o.length===1&&!t)return;let te=0,tt=null,ae=0;je?(te=0,ae=r.length):(te=8,ae=8+r.length);let oe=null;if(o.length>1&&(oe=o.pop(),ae-=oe.length),this._audioStashedLastSample!=null){let et=this._audioStashedLastSample;this._audioStashedLastSample=null,o.unshift(et),ae+=et.length}oe!=null&&(this._audioStashedLastSample=oe);let Ee=o[0].dts-this._dtsBase;if(this._audioNextDts)d=Ee-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())d=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(pe=!0);else{let et=this._audioSegmentInfoList.getLastSampleBefore(Ee);if(et!=null){let rn=Ee-(et.originalDts+et.duration);rn<=3&&(rn=0);let wn=et.dts+et.duration+rn;d=Ee-wn}else d=0}if(pe){let et=Ee-d,rn=this._videoSegmentInfoList.getLastSegmentBefore(Ee);if(rn!=null&&rn.beginDts=1?Cr=nt[nt.length-1].duration:Cr=Math.floor(ee);let $r=!1,hr=null;if(Cr>ee*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!re.safari){$r=!0;let kr=Math.abs(Cr-ee),Ur=Math.ceil(kr/ee),Kr=_t+ee;w.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${_t+Cr} ms, expected: ${_t+Math.round(ee)} ms, delta: ${Math.round(kr)} ms, generate: ${Ur} frames`);let Jr=Zt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Jr==null&&(w.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),Jr=wn),hr=[];for(let lr=0;lr0){let ai=hr[hr.length-1];ai.duration=Tr-ai.dts}let ci={dts:Tr,pts:Tr,cts:0,unit:Jr,size:Jr.byteLength,duration:0,originalDts:Pn,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};hr.push(ci),ae+=ci.size,Kr+=ee}let Hn=hr[hr.length-1];Hn.duration=_t+Cr-Hn.dts,Cr=Math.round(ee)}nt.push({dts:_t,pts:_t,cts:0,unit:rn.unit,size:rn.unit.byteLength,duration:Cr,originalDts:Pn,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),$r&&nt.push.apply(nt,hr)}je?tt=new Uint8Array(ae):(tt=new Uint8Array(ae),tt[0]=ae>>>24&255,tt[1]=ae>>>16&255,tt[2]=ae>>>8&255,tt[3]=ae&255,tt.set(Ve.types.mdat,4));for(let et=0;et1&&(te=o.pop(),pe-=te.length),this._videoStashedLastSample!=null){let rt=this._videoStashedLastSample;this._videoStashedLastSample=null,o.unshift(rt),pe+=rt.length}te!=null&&(this._videoStashedLastSample=te);let tt=o[0].dts-this._dtsBase;if(this._videoNextDts)d=tt-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())d=0;else{let rt=this._videoSegmentInfoList.getLastSampleBefore(tt);if(rt!=null){let Wt=tt-(rt.originalDts+rt.duration);Wt<=3&&(Wt=0);let pr=rt.dts+rt.duration+Wt;d=tt-pr}else d=0}let ae=new Zn,oe=[];for(let rt=0;rt=1?Pn=oe[oe.length-1].duration:Pn=Math.floor(this._videoMeta.refSampleDuration),qt){let _t=new In(et,wn,Pn,Wt.dts,!0);_t.fileposition=Wt.fileposition,ae.appendSyncPoint(_t)}oe.push({dts:et,pts:wn,cts:rn,units:Wt.units,size:Wt.length,isKeyframe:qt,duration:Pn,originalDts:pr,flags:{isLeading:0,dependsOn:qt?2:1,isDependedOn:qt?1:0,hasRedundancy:0,isNonSync:qt?0:1}})}dt=new Uint8Array(pe),dt[0]=pe>>>24&255,dt[1]=pe>>>16&255,dt[2]=pe>>>8&255,dt[3]=pe&255,dt.set(Ve.types.mdat,4);for(let rt=0;rt{o.timestampBase=r,r+=o.duration,o.cors=e.cors,o.withCredentials=e.withCredentials,t.referrerPolicy&&(o.referrerPolicy=t.referrerPolicy)}),!isNaN(r)&&this._mediaDataSource.duration!==r&&(this._mediaDataSource.duration=r),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,t){this._currentSegmentIndex=e;let r=this._mediaDataSource.segments[e],o=this._ioctl=new tn(r,this._config,e);o.onError=this._onIOException.bind(this),o.onSeeked=this._onIOSeeked.bind(this),o.onComplete=this._onIOComplete.bind(this),o.onRedirect=this._onIORedirect.bind(this),o.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):o.onDataArrival=this._onInitChunkArrival.bind(this),o.open(t)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){let r=this._mediaInfo.segments[t];if(r==null)this._pendingSeekTime=e;else{let o=r.getNearestKeyframe(e);this._remuxer.seek(o.milliseconds),this._ioctl.seek(o.fileposition),this._pendingResolveSeekPoint=o.milliseconds}}else{let r=this._mediaInfo.segments[t];if(r==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{let o=r.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,o.fileposition),this._pendingResolveSeekPoint=o.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let t=this._mediaDataSource.segments,r=t.length-1;for(let o=0;o0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,o=this._demuxer.parseChunks(e,t);else if((r=se.probe(e)).match){this._demuxer=new se(r,this._config),this._remuxer||(this._remuxer=new on(this._config));let d=this._mediaDataSource;d.duration!=null&&!isNaN(d.duration)&&(this._demuxer.overridedDuration=d.duration),typeof d.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=d.hasAudio),typeof d.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=d.hasVideo),this._demuxer.timestampBase=d.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),o=this._demuxer.parseChunks(e,t)}else r=null,w.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(Ae.DEMUX_ERROR,Qt.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),o=0;return o}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,nn.prototype));let t=Object.assign({},e);Object.setPrototypeOf(t,nn.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=t,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let r=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(r)})}_onMetaDataArrived(e){this._emitter.emit(Ae.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(Ae.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let r=e+1;r0&&r[0].originalDts===o&&(o=r[0].pts),this._emitter.emit(Ae.RECOMMEND_SEEKPOINT,o)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let t=this._mediaInfo.segments[e],r=Object.assign({},t);r.duration=this._mediaInfo.duration,r.segmentCount=this._mediaInfo.segmentCount,delete r.segments,delete r.keyframesIndex,this._emitter.emit(Ae.MEDIA_INFO,r)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Ae.STATISTICS_INFO,e)}}var Nr=Rr,sr=function(j){let e="TransmuxingWorker",t=null,r=ae.bind(this);Fe.install(),j.addEventListener("message",function(oe){switch(oe.data.cmd){case"init":t=new Nr(oe.data.param[0],oe.data.param[1]),t.on(Ae.IO_ERROR,pe.bind(this)),t.on(Ae.DEMUX_ERROR,te.bind(this)),t.on(Ae.INIT_SEGMENT,o.bind(this)),t.on(Ae.MEDIA_SEGMENT,d.bind(this)),t.on(Ae.LOADING_COMPLETE,p.bind(this)),t.on(Ae.RECOVERED_EARLY_EOF,I.bind(this)),t.on(Ae.MEDIA_INFO,ge.bind(this)),t.on(Ae.METADATA_ARRIVED,ee.bind(this)),t.on(Ae.SCRIPTDATA_ARRIVED,je.bind(this)),t.on(Ae.STATISTICS_INFO,dt.bind(this)),t.on(Ae.RECOMMEND_SEEKPOINT,tt.bind(this));break;case"destroy":t&&(t.destroy(),t=null),j.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(oe.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":{let Ee=oe.data.param;at.applyConfig(Ee),Ee.enableCallback===!0?at.addLogListener(r):at.removeLogListener(r);break}}});function o(oe,Ee){let nt={msg:Ae.INIT_SEGMENT,data:{type:oe,data:Ee}};j.postMessage(nt,[Ee.data])}function d(oe,Ee){let nt={msg:Ae.MEDIA_SEGMENT,data:{type:oe,data:Ee}};j.postMessage(nt,[Ee.data])}function p(){let oe={msg:Ae.LOADING_COMPLETE};j.postMessage(oe)}function I(){let oe={msg:Ae.RECOVERED_EARLY_EOF};j.postMessage(oe)}function ge(oe){let Ee={msg:Ae.MEDIA_INFO,data:oe};j.postMessage(Ee)}function ee(oe){let Ee={msg:Ae.METADATA_ARRIVED,data:oe};j.postMessage(Ee)}function je(oe){let Ee={msg:Ae.SCRIPTDATA_ARRIVED,data:oe};j.postMessage(Ee)}function dt(oe){let Ee={msg:Ae.STATISTICS_INFO,data:oe};j.postMessage(Ee)}function pe(oe,Ee){j.postMessage({msg:Ae.IO_ERROR,data:{type:oe,info:Ee}})}function te(oe,Ee){j.postMessage({msg:Ae.DEMUX_ERROR,data:{type:oe,info:Ee}})}function tt(oe){j.postMessage({msg:Ae.RECOMMEND_SEEKPOINT,data:oe})}function ae(oe,Ee){j.postMessage({msg:"logcat_callback",data:{type:oe,logcat:Ee}})}};class mr{constructor(e,t){if(this.TAG="Transmuxer",this._emitter=new(le()),t.enableWorker&&typeof Worker!="undefined")try{let r=v(82059);this._worker=r(sr),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,t]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},at.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:at.getConfig()})}catch(r){w.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Nr(e,t)}else this._controller=new Nr(e,t);if(this._controller){let r=this._controller;r.on(Ae.IO_ERROR,this._onIOError.bind(this)),r.on(Ae.DEMUX_ERROR,this._onDemuxError.bind(this)),r.on(Ae.INIT_SEGMENT,this._onInitSegment.bind(this)),r.on(Ae.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),r.on(Ae.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),r.on(Ae.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),r.on(Ae.MEDIA_INFO,this._onMediaInfo.bind(this)),r.on(Ae.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),r.on(Ae.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),r.on(Ae.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),r.on(Ae.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),at.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(Ae.INIT_SEGMENT,e,t)})}_onMediaSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(Ae.MEDIA_SEGMENT,e,t)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(Ae.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(Ae.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(Ae.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(Ae.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(Ae.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(Ae.STATISTICS_INFO,e)})}_onIOError(e,t){Promise.resolve().then(()=>{this._emitter.emit(Ae.IO_ERROR,e,t)})}_onDemuxError(e,t){Promise.resolve().then(()=>{this._emitter.emit(Ae.DEMUX_ERROR,e,t)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(Ae.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let t=e.data,r=t.data;if(t.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(t.msg){case Ae.INIT_SEGMENT:case Ae.MEDIA_SEGMENT:this._emitter.emit(t.msg,r.type,r.data);break;case Ae.LOADING_COMPLETE:case Ae.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case Ae.MEDIA_INFO:Object.setPrototypeOf(r,nn.prototype),this._emitter.emit(t.msg,r);break;case Ae.METADATA_ARRIVED:case Ae.SCRIPTDATA_ARRIVED:case Ae.STATISTICS_INFO:this._emitter.emit(t.msg,r);break;case Ae.IO_ERROR:case Ae.DEMUX_ERROR:this._emitter.emit(t.msg,r.type,r.info);break;case Ae.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,r);break;case"logcat_callback":w.emitter.emit("log",r.type,r.logcat);break;default:break}}}var Hr=mr,f={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class y{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(le()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Gt}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaSource)throw new be("MediaSource has been attached to an HTMLMediaElement!");let t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let t in this._sourceBuffers){let r=this._pendingSegments[t];r.splice(0,r.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;let o=this._sourceBuffers[t];if(o){if(e.readyState!=="closed"){try{e.removeSourceBuffer(o)}catch(d){w.e(this.TAG,d.message)}o.removeEventListener("error",this.e.onSourceBufferError),o.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[t]=null,this._sourceBuffers[t]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(t){w.e(this.TAG,t.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,t){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let r=e,o=`${r.container}`;r.codec&&r.codec.length>0&&(o+=`;codecs=${r.codec}`);let d=!1;if(w.v(this.TAG,"Received Initialization Segment, mimeType: "+o),this._lastInitSegments[r.type]=r,o!==this._mimeTypes[r.type]){if(this._mimeTypes[r.type])w.v(this.TAG,`Notice: ${r.type} mimeType changed, origin: ${this._mimeTypes[r.type]}, target: ${o}`);else{d=!0;try{let p=this._sourceBuffers[r.type]=this._mediaSource.addSourceBuffer(o);p.addEventListener("error",this.e.onSourceBufferError),p.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(p){w.e(this.TAG,p.message),this._emitter.emit(f.ERROR,{code:p.code,msg:p.message});return}}this._mimeTypes[r.type]=o}t||this._pendingSegments[r.type].push(r),d||this._sourceBuffers[r.type]&&!this._sourceBuffers[r.type].updating&&this._doAppendSegments(),re.safari&&r.container==="audio/mpeg"&&r.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=r.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let r=this._sourceBuffers[t.type];r&&!r.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let t in this._sourceBuffers){if(!this._sourceBuffers[t])continue;let r=this._sourceBuffers[t];if(this._mediaSource.readyState==="open")try{r.abort()}catch(d){w.e(this.TAG,d.message)}this._idrList.clear();let o=this._pendingSegments[t];if(o.splice(0,o.length),this._mediaSource.readyState!=="closed"){for(let d=0;d=1&&e-o.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let t in this._sourceBuffers){let r=this._sourceBuffers[t];if(r){let o=r.buffered,d=!1;for(let p=0;p=this._config.autoCleanupMaxBackwardDuration){d=!0;let ee=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:I,end:ee})}}else ge0&&(isNaN(t)||r>t)&&(w.v(this.TAG,`Update MediaSource duration from ${t} to ${r}`),this._mediaSource.duration=r),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let t=this._sourceBuffers[e],r=this._pendingRemoveRanges[e];for(;r.length&&!t.updating;){let o=r.shift();t.remove(o.start,o.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let t in e)if(!(!this._sourceBuffers[t]||this._sourceBuffers[t].updating)&&e[t].length>0){let r=e[t].shift();if(r.timestampOffset){let o=this._sourceBuffers[t].timestampOffset,d=r.timestampOffset/1e3;Math.abs(o-d)>.1&&(w.v(this.TAG,`Update MPEG audio timestampOffset from ${o} to ${d}`),this._sourceBuffers[t].timestampOffset=d),delete r.timestampOffset}if(!r.data||r.data.byteLength===0)continue;try{this._sourceBuffers[t].appendBuffer(r.data),this._isBufferFull=!1,t==="video"&&r.hasOwnProperty("info")&&this._idrList.appendArray(r.info.syncPoints)}catch(o){this._pendingSegments[t].unshift(r),o.code===22?(this._isBufferFull||this._emitter.emit(f.BUFFER_FULL),this._isBufferFull=!0):(w.e(this.TAG,o.message),this._emitter.emit(f.ERROR,{code:o.code,msg:o.message}))}}}_onSourceOpen(){if(w.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(f.SOURCE_OPEN)}_onSourceEnded(){w.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){w.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(f.UPDATE_END)}_onSourceBufferError(e){w.e(this.TAG,`SourceBuffer Error: ${e}`)}}var V=y;const l={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},N={NETWORK_EXCEPTION:Qe.EXCEPTION,NETWORK_STATUS_CODE_INVALID:Qe.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:Qe.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:Qe.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:Qt.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Qt.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Qt.CODEC_UNSUPPORTED};class D{constructor(e,t){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(le()),this._config=$n(),typeof t=="object"&&Object.assign(this._config,t),e.type.toLowerCase()!=="flv")throw new Ge("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let r=re.chrome&&(re.version.major<50||re.version.major===50&&re.version.build<2661);this._alwaysSeekKeyframe=!!(r||re.msedge||re.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){e===jt.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(jt.MEDIA_INFO,this.mediaInfo)}):e===jt.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(jt.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new V(this._config),this._msectl.on(f.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(f.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(f.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(f.ERROR,t=>{this._emitter.emit(jt.ERROR,l.MEDIA_ERROR,N.MEDIA_MSE_ERROR,t)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new be("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new be("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Hr(this._mediaDataSource,this._config),this._transmuxer.on(Ae.INIT_SEGMENT,(e,t)=>{this._msectl.appendInitSegment(t)}),this._transmuxer.on(Ae.MEDIA_SEGMENT,(e,t)=>{if(this._msectl.appendMediaSegment(t),this._config.lazyLoad&&!this._config.isLive){let r=this._mediaElement.currentTime;t.info.endDts>=(r+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(w.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(Ae.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(jt.LOADING_COMPLETE)}),this._transmuxer.on(Ae.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(jt.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Ae.IO_ERROR,(e,t)=>{this._emitter.emit(jt.ERROR,l.NETWORK_ERROR,e,t)}),this._transmuxer.on(Ae.DEMUX_ERROR,(e,t)=>{this._emitter.emit(jt.ERROR,l.MEDIA_ERROR,e,{code:-1,msg:t})}),this._transmuxer.on(Ae.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(jt.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(Ae.METADATA_ARRIVED,e=>{this._emitter.emit(jt.METADATA_ARRIVED,e)}),this._transmuxer.on(Ae.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(jt.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(Ae.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(jt.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(Ae.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,r=0,o=0;if(this._mediaElement.getVideoPlaybackQuality){let d=this._mediaElement.getVideoPlaybackQuality();r=d.totalVideoFrames,o=d.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(r=this._mediaElement.webkitDecodedFrameCount,o=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=r,e.droppedFrames=o),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,t=this._mediaElement.currentTime,r=0,o=0;for(let d=0;d=t+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(w.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){w.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,t=this._mediaElement.buffered,r=!1;for(let o=0;o=d&&e=p-this._config.lazyLoadRecoverDuration&&(r=!0);break}}r&&(window.clearInterval(this._progressChecker),this._progressChecker=null,r&&(w.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let t=this._mediaElement.buffered;for(let r=0;r=o&&e0){let d=this._mediaElement.buffered.start(0);(d<1&&e0&&t.currentTime0){let o=r.start(0);if(o<1&&t{this._emitter.emit(jt.MEDIA_INFO,this.mediaInfo)}):e===jt.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(jt.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new be("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let t={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,r=0,o=0;if(this._mediaElement.getVideoPlaybackQuality){let d=this._mediaElement.getVideoPlaybackQuality();r=d.totalVideoFrames,o=d.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(r=this._mediaElement.webkitDecodedFrameCount,o=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=r,e.droppedFrames=o),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(jt.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(jt.STATISTICS_INFO,this.statisticsInfo)}}var ie=Y;Fe.install();function xe(j,e){let t=j;if(t==null||typeof t!="object")throw new Ge("MediaDataSource must be an javascript object!");if(!t.hasOwnProperty("type"))throw new Ge("MediaDataSource must has type field to indicate video file type!");switch(t.type){case"flv":return new C(t,e);default:return new ie(t,e)}}function fe(){return yn.supportMSEH264Playback()}function Oe(){return yn.getFeatureList()}let We={};We.createPlayer=xe,We.isSupported=fe,We.getFeatureList=Oe,We.BaseLoader=qe,We.LoaderStatus=Re,We.LoaderErrors=Qe,We.Events=jt,We.ErrorTypes=l,We.ErrorDetails=N,We.FlvPlayer=C,We.NativePlayer=ie,We.LoggingControl=at,Object.defineProperty(We,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var $e=We},9951:function($,gt,v){"use strict";v.d(gt,{Z:function(){return Hr}});var n=v(59301),Fe=v(54476),B=v(33885),le=v(67732),ne=v(83652),w=v(31226),ze=v(42403),Be=v(158),W=v(20068),be=v(76190),Ge=v(75931),Ye={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},Re=Ye,Qe=v(53280),qe=v(92310),Ce=v.n(qe);function me(_,f,y){return Math.max(f,Math.min(_,y))}var re=function(f){var y=["onTouchStart","onTouchMove","onWheel"];y.includes(f._reactName)||f.preventDefault()},Q=function(f){for(var y=[],V=T(f),l=O(f),N=V;N0?1:0):0},Ne=function(f){return f.centerMode?Math.floor((f.slidesToShow-1)/2)+1+(parseInt(f.centerPadding)>0?1:0):f.slidesToShow},he=function(f){return f&&f.offsetWidth||0},ct=function(f){return f&&f.offsetHeight||0},sn=function(f){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V,l,N,D;return V=f.startX-f.curX,l=f.startY-f.curY,N=Math.atan2(l,V),D=Math.round(N*180/Math.PI),D<0&&(D=360-Math.abs(D)),D<=45&&D>=0||D<=360&&D>=315?"left":D>=135&&D<=225?"right":y===!0?D>=35&&D<=135?"up":"down":"vertical"},Bn=function(f){var y=!0;return f.infinite||(f.centerMode&&f.currentSlide>=f.slideCount-1||f.slideCount<=f.slidesToShow||f.currentSlide>=f.slideCount-f.slidesToShow)&&(y=!1),y},zn=function(f,y){var V={};return y.forEach(function(l){return V[l]=f[l]}),V},qn=function(f){var y=n.Children.count(f.children),V=f.listRef,l=Math.ceil(he(V)),N=f.trackRef&&f.trackRef.node,D=Math.ceil(he(N)),C;if(f.vertical)C=l;else{var Y=f.centerMode&&parseInt(f.centerPadding)*2;typeof f.centerPadding=="string"&&f.centerPadding.slice(-1)==="%"&&(Y*=l/100),C=Math.ceil((l-Y)/f.slidesToShow)}var ie=V&&ct(V.querySelector('[data-index="0"]')),xe=ie*f.slidesToShow,fe=f.currentSlide===void 0?f.initialSlide:f.currentSlide;f.rtl&&f.currentSlide===void 0&&(fe=y-1-f.initialSlide);var Oe=f.lazyLoadedList||[],We=Q((0,B.Z)((0,B.Z)({},f),{},{currentSlide:fe,lazyLoadedList:Oe}));Oe=Oe.concat(We);var $e={slideCount:y,slideWidth:C,listWidth:l,trackWidth:D,currentSlide:fe,slideHeight:ie,listHeight:xe,lazyLoadedList:Oe};return f.autoplaying===null&&f.autoplay&&($e.autoplaying="playing"),$e},de=function(f){var y=f.waitForAnimate,V=f.animating,l=f.fade,N=f.infinite,D=f.index,C=f.slideCount,Y=f.lazyLoad,ie=f.currentSlide,xe=f.centerMode,fe=f.slidesToScroll,Oe=f.slidesToShow,We=f.useCSS,$e=f.lazyLoadedList;if(y&&V)return{};var j=D,e,t,r,o={},d={},p=N?D:me(D,0,C-1);if(l){if(!N&&(D<0||D>=C))return{};D<0?j=D+C:D>=C&&(j=D-C),Y&&$e.indexOf(j)<0&&($e=$e.concat(j)),o={animating:!0,currentSlide:j,lazyLoadedList:$e,targetSlide:j},d={animating:!1,targetSlide:j}}else e=j,j<0?(e=j+C,N?C%fe!==0&&(e=C-C%fe):e=0):!Bn(f)&&j>ie?j=e=ie:xe&&j>=C?(j=N?C:C-1,e=N?0:C-1):j>=C&&(e=j-C,N?C%fe!==0&&(e=0):e=C-Oe),!N&&j+Oe>=C&&(e=C-Oe),t=er((0,B.Z)((0,B.Z)({},f),{},{slideIndex:j})),r=er((0,B.Z)((0,B.Z)({},f),{},{slideIndex:e})),N||(t===r&&(j=e),t=r),Y&&($e=$e.concat(Q((0,B.Z)((0,B.Z)({},f),{},{currentSlide:j})))),We?(o={animating:!0,currentSlide:e,trackStyle:at((0,B.Z)((0,B.Z)({},f),{},{left:t})),lazyLoadedList:$e,targetSlide:p},d={animating:!1,currentSlide:e,trackStyle:Dt((0,B.Z)((0,B.Z)({},f),{},{left:r})),swipeLeft:null,targetSlide:p}):o={currentSlide:e,trackStyle:Dt((0,B.Z)((0,B.Z)({},f),{},{left:r})),lazyLoadedList:$e,targetSlide:p};return{state:o,nextState:d}},lt=function(f,y){var V,l,N,D,C,Y=f.slidesToScroll,ie=f.slidesToShow,xe=f.slideCount,fe=f.currentSlide,Oe=f.targetSlide,We=f.lazyLoad,$e=f.infinite;if(D=xe%Y!==0,V=D?0:(xe-fe)%Y,y.message==="previous")N=V===0?Y:ie-V,C=fe-N,We&&!$e&&(l=fe-N,C=l===-1?xe-1:l),$e||(C=Oe-Y);else if(y.message==="next")N=V===0?Y:V,C=fe+N,We&&!$e&&(C=(fe+Y)%xe+V),$e||(C=Oe+Y);else if(y.message==="dots")C=y.index*y.slidesToScroll;else if(y.message==="children"){if(C=y.index,$e){var j=Ir((0,B.Z)((0,B.Z)({},f),{},{targetSlide:C}));C>y.currentSlide&&j==="left"?C=C-xe:C10)return{scrolling:!0};C&&(r.swipeLength=je);var dt=(Y?-1:1)*(r.curX>r.startX?1:-1);C&&(dt=r.curY>r.startY?1:-1);var pe=Math.ceil(j/e),te=sn(y.touchObject,C),tt=r.swipeLength;return t||(ie===0&&(te==="right"||te==="down")||ie+1>=pe&&(te==="left"||te==="up")||!Bn(y)&&(te==="left"||te==="up"))&&(tt=r.swipeLength*xe,fe===!1&&Oe&&(Oe(te),ge.edgeDragged=!0)),!We&&o&&(o(te),ge.swiped=!0),N?I=ee+tt*(d/p)*dt:Y?I=ee-tt*dt:I=ee+tt*dt,C&&(I=ee+tt*dt),ge=(0,B.Z)((0,B.Z)({},ge),{},{touchObject:r,swipeLeft:I,trackStyle:Dt((0,B.Z)((0,B.Z)({},y),{},{left:I}))}),Math.abs(r.curX-r.startX)10&&(ge.swiping=!0,re(f)),ge}},$n=function(f,y){var V=y.dragging,l=y.swipe,N=y.touchObject,D=y.listWidth,C=y.touchThreshold,Y=y.verticalSwiping,ie=y.listHeight,xe=y.swipeToSlide,fe=y.scrolling,Oe=y.onSwipe,We=y.targetSlide,$e=y.currentSlide,j=y.infinite;if(!V)return l&&re(f),{};var e=Y?ie/C:D/C,t=sn(N,Y),r={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(fe||!N.swipeLength)return r;if(N.swipeLength>e){re(f),Oe&&Oe(t);var o,d,p=j?$e:We;switch(t){case"left":case"up":d=p+jn(y),o=xe?yn(y,d):d,r.currentDirection=0;break;case"right":case"down":d=p-jn(y),o=xe?yn(y,d):d,r.currentDirection=1;break;default:o=p}r.triggerSlideHandler=o}else{var I=er(y);r.trackStyle=at((0,B.Z)((0,B.Z)({},y),{},{left:I}))}return r},gn=function(f){for(var y=f.infinite?f.slideCount*2:f.slideCount,V=f.infinite?f.slidesToShow*-1:0,l=f.infinite?f.slidesToShow*-1:0,N=[];VV[V.length-1])y=V[V.length-1];else for(var N in V){if(yf.swipeLeft*-1)return V=Y,!1}else if(Y.offsetLeft-y+he(Y)/2>f.swipeLeft*-1)return V=Y,!1;return!0}),!V)return 0;var D=f.rtl===!0?f.slideCount-f.currentSlide:f.currentSlide,C=Math.abs(V.dataset.index-D)||1;return C}else return f.slidesToScroll},jt=function(f,y){return y.reduce(function(V,l){return V&&f.hasOwnProperty(l)},!0)?null:console.error("Keys Missing:",f)},Dt=function(f){jt(f,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var y,V,l=f.slideCount+2*f.slidesToShow;f.vertical?V=l*f.slideHeight:y=yr(f)*f.slideWidth;var N={opacity:1,transition:"",WebkitTransition:""};if(f.useTransform){var D=f.vertical?"translate3d(0px, "+f.left+"px, 0px)":"translate3d("+f.left+"px, 0px, 0px)",C=f.vertical?"translate3d(0px, "+f.left+"px, 0px)":"translate3d("+f.left+"px, 0px, 0px)",Y=f.vertical?"translateY("+f.left+"px)":"translateX("+f.left+"px)";N=(0,B.Z)((0,B.Z)({},N),{},{WebkitTransform:D,transform:C,msTransform:Y})}else f.vertical?N.top=f.left:N.left=f.left;return f.fade&&(N={opacity:1}),y&&(N.width=y),V&&(N.height=V),window&&!window.addEventListener&&window.attachEvent&&(f.vertical?N.marginTop=f.left+"px":N.marginLeft=f.left+"px"),N},at=function(f){jt(f,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var y=Dt(f);return f.useTransform?(y.WebkitTransition="-webkit-transform "+f.speed+"ms "+f.cssEase,y.transition="transform "+f.speed+"ms "+f.cssEase):f.vertical?y.transition="top "+f.speed+"ms "+f.cssEase:y.transition="left "+f.speed+"ms "+f.cssEase,y},er=function(f){if(f.unslick)return 0;jt(f,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var y=f.slideIndex,V=f.trackRef,l=f.infinite,N=f.centerMode,D=f.slideCount,C=f.slidesToShow,Y=f.slidesToScroll,ie=f.slideWidth,xe=f.listWidth,fe=f.variableWidth,Oe=f.slideHeight,We=f.fade,$e=f.vertical,j=0,e,t,r=0;if(We||f.slideCount===1)return 0;var o=0;if(l?(o=-nn(f),D%Y!==0&&y+Y>D&&(o=-(y>D?C-(y-D):D%Y)),N&&(o+=parseInt(C/2))):(D%Y!==0&&y+Y>D&&(o=C-D%Y),N&&(o=parseInt(C/2))),j=o*ie,r=o*Oe,$e?e=y*Oe*-1+r:e=y*ie*-1+j,fe===!0){var d,p=V&&V.node;if(d=y+nn(f),t=p&&p.childNodes[d],e=t?t.offsetLeft*-1:0,N===!0){d=l?y+nn(f):y,t=p&&p.children[d],e=0;for(var I=0;If.currentSlide?f.targetSlide>f.currentSlide+Se(f)?"left":"right":f.targetSlide0&&(D+=1),l&&y%2===0&&(D+=1),D}return l?0:y-1},ft=function(f){var y=f.slidesToShow,V=f.centerMode,l=f.rtl,N=f.centerPadding;if(V){var D=(y-1)/2+1;return parseInt(N)>0&&(D+=1),!l&&y%2===0&&(D+=1),D}return l?y-1:0},_e=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},Fn=function(f){var y,V,l,N,D;f.rtl?D=f.slideCount-1-f.index:D=f.index,l=D<0||D>=f.slideCount,f.centerMode?(N=Math.floor(f.slidesToShow/2),V=(D-f.currentSlide)%f.slideCount===0,D>f.currentSlide-N-1&&D<=f.currentSlide+N&&(y=!0)):y=f.currentSlide<=D&&D=f.slideCount?C=f.targetSlide-f.slideCount:C=f.targetSlide;var Y=D===C;return{"slick-slide":!0,"slick-active":y,"slick-center":V,"slick-cloned":l,"slick-current":Y}},Ar=function(f){var y={};return(f.variableWidth===void 0||f.variableWidth===!1)&&(y.width=f.slideWidth),f.fade&&(y.position="relative",f.vertical&&f.slideHeight?y.top=-f.index*parseInt(f.slideHeight):y.left=-f.index*parseInt(f.slideWidth),y.opacity=f.currentSlide===f.index?1:0,f.useCSS&&(y.transition="opacity "+f.speed+"ms "+f.cssEase+", visibility "+f.speed+"ms "+f.cssEase)),y},ln=function(f,y){return f.key+"-"+y},Lr=function(f){var y,V=[],l=[],N=[],D=n.Children.count(f.children),C=T(f),Y=O(f);return n.Children.forEach(f.children,function(ie,xe){var fe,Oe={message:"children",index:xe,slidesToScroll:f.slidesToScroll,currentSlide:f.currentSlide};!f.lazyLoad||f.lazyLoad&&f.lazyLoadedList.indexOf(xe)>=0?fe=ie:fe=n.createElement("div",null);var We=Ar((0,B.Z)((0,B.Z)({},f),{},{index:xe})),$e=fe.props.className||"",j=Fn((0,B.Z)((0,B.Z)({},f),{},{index:xe}));if(V.push(n.cloneElement(fe,{key:"original"+ln(fe,xe),"data-index":xe,className:Ce()(j,$e),tabIndex:"-1","aria-hidden":!j["slick-active"],style:(0,B.Z)((0,B.Z)({outline:"none"},fe.props.style||{}),We),onClick:function(r){fe.props&&fe.props.onClick&&fe.props.onClick(r),f.focusOnSelect&&f.focusOnSelect(Oe)}})),f.infinite&&f.fade===!1){var e=D-xe;e<=nn(f)&&D!==f.slidesToShow&&(y=-e,y>=C&&(fe=ie),j=Fn((0,B.Z)((0,B.Z)({},f),{},{index:y})),l.push(n.cloneElement(fe,{key:"precloned"+ln(fe,y),"data-index":y,tabIndex:"-1",className:Ce()(j,$e),"aria-hidden":!j["slick-active"],style:(0,B.Z)((0,B.Z)({},fe.props.style||{}),We),onClick:function(r){fe.props&&fe.props.onClick&&fe.props.onClick(r),f.focusOnSelect&&f.focusOnSelect(Oe)}}))),D!==f.slidesToShow&&(y=D+xe,y=d&&Oe<=r:Oe===d}),I={message:"dots",index:e,slidesToScroll:ie,currentSlide:Oe},ge=this.clickHandler.bind(this,I);j=j.concat(n.createElement("li",{key:e,className:p},n.cloneElement(this.props.customPaging(e),{onClick:ge})))}return n.cloneElement(this.props.appendDots(j),(0,B.Z)({className:this.props.dotsClass},$e))}}]),y}(n.PureComponent),ar=function(_){(0,ze.Z)(y,_);var f=(0,Be.Z)(y);function y(){return(0,le.Z)(this,y),f.apply(this,arguments)}return(0,ne.Z)(y,[{key:"clickHandler",value:function(l,N){N&&N.preventDefault(),this.props.clickHandler(l,N)}},{key:"render",value:function(){var l={"slick-arrow":!0,"slick-prev":!0},N=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(l["slick-disabled"]=!0,N=null);var D={key:"0","data-role":"none",className:Ce()(l),style:{display:"block"},onClick:N},C={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},Y;return this.props.prevArrow?Y=n.cloneElement(this.props.prevArrow,(0,B.Z)((0,B.Z)({},D),C)):Y=n.createElement("button",(0,Fe.Z)({key:"0",type:"button"},D)," ","Previous"),Y}}]),y}(n.PureComponent),G=function(_){(0,ze.Z)(y,_);var f=(0,Be.Z)(y);function y(){return(0,le.Z)(this,y),f.apply(this,arguments)}return(0,ne.Z)(y,[{key:"clickHandler",value:function(l,N){N&&N.preventDefault(),this.props.clickHandler(l,N)}},{key:"render",value:function(){var l={"slick-arrow":!0,"slick-next":!0},N=this.clickHandler.bind(this,{message:"next"});Bn(this.props)||(l["slick-disabled"]=!0,N=null);var D={key:"1","data-role":"none",className:Ce()(l),style:{display:"block"},onClick:N},C={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},Y;return this.props.nextArrow?Y=n.cloneElement(this.props.nextArrow,(0,B.Z)((0,B.Z)({},D),C)):Y=n.createElement("button",(0,Fe.Z)({key:"1",type:"button"},D)," ","Next"),Y}}]),y}(n.PureComponent),q=v(76374),se=["animating"],b=function(_){(0,ze.Z)(y,_);var f=(0,Be.Z)(y);function y(V){var l;(0,le.Z)(this,y),l=f.call(this,V),(0,W.Z)((0,w.Z)(l),"listRefHandler",function(D){return l.list=D}),(0,W.Z)((0,w.Z)(l),"trackRefHandler",function(D){return l.track=D}),(0,W.Z)((0,w.Z)(l),"adaptHeight",function(){if(l.props.adaptiveHeight&&l.list){var D=l.list.querySelector('[data-index="'.concat(l.state.currentSlide,'"]'));l.list.style.height=ct(D)+"px"}}),(0,W.Z)((0,w.Z)(l),"componentDidMount",function(){if(l.props.onInit&&l.props.onInit(),l.props.lazyLoad){var D=Q((0,B.Z)((0,B.Z)({},l.props),l.state));D.length>0&&(l.setState(function(Y){return{lazyLoadedList:Y.lazyLoadedList.concat(D)}}),l.props.onLazyLoad&&l.props.onLazyLoad(D))}var C=(0,B.Z)({listRef:l.list,trackRef:l.track},l.props);l.updateState(C,!0,function(){l.adaptHeight(),l.props.autoplay&&l.autoPlay("playing")}),l.props.lazyLoad==="progressive"&&(l.lazyLoadTimer=setInterval(l.progressiveLazyLoad,1e3)),l.ro=new q.Z(function(){l.state.animating?(l.onWindowResized(!1),l.callbackTimers.push(setTimeout(function(){return l.onWindowResized()},l.props.speed))):l.onWindowResized()}),l.ro.observe(l.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(Y){Y.onfocus=l.props.pauseOnFocus?l.onSlideFocus:null,Y.onblur=l.props.pauseOnFocus?l.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",l.onWindowResized):window.attachEvent("onresize",l.onWindowResized)}),(0,W.Z)((0,w.Z)(l),"componentWillUnmount",function(){l.animationEndCallback&&clearTimeout(l.animationEndCallback),l.lazyLoadTimer&&clearInterval(l.lazyLoadTimer),l.callbackTimers.length&&(l.callbackTimers.forEach(function(D){return clearTimeout(D)}),l.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",l.onWindowResized):window.detachEvent("onresize",l.onWindowResized),l.autoplayTimer&&clearInterval(l.autoplayTimer),l.ro.disconnect()}),(0,W.Z)((0,w.Z)(l),"componentDidUpdate",function(D){if(l.checkImagesLoad(),l.props.onReInit&&l.props.onReInit(),l.props.lazyLoad){var C=Q((0,B.Z)((0,B.Z)({},l.props),l.state));C.length>0&&(l.setState(function(xe){return{lazyLoadedList:xe.lazyLoadedList.concat(C)}}),l.props.onLazyLoad&&l.props.onLazyLoad(C))}l.adaptHeight();var Y=(0,B.Z)((0,B.Z)({listRef:l.list,trackRef:l.track},l.props),l.state),ie=l.didPropsChange(D);ie&&l.updateState(Y,ie,function(){l.state.currentSlide>=n.Children.count(l.props.children)&&l.changeSlide({message:"index",index:n.Children.count(l.props.children)-l.props.slidesToShow,currentSlide:l.state.currentSlide}),(D.autoplay!==l.props.autoplay||D.autoplaySpeed!==l.props.autoplaySpeed)&&(!D.autoplay&&l.props.autoplay?l.autoPlay("playing"):l.props.autoplay?l.autoPlay("update"):l.pause("paused"))})}),(0,W.Z)((0,w.Z)(l),"onWindowResized",function(D){l.debouncedResize&&l.debouncedResize.cancel(),l.debouncedResize=(0,Qe.D)(50,function(){return l.resizeWindow(D)}),l.debouncedResize()}),(0,W.Z)((0,w.Z)(l),"resizeWindow",function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,C=!!(l.track&&l.track.node);if(C){var Y=(0,B.Z)((0,B.Z)({listRef:l.list,trackRef:l.track},l.props),l.state);l.updateState(Y,D,function(){l.props.autoplay?l.autoPlay("update"):l.pause("paused")}),l.setState({animating:!1}),clearTimeout(l.animationEndCallback),delete l.animationEndCallback}}),(0,W.Z)((0,w.Z)(l),"updateState",function(D,C,Y){var ie=qn(D);D=(0,B.Z)((0,B.Z)((0,B.Z)({},D),ie),{},{slideIndex:ie.currentSlide});var xe=er(D);D=(0,B.Z)((0,B.Z)({},D),{},{left:xe});var fe=Dt(D);(C||n.Children.count(l.props.children)!==n.Children.count(D.children))&&(ie.trackStyle=fe),l.setState(ie,Y)}),(0,W.Z)((0,w.Z)(l),"ssrInit",function(){if(l.props.variableWidth){var D=0,C=0,Y=[],ie=nn((0,B.Z)((0,B.Z)((0,B.Z)({},l.props),l.state),{},{slideCount:l.props.children.length})),xe=On((0,B.Z)((0,B.Z)((0,B.Z)({},l.props),l.state),{},{slideCount:l.props.children.length}));l.props.children.forEach(function(ge){Y.push(ge.props.style.width),D+=ge.props.style.width});for(var fe=0;fe=C&&l.onWindowResized()};if(!ie.onclick)ie.onclick=function(){return ie.parentNode.focus()};else{var fe=ie.onclick;ie.onclick=function(Oe){fe(Oe),ie.parentNode.focus()}}ie.onload||(l.props.lazyLoad?ie.onload=function(){l.adaptHeight(),l.callbackTimers.push(setTimeout(l.onWindowResized,l.props.speed))}:(ie.onload=xe,ie.onerror=function(){xe(),l.props.onLazyLoadError&&l.props.onLazyLoadError()}))})}),(0,W.Z)((0,w.Z)(l),"progressiveLazyLoad",function(){for(var D=[],C=(0,B.Z)((0,B.Z)({},l.props),l.state),Y=l.state.currentSlide;Y=-nn(C);ie--)if(l.state.lazyLoadedList.indexOf(ie)<0){D.push(ie);break}D.length>0?(l.setState(function(xe){return{lazyLoadedList:xe.lazyLoadedList.concat(D)}}),l.props.onLazyLoad&&l.props.onLazyLoad(D)):l.lazyLoadTimer&&(clearInterval(l.lazyLoadTimer),delete l.lazyLoadTimer)}),(0,W.Z)((0,w.Z)(l),"slideHandler",function(D){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y=l.props,ie=Y.asNavFor,xe=Y.beforeChange,fe=Y.onLazyLoad,Oe=Y.speed,We=Y.afterChange,$e=l.state.currentSlide,j=de((0,B.Z)((0,B.Z)((0,B.Z)({index:D},l.props),l.state),{},{trackRef:l.track,useCSS:l.props.useCSS&&!C})),e=j.state,t=j.nextState;if(e){xe&&xe($e,e.currentSlide);var r=e.lazyLoadedList.filter(function(o){return l.state.lazyLoadedList.indexOf(o)<0});fe&&r.length>0&&fe(r),!l.props.waitForAnimate&&l.animationEndCallback&&(clearTimeout(l.animationEndCallback),We&&We($e),delete l.animationEndCallback),l.setState(e,function(){ie&&l.asNavForIndex!==D&&(l.asNavForIndex=D,ie.innerSlider.slideHandler(D)),t&&(l.animationEndCallback=setTimeout(function(){var o=t.animating,d=(0,Ge.Z)(t,se);l.setState(d,function(){l.callbackTimers.push(setTimeout(function(){return l.setState({animating:o})},10)),We&&We(e.currentSlide),delete l.animationEndCallback})},Oe))})}}),(0,W.Z)((0,w.Z)(l),"changeSlide",function(D){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y=(0,B.Z)((0,B.Z)({},l.props),l.state),ie=lt(Y,D);if(!(ie!==0&&!ie)&&(C===!0?l.slideHandler(ie,C):l.slideHandler(ie),l.props.autoplay&&l.autoPlay("update"),l.props.focusOnSelect)){var xe=l.list.querySelectorAll(".slick-current");xe[0]&&xe[0].focus()}}),(0,W.Z)((0,w.Z)(l),"clickHandler",function(D){l.clickable===!1&&(D.stopPropagation(),D.preventDefault()),l.clickable=!0}),(0,W.Z)((0,w.Z)(l),"keyHandler",function(D){var C=K(D,l.props.accessibility,l.props.rtl);C!==""&&l.changeSlide({message:C})}),(0,W.Z)((0,w.Z)(l),"selectHandler",function(D){l.changeSlide(D)}),(0,W.Z)((0,w.Z)(l),"disableBodyScroll",function(){var D=function(Y){Y=Y||window.event,Y.preventDefault&&Y.preventDefault(),Y.returnValue=!1};window.ontouchmove=D}),(0,W.Z)((0,w.Z)(l),"enableBodyScroll",function(){window.ontouchmove=null}),(0,W.Z)((0,w.Z)(l),"swipeStart",function(D){l.props.verticalSwiping&&l.disableBodyScroll();var C=tn(D,l.props.swipe,l.props.draggable);C!==""&&l.setState(C)}),(0,W.Z)((0,w.Z)(l),"swipeMove",function(D){var C=_n(D,(0,B.Z)((0,B.Z)((0,B.Z)({},l.props),l.state),{},{trackRef:l.track,listRef:l.list,slideIndex:l.state.currentSlide}));C&&(C.swiping&&(l.clickable=!1),l.setState(C))}),(0,W.Z)((0,w.Z)(l),"swipeEnd",function(D){var C=$n(D,(0,B.Z)((0,B.Z)((0,B.Z)({},l.props),l.state),{},{trackRef:l.track,listRef:l.list,slideIndex:l.state.currentSlide}));if(C){var Y=C.triggerSlideHandler;delete C.triggerSlideHandler,l.setState(C),Y!==void 0&&(l.slideHandler(Y),l.props.verticalSwiping&&l.enableBodyScroll())}}),(0,W.Z)((0,w.Z)(l),"touchEnd",function(D){l.swipeEnd(D),l.clickable=!0}),(0,W.Z)((0,w.Z)(l),"slickPrev",function(){l.callbackTimers.push(setTimeout(function(){return l.changeSlide({message:"previous"})},0))}),(0,W.Z)((0,w.Z)(l),"slickNext",function(){l.callbackTimers.push(setTimeout(function(){return l.changeSlide({message:"next"})},0))}),(0,W.Z)((0,w.Z)(l),"slickGoTo",function(D){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(D=Number(D),isNaN(D))return"";l.callbackTimers.push(setTimeout(function(){return l.changeSlide({message:"index",index:D,currentSlide:l.state.currentSlide},C)},0))}),(0,W.Z)((0,w.Z)(l),"play",function(){var D;if(l.props.rtl)D=l.state.currentSlide-l.props.slidesToScroll;else if(Bn((0,B.Z)((0,B.Z)({},l.props),l.state)))D=l.state.currentSlide+l.props.slidesToScroll;else return!1;l.slideHandler(D)}),(0,W.Z)((0,w.Z)(l),"autoPlay",function(D){l.autoplayTimer&&clearInterval(l.autoplayTimer);var C=l.state.autoplaying;if(D==="update"){if(C==="hovered"||C==="focused"||C==="paused")return}else if(D==="leave"){if(C==="paused"||C==="focused")return}else if(D==="blur"&&(C==="paused"||C==="hovered"))return;l.autoplayTimer=setInterval(l.play,l.props.autoplaySpeed+50),l.setState({autoplaying:"playing"})}),(0,W.Z)((0,w.Z)(l),"pause",function(D){l.autoplayTimer&&(clearInterval(l.autoplayTimer),l.autoplayTimer=null);var C=l.state.autoplaying;D==="paused"?l.setState({autoplaying:"paused"}):D==="focused"?(C==="hovered"||C==="playing")&&l.setState({autoplaying:"focused"}):C==="playing"&&l.setState({autoplaying:"hovered"})}),(0,W.Z)((0,w.Z)(l),"onDotsOver",function(){return l.props.autoplay&&l.pause("hovered")}),(0,W.Z)((0,w.Z)(l),"onDotsLeave",function(){return l.props.autoplay&&l.state.autoplaying==="hovered"&&l.autoPlay("leave")}),(0,W.Z)((0,w.Z)(l),"onTrackOver",function(){return l.props.autoplay&&l.pause("hovered")}),(0,W.Z)((0,w.Z)(l),"onTrackLeave",function(){return l.props.autoplay&&l.state.autoplaying==="hovered"&&l.autoPlay("leave")}),(0,W.Z)((0,w.Z)(l),"onSlideFocus",function(){return l.props.autoplay&&l.pause("focused")}),(0,W.Z)((0,w.Z)(l),"onSlideBlur",function(){return l.props.autoplay&&l.state.autoplaying==="focused"&&l.autoPlay("blur")}),(0,W.Z)((0,w.Z)(l),"render",function(){var D=Ce()("slick-slider",l.props.className,{"slick-vertical":l.props.vertical,"slick-initialized":!0}),C=(0,B.Z)((0,B.Z)({},l.props),l.state),Y=zn(C,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),ie=l.props.pauseOnHover;Y=(0,B.Z)((0,B.Z)({},Y),{},{onMouseEnter:ie?l.onTrackOver:null,onMouseLeave:ie?l.onTrackLeave:null,onMouseOver:ie?l.onTrackOver:null,focusOnSelect:l.props.focusOnSelect&&l.clickable?l.selectHandler:null});var xe;if(l.props.dots===!0&&l.state.slideCount>=l.props.slidesToShow){var fe=zn(C,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),Oe=l.props.pauseOnDotsHover;fe=(0,B.Z)((0,B.Z)({},fe),{},{clickHandler:l.changeSlide,onMouseEnter:Oe?l.onDotsLeave:null,onMouseOver:Oe?l.onDotsOver:null,onMouseLeave:Oe?l.onDotsLeave:null}),xe=n.createElement(Jt,fe)}var We,$e,j=zn(C,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);j.clickHandler=l.changeSlide,l.props.arrows&&(We=n.createElement(ar,j),$e=n.createElement(G,j));var e=null;l.props.vertical&&(e={height:l.state.listHeight});var t=null;l.props.vertical===!1?l.props.centerMode===!0&&(t={padding:"0px "+l.props.centerPadding}):l.props.centerMode===!0&&(t={padding:l.props.centerPadding+" 0px"});var r=(0,B.Z)((0,B.Z)({},e),t),o=l.props.touchMove,d={className:"slick-list",style:r,onClick:l.clickHandler,onMouseDown:o?l.swipeStart:null,onMouseMove:l.state.dragging&&o?l.swipeMove:null,onMouseUp:o?l.swipeEnd:null,onMouseLeave:l.state.dragging&&o?l.swipeEnd:null,onTouchStart:o?l.swipeStart:null,onTouchMove:l.state.dragging&&o?l.swipeMove:null,onTouchEnd:o?l.touchEnd:null,onTouchCancel:l.state.dragging&&o?l.swipeEnd:null,onKeyDown:l.props.accessibility?l.keyHandler:null},p={className:D,dir:"ltr",style:l.props.style};return l.props.unslick&&(d={className:"slick-list"},p={className:D,style:l.props.style}),n.createElement("div",p,l.props.unslick?"":We,n.createElement("div",(0,Fe.Z)({ref:l.listRefHandler},d),n.createElement(Tn,(0,Fe.Z)({ref:l.trackRefHandler},Y),l.props.children)),l.props.unslick?"":$e,l.props.unslick?"":xe)}),l.list=null,l.track=null,l.state=(0,B.Z)((0,B.Z)({},Re),{},{currentSlide:l.props.initialSlide,slideCount:n.Children.count(l.props.children)}),l.callbackTimers=[],l.clickable=!0,l.debouncedResize=null;var N=l.ssrInit();return l.state=(0,B.Z)((0,B.Z)({},l.state),N),l}return(0,ne.Z)(y,[{key:"didPropsChange",value:function(l){for(var N=!1,D=0,C=Object.keys(this.props);D1&&arguments[1]!==void 0?arguments[1]:!1;return l.innerSlider.slickGoTo(N,D)}),(0,W.Z)((0,w.Z)(l),"slickPause",function(){return l.innerSlider.pause("paused")}),(0,W.Z)((0,w.Z)(l),"slickPlay",function(){return l.innerSlider.autoPlay("play")}),l.state={breakpoint:null},l._responsiveMediaHandlers=[],l}return(0,ne.Z)(y,[{key:"media",value:function(l,N){var D=window.matchMedia(l),C=function(ie){var xe=ie.matches;xe&&N()};D.addListener(C),C(D),this._responsiveMediaHandlers.push({mql:D,query:l,listener:C})}},{key:"componentDidMount",value:function(){var l=this;if(this.props.responsive){var N=this.props.responsive.map(function(C){return C.breakpoint});N.sort(function(C,Y){return C-Y}),N.forEach(function(C,Y){var ie;Y===0?ie=Xe()({minWidth:0,maxWidth:C}):ie=Xe()({minWidth:N[Y-1]+1,maxWidth:C}),_e()&&l.media(ie,function(){l.setState({breakpoint:C})})});var D=Xe()({minWidth:N.slice(-1)[0]});_e()&&this.media(D,function(){l.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(l){l.mql.removeListener(l.listener)})}},{key:"render",value:function(){var l=this,N,D;this.state.breakpoint?(D=this.props.responsive.filter(function(e){return e.breakpoint===l.state.breakpoint}),N=D[0].settings==="unslick"?"unslick":(0,B.Z)((0,B.Z)((0,B.Z)({},In),this.props),D[0].settings)):N=(0,B.Z)((0,B.Z)({},In),this.props),N.centerMode&&(N.slidesToScroll>1,N.slidesToScroll=1),N.fade&&(N.slidesToShow>1,N.slidesToScroll>1,N.slidesToShow=1,N.slidesToScroll=1);var C=n.Children.toArray(this.props.children);C=C.filter(function(e){return typeof e=="string"?!!e.trim():!!e}),N.variableWidth&&(N.rows>1||N.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),N.variableWidth=!1);for(var Y=[],ie=null,xe=0;xe=C.length));$e+=1)We.push(n.cloneElement(C[$e],{key:100*xe+10*Oe+$e,tabIndex:-1,style:{width:"".concat(100/N.slidesPerRow,"%"),display:"inline-block"}}));fe.push(n.createElement("div",{key:10*xe+Oe},We))}N.variableWidth?Y.push(n.createElement("div",{key:xe,style:{width:ie}},fe)):Y.push(n.createElement("div",{key:xe},fe))}if(N==="unslick"){var j="regular slider "+(this.props.className||"");return n.createElement("div",{className:j},C)}else Y.length<=N.slidesToShow&&(N.unslick=!0);return n.createElement(b,(0,Fe.Z)({style:this.props.style,ref:this.innerSliderRefHandler},N),Y)}}]),y}(n.Component),Gt=Zn,vr=v(36355),En=v(17313),on=v(83116),Yr=v(37613);const Ae=_=>{const{componentCls:f,antCls:y,carouselArrowSize:V,carouselDotOffset:l,marginXXS:N}=_,D=-V*1.25,C=N;return{[f]:Object.assign(Object.assign({},(0,En.Wf)(_)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${y}-radio-input, input${y}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${y}-radio-input, input${y}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:V,height:V,marginTop:-V/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:D,"&::before":{content:'"\u2190"'}},".slick-next":{insetInlineEnd:D,"&::before":{content:'"\u2192"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:l},"&-top":{top:l,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:_.dotWidth,height:_.dotHeight,marginInline:C,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${_.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:_.dotHeight,padding:0,color:"transparent",fontSize:0,background:_.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${_.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-C,content:'""'}},"&.slick-active":{width:_.dotActiveWidth,"& button":{background:_.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},Rr=_=>{const{componentCls:f,carouselDotOffset:y,marginXXS:V}=_,l={width:_.dotHeight,height:_.dotWidth};return{[`${f}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:_.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:y},"&-right":{insetInlineEnd:y,insetInlineStart:"auto"},li:Object.assign(Object.assign({},l),{margin:`${V}px 0`,verticalAlign:"baseline",button:l,"&.slick-active":Object.assign(Object.assign({},l),{button:l})})}}}},Nr=_=>{const{componentCls:f}=_;return[{[`${f}-rtl`]:{direction:"rtl",".slick-dots":{[`${f}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${f}-vertical`]:{".slick-dots":{[`${f}-rtl&`]:{flexDirection:"column"}}}}]};var Et=(0,on.Z)("Carousel",_=>{const{controlHeightLG:f,controlHeightSM:y}=_,V=(0,Yr.TS)(_,{carouselArrowSize:f/2,carouselDotOffset:y/2});return[Ae(V),Rr(V),Nr(V)]},()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),sr=function(_,f){var y={};for(var V in _)Object.prototype.hasOwnProperty.call(_,V)&&f.indexOf(V)<0&&(y[V]=_[V]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,V=Object.getOwnPropertySymbols(_);l{const{dots:y=!0,arrows:V=!1,draggable:l=!1,waitForAnimate:N=!1,dotPosition:D="bottom",vertical:C=D==="left"||D==="right",rootClassName:Y,className:ie,style:xe,id:fe}=_,Oe=sr(_,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:We,direction:$e,carousel:j}=n.useContext(vr.E_),e=n.useRef(),t=function(pe){let te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;e.current.slickGoTo(pe,te)};n.useImperativeHandle(f,()=>({goTo:t,autoPlay:e.current.innerSlider.autoPlay,innerSlider:e.current.innerSlider,prev:e.current.slickPrev,next:e.current.slickNext}),[e.current]);const r=n.useRef(n.Children.count(_.children));n.useEffect(()=>{r.current!==n.Children.count(_.children)&&(t(_.initialSlide||0,!1),r.current=n.Children.count(_.children))},[_.children]);const o=Object.assign({vertical:C,className:Ce()(ie,j==null?void 0:j.className),style:Object.assign(Object.assign({},j==null?void 0:j.style),xe)},Oe);o.effect==="fade"&&(o.fade=!0);const d=We("carousel",o.prefixCls),p="slick-dots",I=!!y,ge=Ce()(p,`${p}-${D}`,typeof y=="boolean"?!1:y==null?void 0:y.className),[ee,je]=Et(d),dt=Ce()(d,{[`${d}-rtl`]:$e==="rtl",[`${d}-vertical`]:o.vertical},je,Y);return ee(n.createElement("div",{className:dt,id:fe},n.createElement(Gt,Object.assign({ref:e},o,{dots:I,dotsClass:ge,arrows:V,draggable:l,verticalSwiping:C,waitForAnimate:N}))))})},5083:function($,gt,v){"use strict";v.d(gt,{default:function(){return gs}});var n=v(66649),Fe=v.n(n),B=v(48736),le=v(9007),ne=v.n(le),w=v(50991),ze=v.n(w),Be=v(9084),W=v.n(Be),be=v(58626),Ge=v.n(be),Ye=v(13477),Re=v.n(Ye),Qe=v(64796),qe=v.n(Qe);Fe().extend(qe()),Fe().extend(Re()),Fe().extend(ne()),Fe().extend(ze()),Fe().extend(W()),Fe().extend(Ge()),Fe().extend(function(i,a){var s=a.prototype,h=s.format;s.format=function(M){var E=(M||"").replace("Wo","wo");return h.bind(this)(E)}});var Ce={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},me=function(a){var s=Ce[a];return s||a.split("_")[0]},re=function(){(0,B.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Q={getNow:function(){return Fe()()},getFixedDate:function(a){return Fe()(a,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(a){return a.endOf("month")},getWeekDay:function(a){var s=a.locale("en");return s.weekday()+s.localeData().firstDayOfWeek()},getYear:function(a){return a.year()},getMonth:function(a){return a.month()},getDate:function(a){return a.date()},getHour:function(a){return a.hour()},getMinute:function(a){return a.minute()},getSecond:function(a){return a.second()},addYear:function(a,s){return a.add(s,"year")},addMonth:function(a,s){return a.add(s,"month")},addDate:function(a,s){return a.add(s,"day")},setYear:function(a,s){return a.year(s)},setMonth:function(a,s){return a.month(s)},setDate:function(a,s){return a.date(s)},setHour:function(a,s){return a.hour(s)},setMinute:function(a,s){return a.minute(s)},setSecond:function(a,s){return a.second(s)},isAfter:function(a,s){return a.isAfter(s)},isValidate:function(a){return a.isValid()},locale:{getWeekFirstDay:function(a){return Fe()().locale(me(a)).localeData().firstDayOfWeek()},getWeekFirstDate:function(a,s){return s.locale(me(a)).weekday(0)},getWeek:function(a,s){return s.locale(me(a)).week()},getShortWeekDays:function(a){return Fe()().locale(me(a)).localeData().weekdaysMin()},getShortMonths:function(a){return Fe()().locale(me(a)).localeData().monthsShort()},format:function(a,s,h){return s.locale(me(a)).format(h)},parse:function(a,s,h){for(var A=me(a),M=0;M1&&(E=a.addDate(E,-7)),E}function En(i,a,s){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(a){case"year":return s.addYear(i,h*10);case"quarter":case"month":return s.addYear(i,h);default:return s.addMonth(i,h)}}function on(i,a){var s=a.generateConfig,h=a.locale,A=a.format;return typeof A=="function"?A(i):s.locale.format(h.locale,i,A)}function Yr(i,a){var s=a.generateConfig,h=a.locale,A=a.formatList;return!i||typeof A[0]=="function"?null:s.locale.parse(h.locale,i,A)}function Ae(i){var a=i.cellDate,s=i.mode,h=i.disabledDate,A=i.generateConfig;if(!h)return!1;var M=function(U,x,Z){for(var X=x;X<=Z;){var Me=void 0;switch(U){case"date":{if(Me=A.setDate(a,X),!h(Me))return!1;break}case"month":{if(Me=A.setMonth(a,X),!Ae({cellDate:Me,mode:"month",generateConfig:A,disabledDate:h}))return!1;break}case"year":{if(Me=A.setYear(a,X),!Ae({cellDate:Me,mode:"year",generateConfig:A,disabledDate:h}))return!1;break}}X+=1}return!0};switch(s){case"date":case"week":return h(a);case"month":{var E=1,L=A.getDate(A.getEndDate(a));return M("date",E,L)}case"quarter":{var S=Math.floor(A.getMonth(a)/3)*3,R=S+2;return M("month",S,R)}case"year":return M("month",0,11);case"decade":{var J=A.getYear(a),F=Math.floor(J/Tn)*Tn,k=F+Tn-1;return M("year",F,k)}}}function Rr(i,a){var s=a.formatList,h=a.generateConfig,A=a.locale;return(0,ln.Z)(function(){if(!i)return[[""],""];for(var M="",E=[],L=0;L1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(R.current),X){S(Z);return}R.current=requestAnimationFrame(function(){S(Z)})}var F=Rr(L,{formatList:s,generateConfig:h,locale:A}),k=(0,_e.Z)(F,2),H=k[1];function U(Z){J(Z)}function x(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;J(null,Z)}return(0,m.useEffect)(function(){x(!0)},[i]),(0,m.useEffect)(function(){return function(){return cancelAnimationFrame(R.current)}},[]),[H,U,x]}var Et=v(10228),sr=v(16089),mr=v(94480),Hr=v(29194),_=new Map;function f(i,a){var s;function h(){(0,Hr.Z)(i)?a():s=(0,sr.Z)(function(){h()})}return h(),function(){sr.Z.cancel(s)}}function y(i,a,s){if(_.get(i)&&cancelAnimationFrame(_.get(i)),s<=0){_.set(i,requestAnimationFrame(function(){i.scrollTop=a}));return}var h=a-i.scrollTop,A=h/s*10;_.set(i,requestAnimationFrame(function(){i.scrollTop+=A,i.scrollTop!==a&&y(i,a,s-10)}))}function V(i,a){var s=a.onLeftRight,h=a.onCtrlLeftRight,A=a.onUpDown,M=a.onPageUpDown,E=a.onEnter,L=i.which,S=i.ctrlKey,R=i.metaKey;switch(L){case Et.Z.LEFT:if(S||R){if(h)return h(-1),!0}else if(s)return s(-1),!0;break;case Et.Z.RIGHT:if(S||R){if(h)return h(1),!0}else if(s)return s(1),!0;break;case Et.Z.UP:if(A)return A(-1),!0;break;case Et.Z.DOWN:if(A)return A(1),!0;break;case Et.Z.PAGE_UP:if(M)return M(-1),!0;break;case Et.Z.PAGE_DOWN:if(M)return M(1),!0;break;case Et.Z.ENTER:if(E)return E(),!0;break}return!1}function l(i,a,s,h){var A=i;if(!A)switch(a){case"time":A=h?"hh:mm:ss a":"HH:mm:ss";break;case"week":A="gggg-wo";break;case"month":A="YYYY-MM";break;case"quarter":A="YYYY-[Q]Q";break;case"year":A="YYYY";break;default:A=s?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return A}function N(i,a,s){var h=i==="time"?8:10,A=typeof a=="function"?a(s.getNow()).length:a.length;return Math.max(h,A)+2}var D=null,C=new Set;function Y(i){return!D&&typeof window!="undefined"&&window.addEventListener&&(D=function(s){(0,mr.Z)(C).forEach(function(h){h(s)})},window.addEventListener("mousedown",D)),C.add(i),function(){C.delete(i),C.size===0&&(window.removeEventListener("mousedown",D),D=null)}}function ie(i){var a=i.target;if(i.composed&&a.shadowRoot){var s;return((s=i.composedPath)===null||s===void 0?void 0:s.call(i)[0])||a}return a}var xe=function(a){return a==="month"||a==="date"?"year":a},fe=function(a){return a==="date"?"month":a},Oe=function(a){return a==="month"||a==="date"?"quarter":a},We=function(a){return a==="date"?"week":a},$e={year:xe,month:fe,quarter:Oe,week:We,time:null,date:null};function j(i,a){return i.some(function(s){return s&&s.contains(a)})}function e(i){var a=i.open,s=i.value,h=i.isClickOutside,A=i.triggerOpen,M=i.forwardKeyDown,E=i.onKeyDown,L=i.blurToCancel,S=i.onSubmit,R=i.onCancel,J=i.onFocus,F=i.onBlur,k=i.changeOnBlur,H=(0,m.useState)(!1),U=(0,_e.Z)(H,2),x=U[0],Z=U[1],X=(0,m.useState)(!1),Me=(0,_e.Z)(X,2),ue=Me[0],ye=Me[1],Le=(0,m.useRef)(!1),Ie=(0,m.useRef)(!1),ce=(0,m.useRef)(!1),ht={onMouseDown:function(){Z(!0),A(!0)},onKeyDown:function(At){var wt=function(){ce.current=!0};if(E(At,wt),!ce.current){switch(At.which){case Et.Z.ENTER:{a?S()!==!1&&Z(!0):A(!0),At.preventDefault();return}case Et.Z.TAB:{x&&a&&!At.shiftKey?(Z(!1),At.preventDefault()):!x&&a&&!M(At)&&At.shiftKey&&(Z(!0),At.preventDefault());return}case Et.Z.ESC:{Z(!0),R();return}}!a&&![Et.Z.SHIFT].includes(At.which)?A(!0):x||M(At)}},onFocus:function(At){Z(!0),ye(!0),J&&J(At)},onBlur:function(At){if(Le.current||!h(document.activeElement)){Le.current=!1;return}L?setTimeout(function(){for(var wt=document,kt=wt.activeElement;kt&&kt.shadowRoot;)kt=kt.shadowRoot.activeElement;h(kt)&&R()},0):a&&(A(!1),Ie.current&&S()),ye(!1),F==null||F(At)}};return(0,m.useEffect)(function(){Ie.current=!1},[a]),(0,m.useEffect)(function(){Ie.current=!0},[s]),(0,m.useEffect)(function(){return Y(function(He){var At=ie(He),wt=h(At);a&&(wt?!k&&(!ue||wt)&&A(!1):(Le.current=!0,(0,sr.Z)(function(){Le.current=!1})))})}),[ht,{focused:ue,typing:x}]}function t(i,a){return m.useMemo(function(){return i||(a?((0,B.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(a).map(function(s){var h=(0,_e.Z)(s,2),A=h[0],M=h[1];return{label:A,value:M}})):[])},[i,a])}var r=v(34280);function o(i){var a=i.valueTexts,s=i.onTextChange,h=m.useState(""),A=(0,_e.Z)(h,2),M=A[0],E=A[1],L=m.useRef([]);L.current=a;function S(J){E(J),s(J)}function R(){E(L.current[0])}return(0,r.Z)(function(){a.every(function(J){return J!==M})&&R()},[a.join("||")]),[M,S,R]}var d=m.createContext({}),p=d,I=v(76190);function ge(i){var a=i.cellRender,s=i.monthCellRender,h=i.dateRender,A=m.useMemo(function(){if(a)return a;if(!(!s&&!h))return function(M,E){var L=M;return h&&E.type==="date"?h(L,E.today):s&&E.type==="month"?s(L,E.locale):E.originNode}},[a,s,h]);return A}function ee(i,a){for(var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",h=String(i);h.length=1?s|0:1,E=i;E<=a;E+=M)A.push({label:ee(E,2),value:E,disabled:(h||[]).includes(E)});return A}function ys(i){var a=i.generateConfig,s=i.prefixCls,h=i.operationRef,A=i.activeColumnIndex,M=i.value,E=i.showHour,L=i.showMinute,S=i.showSecond,R=i.use12Hours,J=i.hourStep,F=J===void 0?1:J,k=i.minuteStep,H=k===void 0?1:k,U=i.secondStep,x=U===void 0?1:U,Z=i.disabledHours,X=i.disabledMinutes,Me=i.disabledSeconds,ue=i.disabledTime,ye=i.hideDisabledOptions,Le=i.onSelect,Ie=i.cellRender,ce=i.locale,ht=[],He="".concat(s,"-content"),At="".concat(s,"-time-panel"),wt,kt=M?a.getHour(M):-1,Vt=kt,an=M?a.getMinute(M):-1,Ot=M?a.getSecond(M):-1,yt=a.getNow(),It=m.useMemo(function(){if(ue){var vt=ue(yt);return[vt.disabledHours,vt.disabledMinutes,vt.disabledSeconds]}return[Z,X,Me]},[Z,X,Me,ue,yt]),Tt=(0,_e.Z)(It,3),Ht=Tt[0],xt=Tt[1],$t=Tt[2],Rn=ai(0,23,F,Ht&&Ht()),Cn=(0,ln.Z)(function(){return Rn},Rn,ci);R&&(wt=Vt>=12,Vt%=12);var tr=m.useMemo(function(){if(!R)return[!1,!1];var vt=[!0,!0];return Cn.forEach(function(xn){var un=xn.disabled,Qn=xn.value;un||(Qn>=12?vt[1]=!1:vt[0]=!1)}),vt},[R,Cn]),mn=(0,_e.Z)(tr,2),Un=mn[0],en=mn[1],bn=m.useMemo(function(){return R?Cn.filter(wt?function(vt){return vt.value>=12}:function(vt){return vt.value<12}).map(function(vt){var xn=vt.value%12,un=xn===0?"12":ee(xn,2);return(0,ft.Z)((0,ft.Z)({},vt),{},{label:un,value:xn})}):Cn},[R,wt,Cn]),Gn=ai(0,59,H,xt&&xt(kt)),nr=ai(0,59,x,$t&&$t(kt,an)),Wn=Hn({value:M,generateConfig:a,disabledMinutes:xt,disabledSeconds:$t,minutes:Gn,seconds:nr,use12Hours:R});h.current={onUpDown:function(xn){var un=ht[A];if(un)for(var Qn=un.units.findIndex(function(zr){return zr.value===un.value}),rr=un.units.length,hn=1;hn2&&arguments[2]!==void 0?arguments[2]:!1;(Bt===Z||Kt)&&(c(De),ht&&ht(De),Wn&&Wn(De,it),He&&!Zn(S,De,g)&&!(H!=null&&H(De))&&He(De))},Ct=function(De){if(Wa.includes(Bt)){var it,Kt,kn=Bt==="date";switch(De===Et.Z.PAGE_UP||De===Et.Z.PAGE_DOWN?Kt=kn?S.addMonth:S.addYear:Kt=kn?S.addDate:S.addMonth,De){case Et.Z.LEFT:case Et.Z.PAGE_UP:it=Kt(ot,-1);break;case Et.Z.RIGHT:case Et.Z.PAGE_DOWN:it=Kt(ot,1);break;case Et.Z.UP:case Et.Z.DOWN:it=Kt(ot,Number("".concat(De===Et.Z.UP?"-":"").concat(kn?Jt:Wi)));break}if(it)return!(H!=null&&H(it))}return!0},Nn=function(De){if(hn.current&&hn.current.onKeyDown){var it=!0,Kt=De.which;if([Et.Z.LEFT,Et.Z.RIGHT,Et.Z.UP,Et.Z.DOWN,Et.Z.PAGE_UP,Et.Z.PAGE_DOWN,Et.Z.ENTER].includes(Kt)&&(De.preventDefault(),Kt!==Et.Z.ENTER&&Me===0&&(it=Ct(Kt))),it)return hn.current.onKeyDown(De)}return(0,B.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Xt=function(De){hn.current&&hn.current.onBlur&&hn.current.onBlur(De)};nr&&un!=="right"&&(nr.current={onKeyDown:Nn,onClose:function(){hn.current&&hn.current.onClose&&hn.current.onClose()}}),m.useEffect(function(){R&&!Vn.current&&Lt(R)},[R]),m.useEffect(function(){Vn.current=!1},[]);var Dn,or=ge({cellRender:tr,monthCellRender:Cn,dateRender:Rn}),bt=(0,ft.Z)((0,ft.Z)({},i),{},{cellRender:or,operationRef:hn,prefixCls:A,viewDate:ot,value:g,onViewDateChange:Nt,sourceMode:vn,onPanelChange:Mn,disabledDate:H});switch(delete bt.onChange,delete bt.onSelect,Bt){case"decade":Dn=m.createElement(La,(0,O.Z)({},bt,{onSelect:function(De,it){Nt(De),Ke(De,it)}}));break;case"year":Dn=m.createElement(Ga,(0,O.Z)({},bt,{onSelect:function(De,it){Nt(De),Ke(De,it)}}));break;case"month":Dn=m.createElement(Oa,(0,O.Z)({},bt,{onSelect:function(De,it){Nt(De),Ke(De,it)}}));break;case"quarter":Dn=m.createElement(Ya,(0,O.Z)({},bt,{onSelect:function(De,it){Nt(De),Ke(De,it)}}));break;case"week":Dn=m.createElement(ka,(0,O.Z)({},bt,{onSelect:function(De,it){Nt(De),Ke(De,it)}}));break;case"time":delete bt.showTime,Dn=m.createElement(Yi,(0,O.Z)({},bt,(0,I.Z)(ye)==="object"?ye:null,{onSelect:function(De,it){Nt(De),Ke(De,it)}}));break;default:ye?Dn=m.createElement(Ia,(0,O.Z)({},bt,{onSelect:function(De,it){Nt(De),Ke(De,it)}})):Dn=m.createElement(Ur,(0,O.Z)({},bt,{onSelect:function(De,it){Nt(De),Ke(De,it)}}))}var Yn,Xn,Kn=function(){var De=S.getNow(),it=Wt(S.getHour(De),S.getMinute(De),S.getSecond(De),Un?It:1,en?Ht:1,bn?$t:1),Kt=nt(S,De,it[0],it[1],it[2]);Ke(Kt,"submit")};Er||(Yn=qi(A,Bt,Ie),ye&&Bt!=="date"?Xn=null:Xn=_i({prefixCls:A,components:an,needConfirmButton:mn,okDisabled:!g||H&&H(g),locale:L,showNow:ue,onNow:mn&&Kn,onOk:function(){g&&(Ke(g,"submit",!0),Vt&&Vt(g))}}));var br;if(Le&&Bt==="date"&&Z==="date"&&!ye){var Mr=S.getNow(),Br="".concat(A,"-today-btn"),ur=H&&H(Mr);br=m.createElement("a",{className:at()(Br,ur&&"".concat(Br,"-disabled")),"aria-disabled":ur,onClick:function(){ur||Ke(Mr,"mouse",!0)}},L.today)}return m.createElement(p.Provider,{value:(0,ft.Z)((0,ft.Z)({},Gn),{},{mode:Bt,hideHeader:"hideHeader"in i?ce:Gn.hideHeader,hidePrevBtn:xn&&un==="right",hideNextBtn:xn&&un==="left"})},m.createElement("div",{tabIndex:Me,className:at()("".concat(A,"-panel"),M,(a={},(0,Se.Z)(a,"".concat(A,"-panel-has-range"),Qn&&Qn[0]&&Qn[1]),(0,Se.Z)(a,"".concat(A,"-panel-has-range-hover"),rr&&rr[0]&&rr[1]),(0,Se.Z)(a,"".concat(A,"-panel-rtl"),Ot==="rtl"),a)),style:E,onKeyDown:Nn,onBlur:Xt,onMouseDown:wt},Dn,Yn||Xn||br?m.createElement("div",{className:"".concat(A,"-footer")},Yn,Xn,br):null))}var $i=vi,pi=v(35593),ti={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Va(i){var a,s=i.prefixCls,h=i.popupElement,A=i.popupStyle,M=i.visible,E=i.dropdownClassName,L=i.dropdownAlign,S=i.transitionName,R=i.getPopupContainer,J=i.children,F=i.range,k=i.popupPlacement,H=i.direction,U="".concat(s,"-dropdown"),x=function(){return k!==void 0?k:H==="rtl"?"bottomRight":"bottomLeft"};return m.createElement(pi.Z,{showAction:[],hideAction:[],popupPlacement:x(),builtinPlacements:ti,prefixCls:U,popupTransitionName:S,popup:h,popupAlign:L,popupVisible:M,popupClassName:at()(E,(a={},(0,Se.Z)(a,"".concat(U,"-range"),F),(0,Se.Z)(a,"".concat(U,"-rtl"),H==="rtl"),a)),popupStyle:A,getPopupContainer:R},J)}var bi=Va;function ea(i){var a=i.prefixCls,s=i.presets,h=i.onClick,A=i.onHover;return s.length?m.createElement("div",{className:"".concat(a,"-presets")},m.createElement("ul",null,s.map(function(M,E){var L=M.label,S=M.value;return m.createElement("li",{key:E,onClick:function(){return h==null?void 0:h(tt(S))},onMouseEnter:function(){return A==null?void 0:A(tt(S))},onMouseLeave:function(){return A==null?void 0:A(null)}},L)}))):null}function bs(i){var a=i.picker,s=i.disabledHours,h=i.disabledMinutes,A=i.disabledSeconds;a==="time"&&(s||h||A)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ta(i,a,s){var h=(0,I.Z)(a)==="object"?a.clearIcon:s;return h||m.createElement("span",{className:"".concat(i,"-clear-btn")})}function Yt(i){var a,s=i,h=s.prefixCls,A=h===void 0?"rc-picker":h,M=s.id,E=s.name,L=s.tabIndex,S=s.style,R=s.className,J=s.dropdownClassName,F=s.dropdownAlign,k=s.popupStyle,H=s.transitionName,U=s.generateConfig,x=s.locale,Z=s.inputReadOnly,X=s.allowClear,Me=s.autoFocus,ue=s.showTime,ye=s.picker,Le=ye===void 0?"date":ye,Ie=s.format,ce=s.use12Hours,ht=s.value,He=s.defaultValue,At=s.presets,wt=s.open,kt=s.defaultOpen,Vt=s.defaultOpenValue,an=s.suffixIcon,Ot=s.clearIcon,yt=s.disabled,It=s.disabledDate,Tt=s.placeholder,Ht=s.getPopupContainer,xt=s.pickerRef,$t=s.panelRender,Rn=s.onChange,Cn=s.onOpenChange,tr=s.onFocus,mn=s.onBlur,Un=s.onMouseDown,en=s.onMouseUp,bn=s.onMouseEnter,Gn=s.onMouseLeave,nr=s.onContextMenu,Wn=s.onClick,Er=s.onKeyDown,wr=s.onSelect,vt=s.direction,xn=s.autoComplete,un=xn===void 0?"off":xn,Qn=s.inputRender,rr=s.changeOnBlur,hn=m.useRef(null),Vn=Le==="date"&&!!ue||Le==="time",zr=t(At),Sr=dt(l(Ie,Le,ue,ce)),g=m.useRef(null),c=m.useRef(null),u=m.useRef(null),st=(0,Fn.Z)(null,{value:ht,defaultValue:He}),ot=(0,_e.Z)(st,2),Lt=ot[0],Nt=ot[1],St=m.useState(Lt),Ue=(0,_e.Z)(St,2),pt=Ue[0],Bt=Ue[1],cn=m.useRef(null),An=(0,Fn.Z)(!1,{value:wt,defaultValue:kt,postState:function(Te){return yt?!1:Te},onChange:function(Te){Cn&&Cn(Te),!Te&&cn.current&&cn.current.onClose&&cn.current.onClose()}}),Ln=(0,_e.Z)(An,2),vn=Ln[0],dn=Ln[1],Mn=Rr(pt,{formatList:Sr,generateConfig:U,locale:x}),Ke=(0,_e.Z)(Mn,2),Ct=Ke[0],Nn=Ke[1],Xt=o({valueTexts:Ct,onTextChange:function(Te){var Jn=Yr(Te,{locale:x,formatList:Sr,generateConfig:U});Jn&&(!It||!It(Jn))&&Bt(Jn)}}),Dn=(0,_e.Z)(Xt,3),or=Dn[0],bt=Dn[1],Yn=Dn[2],Xn=function(Te){Bt(Te),Nt(Te),Rn&&!Zn(U,Lt,Te)&&Rn(Te,Te?on(Te,{generateConfig:U,locale:x,format:Sr[0]}):"")},Kn=function(Te){yt&&Te||dn(Te)},br=function(Te){return vn&&cn.current&&cn.current.onKeyDown?cn.current.onKeyDown(Te):((0,B.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Mr=function(){for(var Te=arguments.length,Jn=new Array(Te),Pe=0;Pek(R);case"month":return F(x)>F(R);case"week":return J(x)>J(R);default:return!Xe(L,x,R)&&L.isAfter(x,R)}return!1},[M,E[1],R,a]),U=m.useCallback(function(x){if(E[1]||M&&M(x))return!0;if(E[0]&&S)return!Xe(L,x,R)&&L.isAfter(S,x);if(!a&&S)switch(s){case"quarter":return k(x)0&&arguments[0]!==void 0?arguments[0]:!1,Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ut=null;fn&&yi&&yi[0]&&yi[1]&&x.isAfter(yi[1],yi[0])&&(ut=yi);var Pt=ce;if(ce&&(0,I.Z)(ce)==="object"&&ce.defaultValue){var Sn=ce.defaultValue;Pt=(0,ft.Z)((0,ft.Z)({},ce),{},{defaultValue:pe(Sn,Je)||void 0})}return m.createElement(Ee.Provider,{value:{inRange:!0,panelPosition:Ft,rangedValue:il||ke,hoverRangedValue:ut}},m.createElement($i,(0,O.Z)({},i,Ze,{cellRender:Cl,showTime:Pt,mode:kn[Je],generateConfig:x,style:void 0,direction:ot,disabledDate:Je===0?cr:dr,disabledTime:function(Qr){return It?It(Qr,Je===0?"start":"end"):!1},className:at()((0,Se.Z)({},"".concat(E,"-panel-focused"),Je===0?!Hs:!Ks)),value:pe(ke,Je),locale:Z,tabIndex:-1,onPanelChange:function(Qr,oi){Je===0&&As(!0),Je===1&&ps(!0),xr(te(kn,oi,Je),te(ke,Qr,Je));var ui=Qr;Ft==="right"&&kn[Je]===oi&&(ui=En(ui,oi,x,-1)),Mr(ui,Je)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Je===0?pe(ke,1):pe(ke,0)})))}var li=0,Js=0;if(Je&&An.current&&vn.current&&cn.current&&Ke.current){li=An.current.offsetWidth+vn.current.offsetWidth;var xl=Ke.current.offsetLeft>li?Ke.current.offsetLeft-li:Ke.current.offsetLeft,qs=cn.current.offsetWidth,_s=Ke.current.offsetWidth;qs&&_s&&li>qs-_s-(ot==="rtl"?0:xl)&&(Js=li)}var Ll=ot==="rtl"?{right:li}:{left:li};function Nl(){var Ft,Ze=qi(E,kn[Je],Wn),ut=_i({prefixCls:E,components:u,needConfirmButton:pt,okDisabled:!pe(ke,Je)||yt&&yt(ke[Je]),locale:Z,onOk:function(){var Xr=pe(ke,Je);Xr&&(Pe(ke,Je),g==null||g(ke),pn(!1,Je,"confirm"))}});if(Ie!=="time"&&!ce){var Pt=br(Je),Sn=En(Pt,Ie,x),Ii=kn[Je],Qr=Ii===Ie,oi=ws(Qr?"left":!1,{pickerValue:Pt,onPickerValueChange:function(Xr){Mr(Xr,Je)}}),ui=ws("right",{pickerValue:Sn,onPickerValueChange:function(Xr){Mr(En(Xr,Ie,x,-1),Je)}});ot==="rtl"?Ft=m.createElement(m.Fragment,null,ui,Qr&&oi):Ft=m.createElement(m.Fragment,null,oi,Qr&&ui)}else Ft=ws();var Fi=m.createElement("div",{className:"".concat(E,"-panel-layout")},m.createElement(ea,{prefixCls:E,presets:bl,onClick:function(Xr){Pe(Xr,null),pn(!1,Je,"preset")},onHover:function(Xr){al(Xr)}}),m.createElement("div",null,m.createElement("div",{className:"".concat(E,"-panels")},Ft),(Ze||ut)&&m.createElement("div",{className:"".concat(E,"-footer")},Ze,ut)));return $t&&(Fi=$t(Fi)),m.createElement("div",{className:"".concat(E,"-panel-container"),style:{marginLeft:Js},ref:cn,onMouseDown:function(Xr){Xr.preventDefault()}},Fi)}var Sl=m.createElement("div",{className:at()("".concat(E,"-range-wrapper"),"".concat(E,"-").concat(Ie,"-range-wrapper")),style:{minWidth:ve}},m.createElement("div",{ref:Ke,className:"".concat(E,"-range-arrow"),style:Ll}),Nl()),$s;Un&&($s=m.createElement("span",{className:"".concat(E,"-suffix"),onMouseDown:function(Ze){Ze.preventDefault()}},Un));var Bl=ta(E,mn,en),jl=m.createElement("span",{onMouseDown:function(Ze){Ze.preventDefault(),Ze.stopPropagation()},onMouseUp:function(Ze){Ze.preventDefault(),Ze.stopPropagation();var ut=bt;Xt[0]||(ut=te(ut,null,0)),Xt[1]||(ut=te(ut,null,1)),Pe(ut,null),pn(!1,Je,"clear")},className:"".concat(E,"-clear"),role:"button"},Bl),Ol=mn&&(pe(bt,0)&&!Xt[0]||pe(bt,1)&&!Xt[1]),el={size:N(Ie,Ct[0],x)},Ms=0,Ds=0;An.current&&Ln.current&&vn.current&&(Je===0?Ds=An.current.offsetWidth:(Ms=li,Ds=Ln.current.offsetWidth));var Rl=ot==="rtl"?{right:Ms}:{left:Ms},zl=function(Ze,ut){var Pt=te(ke,Ze,Je);if(ut==="submit"||ut!=="key"&&!pt){Pe(Pt,Je),Je===0?As():ps();var Sn=Je===0?1:0;Xt[Sn]?pn(!1,!1,"confirm"):pn(!1,Je,"confirm")}else De(Pt)};return m.createElement(p.Provider,{value:{operationRef:Nn,hideHeader:Ie==="time",onDateMouseEnter:dl,onDateMouseLeave:fl,hideRanges:!0,onSelect:zl,open:fn}},m.createElement(bi,{visible:fn,popupElement:Sl,popupStyle:J,prefixCls:E,dropdownClassName:F,dropdownAlign:H,getPopupContainer:U,transitionName:k,range:!0,direction:ot},m.createElement("div",(0,O.Z)({ref:Bt,className:at()(E,"".concat(E,"-range"),R,(a={},(0,Se.Z)(a,"".concat(E,"-disabled"),Xt[0]&&Xt[1]),(0,Se.Z)(a,"".concat(E,"-focused"),Je===0?Vs:Xs),(0,Se.Z)(a,"".concat(E,"-rtl"),ot==="rtl"),a)),style:S,onClick:Ml,onMouseEnter:Vn,onMouseLeave:zr,onMouseDown:Dl,onMouseUp:hn},(0,Ar.Z)(i,{aria:!0,data:!0})),m.createElement("div",{className:at()("".concat(E,"-input"),(s={},(0,Se.Z)(s,"".concat(E,"-input-active"),Je===0),(0,Se.Z)(s,"".concat(E,"-input-placeholder"),!!Zs),s)),ref:An},m.createElement("input",(0,O.Z)({id:L,disabled:Xt[0],readOnly:Gn||typeof Ct[0]=="function"||!Hs,value:Zs||mi,onChange:function(Ze){Ri(Ze.target.value)},autoFocus:Me,placeholder:pe(X,0)||"",ref:dn},pl,el,{autoComplete:St}))),m.createElement("div",{className:"".concat(E,"-range-separator"),ref:vn},At),m.createElement("div",{className:at()("".concat(E,"-input"),(h={},(0,Se.Z)(h,"".concat(E,"-input-active"),Je===1),(0,Se.Z)(h,"".concat(E,"-input-placeholder"),!!Ys),h)),ref:Ln},m.createElement("input",(0,O.Z)({disabled:Xt[1],readOnly:Gn||typeof Ct[0]=="function"||!Ks,value:Ys||Ma,onChange:function(Ze){js(Ze.target.value)},placeholder:pe(X,1)||"",ref:Mn},wl,el,{autoComplete:St}))),m.createElement("div",{className:"".concat(E,"-active-bar"),style:(0,ft.Z)((0,ft.Z)({},Rl),{},{width:Ds,position:"absolute"})}),$s,Ol&&jl)))}var aa=function(i){(0,yr.Z)(s,i);var a=(0,Ir.Z)(s);function s(){var h;(0,er.Z)(this,s);for(var A=arguments.length,M=new Array(A),E=0;E{const{lineHeight:A}=i,M=Math.floor(s*A)+2,E=Math.max((a-M)/2,0),L=Math.max(a-M-E,0);return{padding:`${E}px ${h}px ${L}px`}},fa=i=>{const{componentCls:a,pickerCellCls:s,pickerCellInnerCls:h,cellHeight:A,motionDurationSlow:M,borderRadiusSM:E,motionDurationMid:L,cellHoverBg:S,lineWidth:R,lineType:J,colorPrimary:F,cellActiveWithRangeBg:k,colorTextLightSolid:H,controlHeightSM:U,cellRangeBorderColor:x,pickerCellBorderGap:Z,cellHoverWithRangeBg:X,cellWidth:Me,colorTextDisabled:ue,cellBgDisabled:ye}=i;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:A,transform:"translateY(-50%)",transition:`all ${M}`,content:'""'},[h]:{position:"relative",zIndex:2,display:"inline-block",minWidth:A,height:A,lineHeight:`${A}px`,borderRadius:E,transition:`background ${L}, border ${L}`},"&-range-hover-start, &-range-hover-end":{[h]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${s}-in-view), &:hover:not(${s}-selected):not(${s}-range-start):not(${s}-range-end):not(${s}-range-hover-start):not(${s}-range-hover-end)`]:{[h]:{background:S}},[`&-in-view${s}-today ${h}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${R}px ${J} ${F}`,borderRadius:E,content:'""'}},[`&-in-view${s}-in-range`]:{position:"relative","&::before":{background:k}},[`&-in-view${s}-selected ${h}, &-in-view${s}-range-start ${h}, diff --git a/p__knowledgegraph__Detail__id.b2c787ab.async.js b/p__knowledgegraph__Detail__id.99131f9a.async.js similarity index 99% rename from p__knowledgegraph__Detail__id.b2c787ab.async.js rename to p__knowledgegraph__Detail__id.99131f9a.async.js index 0fc3d40e22..73d20b0469 100644 --- a/p__knowledgegraph__Detail__id.b2c787ab.async.js +++ b/p__knowledgegraph__Detail__id.99131f9a.async.js @@ -113,7 +113,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],se=ie=>{te.current.setValue(te.current.getValue()+" "+ie.value+" ")},de=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:be.createElement(He.Z,{className:ge.Z.lists,gutter:[10,10]},ne.map((ie,ue)=>be.createElement(Fe.Z,{flex:"110px",className:ge.Z.item},be.createElement("div",null,be.createElement(we.Z,{value:`$$${ie.value}$$`}),ie.name),be.createElement("div",{className:ge.Z.children},ie.children.map((ve,Se)=>be.createElement("div",{key:Se},be.createElement("h1",null,ve.name),be.createElement(He.Z,{gutter:[10,10]},ve.data.map((De,Re)=>be.createElement(Fe.Z,{key:Re,onClick:()=>se(De),className:ge.Z.diamond},be.createElement(we.Z,{value:"`$$"+De.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:be.createElement(He.Z,{className:ge.Z.lists,gutter:[10,10]},le.map((ie,ue)=>be.createElement(Fe.Z,{flex:"110px",className:ge.Z.item},be.createElement("div",null,be.createElement(we.Z,{value:"`$$"+ie.value+"$$`"}),ie.name),be.createElement("div",{className:ge.Z.children},ie.children.map((ve,Se)=>be.createElement("div",{key:Se},ve.name&&be.createElement("h1",null,ve.name),be.createElement(He.Z,{gutter:[10,10]},ve.data.map((De,Re)=>be.createElement(Fe.Z,{key:Re,onClick:()=>se(De),className:ge.Z.diamond},be.createElement(we.Z,{value:"`$$"+De.value+"$$`"}))))))))))}],he=()=>{var ie=document.createElement("div");ie.innerHTML=te.current.getValue();var ue=ie.innerText;return pe&&pe(ue),ue};return(0,Ie.useImperativeHandle)(ce,()=>({getData:he})),be.createElement("div",{className:ge.Z.mathWrap},be.createElement(Pe.default,{defaultActiveKey:"1",items:de}),be.createElement("math-field",{locale:"zh_cn",className:ge.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:te,style:{width:800,marginTop:30,fontSize:18}},xe||""),Ee&&be.createElement("div",{className:ge.Z.button},be.createElement(_e.ZP,{size:"large",onClick:he,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Tt.Z=Me},4324:function(St,Tt,Te){"use strict";Te.d(Tt,{Q:function(){return we}});var Ie=Te(59301),He=Te(57809),Fe=Te(5112),Pe=Te(5871),_e=Te(59301),we=(ye=>(ye[ye.Number=1]="Number",ye[ye.Percent=2]="Percent",ye))(we||{});const ge=({value:ye,onChange:be,disabled:Me,hidePercentOption:pe=!1,percentType:Ee="select"})=>{const xe=(0,Ie.useMemo)(()=>pe?1:2,[pe]),[ce,te]=(0,Ie.useState)(xe);console.log(ce);const ne=se=>ye.type===1?`${se}\u5206`:`${se}%`,le=(0,Ie.useCallback)(se=>{if(ce===1){const de=se.replace("\u5206","");return isNaN(parseInt(de,10))?0:de}else return se.replace("%","")},[ce]);return(0,Ie.useEffect)(()=>{te(ye.type)},[ye]),_e.createElement("div",{style:{display:"flex",alignItems:"center"}},Ee=="select"&&_e.createElement(He.default,{size:"large",onChange:se=>{te(se),be({type:se,inputValue:se===1?5:20})},value:ce||xe,style:{width:100},options:pe?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Me}),Ee=="radio"&&_e.createElement(Fe.ZP.Group,{size:"large",onChange:se=>{const de=se.target.value;te(de),be({type:de,inputValue:de===1?5:20})},value:ce||xe,disabled:Me},!pe&&_e.createElement(Fe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),_e.createElement(Fe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Ee=="radio"&&_e.createElement("div",{style:{marginRight:"10px",color:"#000000"}},ye.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),_e.createElement(Pe.Z,{size:"large",disabled:Me,value:ye.inputValue,style:{width:"120px"},parser:le,addonAfter:ye.type===1?"\u5206":"%",max:ce===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:se=>{be({type:ce,inputValue:se})}}),Ee=="radio"&&ye.type==2&&_e.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Tt.Z=ge},46919:function(St,Tt,Te){"use strict";var Ie=Te(59301),He=Te(78241),Fe=Te(95237),Pe=Te(57809),_e=Te(92832),we=Te(88522),ge=Te(3113),ye=Te(24905),be=Te(6848),Me=Te(8591),pe=Te(1710),Ee=Te(65582),xe=Te(66649),ce=Te.n(xe),te=Te(26724),ne=Te.n(te),le=Te(58143),se=Te(33270),de=Te(3918),he=Te(70031),ie=Te(59301),ue=Object.defineProperty,ve=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ze=(ft,nt,dt)=>nt in ft?ue(ft,nt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):ft[nt]=dt,Ge=(ft,nt)=>{for(var dt in nt||(nt={}))Re.call(nt,dt)&&ze(ft,dt,nt[dt]);if(De)for(var dt of De(nt))Ne.call(nt,dt)&&ze(ft,dt,nt[dt]);return ft},Je=(ft,nt)=>ve(ft,Se(nt)),Qe=(ft,nt,dt)=>new Promise((yt,gt)=>{var ht=Qt=>{try{Ut(dt.next(Qt))}catch(en){gt(en)}},mt=Qt=>{try{Ut(dt.throw(Qt))}catch(en){gt(en)}},Ut=Qt=>Qt.done?yt(Qt.value):Promise.resolve(Qt.value).then(ht,mt);Ut((dt=dt.apply(ft,nt)).next())});const rt=[];function $e({onSearch:ft,schools:nt}){return ie.createElement(He.default,{colon:!1,layout:"horizontal",onFinish:ft,initialValues:{keyword:"",school_name:"",search_type:"1"}},ie.createElement(Fe.Z,{style:{flexWrap:"nowrap"}},ie.createElement(He.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},ie.createElement(Pe.default,{popupClassName:he.Z.selectdown,style:{width:106}},ie.createElement(Pe.default.Option,{value:"1"},"\u59D3\u540D"),ie.createElement(Pe.default.Option,{value:"2"},"\u624B\u673A\u53F7"),ie.createElement(Pe.default.Option,{value:"3"},"\u90AE\u7BB1"))),ie.createElement(He.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},ie.createElement(_e.default,{allowClear:!0,style:{width:300},size:"middle"})),ie.createElement(He.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},ie.createElement(we.Z,{options:nt,style:{width:300},size:"middle",showSearch:!0,filterOption:(dt,yt)=>yt.value.toUpperCase().indexOf(dt.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),ie.createElement(ge.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var qe=(ft=>(ft[ft.INITDATA=0]="INITDATA",ft[ft.INITSCHOOLS=1]="INITSCHOOLS",ft[ft.SHOWLOADING=2]="SHOWLOADING",ft[ft.SELECTEDIDS=3]="SELECTEDIDS",ft[ft.SETQUERY=4]="SETQUERY",ft[ft.SETPAGE=5]="SETPAGE",ft))(qe||{});function ut(ft,nt){switch(nt.type){case 0:return Ge(Ge({},ft),nt.payload);case 4:return Ge(Ge({},ft),nt.payload);case 5:return Je(Ge({},ft),{page:nt.payload,reload:!1});case 2:return Je(Ge({},ft),{loading:nt.payload});case 1:return Je(Ge({},ft),{schools:nt.payload});case 3:return Je(Ge({},ft),{selectedIds:nt.payload});default:throw new Error}}const it={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};Tt.Z=({onSelect:ft,onCancel:nt,container_id:dt,container_type:yt})=>{const[gt,ht]=(0,Ie.useReducer)(ut,it),{data:mt,schools:Ut,loading:Qt,selectedIds:en,page:mn,count:Bt,query:tn,reload:on}=gt;(0,Ie.useEffect)(()=>{function At(){return Qe(this,null,function*(){const{users:Yt,user_count:vt}=yield(0,se.nQ)(Je(Ge({},tn),{page:mn,container_type:yt,container_id:dt,display_aliases:!0}));ht({type:0,payload:{data:on?Yt:[...mt,...Yt],count:vt}})})}tn&&At()},[mn,tn,on,dt,yt]),(0,Ie.useEffect)(()=>{function At(){return Qe(this,null,function*(){const{school_names:Yt}=yield(0,se.K$)({display_aliases:!0});ht({type:1,payload:Yt.map(vt=>({value:vt}))})})}At()},[]);const Dn=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(At,Yt)=>ie.createElement(ye.default,{value:Yt.numid,checked:en.includes(Yt.numid),disabled:!!At})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(At,Yt)=>ie.createElement("div",null,ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement(Ee.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${Yt.login}`,target:"_blank"},At||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:At=>ie.createElement("span",{style:{color:"#000000"}},At?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},ce()(At).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:At=>{if(At===1)return ie.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function In(At){ht({type:4,payload:{page:1,reload:!0,query:At}})}function sn(At){ht({type:5,payload:At})}function nn(At){let Yt=en.indexOf(At);Yt>=0?en.splice(Yt,1):en.push(At),ht({type:3,payload:[...en]})}function Gt(){en.length===0?Me.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(ft(en,dt),ht({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const Ot=Bt>mn*10;return ie.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},ie.createElement($e,{onSearch:In,schools:Ut}),tn?ie.createElement(ie.Fragment,null,ie.createElement("div",{className:"flexd-table-header mt20"},ie.createElement(de.Gi,null,ie.createElement(pe.default,{pagination:!1,dataSource:rt,columns:Dn}))),ie.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},ie.createElement(ne(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:sn,hasMore:Ot,useWindow:!1},ie.createElement(de.Gi,null,ie.createElement(pe.default,{loading:Qt,showHeader:!1,pagination:!1,dataSource:mt,columns:Dn,onRow:At=>({onClick:Yt=>{At.added!==1&&nn(At.numid)}})})))),ie.createElement("div",{className:"flex-container flex-end"},ie.createElement(ge.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:nt},"\u53D6\u6D88"),ie.createElement(ge.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:Gt},"\u786E\u5B9A"))):ie.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},ie.createElement("img",{src:le,width:"100",alt:""}),ie.createElement("br",null),ie.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},83028:function(St,Tt,Te){"use strict";Te.d(Tt,{Z:function(){return ye}});var Ie=Te(59301),He={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Fe=Te(43418),Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",we=(be,Me,pe)=>new Promise((Ee,xe)=>{var ce=le=>{try{ne(pe.next(le))}catch(se){xe(se)}},te=le=>{try{ne(pe.throw(le))}catch(se){xe(se)}},ne=le=>le.done?Ee(le.value):Promise.resolve(le.value).then(ce,te);ne((pe=pe.apply(be,Me)).next())}),ye=({type:be,resdata:Me,onok:pe,oktext:Ee,okloading:xe})=>{const[ce,te]=(0,Ie.useState)(!1),{can_copy_list:ne,can_copy_num:le,challenge_type:se,course_data_list:de,no_copy_list:he,no_copy_num:ie,no_use_list:ue,no_use_num:ve,repeat_shixun_num:Se,student_count:De,total_num:Re,use_num:Ne}=Me;let ze=le>0||be==="exercise";(0,Ie.useEffect)(()=>{(Me==null?void 0:Me.student_count)>0&&te(!0)},[Me]),console.log("---11",xe),(0,Ie.useEffect)(()=>{xe||te(!1)},[xe]);const Ge=()=>{if(be==="exercise"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(be==="exercise"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixun"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixun"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="subject"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="subject"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",Ie.createElement("span",{className:He.orangeColor},De)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",Ie.createElement("span",{className:He.orangeColor},Ne)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="exercisepush")return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(be==="shixunpush"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixunpush"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Je=()=>{if(be==="exercise"||be==="subject"||be==="exercisepush"||be==="shixunpush")return Ie.createElement("div",{style:{marginTop:20}},ie>0&&Ie.createElement("div",null,Ie.createElement("span",{className:He.flex},Ie.createElement("img",{src:_e,style:{width:14}}),Ie.createElement("span",{className:He.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Ie.createElement("div",{className:He.statusbody},be==="exercise"&&Ie.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(be==="subject"||be==="exercisepush")&&Ie.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&Ie.createElement("span",{className:He.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),be==="shixunpush"&&Ie.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&Ie.createElement("span",{className:He.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ie.createElement("div",null,he==null?void 0:he.map((Qe,rt)=>Ie.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",rt+1!==ie&&"\u3001"))))),le>0&&Ie.createElement("div",{style:{marginTop:20}},Ie.createElement("span",{className:He.flex},Ie.createElement("img",{src:Pe,style:{width:14}}),Ie.createElement("span",{className:He.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Ie.createElement("div",{className:He.statusbody},be==="exercise"&&Ie.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(be==="subject"||be==="exercisepush")&&Ie.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),be==="shixunpush"&&Ie.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ie.createElement("div",null,ne==null?void 0:ne.map((Qe,rt)=>Ie.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",rt+1!==le&&"\u3001"))))));if(be==="shixun")return Ie.createElement("div",{style:{marginTop:20}},le>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return Ie.createElement(Fe.default,{open:ce,onCancel:()=>{te(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ze&&"none"}},zIndex:1003,confirmLoading:xe,okText:ze?Ee:"\u6211\u77E5\u9053\u4E86",onOk:()=>we(void 0,null,function*(){ze?yield pe([...ne,...ue]):te(!1)})},Ie.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ge(),Je()))}},44080:function(St,Tt,Te){"use strict";Te.d(Tt,{Z:function(){return te}});var Ie=Te(59301),He=Te(8591),Fe=Te(38854),Pe=Te(73217),_e=Te(17030),we=Te(41867),ge=Te(56102),ye=Te(84056),be={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},Me=(ne,le,se)=>new Promise((de,he)=>{var ie=Se=>{try{ve(se.next(Se))}catch(De){he(De)}},ue=Se=>{try{ve(se.throw(Se))}catch(De){he(De)}},ve=Se=>Se.done?de(Se.value):Promise.resolve(Se.value).then(ie,ue);ve((se=se.apply(ne,le)).next())});function pe(ne){if(isNaN(ne))return{minutes:"00",seconds:"00"};const le=new Date(ne*1e3).toISOString().substr(11,8);return{hour:le.substr(0,2),minutes:le.substr(3,2),seconds:le.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Ee(ne,le){return ne-le}function xe(ne){ne.sort(Ee);let le=0;for(let se=0;se{},handlePlay:Se=()=>{},handlePlayEnded:De=()=>{},autoPlay:Re=!1,onPlayEnded:Ne=()=>{},isShowWaterMark:ze=!0},Ge)=>{var Je;const rt=((Je=le==null?void 0:le.split("."))==null?void 0:Je.pop())==="flv",$e=(0,Ie.useRef)(),qe=(0,Ie.useRef)(),ut=(0,Ie.useRef)(),it=(0,Ie.useRef)(),ft=(0,Ie.useRef)(),nt=(0,Ie.useRef)(),dt=(0,Ie.useRef)(),yt=(0,Ie.useRef)(),gt=(0,Ie.useRef)(),ht=(0,Ie.useRef)(),mt=(0,Ie.useRef)(),Ut=(0,Ie.useRef)(),Qt=(0,Ie.useRef)(),en=(0,Ie.useRef)(),mn=navigator.userAgent.toLowerCase().match(ce),Bt=mn?mn[0]:"pc",tn=(0,Ie.useRef)(!1),on=(0,we.eY)();let Dn=0,In=0,sn=0,nn=null,Gt=!1,Ot=20,At=1,Yt=!1,vt=!1,xt=[];(0,Ie.useImperativeHandle)(Ge,()=>({getLastUpdatedTime:()=>$e.current.currentTime,getDuration:()=>$e.current.duration})),He.ZP.config({maxCount:1,getContainer:()=>ut.current});const Xt=(0,Ie.useCallback)((nr,er=!1)=>{let $t={point:$e.current.currentTime};nn?($t.log_id=nn,$t.watch_duration=xe(xt),$t.total_duration=In):(ie?($t.video_id=parseInt(de,10),$t.course_id=ie):$t.video_id=de,$t.duration=Dn,$t.device=Bt),er&&($t.ed="1");function gn(){return Me(this,null,function*(){Yt=!0,nn=yield he==null?void 0:he($t),Yt=!1,nr&&nr()})}gn()},[de,ie]);(0,Ie.useEffect)(()=>{$e.current&&(it.current.style.display="none",ft.current.style.display="block"),He.ZP.destroy();let nr=null;return Pe.Z.isSupported&&rt&&le&&(le==null?void 0:le.indexOf(".m3u8"))<0?(nr=Pe.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:le,muted:!1}),$e.current&&(nr.attachMediaElement($e.current),nr.load())):$e.current.setAttribute("src",le),Mt(),()=>{nr&&(nr.unload(),nr.pause(),nr.destroy(),nr=null)}},[$e,rt,le]);function Rt(){$e.current.paused?(it.current.style.display="none",ft.current.style.display="block"):(it.current.style.display="block",ft.current.style.display="none")}function Mt(){mt.current.style.display="none",Qt.current.style.display="none",Ut.current.style.display="none",$e.current.muted||$e.current.volume===0?mt.current.style.display="block":$e.current.volume>0&&$e.current.volume<=.5?Qt.current.style.display="block":Ut.current.style.display="block"}(0,Ie.useEffect)(()=>{const nr=document.getElementById("play"),er=document.querySelectorAll(".playback-icons use");function $t(){Se(),ue&&!tn.current&&($e.current.currentTime=ue),tn.current=!0,xt.push($e.current.currentTime),Gt||(Gt=!0,se&&Xt())}function gn(){return Me(this,null,function*(){Rt(),xt.push($e.current.currentTime),se&&Xt(()=>{nn=null,sn=0,Gt=!1,Yt=!1,vt=!1,xt=[],In=0,At=1},!0),Ne()})}function jn(){nt.current.value=Math.round($e.current.currentTime),dt.current.value=Math.round($e.current.currentTime)}function Ln(){const Zr=pe(Math.round($e.current.currentTime));gt.current.innerText=`${Zr.hour>0?Zr.hour+":":""}${Zr.minutes}:${Zr.seconds}`,gt.current.setAttribute("datetime",`${Zr.hour>0?" "+Zr.hour+" ":""}${Zr.minutes}m ${Zr.seconds}s`)}function xr(){var Zr,Ya,li,mr,Sr,Sa,Fn;const gr=Math.round((Zr=$e.current)==null?void 0:Zr.duration);(li=(Ya=nt.current)==null?void 0:Ya.setAttribute)==null||li.call(Ya,"max",gr),(Sr=(mr=dt.current)==null?void 0:mr.setAttribute)==null||Sr.call(mr,"max",gr);const Mr=pe(gr);yt.current&&(yt.current.innerText=`${Mr.hour>0?Mr.hour+":":""}${Mr.minutes}:${Mr.seconds}`,(Fn=(Sa=yt.current).setAttribute)==null||Fn.call(Sa,"datetime",`${Mr.hour>0?" "+Mr.hour+" ":""}${Mr.minutes}m ${Mr.seconds}s`))}function Wr(){try{const Zr=Math.round($e.current.duration);nt.current.setAttribute("max",Zr),dt.current.setAttribute("max",Zr);const Ya=pe(Zr);yt.current.innerText=`${Ya.hour>0?Ya.hour+":":""}${Ya.minutes}:${Ya.seconds}`,yt.current.setAttribute("datetime",`${Ya.hour>0?" "+Ya.hour+" ":""}${Ya.minutes}m ${Ya.seconds}s`),jn(),Ln();const{width:li,height:mr,x:Sr,y:Sa}=qe.current.getBoundingClientRect();if(Sr<0||Sa<0||!li)return;if(!vt){let Fn=$e.current.currentTime,gr=Fn-sn;Math.abs(gr)<10?(In+=Math.abs(gr),sn=Fn,Yt||In-At*Ot>=0&&(At++,xt.push(sn),se&&Xt())):(sn=Fn,se&&Xt())}}catch(Zr){console.log(Zr)}}function Ir(){vt=!0}function Vr(){$e.current.playing&&xt.push($e.current.currentTime,sn),sn=$e.current.currentTime,vt=!1}function Da(){Dn=$e.current.duration,Dn<=20&&(Ot=Dn/3),$e.current.addEventListener("play",$t)}function Xa(Zr){Zr.preventDefault(),(0,ye.vp)()?($e.current.style.width="100%",$e.current.style.height="100%"):$e.current.style.cssText=""}function Ba(){ve()}function Ia(Zr){if(!ne){He.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Ya=Zr.target.dataset.seek?Zr.target.dataset.seek:Zr.target.value;$e.current.currentTime=Ya,dt.current.value=Ya,nt.current.value=Ya}function Si(Zr){const Ya=Math.round(Zr.offsetX/Zr.target.clientWidth*parseInt(Zr.target.getAttribute("max"),10));nt.current.setAttribute("data-seek",Ya);const li=pe(Ya);ht.current.textContent=`${li.hour>0?li.hour+":":""}${li.minutes}:${li.seconds}`;const mr=$e.current.getBoundingClientRect();ht.current.style.left=`${Zr.pageX-mr.left}px`}function za(Zr){switch(Zr.code){case"Space":Zr.preventDefault(),Gn();break;case"ArrowRight":if(Zr.preventDefault(),!ne){He.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if($e.current.currentTime>=$e.current.duration)break;$e.current.currentTime=parseInt($e.current.currentTime)+5,jn();break;case"ArrowLeft":if(Zr.preventDefault(),!ne){He.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if($e.current.currentTime===0)break;$e.current.currentTime=parseInt($e.current.currentTime)-5,jn();break;case"ArrowUp":Zr.preventDefault(),$e.current.volume<1&&($e.current.volume=(parseInt($e.current.volume*10)+1)/10);break;case"ArrowDown":Zr.preventDefault(),$e.current.volume>0&&($e.current.volume=(parseInt($e.current.volume*10)-1)/10);break}}return ut.current.addEventListener((0,ye.gH)(),Xa),$e.current.addEventListener("canplay",Da),$e.current.addEventListener("ended",gn),$e.current.addEventListener("seeking",Ir),$e.current.addEventListener("seeked",Vr),$e.current.addEventListener("loadedmetadata",xr),nt.current.addEventListener("mousemove",Si),nt.current.addEventListener("input",Ia),$e.current.addEventListener("timeupdate",Wr),$e.current.addEventListener("pause",Ba),$e.current.addEventListener("volumechange",Mt),document.addEventListener("keydown",za),()=>{var Zr,Ya,li,mr,Sr,Sa,Fn,gr,Mr,jr,ha,bt;(Zr=$e.current)==null||Zr.removeEventListener("canplay",Da),(Ya=$e.current)==null||Ya.removeEventListener("play",$t),(li=$e.current)==null||li.removeEventListener("ended",gn),(mr=$e.current)==null||mr.removeEventListener("seeking",Ir),(Sr=$e.current)==null||Sr.removeEventListener("seeked",Vr),(Sa=nt.current)==null||Sa.removeEventListener("mousemove",Si),(Fn=nt.current)==null||Fn.removeEventListener("input",Ia),(gr=$e.current)==null||gr.removeEventListener("timeupdate",Wr),(Mr=$e.current)==null||Mr.removeEventListener("pause",Ba),(jr=$e.current)==null||jr.removeEventListener("loadedmetadata",xr),(ha=$e.current)==null||ha.removeEventListener("volumechange",Mt),document.removeEventListener("keydown",za),(bt=$e.current)!=null&&bt.playing&&(xt.push(sn,$e.current.currentTime),se&&Xt())}},[$e,le]),(0,Ie.useEffect)(()=>{if($e.current.onended=()=>{De($e)},$e.current.oncontextmenu=()=>!1,(le==null?void 0:le.indexOf(".m3u8"))>-1){if($e.current.canPlayType("application/vnd.apple.mpegurl"))$e.current.src=le;else if(_e.ZP.isSupported()){var nr=new _e.ZP;nr.loadSource(le),nr.attachMedia($e.current)}}},[le]);const[ln,Un]=(0,Ie.useState)(1),Gn=()=>{$e.current.paused||$e.current.ended?$e.current.play():$e.current.pause(),Rt()};function Hn(){$e.current.muted=!$e.current.muted,$e.current.muted?(en.current.setAttribute("data-volume",volume.value),en.current.value=0):en.current.value=en.current.dataset.volume}return Ie.createElement("div",{style:{position:"relative"},ref:ut},Ie.createElement("div",{ref:qe,className:`${be.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${be.animate__loop}`},ze&&on?on.login:" "),Ie.createElement("div",{className:be.container},Ie.createElement("div",{className:be["video-container"],id:"video-container"},Ie.createElement("div",{className:be["playback-animation"],id:"playback-animation"},Ie.createElement("svg",{className:be["playback-icons"]},Ie.createElement("use",{className:"hidden",href:"#play-icon"}),Ie.createElement("use",{href:"#pause"}))),Ie.createElement("video",{className:be.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:$e,autoPlay:Re}),Ie.createElement("div",{className:`${be["video-controls"]} `,id:"video-controls"},Ie.createElement("div",{className:be["bottom-controls"]},Ie.createElement("div",{className:be["left-controls"]},Ie.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Gn},Ie.createElement("svg",{className:be["playback-icons"]},Ie.createElement("use",{ref:ft,href:"#play-icon"}),Ie.createElement("use",{ref:it,style:{display:"none"},href:"#pause"}))),Ie.createElement("div",{className:be.time},Ie.createElement("time",{id:"time-elapsed",ref:gt},"00:00"),Ie.createElement("span",null," / "),Ie.createElement("time",{id:"duration",ref:yt},"00:00"))),Ie.createElement("div",{className:be["right-controls"]},ne&&Ie.createElement(Fe.Z,{placement:"top",overlayClassName:be.rateOverlay,getPopupContainer:nr=>nr.parentNode,menu:{items:[{key:"1",label:Ie.createElement("span",{onClick:()=>{Un(1),$e.current.playbackRate=1}},"1.0x")},{key:"2",label:Ie.createElement("span",{onClick:()=>{Un(1.5),$e.current.playbackRate=1.5}},"1.5x")},{key:"3",label:Ie.createElement("span",{onClick:()=>{Un(2),$e.current.playbackRate=2}},"2.0x")}]}},Ie.createElement("div",{className:`${be.controlText} mr5`},"\u500D\u901F")),Ie.createElement(ge.CopyToClipboard,{text:le,onCopy:()=>He.ZP.success("\u590D\u5236\u6210\u529F")},Ie.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},Ie.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),Ie.createElement("div",{className:be["volume-controls"]},Ie.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:be["volume-button"],id:"volume-button",onClick:Hn},Ie.createElement("i",{ref:mt,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),Ie.createElement("i",{ref:Qt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),Ie.createElement("i",{ref:Ut,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),Ie.createElement("input",{className:be.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:en,style:{display:"none"},onClick:Mt})),Ie.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:be["fullscreen-button"],onClick:()=>{(0,ye.vp)()?(0,ye.BU)():(0,ye.Dj)(ut.current)}},Ie.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),Ie.createElement("div",{className:be["video-progress"]},Ie.createElement("progress",{ref:dt,value:"0",min:"0"}),Ie.createElement("input",{className:be.seek,ref:nt,value:"0",min:"0",type:"range",step:"1"}),Ie.createElement("div",{className:be["seek-tooltip"],ref:ht,id:"seek-tooltip"},"00:00"))))),Ie.createElement("svg",{style:{display:"none"}},Ie.createElement("defs",null,Ie.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),Ie.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),Ie.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),Ie.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),Ie.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),Ie.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),Ie.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),Ie.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},85533:function(St,Tt,Te){"use strict";Te.d(Tt,{h:function(){return ie}});var Ie=Te(59301),He=Te(57809),Fe=Te(78241),Pe=Te(3113),_e=Te(89780),we=Te.n(_e),ge=Te(45559),ye=Te(42313),be=Object.defineProperty,Me=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,te=(ue,ve,Se)=>ve in ue?be(ue,ve,{enumerable:!0,configurable:!0,writable:!0,value:Se}):ue[ve]=Se,ne=(ue,ve)=>{for(var Se in ve||(ve={}))xe.call(ve,Se)&&te(ue,Se,ve[Se]);if(Ee)for(var Se of Ee(ve))ce.call(ve,Se)&&te(ue,Se,ve[Se]);return ue},le=(ue,ve)=>Me(ue,pe(ve));const se=He.default.Option,de={labelCol:{span:4},wrapperCol:{span:20}},he={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Tt.Z=({callback:ue,onCancel:ve})=>{const[Se,De]=(0,Ie.useState)("python");function Re(ze){De(he[ze][1])}function Ne(ze){ue(ze)}return Ie.createElement(Fe.default,le(ne({},de),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),Ie.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Ie.createElement(He.default,{getPopupContainer:ze=>ze.parentNode,onChange:Re},Object.keys(he).map(ze=>Ie.createElement(se,{key:ze,value:ze},he[ze][0])))),Ie.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Ie.createElement(ie,{mode:Se})),Ie.createElement("div",{className:"flex-container flex-end"},Ie.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(Pe.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))};function ie({value:ue,onChange:ve,mode:Se,options:De={}}){const Re=(0,Ie.useRef)(),[Ne,ze]=(0,Ie.useState)();return(0,Ie.useEffect)(()=>{if(Ne){let Ge=function(Je){const Qe=Je.getValue();ve&&ve(Qe)};return Ne.on("change",Ge),()=>{Ne.off("change",Ge)}}},[Ne,ve]),(0,Ie.useEffect)(()=>{Ne&&Ne.setOption("mode",Se)},[Ne,Se]),(0,Ie.useEffect)(()=>{Ne&&(ue!==Ne.getValue()||ue==="")&&setTimeout(()=>{Ne.setValue(ue||"")},300)},[Ne,ue]),(0,Ie.useEffect)(()=>{if(Re.current&&!Ne){const Ge=we().fromTextArea(Re.current,ne({mode:Se,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},De));ze(Ge)}},[Re.current,Ne]),Ie.createElement("div",{className:"my-codemirror-container"},Ie.createElement("textarea",{ref:Re}))}},96565:function(St,Tt,Te){"use strict";Te.d(Tt,{Z:function(){return Ce}});var Ie=Te(59301),He=Te(89780),Fe=Te.n(He),Pe=Te(76374),_e=Te(45559),we=Te(6313),ge=Te(25717),ye=Te(99498),be=Te(25419),Me=Te(67549),pe=Te(6339),Ee=({value:Be="",className:Oe,showTextOnly:Ue,showLines:Ye,style:Et={}})=>{const Pt=(0,Ie.useMemo)(()=>"",[Be]);return Ie.createElement(Ie.Fragment,null,Ie.createElement("div",{dangerouslySetInnerHTML:{__html:Pt}}))},xe=Te(59301),ce=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,he=(Be,Oe,Ue)=>Oe in Be?ce(Be,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Be[Oe]=Ue,ie=(Be,Oe)=>{for(var Ue in Oe||(Oe={}))se.call(Oe,Ue)&&he(Be,Ue,Oe[Ue]);if(le)for(var Ue of le(Oe))de.call(Oe,Ue)&&he(Be,Ue,Oe[Ue]);return Be},ue=(Be,Oe)=>te(Be,ne(Oe));let ve=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Se({onActionCallback:Be,title:Oe,icon:Ue,actionName:Ye,className:Et="",children:Pt}){function qt(){Be(Ye)}return xe.createElement("a",{title:Oe,className:Et,onClick:qt},xe.createElement("i",{className:`${Ue}`}),Pt)}var De=({watch:Be,showNullButton:Oe,showNullProgramButton:Ue,onActionCallback:Ye,fullScreen:Et,insertTemp:Pt,hidetoolBar:qt,extraUse:Vt})=>{const hn=[...ve,{title:`${Be?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Be?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return xe.createElement("ul",{className:"markdown-toolbar-container"},!qt&&hn.map((vn,Kn)=>xe.createElement("li",{key:Kn},vn.actionName?xe.createElement(Se,ue(ie({},vn),{onActionCallback:Ye})):xe.createElement("span",{className:"v-line"}))),Oe?xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ue?xe.createElement(xe.Fragment,null,xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Pt&&xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Pt}`,onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Vt&&xe.createElement("li",null,Vt),xe.createElement("li",{className:"btn-full-screen"},xe.createElement(Se,{icon:`${Et?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Et?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ye})))},Re=Te(57261),Ne=Te(78241),ze=Te(92832),Ge=Te(3113),Je=Object.defineProperty,Qe=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,it=(Be,Oe,Ue)=>Oe in Be?Je(Be,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Be[Oe]=Ue,ft=(Be,Oe)=>{for(var Ue in Oe||(Oe={}))qe.call(Oe,Ue)&&it(Be,Ue,Oe[Ue]);if($e)for(var Ue of $e(Oe))ut.call(Oe,Ue)&&it(Be,Ue,Oe[Ue]);return Be},nt=(Be,Oe)=>Qe(Be,rt(Oe));const dt={labelCol:{span:4},wrapperCol:{span:20}};var yt=({callback:Be,onCancel:Oe})=>{function Ue(Ye){Be(Ye)}return Ie.createElement(Ne.default,nt(ft({},dt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ue,style:{width:500}}),Ie.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Ie.createElement(ze.default,null)),Ie.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Ie.createElement(ze.default,null)),Ie.createElement("div",{className:"flex-container flex-end"},Ie.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(Ge.ZP,{type:"ghost",onClick:Oe},"\u53D6\u6D88")))},gt=Te(85533),ht=Te(45053),mt=Te(43418),Ut=Te(95237),Qt=Te(16750),en=Te(59301),mn=({callback:Be,onCancel:Oe})=>{const Ue=document.createElement("canvas"),Ye=Ue.getContext("2d");Ue.width=1e3,Ue.height=800,Ye.fillStyle="#ffffff",Ye.fillRect(0,0,Ue.width,Ue.height);const Et=Ue.toDataURL("image/png");return en.createElement(mt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},en.createElement(Ut.Z,{style:{height:"100vh"}},en.createElement(Qt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Et,visible:!0,title:String(Date.now())},onOk:Pt=>{Be({src:Pt.url})},onClose:Oe})))},Bt=Te(12378);function tn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(tn,go.CommandHandler),tn.prototype.canAlignSelection=function(){var Be=this.diagram;return!(Be===null||Be.isReadOnly||Be.isModelReadOnly||Be.selection.count<2)},tn.prototype.alignLeft=function(){var Be=this.diagram;Be.startTransaction("aligning left");var Oe=1/0;Be.selection.each(function(Ue){Ue instanceof go.Link||(Oe=Math.min(Ue.position.x,Oe))}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Oe,Ue.position.y))}),Be.commitTransaction("aligning left")},tn.prototype.alignRight=function(){var Be=this.diagram;Be.startTransaction("aligning right");var Oe=-1/0;Be.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Ye=Ue.actualBounds.x+Ue.actualBounds.width;Oe=Math.max(Ye,Oe)}}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Oe-Ue.actualBounds.width,Ue.position.y))}),Be.commitTransaction("aligning right")},tn.prototype.alignTop=function(){var Be=this.diagram;Be.startTransaction("alignTop");var Oe=1/0;Be.selection.each(function(Ue){Ue instanceof go.Link||(Oe=Math.min(Ue.position.y,Oe))}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.position.x,Oe))}),Be.commitTransaction("alignTop")},tn.prototype.alignBottom=function(){var Be=this.diagram;Be.startTransaction("aligning bottom");var Oe=-1/0;Be.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Ye=Ue.actualBounds.y+Ue.actualBounds.height;Oe=Math.max(Ye,Oe)}}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.actualBounds.x,Oe-Ue.actualBounds.height))}),Be.commitTransaction("aligning bottom")},tn.prototype.alignCenterX=function(){var Be=this.diagram,Oe=Be.selection.first();if(Oe){Be.startTransaction("aligning Center X");var Ue=Oe.actualBounds.x+Oe.actualBounds.width/2;Be.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ue-Ye.actualBounds.width/2,Ye.actualBounds.y))}),Be.commitTransaction("aligning Center X")}},tn.prototype.alignCenterY=function(){var Be=this.diagram,Oe=Be.selection.first();if(Oe){Be.startTransaction("aligning Center Y");var Ue=Oe.actualBounds.y+Oe.actualBounds.height/2;Be.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ye.actualBounds.x,Ue-Ye.actualBounds.height/2))}),Be.commitTransaction("aligning Center Y")}},tn.prototype.alignColumn=function(Be){var Oe=this.diagram;Oe.startTransaction("align Column"),Be===void 0&&(Be=0),Be=parseFloat(Be);var Ue=new Array;Oe.selection.each(function(Vt){Vt instanceof go.Link||Ue.push(Vt)});for(var Ye=0;Ye0){for(var Vt=Pt.elt(qt-1);Vt!==null&&Vt.isTreeExpanded&&!Vt.isTreeLeaf;){var hn=this._sortTreeChildrenByY(Vt);Vt=hn.last()}Vt!==null&&Be.select(Vt)}else Be.select(Et)}}else if(Ue.key==="Down")if(Oe.isTreeExpanded&&!Oe.isTreeLeaf){var Ye=this._sortTreeChildrenByY(Oe).first();Ye!==null&&Be.select(Ye)}else for(;Oe!==null;){var Et=Oe.findTreeParentNode();if(Et===null)break;var Pt=this._sortTreeChildrenByY(Et),qt=Pt.indexOf(Oe);if(qtPt.y?1:Et.xPt.x?1:0}),Oe},tn.prototype.copyToClipboard=function(Be){go.CommandHandler.prototype.copyToClipboard.call(this,Be),this._lastPasteOffset.set(this.pasteOffset)},tn.prototype.pasteFromClipboard=function(){var Be=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Be,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Be},Object.defineProperty(tn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Be){if(Be!=="move"&&Be!=="select"&&Be!=="scroll"&&Be!=="tree"&&Be!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Be);this._arrowKeyBehavior=Be}}),Object.defineProperty(tn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Be){if(!(Be instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Be);this._pasteOffset.set(Be)}});var on=tn,Dn=Te(25863),In=Te(43604),sn=Te(38147),nn={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Gt=Te(59301),Ot=(Be,Oe,Ue)=>new Promise((Ye,Et)=>{var Pt=hn=>{try{Vt(Ue.next(hn))}catch(vn){Et(vn)}},qt=hn=>{try{Vt(Ue.throw(hn))}catch(vn){Et(vn)}},Vt=hn=>hn.done?Ye(hn.value):Promise.resolve(hn.value).then(Pt,qt);Vt((Ue=Ue.apply(Be,Oe)).next())});function At({onCancel:Be,callback:Oe}){let Ue=(0,Ie.useRef)(),Ye=(0,Ie.useRef)(),Et=(0,Ie.useRef)(),Pt=(0,Ie.useRef)(!1);const qt=(0,Ie.useRef)(!1),[Vt,hn]=(0,Ie.useState)(0);function vn(){const Pn=Bt.bx.make,qn={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ue.current=new Bt.S0(Ye.current,{padding:20,grid:Pn(Bt.s_,"Grid",Pn(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Pn(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Kr=>{var ca=Kr.diagram.commandHandler.addTopLevelParts(Kr.diagram.selection,!0);ca||Kr.diagram.currentTool.doCancel()},commandHandler:Pn(on),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Kr=>{var ca=Kr.subject;ca.location=ca.location.copy().snapToGridPoint(Kr.diagram.grid.gridOrigin,Kr.diagram.grid.gridCellSize),setTimeout(()=>{Kr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Kr=>{var ca=Kr.subject;setTimeout(()=>{Kr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Kr=>{var ca=Kr.parameter.part;ca.invalidateConnectedLinks();var Na=Kr.subject;Kr.diagram.toolManager.linkingTool.isForwards?Na.toNode.invalidateConnectedLinks():Na.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ue.current.nodeTemplate=Pn(Bt.NB,"Auto",{locationSpot:Bt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Bt.$u(120,60),minSize:new Bt.$u(40,40),resizable:!0,resizeCellSize:new Bt.$u(10,10),rotatable:!0},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),new Bt.KX("desiredSize","size",Bt.$u.parse).makeTwoWay(Bt.$u.stringify),Pn(Bt.bn,{name:"SHAPE",fill:qn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("figure"),new Bt.KX("fill"),new Bt.KX("stroke","borderColor"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Pn(Bt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Pn(Bt.al,{margin:1,textAlign:"center",overflow:Bt.al.OverflowEllipsis,editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),Ue.current.nodeTemplate.toolTip=Pn("ToolTip",Pn(Bt.s_,"Vertical",{maxSize:new Bt.$u(200,NaN)},Pn(Bt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Bt.KX("text")),Pn(Bt.al,{font:"10pt sans-serif",textAlign:"center"},new Bt.KX("text","details"))));function tr(Kr,ca){var Na=(la,ei)=>{la.handled=!0,la.diagram.model.commit(Fi=>{var ka=ei.part.adornedPart,ki=new Bt.E9().setRectSpot(ka.actualBounds,Kr);ki.subtract(ka.location),ki.scale(2,2),ki.x+=Math.sign(ki.x)*130,ki.y+=Math.sign(ki.y)*130,ki.add(ka.location),ki.snapToGridPoint(la.diagram.grid.gridOrigin,la.diagram.grid.gridCellSize);var Xi=Fi.copyNodeData(ka.data);Fi.setGroupKeyForNodeData(Xi,Fi.getGroupKeyForNodeData(ka.data)),Fi.addNodeData(Xi);var ko={from:ka.key,to:Fi.getKeyForNodeData(Xi)};Fi.addLinkData(ko);var Eo=la.diagram.findNodeForData(Xi);Eo.location=ki,la.diagram.select(Eo),setTimeout(()=>{la.diagram.commandHandler.editTextBlock()},20)})};return Pn(Bt.bn,{figure:ca,alignment:Kr,alignmentFocus:Kr.opposite(),width:Kr.equals(Bt.z6.Top)||Kr.equals(Bt.z6.Bottom)?25:18,height:Kr.equals(Bt.z6.Top)||Kr.equals(Bt.z6.Bottom)?18:25,fill:"orange",stroke:qn.white,strokeWidth:4,mouseEnter:(la,ei)=>ei.fill="dodgerblue",mouseLeave:(la,ei)=>ei.fill="orange",isActionable:!0,click:Na,contextClick:Na})}function hr(Kr){return Pn(Bt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(ca,Na)=>Na.fill="dodgerblue",mouseLeave:(ca,Na)=>Na.fill="orange",click:(ca,Na)=>{ca.diagram.commandHandler.showContextMenu(Na.part.adornedPart)}},Kr||{})}Ue.current.nodeTemplate.selectionAdornmentTemplate=Pn(Bt.uz,"Spot",Pn(Bt.Vm,{padding:10}),tr(Bt.z6.Top,"TriangleUp"),tr(Bt.z6.Left,"TriangleLeft"),tr(Bt.z6.Right,"TriangleRight"),tr(Bt.z6.Bottom,"TriangleDown"),hr({alignment:new Bt.z6(.75,0)}));function fn(Kr,ca){return(Na,la)=>{Na.handled=!0,Na.diagram.model.commit(ei=>{ei.set(la.part.adornedPart.data,Kr,ca)})}}function an(Kr,ca){return ca||(ca="color"),Pn(Bt.bn,{width:16,height:16,stroke:"lightgray",fill:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.stroke="dodgerblue",mouseLeave:(Na,la)=>la.stroke="lightgray",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}function Tn(){return[Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.white,"fill"),an(qn.beige,"fill"),an(qn.extralightblue,"fill"),an(qn.extralightred,"fill"))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.lightgray,"fill"),an(qn.lightgreen,"fill"),an(qn.lightblue,"fill"),an(qn.lightred,"fill")))]}function zn(){return[Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.black),an(qn.green),an(qn.blue),an(qn.red))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.white),an(qn.magenta),an(qn.purple),an(qn.orange)))]}function lr(Kr,ca){return ca||(ca="thickness"),Pn(Bt.bn,"LineH",{width:16,height:16,strokeWidth:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}function Ar(Kr,ca){return ca||(ca="dash"),Pn(Bt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}function Xn(){return[Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",lr(1),lr(2),lr(3),lr(4))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",Ar(null),Ar([2,4]),Ar([4,4])))]}function ur(Kr,ca){return ca||(ca="figure"),Pn(Bt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.fill="dodgerblue",mouseLeave:(Na,la)=>la.fill="lightgray",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}Ue.current.nodeTemplate.contextMenu=Pn("ContextMenu",Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",ur("Rectangle"),ur("RoundedRectangle"),ur("Ellipse"),ur("Diamond"))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",ur("Parallelogram2"),ur("ManualOperation"),ur("Procedure"),ur("Cylinder1"))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",ur("Terminator"),ur("CreateRequest"),ur("Document"),ur("TriangleDown"))),Tn(),zn(),Xn()),Ue.current.groupTemplate=Pn(Bt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Bt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Kr,ca)=>{var Na=ca.addMembers(ca.diagram.selection,!0);Na||ca.diagram.currentTool.doCancel()},avoidable:!1},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),Pn(Bt.s_,"Auto",{name:"BODY"},Pn(Bt.bn,{parameter1:10,fill:qn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("fill"),new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Pn(Bt.Vm,{background:"transparent",margin:20})),Pn(Bt.al,{alignment:Bt.z6.Top,alignmentFocus:Bt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Bt.KX("text"),new Bt.KX("stroke","color"))),Ue.current.groupTemplate.selectionAdornmentTemplate=Pn(Bt.uz,"Spot",Pn(Bt.s_,"Auto",Pn(Bt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Pn(Bt.Vm,{margin:1.5})),hr({alignment:Bt.z6.TopRight,alignmentFocus:Bt.z6.BottomRight})),Ue.current.groupTemplate.contextMenu=Pn("ContextMenu",Tn(),zn(),Xn()),Ue.current.linkTemplate=Pn(Bt.rU,{layerName:"Foreground",routing:Bt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Bt.KX("fromSpot","fromSpot",Bt.z6.parse),new Bt.KX("toSpot","toSpot",Bt.z6.parse),new Bt.KX("fromShortLength","dir",Kr=>Kr>=1?10:0),new Bt.KX("toShortLength","dir",Kr=>Kr>=1?10:0),new Bt.KX("points").makeTwoWay(),Pn(Bt.bn,{strokeWidth:2},new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Pn(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,0),segmentOrientation:Bt.rU.OrientAlong,alignmentFocus:Bt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Kr=>Kr===1)),Pn(Bt.bn,{segmentIndex:-1,segmentOffset:new Bt.E9(-10,6),segmentOrientation:Bt.rU.OrientPlus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Kr=>Kr>=1),new Bt.KX("width","thickness",Kr=>7+3*Kr),new Bt.KX("height","thickness",Kr=>7+3*Kr),new Bt.KX("segmentOffset","thickness",Kr=>new Bt.E9(-15,4+1.5*Kr))),Pn(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,-6),segmentOrientation:Bt.rU.OrientMinus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Kr=>Kr===2),new Bt.KX("width","thickness",Kr=>7+3*Kr),new Bt.KX("height","thickness",Kr=>7+3*Kr),new Bt.KX("segmentOffset","thickness",Kr=>new Bt.E9(-15,4+1.5*Kr))),Pn(Bt.al,{alignmentFocus:new Bt.z6(0,1,-4,0),editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),Ue.current.linkTemplate.selectionAdornmentTemplate=Pn(Bt.uz,Pn(Bt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:dr(2)},new Bt.KX("pathPattern","thickness",dr)),hr({alignmentFocus:new Bt.z6(0,0,-6,-4)}));function dr(Kr){return Pn(Bt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Kr+4).toString()+" H3"})}function On(Kr){var ca="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Kr===0?ca="M0 0 M16 16 M0 8 L16 8":Kr===2&&(ca="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Pn(Bt.bn,{geometryString:ca,margin:2,background:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:fn("dir",Kr),contextClick:fn("dir",Kr)})}function pr(Kr){var ca=(Na,la)=>{Na.handled=!0,Na.diagram.model.commit(ei=>{var Fi=la.part.adornedPart;ei.set(Fi.data,Kr?"toSpot":"fromSpot",Bt.z6.stringify(Bt.z6.AllSides)),(Kr?Fi.toNode:Fi.fromNode).invalidateConnectedLinks()})};return Pn(Bt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:ca,contextClick:ca})}function Yn(Kr,ca){var Na=0,la=Bt.z6.RightSide;Kr.equals(Bt.z6.Top)?(Na=270,la=Bt.z6.TopSide):Kr.equals(Bt.z6.Left)?(Na=180,la=Bt.z6.LeftSide):Kr.equals(Bt.z6.Bottom)&&(Na=90,la=Bt.z6.BottomSide),ca||(Na-=180);var ei=(Fi,ka)=>{Fi.handled=!0,Fi.diagram.model.commit(ki=>{var Xi=ka.part.adornedPart;ki.set(Xi.data,ca?"toSpot":"fromSpot",Bt.z6.stringify(la)),(ca?Xi.toNode:Xi.fromNode).invalidateConnectedLinks()})};return Pn(Bt.bn,{alignment:Kr,alignmentFocus:Kr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Na,background:"transparent",mouseEnter:(Fi,ka)=>ka.background="dodgerblue",mouseLeave:(Fi,ka)=>ka.background="transparent",click:ei,contextClick:ei})}Ue.current.linkTemplate.contextMenu=Pn("ContextMenu",zn(),Xn(),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",On(0),On(1),On(2))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",Pn(Bt.s_,"Spot",pr(!1),Yn(Bt.z6.Top,!1),Yn(Bt.z6.Left,!1),Yn(Bt.z6.Right,!1),Yn(Bt.z6.Bottom,!1)),Pn(Bt.s_,"Spot",{margin:new Bt.Zt(0,0,0,2)},pr(!0),Yn(Bt.z6.Top,!0),Yn(Bt.z6.Left,!0),Yn(Bt.z6.Right,!0),Yn(Bt.z6.Bottom,!0)))));const Nr=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],se=ie=>{te.current.setValue(te.current.getValue()+" "+ie.value+" ")},de=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:be.createElement(He.Z,{className:ge.Z.lists,gutter:[10,10]},ne.map((ie,ue)=>be.createElement(Fe.Z,{flex:"110px",className:ge.Z.item},be.createElement("div",null,be.createElement(we.Z,{value:`$$${ie.value}$$`}),ie.name),be.createElement("div",{className:ge.Z.children},ie.children.map((ve,Se)=>be.createElement("div",{key:Se},be.createElement("h1",null,ve.name),be.createElement(He.Z,{gutter:[10,10]},ve.data.map((De,Re)=>be.createElement(Fe.Z,{key:Re,onClick:()=>se(De),className:ge.Z.diamond},be.createElement(we.Z,{value:"`$$"+De.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:be.createElement(He.Z,{className:ge.Z.lists,gutter:[10,10]},le.map((ie,ue)=>be.createElement(Fe.Z,{flex:"110px",className:ge.Z.item},be.createElement("div",null,be.createElement(we.Z,{value:"`$$"+ie.value+"$$`"}),ie.name),be.createElement("div",{className:ge.Z.children},ie.children.map((ve,Se)=>be.createElement("div",{key:Se},ve.name&&be.createElement("h1",null,ve.name),be.createElement(He.Z,{gutter:[10,10]},ve.data.map((De,Re)=>be.createElement(Fe.Z,{key:Re,onClick:()=>se(De),className:ge.Z.diamond},be.createElement(we.Z,{value:"`$$"+De.value+"$$`"}))))))))))}],he=()=>{var ie=document.createElement("div");ie.innerHTML=te.current.getValue();var ue=ie.innerText;return pe&&pe(ue),ue};return(0,Ie.useImperativeHandle)(ce,()=>({getData:he})),be.createElement("div",{className:ge.Z.mathWrap},be.createElement(Pe.default,{defaultActiveKey:"1",items:de}),be.createElement("math-field",{locale:"zh_cn",className:ge.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:te,style:{width:800,marginTop:30,fontSize:18}},xe||""),Ee&&be.createElement("div",{className:ge.Z.button},be.createElement(_e.ZP,{size:"large",onClick:he,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Tt.Z=Me},4324:function(St,Tt,Te){"use strict";Te.d(Tt,{Q:function(){return we}});var Ie=Te(59301),He=Te(57809),Fe=Te(5112),Pe=Te(5871),_e=Te(59301),we=(ye=>(ye[ye.Number=1]="Number",ye[ye.Percent=2]="Percent",ye))(we||{});const ge=({value:ye,onChange:be,disabled:Me,hidePercentOption:pe=!1,percentType:Ee="select"})=>{const xe=(0,Ie.useMemo)(()=>pe?1:2,[pe]),[ce,te]=(0,Ie.useState)(xe);console.log(ce);const ne=se=>ye.type===1?`${se}\u5206`:`${se}%`,le=(0,Ie.useCallback)(se=>{if(ce===1){const de=se.replace("\u5206","");return isNaN(parseInt(de,10))?0:de}else return se.replace("%","")},[ce]);return(0,Ie.useEffect)(()=>{te(ye.type)},[ye]),_e.createElement("div",{style:{display:"flex",alignItems:"center"}},Ee=="select"&&_e.createElement(He.default,{size:"large",onChange:se=>{te(se),be({type:se,inputValue:se===1?5:20})},value:ce||xe,style:{width:100},options:pe?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Me}),Ee=="radio"&&_e.createElement(Fe.ZP.Group,{size:"large",onChange:se=>{const de=se.target.value;te(de),be({type:de,inputValue:de===1?5:20})},value:ce||xe,disabled:Me},!pe&&_e.createElement(Fe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),_e.createElement(Fe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Ee=="radio"&&_e.createElement("div",{style:{marginRight:"10px",color:"#000000"}},ye.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),_e.createElement(Pe.Z,{size:"large",disabled:Me,value:ye.inputValue,style:{width:"120px"},parser:le,addonAfter:ye.type===1?"\u5206":"%",max:ce===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:se=>{be({type:ce,inputValue:se})}}),Ee=="radio"&&ye.type==2&&_e.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Tt.Z=ge},46919:function(St,Tt,Te){"use strict";var Ie=Te(59301),He=Te(78241),Fe=Te(95237),Pe=Te(57809),_e=Te(92832),we=Te(88522),ge=Te(3113),ye=Te(24905),be=Te(6848),Me=Te(8591),pe=Te(1710),Ee=Te(65582),xe=Te(66649),ce=Te.n(xe),te=Te(26724),ne=Te.n(te),le=Te(58143),se=Te(33270),de=Te(3918),he=Te(70031),ie=Te(59301),ue=Object.defineProperty,ve=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ze=(ft,nt,dt)=>nt in ft?ue(ft,nt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):ft[nt]=dt,Ge=(ft,nt)=>{for(var dt in nt||(nt={}))Re.call(nt,dt)&&ze(ft,dt,nt[dt]);if(De)for(var dt of De(nt))Ne.call(nt,dt)&&ze(ft,dt,nt[dt]);return ft},Je=(ft,nt)=>ve(ft,Se(nt)),Qe=(ft,nt,dt)=>new Promise((yt,gt)=>{var ht=Qt=>{try{Ut(dt.next(Qt))}catch(en){gt(en)}},mt=Qt=>{try{Ut(dt.throw(Qt))}catch(en){gt(en)}},Ut=Qt=>Qt.done?yt(Qt.value):Promise.resolve(Qt.value).then(ht,mt);Ut((dt=dt.apply(ft,nt)).next())});const rt=[];function $e({onSearch:ft,schools:nt}){return ie.createElement(He.default,{colon:!1,layout:"horizontal",onFinish:ft,initialValues:{keyword:"",school_name:"",search_type:"1"}},ie.createElement(Fe.Z,{style:{flexWrap:"nowrap"}},ie.createElement(He.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},ie.createElement(Pe.default,{popupClassName:he.Z.selectdown,style:{width:106}},ie.createElement(Pe.default.Option,{value:"1"},"\u59D3\u540D"),ie.createElement(Pe.default.Option,{value:"2"},"\u624B\u673A\u53F7"),ie.createElement(Pe.default.Option,{value:"3"},"\u90AE\u7BB1"))),ie.createElement(He.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},ie.createElement(_e.default,{allowClear:!0,style:{width:300},size:"middle"})),ie.createElement(He.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},ie.createElement(we.Z,{options:nt,style:{width:300},size:"middle",showSearch:!0,filterOption:(dt,yt)=>yt.value.toUpperCase().indexOf(dt.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),ie.createElement(ge.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var qe=(ft=>(ft[ft.INITDATA=0]="INITDATA",ft[ft.INITSCHOOLS=1]="INITSCHOOLS",ft[ft.SHOWLOADING=2]="SHOWLOADING",ft[ft.SELECTEDIDS=3]="SELECTEDIDS",ft[ft.SETQUERY=4]="SETQUERY",ft[ft.SETPAGE=5]="SETPAGE",ft))(qe||{});function ut(ft,nt){switch(nt.type){case 0:return Ge(Ge({},ft),nt.payload);case 4:return Ge(Ge({},ft),nt.payload);case 5:return Je(Ge({},ft),{page:nt.payload,reload:!1});case 2:return Je(Ge({},ft),{loading:nt.payload});case 1:return Je(Ge({},ft),{schools:nt.payload});case 3:return Je(Ge({},ft),{selectedIds:nt.payload});default:throw new Error}}const it={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};Tt.Z=({onSelect:ft,onCancel:nt,container_id:dt,container_type:yt})=>{const[gt,ht]=(0,Ie.useReducer)(ut,it),{data:mt,schools:Ut,loading:Qt,selectedIds:en,page:mn,count:Bt,query:tn,reload:on}=gt;(0,Ie.useEffect)(()=>{function At(){return Qe(this,null,function*(){const{users:Yt,user_count:vt}=yield(0,se.nQ)(Je(Ge({},tn),{page:mn,container_type:yt,container_id:dt,display_aliases:!0}));ht({type:0,payload:{data:on?Yt:[...mt,...Yt],count:vt}})})}tn&&At()},[mn,tn,on,dt,yt]),(0,Ie.useEffect)(()=>{function At(){return Qe(this,null,function*(){const{school_names:Yt}=yield(0,se.K$)({display_aliases:!0});ht({type:1,payload:Yt.map(vt=>({value:vt}))})})}At()},[]);const Dn=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(At,Yt)=>ie.createElement(ye.default,{value:Yt.numid,checked:en.includes(Yt.numid),disabled:!!At})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(At,Yt)=>ie.createElement("div",null,ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement(Ee.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${Yt.login}`,target:"_blank"},At||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},At||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:At=>ie.createElement("span",{style:{color:"#000000"}},At?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:At=>ie.createElement(be.Z,{placement:"bottom",title:At},ie.createElement("span",{style:{color:"#000000"}},ce()(At).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:At=>{if(At===1)return ie.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function In(At){ht({type:4,payload:{page:1,reload:!0,query:At}})}function sn(At){ht({type:5,payload:At})}function nn(At){let Yt=en.indexOf(At);Yt>=0?en.splice(Yt,1):en.push(At),ht({type:3,payload:[...en]})}function Gt(){en.length===0?Me.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(ft(en,dt),ht({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const Ot=Bt>mn*10;return ie.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},ie.createElement($e,{onSearch:In,schools:Ut}),tn?ie.createElement(ie.Fragment,null,ie.createElement("div",{className:"flexd-table-header mt20"},ie.createElement(de.Gi,null,ie.createElement(pe.default,{pagination:!1,dataSource:rt,columns:Dn}))),ie.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},ie.createElement(ne(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:sn,hasMore:Ot,useWindow:!1},ie.createElement(de.Gi,null,ie.createElement(pe.default,{loading:Qt,showHeader:!1,pagination:!1,dataSource:mt,columns:Dn,onRow:At=>({onClick:Yt=>{At.added!==1&&nn(At.numid)}})})))),ie.createElement("div",{className:"flex-container flex-end"},ie.createElement(ge.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:nt},"\u53D6\u6D88"),ie.createElement(ge.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:Gt},"\u786E\u5B9A"))):ie.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},ie.createElement("img",{src:le,width:"100",alt:""}),ie.createElement("br",null),ie.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},83028:function(St,Tt,Te){"use strict";Te.d(Tt,{Z:function(){return ye}});var Ie=Te(59301),He={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Fe=Te(43418),Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",we=(be,Me,pe)=>new Promise((Ee,xe)=>{var ce=le=>{try{ne(pe.next(le))}catch(se){xe(se)}},te=le=>{try{ne(pe.throw(le))}catch(se){xe(se)}},ne=le=>le.done?Ee(le.value):Promise.resolve(le.value).then(ce,te);ne((pe=pe.apply(be,Me)).next())}),ye=({type:be,resdata:Me,onok:pe,oktext:Ee,okloading:xe})=>{const[ce,te]=(0,Ie.useState)(!1),{can_copy_list:ne,can_copy_num:le,challenge_type:se,course_data_list:de,no_copy_list:he,no_copy_num:ie,no_use_list:ue,no_use_num:ve,repeat_shixun_num:Se,student_count:De,total_num:Re,use_num:Ne}=Me;let ze=le>0||be==="exercise";(0,Ie.useEffect)(()=>{(Me==null?void 0:Me.student_count)>0&&te(!0)},[Me]),console.log("---11",xe),(0,Ie.useEffect)(()=>{xe||te(!1)},[xe]);const Ge=()=>{if(be==="exercise"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(be==="exercise"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixun"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixun"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="subject"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="subject"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",Ie.createElement("span",{className:He.orangeColor},De)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",Ie.createElement("span",{className:He.orangeColor},Ne)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="exercisepush")return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(be==="shixunpush"&&se===1)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixunpush"&&se===2)return Ie.createElement(Ie.Fragment,null,"\u8BFE\u5802\u5185\u6709",Ie.createElement("span",{className:He.orangeColor},De),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",Ie.createElement("span",{className:He.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Ie.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Je=()=>{if(be==="exercise"||be==="subject"||be==="exercisepush"||be==="shixunpush")return Ie.createElement("div",{style:{marginTop:20}},ie>0&&Ie.createElement("div",null,Ie.createElement("span",{className:He.flex},Ie.createElement("img",{src:_e,style:{width:14}}),Ie.createElement("span",{className:He.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Ie.createElement("div",{className:He.statusbody},be==="exercise"&&Ie.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ie.createElement("span",{className:He.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(be==="subject"||be==="exercisepush")&&Ie.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&Ie.createElement("span",{className:He.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),be==="shixunpush"&&Ie.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&Ie.createElement("span",{className:He.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ie.createElement("div",null,he==null?void 0:he.map((Qe,rt)=>Ie.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",rt+1!==ie&&"\u3001"))))),le>0&&Ie.createElement("div",{style:{marginTop:20}},Ie.createElement("span",{className:He.flex},Ie.createElement("img",{src:Pe,style:{width:14}}),Ie.createElement("span",{className:He.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Ie.createElement("div",{className:He.statusbody},be==="exercise"&&Ie.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(be==="subject"||be==="exercisepush")&&Ie.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),be==="shixunpush"&&Ie.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ie.createElement("div",null,ne==null?void 0:ne.map((Qe,rt)=>Ie.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",rt+1!==le&&"\u3001"))))));if(be==="shixun")return Ie.createElement("div",{style:{marginTop:20}},le>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return Ie.createElement(Fe.default,{open:ce,onCancel:()=>{te(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ze&&"none"}},zIndex:1003,confirmLoading:xe,okText:ze?Ee:"\u6211\u77E5\u9053\u4E86",onOk:()=>we(void 0,null,function*(){ze?yield pe([...ne,...ue]):te(!1)})},Ie.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ge(),Je()))}},44080:function(St,Tt,Te){"use strict";Te.d(Tt,{Z:function(){return te}});var Ie=Te(59301),He=Te(8591),Fe=Te(38854),Pe=Te(73217),_e=Te(16471),we=Te(41867),ge=Te(56102),ye=Te(84056),be={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},Me=(ne,le,se)=>new Promise((de,he)=>{var ie=Se=>{try{ve(se.next(Se))}catch(De){he(De)}},ue=Se=>{try{ve(se.throw(Se))}catch(De){he(De)}},ve=Se=>Se.done?de(Se.value):Promise.resolve(Se.value).then(ie,ue);ve((se=se.apply(ne,le)).next())});function pe(ne){if(isNaN(ne))return{minutes:"00",seconds:"00"};const le=new Date(ne*1e3).toISOString().substr(11,8);return{hour:le.substr(0,2),minutes:le.substr(3,2),seconds:le.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Ee(ne,le){return ne-le}function xe(ne){ne.sort(Ee);let le=0;for(let se=0;se{},handlePlay:Se=()=>{},handlePlayEnded:De=()=>{},autoPlay:Re=!1,onPlayEnded:Ne=()=>{},isShowWaterMark:ze=!0},Ge)=>{var Je;const rt=((Je=le==null?void 0:le.split("."))==null?void 0:Je.pop())==="flv",$e=(0,Ie.useRef)(),qe=(0,Ie.useRef)(),ut=(0,Ie.useRef)(),it=(0,Ie.useRef)(),ft=(0,Ie.useRef)(),nt=(0,Ie.useRef)(),dt=(0,Ie.useRef)(),yt=(0,Ie.useRef)(),gt=(0,Ie.useRef)(),ht=(0,Ie.useRef)(),mt=(0,Ie.useRef)(),Ut=(0,Ie.useRef)(),Qt=(0,Ie.useRef)(),en=(0,Ie.useRef)(),mn=navigator.userAgent.toLowerCase().match(ce),Bt=mn?mn[0]:"pc",tn=(0,Ie.useRef)(!1),on=(0,we.eY)();let Dn=0,In=0,sn=0,nn=null,Gt=!1,Ot=20,At=1,Yt=!1,vt=!1,xt=[];(0,Ie.useImperativeHandle)(Ge,()=>({getLastUpdatedTime:()=>$e.current.currentTime,getDuration:()=>$e.current.duration})),He.ZP.config({maxCount:1,getContainer:()=>ut.current});const Xt=(0,Ie.useCallback)((nr,er=!1)=>{let $t={point:$e.current.currentTime};nn?($t.log_id=nn,$t.watch_duration=xe(xt),$t.total_duration=In):(ie?($t.video_id=parseInt(de,10),$t.course_id=ie):$t.video_id=de,$t.duration=Dn,$t.device=Bt),er&&($t.ed="1");function gn(){return Me(this,null,function*(){Yt=!0,nn=yield he==null?void 0:he($t),Yt=!1,nr&&nr()})}gn()},[de,ie]);(0,Ie.useEffect)(()=>{$e.current&&(it.current.style.display="none",ft.current.style.display="block"),He.ZP.destroy();let nr=null;return Pe.Z.isSupported&&rt&&le&&(le==null?void 0:le.indexOf(".m3u8"))<0?(nr=Pe.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:le,muted:!1}),$e.current&&(nr.attachMediaElement($e.current),nr.load())):$e.current.setAttribute("src",le),Mt(),()=>{nr&&(nr.unload(),nr.pause(),nr.destroy(),nr=null)}},[$e,rt,le]);function Rt(){$e.current.paused?(it.current.style.display="none",ft.current.style.display="block"):(it.current.style.display="block",ft.current.style.display="none")}function Mt(){mt.current.style.display="none",Qt.current.style.display="none",Ut.current.style.display="none",$e.current.muted||$e.current.volume===0?mt.current.style.display="block":$e.current.volume>0&&$e.current.volume<=.5?Qt.current.style.display="block":Ut.current.style.display="block"}(0,Ie.useEffect)(()=>{const nr=document.getElementById("play"),er=document.querySelectorAll(".playback-icons use");function $t(){Se(),ue&&!tn.current&&($e.current.currentTime=ue),tn.current=!0,xt.push($e.current.currentTime),Gt||(Gt=!0,se&&Xt())}function gn(){return Me(this,null,function*(){Rt(),xt.push($e.current.currentTime),se&&Xt(()=>{nn=null,sn=0,Gt=!1,Yt=!1,vt=!1,xt=[],In=0,At=1},!0),Ne()})}function jn(){nt.current.value=Math.round($e.current.currentTime),dt.current.value=Math.round($e.current.currentTime)}function Ln(){const Zr=pe(Math.round($e.current.currentTime));gt.current.innerText=`${Zr.hour>0?Zr.hour+":":""}${Zr.minutes}:${Zr.seconds}`,gt.current.setAttribute("datetime",`${Zr.hour>0?" "+Zr.hour+" ":""}${Zr.minutes}m ${Zr.seconds}s`)}function xr(){var Zr,Ya,li,mr,Sr,Sa,Fn;const gr=Math.round((Zr=$e.current)==null?void 0:Zr.duration);(li=(Ya=nt.current)==null?void 0:Ya.setAttribute)==null||li.call(Ya,"max",gr),(Sr=(mr=dt.current)==null?void 0:mr.setAttribute)==null||Sr.call(mr,"max",gr);const Mr=pe(gr);yt.current&&(yt.current.innerText=`${Mr.hour>0?Mr.hour+":":""}${Mr.minutes}:${Mr.seconds}`,(Fn=(Sa=yt.current).setAttribute)==null||Fn.call(Sa,"datetime",`${Mr.hour>0?" "+Mr.hour+" ":""}${Mr.minutes}m ${Mr.seconds}s`))}function Wr(){try{const Zr=Math.round($e.current.duration);nt.current.setAttribute("max",Zr),dt.current.setAttribute("max",Zr);const Ya=pe(Zr);yt.current.innerText=`${Ya.hour>0?Ya.hour+":":""}${Ya.minutes}:${Ya.seconds}`,yt.current.setAttribute("datetime",`${Ya.hour>0?" "+Ya.hour+" ":""}${Ya.minutes}m ${Ya.seconds}s`),jn(),Ln();const{width:li,height:mr,x:Sr,y:Sa}=qe.current.getBoundingClientRect();if(Sr<0||Sa<0||!li)return;if(!vt){let Fn=$e.current.currentTime,gr=Fn-sn;Math.abs(gr)<10?(In+=Math.abs(gr),sn=Fn,Yt||In-At*Ot>=0&&(At++,xt.push(sn),se&&Xt())):(sn=Fn,se&&Xt())}}catch(Zr){console.log(Zr)}}function Ir(){vt=!0}function Vr(){$e.current.playing&&xt.push($e.current.currentTime,sn),sn=$e.current.currentTime,vt=!1}function Da(){Dn=$e.current.duration,Dn<=20&&(Ot=Dn/3),$e.current.addEventListener("play",$t)}function Xa(Zr){Zr.preventDefault(),(0,ye.vp)()?($e.current.style.width="100%",$e.current.style.height="100%"):$e.current.style.cssText=""}function Ba(){ve()}function Ia(Zr){if(!ne){He.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Ya=Zr.target.dataset.seek?Zr.target.dataset.seek:Zr.target.value;$e.current.currentTime=Ya,dt.current.value=Ya,nt.current.value=Ya}function Si(Zr){const Ya=Math.round(Zr.offsetX/Zr.target.clientWidth*parseInt(Zr.target.getAttribute("max"),10));nt.current.setAttribute("data-seek",Ya);const li=pe(Ya);ht.current.textContent=`${li.hour>0?li.hour+":":""}${li.minutes}:${li.seconds}`;const mr=$e.current.getBoundingClientRect();ht.current.style.left=`${Zr.pageX-mr.left}px`}function za(Zr){switch(Zr.code){case"Space":Zr.preventDefault(),Gn();break;case"ArrowRight":if(Zr.preventDefault(),!ne){He.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if($e.current.currentTime>=$e.current.duration)break;$e.current.currentTime=parseInt($e.current.currentTime)+5,jn();break;case"ArrowLeft":if(Zr.preventDefault(),!ne){He.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if($e.current.currentTime===0)break;$e.current.currentTime=parseInt($e.current.currentTime)-5,jn();break;case"ArrowUp":Zr.preventDefault(),$e.current.volume<1&&($e.current.volume=(parseInt($e.current.volume*10)+1)/10);break;case"ArrowDown":Zr.preventDefault(),$e.current.volume>0&&($e.current.volume=(parseInt($e.current.volume*10)-1)/10);break}}return ut.current.addEventListener((0,ye.gH)(),Xa),$e.current.addEventListener("canplay",Da),$e.current.addEventListener("ended",gn),$e.current.addEventListener("seeking",Ir),$e.current.addEventListener("seeked",Vr),$e.current.addEventListener("loadedmetadata",xr),nt.current.addEventListener("mousemove",Si),nt.current.addEventListener("input",Ia),$e.current.addEventListener("timeupdate",Wr),$e.current.addEventListener("pause",Ba),$e.current.addEventListener("volumechange",Mt),document.addEventListener("keydown",za),()=>{var Zr,Ya,li,mr,Sr,Sa,Fn,gr,Mr,jr,ha,bt;(Zr=$e.current)==null||Zr.removeEventListener("canplay",Da),(Ya=$e.current)==null||Ya.removeEventListener("play",$t),(li=$e.current)==null||li.removeEventListener("ended",gn),(mr=$e.current)==null||mr.removeEventListener("seeking",Ir),(Sr=$e.current)==null||Sr.removeEventListener("seeked",Vr),(Sa=nt.current)==null||Sa.removeEventListener("mousemove",Si),(Fn=nt.current)==null||Fn.removeEventListener("input",Ia),(gr=$e.current)==null||gr.removeEventListener("timeupdate",Wr),(Mr=$e.current)==null||Mr.removeEventListener("pause",Ba),(jr=$e.current)==null||jr.removeEventListener("loadedmetadata",xr),(ha=$e.current)==null||ha.removeEventListener("volumechange",Mt),document.removeEventListener("keydown",za),(bt=$e.current)!=null&&bt.playing&&(xt.push(sn,$e.current.currentTime),se&&Xt())}},[$e,le]),(0,Ie.useEffect)(()=>{if($e.current.onended=()=>{De($e)},$e.current.oncontextmenu=()=>!1,(le==null?void 0:le.indexOf(".m3u8"))>-1){if($e.current.canPlayType("application/vnd.apple.mpegurl"))$e.current.src=le;else if(_e.ZP.isSupported()){var nr=new _e.ZP;nr.loadSource(le),nr.attachMedia($e.current)}}},[le]);const[ln,Un]=(0,Ie.useState)(1),Gn=()=>{$e.current.paused||$e.current.ended?$e.current.play():$e.current.pause(),Rt()};function Hn(){$e.current.muted=!$e.current.muted,$e.current.muted?(en.current.setAttribute("data-volume",volume.value),en.current.value=0):en.current.value=en.current.dataset.volume}return Ie.createElement("div",{style:{position:"relative"},ref:ut},Ie.createElement("div",{ref:qe,className:`${be.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${be.animate__loop}`},ze&&on?on.login:" "),Ie.createElement("div",{className:be.container},Ie.createElement("div",{className:be["video-container"],id:"video-container"},Ie.createElement("div",{className:be["playback-animation"],id:"playback-animation"},Ie.createElement("svg",{className:be["playback-icons"]},Ie.createElement("use",{className:"hidden",href:"#play-icon"}),Ie.createElement("use",{href:"#pause"}))),Ie.createElement("video",{className:be.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:$e,autoPlay:Re}),Ie.createElement("div",{className:`${be["video-controls"]} `,id:"video-controls"},Ie.createElement("div",{className:be["bottom-controls"]},Ie.createElement("div",{className:be["left-controls"]},Ie.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Gn},Ie.createElement("svg",{className:be["playback-icons"]},Ie.createElement("use",{ref:ft,href:"#play-icon"}),Ie.createElement("use",{ref:it,style:{display:"none"},href:"#pause"}))),Ie.createElement("div",{className:be.time},Ie.createElement("time",{id:"time-elapsed",ref:gt},"00:00"),Ie.createElement("span",null," / "),Ie.createElement("time",{id:"duration",ref:yt},"00:00"))),Ie.createElement("div",{className:be["right-controls"]},ne&&Ie.createElement(Fe.Z,{placement:"top",overlayClassName:be.rateOverlay,getPopupContainer:nr=>nr.parentNode,menu:{items:[{key:"1",label:Ie.createElement("span",{onClick:()=>{Un(1),$e.current.playbackRate=1}},"1.0x")},{key:"2",label:Ie.createElement("span",{onClick:()=>{Un(1.5),$e.current.playbackRate=1.5}},"1.5x")},{key:"3",label:Ie.createElement("span",{onClick:()=>{Un(2),$e.current.playbackRate=2}},"2.0x")}]}},Ie.createElement("div",{className:`${be.controlText} mr5`},"\u500D\u901F")),Ie.createElement(ge.CopyToClipboard,{text:le,onCopy:()=>He.ZP.success("\u590D\u5236\u6210\u529F")},Ie.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},Ie.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),Ie.createElement("div",{className:be["volume-controls"]},Ie.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:be["volume-button"],id:"volume-button",onClick:Hn},Ie.createElement("i",{ref:mt,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),Ie.createElement("i",{ref:Qt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),Ie.createElement("i",{ref:Ut,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),Ie.createElement("input",{className:be.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:en,style:{display:"none"},onClick:Mt})),Ie.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:be["fullscreen-button"],onClick:()=>{(0,ye.vp)()?(0,ye.BU)():(0,ye.Dj)(ut.current)}},Ie.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),Ie.createElement("div",{className:be["video-progress"]},Ie.createElement("progress",{ref:dt,value:"0",min:"0"}),Ie.createElement("input",{className:be.seek,ref:nt,value:"0",min:"0",type:"range",step:"1"}),Ie.createElement("div",{className:be["seek-tooltip"],ref:ht,id:"seek-tooltip"},"00:00"))))),Ie.createElement("svg",{style:{display:"none"}},Ie.createElement("defs",null,Ie.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),Ie.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),Ie.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),Ie.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),Ie.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),Ie.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),Ie.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),Ie.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},Ie.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},85533:function(St,Tt,Te){"use strict";Te.d(Tt,{h:function(){return ie}});var Ie=Te(59301),He=Te(57809),Fe=Te(78241),Pe=Te(3113),_e=Te(89780),we=Te.n(_e),ge=Te(45559),ye=Te(42313),be=Object.defineProperty,Me=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,te=(ue,ve,Se)=>ve in ue?be(ue,ve,{enumerable:!0,configurable:!0,writable:!0,value:Se}):ue[ve]=Se,ne=(ue,ve)=>{for(var Se in ve||(ve={}))xe.call(ve,Se)&&te(ue,Se,ve[Se]);if(Ee)for(var Se of Ee(ve))ce.call(ve,Se)&&te(ue,Se,ve[Se]);return ue},le=(ue,ve)=>Me(ue,pe(ve));const se=He.default.Option,de={labelCol:{span:4},wrapperCol:{span:20}},he={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Tt.Z=({callback:ue,onCancel:ve})=>{const[Se,De]=(0,Ie.useState)("python");function Re(ze){De(he[ze][1])}function Ne(ze){ue(ze)}return Ie.createElement(Fe.default,le(ne({},de),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),Ie.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Ie.createElement(He.default,{getPopupContainer:ze=>ze.parentNode,onChange:Re},Object.keys(he).map(ze=>Ie.createElement(se,{key:ze,value:ze},he[ze][0])))),Ie.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Ie.createElement(ie,{mode:Se})),Ie.createElement("div",{className:"flex-container flex-end"},Ie.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(Pe.ZP,{type:"ghost",onClick:ve},"\u53D6\u6D88")))};function ie({value:ue,onChange:ve,mode:Se,options:De={}}){const Re=(0,Ie.useRef)(),[Ne,ze]=(0,Ie.useState)();return(0,Ie.useEffect)(()=>{if(Ne){let Ge=function(Je){const Qe=Je.getValue();ve&&ve(Qe)};return Ne.on("change",Ge),()=>{Ne.off("change",Ge)}}},[Ne,ve]),(0,Ie.useEffect)(()=>{Ne&&Ne.setOption("mode",Se)},[Ne,Se]),(0,Ie.useEffect)(()=>{Ne&&(ue!==Ne.getValue()||ue==="")&&setTimeout(()=>{Ne.setValue(ue||"")},300)},[Ne,ue]),(0,Ie.useEffect)(()=>{if(Re.current&&!Ne){const Ge=we().fromTextArea(Re.current,ne({mode:Se,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},De));ze(Ge)}},[Re.current,Ne]),Ie.createElement("div",{className:"my-codemirror-container"},Ie.createElement("textarea",{ref:Re}))}},96565:function(St,Tt,Te){"use strict";Te.d(Tt,{Z:function(){return Ce}});var Ie=Te(59301),He=Te(89780),Fe=Te.n(He),Pe=Te(76374),_e=Te(45559),we=Te(6313),ge=Te(25717),ye=Te(99498),be=Te(25419),Me=Te(67549),pe=Te(6339),Ee=({value:Be="",className:Oe,showTextOnly:Ue,showLines:Ye,style:Et={}})=>{const Pt=(0,Ie.useMemo)(()=>"",[Be]);return Ie.createElement(Ie.Fragment,null,Ie.createElement("div",{dangerouslySetInnerHTML:{__html:Pt}}))},xe=Te(59301),ce=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,he=(Be,Oe,Ue)=>Oe in Be?ce(Be,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Be[Oe]=Ue,ie=(Be,Oe)=>{for(var Ue in Oe||(Oe={}))se.call(Oe,Ue)&&he(Be,Ue,Oe[Ue]);if(le)for(var Ue of le(Oe))de.call(Oe,Ue)&&he(Be,Ue,Oe[Ue]);return Be},ue=(Be,Oe)=>te(Be,ne(Oe));let ve=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Se({onActionCallback:Be,title:Oe,icon:Ue,actionName:Ye,className:Et="",children:Pt}){function qt(){Be(Ye)}return xe.createElement("a",{title:Oe,className:Et,onClick:qt},xe.createElement("i",{className:`${Ue}`}),Pt)}var De=({watch:Be,showNullButton:Oe,showNullProgramButton:Ue,onActionCallback:Ye,fullScreen:Et,insertTemp:Pt,hidetoolBar:qt,extraUse:Vt})=>{const hn=[...ve,{title:`${Be?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Be?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return xe.createElement("ul",{className:"markdown-toolbar-container"},!qt&&hn.map((vn,Kn)=>xe.createElement("li",{key:Kn},vn.actionName?xe.createElement(Se,ue(ie({},vn),{onActionCallback:Ye})):xe.createElement("span",{className:"v-line"}))),Oe?xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ue?xe.createElement(xe.Fragment,null,xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Pt&&xe.createElement("li",null,xe.createElement(Se,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Pt}`,onActionCallback:Ye},xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Vt&&xe.createElement("li",null,Vt),xe.createElement("li",{className:"btn-full-screen"},xe.createElement(Se,{icon:`${Et?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Et?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ye})))},Re=Te(57261),Ne=Te(78241),ze=Te(92832),Ge=Te(3113),Je=Object.defineProperty,Qe=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,it=(Be,Oe,Ue)=>Oe in Be?Je(Be,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Be[Oe]=Ue,ft=(Be,Oe)=>{for(var Ue in Oe||(Oe={}))qe.call(Oe,Ue)&&it(Be,Ue,Oe[Ue]);if($e)for(var Ue of $e(Oe))ut.call(Oe,Ue)&&it(Be,Ue,Oe[Ue]);return Be},nt=(Be,Oe)=>Qe(Be,rt(Oe));const dt={labelCol:{span:4},wrapperCol:{span:20}};var yt=({callback:Be,onCancel:Oe})=>{function Ue(Ye){Be(Ye)}return Ie.createElement(Ne.default,nt(ft({},dt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ue,style:{width:500}}),Ie.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Ie.createElement(ze.default,null)),Ie.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Ie.createElement(ze.default,null)),Ie.createElement("div",{className:"flex-container flex-end"},Ie.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(Ge.ZP,{type:"ghost",onClick:Oe},"\u53D6\u6D88")))},gt=Te(85533),ht=Te(45053),mt=Te(43418),Ut=Te(95237),Qt=Te(16750),en=Te(59301),mn=({callback:Be,onCancel:Oe})=>{const Ue=document.createElement("canvas"),Ye=Ue.getContext("2d");Ue.width=1e3,Ue.height=800,Ye.fillStyle="#ffffff",Ye.fillRect(0,0,Ue.width,Ue.height);const Et=Ue.toDataURL("image/png");return en.createElement(mt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},en.createElement(Ut.Z,{style:{height:"100vh"}},en.createElement(Qt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Et,visible:!0,title:String(Date.now())},onOk:Pt=>{Be({src:Pt.url})},onClose:Oe})))},Bt=Te(12378);function tn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(tn,go.CommandHandler),tn.prototype.canAlignSelection=function(){var Be=this.diagram;return!(Be===null||Be.isReadOnly||Be.isModelReadOnly||Be.selection.count<2)},tn.prototype.alignLeft=function(){var Be=this.diagram;Be.startTransaction("aligning left");var Oe=1/0;Be.selection.each(function(Ue){Ue instanceof go.Link||(Oe=Math.min(Ue.position.x,Oe))}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Oe,Ue.position.y))}),Be.commitTransaction("aligning left")},tn.prototype.alignRight=function(){var Be=this.diagram;Be.startTransaction("aligning right");var Oe=-1/0;Be.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Ye=Ue.actualBounds.x+Ue.actualBounds.width;Oe=Math.max(Ye,Oe)}}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Oe-Ue.actualBounds.width,Ue.position.y))}),Be.commitTransaction("aligning right")},tn.prototype.alignTop=function(){var Be=this.diagram;Be.startTransaction("alignTop");var Oe=1/0;Be.selection.each(function(Ue){Ue instanceof go.Link||(Oe=Math.min(Ue.position.y,Oe))}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.position.x,Oe))}),Be.commitTransaction("alignTop")},tn.prototype.alignBottom=function(){var Be=this.diagram;Be.startTransaction("aligning bottom");var Oe=-1/0;Be.selection.each(function(Ue){if(!(Ue instanceof go.Link)){var Ye=Ue.actualBounds.y+Ue.actualBounds.height;Oe=Math.max(Ye,Oe)}}),Be.selection.each(function(Ue){Ue instanceof go.Link||Ue.move(new go.Point(Ue.actualBounds.x,Oe-Ue.actualBounds.height))}),Be.commitTransaction("aligning bottom")},tn.prototype.alignCenterX=function(){var Be=this.diagram,Oe=Be.selection.first();if(Oe){Be.startTransaction("aligning Center X");var Ue=Oe.actualBounds.x+Oe.actualBounds.width/2;Be.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ue-Ye.actualBounds.width/2,Ye.actualBounds.y))}),Be.commitTransaction("aligning Center X")}},tn.prototype.alignCenterY=function(){var Be=this.diagram,Oe=Be.selection.first();if(Oe){Be.startTransaction("aligning Center Y");var Ue=Oe.actualBounds.y+Oe.actualBounds.height/2;Be.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ye.actualBounds.x,Ue-Ye.actualBounds.height/2))}),Be.commitTransaction("aligning Center Y")}},tn.prototype.alignColumn=function(Be){var Oe=this.diagram;Oe.startTransaction("align Column"),Be===void 0&&(Be=0),Be=parseFloat(Be);var Ue=new Array;Oe.selection.each(function(Vt){Vt instanceof go.Link||Ue.push(Vt)});for(var Ye=0;Ye0){for(var Vt=Pt.elt(qt-1);Vt!==null&&Vt.isTreeExpanded&&!Vt.isTreeLeaf;){var hn=this._sortTreeChildrenByY(Vt);Vt=hn.last()}Vt!==null&&Be.select(Vt)}else Be.select(Et)}}else if(Ue.key==="Down")if(Oe.isTreeExpanded&&!Oe.isTreeLeaf){var Ye=this._sortTreeChildrenByY(Oe).first();Ye!==null&&Be.select(Ye)}else for(;Oe!==null;){var Et=Oe.findTreeParentNode();if(Et===null)break;var Pt=this._sortTreeChildrenByY(Et),qt=Pt.indexOf(Oe);if(qtPt.y?1:Et.xPt.x?1:0}),Oe},tn.prototype.copyToClipboard=function(Be){go.CommandHandler.prototype.copyToClipboard.call(this,Be),this._lastPasteOffset.set(this.pasteOffset)},tn.prototype.pasteFromClipboard=function(){var Be=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Be,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Be},Object.defineProperty(tn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Be){if(Be!=="move"&&Be!=="select"&&Be!=="scroll"&&Be!=="tree"&&Be!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Be);this._arrowKeyBehavior=Be}}),Object.defineProperty(tn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Be){if(!(Be instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Be);this._pasteOffset.set(Be)}});var on=tn,Dn=Te(25863),In=Te(43604),sn=Te(38147),nn={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Gt=Te(59301),Ot=(Be,Oe,Ue)=>new Promise((Ye,Et)=>{var Pt=hn=>{try{Vt(Ue.next(hn))}catch(vn){Et(vn)}},qt=hn=>{try{Vt(Ue.throw(hn))}catch(vn){Et(vn)}},Vt=hn=>hn.done?Ye(hn.value):Promise.resolve(hn.value).then(Pt,qt);Vt((Ue=Ue.apply(Be,Oe)).next())});function At({onCancel:Be,callback:Oe}){let Ue=(0,Ie.useRef)(),Ye=(0,Ie.useRef)(),Et=(0,Ie.useRef)(),Pt=(0,Ie.useRef)(!1);const qt=(0,Ie.useRef)(!1),[Vt,hn]=(0,Ie.useState)(0);function vn(){const Pn=Bt.bx.make,qn={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ue.current=new Bt.S0(Ye.current,{padding:20,grid:Pn(Bt.s_,"Grid",Pn(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Pn(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Kr=>{var ca=Kr.diagram.commandHandler.addTopLevelParts(Kr.diagram.selection,!0);ca||Kr.diagram.currentTool.doCancel()},commandHandler:Pn(on),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Kr=>{var ca=Kr.subject;ca.location=ca.location.copy().snapToGridPoint(Kr.diagram.grid.gridOrigin,Kr.diagram.grid.gridCellSize),setTimeout(()=>{Kr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Kr=>{var ca=Kr.subject;setTimeout(()=>{Kr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Kr=>{var ca=Kr.parameter.part;ca.invalidateConnectedLinks();var Na=Kr.subject;Kr.diagram.toolManager.linkingTool.isForwards?Na.toNode.invalidateConnectedLinks():Na.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ue.current.nodeTemplate=Pn(Bt.NB,"Auto",{locationSpot:Bt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Bt.$u(120,60),minSize:new Bt.$u(40,40),resizable:!0,resizeCellSize:new Bt.$u(10,10),rotatable:!0},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),new Bt.KX("desiredSize","size",Bt.$u.parse).makeTwoWay(Bt.$u.stringify),Pn(Bt.bn,{name:"SHAPE",fill:qn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("figure"),new Bt.KX("fill"),new Bt.KX("stroke","borderColor"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Pn(Bt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Pn(Bt.al,{margin:1,textAlign:"center",overflow:Bt.al.OverflowEllipsis,editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),Ue.current.nodeTemplate.toolTip=Pn("ToolTip",Pn(Bt.s_,"Vertical",{maxSize:new Bt.$u(200,NaN)},Pn(Bt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Bt.KX("text")),Pn(Bt.al,{font:"10pt sans-serif",textAlign:"center"},new Bt.KX("text","details"))));function tr(Kr,ca){var Na=(la,ei)=>{la.handled=!0,la.diagram.model.commit(Fi=>{var ka=ei.part.adornedPart,ki=new Bt.E9().setRectSpot(ka.actualBounds,Kr);ki.subtract(ka.location),ki.scale(2,2),ki.x+=Math.sign(ki.x)*130,ki.y+=Math.sign(ki.y)*130,ki.add(ka.location),ki.snapToGridPoint(la.diagram.grid.gridOrigin,la.diagram.grid.gridCellSize);var Xi=Fi.copyNodeData(ka.data);Fi.setGroupKeyForNodeData(Xi,Fi.getGroupKeyForNodeData(ka.data)),Fi.addNodeData(Xi);var ko={from:ka.key,to:Fi.getKeyForNodeData(Xi)};Fi.addLinkData(ko);var Eo=la.diagram.findNodeForData(Xi);Eo.location=ki,la.diagram.select(Eo),setTimeout(()=>{la.diagram.commandHandler.editTextBlock()},20)})};return Pn(Bt.bn,{figure:ca,alignment:Kr,alignmentFocus:Kr.opposite(),width:Kr.equals(Bt.z6.Top)||Kr.equals(Bt.z6.Bottom)?25:18,height:Kr.equals(Bt.z6.Top)||Kr.equals(Bt.z6.Bottom)?18:25,fill:"orange",stroke:qn.white,strokeWidth:4,mouseEnter:(la,ei)=>ei.fill="dodgerblue",mouseLeave:(la,ei)=>ei.fill="orange",isActionable:!0,click:Na,contextClick:Na})}function hr(Kr){return Pn(Bt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(ca,Na)=>Na.fill="dodgerblue",mouseLeave:(ca,Na)=>Na.fill="orange",click:(ca,Na)=>{ca.diagram.commandHandler.showContextMenu(Na.part.adornedPart)}},Kr||{})}Ue.current.nodeTemplate.selectionAdornmentTemplate=Pn(Bt.uz,"Spot",Pn(Bt.Vm,{padding:10}),tr(Bt.z6.Top,"TriangleUp"),tr(Bt.z6.Left,"TriangleLeft"),tr(Bt.z6.Right,"TriangleRight"),tr(Bt.z6.Bottom,"TriangleDown"),hr({alignment:new Bt.z6(.75,0)}));function fn(Kr,ca){return(Na,la)=>{Na.handled=!0,Na.diagram.model.commit(ei=>{ei.set(la.part.adornedPart.data,Kr,ca)})}}function an(Kr,ca){return ca||(ca="color"),Pn(Bt.bn,{width:16,height:16,stroke:"lightgray",fill:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.stroke="dodgerblue",mouseLeave:(Na,la)=>la.stroke="lightgray",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}function Tn(){return[Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.white,"fill"),an(qn.beige,"fill"),an(qn.extralightblue,"fill"),an(qn.extralightred,"fill"))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.lightgray,"fill"),an(qn.lightgreen,"fill"),an(qn.lightblue,"fill"),an(qn.lightred,"fill")))]}function zn(){return[Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.black),an(qn.green),an(qn.blue),an(qn.red))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",an(qn.white),an(qn.magenta),an(qn.purple),an(qn.orange)))]}function lr(Kr,ca){return ca||(ca="thickness"),Pn(Bt.bn,"LineH",{width:16,height:16,strokeWidth:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}function Ar(Kr,ca){return ca||(ca="dash"),Pn(Bt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}function Xn(){return[Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",lr(1),lr(2),lr(3),lr(4))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",Ar(null),Ar([2,4]),Ar([4,4])))]}function ur(Kr,ca){return ca||(ca="figure"),Pn(Bt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Kr,margin:1,background:"transparent",mouseEnter:(Na,la)=>la.fill="dodgerblue",mouseLeave:(Na,la)=>la.fill="lightgray",click:fn(ca,Kr),contextClick:fn(ca,Kr)})}Ue.current.nodeTemplate.contextMenu=Pn("ContextMenu",Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",ur("Rectangle"),ur("RoundedRectangle"),ur("Ellipse"),ur("Diamond"))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",ur("Parallelogram2"),ur("ManualOperation"),ur("Procedure"),ur("Cylinder1"))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",ur("Terminator"),ur("CreateRequest"),ur("Document"),ur("TriangleDown"))),Tn(),zn(),Xn()),Ue.current.groupTemplate=Pn(Bt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Bt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Kr,ca)=>{var Na=ca.addMembers(ca.diagram.selection,!0);Na||ca.diagram.currentTool.doCancel()},avoidable:!1},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),Pn(Bt.s_,"Auto",{name:"BODY"},Pn(Bt.bn,{parameter1:10,fill:qn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("fill"),new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Pn(Bt.Vm,{background:"transparent",margin:20})),Pn(Bt.al,{alignment:Bt.z6.Top,alignmentFocus:Bt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Bt.KX("text"),new Bt.KX("stroke","color"))),Ue.current.groupTemplate.selectionAdornmentTemplate=Pn(Bt.uz,"Spot",Pn(Bt.s_,"Auto",Pn(Bt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Pn(Bt.Vm,{margin:1.5})),hr({alignment:Bt.z6.TopRight,alignmentFocus:Bt.z6.BottomRight})),Ue.current.groupTemplate.contextMenu=Pn("ContextMenu",Tn(),zn(),Xn()),Ue.current.linkTemplate=Pn(Bt.rU,{layerName:"Foreground",routing:Bt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Bt.KX("fromSpot","fromSpot",Bt.z6.parse),new Bt.KX("toSpot","toSpot",Bt.z6.parse),new Bt.KX("fromShortLength","dir",Kr=>Kr>=1?10:0),new Bt.KX("toShortLength","dir",Kr=>Kr>=1?10:0),new Bt.KX("points").makeTwoWay(),Pn(Bt.bn,{strokeWidth:2},new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Pn(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,0),segmentOrientation:Bt.rU.OrientAlong,alignmentFocus:Bt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Kr=>Kr===1)),Pn(Bt.bn,{segmentIndex:-1,segmentOffset:new Bt.E9(-10,6),segmentOrientation:Bt.rU.OrientPlus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Kr=>Kr>=1),new Bt.KX("width","thickness",Kr=>7+3*Kr),new Bt.KX("height","thickness",Kr=>7+3*Kr),new Bt.KX("segmentOffset","thickness",Kr=>new Bt.E9(-15,4+1.5*Kr))),Pn(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,-6),segmentOrientation:Bt.rU.OrientMinus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Kr=>Kr===2),new Bt.KX("width","thickness",Kr=>7+3*Kr),new Bt.KX("height","thickness",Kr=>7+3*Kr),new Bt.KX("segmentOffset","thickness",Kr=>new Bt.E9(-15,4+1.5*Kr))),Pn(Bt.al,{alignmentFocus:new Bt.z6(0,1,-4,0),editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),Ue.current.linkTemplate.selectionAdornmentTemplate=Pn(Bt.uz,Pn(Bt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:dr(2)},new Bt.KX("pathPattern","thickness",dr)),hr({alignmentFocus:new Bt.z6(0,0,-6,-4)}));function dr(Kr){return Pn(Bt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Kr+4).toString()+" H3"})}function On(Kr){var ca="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Kr===0?ca="M0 0 M16 16 M0 8 L16 8":Kr===2&&(ca="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Pn(Bt.bn,{geometryString:ca,margin:2,background:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:fn("dir",Kr),contextClick:fn("dir",Kr)})}function pr(Kr){var ca=(Na,la)=>{Na.handled=!0,Na.diagram.model.commit(ei=>{var Fi=la.part.adornedPart;ei.set(Fi.data,Kr?"toSpot":"fromSpot",Bt.z6.stringify(Bt.z6.AllSides)),(Kr?Fi.toNode:Fi.fromNode).invalidateConnectedLinks()})};return Pn(Bt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Na,la)=>la.background="dodgerblue",mouseLeave:(Na,la)=>la.background="transparent",click:ca,contextClick:ca})}function Yn(Kr,ca){var Na=0,la=Bt.z6.RightSide;Kr.equals(Bt.z6.Top)?(Na=270,la=Bt.z6.TopSide):Kr.equals(Bt.z6.Left)?(Na=180,la=Bt.z6.LeftSide):Kr.equals(Bt.z6.Bottom)&&(Na=90,la=Bt.z6.BottomSide),ca||(Na-=180);var ei=(Fi,ka)=>{Fi.handled=!0,Fi.diagram.model.commit(ki=>{var Xi=ka.part.adornedPart;ki.set(Xi.data,ca?"toSpot":"fromSpot",Bt.z6.stringify(la)),(ca?Xi.toNode:Xi.fromNode).invalidateConnectedLinks()})};return Pn(Bt.bn,{alignment:Kr,alignmentFocus:Kr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Na,background:"transparent",mouseEnter:(Fi,ka)=>ka.background="dodgerblue",mouseLeave:(Fi,ka)=>ka.background="transparent",click:ei,contextClick:ei})}Ue.current.linkTemplate.contextMenu=Pn("ContextMenu",zn(),Xn(),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",On(0),On(1),On(2))),Pn("ContextMenuButton",Pn(Bt.s_,"Horizontal",Pn(Bt.s_,"Spot",pr(!1),Yn(Bt.z6.Top,!1),Yn(Bt.z6.Left,!1),Yn(Bt.z6.Right,!1),Yn(Bt.z6.Bottom,!1)),Pn(Bt.s_,"Spot",{margin:new Bt.Zt(0,0,0,2)},pr(!0),Yn(Bt.z6.Top,!0),Yn(Bt.z6.Left,!0),Yn(Bt.z6.Right,!0),Yn(Bt.z6.Bottom,!0)))));const Nr=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, diff --git a/p__tasks__Jupyter__index.c5543c4f.async.js b/p__tasks__Jupyter__index.a952143a.async.js similarity index 76% rename from p__tasks__Jupyter__index.c5543c4f.async.js rename to p__tasks__Jupyter__index.a952143a.async.js index 394f44a77d..72dcda911f 100644 --- a/p__tasks__Jupyter__index.c5543c4f.async.js +++ b/p__tasks__Jupyter__index.a952143a.async.js @@ -285,7 +285,7 @@ ${be} top:0 !important; right:0 !important; pointer-events: none !important; -`,I=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],U={},N;function H(Ne){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et=Ne.getAttribute("id")||Ne.getAttribute("data-reactid")||Ne.getAttribute("name");if(Be&&U[et])return U[et];var P=window.getComputedStyle(Ne),X=P.getPropertyValue("box-sizing")||P.getPropertyValue("-moz-box-sizing")||P.getPropertyValue("-webkit-box-sizing"),ue=parseFloat(P.getPropertyValue("padding-bottom"))+parseFloat(P.getPropertyValue("padding-top")),ee=parseFloat(P.getPropertyValue("border-bottom-width"))+parseFloat(P.getPropertyValue("border-top-width")),G=I.map(function(xe){return"".concat(xe,":").concat(P.getPropertyValue(xe))}).join(";"),we={sizingStyle:G,paddingSize:ue,borderSize:ee,boxSizing:X};return Be&&et&&(U[et]=we),we}function w(Ne){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;N||(N=document.createElement("textarea"),N.setAttribute("tab-index","-1"),N.setAttribute("aria-hidden","true"),document.body.appendChild(N)),Ne.getAttribute("wrap")?N.setAttribute("wrap",Ne.getAttribute("wrap")):N.removeAttribute("wrap");var X=H(Ne,Be),ue=X.paddingSize,ee=X.borderSize,G=X.boxSizing,we=X.sizingStyle;N.setAttribute("style","".concat(we,";").concat(Z)),N.value=Ne.value||Ne.placeholder||"";var xe=void 0,lt=void 0,Je,qe=N.scrollHeight;if(G==="border-box"?qe+=ee:G==="content-box"&&(qe-=ue),et!==null||P!==null){N.value=" ";var Le=N.scrollHeight-ue;et!==null&&(xe=Le*et,G==="border-box"&&(xe=xe+ue+ee),qe=Math.max(xe,qe)),P!==null&&(lt=Le*P,G==="border-box"&&(lt=lt+ue+ee),Je=qe>lt?"":"hidden",qe=Math.min(lt,qe))}var se={height:qe,overflowY:Je,resize:"none"};return xe&&(se.minHeight=xe),lt&&(se.maxHeight=lt),se}var n=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],h=0,x=1,k=2,W=C.forwardRef(function(Ne,Be){var et=Ne,P=et.prefixCls,X=et.onPressEnter,ue=et.defaultValue,ee=et.value,G=et.autoSize,we=et.onResize,xe=et.className,lt=et.style,Je=et.disabled,qe=et.onChange,Le=et.onInternalAutoSize,se=(0,g.Z)(et,n),Pe=(0,d.Z)(ue,{value:ee,postState:function($t){return $t!=null?$t:""}}),Ae=(0,o.Z)(Pe,2),Ue=Ae[0],re=Ae[1],K=function($t){re($t.target.value),qe==null||qe($t)},ae=C.useRef();C.useImperativeHandle(Be,function(){return{textArea:ae.current}});var Q=C.useMemo(function(){return G&&(0,f.Z)(G)==="object"?[G.minRows,G.maxRows]:[]},[G]),z=(0,o.Z)(Q,2),oe=z[0],me=z[1],be=!!G,$e=function(){try{if(document.activeElement===ae.current){var $t=ae.current,Dn=$t.selectionStart,yn=$t.selectionEnd,On=$t.scrollTop;ae.current.setSelectionRange(Dn,yn),ae.current.scrollTop=On}}catch(Cn){}},ve=C.useState(k),ht=(0,o.Z)(ve,2),Ke=ht[0],Dt=ht[1],gt=C.useState(),tt=(0,o.Z)(gt,2),Nt=tt[0],T=tt[1],te=function(){Dt(h)};(0,y.Z)(function(){be&&te()},[ee,oe,me,be]),(0,y.Z)(function(){if(Ke===h)Dt(x);else if(Ke===x){var Mt=w(ae.current,!1,oe,me);Dt(k),T(Mt)}else $e()},[Ke]);var Ie=C.useRef(),vt=function(){S.Z.cancel(Ie.current)},ct=function($t){Ke===k&&(we==null||we($t),G&&(vt(),Ie.current=(0,S.Z)(function(){te()})))};C.useEffect(function(){return vt},[]);var St=be?Nt:null,jt=(0,R.Z)((0,R.Z)({},lt),St);return(Ke===h||Ke===x)&&(jt.overflowY="hidden",jt.overflowX="hidden"),C.createElement(L.Z,{onResize:ct,disabled:!(G||we)},C.createElement("textarea",(0,e.Z)({},se,{ref:ae,style:jt,className:v()(P,xe,(0,i.Z)({},"".concat(P,"-disabled"),Je)),disabled:Je,value:Ue,onChange:K})))}),pe=W,He=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Ge(Ne,Be){return(0,E.Z)(Ne||"").slice(0,Be).join("")}function Qe(Ne,Be,et,P){var X=et;return Ne?X=Ge(et,P):(0,E.Z)(Be||"").lengthP&&(X=Be),X}var bt=C.forwardRef(function(Ne,Be){var et,P=Ne.defaultValue,X=Ne.value,ue=Ne.onFocus,ee=Ne.onBlur,G=Ne.onChange,we=Ne.allowClear,xe=Ne.maxLength,lt=Ne.onCompositionStart,Je=Ne.onCompositionEnd,qe=Ne.suffix,Le=Ne.prefixCls,se=Le===void 0?"rc-textarea":Le,Pe=Ne.classes,Ae=Ne.showCount,Ue=Ne.className,re=Ne.style,K=Ne.disabled,ae=Ne.hidden,Q=Ne.classNames,z=Ne.styles,oe=Ne.onResize,me=(0,g.Z)(Ne,He),be=(0,d.Z)(P,{value:X,defaultValue:P}),$e=(0,o.Z)(be,2),ve=$e[0],ht=$e[1],Ke=(0,C.useRef)(null),Dt=C.useState(!1),gt=(0,o.Z)(Dt,2),tt=gt[0],Nt=gt[1],T=C.useState(!1),te=(0,o.Z)(T,2),Ie=te[0],vt=te[1],ct=C.useRef(),St=C.useRef(0),jt=C.useState(null),Mt=(0,o.Z)(jt,2),$t=Mt[0],Dn=Mt[1],yn=function(){var Zt;(Zt=Ke.current)===null||Zt===void 0||Zt.textArea.focus()};(0,C.useImperativeHandle)(Be,function(){return{resizableTextArea:Ke.current,focus:yn,blur:function(){var Zt;(Zt=Ke.current)===null||Zt===void 0||Zt.textArea.blur()}}}),(0,C.useEffect)(function(){Nt(function(Fn){return!K&&Fn})},[K]);var On=Number(xe)>0,Cn=function(Zt){vt(!0),ct.current=ve,St.current=Zt.currentTarget.selectionStart,lt==null||lt(Zt)},Hn=function(Zt){vt(!1);var Ee=Zt.currentTarget.value;if(On){var B,r=St.current>=xe+1||St.current===((B=ct.current)===null||B===void 0?void 0:B.length);Ee=Qe(r,ct.current,Ee,xe)}Ee!==ve&&(ht(Ee),(0,b.rJ)(Zt.currentTarget,Zt,G,Ee)),Je==null||Je(Zt)},dn=function(Zt){var Ee=Zt.target.value;if(!Ie&&On){var B=Zt.target.selectionStart>=xe+1||Zt.target.selectionStart===Ee.length||!Zt.target.selectionStart;Ee=Qe(B,ve,Ee,xe)}ht(Ee),(0,b.rJ)(Zt.currentTarget,Zt,G,Ee)},_n=function(Zt){var Ee=me.onPressEnter,B=me.onKeyDown;Zt.key==="Enter"&&Ee&&Ee(Zt),B==null||B(Zt)},an=function(Zt){Nt(!0),ue==null||ue(Zt)},Tn=function(Zt){Nt(!1),ee==null||ee(Zt)},It=function(Zt){var Ee;ht(""),yn(),(0,b.rJ)((Ee=Ke.current)===null||Ee===void 0?void 0:Ee.textArea,Zt,G)},Un=(0,b.D7)(ve);!Ie&&On&&X==null&&(Un=Ge(Un,xe));var bn=qe,Gn;if(Ae){var dr=(0,E.Z)(Un).length;(0,f.Z)(Ae)==="object"?Gn=Ae.formatter({value:Un,count:dr,maxLength:xe}):Gn="".concat(dr).concat(On?" / ".concat(xe):""),bn=C.createElement(C.Fragment,null,bn,C.createElement("span",{className:v()("".concat(se,"-data-count"),Q==null?void 0:Q.count),style:z==null?void 0:z.count},Gn))}var Sn=function(Zt){var Ee;oe==null||oe(Zt),(Ee=Ke.current)!==null&&Ee!==void 0&&Ee.textArea.style.height&&Dn(!0)},_t=!me.autoSize&&!Ae&&!we,jn=C.createElement(A.BaseInput,{value:Un,allowClear:we,handleReset:It,suffix:bn,prefixCls:se,classes:{affixWrapper:v()(Pe==null?void 0:Pe.affixWrapper,(et={},(0,i.Z)(et,"".concat(se,"-show-count"),Ae),(0,i.Z)(et,"".concat(se,"-textarea-allow-clear"),we),et))},disabled:K,focused:tt,className:Ue,style:(0,R.Z)((0,R.Z)({},re),$t&&!_t?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Gn=="string"?Gn:void 0}},hidden:ae,inputElement:C.createElement(pe,(0,e.Z)({},me,{onKeyDown:_n,onChange:dn,onFocus:an,onBlur:Tn,onCompositionStart:Cn,onCompositionEnd:Hn,className:Q==null?void 0:Q.textarea,style:(0,R.Z)((0,R.Z)({},z==null?void 0:z.textarea),{},{resize:re==null?void 0:re.resize}),disabled:K,prefixCls:se,onResize:Sn,ref:Ke}))});return jn}),ut=bt,mt=ut},48911:function(Y,M,t){"use strict";t.d(M,{Z:function(){return Pe}});var e=t(54476),R=t(76190),i=t(33885),f=t(20068),o=t(42978),g=t(75931),E=t(92310),p=t.n(E),v=t(29301),A=t(70425),b=t(34280),d=t(59301),C=t(4676),L=d.forwardRef(function(Ae,Ue){var re=Ae.height,K=Ae.offsetY,ae=Ae.offsetX,Q=Ae.children,z=Ae.prefixCls,oe=Ae.onInnerResize,me=Ae.innerProps,be=Ae.rtl,$e=Ae.extra,ve={},ht={display:"flex",flexDirection:"column"};return K!==void 0&&(ve={height:re,position:"relative",overflow:"hidden"},ht=(0,i.Z)((0,i.Z)({},ht),{},(0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)({transform:"translateY(".concat(K,"px)")},be?"marginRight":"marginLeft",-ae),"position","absolute"),"left",0),"right",0),"top",0))),d.createElement("div",{style:ve},d.createElement(v.Z,{onResize:function(Dt){var gt=Dt.offsetHeight;gt&&oe&&oe()}},d.createElement("div",(0,e.Z)({style:ht,className:p()((0,f.Z)({},"".concat(z,"-holder-inner"),z)),ref:Ue},me),Q,$e)))});L.displayName="Filler";var y=L;function S(Ae){var Ue=Ae.children,re=Ae.setRef,K=d.useCallback(function(ae){re(ae)},[]);return d.cloneElement(Ue,{ref:K})}function Z(Ae,Ue,re,K,ae,Q,z,oe){var me=oe.getKey;return Ae.slice(Ue,re+1).map(function(be,$e){var ve=Ue+$e,ht=z(be,ve,{style:{width:K},offsetX:ae}),Ke=me(be);return d.createElement(S,{key:Ke,setRef:function(gt){return Q(be,gt)}},ht)})}function I(Ae,Ue,re,K){var ae=re-Ae,Q=Ue-re,z=Math.min(ae,Q)*2;if(K<=z){var oe=Math.floor(K/2);return K%2?re+oe+1:re-oe}return ae>Q?re-(K-Q):re+(K-ae)}function U(Ae,Ue,re){var K=Ae.length,ae=Ue.length,Q,z;if(K===0&&ae===0)return null;K2&&arguments[2]!==void 0?arguments[2]:!1,ve=me?be<0&&oe.current.left||be>0&&oe.current.right:be<0&&oe.current.top||be>0&&oe.current.bottom;return $e&&ve?(clearTimeout(Q.current),ae.current=!1):(!ve||ae.current)&&z(),!ae.current&&ve}};function x(Ae,Ue,re,K,ae,Q,z){var oe=(0,d.useRef)(0),me=(0,d.useRef)(null),be=(0,d.useRef)(null),$e=(0,d.useRef)(!1),ve=h(Ue,re,K,ae);function ht(T,te){if(H.Z.cancel(me.current),!ve(!1,te)){var Ie=T;if(!Ie._virtualHandled)Ie._virtualHandled=!0;else return;oe.current+=te,be.current=te,n||Ie.preventDefault(),me.current=(0,H.Z)(function(){var vt=$e.current?10:1;z(oe.current*vt,!1),oe.current=0})}}function Ke(T,te){z(te,!0),n||T.preventDefault()}var Dt=(0,d.useRef)(null),gt=(0,d.useRef)(null);function tt(T){if(Ae){H.Z.cancel(gt.current),gt.current=(0,H.Z)(function(){Dt.current=null},2);var te=T.deltaX,Ie=T.deltaY,vt=T.shiftKey,ct=te,St=Ie;(Dt.current==="sx"||!Dt.current&&vt&&Ie&&!te)&&(ct=Ie,St=0,Dt.current="sx");var jt=Math.abs(ct),Mt=Math.abs(St);Dt.current===null&&(Dt.current=Q&&jt>Mt?"x":"y"),Dt.current==="y"?ht(T,St):Ke(T,ct)}}function Nt(T){Ae&&($e.current=T.detail===be.current)}return[tt,Nt]}function k(Ae,Ue,re,K){var ae=d.useMemo(function(){return[new Map,[]]},[Ae,re.id,K]),Q=(0,o.Z)(ae,2),z=Q[0],oe=Q[1],me=function($e){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,ht=z.get($e),Ke=z.get(ve);if(ht===void 0||Ke===void 0)for(var Dt=Ae.length,gt=oe.length;gt0&&arguments[0]!==void 0?arguments[0]:!1;$e();var Dt=function(){var Nt=!1;oe.current.forEach(function(T,te){if(T&&T.offsetParent){var Ie=T.offsetHeight,vt=getComputedStyle(T),ct=vt.marginTop,St=vt.marginBottom,jt=Qe(ct),Mt=Qe(St),$t=Ie+jt+Mt;me.current.get(te)!==$t&&(me.current.set(te,$t),Nt=!0)}}),Nt&&z(function(T){return T+1})};if(Ke)Dt();else{be.current+=1;var gt=be.current;Promise.resolve().then(function(){gt===be.current&&Dt()})}}function ht(Ke,Dt){var gt=Ae(Ke),tt=oe.current.get(gt);Dt?(oe.current.set(gt,Dt),ve()):oe.current.delete(gt),!tt!=!Dt&&(Dt?Ue==null||Ue(Ke):re==null||re(Ke))}return(0,d.useEffect)(function(){return $e},[]),[ht,ve,me.current,Q]}var ut=14/15;function mt(Ae,Ue,re){var K=(0,d.useRef)(!1),ae=(0,d.useRef)(0),Q=(0,d.useRef)(0),z=(0,d.useRef)(null),oe=(0,d.useRef)(null),me,be=function(Ke){if(K.current){var Dt=Math.ceil(Ke.touches[0].pageX),gt=Math.ceil(Ke.touches[0].pageY),tt=ae.current-Dt,Nt=Q.current-gt,T=Math.abs(tt)>Math.abs(Nt);T?ae.current=Dt:Q.current=gt;var te=re(T,T?tt:Nt,!1,Ke);te&&Ke.preventDefault(),clearInterval(oe.current),te&&(oe.current=setInterval(function(){T?tt*=ut:Nt*=ut;var Ie=Math.floor(T?tt:Nt);(!re(T,Ie,!0)||Math.abs(Ie)<=.1)&&clearInterval(oe.current)},16))}},$e=function(){K.current=!1,me()},ve=function(Ke){me(),Ke.touches.length===1&&!K.current&&(K.current=!0,ae.current=Math.ceil(Ke.touches[0].pageX),Q.current=Math.ceil(Ke.touches[0].pageY),z.current=Ke.target,z.current.addEventListener("touchmove",be,{passive:!1}),z.current.addEventListener("touchend",$e,{passive:!0}))};me=function(){z.current&&(z.current.removeEventListener("touchmove",be),z.current.removeEventListener("touchend",$e))},(0,b.Z)(function(){return Ae&&Ue.current.addEventListener("touchstart",ve,{passive:!0}),function(){var ht;(ht=Ue.current)===null||ht===void 0||ht.removeEventListener("touchstart",ve),me(),clearInterval(oe.current)}},[Ae])}function Ne(Ae){return Math.floor(Math.pow(Ae,.5))}function Be(Ae,Ue){var re="touches"in Ae?Ae.touches[0]:Ae;return re[Ue?"pageX":"pageY"]-window[Ue?"scrollX":"scrollY"]}function et(Ae,Ue,re){d.useEffect(function(){var K=Ue.current;if(Ae&&K){var ae=!1,Q,z,oe=function(){H.Z.cancel(Q)},me=function ht(){oe(),Q=(0,H.Z)(function(){re(z),ht()})},be=function(){ae=!1,oe()},$e=function(Ke){if(!(Ke.target.draggable||Ke.button!==0)){var Dt=Ke;Dt._virtualHandled||(Dt._virtualHandled=!0,ae=!0)}},ve=function(Ke){if(ae){var Dt=Be(Ke,!1),gt=K.getBoundingClientRect(),tt=gt.top,Nt=gt.bottom;if(Dt<=tt){var T=tt-Dt;z=-Ne(T),me()}else if(Dt>=Nt){var te=Dt-Nt;z=Ne(te),me()}else oe()}};return K.addEventListener("mousedown",$e),K.ownerDocument.addEventListener("mouseup",be),K.ownerDocument.addEventListener("mousemove",ve),K.ownerDocument.addEventListener("dragend",be),function(){K.removeEventListener("mousedown",$e),K.ownerDocument.removeEventListener("mouseup",be),K.ownerDocument.removeEventListener("mousemove",ve),K.ownerDocument.removeEventListener("dragend",be),oe()}}},[Ae])}var P=10;function X(Ae,Ue,re,K,ae,Q,z,oe){var me=d.useRef(),be=d.useState(null),$e=(0,o.Z)(be,2),ve=$e[0],ht=$e[1];return(0,b.Z)(function(){if(ve&&ve.times=0;Cn-=1){var Hn=ae(Ue[Cn]),dn=re.get(Hn);if(dn===void 0){T=!0;break}if(On-=dn,On<=0)break}switch(vt){case"top":Ie=St-tt;break;case"bottom":Ie=jt-Nt+tt;break;default:{var _n=Ae.current.scrollTop,an=_n+Nt;St<_n?te="top":jt>an&&(te="bottom")}}Ie!==null&&z(Ie),Ie!==ve.lastTop&&(T=!0)}T&&ht((0,i.Z)((0,i.Z)({},ve),{},{times:ve.times+1,targetAlign:te,lastTop:Ie}))}},[ve,Ae.current]),function(Ke){if(Ke==null){oe();return}if(H.Z.cancel(me.current),typeof Ke=="number")z(Ke);else if(Ke&&(0,R.Z)(Ke)==="object"){var Dt,gt=Ke.align;"index"in Ke?Dt=Ke.index:Dt=Ue.findIndex(function(T){return ae(T)===Ke.key});var tt=Ke.offset,Nt=tt===void 0?0:tt;ht({times:0,index:Dt,offset:Nt,originAlign:gt})}}}var ue=d.forwardRef(function(Ae,Ue){var re=Ae.prefixCls,K=Ae.rtl,ae=Ae.scrollOffset,Q=Ae.scrollRange,z=Ae.onStartMove,oe=Ae.onStopMove,me=Ae.onScroll,be=Ae.horizontal,$e=Ae.spinSize,ve=Ae.containerSize,ht=Ae.style,Ke=Ae.thumbStyle,Dt=Ae.showScrollBar,gt=d.useState(!1),tt=(0,o.Z)(gt,2),Nt=tt[0],T=tt[1],te=d.useState(null),Ie=(0,o.Z)(te,2),vt=Ie[0],ct=Ie[1],St=d.useState(null),jt=(0,o.Z)(St,2),Mt=jt[0],$t=jt[1],Dn=!K,yn=d.useRef(),On=d.useRef(),Cn=d.useState(Dt),Hn=(0,o.Z)(Cn,2),dn=Hn[0],_n=Hn[1],an=d.useRef(),Tn=function(){Dt===!0||Dt===!1||(clearTimeout(an.current),_n(!0),an.current=setTimeout(function(){_n(!1)},3e3))},It=Q-ve||0,Un=ve-$e||0,bn=d.useMemo(function(){if(ae===0||It===0)return 0;var B=ae/It;return B*Un},[ae,It,Un]),Gn=function(r){r.stopPropagation(),r.preventDefault()},dr=d.useRef({top:bn,dragging:Nt,pageY:vt,startTop:Mt});dr.current={top:bn,dragging:Nt,pageY:vt,startTop:Mt};var Sn=function(r){T(!0),ct(Be(r,be)),$t(dr.current.top),z(),r.stopPropagation(),r.preventDefault()};d.useEffect(function(){var B=function(m){m.preventDefault()},r=yn.current,l=On.current;return r.addEventListener("touchstart",B,{passive:!1}),l.addEventListener("touchstart",Sn,{passive:!1}),function(){r.removeEventListener("touchstart",B),l.removeEventListener("touchstart",Sn)}},[]);var _t=d.useRef();_t.current=It;var jn=d.useRef();jn.current=Un,d.useEffect(function(){if(Nt){var B,r=function(m){var F=dr.current,D=F.dragging,q=F.pageY,V=F.startTop;H.Z.cancel(B);var J=yn.current.getBoundingClientRect(),Se=ve/(be?J.width:J.height);if(D){var Ze=(Be(m,be)-q)*Se,We=V;!Dn&&be?We-=Ze:We+=Ze;var Xe=_t.current,Me=jn.current,dt=Me?We/Me:0,nt=Math.ceil(dt*Xe);nt=Math.max(nt,0),nt=Math.min(nt,Xe),B=(0,H.Z)(function(){me(nt,be)})}},l=function(){T(!1),oe()};return window.addEventListener("mousemove",r,{passive:!0}),window.addEventListener("touchmove",r,{passive:!0}),window.addEventListener("mouseup",l,{passive:!0}),window.addEventListener("touchend",l,{passive:!0}),function(){window.removeEventListener("mousemove",r),window.removeEventListener("touchmove",r),window.removeEventListener("mouseup",l),window.removeEventListener("touchend",l),H.Z.cancel(B)}}},[Nt]),d.useEffect(function(){return Tn(),function(){clearTimeout(an.current)}},[ae]),d.useImperativeHandle(Ue,function(){return{delayHidden:Tn}});var Fn="".concat(re,"-scrollbar"),Zt={position:"absolute",visibility:dn?null:"hidden"},Ee={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return be?(Object.assign(Zt,{height:8,left:0,right:0,bottom:0}),Object.assign(Ee,(0,f.Z)({height:"100%",width:$e},Dn?"left":"right",bn))):(Object.assign(Zt,(0,f.Z)({width:8,top:0,bottom:0},Dn?"right":"left",0)),Object.assign(Ee,{width:"100%",height:$e,top:bn})),d.createElement("div",{ref:yn,className:p()(Fn,(0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(Fn,"-horizontal"),be),"".concat(Fn,"-vertical"),!be),"".concat(Fn,"-visible"),dn)),style:(0,i.Z)((0,i.Z)({},Zt),ht),onMouseDown:Gn,onMouseMove:Tn},d.createElement("div",{ref:On,className:p()("".concat(Fn,"-thumb"),(0,f.Z)({},"".concat(Fn,"-thumb-moving"),Nt)),style:(0,i.Z)((0,i.Z)({},Ee),Ke),onMouseDown:Sn}))}),ee=ue,G=20;function we(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,re=Ae/Ue*Ae;return isNaN(re)&&(re=0),re=Math.max(re,G),Math.floor(re)}var xe=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],lt=[],Je={overflowY:"auto",overflowAnchor:"none"};function qe(Ae,Ue){var re=Ae.prefixCls,K=re===void 0?"rc-virtual-list":re,ae=Ae.className,Q=Ae.height,z=Ae.itemHeight,oe=Ae.fullHeight,me=oe===void 0?!0:oe,be=Ae.style,$e=Ae.data,ve=Ae.children,ht=Ae.itemKey,Ke=Ae.virtual,Dt=Ae.direction,gt=Ae.scrollWidth,tt=Ae.component,Nt=tt===void 0?"div":tt,T=Ae.onScroll,te=Ae.onVirtualScroll,Ie=Ae.onVisibleChange,vt=Ae.innerProps,ct=Ae.extraRender,St=Ae.styles,jt=Ae.showScrollBar,Mt=jt===void 0?"optional":jt,$t=(0,g.Z)(Ae,xe),Dn=d.useCallback(function(nn){return typeof ht=="function"?ht(nn):nn==null?void 0:nn[ht]},[ht]),yn=bt(Dn,null,null),On=(0,o.Z)(yn,4),Cn=On[0],Hn=On[1],dn=On[2],_n=On[3],an=!!(Ke!==!1&&Q&&z),Tn=d.useMemo(function(){return Object.values(dn.maps).reduce(function(nn,Xt){return nn+Xt},0)},[dn.id,dn.maps]),It=an&&$e&&(Math.max(z*$e.length,Tn)>Q||!!gt),Un=Dt==="rtl",bn=p()(K,(0,f.Z)({},"".concat(K,"-rtl"),Un),ae),Gn=$e||lt,dr=(0,d.useRef)(),Sn=(0,d.useRef)(),_t=(0,d.useRef)(),jn=(0,d.useState)(0),Fn=(0,o.Z)(jn,2),Zt=Fn[0],Ee=Fn[1],B=(0,d.useState)(0),r=(0,o.Z)(B,2),l=r[0],u=r[1],m=(0,d.useState)(!1),F=(0,o.Z)(m,2),D=F[0],q=F[1],V=function(){q(!0)},J=function(){q(!1)},Se={getKey:Dn};function Ze(nn){Ee(function(Xt){var Rn;typeof nn=="function"?Rn=nn(Xt):Rn=nn;var Qn=on(Rn);return dr.current.scrollTop=Qn,Qn})}var We=(0,d.useRef)({start:0,end:Gn.length}),Xe=(0,d.useRef)(),Me=N(Gn,Dn),dt=(0,o.Z)(Me,1),nt=dt[0];Xe.current=nt;var wt=d.useMemo(function(){if(!an)return{scrollHeight:void 0,start:0,end:Gn.length-1,offset:void 0};if(!It){var nn;return{scrollHeight:((nn=Sn.current)===null||nn===void 0?void 0:nn.offsetHeight)||0,start:0,end:Gn.length-1,offset:void 0}}for(var Xt=0,Rn,Qn,tr,qn=Gn.length,ar=0;ar=Zt&&Rn===void 0&&(Rn=ar,Qn=Xt),vr>Zt+Q&&tr===void 0&&(tr=ar),Xt=vr}return Rn===void 0&&(Rn=0,Qn=0,tr=Math.ceil(Q/z)),tr===void 0&&(tr=Gn.length-1),tr=Math.min(tr+1,Gn.length-1),{scrollHeight:Xt,start:Rn,end:tr,offset:Qn}},[It,an,Zt,Gn,_n,Q]),st=wt.scrollHeight,Pt=wt.start,Bt=wt.end,Vt=wt.offset;We.current.start=Pt,We.current.end=Bt,d.useLayoutEffect(function(){var nn=dn.getRecord();if(nn.size===1){var Xt=Array.from(nn.keys())[0],Rn=nn.get(Xt),Qn=Gn[Pt];if(Qn&&Rn===void 0){var tr=Dn(Qn);if(tr===Xt){var qn=dn.get(Xt),ar=qn-z;Ze(function(Yn){return Yn+ar})}}}dn.resetRecord()},[st]);var ne=d.useState({width:0,height:Q}),$=(0,o.Z)(ne,2),fe=$[0],ye=$[1],ge=function(Xt){ye({width:Xt.offsetWidth,height:Xt.offsetHeight})},he=(0,d.useRef)(),de=(0,d.useRef)(),Ve=d.useMemo(function(){return we(fe.width,gt)},[fe.width,gt]),At=d.useMemo(function(){return we(fe.height,st)},[fe.height,st]),xt=st-Q,en=(0,d.useRef)(xt);en.current=xt;function on(nn){var Xt=nn;return Number.isNaN(en.current)||(Xt=Math.min(Xt,en.current)),Xt=Math.max(Xt,0),Xt}var De=Zt<=0,ie=Zt>=xt,Ce=l<=0,Qt=l>=gt,Wt=h(De,ie,Ce,Qt),yt=function(){return{x:Un?-l:l,y:Zt}},Ft=(0,d.useRef)(yt()),ft=(0,A.useEvent)(function(nn){if(te){var Xt=(0,i.Z)((0,i.Z)({},yt()),nn);(Ft.current.x!==Xt.x||Ft.current.y!==Xt.y)&&(te(Xt),Ft.current=Xt)}});function Ut(nn,Xt){var Rn=nn;Xt?((0,C.flushSync)(function(){u(Rn)}),ft()):Ze(Rn)}function Kt(nn){var Xt=nn.currentTarget.scrollTop;Xt!==Zt&&Ze(Xt),T==null||T(nn),ft()}var hn=function(Xt){var Rn=Xt,Qn=gt?gt-fe.width:0;return Rn=Math.max(Rn,0),Rn=Math.min(Rn,Qn),Rn},Zn=(0,A.useEvent)(function(nn,Xt){Xt?((0,C.flushSync)(function(){u(function(Rn){var Qn=Rn+(Un?-nn:nn);return hn(Qn)})}),ft()):Ze(function(Rn){var Qn=Rn+nn;return Qn})}),ln=x(an,De,ie,Ce,Qt,!!gt,Zn),Ct=(0,o.Z)(ln,2),rt=Ct[0],rn=Ct[1];mt(an,dr,function(nn,Xt,Rn,Qn){var tr=Qn;return Wt(nn,Xt,Rn)?!1:!tr||!tr._virtualHandled?(tr&&(tr._virtualHandled=!0),rt({preventDefault:function(){},deltaX:nn?Xt:0,deltaY:nn?0:Xt}),!0):!1}),et(It,dr,function(nn){Ze(function(Xt){return Xt+nn})}),(0,b.Z)(function(){function nn(Rn){var Qn=De&&Rn.detail<0,tr=ie&&Rn.detail>0;an&&!Qn&&!tr&&Rn.preventDefault()}var Xt=dr.current;return Xt.addEventListener("wheel",rt,{passive:!1}),Xt.addEventListener("DOMMouseScroll",rn,{passive:!0}),Xt.addEventListener("MozMousePixelScroll",nn,{passive:!1}),function(){Xt.removeEventListener("wheel",rt),Xt.removeEventListener("DOMMouseScroll",rn),Xt.removeEventListener("MozMousePixelScroll",nn)}},[an,De,ie]),(0,b.Z)(function(){if(gt){var nn=hn(l);u(nn),ft({x:nn})}},[fe.width,gt]);var Yt=function(){var Xt,Rn;(Xt=he.current)===null||Xt===void 0||Xt.delayHidden(),(Rn=de.current)===null||Rn===void 0||Rn.delayHidden()},gn=X(dr,Gn,dn,z,Dn,function(){return Hn(!0)},Ze,Yt);d.useImperativeHandle(Ue,function(){return{nativeElement:_t.current,getScrollInfo:yt,scrollTo:function(Xt){function Rn(Qn){return Qn&&(0,R.Z)(Qn)==="object"&&("left"in Qn||"top"in Qn)}Rn(Xt)?(Xt.left!==void 0&&u(hn(Xt.left)),gn(Xt.top)):gn(Xt)}}}),(0,b.Z)(function(){if(Ie){var nn=Gn.slice(Pt,Bt+1);Ie(nn,Gn)}},[Pt,Bt,Gn]);var un=k(Gn,Dn,dn,z),qt=ct==null?void 0:ct({start:Pt,end:Bt,virtual:It,offsetX:l,offsetY:Vt,rtl:Un,getSize:un}),tn=Z(Gn,Pt,Bt,gt,l,Cn,ve,Se),kn=null;Q&&(kn=(0,i.Z)((0,f.Z)({},me?"height":"maxHeight",Q),Je),an&&(kn.overflowY="hidden",gt&&(kn.overflowX="hidden"),D&&(kn.pointerEvents="none")));var rr={};return Un&&(rr.dir="rtl"),d.createElement("div",(0,e.Z)({ref:_t,style:(0,i.Z)((0,i.Z)({},be),{},{position:"relative"}),className:bn},rr,$t),d.createElement(v.Z,{onResize:ge},d.createElement(Nt,{className:"".concat(K,"-holder"),style:kn,ref:dr,onScroll:Kt,onMouseEnter:Yt},d.createElement(y,{prefixCls:K,height:st,offsetX:l,offsetY:Vt,scrollWidth:gt,onInnerResize:Hn,ref:Sn,innerProps:vt,rtl:Un,extra:qt},tn))),It&&st>Q&&d.createElement(ee,{ref:he,prefixCls:K,scrollOffset:Zt,scrollRange:st,rtl:Un,onScroll:Ut,onStartMove:V,onStopMove:J,spinSize:At,containerSize:fe.height,style:St==null?void 0:St.verticalScrollBar,thumbStyle:St==null?void 0:St.verticalScrollBarThumb,showScrollBar:Mt}),It&>>fe.width&&d.createElement(ee,{ref:de,prefixCls:K,scrollOffset:l,scrollRange:gt,rtl:Un,onScroll:Ut,onStartMove:V,onStopMove:J,spinSize:Ve,containerSize:fe.width,horizontal:!0,style:St==null?void 0:St.horizontalScrollBar,thumbStyle:St==null?void 0:St.horizontalScrollBarThumb,showScrollBar:Mt}))}var Le=d.forwardRef(qe);Le.displayName="List";var se=Le,Pe=se},2637:function(Y,M,t){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),Object.defineProperty(M,"DraggableCore",{enumerable:!0,get:function(){return p.default}}),M.default=void 0;var e=d(t(59301)),R=A(t(12708)),i=A(t(4676)),f=A(t(57780)),o=t(13957),g=t(60976),E=t(36641),p=A(t(80486)),v=A(t(94187));function A(I){return I&&I.__esModule?I:{default:I}}function b(I){if(typeof WeakMap!="function")return null;var U=new WeakMap,N=new WeakMap;return(b=function(H){return H?N:U})(I)}function d(I,U){if(!U&&I&&I.__esModule)return I;if(I===null||typeof I!="object"&&typeof I!="function")return{default:I};var N=b(U);if(N&&N.has(I))return N.get(I);var H={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in I)if(n!=="default"&&Object.prototype.hasOwnProperty.call(I,n)){var h=w?Object.getOwnPropertyDescriptor(I,n):null;h&&(h.get||h.set)?Object.defineProperty(H,n,h):H[n]=I[n]}return H.default=I,N&&N.set(I,H),H}function C(){return C=Object.assign?Object.assign.bind():function(I){for(var U=1;U{if((0,v.default)("Draggable: onDragStart: %j",H),this.props.onStart(N,(0,g.createDraggableData)(this,H))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),L(this,"onDrag",(N,H)=>{if(!this.state.dragging)return!1;(0,v.default)("Draggable: onDrag: %j",H);const w=(0,g.createDraggableData)(this,H),n={x:w.x,y:w.y,slackX:0,slackY:0};if(this.props.bounds){const{x,y:k}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;const[W,pe]=(0,g.getBoundPosition)(this,n.x,n.y);n.x=W,n.y=pe,n.slackX=this.state.slackX+(x-n.x),n.slackY=this.state.slackY+(k-n.y),w.x=n.x,w.y=n.y,w.deltaX=n.x-this.state.x,w.deltaY=n.y-this.state.y}if(this.props.onDrag(N,w)===!1)return!1;this.setState(n)}),L(this,"onDragStop",(N,H)=>{if(!this.state.dragging||this.props.onStop(N,(0,g.createDraggableData)(this,H))===!1)return!1;(0,v.default)("Draggable: onDragStop: %j",H);const n={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x,y:k}=this.props.position;n.x=x,n.y=k}this.setState(n)}),this.state={dragging:!1,dragged:!1,x:U.position?U.position.x:U.defaultPosition.x,y:U.position?U.position.y:U.defaultPosition.y,prevPropsPosition:Fo({},U.position),slackX:0,slackY:0,isElementSVG:!1},U.position&&!(U.onDrag||U.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var U,N;return(U=(N=this.props)===null||N===void 0||(N=N.nodeRef)===null||N===void 0?void 0:N.current)!==null&&U!==void 0?U:i.default.findDOMNode(this)}render(){const et=this.props,{axis:U,bounds:N,children:H,defaultPosition:w,defaultClassName:n,defaultClassNameDragging:h,defaultClassNameDragged:x,position:k,positionOffset:W,scale:pe}=et,He=rl(et,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ge={},Qe=null;const ut=!!!k||this.state.dragging,mt=k||w,Ne={x:(0,g.canDragX)(this)&&ut?this.state.x:mt.x,y:(0,g.canDragY)(this)&&ut?this.state.y:mt.y};this.state.isElementSVG?Qe=(0,o.createSVGTransform)(Ne,W):Ge=(0,o.createCSSTransform)(Ne,W);const Be=(0,f.default)(H.props.className||"",n,{[h]:this.state.dragging,[x]:this.state.dragged});return e.createElement(p.default,C({},He,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),e.cloneElement(e.Children.only(H),{className:Be,style:Fo(Fo({},H.props.style),Ge),transform:Qe}))}}M.default=Z,L(Z,"displayName","Draggable"),L(Z,"propTypes",bi(Fo({},p.default.propTypes),{axis:R.default.oneOf(["both","x","y","none"]),bounds:R.default.oneOfType([R.default.shape({left:R.default.number,right:R.default.number,top:R.default.number,bottom:R.default.number}),R.default.string,R.default.oneOf([!1])]),defaultClassName:R.default.string,defaultClassNameDragging:R.default.string,defaultClassNameDragged:R.default.string,defaultPosition:R.default.shape({x:R.default.number,y:R.default.number}),positionOffset:R.default.shape({x:R.default.oneOfType([R.default.number,R.default.string]),y:R.default.oneOfType([R.default.number,R.default.string])}),position:R.default.shape({x:R.default.number,y:R.default.number}),className:E.dontSetMe,style:E.dontSetMe,transform:E.dontSetMe})),L(Z,"defaultProps",bi(Fo({},p.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},80486:function(Y,M,t){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.default=void 0;var e=A(t(59301)),R=p(t(12708)),i=p(t(4676)),f=t(13957),o=t(60976),g=t(36641),E=p(t(94187));function p(Z){return Z&&Z.__esModule?Z:{default:Z}}function v(Z){if(typeof WeakMap!="function")return null;var I=new WeakMap,U=new WeakMap;return(v=function(N){return N?U:I})(Z)}function A(Z,I){if(!I&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var U=v(I);if(U&&U.has(Z))return U.get(Z);var N={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in Z)if(w!=="default"&&Object.prototype.hasOwnProperty.call(Z,w)){var n=H?Object.getOwnPropertyDescriptor(Z,w):null;n&&(n.get||n.set)?Object.defineProperty(N,w,n):N[w]=Z[w]}return N.default=Z,U&&U.set(Z,N),N}function b(Z,I,U){return I=d(I),I in Z?Object.defineProperty(Z,I,{value:U,enumerable:!0,configurable:!0,writable:!0}):Z[I]=U,Z}function d(Z){var I=C(Z,"string");return typeof I=="symbol"?I:String(I)}function C(Z,I){if(typeof Z!="object"||Z===null)return Z;var U=Z[Symbol.toPrimitive];if(U!==void 0){var N=U.call(Z,I||"default");if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)(Z)}const L={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let y=L.mouse;class S extends e.Component{constructor(){super(...arguments),b(this,"dragging",!1),b(this,"lastX",NaN),b(this,"lastY",NaN),b(this,"touchIdentifier",null),b(this,"mounted",!1),b(this,"handleDragStart",I=>{if(this.props.onMouseDown(I),!this.props.allowAnyClick&&typeof I.button=="number"&&I.button!==0)return!1;const U=this.findDOMNode();if(!U||!U.ownerDocument||!U.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:N}=U;if(this.props.disabled||!(I.target instanceof N.defaultView.Node)||this.props.handle&&!(0,f.matchesSelectorAndParentsTo)(I.target,this.props.handle,U)||this.props.cancel&&(0,f.matchesSelectorAndParentsTo)(I.target,this.props.cancel,U))return;I.type==="touchstart"&&I.preventDefault();const H=(0,f.getTouchIdentifier)(I);this.touchIdentifier=H;const w=(0,o.getControlPosition)(I,H,this);if(w==null)return;const{x:n,y:h}=w,x=(0,o.createCoreData)(this,n,h);(0,E.default)("DraggableCore: handleDragStart: %j",x),(0,E.default)("calling",this.props.onStart),!(this.props.onStart(I,x)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,f.addUserSelectStyles)(N),this.dragging=!0,this.lastX=n,this.lastY=h,(0,f.addEvent)(N,y.move,this.handleDrag),(0,f.addEvent)(N,y.stop,this.handleDragStop))}),b(this,"handleDrag",I=>{const U=(0,o.getControlPosition)(I,this.touchIdentifier,this);if(U==null)return;let{x:N,y:H}=U;if(Array.isArray(this.props.grid)){let h=N-this.lastX,x=H-this.lastY;if([h,x]=(0,o.snapToGrid)(this.props.grid,h,x),!h&&!x)return;N=this.lastX+h,H=this.lastY+x}const w=(0,o.createCoreData)(this,N,H);if((0,E.default)("DraggableCore: handleDrag: %j",w),this.props.onDrag(I,w)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(h){const x=document.createEvent("MouseEvents");x.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(x)}return}this.lastX=N,this.lastY=H}),b(this,"handleDragStop",I=>{if(!this.dragging)return;const U=(0,o.getControlPosition)(I,this.touchIdentifier,this);if(U==null)return;let{x:N,y:H}=U;if(Array.isArray(this.props.grid)){let x=N-this.lastX||0,k=H-this.lastY||0;[x,k]=(0,o.snapToGrid)(this.props.grid,x,k),N=this.lastX+x,H=this.lastY+k}const w=(0,o.createCoreData)(this,N,H);if(this.props.onStop(I,w)===!1||this.mounted===!1)return!1;const h=this.findDOMNode();h&&this.props.enableUserSelectHack&&(0,f.removeUserSelectStyles)(h.ownerDocument),(0,E.default)("DraggableCore: handleDragStop: %j",w),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,h&&((0,E.default)("DraggableCore: Removing handlers"),(0,f.removeEvent)(h.ownerDocument,y.move,this.handleDrag),(0,f.removeEvent)(h.ownerDocument,y.stop,this.handleDragStop))}),b(this,"onMouseDown",I=>(y=L.mouse,this.handleDragStart(I))),b(this,"onMouseUp",I=>(y=L.mouse,this.handleDragStop(I))),b(this,"onTouchStart",I=>(y=L.touch,this.handleDragStart(I))),b(this,"onTouchEnd",I=>(y=L.touch,this.handleDragStop(I)))}componentDidMount(){this.mounted=!0;const I=this.findDOMNode();I&&(0,f.addEvent)(I,L.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const I=this.findDOMNode();if(I){const{ownerDocument:U}=I;(0,f.removeEvent)(U,L.mouse.move,this.handleDrag),(0,f.removeEvent)(U,L.touch.move,this.handleDrag),(0,f.removeEvent)(U,L.mouse.stop,this.handleDragStop),(0,f.removeEvent)(U,L.touch.stop,this.handleDragStop),(0,f.removeEvent)(I,L.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,f.removeUserSelectStyles)(U)}}findDOMNode(){var I,U;return(I=this.props)!==null&&I!==void 0&&I.nodeRef?(U=this.props)===null||U===void 0||(U=U.nodeRef)===null||U===void 0?void 0:U.current:i.default.findDOMNode(this)}render(){return e.cloneElement(e.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}M.default=S,b(S,"displayName","DraggableCore"),b(S,"propTypes",{allowAnyClick:R.default.bool,children:R.default.node.isRequired,disabled:R.default.bool,enableUserSelectHack:R.default.bool,offsetParent:function(Z,I){if(Z[I]&&Z[I].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:R.default.arrayOf(R.default.number),handle:R.default.string,cancel:R.default.string,nodeRef:R.default.object,onStart:R.default.func,onDrag:R.default.func,onStop:R.default.func,onMouseDown:R.default.func,scale:R.default.number,className:g.dontSetMe,style:g.dontSetMe,transform:g.dontSetMe}),b(S,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},12911:function(Y,M,t){"use strict";const{default:e,DraggableCore:R}=t(2637);Y.exports=e,Y.exports.default=e,Y.exports.DraggableCore=R},13957:function(Y,M,t){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.addClassName=w,M.addEvent=p,M.addUserSelectStyles=N,M.createCSSTransform=y,M.createSVGTransform=S,M.getTouch=I,M.getTouchIdentifier=U,M.getTranslation=Z,M.innerHeight=d,M.innerWidth=C,M.matchesSelector=g,M.matchesSelectorAndParentsTo=E,M.offsetXYFromParent=L,M.outerHeight=A,M.outerWidth=b,M.removeClassName=n,M.removeEvent=v,M.removeUserSelectStyles=H;var e=t(36641),R=f(t(32092));function i(h){if(typeof WeakMap!="function")return null;var x=new WeakMap,k=new WeakMap;return(i=function(W){return W?k:x})(h)}function f(h,x){if(!x&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var k=i(x);if(k&&k.has(h))return k.get(h);var W={},pe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var He in h)if(He!=="default"&&Object.prototype.hasOwnProperty.call(h,He)){var Ge=pe?Object.getOwnPropertyDescriptor(h,He):null;Ge&&(Ge.get||Ge.set)?Object.defineProperty(W,He,Ge):W[He]=h[He]}return W.default=h,k&&k.set(h,W),W}let o="";function g(h,x){return o||(o=(0,e.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(k){return(0,e.isFunction)(h[k])})),(0,e.isFunction)(h[o])?h[o](x):!1}function E(h,x,k){let W=h;do{if(g(W,x))return!0;if(W===k)return!1;W=W.parentNode}while(W);return!1}function p(h,x,k,W){if(!h)return;const pe=Fo({capture:!0},W);h.addEventListener?h.addEventListener(x,k,pe):h.attachEvent?h.attachEvent("on"+x,k):h["on"+x]=k}function v(h,x,k,W){if(!h)return;const pe=Fo({capture:!0},W);h.removeEventListener?h.removeEventListener(x,k,pe):h.detachEvent?h.detachEvent("on"+x,k):h["on"+x]=null}function A(h){let x=h.clientHeight;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x+=(0,e.int)(k.borderTopWidth),x+=(0,e.int)(k.borderBottomWidth),x}function b(h){let x=h.clientWidth;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x+=(0,e.int)(k.borderLeftWidth),x+=(0,e.int)(k.borderRightWidth),x}function d(h){let x=h.clientHeight;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x-=(0,e.int)(k.paddingTop),x-=(0,e.int)(k.paddingBottom),x}function C(h){let x=h.clientWidth;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x-=(0,e.int)(k.paddingLeft),x-=(0,e.int)(k.paddingRight),x}function L(h,x,k){const pe=x===x.ownerDocument.body?{left:0,top:0}:x.getBoundingClientRect(),He=(h.clientX+x.scrollLeft-pe.left)/k,Ge=(h.clientY+x.scrollTop-pe.top)/k;return{x:He,y:Ge}}function y(h,x){const k=Z(h,x,"px");return{[(0,R.browserPrefixToKey)("transform",R.default)]:k}}function S(h,x){return Z(h,x,"")}function Z(h,x,k){let{x:W,y:pe}=h,He="translate(".concat(W).concat(k,",").concat(pe).concat(k,")");if(x){const Ge="".concat(typeof x.x=="string"?x.x:x.x+k),Qe="".concat(typeof x.y=="string"?x.y:x.y+k);He="translate(".concat(Ge,", ").concat(Qe,")")+He}return He}function I(h,x){return h.targetTouches&&(0,e.findInArray)(h.targetTouches,k=>x===k.identifier)||h.changedTouches&&(0,e.findInArray)(h.changedTouches,k=>x===k.identifier)}function U(h){if(h.targetTouches&&h.targetTouches[0])return h.targetTouches[0].identifier;if(h.changedTouches&&h.changedTouches[0])return h.changedTouches[0].identifier}function N(h){if(!h)return;let x=h.getElementById("react-draggable-style-el");x||(x=h.createElement("style"),x.type="text/css",x.id="react-draggable-style-el",x.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} +`,I=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],U={},N;function H(Ne){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et=Ne.getAttribute("id")||Ne.getAttribute("data-reactid")||Ne.getAttribute("name");if(Be&&U[et])return U[et];var P=window.getComputedStyle(Ne),X=P.getPropertyValue("box-sizing")||P.getPropertyValue("-moz-box-sizing")||P.getPropertyValue("-webkit-box-sizing"),ue=parseFloat(P.getPropertyValue("padding-bottom"))+parseFloat(P.getPropertyValue("padding-top")),ee=parseFloat(P.getPropertyValue("border-bottom-width"))+parseFloat(P.getPropertyValue("border-top-width")),G=I.map(function(xe){return"".concat(xe,":").concat(P.getPropertyValue(xe))}).join(";"),we={sizingStyle:G,paddingSize:ue,borderSize:ee,boxSizing:X};return Be&&et&&(U[et]=we),we}function w(Ne){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;N||(N=document.createElement("textarea"),N.setAttribute("tab-index","-1"),N.setAttribute("aria-hidden","true"),document.body.appendChild(N)),Ne.getAttribute("wrap")?N.setAttribute("wrap",Ne.getAttribute("wrap")):N.removeAttribute("wrap");var X=H(Ne,Be),ue=X.paddingSize,ee=X.borderSize,G=X.boxSizing,we=X.sizingStyle;N.setAttribute("style","".concat(we,";").concat(Z)),N.value=Ne.value||Ne.placeholder||"";var xe=void 0,lt=void 0,Je,qe=N.scrollHeight;if(G==="border-box"?qe+=ee:G==="content-box"&&(qe-=ue),et!==null||P!==null){N.value=" ";var Le=N.scrollHeight-ue;et!==null&&(xe=Le*et,G==="border-box"&&(xe=xe+ue+ee),qe=Math.max(xe,qe)),P!==null&&(lt=Le*P,G==="border-box"&&(lt=lt+ue+ee),Je=qe>lt?"":"hidden",qe=Math.min(lt,qe))}var se={height:qe,overflowY:Je,resize:"none"};return xe&&(se.minHeight=xe),lt&&(se.maxHeight=lt),se}var n=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],h=0,x=1,k=2,W=C.forwardRef(function(Ne,Be){var et=Ne,P=et.prefixCls,X=et.onPressEnter,ue=et.defaultValue,ee=et.value,G=et.autoSize,we=et.onResize,xe=et.className,lt=et.style,Je=et.disabled,qe=et.onChange,Le=et.onInternalAutoSize,se=(0,g.Z)(et,n),Pe=(0,d.Z)(ue,{value:ee,postState:function($t){return $t!=null?$t:""}}),Ae=(0,o.Z)(Pe,2),Ue=Ae[0],re=Ae[1],K=function($t){re($t.target.value),qe==null||qe($t)},ae=C.useRef();C.useImperativeHandle(Be,function(){return{textArea:ae.current}});var Q=C.useMemo(function(){return G&&(0,f.Z)(G)==="object"?[G.minRows,G.maxRows]:[]},[G]),z=(0,o.Z)(Q,2),oe=z[0],me=z[1],be=!!G,$e=function(){try{if(document.activeElement===ae.current){var $t=ae.current,Dn=$t.selectionStart,yn=$t.selectionEnd,On=$t.scrollTop;ae.current.setSelectionRange(Dn,yn),ae.current.scrollTop=On}}catch(Cn){}},ve=C.useState(k),ht=(0,o.Z)(ve,2),Ke=ht[0],Dt=ht[1],gt=C.useState(),tt=(0,o.Z)(gt,2),Nt=tt[0],T=tt[1],te=function(){Dt(h)};(0,y.Z)(function(){be&&te()},[ee,oe,me,be]),(0,y.Z)(function(){if(Ke===h)Dt(x);else if(Ke===x){var Mt=w(ae.current,!1,oe,me);Dt(k),T(Mt)}else $e()},[Ke]);var Ie=C.useRef(),vt=function(){S.Z.cancel(Ie.current)},ct=function($t){Ke===k&&(we==null||we($t),G&&(vt(),Ie.current=(0,S.Z)(function(){te()})))};C.useEffect(function(){return vt},[]);var St=be?Nt:null,jt=(0,R.Z)((0,R.Z)({},lt),St);return(Ke===h||Ke===x)&&(jt.overflowY="hidden",jt.overflowX="hidden"),C.createElement(L.Z,{onResize:ct,disabled:!(G||we)},C.createElement("textarea",(0,e.Z)({},se,{ref:ae,style:jt,className:v()(P,xe,(0,i.Z)({},"".concat(P,"-disabled"),Je)),disabled:Je,value:Ue,onChange:K})))}),pe=W,He=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Ge(Ne,Be){return(0,E.Z)(Ne||"").slice(0,Be).join("")}function Qe(Ne,Be,et,P){var X=et;return Ne?X=Ge(et,P):(0,E.Z)(Be||"").lengthP&&(X=Be),X}var bt=C.forwardRef(function(Ne,Be){var et,P=Ne.defaultValue,X=Ne.value,ue=Ne.onFocus,ee=Ne.onBlur,G=Ne.onChange,we=Ne.allowClear,xe=Ne.maxLength,lt=Ne.onCompositionStart,Je=Ne.onCompositionEnd,qe=Ne.suffix,Le=Ne.prefixCls,se=Le===void 0?"rc-textarea":Le,Pe=Ne.classes,Ae=Ne.showCount,Ue=Ne.className,re=Ne.style,K=Ne.disabled,ae=Ne.hidden,Q=Ne.classNames,z=Ne.styles,oe=Ne.onResize,me=(0,g.Z)(Ne,He),be=(0,d.Z)(P,{value:X,defaultValue:P}),$e=(0,o.Z)(be,2),ve=$e[0],ht=$e[1],Ke=(0,C.useRef)(null),Dt=C.useState(!1),gt=(0,o.Z)(Dt,2),tt=gt[0],Nt=gt[1],T=C.useState(!1),te=(0,o.Z)(T,2),Ie=te[0],vt=te[1],ct=C.useRef(),St=C.useRef(0),jt=C.useState(null),Mt=(0,o.Z)(jt,2),$t=Mt[0],Dn=Mt[1],yn=function(){var Zt;(Zt=Ke.current)===null||Zt===void 0||Zt.textArea.focus()};(0,C.useImperativeHandle)(Be,function(){return{resizableTextArea:Ke.current,focus:yn,blur:function(){var Zt;(Zt=Ke.current)===null||Zt===void 0||Zt.textArea.blur()}}}),(0,C.useEffect)(function(){Nt(function(Fn){return!K&&Fn})},[K]);var On=Number(xe)>0,Cn=function(Zt){vt(!0),ct.current=ve,St.current=Zt.currentTarget.selectionStart,lt==null||lt(Zt)},Hn=function(Zt){vt(!1);var Ee=Zt.currentTarget.value;if(On){var B,r=St.current>=xe+1||St.current===((B=ct.current)===null||B===void 0?void 0:B.length);Ee=Qe(r,ct.current,Ee,xe)}Ee!==ve&&(ht(Ee),(0,b.rJ)(Zt.currentTarget,Zt,G,Ee)),Je==null||Je(Zt)},dn=function(Zt){var Ee=Zt.target.value;if(!Ie&&On){var B=Zt.target.selectionStart>=xe+1||Zt.target.selectionStart===Ee.length||!Zt.target.selectionStart;Ee=Qe(B,ve,Ee,xe)}ht(Ee),(0,b.rJ)(Zt.currentTarget,Zt,G,Ee)},_n=function(Zt){var Ee=me.onPressEnter,B=me.onKeyDown;Zt.key==="Enter"&&Ee&&Ee(Zt),B==null||B(Zt)},an=function(Zt){Nt(!0),ue==null||ue(Zt)},Tn=function(Zt){Nt(!1),ee==null||ee(Zt)},It=function(Zt){var Ee;ht(""),yn(),(0,b.rJ)((Ee=Ke.current)===null||Ee===void 0?void 0:Ee.textArea,Zt,G)},Un=(0,b.D7)(ve);!Ie&&On&&X==null&&(Un=Ge(Un,xe));var bn=qe,Gn;if(Ae){var dr=(0,E.Z)(Un).length;(0,f.Z)(Ae)==="object"?Gn=Ae.formatter({value:Un,count:dr,maxLength:xe}):Gn="".concat(dr).concat(On?" / ".concat(xe):""),bn=C.createElement(C.Fragment,null,bn,C.createElement("span",{className:v()("".concat(se,"-data-count"),Q==null?void 0:Q.count),style:z==null?void 0:z.count},Gn))}var Sn=function(Zt){var Ee;oe==null||oe(Zt),(Ee=Ke.current)!==null&&Ee!==void 0&&Ee.textArea.style.height&&Dn(!0)},_t=!me.autoSize&&!Ae&&!we,jn=C.createElement(A.BaseInput,{value:Un,allowClear:we,handleReset:It,suffix:bn,prefixCls:se,classes:{affixWrapper:v()(Pe==null?void 0:Pe.affixWrapper,(et={},(0,i.Z)(et,"".concat(se,"-show-count"),Ae),(0,i.Z)(et,"".concat(se,"-textarea-allow-clear"),we),et))},disabled:K,focused:tt,className:Ue,style:(0,R.Z)((0,R.Z)({},re),$t&&!_t?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Gn=="string"?Gn:void 0}},hidden:ae,inputElement:C.createElement(pe,(0,e.Z)({},me,{onKeyDown:_n,onChange:dn,onFocus:an,onBlur:Tn,onCompositionStart:Cn,onCompositionEnd:Hn,className:Q==null?void 0:Q.textarea,style:(0,R.Z)((0,R.Z)({},z==null?void 0:z.textarea),{},{resize:re==null?void 0:re.resize}),disabled:K,prefixCls:se,onResize:Sn,ref:Ke}))});return jn}),ut=bt,mt=ut},48911:function(Y,M,t){"use strict";t.d(M,{Z:function(){return Pe}});var e=t(54476),R=t(76190),i=t(33885),f=t(20068),o=t(42978),g=t(75931),E=t(92310),p=t.n(E),v=t(29301),A=t(70425),b=t(34280),d=t(59301),C=t(4676),L=d.forwardRef(function(Ae,Ue){var re=Ae.height,K=Ae.offsetY,ae=Ae.offsetX,Q=Ae.children,z=Ae.prefixCls,oe=Ae.onInnerResize,me=Ae.innerProps,be=Ae.rtl,$e=Ae.extra,ve={},ht={display:"flex",flexDirection:"column"};return K!==void 0&&(ve={height:re,position:"relative",overflow:"hidden"},ht=(0,i.Z)((0,i.Z)({},ht),{},(0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)({transform:"translateY(".concat(K,"px)")},be?"marginRight":"marginLeft",-ae),"position","absolute"),"left",0),"right",0),"top",0))),d.createElement("div",{style:ve},d.createElement(v.Z,{onResize:function(Dt){var gt=Dt.offsetHeight;gt&&oe&&oe()}},d.createElement("div",(0,e.Z)({style:ht,className:p()((0,f.Z)({},"".concat(z,"-holder-inner"),z)),ref:Ue},me),Q,$e)))});L.displayName="Filler";var y=L;function S(Ae){var Ue=Ae.children,re=Ae.setRef,K=d.useCallback(function(ae){re(ae)},[]);return d.cloneElement(Ue,{ref:K})}function Z(Ae,Ue,re,K,ae,Q,z,oe){var me=oe.getKey;return Ae.slice(Ue,re+1).map(function(be,$e){var ve=Ue+$e,ht=z(be,ve,{style:{width:K},offsetX:ae}),Ke=me(be);return d.createElement(S,{key:Ke,setRef:function(gt){return Q(be,gt)}},ht)})}function I(Ae,Ue,re,K){var ae=re-Ae,Q=Ue-re,z=Math.min(ae,Q)*2;if(K<=z){var oe=Math.floor(K/2);return K%2?re+oe+1:re-oe}return ae>Q?re-(K-Q):re+(K-ae)}function U(Ae,Ue,re){var K=Ae.length,ae=Ue.length,Q,z;if(K===0&&ae===0)return null;K2&&arguments[2]!==void 0?arguments[2]:!1,ve=me?be<0&&oe.current.left||be>0&&oe.current.right:be<0&&oe.current.top||be>0&&oe.current.bottom;return $e&&ve?(clearTimeout(Q.current),ae.current=!1):(!ve||ae.current)&&z(),!ae.current&&ve}};function x(Ae,Ue,re,K,ae,Q,z){var oe=(0,d.useRef)(0),me=(0,d.useRef)(null),be=(0,d.useRef)(null),$e=(0,d.useRef)(!1),ve=h(Ue,re,K,ae);function ht(T,te){if(H.Z.cancel(me.current),!ve(!1,te)){var Ie=T;if(!Ie._virtualHandled)Ie._virtualHandled=!0;else return;oe.current+=te,be.current=te,n||Ie.preventDefault(),me.current=(0,H.Z)(function(){var vt=$e.current?10:1;z(oe.current*vt,!1),oe.current=0})}}function Ke(T,te){z(te,!0),n||T.preventDefault()}var Dt=(0,d.useRef)(null),gt=(0,d.useRef)(null);function tt(T){if(Ae){H.Z.cancel(gt.current),gt.current=(0,H.Z)(function(){Dt.current=null},2);var te=T.deltaX,Ie=T.deltaY,vt=T.shiftKey,ct=te,St=Ie;(Dt.current==="sx"||!Dt.current&&vt&&Ie&&!te)&&(ct=Ie,St=0,Dt.current="sx");var jt=Math.abs(ct),Mt=Math.abs(St);Dt.current===null&&(Dt.current=Q&&jt>Mt?"x":"y"),Dt.current==="y"?ht(T,St):Ke(T,ct)}}function Nt(T){Ae&&($e.current=T.detail===be.current)}return[tt,Nt]}function k(Ae,Ue,re,K){var ae=d.useMemo(function(){return[new Map,[]]},[Ae,re.id,K]),Q=(0,o.Z)(ae,2),z=Q[0],oe=Q[1],me=function($e){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,ht=z.get($e),Ke=z.get(ve);if(ht===void 0||Ke===void 0)for(var Dt=Ae.length,gt=oe.length;gt0&&arguments[0]!==void 0?arguments[0]:!1;$e();var Dt=function(){var Nt=!1;oe.current.forEach(function(T,te){if(T&&T.offsetParent){var Ie=T.offsetHeight,vt=getComputedStyle(T),ct=vt.marginTop,St=vt.marginBottom,jt=Qe(ct),Mt=Qe(St),$t=Ie+jt+Mt;me.current.get(te)!==$t&&(me.current.set(te,$t),Nt=!0)}}),Nt&&z(function(T){return T+1})};if(Ke)Dt();else{be.current+=1;var gt=be.current;Promise.resolve().then(function(){gt===be.current&&Dt()})}}function ht(Ke,Dt){var gt=Ae(Ke),tt=oe.current.get(gt);Dt?(oe.current.set(gt,Dt),ve()):oe.current.delete(gt),!tt!=!Dt&&(Dt?Ue==null||Ue(Ke):re==null||re(Ke))}return(0,d.useEffect)(function(){return $e},[]),[ht,ve,me.current,Q]}var ut=14/15;function mt(Ae,Ue,re){var K=(0,d.useRef)(!1),ae=(0,d.useRef)(0),Q=(0,d.useRef)(0),z=(0,d.useRef)(null),oe=(0,d.useRef)(null),me,be=function(Ke){if(K.current){var Dt=Math.ceil(Ke.touches[0].pageX),gt=Math.ceil(Ke.touches[0].pageY),tt=ae.current-Dt,Nt=Q.current-gt,T=Math.abs(tt)>Math.abs(Nt);T?ae.current=Dt:Q.current=gt;var te=re(T,T?tt:Nt,!1,Ke);te&&Ke.preventDefault(),clearInterval(oe.current),te&&(oe.current=setInterval(function(){T?tt*=ut:Nt*=ut;var Ie=Math.floor(T?tt:Nt);(!re(T,Ie,!0)||Math.abs(Ie)<=.1)&&clearInterval(oe.current)},16))}},$e=function(){K.current=!1,me()},ve=function(Ke){me(),Ke.touches.length===1&&!K.current&&(K.current=!0,ae.current=Math.ceil(Ke.touches[0].pageX),Q.current=Math.ceil(Ke.touches[0].pageY),z.current=Ke.target,z.current.addEventListener("touchmove",be,{passive:!1}),z.current.addEventListener("touchend",$e,{passive:!0}))};me=function(){z.current&&(z.current.removeEventListener("touchmove",be),z.current.removeEventListener("touchend",$e))},(0,b.Z)(function(){return Ae&&Ue.current.addEventListener("touchstart",ve,{passive:!0}),function(){var ht;(ht=Ue.current)===null||ht===void 0||ht.removeEventListener("touchstart",ve),me(),clearInterval(oe.current)}},[Ae])}function Ne(Ae){return Math.floor(Math.pow(Ae,.5))}function Be(Ae,Ue){var re="touches"in Ae?Ae.touches[0]:Ae;return re[Ue?"pageX":"pageY"]-window[Ue?"scrollX":"scrollY"]}function et(Ae,Ue,re){d.useEffect(function(){var K=Ue.current;if(Ae&&K){var ae=!1,Q,z,oe=function(){H.Z.cancel(Q)},me=function ht(){oe(),Q=(0,H.Z)(function(){re(z),ht()})},be=function(){ae=!1,oe()},$e=function(Ke){if(!(Ke.target.draggable||Ke.button!==0)){var Dt=Ke;Dt._virtualHandled||(Dt._virtualHandled=!0,ae=!0)}},ve=function(Ke){if(ae){var Dt=Be(Ke,!1),gt=K.getBoundingClientRect(),tt=gt.top,Nt=gt.bottom;if(Dt<=tt){var T=tt-Dt;z=-Ne(T),me()}else if(Dt>=Nt){var te=Dt-Nt;z=Ne(te),me()}else oe()}};return K.addEventListener("mousedown",$e),K.ownerDocument.addEventListener("mouseup",be),K.ownerDocument.addEventListener("mousemove",ve),K.ownerDocument.addEventListener("dragend",be),function(){K.removeEventListener("mousedown",$e),K.ownerDocument.removeEventListener("mouseup",be),K.ownerDocument.removeEventListener("mousemove",ve),K.ownerDocument.removeEventListener("dragend",be),oe()}}},[Ae])}var P=10;function X(Ae,Ue,re,K,ae,Q,z,oe){var me=d.useRef(),be=d.useState(null),$e=(0,o.Z)(be,2),ve=$e[0],ht=$e[1];return(0,b.Z)(function(){if(ve&&ve.times=0;Cn-=1){var Hn=ae(Ue[Cn]),dn=re.get(Hn);if(dn===void 0){T=!0;break}if(On-=dn,On<=0)break}switch(vt){case"top":Ie=St-tt;break;case"bottom":Ie=jt-Nt+tt;break;default:{var _n=Ae.current.scrollTop,an=_n+Nt;St<_n?te="top":jt>an&&(te="bottom")}}Ie!==null&&z(Ie),Ie!==ve.lastTop&&(T=!0)}T&&ht((0,i.Z)((0,i.Z)({},ve),{},{times:ve.times+1,targetAlign:te,lastTop:Ie}))}},[ve,Ae.current]),function(Ke){if(Ke==null){oe();return}if(H.Z.cancel(me.current),typeof Ke=="number")z(Ke);else if(Ke&&(0,R.Z)(Ke)==="object"){var Dt,gt=Ke.align;"index"in Ke?Dt=Ke.index:Dt=Ue.findIndex(function(T){return ae(T)===Ke.key});var tt=Ke.offset,Nt=tt===void 0?0:tt;ht({times:0,index:Dt,offset:Nt,originAlign:gt})}}}var ue=d.forwardRef(function(Ae,Ue){var re=Ae.prefixCls,K=Ae.rtl,ae=Ae.scrollOffset,Q=Ae.scrollRange,z=Ae.onStartMove,oe=Ae.onStopMove,me=Ae.onScroll,be=Ae.horizontal,$e=Ae.spinSize,ve=Ae.containerSize,ht=Ae.style,Ke=Ae.thumbStyle,Dt=Ae.showScrollBar,gt=d.useState(!1),tt=(0,o.Z)(gt,2),Nt=tt[0],T=tt[1],te=d.useState(null),Ie=(0,o.Z)(te,2),vt=Ie[0],ct=Ie[1],St=d.useState(null),jt=(0,o.Z)(St,2),Mt=jt[0],$t=jt[1],Dn=!K,yn=d.useRef(),On=d.useRef(),Cn=d.useState(Dt),Hn=(0,o.Z)(Cn,2),dn=Hn[0],_n=Hn[1],an=d.useRef(),Tn=function(){Dt===!0||Dt===!1||(clearTimeout(an.current),_n(!0),an.current=setTimeout(function(){_n(!1)},3e3))},It=Q-ve||0,Un=ve-$e||0,bn=d.useMemo(function(){if(ae===0||It===0)return 0;var B=ae/It;return B*Un},[ae,It,Un]),Gn=function(r){r.stopPropagation(),r.preventDefault()},dr=d.useRef({top:bn,dragging:Nt,pageY:vt,startTop:Mt});dr.current={top:bn,dragging:Nt,pageY:vt,startTop:Mt};var Sn=function(r){T(!0),ct(Be(r,be)),$t(dr.current.top),z(),r.stopPropagation(),r.preventDefault()};d.useEffect(function(){var B=function(m){m.preventDefault()},r=yn.current,l=On.current;return r.addEventListener("touchstart",B,{passive:!1}),l.addEventListener("touchstart",Sn,{passive:!1}),function(){r.removeEventListener("touchstart",B),l.removeEventListener("touchstart",Sn)}},[]);var _t=d.useRef();_t.current=It;var jn=d.useRef();jn.current=Un,d.useEffect(function(){if(Nt){var B,r=function(m){var F=dr.current,D=F.dragging,q=F.pageY,V=F.startTop;H.Z.cancel(B);var J=yn.current.getBoundingClientRect(),Se=ve/(be?J.width:J.height);if(D){var Ze=(Be(m,be)-q)*Se,We=V;!Dn&&be?We-=Ze:We+=Ze;var Xe=_t.current,Me=jn.current,dt=Me?We/Me:0,nt=Math.ceil(dt*Xe);nt=Math.max(nt,0),nt=Math.min(nt,Xe),B=(0,H.Z)(function(){me(nt,be)})}},l=function(){T(!1),oe()};return window.addEventListener("mousemove",r,{passive:!0}),window.addEventListener("touchmove",r,{passive:!0}),window.addEventListener("mouseup",l,{passive:!0}),window.addEventListener("touchend",l,{passive:!0}),function(){window.removeEventListener("mousemove",r),window.removeEventListener("touchmove",r),window.removeEventListener("mouseup",l),window.removeEventListener("touchend",l),H.Z.cancel(B)}}},[Nt]),d.useEffect(function(){return Tn(),function(){clearTimeout(an.current)}},[ae]),d.useImperativeHandle(Ue,function(){return{delayHidden:Tn}});var Fn="".concat(re,"-scrollbar"),Zt={position:"absolute",visibility:dn?null:"hidden"},Ee={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return be?(Object.assign(Zt,{height:8,left:0,right:0,bottom:0}),Object.assign(Ee,(0,f.Z)({height:"100%",width:$e},Dn?"left":"right",bn))):(Object.assign(Zt,(0,f.Z)({width:8,top:0,bottom:0},Dn?"right":"left",0)),Object.assign(Ee,{width:"100%",height:$e,top:bn})),d.createElement("div",{ref:yn,className:p()(Fn,(0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(Fn,"-horizontal"),be),"".concat(Fn,"-vertical"),!be),"".concat(Fn,"-visible"),dn)),style:(0,i.Z)((0,i.Z)({},Zt),ht),onMouseDown:Gn,onMouseMove:Tn},d.createElement("div",{ref:On,className:p()("".concat(Fn,"-thumb"),(0,f.Z)({},"".concat(Fn,"-thumb-moving"),Nt)),style:(0,i.Z)((0,i.Z)({},Ee),Ke),onMouseDown:Sn}))}),ee=ue,G=20;function we(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,re=Ae/Ue*Ae;return isNaN(re)&&(re=0),re=Math.max(re,G),Math.floor(re)}var xe=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],lt=[],Je={overflowY:"auto",overflowAnchor:"none"};function qe(Ae,Ue){var re=Ae.prefixCls,K=re===void 0?"rc-virtual-list":re,ae=Ae.className,Q=Ae.height,z=Ae.itemHeight,oe=Ae.fullHeight,me=oe===void 0?!0:oe,be=Ae.style,$e=Ae.data,ve=Ae.children,ht=Ae.itemKey,Ke=Ae.virtual,Dt=Ae.direction,gt=Ae.scrollWidth,tt=Ae.component,Nt=tt===void 0?"div":tt,T=Ae.onScroll,te=Ae.onVirtualScroll,Ie=Ae.onVisibleChange,vt=Ae.innerProps,ct=Ae.extraRender,St=Ae.styles,jt=Ae.showScrollBar,Mt=jt===void 0?"optional":jt,$t=(0,g.Z)(Ae,xe),Dn=d.useCallback(function(nn){return typeof ht=="function"?ht(nn):nn==null?void 0:nn[ht]},[ht]),yn=bt(Dn,null,null),On=(0,o.Z)(yn,4),Cn=On[0],Hn=On[1],dn=On[2],_n=On[3],an=!!(Ke!==!1&&Q&&z),Tn=d.useMemo(function(){return Object.values(dn.maps).reduce(function(nn,Xt){return nn+Xt},0)},[dn.id,dn.maps]),It=an&&$e&&(Math.max(z*$e.length,Tn)>Q||!!gt),Un=Dt==="rtl",bn=p()(K,(0,f.Z)({},"".concat(K,"-rtl"),Un),ae),Gn=$e||lt,dr=(0,d.useRef)(),Sn=(0,d.useRef)(),_t=(0,d.useRef)(),jn=(0,d.useState)(0),Fn=(0,o.Z)(jn,2),Zt=Fn[0],Ee=Fn[1],B=(0,d.useState)(0),r=(0,o.Z)(B,2),l=r[0],u=r[1],m=(0,d.useState)(!1),F=(0,o.Z)(m,2),D=F[0],q=F[1],V=function(){q(!0)},J=function(){q(!1)},Se={getKey:Dn};function Ze(nn){Ee(function(Xt){var Rn;typeof nn=="function"?Rn=nn(Xt):Rn=nn;var Qn=on(Rn);return dr.current.scrollTop=Qn,Qn})}var We=(0,d.useRef)({start:0,end:Gn.length}),Xe=(0,d.useRef)(),Me=N(Gn,Dn),dt=(0,o.Z)(Me,1),nt=dt[0];Xe.current=nt;var wt=d.useMemo(function(){if(!an)return{scrollHeight:void 0,start:0,end:Gn.length-1,offset:void 0};if(!It){var nn;return{scrollHeight:((nn=Sn.current)===null||nn===void 0?void 0:nn.offsetHeight)||0,start:0,end:Gn.length-1,offset:void 0}}for(var Xt=0,Rn,Qn,tr,qn=Gn.length,ar=0;ar=Zt&&Rn===void 0&&(Rn=ar,Qn=Xt),vr>Zt+Q&&tr===void 0&&(tr=ar),Xt=vr}return Rn===void 0&&(Rn=0,Qn=0,tr=Math.ceil(Q/z)),tr===void 0&&(tr=Gn.length-1),tr=Math.min(tr+1,Gn.length-1),{scrollHeight:Xt,start:Rn,end:tr,offset:Qn}},[It,an,Zt,Gn,_n,Q]),st=wt.scrollHeight,Pt=wt.start,Bt=wt.end,Vt=wt.offset;We.current.start=Pt,We.current.end=Bt,d.useLayoutEffect(function(){var nn=dn.getRecord();if(nn.size===1){var Xt=Array.from(nn.keys())[0],Rn=nn.get(Xt),Qn=Gn[Pt];if(Qn&&Rn===void 0){var tr=Dn(Qn);if(tr===Xt){var qn=dn.get(Xt),ar=qn-z;Ze(function(Yn){return Yn+ar})}}}dn.resetRecord()},[st]);var ne=d.useState({width:0,height:Q}),$=(0,o.Z)(ne,2),fe=$[0],ye=$[1],ge=function(Xt){ye({width:Xt.offsetWidth,height:Xt.offsetHeight})},he=(0,d.useRef)(),de=(0,d.useRef)(),Ve=d.useMemo(function(){return we(fe.width,gt)},[fe.width,gt]),At=d.useMemo(function(){return we(fe.height,st)},[fe.height,st]),xt=st-Q,en=(0,d.useRef)(xt);en.current=xt;function on(nn){var Xt=nn;return Number.isNaN(en.current)||(Xt=Math.min(Xt,en.current)),Xt=Math.max(Xt,0),Xt}var De=Zt<=0,ie=Zt>=xt,Ce=l<=0,Qt=l>=gt,Wt=h(De,ie,Ce,Qt),yt=function(){return{x:Un?-l:l,y:Zt}},Ft=(0,d.useRef)(yt()),ft=(0,A.useEvent)(function(nn){if(te){var Xt=(0,i.Z)((0,i.Z)({},yt()),nn);(Ft.current.x!==Xt.x||Ft.current.y!==Xt.y)&&(te(Xt),Ft.current=Xt)}});function Ut(nn,Xt){var Rn=nn;Xt?((0,C.flushSync)(function(){u(Rn)}),ft()):Ze(Rn)}function Kt(nn){var Xt=nn.currentTarget.scrollTop;Xt!==Zt&&Ze(Xt),T==null||T(nn),ft()}var hn=function(Xt){var Rn=Xt,Qn=gt?gt-fe.width:0;return Rn=Math.max(Rn,0),Rn=Math.min(Rn,Qn),Rn},Zn=(0,A.useEvent)(function(nn,Xt){Xt?((0,C.flushSync)(function(){u(function(Rn){var Qn=Rn+(Un?-nn:nn);return hn(Qn)})}),ft()):Ze(function(Rn){var Qn=Rn+nn;return Qn})}),ln=x(an,De,ie,Ce,Qt,!!gt,Zn),Ct=(0,o.Z)(ln,2),rt=Ct[0],rn=Ct[1];mt(an,dr,function(nn,Xt,Rn,Qn){var tr=Qn;return Wt(nn,Xt,Rn)?!1:!tr||!tr._virtualHandled?(tr&&(tr._virtualHandled=!0),rt({preventDefault:function(){},deltaX:nn?Xt:0,deltaY:nn?0:Xt}),!0):!1}),et(It,dr,function(nn){Ze(function(Xt){return Xt+nn})}),(0,b.Z)(function(){function nn(Rn){var Qn=De&&Rn.detail<0,tr=ie&&Rn.detail>0;an&&!Qn&&!tr&&Rn.preventDefault()}var Xt=dr.current;return Xt.addEventListener("wheel",rt,{passive:!1}),Xt.addEventListener("DOMMouseScroll",rn,{passive:!0}),Xt.addEventListener("MozMousePixelScroll",nn,{passive:!1}),function(){Xt.removeEventListener("wheel",rt),Xt.removeEventListener("DOMMouseScroll",rn),Xt.removeEventListener("MozMousePixelScroll",nn)}},[an,De,ie]),(0,b.Z)(function(){if(gt){var nn=hn(l);u(nn),ft({x:nn})}},[fe.width,gt]);var Yt=function(){var Xt,Rn;(Xt=he.current)===null||Xt===void 0||Xt.delayHidden(),(Rn=de.current)===null||Rn===void 0||Rn.delayHidden()},gn=X(dr,Gn,dn,z,Dn,function(){return Hn(!0)},Ze,Yt);d.useImperativeHandle(Ue,function(){return{nativeElement:_t.current,getScrollInfo:yt,scrollTo:function(Xt){function Rn(Qn){return Qn&&(0,R.Z)(Qn)==="object"&&("left"in Qn||"top"in Qn)}Rn(Xt)?(Xt.left!==void 0&&u(hn(Xt.left)),gn(Xt.top)):gn(Xt)}}}),(0,b.Z)(function(){if(Ie){var nn=Gn.slice(Pt,Bt+1);Ie(nn,Gn)}},[Pt,Bt,Gn]);var un=k(Gn,Dn,dn,z),qt=ct==null?void 0:ct({start:Pt,end:Bt,virtual:It,offsetX:l,offsetY:Vt,rtl:Un,getSize:un}),tn=Z(Gn,Pt,Bt,gt,l,Cn,ve,Se),kn=null;Q&&(kn=(0,i.Z)((0,f.Z)({},me?"height":"maxHeight",Q),Je),an&&(kn.overflowY="hidden",gt&&(kn.overflowX="hidden"),D&&(kn.pointerEvents="none")));var rr={};return Un&&(rr.dir="rtl"),d.createElement("div",(0,e.Z)({ref:_t,style:(0,i.Z)((0,i.Z)({},be),{},{position:"relative"}),className:bn},rr,$t),d.createElement(v.Z,{onResize:ge},d.createElement(Nt,{className:"".concat(K,"-holder"),style:kn,ref:dr,onScroll:Kt,onMouseEnter:Yt},d.createElement(y,{prefixCls:K,height:st,offsetX:l,offsetY:Vt,scrollWidth:gt,onInnerResize:Hn,ref:Sn,innerProps:vt,rtl:Un,extra:qt},tn))),It&&st>Q&&d.createElement(ee,{ref:he,prefixCls:K,scrollOffset:Zt,scrollRange:st,rtl:Un,onScroll:Ut,onStartMove:V,onStopMove:J,spinSize:At,containerSize:fe.height,style:St==null?void 0:St.verticalScrollBar,thumbStyle:St==null?void 0:St.verticalScrollBarThumb,showScrollBar:Mt}),It&>>fe.width&&d.createElement(ee,{ref:de,prefixCls:K,scrollOffset:l,scrollRange:gt,rtl:Un,onScroll:Ut,onStartMove:V,onStopMove:J,spinSize:Ve,containerSize:fe.width,horizontal:!0,style:St==null?void 0:St.horizontalScrollBar,thumbStyle:St==null?void 0:St.horizontalScrollBarThumb,showScrollBar:Mt}))}var Le=d.forwardRef(qe);Le.displayName="List";var se=Le,Pe=se},2637:function(Y,M,t){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),Object.defineProperty(M,"DraggableCore",{enumerable:!0,get:function(){return p.default}}),M.default=void 0;var e=d(t(59301)),R=A(t(12708)),i=A(t(4676)),f=A(t(57780)),o=t(13957),g=t(9479),E=t(36641),p=A(t(80486)),v=A(t(94187));function A(I){return I&&I.__esModule?I:{default:I}}function b(I){if(typeof WeakMap!="function")return null;var U=new WeakMap,N=new WeakMap;return(b=function(H){return H?N:U})(I)}function d(I,U){if(!U&&I&&I.__esModule)return I;if(I===null||typeof I!="object"&&typeof I!="function")return{default:I};var N=b(U);if(N&&N.has(I))return N.get(I);var H={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in I)if(n!=="default"&&Object.prototype.hasOwnProperty.call(I,n)){var h=w?Object.getOwnPropertyDescriptor(I,n):null;h&&(h.get||h.set)?Object.defineProperty(H,n,h):H[n]=I[n]}return H.default=I,N&&N.set(I,H),H}function C(){return C=Object.assign?Object.assign.bind():function(I){for(var U=1;U{if((0,v.default)("Draggable: onDragStart: %j",H),this.props.onStart(N,(0,g.createDraggableData)(this,H))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),L(this,"onDrag",(N,H)=>{if(!this.state.dragging)return!1;(0,v.default)("Draggable: onDrag: %j",H);const w=(0,g.createDraggableData)(this,H),n={x:w.x,y:w.y,slackX:0,slackY:0};if(this.props.bounds){const{x,y:k}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;const[W,pe]=(0,g.getBoundPosition)(this,n.x,n.y);n.x=W,n.y=pe,n.slackX=this.state.slackX+(x-n.x),n.slackY=this.state.slackY+(k-n.y),w.x=n.x,w.y=n.y,w.deltaX=n.x-this.state.x,w.deltaY=n.y-this.state.y}if(this.props.onDrag(N,w)===!1)return!1;this.setState(n)}),L(this,"onDragStop",(N,H)=>{if(!this.state.dragging||this.props.onStop(N,(0,g.createDraggableData)(this,H))===!1)return!1;(0,v.default)("Draggable: onDragStop: %j",H);const n={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x,y:k}=this.props.position;n.x=x,n.y=k}this.setState(n)}),this.state={dragging:!1,dragged:!1,x:U.position?U.position.x:U.defaultPosition.x,y:U.position?U.position.y:U.defaultPosition.y,prevPropsPosition:Fo({},U.position),slackX:0,slackY:0,isElementSVG:!1},U.position&&!(U.onDrag||U.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var U,N;return(U=(N=this.props)===null||N===void 0||(N=N.nodeRef)===null||N===void 0?void 0:N.current)!==null&&U!==void 0?U:i.default.findDOMNode(this)}render(){const et=this.props,{axis:U,bounds:N,children:H,defaultPosition:w,defaultClassName:n,defaultClassNameDragging:h,defaultClassNameDragged:x,position:k,positionOffset:W,scale:pe}=et,He=rl(et,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ge={},Qe=null;const ut=!!!k||this.state.dragging,mt=k||w,Ne={x:(0,g.canDragX)(this)&&ut?this.state.x:mt.x,y:(0,g.canDragY)(this)&&ut?this.state.y:mt.y};this.state.isElementSVG?Qe=(0,o.createSVGTransform)(Ne,W):Ge=(0,o.createCSSTransform)(Ne,W);const Be=(0,f.default)(H.props.className||"",n,{[h]:this.state.dragging,[x]:this.state.dragged});return e.createElement(p.default,C({},He,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),e.cloneElement(e.Children.only(H),{className:Be,style:Fo(Fo({},H.props.style),Ge),transform:Qe}))}}M.default=Z,L(Z,"displayName","Draggable"),L(Z,"propTypes",bi(Fo({},p.default.propTypes),{axis:R.default.oneOf(["both","x","y","none"]),bounds:R.default.oneOfType([R.default.shape({left:R.default.number,right:R.default.number,top:R.default.number,bottom:R.default.number}),R.default.string,R.default.oneOf([!1])]),defaultClassName:R.default.string,defaultClassNameDragging:R.default.string,defaultClassNameDragged:R.default.string,defaultPosition:R.default.shape({x:R.default.number,y:R.default.number}),positionOffset:R.default.shape({x:R.default.oneOfType([R.default.number,R.default.string]),y:R.default.oneOfType([R.default.number,R.default.string])}),position:R.default.shape({x:R.default.number,y:R.default.number}),className:E.dontSetMe,style:E.dontSetMe,transform:E.dontSetMe})),L(Z,"defaultProps",bi(Fo({},p.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},80486:function(Y,M,t){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.default=void 0;var e=A(t(59301)),R=p(t(12708)),i=p(t(4676)),f=t(13957),o=t(9479),g=t(36641),E=p(t(94187));function p(Z){return Z&&Z.__esModule?Z:{default:Z}}function v(Z){if(typeof WeakMap!="function")return null;var I=new WeakMap,U=new WeakMap;return(v=function(N){return N?U:I})(Z)}function A(Z,I){if(!I&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var U=v(I);if(U&&U.has(Z))return U.get(Z);var N={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in Z)if(w!=="default"&&Object.prototype.hasOwnProperty.call(Z,w)){var n=H?Object.getOwnPropertyDescriptor(Z,w):null;n&&(n.get||n.set)?Object.defineProperty(N,w,n):N[w]=Z[w]}return N.default=Z,U&&U.set(Z,N),N}function b(Z,I,U){return I=d(I),I in Z?Object.defineProperty(Z,I,{value:U,enumerable:!0,configurable:!0,writable:!0}):Z[I]=U,Z}function d(Z){var I=C(Z,"string");return typeof I=="symbol"?I:String(I)}function C(Z,I){if(typeof Z!="object"||Z===null)return Z;var U=Z[Symbol.toPrimitive];if(U!==void 0){var N=U.call(Z,I||"default");if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)(Z)}const L={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let y=L.mouse;class S extends e.Component{constructor(){super(...arguments),b(this,"dragging",!1),b(this,"lastX",NaN),b(this,"lastY",NaN),b(this,"touchIdentifier",null),b(this,"mounted",!1),b(this,"handleDragStart",I=>{if(this.props.onMouseDown(I),!this.props.allowAnyClick&&typeof I.button=="number"&&I.button!==0)return!1;const U=this.findDOMNode();if(!U||!U.ownerDocument||!U.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:N}=U;if(this.props.disabled||!(I.target instanceof N.defaultView.Node)||this.props.handle&&!(0,f.matchesSelectorAndParentsTo)(I.target,this.props.handle,U)||this.props.cancel&&(0,f.matchesSelectorAndParentsTo)(I.target,this.props.cancel,U))return;I.type==="touchstart"&&I.preventDefault();const H=(0,f.getTouchIdentifier)(I);this.touchIdentifier=H;const w=(0,o.getControlPosition)(I,H,this);if(w==null)return;const{x:n,y:h}=w,x=(0,o.createCoreData)(this,n,h);(0,E.default)("DraggableCore: handleDragStart: %j",x),(0,E.default)("calling",this.props.onStart),!(this.props.onStart(I,x)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,f.addUserSelectStyles)(N),this.dragging=!0,this.lastX=n,this.lastY=h,(0,f.addEvent)(N,y.move,this.handleDrag),(0,f.addEvent)(N,y.stop,this.handleDragStop))}),b(this,"handleDrag",I=>{const U=(0,o.getControlPosition)(I,this.touchIdentifier,this);if(U==null)return;let{x:N,y:H}=U;if(Array.isArray(this.props.grid)){let h=N-this.lastX,x=H-this.lastY;if([h,x]=(0,o.snapToGrid)(this.props.grid,h,x),!h&&!x)return;N=this.lastX+h,H=this.lastY+x}const w=(0,o.createCoreData)(this,N,H);if((0,E.default)("DraggableCore: handleDrag: %j",w),this.props.onDrag(I,w)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(h){const x=document.createEvent("MouseEvents");x.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(x)}return}this.lastX=N,this.lastY=H}),b(this,"handleDragStop",I=>{if(!this.dragging)return;const U=(0,o.getControlPosition)(I,this.touchIdentifier,this);if(U==null)return;let{x:N,y:H}=U;if(Array.isArray(this.props.grid)){let x=N-this.lastX||0,k=H-this.lastY||0;[x,k]=(0,o.snapToGrid)(this.props.grid,x,k),N=this.lastX+x,H=this.lastY+k}const w=(0,o.createCoreData)(this,N,H);if(this.props.onStop(I,w)===!1||this.mounted===!1)return!1;const h=this.findDOMNode();h&&this.props.enableUserSelectHack&&(0,f.removeUserSelectStyles)(h.ownerDocument),(0,E.default)("DraggableCore: handleDragStop: %j",w),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,h&&((0,E.default)("DraggableCore: Removing handlers"),(0,f.removeEvent)(h.ownerDocument,y.move,this.handleDrag),(0,f.removeEvent)(h.ownerDocument,y.stop,this.handleDragStop))}),b(this,"onMouseDown",I=>(y=L.mouse,this.handleDragStart(I))),b(this,"onMouseUp",I=>(y=L.mouse,this.handleDragStop(I))),b(this,"onTouchStart",I=>(y=L.touch,this.handleDragStart(I))),b(this,"onTouchEnd",I=>(y=L.touch,this.handleDragStop(I)))}componentDidMount(){this.mounted=!0;const I=this.findDOMNode();I&&(0,f.addEvent)(I,L.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const I=this.findDOMNode();if(I){const{ownerDocument:U}=I;(0,f.removeEvent)(U,L.mouse.move,this.handleDrag),(0,f.removeEvent)(U,L.touch.move,this.handleDrag),(0,f.removeEvent)(U,L.mouse.stop,this.handleDragStop),(0,f.removeEvent)(U,L.touch.stop,this.handleDragStop),(0,f.removeEvent)(I,L.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,f.removeUserSelectStyles)(U)}}findDOMNode(){var I,U;return(I=this.props)!==null&&I!==void 0&&I.nodeRef?(U=this.props)===null||U===void 0||(U=U.nodeRef)===null||U===void 0?void 0:U.current:i.default.findDOMNode(this)}render(){return e.cloneElement(e.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}M.default=S,b(S,"displayName","DraggableCore"),b(S,"propTypes",{allowAnyClick:R.default.bool,children:R.default.node.isRequired,disabled:R.default.bool,enableUserSelectHack:R.default.bool,offsetParent:function(Z,I){if(Z[I]&&Z[I].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:R.default.arrayOf(R.default.number),handle:R.default.string,cancel:R.default.string,nodeRef:R.default.object,onStart:R.default.func,onDrag:R.default.func,onStop:R.default.func,onMouseDown:R.default.func,scale:R.default.number,className:g.dontSetMe,style:g.dontSetMe,transform:g.dontSetMe}),b(S,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},12911:function(Y,M,t){"use strict";const{default:e,DraggableCore:R}=t(2637);Y.exports=e,Y.exports.default=e,Y.exports.DraggableCore=R},13957:function(Y,M,t){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.addClassName=w,M.addEvent=p,M.addUserSelectStyles=N,M.createCSSTransform=y,M.createSVGTransform=S,M.getTouch=I,M.getTouchIdentifier=U,M.getTranslation=Z,M.innerHeight=d,M.innerWidth=C,M.matchesSelector=g,M.matchesSelectorAndParentsTo=E,M.offsetXYFromParent=L,M.outerHeight=A,M.outerWidth=b,M.removeClassName=n,M.removeEvent=v,M.removeUserSelectStyles=H;var e=t(36641),R=f(t(32092));function i(h){if(typeof WeakMap!="function")return null;var x=new WeakMap,k=new WeakMap;return(i=function(W){return W?k:x})(h)}function f(h,x){if(!x&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var k=i(x);if(k&&k.has(h))return k.get(h);var W={},pe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var He in h)if(He!=="default"&&Object.prototype.hasOwnProperty.call(h,He)){var Ge=pe?Object.getOwnPropertyDescriptor(h,He):null;Ge&&(Ge.get||Ge.set)?Object.defineProperty(W,He,Ge):W[He]=h[He]}return W.default=h,k&&k.set(h,W),W}let o="";function g(h,x){return o||(o=(0,e.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(k){return(0,e.isFunction)(h[k])})),(0,e.isFunction)(h[o])?h[o](x):!1}function E(h,x,k){let W=h;do{if(g(W,x))return!0;if(W===k)return!1;W=W.parentNode}while(W);return!1}function p(h,x,k,W){if(!h)return;const pe=Fo({capture:!0},W);h.addEventListener?h.addEventListener(x,k,pe):h.attachEvent?h.attachEvent("on"+x,k):h["on"+x]=k}function v(h,x,k,W){if(!h)return;const pe=Fo({capture:!0},W);h.removeEventListener?h.removeEventListener(x,k,pe):h.detachEvent?h.detachEvent("on"+x,k):h["on"+x]=null}function A(h){let x=h.clientHeight;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x+=(0,e.int)(k.borderTopWidth),x+=(0,e.int)(k.borderBottomWidth),x}function b(h){let x=h.clientWidth;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x+=(0,e.int)(k.borderLeftWidth),x+=(0,e.int)(k.borderRightWidth),x}function d(h){let x=h.clientHeight;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x-=(0,e.int)(k.paddingTop),x-=(0,e.int)(k.paddingBottom),x}function C(h){let x=h.clientWidth;const k=h.ownerDocument.defaultView.getComputedStyle(h);return x-=(0,e.int)(k.paddingLeft),x-=(0,e.int)(k.paddingRight),x}function L(h,x,k){const pe=x===x.ownerDocument.body?{left:0,top:0}:x.getBoundingClientRect(),He=(h.clientX+x.scrollLeft-pe.left)/k,Ge=(h.clientY+x.scrollTop-pe.top)/k;return{x:He,y:Ge}}function y(h,x){const k=Z(h,x,"px");return{[(0,R.browserPrefixToKey)("transform",R.default)]:k}}function S(h,x){return Z(h,x,"")}function Z(h,x,k){let{x:W,y:pe}=h,He="translate(".concat(W).concat(k,",").concat(pe).concat(k,")");if(x){const Ge="".concat(typeof x.x=="string"?x.x:x.x+k),Qe="".concat(typeof x.y=="string"?x.y:x.y+k);He="translate(".concat(Ge,", ").concat(Qe,")")+He}return He}function I(h,x){return h.targetTouches&&(0,e.findInArray)(h.targetTouches,k=>x===k.identifier)||h.changedTouches&&(0,e.findInArray)(h.changedTouches,k=>x===k.identifier)}function U(h){if(h.targetTouches&&h.targetTouches[0])return h.targetTouches[0].identifier;if(h.changedTouches&&h.changedTouches[0])return h.changedTouches[0].identifier}function N(h){if(!h)return;let x=h.getElementById("react-draggable-style-el");x||(x=h.createElement("style"),x.type="text/css",x.id="react-draggable-style-el",x.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} `,x.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} -`,h.getElementsByTagName("head")[0].appendChild(x)),h.body&&w(h.body,"react-draggable-transparent-selection")}function H(h){if(h)try{if(h.body&&n(h.body,"react-draggable-transparent-selection"),h.selection)h.selection.empty();else{const x=(h.defaultView||window).getSelection();x&&x.type!=="Caret"&&x.removeAllRanges()}}catch(x){}}function w(h,x){h.classList?h.classList.add(x):h.className.match(new RegExp("(?:^|\\s)".concat(x,"(?!\\S)")))||(h.className+=" ".concat(x))}function n(h,x){h.classList?h.classList.remove(x):h.className=h.className.replace(new RegExp("(?:^|\\s)".concat(x,"(?!\\S)"),"g"),"")}},32092:function(Y,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.browserPrefixToKey=R,M.browserPrefixToStyle=i,M.default=void 0,M.getPrefix=e;const t=["Moz","Webkit","O","ms"];function e(){var g;let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const p=(g=window.document)===null||g===void 0||(g=g.documentElement)===null||g===void 0?void 0:g.style;if(!p||E in p)return"";for(let v=0;v: Unmounted during event!");return C}},36641:function(Y,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.dontSetMe=f,M.findInArray=t,M.int=i,M.isFunction=e,M.isNum=R;function t(o,g){for(let E=0,p=o.length;E=0||Object.prototype.hasOwnProperty.call(d,y)&&(L[y]=d[y]);return L}function p(d,C){if(!(d instanceof C))throw new TypeError("Cannot call a class as a function")}function v(d,C){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:d}function A(d,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);d.prototype=Object.create(C&&C.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(d,C):d.__proto__=C)}var b=function(d){A(C,d);function C(L){p(this,C);var y=v(this,(C.__proto__||Object.getPrototypeOf(C)).call(this,L));return y.scrollListener=y.scrollListener.bind(y),y.eventListenerOptions=y.eventListenerOptions.bind(y),y.mousewheelListener=y.mousewheelListener.bind(y),y}return e(C,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var y=this.getParentElement(this.scrollComponent);y.scrollTop=y.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var y=!1,S={get passive(){y=!0}};try{document.addEventListener("test",null,S),document.removeEventListener("test",null,S)}catch(Z){}return y}},{key:"eventListenerOptions",value:function(){var y=this.props.useCapture;return this.isPassiveSupported()&&(y={useCapture:this.props.useCapture,passive:!0}),y}},{key:"setDefaultLoader",value:function(y){this.defaultLoader=y}},{key:"detachMousewheelListener",value:function(){var y=window;this.props.useWindow===!1&&(y=this.scrollComponent.parentNode),y.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var y=window;this.props.useWindow===!1&&(y=this.getParentElement(this.scrollComponent)),y.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(y){var S=this.props.getScrollParent&&this.props.getScrollParent();return S!=null?S:y&&y.parentNode}},{key:"filterProps",value:function(y){return y}},{key:"attachScrollListener",value:function(){var y=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!y)){var S=window;this.props.useWindow===!1&&(S=y),S.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),S.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),S.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(y){y.deltaY===1&&!this.isPassiveSupported()&&y.preventDefault()}},{key:"scrollListener",value:function(){var y=this.scrollComponent,S=window,Z=this.getParentElement(y),I=void 0;if(this.props.useWindow){var U=document.documentElement||document.body.parentNode||document.body,N=S.pageYOffset!==void 0?S.pageYOffset:U.scrollTop;this.props.isReverse?I=N:I=this.calculateOffset(y,N)}else this.props.isReverse?I=Z.scrollTop:I=y.scrollHeight-Z.scrollTop-Z.clientHeight;Itypeof v=="object"&&v!=null&&v.nodeType===1,R=(v,A)=>(!A||v!=="hidden")&&v!=="visible"&&v!=="clip",i=(v,A)=>{if(v.clientHeight{const C=(L=>{if(!L.ownerDocument||!L.ownerDocument.defaultView)return null;try{return L.ownerDocument.defaultView.frameElement}catch(y){return null}})(d);return!!C&&(C.clientHeightLA||L>v&&y=A&&S>=b?L-v-d:y>A&&Sb?y-A+C:0,o=v=>{const A=v.parentElement;return A==null?v.getRootNode().host||null:A},g=(v,A)=>{var b,d,C,L;if(typeof document=="undefined")return[];const{scrollMode:y,block:S,inline:Z,boundary:I,skipOverflowHiddenElements:U}=A,N=typeof I=="function"?I:ee=>ee!==I;if(!e(v))throw new TypeError("Invalid target");const H=document.scrollingElement||document.documentElement,w=[];let n=v;for(;e(n)&&N(n);){if(n=o(n),n===H){w.push(n);break}n!=null&&n===document.body&&i(n)&&!i(document.documentElement)||n!=null&&i(n,U)&&w.push(n)}const h=(d=(b=window.visualViewport)==null?void 0:b.width)!=null?d:innerWidth,x=(L=(C=window.visualViewport)==null?void 0:C.height)!=null?L:innerHeight,{scrollX:k,scrollY:W}=window,{height:pe,width:He,top:Ge,right:Qe,bottom:bt,left:ut}=v.getBoundingClientRect(),{top:mt,right:Ne,bottom:Be,left:et}=(ee=>{const G=window.getComputedStyle(ee);return{top:parseFloat(G.scrollMarginTop)||0,right:parseFloat(G.scrollMarginRight)||0,bottom:parseFloat(G.scrollMarginBottom)||0,left:parseFloat(G.scrollMarginLeft)||0}})(v);let P=S==="start"||S==="nearest"?Ge-mt:S==="end"?bt+Be:Ge+pe/2-mt+Be,X=Z==="center"?ut+He/2-et+Ne:Z==="end"?Qe+Ne:ut-et;const ue=[];for(let ee=0;ee=0&&ut>=0&&bt<=x&&Qe<=h&&(G===H&&!i(G)||Ge>=lt&&bt<=qe&&ut>=Le&&Qe<=Je))return ue;const se=getComputedStyle(G),Pe=parseInt(se.borderLeftWidth,10),Ae=parseInt(se.borderTopWidth,10),Ue=parseInt(se.borderRightWidth,10),re=parseInt(se.borderBottomWidth,10);let K=0,ae=0;const Q="offsetWidth"in G?G.offsetWidth-G.clientWidth-Pe-Ue:0,z="offsetHeight"in G?G.offsetHeight-G.clientHeight-Ae-re:0,oe="offsetWidth"in G?G.offsetWidth===0?0:xe/G.offsetWidth:0,me="offsetHeight"in G?G.offsetHeight===0?0:we/G.offsetHeight:0;if(H===G)K=S==="start"?P:S==="end"?P-x:S==="nearest"?f(W,W+x,x,Ae,re,W+P,W+P+pe,pe):P-x/2,ae=Z==="start"?X:Z==="center"?X-h/2:Z==="end"?X-h:f(k,k+h,h,Pe,Ue,k+X,k+X+He,He),K=Math.max(0,K+W),ae=Math.max(0,ae+k);else{K=S==="start"?P-lt-Ae:S==="end"?P-qe+re+z:S==="nearest"?f(lt,qe,we,Ae,re+z,P,P+pe,pe):P-(lt+we/2)+z/2,ae=Z==="start"?X-Le-Pe:Z==="center"?X-(Le+xe/2)+Q/2:Z==="end"?X-Je+Ue+Q:f(Le,Je,xe,Pe,Ue+Q,X,X+He,He);const{scrollLeft:be,scrollTop:$e}=G;K=me===0?0:Math.max(0,Math.min($e+K/me,G.scrollHeight-we/me+z)),ae=oe===0?0:Math.max(0,Math.min(be+ae/oe,G.scrollWidth-xe/oe+Q)),P+=$e-K,X+=be-ae}ue.push({el:G,top:K,left:ae})}return ue},E=v=>v===!1?{block:"end",inline:"nearest"}:(A=>A===Object(A)&&Object.keys(A).length!==0)(v)?v:{block:"start",inline:"nearest"};function p(v,A){if(!v.isConnected||!(C=>{let L=C;for(;L&&L.parentNode;){if(L.parentNode===document)return!0;L=L.parentNode instanceof ShadowRoot?L.parentNode.host:L.parentNode}return!1})(v))return;const b=(C=>{const L=window.getComputedStyle(C);return{top:parseFloat(L.scrollMarginTop)||0,right:parseFloat(L.scrollMarginRight)||0,bottom:parseFloat(L.scrollMarginBottom)||0,left:parseFloat(L.scrollMarginLeft)||0}})(v);if((C=>typeof C=="object"&&typeof C.behavior=="function")(A))return A.behavior(g(v,A));const d=typeof A=="boolean"||A==null?void 0:A.behavior;for(const{el:C,top:L,left:y}of g(v,E(A))){const S=L-b.top+b.bottom,Z=y-b.left+b.right;C.scroll({top:S,left:Z,behavior:d})}}}}]); +`,h.getElementsByTagName("head")[0].appendChild(x)),h.body&&w(h.body,"react-draggable-transparent-selection")}function H(h){if(h)try{if(h.body&&n(h.body,"react-draggable-transparent-selection"),h.selection)h.selection.empty();else{const x=(h.defaultView||window).getSelection();x&&x.type!=="Caret"&&x.removeAllRanges()}}catch(x){}}function w(h,x){h.classList?h.classList.add(x):h.className.match(new RegExp("(?:^|\\s)".concat(x,"(?!\\S)")))||(h.className+=" ".concat(x))}function n(h,x){h.classList?h.classList.remove(x):h.className=h.className.replace(new RegExp("(?:^|\\s)".concat(x,"(?!\\S)"),"g"),"")}},32092:function(Y,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.browserPrefixToKey=R,M.browserPrefixToStyle=i,M.default=void 0,M.getPrefix=e;const t=["Moz","Webkit","O","ms"];function e(){var g;let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const p=(g=window.document)===null||g===void 0||(g=g.documentElement)===null||g===void 0?void 0:g.style;if(!p||E in p)return"";for(let v=0;v: Unmounted during event!");return C}},36641:function(Y,M){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.dontSetMe=f,M.findInArray=t,M.int=i,M.isFunction=e,M.isNum=R;function t(o,g){for(let E=0,p=o.length;E=0||Object.prototype.hasOwnProperty.call(d,y)&&(L[y]=d[y]);return L}function p(d,C){if(!(d instanceof C))throw new TypeError("Cannot call a class as a function")}function v(d,C){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:d}function A(d,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);d.prototype=Object.create(C&&C.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(d,C):d.__proto__=C)}var b=function(d){A(C,d);function C(L){p(this,C);var y=v(this,(C.__proto__||Object.getPrototypeOf(C)).call(this,L));return y.scrollListener=y.scrollListener.bind(y),y.eventListenerOptions=y.eventListenerOptions.bind(y),y.mousewheelListener=y.mousewheelListener.bind(y),y}return e(C,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var y=this.getParentElement(this.scrollComponent);y.scrollTop=y.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var y=!1,S={get passive(){y=!0}};try{document.addEventListener("test",null,S),document.removeEventListener("test",null,S)}catch(Z){}return y}},{key:"eventListenerOptions",value:function(){var y=this.props.useCapture;return this.isPassiveSupported()&&(y={useCapture:this.props.useCapture,passive:!0}),y}},{key:"setDefaultLoader",value:function(y){this.defaultLoader=y}},{key:"detachMousewheelListener",value:function(){var y=window;this.props.useWindow===!1&&(y=this.scrollComponent.parentNode),y.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var y=window;this.props.useWindow===!1&&(y=this.getParentElement(this.scrollComponent)),y.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),y.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(y){var S=this.props.getScrollParent&&this.props.getScrollParent();return S!=null?S:y&&y.parentNode}},{key:"filterProps",value:function(y){return y}},{key:"attachScrollListener",value:function(){var y=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!y)){var S=window;this.props.useWindow===!1&&(S=y),S.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),S.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),S.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(y){y.deltaY===1&&!this.isPassiveSupported()&&y.preventDefault()}},{key:"scrollListener",value:function(){var y=this.scrollComponent,S=window,Z=this.getParentElement(y),I=void 0;if(this.props.useWindow){var U=document.documentElement||document.body.parentNode||document.body,N=S.pageYOffset!==void 0?S.pageYOffset:U.scrollTop;this.props.isReverse?I=N:I=this.calculateOffset(y,N)}else this.props.isReverse?I=Z.scrollTop:I=y.scrollHeight-Z.scrollTop-Z.clientHeight;Itypeof v=="object"&&v!=null&&v.nodeType===1,R=(v,A)=>(!A||v!=="hidden")&&v!=="visible"&&v!=="clip",i=(v,A)=>{if(v.clientHeight{const C=(L=>{if(!L.ownerDocument||!L.ownerDocument.defaultView)return null;try{return L.ownerDocument.defaultView.frameElement}catch(y){return null}})(d);return!!C&&(C.clientHeightLA||L>v&&y=A&&S>=b?L-v-d:y>A&&Sb?y-A+C:0,o=v=>{const A=v.parentElement;return A==null?v.getRootNode().host||null:A},g=(v,A)=>{var b,d,C,L;if(typeof document=="undefined")return[];const{scrollMode:y,block:S,inline:Z,boundary:I,skipOverflowHiddenElements:U}=A,N=typeof I=="function"?I:ee=>ee!==I;if(!e(v))throw new TypeError("Invalid target");const H=document.scrollingElement||document.documentElement,w=[];let n=v;for(;e(n)&&N(n);){if(n=o(n),n===H){w.push(n);break}n!=null&&n===document.body&&i(n)&&!i(document.documentElement)||n!=null&&i(n,U)&&w.push(n)}const h=(d=(b=window.visualViewport)==null?void 0:b.width)!=null?d:innerWidth,x=(L=(C=window.visualViewport)==null?void 0:C.height)!=null?L:innerHeight,{scrollX:k,scrollY:W}=window,{height:pe,width:He,top:Ge,right:Qe,bottom:bt,left:ut}=v.getBoundingClientRect(),{top:mt,right:Ne,bottom:Be,left:et}=(ee=>{const G=window.getComputedStyle(ee);return{top:parseFloat(G.scrollMarginTop)||0,right:parseFloat(G.scrollMarginRight)||0,bottom:parseFloat(G.scrollMarginBottom)||0,left:parseFloat(G.scrollMarginLeft)||0}})(v);let P=S==="start"||S==="nearest"?Ge-mt:S==="end"?bt+Be:Ge+pe/2-mt+Be,X=Z==="center"?ut+He/2-et+Ne:Z==="end"?Qe+Ne:ut-et;const ue=[];for(let ee=0;ee=0&&ut>=0&&bt<=x&&Qe<=h&&(G===H&&!i(G)||Ge>=lt&&bt<=qe&&ut>=Le&&Qe<=Je))return ue;const se=getComputedStyle(G),Pe=parseInt(se.borderLeftWidth,10),Ae=parseInt(se.borderTopWidth,10),Ue=parseInt(se.borderRightWidth,10),re=parseInt(se.borderBottomWidth,10);let K=0,ae=0;const Q="offsetWidth"in G?G.offsetWidth-G.clientWidth-Pe-Ue:0,z="offsetHeight"in G?G.offsetHeight-G.clientHeight-Ae-re:0,oe="offsetWidth"in G?G.offsetWidth===0?0:xe/G.offsetWidth:0,me="offsetHeight"in G?G.offsetHeight===0?0:we/G.offsetHeight:0;if(H===G)K=S==="start"?P:S==="end"?P-x:S==="nearest"?f(W,W+x,x,Ae,re,W+P,W+P+pe,pe):P-x/2,ae=Z==="start"?X:Z==="center"?X-h/2:Z==="end"?X-h:f(k,k+h,h,Pe,Ue,k+X,k+X+He,He),K=Math.max(0,K+W),ae=Math.max(0,ae+k);else{K=S==="start"?P-lt-Ae:S==="end"?P-qe+re+z:S==="nearest"?f(lt,qe,we,Ae,re+z,P,P+pe,pe):P-(lt+we/2)+z/2,ae=Z==="start"?X-Le-Pe:Z==="center"?X-(Le+xe/2)+Q/2:Z==="end"?X-Je+Ue+Q:f(Le,Je,xe,Pe,Ue+Q,X,X+He,He);const{scrollLeft:be,scrollTop:$e}=G;K=me===0?0:Math.max(0,Math.min($e+K/me,G.scrollHeight-we/me+z)),ae=oe===0?0:Math.max(0,Math.min(be+ae/oe,G.scrollWidth-xe/oe+Q)),P+=$e-K,X+=be-ae}ue.push({el:G,top:K,left:ae})}return ue},E=v=>v===!1?{block:"end",inline:"nearest"}:(A=>A===Object(A)&&Object.keys(A).length!==0)(v)?v:{block:"start",inline:"nearest"};function p(v,A){if(!v.isConnected||!(C=>{let L=C;for(;L&&L.parentNode;){if(L.parentNode===document)return!0;L=L.parentNode instanceof ShadowRoot?L.parentNode.host:L.parentNode}return!1})(v))return;const b=(C=>{const L=window.getComputedStyle(C);return{top:parseFloat(L.scrollMarginTop)||0,right:parseFloat(L.scrollMarginRight)||0,bottom:parseFloat(L.scrollMarginBottom)||0,left:parseFloat(L.scrollMarginLeft)||0}})(v);if((C=>typeof C=="object"&&typeof C.behavior=="function")(A))return A.behavior(g(v,A));const d=typeof A=="boolean"||A==null?void 0:A.behavior;for(const{el:C,top:L,left:y}of g(v,E(A))){const S=L-b.top+b.bottom,Z=y-b.left+b.right;C.scroll({top:S,left:Z,behavior:d})}}}}]); }()); \ No newline at end of file diff --git a/p__tasks__ThemeChange__index.5889ae2c.async.js b/p__tasks__ThemeChange__index.ce95296a.async.js similarity index 99% rename from p__tasks__ThemeChange__index.5889ae2c.async.js rename to p__tasks__ThemeChange__index.ce95296a.async.js index 0dbf0f04f7..4df293c16b 100644 --- a/p__tasks__ThemeChange__index.5889ae2c.async.js +++ b/p__tasks__ThemeChange__index.ce95296a.async.js @@ -209,7 +209,7 @@ ${ut} \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],E=fe=>{a.current.setValue(a.current.getValue()+" "+fe.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ie.createElement(ce.Z,{className:se.Z.lists,gutter:[10,10]},y.map((fe,Ae)=>ie.createElement(b.Z,{flex:"110px",className:se.Z.item},ie.createElement("div",null,ie.createElement(re.Z,{value:`$$${fe.value}$$`}),fe.name),ie.createElement("div",{className:se.Z.children},fe.children.map((me,pe)=>ie.createElement("div",{key:pe},ie.createElement("h1",null,me.name),ie.createElement(ce.Z,{gutter:[10,10]},me.data.map((ve,Ee)=>ie.createElement(b.Z,{key:Ee,onClick:()=>E(ve),className:se.Z.diamond},ie.createElement(re.Z,{value:"`$$"+ve.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ie.createElement(ce.Z,{className:se.Z.lists,gutter:[10,10]},x.map((fe,Ae)=>ie.createElement(b.Z,{flex:"110px",className:se.Z.item},ie.createElement("div",null,ie.createElement(re.Z,{value:"`$$"+fe.value+"$$`"}),fe.name),ie.createElement("div",{className:se.Z.children},fe.children.map((me,pe)=>ie.createElement("div",{key:pe},me.name&&ie.createElement("h1",null,me.name),ie.createElement(ce.Z,{gutter:[10,10]},me.data.map((ve,Ee)=>ie.createElement(b.Z,{key:Ee,onClick:()=>E(ve),className:se.Z.diamond},ie.createElement(re.Z,{value:"`$$"+ve.value+"$$`"}))))))))))}],te=()=>{var fe=document.createElement("div");fe.innerHTML=a.current.getValue();var Ae=fe.innerText;return oe&&oe(Ae),Ae};return(0,he.useImperativeHandle)(z,()=>({getData:te})),ie.createElement("div",{className:se.Z.mathWrap},ie.createElement(ge.default,{defaultActiveKey:"1",items:ee}),ie.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),ue&&ie.createElement("div",{className:se.Z.button},ie.createElement(de.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ze.Z=le},57146:function(Jt,Ze,ye){"use strict";ye.d(Ze,{z:function(){return vt},Z:function(){return Ke}});var he=ye(59301),ce=ye(54580),b=ye(8591),ge=ye(43418),de=ye(3113),re=ye(74128),se=ye(80024),ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ue=(lt,Ft,Bt)=>Ft in lt?ae(lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):lt[Ft]=Bt,ne=(lt,Ft)=>{for(var Bt in Ft||(Ft={}))le.call(Ft,Bt)&&ue(lt,Bt,Ft[Bt]);if(ie)for(var Bt of ie(Ft))oe.call(Ft,Bt)&&ue(lt,Bt,Ft[Bt]);return lt},z=(lt,Ft,Bt)=>new Promise((kt,Et)=>{var it=Lt=>{try{Rt(Bt.next(Lt))}catch(Vt){Et(Vt)}},ct=Lt=>{try{Rt(Bt.throw(Lt))}catch(Vt){Et(Vt)}},Rt=Lt=>Lt.done?kt(Lt.value):Promise.resolve(Lt.value).then(it,ct);Rt((Bt=Bt.apply(lt,Ft)).next())});const a="\u3000\u3000";function y(lt){var Ft=["Bytes","KB","MB","GB","TB"];if(lt==0)return"0 Byte";var Bt=parseInt(""+Math.floor(Math.log(lt)/Math.log(1024)),10);return(lt/Math.pow(1024,Bt)).toFixed(1)+" "+Ft[Bt]}var x=({value:lt=[],action:Ft,onChange:Bt,className:kt,maxSize:Et=150,title:it="\u6587\u4EF6\u4E0A\u4F20",accept:ct=null})=>{const Rt={multiple:!1,fileList:lt,accept:ct,withCredentials:!0,beforeUpload:Vt=>Vt.size/1024/1024(_e.name.indexOf(a)===-1&&(_e.name=`${_e.name}${a}${y(_e.size)}`),ne({},_e))),Vt.file.status==="done"&&((ot=(mt=Vt.file)==null?void 0:mt.response)==null?void 0:ot.status)===-1){message.error((Nt=(Ye=Vt.file)==null?void 0:Ye.response)==null?void 0:Nt.message),Bt([]);return}Bt($e)},onRemove:Vt=>z(void 0,null,function*(){const mt=Vt.size/1024/1024;return Vt.status==="uploading"?!0:mt0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:lt.length>0,ghost:!0},it),React.createElement("span",{onClick:Lt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",Et,"M)"," ")))},E=ye(61481),ee=ye(89392),te=Object.defineProperty,fe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,pe=(lt,Ft,Bt)=>Ft in lt?te(lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):lt[Ft]=Bt,ve=(lt,Ft)=>{for(var Bt in Ft||(Ft={}))Ae.call(Ft,Bt)&&pe(lt,Bt,Ft[Bt]);if(fe)for(var Bt of fe(Ft))me.call(Ft,Bt)&&pe(lt,Bt,Ft[Bt]);return lt};const Ee=lt=>React.createElement("svg",ve({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},lt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ce="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",De=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ze=(lt,Ft,Bt)=>Ft in lt?De(lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):lt[Ft]=Bt,Fe=(lt,Ft)=>{for(var Bt in Ft||(Ft={}))Qe.call(Ft,Bt)&&ze(lt,Bt,Ft[Bt]);if(Ie)for(var Bt of Ie(Ft))Te.call(Ft,Bt)&&ze(lt,Bt,Ft[Bt]);return lt},qe=(lt,Ft,Bt)=>new Promise((kt,Et)=>{var it=Lt=>{try{Rt(Bt.next(Lt))}catch(Vt){Et(Vt)}},ct=Lt=>{try{Rt(Bt.throw(Lt))}catch(Vt){Et(Vt)}},Rt=Lt=>Lt.done?kt(Lt.value):Promise.resolve(Lt.value).then(it,ct);Rt((Bt=Bt.apply(lt,Ft)).next())});const{Dragger:Je}=ce.default;function vt(lt){let Ft=[];return lt&<.length>0&&(Ft=lt.map(Bt=>({uid:Bt.id,id:Bt.id,name:Bt.title+a+Bt.filesize,url:Bt.url,filesize:Bt.filesize,status:"done",response:{id:Bt.id}}))),Ft}var Ke=({value:lt,onChange:Ft,action:Bt,data:kt,className:Et,maxSize:it=150,title:ct="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Rt=!1,accept:Lt="",additionalText:Vt,isDragger:mt,number:ot=1e3,aloneClear:Ye=!1,realTimeRemove:Nt=!0,uploadText:$e,setFileProgress:_e,showFileProgress:Ue})=>{const[Ve,We]=(0,he.useState)(!1);let[Le,je]=(0,he.useState)(lt||[]),[Oe,ut]=(0,he.useState)(1);(0,he.useEffect)(()=>{lt&&(Oe===1&&je([...lt]),ut(2),ot===(lt==null?void 0:lt.length)&&We(!0))},[lt]);const Ct=()=>{setTimeout(()=>{Le.pop(),je([...Le])},500)};Ue&&_e(Le.some(at=>at.status==="uploading"));const Mt={multiple:!0,disabled:Ve,accept:Lt,withCredentials:!0,fileList:Le,beforeUpload:(at,Zt)=>{const St=at.size/1024/1024;return Le.concat(Zt).length>ot?(Le.pop(),je([...Le]),b.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${ot}\u4E2A\u6587\u4EF6`),Ye?Promise.reject():(Ct(),!1)):St=ot?We(!0):We(!1),je([...Le]),Le=Le.map(Bn=>{var Rn,Ht;return(Rn=Bn==null?void 0:Bn.response)!=null&&Rn.id&&(Bn.url=(Ht=Bn==null?void 0:Bn.response)==null?void 0:Ht.url),Bn.name.indexOf(a)===-1&&(Bn.name=`${Bn.name}${a}${y(Bn.size)}`),Fe({},Bn)}),console.log("info:",at,Le),Ft(Le)},onRemove:at=>qe(void 0,null,function*(){if(!Nt)return!0;const Zt=()=>qe(void 0,null,function*(){if(at.response?at.response.id:at.id){let nn=yield(0,se.JZ)(at.response?at.response.id:at.uid);return Promise.resolve(nn)}else return!0});return Rt?new Promise((St,nn)=>{ge.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:he.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>qe(void 0,null,function*(){const fn=yield Zt();b.ZP.success("\u5220\u9664\u6210\u529F"),St(!0)}),onCancel:()=>St(!1)})}):yield Zt()})};function Tt(at){at.preventDefault(),at.stopPropagation()}return he.createElement("div",{className:`multi-upload ${Et||""}`},mt&&he.createElement(Je,Fe({},Mt),he.createElement("p",{className:"ant-upload-drag-icon"},he.createElement(E.Z,null)),he.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",he.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",it,"MB)"," "),Vt),!mt&&he.createElement(ce.default,Fe({},Mt),he.createElement(de.ZP,{disabled:Ve,className:"upload_button"},he.createElement("img",{className:"aBtn_img",src:Ce}),ct),he.createElement("span",{onClick:Tt,className:"upload_text"},$e||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${it}MB)`)))}},42678:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ge}});var he=ye(65582),ce={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},b=ye(59301),ge=({message:de,className:re,children:se,style:ae={}})=>b.createElement("div",{className:`custom-spinner ${ce.idsRingWrapper} ${re}`},b.createElement("div",{className:ce.ldsRing},b.createElement("div",null),b.createElement("div",null),b.createElement("div",null),b.createElement("div",null)),de?b.createElement("p",{style:ae},de):null,se,b.createElement(he.Outlet,null))},51908:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return re}});var he=ye(59301),ce={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},b=ye(92310),ge=ye.n(b),re=({className:se,style:ae={},leftNode:ie,leftTitle:le="\u81EA\u6D4B\u8F93\u5165",rightNode:oe,rightTitle:ue="\u8FD0\u884C\u7ED3\u679C"})=>he.createElement("div",{className:ge()(ce.result,se),style:ae},he.createElement("div",{className:ce.left},he.createElement("div",{className:ce.title},he.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,le)),he.createElement("div",{className:ce.leftNode},ie)),he.createElement("div",{className:ce.right},he.createElement("div",{className:ce.title},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),he.createElement("span",null,ue)),he.createElement("div",{className:ce.rightNode},oe)))},44080:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return a}});var he=ye(59301),ce=ye(8591),b=ye(38854),ge=ye(73217),de=ye(17030),re=ye(41867),se=ye(56102),ae=ye(84056),ie={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},le=(y,x,E)=>new Promise((ee,te)=>{var fe=pe=>{try{me(E.next(pe))}catch(ve){te(ve)}},Ae=pe=>{try{me(E.throw(pe))}catch(ve){te(ve)}},me=pe=>pe.done?ee(pe.value):Promise.resolve(pe.value).then(fe,Ae);me((E=E.apply(y,x)).next())});function oe(y){if(isNaN(y))return{minutes:"00",seconds:"00"};const x=new Date(y*1e3).toISOString().substr(11,8);return{hour:x.substr(0,2),minutes:x.substr(3,2),seconds:x.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function ue(y,x){return y-x}function ne(y){y.sort(ue);let x=0;for(let E=0;E{},handlePlay:pe=()=>{},handlePlayEnded:ve=()=>{},autoPlay:Ee=!1,onPlayEnded:Ce=()=>{},isShowWaterMark:De=!0},Ie)=>{var Qe;const ze=((Qe=x==null?void 0:x.split("."))==null?void 0:Qe.pop())==="flv",Fe=(0,he.useRef)(),qe=(0,he.useRef)(),Je=(0,he.useRef)(),vt=(0,he.useRef)(),Ke=(0,he.useRef)(),lt=(0,he.useRef)(),Ft=(0,he.useRef)(),Bt=(0,he.useRef)(),kt=(0,he.useRef)(),Et=(0,he.useRef)(),it=(0,he.useRef)(),ct=(0,he.useRef)(),Rt=(0,he.useRef)(),Lt=(0,he.useRef)(),Vt=navigator.userAgent.toLowerCase().match(z),mt=Vt?Vt[0]:"pc",ot=(0,he.useRef)(!1),Ye=(0,re.eY)();let Nt=0,$e=0,_e=0,Ue=null,Ve=!1,We=20,Le=1,je=!1,Oe=!1,ut=[];(0,he.useImperativeHandle)(Ie,()=>({getLastUpdatedTime:()=>Fe.current.currentTime,getDuration:()=>Fe.current.duration})),ce.ZP.config({maxCount:1,getContainer:()=>Je.current});const Ct=(0,he.useCallback)((fn,Bn=!1)=>{let Rn={point:Fe.current.currentTime};Ue?(Rn.log_id=Ue,Rn.watch_duration=ne(ut),Rn.total_duration=$e):(fe?(Rn.video_id=parseInt(ee,10),Rn.course_id=fe):Rn.video_id=ee,Rn.duration=Nt,Rn.device=mt),Bn&&(Rn.ed="1");function Ht(){return le(this,null,function*(){je=!0,Ue=yield te==null?void 0:te(Rn),je=!1,fn&&fn()})}Ht()},[ee,fe]);(0,he.useEffect)(()=>{Fe.current&&(vt.current.style.display="none",Ke.current.style.display="block"),ce.ZP.destroy();let fn=null;return ge.Z.isSupported&&ze&&x&&(x==null?void 0:x.indexOf(".m3u8"))<0?(fn=ge.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:x,muted:!1}),Fe.current&&(fn.attachMediaElement(Fe.current),fn.load())):Fe.current.setAttribute("src",x),Tt(),()=>{fn&&(fn.unload(),fn.pause(),fn.destroy(),fn=null)}},[Fe,ze,x]);function Mt(){Fe.current.paused?(vt.current.style.display="none",Ke.current.style.display="block"):(vt.current.style.display="block",Ke.current.style.display="none")}function Tt(){it.current.style.display="none",Rt.current.style.display="none",ct.current.style.display="none",Fe.current.muted||Fe.current.volume===0?it.current.style.display="block":Fe.current.volume>0&&Fe.current.volume<=.5?Rt.current.style.display="block":ct.current.style.display="block"}(0,he.useEffect)(()=>{const fn=document.getElementById("play"),Bn=document.querySelectorAll(".playback-icons use");function Rn(){pe(),Ae&&!ot.current&&(Fe.current.currentTime=Ae),ot.current=!0,ut.push(Fe.current.currentTime),Ve||(Ve=!0,E&&Ct())}function Ht(){return le(this,null,function*(){Mt(),ut.push(Fe.current.currentTime),E&&Ct(()=>{Ue=null,_e=0,Ve=!1,je=!1,Oe=!1,ut=[],$e=0,Le=1},!0),Ce()})}function Fn(){lt.current.value=Math.round(Fe.current.currentTime),Ft.current.value=Math.round(Fe.current.currentTime)}function mn(){const Qn=oe(Math.round(Fe.current.currentTime));kt.current.innerText=`${Qn.hour>0?Qn.hour+":":""}${Qn.minutes}:${Qn.seconds}`,kt.current.setAttribute("datetime",`${Qn.hour>0?" "+Qn.hour+" ":""}${Qn.minutes}m ${Qn.seconds}s`)}function Jn(){var Qn,tn,Ln,On,vr,Un,cr;const Ea=Math.round((Qn=Fe.current)==null?void 0:Qn.duration);(Ln=(tn=lt.current)==null?void 0:tn.setAttribute)==null||Ln.call(tn,"max",Ea),(vr=(On=Ft.current)==null?void 0:On.setAttribute)==null||vr.call(On,"max",Ea);const fa=oe(Ea);Bt.current&&(Bt.current.innerText=`${fa.hour>0?fa.hour+":":""}${fa.minutes}:${fa.seconds}`,(cr=(Un=Bt.current).setAttribute)==null||cr.call(Un,"datetime",`${fa.hour>0?" "+fa.hour+" ":""}${fa.minutes}m ${fa.seconds}s`))}function hr(){try{const Qn=Math.round(Fe.current.duration);lt.current.setAttribute("max",Qn),Ft.current.setAttribute("max",Qn);const tn=oe(Qn);Bt.current.innerText=`${tn.hour>0?tn.hour+":":""}${tn.minutes}:${tn.seconds}`,Bt.current.setAttribute("datetime",`${tn.hour>0?" "+tn.hour+" ":""}${tn.minutes}m ${tn.seconds}s`),Fn(),mn();const{width:Ln,height:On,x:vr,y:Un}=qe.current.getBoundingClientRect();if(vr<0||Un<0||!Ln)return;if(!Oe){let cr=Fe.current.currentTime,Ea=cr-_e;Math.abs(Ea)<10?($e+=Math.abs(Ea),_e=cr,je||$e-Le*We>=0&&(Le++,ut.push(_e),E&&Ct())):(_e=cr,E&&Ct())}}catch(Qn){console.log(Qn)}}function ar(){Oe=!0}function Sn(){Fe.current.playing&&ut.push(Fe.current.currentTime,_e),_e=Fe.current.currentTime,Oe=!1}function or(){Nt=Fe.current.duration,Nt<=20&&(We=Nt/3),Fe.current.addEventListener("play",Rn)}function rn(Qn){Qn.preventDefault(),(0,ae.vp)()?(Fe.current.style.width="100%",Fe.current.style.height="100%"):Fe.current.style.cssText=""}function Fr(){me()}function _r(Qn){if(!y){ce.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const tn=Qn.target.dataset.seek?Qn.target.dataset.seek:Qn.target.value;Fe.current.currentTime=tn,Ft.current.value=tn,lt.current.value=tn}function At(Qn){const tn=Math.round(Qn.offsetX/Qn.target.clientWidth*parseInt(Qn.target.getAttribute("max"),10));lt.current.setAttribute("data-seek",tn);const Ln=oe(tn);Et.current.textContent=`${Ln.hour>0?Ln.hour+":":""}${Ln.minutes}:${Ln.seconds}`;const On=Fe.current.getBoundingClientRect();Et.current.style.left=`${Qn.pageX-On.left}px`}function Wn(Qn){switch(Qn.code){case"Space":Qn.preventDefault(),St();break;case"ArrowRight":if(Qn.preventDefault(),!y){ce.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(Fe.current.currentTime>=Fe.current.duration)break;Fe.current.currentTime=parseInt(Fe.current.currentTime)+5,Fn();break;case"ArrowLeft":if(Qn.preventDefault(),!y){ce.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(Fe.current.currentTime===0)break;Fe.current.currentTime=parseInt(Fe.current.currentTime)-5,Fn();break;case"ArrowUp":Qn.preventDefault(),Fe.current.volume<1&&(Fe.current.volume=(parseInt(Fe.current.volume*10)+1)/10);break;case"ArrowDown":Qn.preventDefault(),Fe.current.volume>0&&(Fe.current.volume=(parseInt(Fe.current.volume*10)-1)/10);break}}return Je.current.addEventListener((0,ae.gH)(),rn),Fe.current.addEventListener("canplay",or),Fe.current.addEventListener("ended",Ht),Fe.current.addEventListener("seeking",ar),Fe.current.addEventListener("seeked",Sn),Fe.current.addEventListener("loadedmetadata",Jn),lt.current.addEventListener("mousemove",At),lt.current.addEventListener("input",_r),Fe.current.addEventListener("timeupdate",hr),Fe.current.addEventListener("pause",Fr),Fe.current.addEventListener("volumechange",Tt),document.addEventListener("keydown",Wn),()=>{var Qn,tn,Ln,On,vr,Un,cr,Ea,fa,Lr,da,br;(Qn=Fe.current)==null||Qn.removeEventListener("canplay",or),(tn=Fe.current)==null||tn.removeEventListener("play",Rn),(Ln=Fe.current)==null||Ln.removeEventListener("ended",Ht),(On=Fe.current)==null||On.removeEventListener("seeking",ar),(vr=Fe.current)==null||vr.removeEventListener("seeked",Sn),(Un=lt.current)==null||Un.removeEventListener("mousemove",At),(cr=lt.current)==null||cr.removeEventListener("input",_r),(Ea=Fe.current)==null||Ea.removeEventListener("timeupdate",hr),(fa=Fe.current)==null||fa.removeEventListener("pause",Fr),(Lr=Fe.current)==null||Lr.removeEventListener("loadedmetadata",Jn),(da=Fe.current)==null||da.removeEventListener("volumechange",Tt),document.removeEventListener("keydown",Wn),(br=Fe.current)!=null&&br.playing&&(ut.push(_e,Fe.current.currentTime),E&&Ct())}},[Fe,x]),(0,he.useEffect)(()=>{if(Fe.current.onended=()=>{ve(Fe)},Fe.current.oncontextmenu=()=>!1,(x==null?void 0:x.indexOf(".m3u8"))>-1){if(Fe.current.canPlayType("application/vnd.apple.mpegurl"))Fe.current.src=x;else if(de.ZP.isSupported()){var fn=new de.ZP;fn.loadSource(x),fn.attachMedia(Fe.current)}}},[x]);const[at,Zt]=(0,he.useState)(1),St=()=>{Fe.current.paused||Fe.current.ended?Fe.current.play():Fe.current.pause(),Mt()};function nn(){Fe.current.muted=!Fe.current.muted,Fe.current.muted?(Lt.current.setAttribute("data-volume",volume.value),Lt.current.value=0):Lt.current.value=Lt.current.dataset.volume}return he.createElement("div",{style:{position:"relative"},ref:Je},he.createElement("div",{ref:qe,className:`${ie.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${ie.animate__loop}`},De&&Ye?Ye.login:" "),he.createElement("div",{className:ie.container},he.createElement("div",{className:ie["video-container"],id:"video-container"},he.createElement("div",{className:ie["playback-animation"],id:"playback-animation"},he.createElement("svg",{className:ie["playback-icons"]},he.createElement("use",{className:"hidden",href:"#play-icon"}),he.createElement("use",{href:"#pause"}))),he.createElement("video",{className:ie.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:Fe,autoPlay:Ee}),he.createElement("div",{className:`${ie["video-controls"]} `,id:"video-controls"},he.createElement("div",{className:ie["bottom-controls"]},he.createElement("div",{className:ie["left-controls"]},he.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:St},he.createElement("svg",{className:ie["playback-icons"]},he.createElement("use",{ref:Ke,href:"#play-icon"}),he.createElement("use",{ref:vt,style:{display:"none"},href:"#pause"}))),he.createElement("div",{className:ie.time},he.createElement("time",{id:"time-elapsed",ref:kt},"00:00"),he.createElement("span",null," / "),he.createElement("time",{id:"duration",ref:Bt},"00:00"))),he.createElement("div",{className:ie["right-controls"]},y&&he.createElement(b.Z,{placement:"top",overlayClassName:ie.rateOverlay,getPopupContainer:fn=>fn.parentNode,menu:{items:[{key:"1",label:he.createElement("span",{onClick:()=>{Zt(1),Fe.current.playbackRate=1}},"1.0x")},{key:"2",label:he.createElement("span",{onClick:()=>{Zt(1.5),Fe.current.playbackRate=1.5}},"1.5x")},{key:"3",label:he.createElement("span",{onClick:()=>{Zt(2),Fe.current.playbackRate=2}},"2.0x")}]}},he.createElement("div",{className:`${ie.controlText} mr5`},"\u500D\u901F")),he.createElement(se.CopyToClipboard,{text:x,onCopy:()=>ce.ZP.success("\u590D\u5236\u6210\u529F")},he.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},he.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),he.createElement("div",{className:ie["volume-controls"]},he.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:ie["volume-button"],id:"volume-button",onClick:nn},he.createElement("i",{ref:it,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),he.createElement("i",{ref:Rt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),he.createElement("i",{ref:ct,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),he.createElement("input",{className:ie.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Lt,style:{display:"none"},onClick:Tt})),he.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:ie["fullscreen-button"],onClick:()=>{(0,ae.vp)()?(0,ae.BU)():(0,ae.Dj)(Je.current)}},he.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),he.createElement("div",{className:ie["video-progress"]},he.createElement("progress",{ref:Ft,value:"0",min:"0"}),he.createElement("input",{className:ie.seek,ref:lt,value:"0",min:"0",type:"range",step:"1"}),he.createElement("div",{className:ie["seek-tooltip"],ref:Et,id:"seek-tooltip"},"00:00"))))),he.createElement("svg",{style:{display:"none"}},he.createElement("defs",null,he.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},he.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),he.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},he.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),he.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},he.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),he.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},he.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),he.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},he.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),he.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},he.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),he.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},he.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),he.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},he.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},30214:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ge}});var he=ye(59301),ce=ye(77254),b=ye(11611),ge=()=>{const[de,re]=(0,he.useState)(""),[se,ae]=(0,he.useState)(0);let[ie,le]=(0,he.useState)(),[oe,ue]=(0,he.useState)();const[ne,z]=(0,he.useState)(!1),a=(0,he.useRef)("");(0,he.useEffect)(()=>ce.Z.subscribe("preview-image",Ee=>{re(Ee),console.log(me.current),document.body.style.overflow="hidden"}),[]),(0,he.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,he.useEffect)(()=>{a.current=de},[de]);function y(ve){ve.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",le(void 0),ue(void 0),ae(0),re("")}function E(){ae(se+90)}function ee(){ie=me.current.width*1.1,oe=me.current.height*1.1,ue(oe),le(ie)}function te(){ie=me.current.width/1.1,oe=me.current.height/1.1,ue(oe),le(ie)}const fe=(0,he.useRef)(),Ae=(0,he.useRef)(),me=(0,he.useRef)(),pe=ve=>{(ve.nativeEvent.target===fe.current||ve.nativeEvent.target===Ae.current)&&x()};return he.createElement(he.Fragment,null,de?he.createElement("div",null,he.createElement("div",{className:"preview-wrp-group",ref:Ae},he.createElement(b.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,movable:!1,onVisibleChange:ve=>{re("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(Jt,Ze,ye){"use strict";ye.d(Ze,{h:function(){return fe}});var he=ye(59301),ce=ye(57809),b=ye(78241),ge=ye(3113),de=ye(89780),re=ye.n(de),se=ye(45559),ae=ye(42313),ie=Object.defineProperty,le=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(Ae,me,pe)=>me in Ae?ie(Ae,me,{enumerable:!0,configurable:!0,writable:!0,value:pe}):Ae[me]=pe,y=(Ae,me)=>{for(var pe in me||(me={}))ne.call(me,pe)&&a(Ae,pe,me[pe]);if(ue)for(var pe of ue(me))z.call(me,pe)&&a(Ae,pe,me[pe]);return Ae},x=(Ae,me)=>le(Ae,oe(me));const E=ce.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ze.Z=({callback:Ae,onCancel:me})=>{const[pe,ve]=(0,he.useState)("python");function Ee(De){ve(te[De][1])}function Ce(De){Ae(De)}return he.createElement(b.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ce,style:{width:500}}),he.createElement(b.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(ce.default,{getPopupContainer:De=>De.parentNode,onChange:Ee},Object.keys(te).map(De=>he.createElement(E,{key:De,value:De},te[De][0])))),he.createElement(b.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(fe,{mode:pe})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(ge.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function fe({value:Ae,onChange:me,mode:pe,options:ve={}}){const Ee=(0,he.useRef)(),[Ce,De]=(0,he.useState)();return(0,he.useEffect)(()=>{if(Ce){let Ie=function(Qe){const Te=Qe.getValue();me&&me(Te)};return Ce.on("change",Ie),()=>{Ce.off("change",Ie)}}},[Ce,me]),(0,he.useEffect)(()=>{Ce&&Ce.setOption("mode",pe)},[Ce,pe]),(0,he.useEffect)(()=>{Ce&&(Ae!==Ce.getValue()||Ae==="")&&setTimeout(()=>{Ce.setValue(Ae||"")},300)},[Ce,Ae]),(0,he.useEffect)(()=>{if(Ee.current&&!Ce){const Ie=re().fromTextArea(Ee.current,y({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ve));De(Ie)}},[Ee.current,Ce]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:Ee}))}},96565:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ke}});var he=ye(59301),ce=ye(89780),b=ye.n(ce),ge=ye(76374),de=ye(45559),re=ye(6313),se=ye(25717),ae=ye(99498),ie=ye(25419),le=ye(67549),oe=ye(6339),ue=({value:Me="",className:He,showTextOnly:Xe,showLines:st,style:en={}})=>{const hn=(0,he.useMemo)(()=>"",[Me]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:hn}}))},ne=ye(59301),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(Me,He,Xe)=>He in Me?z(Me,He,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Me[He]=Xe,fe=(Me,He)=>{for(var Xe in He||(He={}))E.call(He,Xe)&&te(Me,Xe,He[Xe]);if(x)for(var Xe of x(He))ee.call(He,Xe)&&te(Me,Xe,He[Xe]);return Me},Ae=(Me,He)=>a(Me,y(He));let me=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function pe({onActionCallback:Me,title:He,icon:Xe,actionName:st,className:en="",children:hn}){function Xn(){Me(st)}return ne.createElement("a",{title:He,className:en,onClick:Xn},ne.createElement("i",{className:`${Xe}`}),hn)}var ve=({watch:Me,showNullButton:He,showNullProgramButton:Xe,onActionCallback:st,fullScreen:en,insertTemp:hn,hidetoolBar:Xn,extraUse:kn})=>{const ir=[...me,{title:`${Me?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Me?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Xn&&ir.map((Mr,Dr)=>ne.createElement("li",{key:Dr},Mr.actionName?ne.createElement(pe,Ae(fe({},Mr),{onActionCallback:st})):ne.createElement("span",{className:"v-line"}))),He?ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Xe?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,hn&&ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${hn}`,onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kn&&ne.createElement("li",null,kn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(pe,{icon:`${en?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:en?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:st})))},Ee=ye(57261),Ce=ye(78241),De=ye(92832),Ie=ye(3113),Qe=Object.defineProperty,Te=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,vt=(Me,He,Xe)=>He in Me?Qe(Me,He,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Me[He]=Xe,Ke=(Me,He)=>{for(var Xe in He||(He={}))qe.call(He,Xe)&&vt(Me,Xe,He[Xe]);if(Fe)for(var Xe of Fe(He))Je.call(He,Xe)&&vt(Me,Xe,He[Xe]);return Me},lt=(Me,He)=>Te(Me,ze(He));const Ft={labelCol:{span:4},wrapperCol:{span:20}};var Bt=({callback:Me,onCancel:He})=>{function Xe(st){Me(st)}return he.createElement(Ce.default,lt(Ke({},Ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Xe,style:{width:500}}),he.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},he.createElement(De.default,null)),he.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},he.createElement(De.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Ie.ZP,{type:"ghost",onClick:He},"\u53D6\u6D88")))},kt=ye(85533),Et=ye(45053),it=ye(43418),ct=ye(95237),Rt=ye(16750),Lt=ye(59301),Vt=({callback:Me,onCancel:He})=>{const Xe=document.createElement("canvas"),st=Xe.getContext("2d");Xe.width=1e3,Xe.height=800,st.fillStyle="#ffffff",st.fillRect(0,0,Xe.width,Xe.height);const en=Xe.toDataURL("image/png");return Lt.createElement(it.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Lt.createElement(ct.Z,{style:{height:"100vh"}},Lt.createElement(Rt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:en,visible:!0,title:String(Date.now())},onOk:hn=>{Me({src:hn.url})},onClose:He})))},mt=ye(12378);function ot(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ot,go.CommandHandler),ot.prototype.canAlignSelection=function(){var Me=this.diagram;return!(Me===null||Me.isReadOnly||Me.isModelReadOnly||Me.selection.count<2)},ot.prototype.alignLeft=function(){var Me=this.diagram;Me.startTransaction("aligning left");var He=1/0;Me.selection.each(function(Xe){Xe instanceof go.Link||(He=Math.min(Xe.position.x,He))}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(He,Xe.position.y))}),Me.commitTransaction("aligning left")},ot.prototype.alignRight=function(){var Me=this.diagram;Me.startTransaction("aligning right");var He=-1/0;Me.selection.each(function(Xe){if(!(Xe instanceof go.Link)){var st=Xe.actualBounds.x+Xe.actualBounds.width;He=Math.max(st,He)}}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(He-Xe.actualBounds.width,Xe.position.y))}),Me.commitTransaction("aligning right")},ot.prototype.alignTop=function(){var Me=this.diagram;Me.startTransaction("alignTop");var He=1/0;Me.selection.each(function(Xe){Xe instanceof go.Link||(He=Math.min(Xe.position.y,He))}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(Xe.position.x,He))}),Me.commitTransaction("alignTop")},ot.prototype.alignBottom=function(){var Me=this.diagram;Me.startTransaction("aligning bottom");var He=-1/0;Me.selection.each(function(Xe){if(!(Xe instanceof go.Link)){var st=Xe.actualBounds.y+Xe.actualBounds.height;He=Math.max(st,He)}}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(Xe.actualBounds.x,He-Xe.actualBounds.height))}),Me.commitTransaction("aligning bottom")},ot.prototype.alignCenterX=function(){var Me=this.diagram,He=Me.selection.first();if(He){Me.startTransaction("aligning Center X");var Xe=He.actualBounds.x+He.actualBounds.width/2;Me.selection.each(function(st){st instanceof go.Link||st.move(new go.Point(Xe-st.actualBounds.width/2,st.actualBounds.y))}),Me.commitTransaction("aligning Center X")}},ot.prototype.alignCenterY=function(){var Me=this.diagram,He=Me.selection.first();if(He){Me.startTransaction("aligning Center Y");var Xe=He.actualBounds.y+He.actualBounds.height/2;Me.selection.each(function(st){st instanceof go.Link||st.move(new go.Point(st.actualBounds.x,Xe-st.actualBounds.height/2))}),Me.commitTransaction("aligning Center Y")}},ot.prototype.alignColumn=function(Me){var He=this.diagram;He.startTransaction("align Column"),Me===void 0&&(Me=0),Me=parseFloat(Me);var Xe=new Array;He.selection.each(function(kn){kn instanceof go.Link||Xe.push(kn)});for(var st=0;st0){for(var kn=hn.elt(Xn-1);kn!==null&&kn.isTreeExpanded&&!kn.isTreeLeaf;){var ir=this._sortTreeChildrenByY(kn);kn=ir.last()}kn!==null&&Me.select(kn)}else Me.select(en)}}else if(Xe.key==="Down")if(He.isTreeExpanded&&!He.isTreeLeaf){var st=this._sortTreeChildrenByY(He).first();st!==null&&Me.select(st)}else for(;He!==null;){var en=He.findTreeParentNode();if(en===null)break;var hn=this._sortTreeChildrenByY(en),Xn=hn.indexOf(He);if(Xnhn.y?1:en.xhn.x?1:0}),He},ot.prototype.copyToClipboard=function(Me){go.CommandHandler.prototype.copyToClipboard.call(this,Me),this._lastPasteOffset.set(this.pasteOffset)},ot.prototype.pasteFromClipboard=function(){var Me=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Me,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Me},Object.defineProperty(ot.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Me){if(Me!=="move"&&Me!=="select"&&Me!=="scroll"&&Me!=="tree"&&Me!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Me);this._arrowKeyBehavior=Me}}),Object.defineProperty(ot.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Me){if(!(Me instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Me);this._pasteOffset.set(Me)}});var Ye=ot,Nt=ye(25863),$e=ye(43604),_e=ye(38147),Ue={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ve=ye(59301),We=(Me,He,Xe)=>new Promise((st,en)=>{var hn=ir=>{try{kn(Xe.next(ir))}catch(Mr){en(Mr)}},Xn=ir=>{try{kn(Xe.throw(ir))}catch(Mr){en(Mr)}},kn=ir=>ir.done?st(ir.value):Promise.resolve(ir.value).then(hn,Xn);kn((Xe=Xe.apply(Me,He)).next())});function Le({onCancel:Me,callback:He}){let Xe=(0,he.useRef)(),st=(0,he.useRef)(),en=(0,he.useRef)(),hn=(0,he.useRef)(!1);const Xn=(0,he.useRef)(!1),[kn,ir]=(0,he.useState)(0);function Mr(){const Vn=mt.bx.make,Wr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Xe.current=new mt.S0(st.current,{padding:20,grid:Vn(mt.s_,"Grid",Vn(mt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Vn(mt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:na=>{var ya=na.diagram.commandHandler.addTopLevelParts(na.diagram.selection,!0);ya||na.diagram.currentTool.doCancel()},commandHandler:Vn(Ye),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:na=>{var ya=na.subject;ya.location=ya.location.copy().snapToGridPoint(na.diagram.grid.gridOrigin,na.diagram.grid.gridCellSize),setTimeout(()=>{na.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:na=>{var ya=na.subject;setTimeout(()=>{na.diagram.commandHandler.editTextBlock()})},LinkRelinked:na=>{var ya=na.parameter.part;ya.invalidateConnectedLinks();var Na=na.subject;na.diagram.toolManager.linkingTool.isForwards?Na.toNode.invalidateConnectedLinks():Na.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Xe.current.nodeTemplate=Vn(mt.NB,"Auto",{locationSpot:mt.z6.Center,locationObjectName:"SHAPE",desiredSize:new mt.$u(120,60),minSize:new mt.$u(40,40),resizable:!0,resizeCellSize:new mt.$u(10,10),rotatable:!0},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),new mt.KX("desiredSize","size",mt.$u.parse).makeTwoWay(mt.$u.stringify),Vn(mt.bn,{name:"SHAPE",fill:Wr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("figure"),new mt.KX("fill"),new mt.KX("stroke","borderColor"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Vn(mt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Vn(mt.al,{margin:1,textAlign:"center",overflow:mt.al.OverflowEllipsis,editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Xe.current.nodeTemplate.toolTip=Vn("ToolTip",Vn(mt.s_,"Vertical",{maxSize:new mt.$u(200,NaN)},Vn(mt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new mt.KX("text")),Vn(mt.al,{font:"10pt sans-serif",textAlign:"center"},new mt.KX("text","details"))));function Qr(na,ya){var Na=(pa,za)=>{pa.handled=!0,pa.diagram.model.commit(Hi=>{var bo=za.part.adornedPart,ni=new mt.E9().setRectSpot(bo.actualBounds,na);ni.subtract(bo.location),ni.scale(2,2),ni.x+=Math.sign(ni.x)*130,ni.y+=Math.sign(ni.y)*130,ni.add(bo.location),ni.snapToGridPoint(pa.diagram.grid.gridOrigin,pa.diagram.grid.gridCellSize);var Vi=Hi.copyNodeData(bo.data);Hi.setGroupKeyForNodeData(Vi,Hi.getGroupKeyForNodeData(bo.data)),Hi.addNodeData(Vi);var Zi={from:bo.key,to:Hi.getKeyForNodeData(Vi)};Hi.addLinkData(Zi);var jo=pa.diagram.findNodeForData(Vi);jo.location=ni,pa.diagram.select(jo),setTimeout(()=>{pa.diagram.commandHandler.editTextBlock()},20)})};return Vn(mt.bn,{figure:ya,alignment:na,alignmentFocus:na.opposite(),width:na.equals(mt.z6.Top)||na.equals(mt.z6.Bottom)?25:18,height:na.equals(mt.z6.Top)||na.equals(mt.z6.Bottom)?18:25,fill:"orange",stroke:Wr.white,strokeWidth:4,mouseEnter:(pa,za)=>za.fill="dodgerblue",mouseLeave:(pa,za)=>za.fill="orange",isActionable:!0,click:Na,contextClick:Na})}function jr(na){return Vn(mt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(ya,Na)=>Na.fill="dodgerblue",mouseLeave:(ya,Na)=>Na.fill="orange",click:(ya,Na)=>{ya.diagram.commandHandler.showContextMenu(Na.part.adornedPart)}},na||{})}Xe.current.nodeTemplate.selectionAdornmentTemplate=Vn(mt.uz,"Spot",Vn(mt.Vm,{padding:10}),Qr(mt.z6.Top,"TriangleUp"),Qr(mt.z6.Left,"TriangleLeft"),Qr(mt.z6.Right,"TriangleRight"),Qr(mt.z6.Bottom,"TriangleDown"),jr({alignment:new mt.z6(.75,0)}));function Br(na,ya){return(Na,pa)=>{Na.handled=!0,Na.diagram.model.commit(za=>{za.set(pa.part.adornedPart.data,na,ya)})}}function Zr(na,ya){return ya||(ya="color"),Vn(mt.bn,{width:16,height:16,stroke:"lightgray",fill:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.stroke="dodgerblue",mouseLeave:(Na,pa)=>pa.stroke="lightgray",click:Br(ya,na),contextClick:Br(ya,na)})}function ra(){return[Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.white,"fill"),Zr(Wr.beige,"fill"),Zr(Wr.extralightblue,"fill"),Zr(Wr.extralightred,"fill"))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.lightgray,"fill"),Zr(Wr.lightgreen,"fill"),Zr(Wr.lightblue,"fill"),Zr(Wr.lightred,"fill")))]}function La(){return[Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.black),Zr(Wr.green),Zr(Wr.blue),Zr(Wr.red))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.white),Zr(Wr.magenta),Zr(Wr.purple),Zr(Wr.orange)))]}function ti(na,ya){return ya||(ya="thickness"),Vn(mt.bn,"LineH",{width:16,height:16,strokeWidth:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:Br(ya,na),contextClick:Br(ya,na)})}function Pa(na,ya){return ya||(ya="dash"),Vn(mt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:Br(ya,na),contextClick:Br(ya,na)})}function ma(){return[Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",ti(1),ti(2),ti(3),ti(4))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Pa(null),Pa([2,4]),Pa([4,4])))]}function Va(na,ya){return ya||(ya="figure"),Vn(mt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.fill="dodgerblue",mouseLeave:(Na,pa)=>pa.fill="lightgray",click:Br(ya,na),contextClick:Br(ya,na)})}Xe.current.nodeTemplate.contextMenu=Vn("ContextMenu",Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Va("Rectangle"),Va("RoundedRectangle"),Va("Ellipse"),Va("Diamond"))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Va("Parallelogram2"),Va("ManualOperation"),Va("Procedure"),Va("Cylinder1"))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Va("Terminator"),Va("CreateRequest"),Va("Document"),Va("TriangleDown"))),ra(),La(),ma()),Xe.current.groupTemplate=Vn(mt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:mt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(na,ya)=>{var Na=ya.addMembers(ya.diagram.selection,!0);Na||ya.diagram.currentTool.doCancel()},avoidable:!1},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),Vn(mt.s_,"Auto",{name:"BODY"},Vn(mt.bn,{parameter1:10,fill:Wr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("fill"),new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Vn(mt.Vm,{background:"transparent",margin:20})),Vn(mt.al,{alignment:mt.z6.Top,alignmentFocus:mt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new mt.KX("text"),new mt.KX("stroke","color"))),Xe.current.groupTemplate.selectionAdornmentTemplate=Vn(mt.uz,"Spot",Vn(mt.s_,"Auto",Vn(mt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Vn(mt.Vm,{margin:1.5})),jr({alignment:mt.z6.TopRight,alignmentFocus:mt.z6.BottomRight})),Xe.current.groupTemplate.contextMenu=Vn("ContextMenu",ra(),La(),ma()),Xe.current.linkTemplate=Vn(mt.rU,{layerName:"Foreground",routing:mt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new mt.KX("fromSpot","fromSpot",mt.z6.parse),new mt.KX("toSpot","toSpot",mt.z6.parse),new mt.KX("fromShortLength","dir",na=>na>=1?10:0),new mt.KX("toShortLength","dir",na=>na>=1?10:0),new mt.KX("points").makeTwoWay(),Vn(mt.bn,{strokeWidth:2},new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Vn(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,0),segmentOrientation:mt.rU.OrientAlong,alignmentFocus:mt.z6.Right,figure:"circle",width:10,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",na=>na===1)),Vn(mt.bn,{segmentIndex:-1,segmentOffset:new mt.E9(-10,6),segmentOrientation:mt.rU.OrientPlus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",na=>na>=1),new mt.KX("width","thickness",na=>7+3*na),new mt.KX("height","thickness",na=>7+3*na),new mt.KX("segmentOffset","thickness",na=>new mt.E9(-15,4+1.5*na))),Vn(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,-6),segmentOrientation:mt.rU.OrientMinus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",na=>na===2),new mt.KX("width","thickness",na=>7+3*na),new mt.KX("height","thickness",na=>7+3*na),new mt.KX("segmentOffset","thickness",na=>new mt.E9(-15,4+1.5*na))),Vn(mt.al,{alignmentFocus:new mt.z6(0,1,-4,0),editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Xe.current.linkTemplate.selectionAdornmentTemplate=Vn(mt.uz,Vn(mt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:si(2)},new mt.KX("pathPattern","thickness",si)),jr({alignmentFocus:new mt.z6(0,0,-6,-4)}));function si(na){return Vn(mt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(na+4).toString()+" H3"})}function Ja(na){var ya="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return na===0?ya="M0 0 M16 16 M0 8 L16 8":na===2&&(ya="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Vn(mt.bn,{geometryString:ya,margin:2,background:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:Br("dir",na),contextClick:Br("dir",na)})}function mi(na){var ya=(Na,pa)=>{Na.handled=!0,Na.diagram.model.commit(za=>{var Hi=pa.part.adornedPart;za.set(Hi.data,na?"toSpot":"fromSpot",mt.z6.stringify(mt.z6.AllSides)),(na?Hi.toNode:Hi.fromNode).invalidateConnectedLinks()})};return Vn(mt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:ya,contextClick:ya})}function Rr(na,ya){var Na=0,pa=mt.z6.RightSide;na.equals(mt.z6.Top)?(Na=270,pa=mt.z6.TopSide):na.equals(mt.z6.Left)?(Na=180,pa=mt.z6.LeftSide):na.equals(mt.z6.Bottom)&&(Na=90,pa=mt.z6.BottomSide),ya||(Na-=180);var za=(Hi,bo)=>{Hi.handled=!0,Hi.diagram.model.commit(ni=>{var Vi=bo.part.adornedPart;ni.set(Vi.data,ya?"toSpot":"fromSpot",mt.z6.stringify(pa)),(ya?Vi.toNode:Vi.fromNode).invalidateConnectedLinks()})};return Vn(mt.bn,{alignment:na,alignmentFocus:na.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Na,background:"transparent",mouseEnter:(Hi,bo)=>bo.background="dodgerblue",mouseLeave:(Hi,bo)=>bo.background="transparent",click:za,contextClick:za})}Xe.current.linkTemplate.contextMenu=Vn("ContextMenu",La(),ma(),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Ja(0),Ja(1),Ja(2))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Vn(mt.s_,"Spot",mi(!1),Rr(mt.z6.Top,!1),Rr(mt.z6.Left,!1),Rr(mt.z6.Right,!1),Rr(mt.z6.Bottom,!1)),Vn(mt.s_,"Spot",{margin:new mt.Zt(0,0,0,2)},mi(!0),Rr(mt.z6.Top,!0),Rr(mt.z6.Left,!0),Rr(mt.z6.Right,!0),Rr(mt.z6.Bottom,!0)))));const Co=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],E=fe=>{a.current.setValue(a.current.getValue()+" "+fe.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ie.createElement(ce.Z,{className:se.Z.lists,gutter:[10,10]},y.map((fe,Ae)=>ie.createElement(b.Z,{flex:"110px",className:se.Z.item},ie.createElement("div",null,ie.createElement(re.Z,{value:`$$${fe.value}$$`}),fe.name),ie.createElement("div",{className:se.Z.children},fe.children.map((me,pe)=>ie.createElement("div",{key:pe},ie.createElement("h1",null,me.name),ie.createElement(ce.Z,{gutter:[10,10]},me.data.map((ve,Ee)=>ie.createElement(b.Z,{key:Ee,onClick:()=>E(ve),className:se.Z.diamond},ie.createElement(re.Z,{value:"`$$"+ve.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ie.createElement(ce.Z,{className:se.Z.lists,gutter:[10,10]},x.map((fe,Ae)=>ie.createElement(b.Z,{flex:"110px",className:se.Z.item},ie.createElement("div",null,ie.createElement(re.Z,{value:"`$$"+fe.value+"$$`"}),fe.name),ie.createElement("div",{className:se.Z.children},fe.children.map((me,pe)=>ie.createElement("div",{key:pe},me.name&&ie.createElement("h1",null,me.name),ie.createElement(ce.Z,{gutter:[10,10]},me.data.map((ve,Ee)=>ie.createElement(b.Z,{key:Ee,onClick:()=>E(ve),className:se.Z.diamond},ie.createElement(re.Z,{value:"`$$"+ve.value+"$$`"}))))))))))}],te=()=>{var fe=document.createElement("div");fe.innerHTML=a.current.getValue();var Ae=fe.innerText;return oe&&oe(Ae),Ae};return(0,he.useImperativeHandle)(z,()=>({getData:te})),ie.createElement("div",{className:se.Z.mathWrap},ie.createElement(ge.default,{defaultActiveKey:"1",items:ee}),ie.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),ue&&ie.createElement("div",{className:se.Z.button},ie.createElement(de.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ze.Z=le},57146:function(Jt,Ze,ye){"use strict";ye.d(Ze,{z:function(){return vt},Z:function(){return Ke}});var he=ye(59301),ce=ye(54580),b=ye(8591),ge=ye(43418),de=ye(3113),re=ye(74128),se=ye(80024),ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ue=(lt,Ft,Bt)=>Ft in lt?ae(lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):lt[Ft]=Bt,ne=(lt,Ft)=>{for(var Bt in Ft||(Ft={}))le.call(Ft,Bt)&&ue(lt,Bt,Ft[Bt]);if(ie)for(var Bt of ie(Ft))oe.call(Ft,Bt)&&ue(lt,Bt,Ft[Bt]);return lt},z=(lt,Ft,Bt)=>new Promise((kt,Et)=>{var it=Lt=>{try{Rt(Bt.next(Lt))}catch(Vt){Et(Vt)}},ct=Lt=>{try{Rt(Bt.throw(Lt))}catch(Vt){Et(Vt)}},Rt=Lt=>Lt.done?kt(Lt.value):Promise.resolve(Lt.value).then(it,ct);Rt((Bt=Bt.apply(lt,Ft)).next())});const a="\u3000\u3000";function y(lt){var Ft=["Bytes","KB","MB","GB","TB"];if(lt==0)return"0 Byte";var Bt=parseInt(""+Math.floor(Math.log(lt)/Math.log(1024)),10);return(lt/Math.pow(1024,Bt)).toFixed(1)+" "+Ft[Bt]}var x=({value:lt=[],action:Ft,onChange:Bt,className:kt,maxSize:Et=150,title:it="\u6587\u4EF6\u4E0A\u4F20",accept:ct=null})=>{const Rt={multiple:!1,fileList:lt,accept:ct,withCredentials:!0,beforeUpload:Vt=>Vt.size/1024/1024(_e.name.indexOf(a)===-1&&(_e.name=`${_e.name}${a}${y(_e.size)}`),ne({},_e))),Vt.file.status==="done"&&((ot=(mt=Vt.file)==null?void 0:mt.response)==null?void 0:ot.status)===-1){message.error((Nt=(Ye=Vt.file)==null?void 0:Ye.response)==null?void 0:Nt.message),Bt([]);return}Bt($e)},onRemove:Vt=>z(void 0,null,function*(){const mt=Vt.size/1024/1024;return Vt.status==="uploading"?!0:mt0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:lt.length>0,ghost:!0},it),React.createElement("span",{onClick:Lt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",Et,"M)"," ")))},E=ye(61481),ee=ye(89392),te=Object.defineProperty,fe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,pe=(lt,Ft,Bt)=>Ft in lt?te(lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):lt[Ft]=Bt,ve=(lt,Ft)=>{for(var Bt in Ft||(Ft={}))Ae.call(Ft,Bt)&&pe(lt,Bt,Ft[Bt]);if(fe)for(var Bt of fe(Ft))me.call(Ft,Bt)&&pe(lt,Bt,Ft[Bt]);return lt};const Ee=lt=>React.createElement("svg",ve({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},lt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ce="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",De=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ze=(lt,Ft,Bt)=>Ft in lt?De(lt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):lt[Ft]=Bt,Fe=(lt,Ft)=>{for(var Bt in Ft||(Ft={}))Qe.call(Ft,Bt)&&ze(lt,Bt,Ft[Bt]);if(Ie)for(var Bt of Ie(Ft))Te.call(Ft,Bt)&&ze(lt,Bt,Ft[Bt]);return lt},qe=(lt,Ft,Bt)=>new Promise((kt,Et)=>{var it=Lt=>{try{Rt(Bt.next(Lt))}catch(Vt){Et(Vt)}},ct=Lt=>{try{Rt(Bt.throw(Lt))}catch(Vt){Et(Vt)}},Rt=Lt=>Lt.done?kt(Lt.value):Promise.resolve(Lt.value).then(it,ct);Rt((Bt=Bt.apply(lt,Ft)).next())});const{Dragger:Je}=ce.default;function vt(lt){let Ft=[];return lt&<.length>0&&(Ft=lt.map(Bt=>({uid:Bt.id,id:Bt.id,name:Bt.title+a+Bt.filesize,url:Bt.url,filesize:Bt.filesize,status:"done",response:{id:Bt.id}}))),Ft}var Ke=({value:lt,onChange:Ft,action:Bt,data:kt,className:Et,maxSize:it=150,title:ct="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Rt=!1,accept:Lt="",additionalText:Vt,isDragger:mt,number:ot=1e3,aloneClear:Ye=!1,realTimeRemove:Nt=!0,uploadText:$e,setFileProgress:_e,showFileProgress:Ue})=>{const[Ve,We]=(0,he.useState)(!1);let[Le,je]=(0,he.useState)(lt||[]),[Oe,ut]=(0,he.useState)(1);(0,he.useEffect)(()=>{lt&&(Oe===1&&je([...lt]),ut(2),ot===(lt==null?void 0:lt.length)&&We(!0))},[lt]);const Ct=()=>{setTimeout(()=>{Le.pop(),je([...Le])},500)};Ue&&_e(Le.some(at=>at.status==="uploading"));const Mt={multiple:!0,disabled:Ve,accept:Lt,withCredentials:!0,fileList:Le,beforeUpload:(at,Zt)=>{const St=at.size/1024/1024;return Le.concat(Zt).length>ot?(Le.pop(),je([...Le]),b.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${ot}\u4E2A\u6587\u4EF6`),Ye?Promise.reject():(Ct(),!1)):St=ot?We(!0):We(!1),je([...Le]),Le=Le.map(Bn=>{var Rn,Ht;return(Rn=Bn==null?void 0:Bn.response)!=null&&Rn.id&&(Bn.url=(Ht=Bn==null?void 0:Bn.response)==null?void 0:Ht.url),Bn.name.indexOf(a)===-1&&(Bn.name=`${Bn.name}${a}${y(Bn.size)}`),Fe({},Bn)}),console.log("info:",at,Le),Ft(Le)},onRemove:at=>qe(void 0,null,function*(){if(!Nt)return!0;const Zt=()=>qe(void 0,null,function*(){if(at.response?at.response.id:at.id){let nn=yield(0,se.JZ)(at.response?at.response.id:at.uid);return Promise.resolve(nn)}else return!0});return Rt?new Promise((St,nn)=>{ge.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:he.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>qe(void 0,null,function*(){const fn=yield Zt();b.ZP.success("\u5220\u9664\u6210\u529F"),St(!0)}),onCancel:()=>St(!1)})}):yield Zt()})};function Tt(at){at.preventDefault(),at.stopPropagation()}return he.createElement("div",{className:`multi-upload ${Et||""}`},mt&&he.createElement(Je,Fe({},Mt),he.createElement("p",{className:"ant-upload-drag-icon"},he.createElement(E.Z,null)),he.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",he.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",it,"MB)"," "),Vt),!mt&&he.createElement(ce.default,Fe({},Mt),he.createElement(de.ZP,{disabled:Ve,className:"upload_button"},he.createElement("img",{className:"aBtn_img",src:Ce}),ct),he.createElement("span",{onClick:Tt,className:"upload_text"},$e||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${it}MB)`)))}},42678:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ge}});var he=ye(65582),ce={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},b=ye(59301),ge=({message:de,className:re,children:se,style:ae={}})=>b.createElement("div",{className:`custom-spinner ${ce.idsRingWrapper} ${re}`},b.createElement("div",{className:ce.ldsRing},b.createElement("div",null),b.createElement("div",null),b.createElement("div",null),b.createElement("div",null)),de?b.createElement("p",{style:ae},de):null,se,b.createElement(he.Outlet,null))},51908:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return re}});var he=ye(59301),ce={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},b=ye(92310),ge=ye.n(b),re=({className:se,style:ae={},leftNode:ie,leftTitle:le="\u81EA\u6D4B\u8F93\u5165",rightNode:oe,rightTitle:ue="\u8FD0\u884C\u7ED3\u679C"})=>he.createElement("div",{className:ge()(ce.result,se),style:ae},he.createElement("div",{className:ce.left},he.createElement("div",{className:ce.title},he.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,le)),he.createElement("div",{className:ce.leftNode},ie)),he.createElement("div",{className:ce.right},he.createElement("div",{className:ce.title},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),he.createElement("span",null,ue)),he.createElement("div",{className:ce.rightNode},oe)))},44080:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return a}});var he=ye(59301),ce=ye(8591),b=ye(38854),ge=ye(73217),de=ye(16471),re=ye(41867),se=ye(56102),ae=ye(84056),ie={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},le=(y,x,E)=>new Promise((ee,te)=>{var fe=pe=>{try{me(E.next(pe))}catch(ve){te(ve)}},Ae=pe=>{try{me(E.throw(pe))}catch(ve){te(ve)}},me=pe=>pe.done?ee(pe.value):Promise.resolve(pe.value).then(fe,Ae);me((E=E.apply(y,x)).next())});function oe(y){if(isNaN(y))return{minutes:"00",seconds:"00"};const x=new Date(y*1e3).toISOString().substr(11,8);return{hour:x.substr(0,2),minutes:x.substr(3,2),seconds:x.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function ue(y,x){return y-x}function ne(y){y.sort(ue);let x=0;for(let E=0;E{},handlePlay:pe=()=>{},handlePlayEnded:ve=()=>{},autoPlay:Ee=!1,onPlayEnded:Ce=()=>{},isShowWaterMark:De=!0},Ie)=>{var Qe;const ze=((Qe=x==null?void 0:x.split("."))==null?void 0:Qe.pop())==="flv",Fe=(0,he.useRef)(),qe=(0,he.useRef)(),Je=(0,he.useRef)(),vt=(0,he.useRef)(),Ke=(0,he.useRef)(),lt=(0,he.useRef)(),Ft=(0,he.useRef)(),Bt=(0,he.useRef)(),kt=(0,he.useRef)(),Et=(0,he.useRef)(),it=(0,he.useRef)(),ct=(0,he.useRef)(),Rt=(0,he.useRef)(),Lt=(0,he.useRef)(),Vt=navigator.userAgent.toLowerCase().match(z),mt=Vt?Vt[0]:"pc",ot=(0,he.useRef)(!1),Ye=(0,re.eY)();let Nt=0,$e=0,_e=0,Ue=null,Ve=!1,We=20,Le=1,je=!1,Oe=!1,ut=[];(0,he.useImperativeHandle)(Ie,()=>({getLastUpdatedTime:()=>Fe.current.currentTime,getDuration:()=>Fe.current.duration})),ce.ZP.config({maxCount:1,getContainer:()=>Je.current});const Ct=(0,he.useCallback)((fn,Bn=!1)=>{let Rn={point:Fe.current.currentTime};Ue?(Rn.log_id=Ue,Rn.watch_duration=ne(ut),Rn.total_duration=$e):(fe?(Rn.video_id=parseInt(ee,10),Rn.course_id=fe):Rn.video_id=ee,Rn.duration=Nt,Rn.device=mt),Bn&&(Rn.ed="1");function Ht(){return le(this,null,function*(){je=!0,Ue=yield te==null?void 0:te(Rn),je=!1,fn&&fn()})}Ht()},[ee,fe]);(0,he.useEffect)(()=>{Fe.current&&(vt.current.style.display="none",Ke.current.style.display="block"),ce.ZP.destroy();let fn=null;return ge.Z.isSupported&&ze&&x&&(x==null?void 0:x.indexOf(".m3u8"))<0?(fn=ge.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:x,muted:!1}),Fe.current&&(fn.attachMediaElement(Fe.current),fn.load())):Fe.current.setAttribute("src",x),Tt(),()=>{fn&&(fn.unload(),fn.pause(),fn.destroy(),fn=null)}},[Fe,ze,x]);function Mt(){Fe.current.paused?(vt.current.style.display="none",Ke.current.style.display="block"):(vt.current.style.display="block",Ke.current.style.display="none")}function Tt(){it.current.style.display="none",Rt.current.style.display="none",ct.current.style.display="none",Fe.current.muted||Fe.current.volume===0?it.current.style.display="block":Fe.current.volume>0&&Fe.current.volume<=.5?Rt.current.style.display="block":ct.current.style.display="block"}(0,he.useEffect)(()=>{const fn=document.getElementById("play"),Bn=document.querySelectorAll(".playback-icons use");function Rn(){pe(),Ae&&!ot.current&&(Fe.current.currentTime=Ae),ot.current=!0,ut.push(Fe.current.currentTime),Ve||(Ve=!0,E&&Ct())}function Ht(){return le(this,null,function*(){Mt(),ut.push(Fe.current.currentTime),E&&Ct(()=>{Ue=null,_e=0,Ve=!1,je=!1,Oe=!1,ut=[],$e=0,Le=1},!0),Ce()})}function Fn(){lt.current.value=Math.round(Fe.current.currentTime),Ft.current.value=Math.round(Fe.current.currentTime)}function mn(){const Qn=oe(Math.round(Fe.current.currentTime));kt.current.innerText=`${Qn.hour>0?Qn.hour+":":""}${Qn.minutes}:${Qn.seconds}`,kt.current.setAttribute("datetime",`${Qn.hour>0?" "+Qn.hour+" ":""}${Qn.minutes}m ${Qn.seconds}s`)}function Jn(){var Qn,tn,Ln,On,vr,Un,cr;const Ea=Math.round((Qn=Fe.current)==null?void 0:Qn.duration);(Ln=(tn=lt.current)==null?void 0:tn.setAttribute)==null||Ln.call(tn,"max",Ea),(vr=(On=Ft.current)==null?void 0:On.setAttribute)==null||vr.call(On,"max",Ea);const fa=oe(Ea);Bt.current&&(Bt.current.innerText=`${fa.hour>0?fa.hour+":":""}${fa.minutes}:${fa.seconds}`,(cr=(Un=Bt.current).setAttribute)==null||cr.call(Un,"datetime",`${fa.hour>0?" "+fa.hour+" ":""}${fa.minutes}m ${fa.seconds}s`))}function hr(){try{const Qn=Math.round(Fe.current.duration);lt.current.setAttribute("max",Qn),Ft.current.setAttribute("max",Qn);const tn=oe(Qn);Bt.current.innerText=`${tn.hour>0?tn.hour+":":""}${tn.minutes}:${tn.seconds}`,Bt.current.setAttribute("datetime",`${tn.hour>0?" "+tn.hour+" ":""}${tn.minutes}m ${tn.seconds}s`),Fn(),mn();const{width:Ln,height:On,x:vr,y:Un}=qe.current.getBoundingClientRect();if(vr<0||Un<0||!Ln)return;if(!Oe){let cr=Fe.current.currentTime,Ea=cr-_e;Math.abs(Ea)<10?($e+=Math.abs(Ea),_e=cr,je||$e-Le*We>=0&&(Le++,ut.push(_e),E&&Ct())):(_e=cr,E&&Ct())}}catch(Qn){console.log(Qn)}}function ar(){Oe=!0}function Sn(){Fe.current.playing&&ut.push(Fe.current.currentTime,_e),_e=Fe.current.currentTime,Oe=!1}function or(){Nt=Fe.current.duration,Nt<=20&&(We=Nt/3),Fe.current.addEventListener("play",Rn)}function rn(Qn){Qn.preventDefault(),(0,ae.vp)()?(Fe.current.style.width="100%",Fe.current.style.height="100%"):Fe.current.style.cssText=""}function Fr(){me()}function _r(Qn){if(!y){ce.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const tn=Qn.target.dataset.seek?Qn.target.dataset.seek:Qn.target.value;Fe.current.currentTime=tn,Ft.current.value=tn,lt.current.value=tn}function At(Qn){const tn=Math.round(Qn.offsetX/Qn.target.clientWidth*parseInt(Qn.target.getAttribute("max"),10));lt.current.setAttribute("data-seek",tn);const Ln=oe(tn);Et.current.textContent=`${Ln.hour>0?Ln.hour+":":""}${Ln.minutes}:${Ln.seconds}`;const On=Fe.current.getBoundingClientRect();Et.current.style.left=`${Qn.pageX-On.left}px`}function Wn(Qn){switch(Qn.code){case"Space":Qn.preventDefault(),St();break;case"ArrowRight":if(Qn.preventDefault(),!y){ce.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(Fe.current.currentTime>=Fe.current.duration)break;Fe.current.currentTime=parseInt(Fe.current.currentTime)+5,Fn();break;case"ArrowLeft":if(Qn.preventDefault(),!y){ce.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(Fe.current.currentTime===0)break;Fe.current.currentTime=parseInt(Fe.current.currentTime)-5,Fn();break;case"ArrowUp":Qn.preventDefault(),Fe.current.volume<1&&(Fe.current.volume=(parseInt(Fe.current.volume*10)+1)/10);break;case"ArrowDown":Qn.preventDefault(),Fe.current.volume>0&&(Fe.current.volume=(parseInt(Fe.current.volume*10)-1)/10);break}}return Je.current.addEventListener((0,ae.gH)(),rn),Fe.current.addEventListener("canplay",or),Fe.current.addEventListener("ended",Ht),Fe.current.addEventListener("seeking",ar),Fe.current.addEventListener("seeked",Sn),Fe.current.addEventListener("loadedmetadata",Jn),lt.current.addEventListener("mousemove",At),lt.current.addEventListener("input",_r),Fe.current.addEventListener("timeupdate",hr),Fe.current.addEventListener("pause",Fr),Fe.current.addEventListener("volumechange",Tt),document.addEventListener("keydown",Wn),()=>{var Qn,tn,Ln,On,vr,Un,cr,Ea,fa,Lr,da,br;(Qn=Fe.current)==null||Qn.removeEventListener("canplay",or),(tn=Fe.current)==null||tn.removeEventListener("play",Rn),(Ln=Fe.current)==null||Ln.removeEventListener("ended",Ht),(On=Fe.current)==null||On.removeEventListener("seeking",ar),(vr=Fe.current)==null||vr.removeEventListener("seeked",Sn),(Un=lt.current)==null||Un.removeEventListener("mousemove",At),(cr=lt.current)==null||cr.removeEventListener("input",_r),(Ea=Fe.current)==null||Ea.removeEventListener("timeupdate",hr),(fa=Fe.current)==null||fa.removeEventListener("pause",Fr),(Lr=Fe.current)==null||Lr.removeEventListener("loadedmetadata",Jn),(da=Fe.current)==null||da.removeEventListener("volumechange",Tt),document.removeEventListener("keydown",Wn),(br=Fe.current)!=null&&br.playing&&(ut.push(_e,Fe.current.currentTime),E&&Ct())}},[Fe,x]),(0,he.useEffect)(()=>{if(Fe.current.onended=()=>{ve(Fe)},Fe.current.oncontextmenu=()=>!1,(x==null?void 0:x.indexOf(".m3u8"))>-1){if(Fe.current.canPlayType("application/vnd.apple.mpegurl"))Fe.current.src=x;else if(de.ZP.isSupported()){var fn=new de.ZP;fn.loadSource(x),fn.attachMedia(Fe.current)}}},[x]);const[at,Zt]=(0,he.useState)(1),St=()=>{Fe.current.paused||Fe.current.ended?Fe.current.play():Fe.current.pause(),Mt()};function nn(){Fe.current.muted=!Fe.current.muted,Fe.current.muted?(Lt.current.setAttribute("data-volume",volume.value),Lt.current.value=0):Lt.current.value=Lt.current.dataset.volume}return he.createElement("div",{style:{position:"relative"},ref:Je},he.createElement("div",{ref:qe,className:`${ie.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${ie.animate__loop}`},De&&Ye?Ye.login:" "),he.createElement("div",{className:ie.container},he.createElement("div",{className:ie["video-container"],id:"video-container"},he.createElement("div",{className:ie["playback-animation"],id:"playback-animation"},he.createElement("svg",{className:ie["playback-icons"]},he.createElement("use",{className:"hidden",href:"#play-icon"}),he.createElement("use",{href:"#pause"}))),he.createElement("video",{className:ie.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:Fe,autoPlay:Ee}),he.createElement("div",{className:`${ie["video-controls"]} `,id:"video-controls"},he.createElement("div",{className:ie["bottom-controls"]},he.createElement("div",{className:ie["left-controls"]},he.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:St},he.createElement("svg",{className:ie["playback-icons"]},he.createElement("use",{ref:Ke,href:"#play-icon"}),he.createElement("use",{ref:vt,style:{display:"none"},href:"#pause"}))),he.createElement("div",{className:ie.time},he.createElement("time",{id:"time-elapsed",ref:kt},"00:00"),he.createElement("span",null," / "),he.createElement("time",{id:"duration",ref:Bt},"00:00"))),he.createElement("div",{className:ie["right-controls"]},y&&he.createElement(b.Z,{placement:"top",overlayClassName:ie.rateOverlay,getPopupContainer:fn=>fn.parentNode,menu:{items:[{key:"1",label:he.createElement("span",{onClick:()=>{Zt(1),Fe.current.playbackRate=1}},"1.0x")},{key:"2",label:he.createElement("span",{onClick:()=>{Zt(1.5),Fe.current.playbackRate=1.5}},"1.5x")},{key:"3",label:he.createElement("span",{onClick:()=>{Zt(2),Fe.current.playbackRate=2}},"2.0x")}]}},he.createElement("div",{className:`${ie.controlText} mr5`},"\u500D\u901F")),he.createElement(se.CopyToClipboard,{text:x,onCopy:()=>ce.ZP.success("\u590D\u5236\u6210\u529F")},he.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},he.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),he.createElement("div",{className:ie["volume-controls"]},he.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:ie["volume-button"],id:"volume-button",onClick:nn},he.createElement("i",{ref:it,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),he.createElement("i",{ref:Rt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),he.createElement("i",{ref:ct,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),he.createElement("input",{className:ie.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Lt,style:{display:"none"},onClick:Tt})),he.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:ie["fullscreen-button"],onClick:()=>{(0,ae.vp)()?(0,ae.BU)():(0,ae.Dj)(Je.current)}},he.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),he.createElement("div",{className:ie["video-progress"]},he.createElement("progress",{ref:Ft,value:"0",min:"0"}),he.createElement("input",{className:ie.seek,ref:lt,value:"0",min:"0",type:"range",step:"1"}),he.createElement("div",{className:ie["seek-tooltip"],ref:Et,id:"seek-tooltip"},"00:00"))))),he.createElement("svg",{style:{display:"none"}},he.createElement("defs",null,he.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},he.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),he.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},he.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),he.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},he.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),he.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},he.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),he.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},he.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),he.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},he.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),he.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},he.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),he.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},he.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},30214:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ge}});var he=ye(59301),ce=ye(77254),b=ye(11611),ge=()=>{const[de,re]=(0,he.useState)(""),[se,ae]=(0,he.useState)(0);let[ie,le]=(0,he.useState)(),[oe,ue]=(0,he.useState)();const[ne,z]=(0,he.useState)(!1),a=(0,he.useRef)("");(0,he.useEffect)(()=>ce.Z.subscribe("preview-image",Ee=>{re(Ee),console.log(me.current),document.body.style.overflow="hidden"}),[]),(0,he.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,he.useEffect)(()=>{a.current=de},[de]);function y(ve){ve.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",le(void 0),ue(void 0),ae(0),re("")}function E(){ae(se+90)}function ee(){ie=me.current.width*1.1,oe=me.current.height*1.1,ue(oe),le(ie)}function te(){ie=me.current.width/1.1,oe=me.current.height/1.1,ue(oe),le(ie)}const fe=(0,he.useRef)(),Ae=(0,he.useRef)(),me=(0,he.useRef)(),pe=ve=>{(ve.nativeEvent.target===fe.current||ve.nativeEvent.target===Ae.current)&&x()};return he.createElement(he.Fragment,null,de?he.createElement("div",null,he.createElement("div",{className:"preview-wrp-group",ref:Ae},he.createElement(b.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,movable:!1,onVisibleChange:ve=>{re("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(Jt,Ze,ye){"use strict";ye.d(Ze,{h:function(){return fe}});var he=ye(59301),ce=ye(57809),b=ye(78241),ge=ye(3113),de=ye(89780),re=ye.n(de),se=ye(45559),ae=ye(42313),ie=Object.defineProperty,le=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(Ae,me,pe)=>me in Ae?ie(Ae,me,{enumerable:!0,configurable:!0,writable:!0,value:pe}):Ae[me]=pe,y=(Ae,me)=>{for(var pe in me||(me={}))ne.call(me,pe)&&a(Ae,pe,me[pe]);if(ue)for(var pe of ue(me))z.call(me,pe)&&a(Ae,pe,me[pe]);return Ae},x=(Ae,me)=>le(Ae,oe(me));const E=ce.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ze.Z=({callback:Ae,onCancel:me})=>{const[pe,ve]=(0,he.useState)("python");function Ee(De){ve(te[De][1])}function Ce(De){Ae(De)}return he.createElement(b.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ce,style:{width:500}}),he.createElement(b.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(ce.default,{getPopupContainer:De=>De.parentNode,onChange:Ee},Object.keys(te).map(De=>he.createElement(E,{key:De,value:De},te[De][0])))),he.createElement(b.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(fe,{mode:pe})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(ge.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function fe({value:Ae,onChange:me,mode:pe,options:ve={}}){const Ee=(0,he.useRef)(),[Ce,De]=(0,he.useState)();return(0,he.useEffect)(()=>{if(Ce){let Ie=function(Qe){const Te=Qe.getValue();me&&me(Te)};return Ce.on("change",Ie),()=>{Ce.off("change",Ie)}}},[Ce,me]),(0,he.useEffect)(()=>{Ce&&Ce.setOption("mode",pe)},[Ce,pe]),(0,he.useEffect)(()=>{Ce&&(Ae!==Ce.getValue()||Ae==="")&&setTimeout(()=>{Ce.setValue(Ae||"")},300)},[Ce,Ae]),(0,he.useEffect)(()=>{if(Ee.current&&!Ce){const Ie=re().fromTextArea(Ee.current,y({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ve));De(Ie)}},[Ee.current,Ce]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:Ee}))}},96565:function(Jt,Ze,ye){"use strict";ye.d(Ze,{Z:function(){return ke}});var he=ye(59301),ce=ye(89780),b=ye.n(ce),ge=ye(76374),de=ye(45559),re=ye(6313),se=ye(25717),ae=ye(99498),ie=ye(25419),le=ye(67549),oe=ye(6339),ue=({value:Me="",className:He,showTextOnly:Xe,showLines:st,style:en={}})=>{const hn=(0,he.useMemo)(()=>"",[Me]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:hn}}))},ne=ye(59301),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(Me,He,Xe)=>He in Me?z(Me,He,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Me[He]=Xe,fe=(Me,He)=>{for(var Xe in He||(He={}))E.call(He,Xe)&&te(Me,Xe,He[Xe]);if(x)for(var Xe of x(He))ee.call(He,Xe)&&te(Me,Xe,He[Xe]);return Me},Ae=(Me,He)=>a(Me,y(He));let me=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function pe({onActionCallback:Me,title:He,icon:Xe,actionName:st,className:en="",children:hn}){function Xn(){Me(st)}return ne.createElement("a",{title:He,className:en,onClick:Xn},ne.createElement("i",{className:`${Xe}`}),hn)}var ve=({watch:Me,showNullButton:He,showNullProgramButton:Xe,onActionCallback:st,fullScreen:en,insertTemp:hn,hidetoolBar:Xn,extraUse:kn})=>{const ir=[...me,{title:`${Me?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Me?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Xn&&ir.map((Mr,Dr)=>ne.createElement("li",{key:Dr},Mr.actionName?ne.createElement(pe,Ae(fe({},Mr),{onActionCallback:st})):ne.createElement("span",{className:"v-line"}))),He?ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Xe?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,hn&&ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${hn}`,onActionCallback:st},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kn&&ne.createElement("li",null,kn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(pe,{icon:`${en?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:en?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:st})))},Ee=ye(57261),Ce=ye(78241),De=ye(92832),Ie=ye(3113),Qe=Object.defineProperty,Te=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,vt=(Me,He,Xe)=>He in Me?Qe(Me,He,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Me[He]=Xe,Ke=(Me,He)=>{for(var Xe in He||(He={}))qe.call(He,Xe)&&vt(Me,Xe,He[Xe]);if(Fe)for(var Xe of Fe(He))Je.call(He,Xe)&&vt(Me,Xe,He[Xe]);return Me},lt=(Me,He)=>Te(Me,ze(He));const Ft={labelCol:{span:4},wrapperCol:{span:20}};var Bt=({callback:Me,onCancel:He})=>{function Xe(st){Me(st)}return he.createElement(Ce.default,lt(Ke({},Ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Xe,style:{width:500}}),he.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},he.createElement(De.default,null)),he.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},he.createElement(De.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Ie.ZP,{type:"ghost",onClick:He},"\u53D6\u6D88")))},kt=ye(85533),Et=ye(45053),it=ye(43418),ct=ye(95237),Rt=ye(16750),Lt=ye(59301),Vt=({callback:Me,onCancel:He})=>{const Xe=document.createElement("canvas"),st=Xe.getContext("2d");Xe.width=1e3,Xe.height=800,st.fillStyle="#ffffff",st.fillRect(0,0,Xe.width,Xe.height);const en=Xe.toDataURL("image/png");return Lt.createElement(it.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Lt.createElement(ct.Z,{style:{height:"100vh"}},Lt.createElement(Rt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:en,visible:!0,title:String(Date.now())},onOk:hn=>{Me({src:hn.url})},onClose:He})))},mt=ye(12378);function ot(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ot,go.CommandHandler),ot.prototype.canAlignSelection=function(){var Me=this.diagram;return!(Me===null||Me.isReadOnly||Me.isModelReadOnly||Me.selection.count<2)},ot.prototype.alignLeft=function(){var Me=this.diagram;Me.startTransaction("aligning left");var He=1/0;Me.selection.each(function(Xe){Xe instanceof go.Link||(He=Math.min(Xe.position.x,He))}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(He,Xe.position.y))}),Me.commitTransaction("aligning left")},ot.prototype.alignRight=function(){var Me=this.diagram;Me.startTransaction("aligning right");var He=-1/0;Me.selection.each(function(Xe){if(!(Xe instanceof go.Link)){var st=Xe.actualBounds.x+Xe.actualBounds.width;He=Math.max(st,He)}}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(He-Xe.actualBounds.width,Xe.position.y))}),Me.commitTransaction("aligning right")},ot.prototype.alignTop=function(){var Me=this.diagram;Me.startTransaction("alignTop");var He=1/0;Me.selection.each(function(Xe){Xe instanceof go.Link||(He=Math.min(Xe.position.y,He))}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(Xe.position.x,He))}),Me.commitTransaction("alignTop")},ot.prototype.alignBottom=function(){var Me=this.diagram;Me.startTransaction("aligning bottom");var He=-1/0;Me.selection.each(function(Xe){if(!(Xe instanceof go.Link)){var st=Xe.actualBounds.y+Xe.actualBounds.height;He=Math.max(st,He)}}),Me.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(Xe.actualBounds.x,He-Xe.actualBounds.height))}),Me.commitTransaction("aligning bottom")},ot.prototype.alignCenterX=function(){var Me=this.diagram,He=Me.selection.first();if(He){Me.startTransaction("aligning Center X");var Xe=He.actualBounds.x+He.actualBounds.width/2;Me.selection.each(function(st){st instanceof go.Link||st.move(new go.Point(Xe-st.actualBounds.width/2,st.actualBounds.y))}),Me.commitTransaction("aligning Center X")}},ot.prototype.alignCenterY=function(){var Me=this.diagram,He=Me.selection.first();if(He){Me.startTransaction("aligning Center Y");var Xe=He.actualBounds.y+He.actualBounds.height/2;Me.selection.each(function(st){st instanceof go.Link||st.move(new go.Point(st.actualBounds.x,Xe-st.actualBounds.height/2))}),Me.commitTransaction("aligning Center Y")}},ot.prototype.alignColumn=function(Me){var He=this.diagram;He.startTransaction("align Column"),Me===void 0&&(Me=0),Me=parseFloat(Me);var Xe=new Array;He.selection.each(function(kn){kn instanceof go.Link||Xe.push(kn)});for(var st=0;st0){for(var kn=hn.elt(Xn-1);kn!==null&&kn.isTreeExpanded&&!kn.isTreeLeaf;){var ir=this._sortTreeChildrenByY(kn);kn=ir.last()}kn!==null&&Me.select(kn)}else Me.select(en)}}else if(Xe.key==="Down")if(He.isTreeExpanded&&!He.isTreeLeaf){var st=this._sortTreeChildrenByY(He).first();st!==null&&Me.select(st)}else for(;He!==null;){var en=He.findTreeParentNode();if(en===null)break;var hn=this._sortTreeChildrenByY(en),Xn=hn.indexOf(He);if(Xnhn.y?1:en.xhn.x?1:0}),He},ot.prototype.copyToClipboard=function(Me){go.CommandHandler.prototype.copyToClipboard.call(this,Me),this._lastPasteOffset.set(this.pasteOffset)},ot.prototype.pasteFromClipboard=function(){var Me=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Me,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Me},Object.defineProperty(ot.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Me){if(Me!=="move"&&Me!=="select"&&Me!=="scroll"&&Me!=="tree"&&Me!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Me);this._arrowKeyBehavior=Me}}),Object.defineProperty(ot.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Me){if(!(Me instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Me);this._pasteOffset.set(Me)}});var Ye=ot,Nt=ye(25863),$e=ye(43604),_e=ye(38147),Ue={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ve=ye(59301),We=(Me,He,Xe)=>new Promise((st,en)=>{var hn=ir=>{try{kn(Xe.next(ir))}catch(Mr){en(Mr)}},Xn=ir=>{try{kn(Xe.throw(ir))}catch(Mr){en(Mr)}},kn=ir=>ir.done?st(ir.value):Promise.resolve(ir.value).then(hn,Xn);kn((Xe=Xe.apply(Me,He)).next())});function Le({onCancel:Me,callback:He}){let Xe=(0,he.useRef)(),st=(0,he.useRef)(),en=(0,he.useRef)(),hn=(0,he.useRef)(!1);const Xn=(0,he.useRef)(!1),[kn,ir]=(0,he.useState)(0);function Mr(){const Vn=mt.bx.make,Wr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Xe.current=new mt.S0(st.current,{padding:20,grid:Vn(mt.s_,"Grid",Vn(mt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Vn(mt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:na=>{var ya=na.diagram.commandHandler.addTopLevelParts(na.diagram.selection,!0);ya||na.diagram.currentTool.doCancel()},commandHandler:Vn(Ye),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:na=>{var ya=na.subject;ya.location=ya.location.copy().snapToGridPoint(na.diagram.grid.gridOrigin,na.diagram.grid.gridCellSize),setTimeout(()=>{na.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:na=>{var ya=na.subject;setTimeout(()=>{na.diagram.commandHandler.editTextBlock()})},LinkRelinked:na=>{var ya=na.parameter.part;ya.invalidateConnectedLinks();var Na=na.subject;na.diagram.toolManager.linkingTool.isForwards?Na.toNode.invalidateConnectedLinks():Na.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Xe.current.nodeTemplate=Vn(mt.NB,"Auto",{locationSpot:mt.z6.Center,locationObjectName:"SHAPE",desiredSize:new mt.$u(120,60),minSize:new mt.$u(40,40),resizable:!0,resizeCellSize:new mt.$u(10,10),rotatable:!0},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),new mt.KX("desiredSize","size",mt.$u.parse).makeTwoWay(mt.$u.stringify),Vn(mt.bn,{name:"SHAPE",fill:Wr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("figure"),new mt.KX("fill"),new mt.KX("stroke","borderColor"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Vn(mt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Vn(mt.al,{margin:1,textAlign:"center",overflow:mt.al.OverflowEllipsis,editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Xe.current.nodeTemplate.toolTip=Vn("ToolTip",Vn(mt.s_,"Vertical",{maxSize:new mt.$u(200,NaN)},Vn(mt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new mt.KX("text")),Vn(mt.al,{font:"10pt sans-serif",textAlign:"center"},new mt.KX("text","details"))));function Qr(na,ya){var Na=(pa,za)=>{pa.handled=!0,pa.diagram.model.commit(Hi=>{var bo=za.part.adornedPart,ni=new mt.E9().setRectSpot(bo.actualBounds,na);ni.subtract(bo.location),ni.scale(2,2),ni.x+=Math.sign(ni.x)*130,ni.y+=Math.sign(ni.y)*130,ni.add(bo.location),ni.snapToGridPoint(pa.diagram.grid.gridOrigin,pa.diagram.grid.gridCellSize);var Vi=Hi.copyNodeData(bo.data);Hi.setGroupKeyForNodeData(Vi,Hi.getGroupKeyForNodeData(bo.data)),Hi.addNodeData(Vi);var Zi={from:bo.key,to:Hi.getKeyForNodeData(Vi)};Hi.addLinkData(Zi);var jo=pa.diagram.findNodeForData(Vi);jo.location=ni,pa.diagram.select(jo),setTimeout(()=>{pa.diagram.commandHandler.editTextBlock()},20)})};return Vn(mt.bn,{figure:ya,alignment:na,alignmentFocus:na.opposite(),width:na.equals(mt.z6.Top)||na.equals(mt.z6.Bottom)?25:18,height:na.equals(mt.z6.Top)||na.equals(mt.z6.Bottom)?18:25,fill:"orange",stroke:Wr.white,strokeWidth:4,mouseEnter:(pa,za)=>za.fill="dodgerblue",mouseLeave:(pa,za)=>za.fill="orange",isActionable:!0,click:Na,contextClick:Na})}function jr(na){return Vn(mt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(ya,Na)=>Na.fill="dodgerblue",mouseLeave:(ya,Na)=>Na.fill="orange",click:(ya,Na)=>{ya.diagram.commandHandler.showContextMenu(Na.part.adornedPart)}},na||{})}Xe.current.nodeTemplate.selectionAdornmentTemplate=Vn(mt.uz,"Spot",Vn(mt.Vm,{padding:10}),Qr(mt.z6.Top,"TriangleUp"),Qr(mt.z6.Left,"TriangleLeft"),Qr(mt.z6.Right,"TriangleRight"),Qr(mt.z6.Bottom,"TriangleDown"),jr({alignment:new mt.z6(.75,0)}));function Br(na,ya){return(Na,pa)=>{Na.handled=!0,Na.diagram.model.commit(za=>{za.set(pa.part.adornedPart.data,na,ya)})}}function Zr(na,ya){return ya||(ya="color"),Vn(mt.bn,{width:16,height:16,stroke:"lightgray",fill:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.stroke="dodgerblue",mouseLeave:(Na,pa)=>pa.stroke="lightgray",click:Br(ya,na),contextClick:Br(ya,na)})}function ra(){return[Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.white,"fill"),Zr(Wr.beige,"fill"),Zr(Wr.extralightblue,"fill"),Zr(Wr.extralightred,"fill"))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.lightgray,"fill"),Zr(Wr.lightgreen,"fill"),Zr(Wr.lightblue,"fill"),Zr(Wr.lightred,"fill")))]}function La(){return[Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.black),Zr(Wr.green),Zr(Wr.blue),Zr(Wr.red))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Zr(Wr.white),Zr(Wr.magenta),Zr(Wr.purple),Zr(Wr.orange)))]}function ti(na,ya){return ya||(ya="thickness"),Vn(mt.bn,"LineH",{width:16,height:16,strokeWidth:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:Br(ya,na),contextClick:Br(ya,na)})}function Pa(na,ya){return ya||(ya="dash"),Vn(mt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:Br(ya,na),contextClick:Br(ya,na)})}function ma(){return[Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",ti(1),ti(2),ti(3),ti(4))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Pa(null),Pa([2,4]),Pa([4,4])))]}function Va(na,ya){return ya||(ya="figure"),Vn(mt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:na,margin:1,background:"transparent",mouseEnter:(Na,pa)=>pa.fill="dodgerblue",mouseLeave:(Na,pa)=>pa.fill="lightgray",click:Br(ya,na),contextClick:Br(ya,na)})}Xe.current.nodeTemplate.contextMenu=Vn("ContextMenu",Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Va("Rectangle"),Va("RoundedRectangle"),Va("Ellipse"),Va("Diamond"))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Va("Parallelogram2"),Va("ManualOperation"),Va("Procedure"),Va("Cylinder1"))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Va("Terminator"),Va("CreateRequest"),Va("Document"),Va("TriangleDown"))),ra(),La(),ma()),Xe.current.groupTemplate=Vn(mt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:mt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(na,ya)=>{var Na=ya.addMembers(ya.diagram.selection,!0);Na||ya.diagram.currentTool.doCancel()},avoidable:!1},new mt.KX("location","loc",mt.E9.parse).makeTwoWay(mt.E9.stringify),Vn(mt.s_,"Auto",{name:"BODY"},Vn(mt.bn,{parameter1:10,fill:Wr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:mt.z6.AllSides,toSpot:mt.z6.AllSides},new mt.KX("fill"),new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Vn(mt.Vm,{background:"transparent",margin:20})),Vn(mt.al,{alignment:mt.z6.Top,alignmentFocus:mt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new mt.KX("text"),new mt.KX("stroke","color"))),Xe.current.groupTemplate.selectionAdornmentTemplate=Vn(mt.uz,"Spot",Vn(mt.s_,"Auto",Vn(mt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Vn(mt.Vm,{margin:1.5})),jr({alignment:mt.z6.TopRight,alignmentFocus:mt.z6.BottomRight})),Xe.current.groupTemplate.contextMenu=Vn("ContextMenu",ra(),La(),ma()),Xe.current.linkTemplate=Vn(mt.rU,{layerName:"Foreground",routing:mt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new mt.KX("fromSpot","fromSpot",mt.z6.parse),new mt.KX("toSpot","toSpot",mt.z6.parse),new mt.KX("fromShortLength","dir",na=>na>=1?10:0),new mt.KX("toShortLength","dir",na=>na>=1?10:0),new mt.KX("points").makeTwoWay(),Vn(mt.bn,{strokeWidth:2},new mt.KX("stroke","color"),new mt.KX("strokeWidth","thickness"),new mt.KX("strokeDashArray","dash")),Vn(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,0),segmentOrientation:mt.rU.OrientAlong,alignmentFocus:mt.z6.Right,figure:"circle",width:10,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",na=>na===1)),Vn(mt.bn,{segmentIndex:-1,segmentOffset:new mt.E9(-10,6),segmentOrientation:mt.rU.OrientPlus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",na=>na>=1),new mt.KX("width","thickness",na=>7+3*na),new mt.KX("height","thickness",na=>7+3*na),new mt.KX("segmentOffset","thickness",na=>new mt.E9(-15,4+1.5*na))),Vn(mt.bn,{segmentIndex:0,segmentOffset:new mt.E9(15,-6),segmentOrientation:mt.rU.OrientMinus90,alignmentFocus:mt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new mt.KX("fill","color"),new mt.KX("visible","dir",na=>na===2),new mt.KX("width","thickness",na=>7+3*na),new mt.KX("height","thickness",na=>7+3*na),new mt.KX("segmentOffset","thickness",na=>new mt.E9(-15,4+1.5*na))),Vn(mt.al,{alignmentFocus:new mt.z6(0,1,-4,0),editable:!0},new mt.KX("text").makeTwoWay(),new mt.KX("stroke","color"))),Xe.current.linkTemplate.selectionAdornmentTemplate=Vn(mt.uz,Vn(mt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:si(2)},new mt.KX("pathPattern","thickness",si)),jr({alignmentFocus:new mt.z6(0,0,-6,-4)}));function si(na){return Vn(mt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(na+4).toString()+" H3"})}function Ja(na){var ya="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return na===0?ya="M0 0 M16 16 M0 8 L16 8":na===2&&(ya="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Vn(mt.bn,{geometryString:ya,margin:2,background:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:Br("dir",na),contextClick:Br("dir",na)})}function mi(na){var ya=(Na,pa)=>{Na.handled=!0,Na.diagram.model.commit(za=>{var Hi=pa.part.adornedPart;za.set(Hi.data,na?"toSpot":"fromSpot",mt.z6.stringify(mt.z6.AllSides)),(na?Hi.toNode:Hi.fromNode).invalidateConnectedLinks()})};return Vn(mt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Na,pa)=>pa.background="dodgerblue",mouseLeave:(Na,pa)=>pa.background="transparent",click:ya,contextClick:ya})}function Rr(na,ya){var Na=0,pa=mt.z6.RightSide;na.equals(mt.z6.Top)?(Na=270,pa=mt.z6.TopSide):na.equals(mt.z6.Left)?(Na=180,pa=mt.z6.LeftSide):na.equals(mt.z6.Bottom)&&(Na=90,pa=mt.z6.BottomSide),ya||(Na-=180);var za=(Hi,bo)=>{Hi.handled=!0,Hi.diagram.model.commit(ni=>{var Vi=bo.part.adornedPart;ni.set(Vi.data,ya?"toSpot":"fromSpot",mt.z6.stringify(pa)),(ya?Vi.toNode:Vi.fromNode).invalidateConnectedLinks()})};return Vn(mt.bn,{alignment:na,alignmentFocus:na.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Na,background:"transparent",mouseEnter:(Hi,bo)=>bo.background="dodgerblue",mouseLeave:(Hi,bo)=>bo.background="transparent",click:za,contextClick:za})}Xe.current.linkTemplate.contextMenu=Vn("ContextMenu",La(),ma(),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Ja(0),Ja(1),Ja(2))),Vn("ContextMenuButton",Vn(mt.s_,"Horizontal",Vn(mt.s_,"Spot",mi(!1),Rr(mt.z6.Top,!1),Rr(mt.z6.Left,!1),Rr(mt.z6.Right,!1),Rr(mt.z6.Bottom,!1)),Vn(mt.s_,"Spot",{margin:new mt.Zt(0,0,0,2)},mi(!0),Rr(mt.z6.Top,!0),Rr(mt.z6.Left,!0),Rr(mt.z6.Right,!0),Rr(mt.z6.Bottom,!0)))));const Co=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, @@ -649,9 +649,9 @@ headers: `+JSON.stringify(Fn),fn.data=Bn,fn.path=Ke.path,fn.status=Ye,fn.headers `),b.Debug("Sent ProtocolVersion: "+nn),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function at(nn,fn){for(var Bn=0;Bn=3.7){var Zt=this._sock.rQshift8();if(this._sock.rQwait("security type",Zt,1))return!1;if(Zt===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var St=this._sock.rQshiftBytes(Zt);if(b.Debug("Server security types: "+St),at(1,St))this._rfbAuthScheme=1;else if(at(22,St))this._rfbAuthScheme=22;else if(at(16,St))this._rfbAuthScheme=16;else if(at(2,St))this._rfbAuthScheme=2;else if(at(19,St))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+St+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",b.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var at=this._sock.rQshift32(),Zt="";if(at>0){if(this._sock.rQwait("reason",at,4))return!1;Zt=this._sock.rQshiftStr(at)}return Zt!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:Zt}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+Zt+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var at=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(at),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var at=this._sock.rQshift8(),Zt=this._sock.rQshift8();if(!(at==0&&Zt==2))return this._fail("Unsupported VeNCrypt version "+at+"."+Zt);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var St=this._sock.rQshift8();if(St!=0)return this._fail("VeNCrypt failure "+St);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var nn=this._sock.rQshift8();if(nn<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=nn,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var fn=[],Bn=0;Bn0&&this._sock.rQwait("tunnel capabilities",16*at,4))return!1;if(this._rfbTightVNC=!0,at>0)return this._negotiateTightTunnels(at),!1}if(this._sock.rQwait("sub auth count",4))return!1;var Zt=this._sock.rQshift32();if(Zt===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*Zt,4))return!1;for(var St={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},nn=[],fn=0;fn=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var at=this._sock.rQshift32();return at===0?(this._rfbInitState="ClientInitialisation",b.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=at,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:at}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var at=this._sock.rQshift16(),Zt=this._sock.rQshift16(),St=this._sock.rQshift8(),nn=this._sock.rQshift8(),fn=this._sock.rQshift8(),Bn=this._sock.rQshift8(),Rn=this._sock.rQshift16(),Ht=this._sock.rQshift16(),Fn=this._sock.rQshift16(),mn=this._sock.rQshift8(),Jn=this._sock.rQshift8(),hr=this._sock.rQshift8();this._sock.rQskipBytes(3);var ar=this._sock.rQshift32();if(this._sock.rQwait("server init name",ar,24))return!1;var Sn=this._sock.rQshiftStr(ar);if(Sn=(0,ge.decodeUTF8)(Sn,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+ar))return!1;var or=this._sock.rQshift16(),rn=this._sock.rQshift16(),Fr=this._sock.rQshift16();this._sock.rQskipBytes(2);var _r=(or+rn+Fr)*16;if(this._sock.rQwait("TightVNC extended server init header",_r,32+ar))return!1;this._sock.rQskipBytes(16*or),this._sock.rQskipBytes(16*rn),this._sock.rQskipBytes(16*Fr)}return b.Info("Screen: "+at+"x"+Zt+", bpp: "+St+", depth: "+nn+", bigEndian: "+fn+", trueColor: "+Bn+", redMax: "+Rn+", greenMax: "+Ht+", blueMax: "+Fn+", redShift: "+mn+", greenShift: "+Jn+", blueShift: "+hr),this._setDesktopName(Sn),this._resize(at,Zt),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(b.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Mt.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Mt.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var at=[];at.push(ee.encodings.encodingCopyRect),this._fbDepth==24&&(at.push(ee.encodings.encodingTight),at.push(ee.encodings.encodingTightPNG),at.push(ee.encodings.encodingHextile),at.push(ee.encodings.encodingRRE)),at.push(ee.encodings.encodingRaw),at.push(ee.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),at.push(ee.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),at.push(ee.encodings.pseudoEncodingDesktopSize),at.push(ee.encodings.pseudoEncodingLastRect),at.push(ee.encodings.pseudoEncodingQEMUExtendedKeyEvent),at.push(ee.encodings.pseudoEncodingExtendedDesktopSize),at.push(ee.encodings.pseudoEncodingXvp),at.push(ee.encodings.pseudoEncodingFence),at.push(ee.encodings.pseudoEncodingContinuousUpdates),at.push(ee.encodings.pseudoEncodingDesktopName),at.push(ee.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(at.push(ee.encodings.pseudoEncodingVMwareCursor),at.push(ee.encodings.pseudoEncodingCursor)),Mt.messages.clientEncodings(this._sock,at)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return b.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(b.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var at=this._sock.rQshift32();if(at=(0,ce.toSigned32bit)(at),this._sock.rQwait("ServerCutText content",Math.abs(at),8))return!1;if(at>=0){var Zt=this._sock.rQshiftStr(at);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Zt}}))}else{at=Math.abs(at);var St=this._sock.rQshift32(),nn=St&65535,fn=St&4278190080,Bn=!!(fn&Ue);if(Bn){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Rn=0;Rn<=15;Rn++){var Ht=1<0&&Sn.charAt(Sn.length-1)==="\0"&&(Sn=Sn.slice(0,-1)),Sn=Sn.replace(`\r `,` `),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Sn}}))}}else return this._fail("Unexpected action in extended clipboard message: "+fn)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var at=this._sock.rQshift32(),Zt=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",Zt,9))return!1;Zt>64&&(b.Warn("Bad payload length ("+Zt+") in fence response"),Zt=64);var St=this._sock.rQshiftStr(Zt);return this._supportsFence=!0,at&1<<31?(at&=3,Mt.messages.clientFence(this._sock,at,St),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var at=this._sock.rQshift8(),Zt=this._sock.rQshift8();switch(Zt){case 0:b.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=at,b.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+Zt+")");break}return!0}},{key:"_normalMsg",value:function(){var at;this._FBU.rects>0?at=0:at=this._sock.rQshift8();var Zt,St;switch(at){case 0:return St=this._framebufferUpdate(),St&&!this._enabledContinuousUpdates&&Mt.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),St;case 1:return this._handleSetColourMapMsg();case 2:return b.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return Zt=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,Zt&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),b.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+at+")"),b.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var at=this._sock.rQshiftBytes(12);this._FBU.x=(at[0]<<8)+at[1],this._FBU.y=(at[2]<<8)+at[3],this._FBU.width=(at[4]<<8)+at[5],this._FBU.height=(at[6]<<8)+at[7],this._FBU.encoding=parseInt((at[8]<<24)+(at[9]<<16)+(at[10]<<8)+at[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case ee.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case ee.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case ee.encodings.pseudoEncodingCursor:return this._handleCursor();case ee.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var at=document.createEvent("keyboardEvent");at.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(Zt){}return!0;case ee.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case ee.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case ee.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var at=this._FBU.x,Zt=this._FBU.y,St=this._FBU.width,nn=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var fn=this._sock.rQshift8();this._sock.rQshift8();var Bn,Rn=4;if(fn==0){var Ht=-256;if(Bn=new Array(St*nn*Rn),this._sock.rQwait("VMware cursor classic encoding",St*nn*Rn*2,2))return!1;for(var Fn=new Array(St*nn),mn=0;mn>8&255,rn=Sn>>16&255,Fr=Sn>>24&255;Bn[ar*Rn]=or,Bn[ar*Rn+1]=rn,Bn[ar*Rn+2]=Fr,Bn[ar*Rn+3]=255}else(Fn[ar]&Ht)==Ht?Jn[ar]==0?(Bn[ar*Rn]=0,Bn[ar*Rn+1]=0,Bn[ar*Rn+2]=0,Bn[ar*Rn+3]=0):((Jn[ar]&Ht)==Ht,Bn[ar*Rn]=0,Bn[ar*Rn+1]=0,Bn[ar*Rn+2]=0,Bn[ar*Rn+3]=255):(Bn[ar*Rn]=0,Bn[ar*Rn+1]=0,Bn[ar*Rn+2]=0,Bn[ar*Rn+3]=255)}else if(fn==1){if(this._sock.rQwait("VMware cursor alpha encoding",St*nn*4,2))return!1;Bn=new Array(St*nn*Rn);for(var _r=0;_r>24&255,Bn[_r*4+1]=At>>16&255,Bn[_r*4+2]=At>>8&255,Bn[_r*4+3]=At&255}}else return b.Warn("The given cursor type is not supported: "+fn+" given."),!1;return this._updateCursor(Bn,at,Zt,St,nn),!0}},{key:"_handleCursor",value:function(){var at=this._FBU.x,Zt=this._FBU.y,St=this._FBU.width,nn=this._FBU.height,fn=St*nn*4,Bn=Math.ceil(St/8)*nn,Rn=fn+Bn;if(this._sock.rQwait("cursor encoding",Rn))return!1;for(var Ht=this._sock.rQshiftBytes(fn),Fn=this._sock.rQshiftBytes(Bn),mn=new Uint8Array(St*nn*4),Jn=0,hr=0;hr9){b.Error("qualityLevel must be an integer between 0 and 9");return}this._qualityLevel!==at&&(this._qualityLevel=at,this._rfbConnectionState==="connected"&&this._sendEncodings())}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(at){if(!Number.isInteger(at)||at<0||at>9){b.Error("compressionLevel must be an integer between 0 and 9");return}this._compressionLevel!==at&&(this._compressionLevel=at,this._rfbConnectionState==="connected"&&this._sendEncodings())}}],[{key:"genDES",value:function(at,Zt){var St=at.split("").map(function(nn){return nn.charCodeAt(0)});return new y.default(St).encrypt(Zt)}}]),Mt}(ae.default);Ze.Z=Oe,Oe.messages={keyEvent:function(Ct,Mt,Tt){var at=Ct._sQ,Zt=Ct._sQlen;at[Zt]=4,at[Zt+1]=Tt,at[Zt+2]=0,at[Zt+3]=0,at[Zt+4]=Mt>>24,at[Zt+5]=Mt>>16,at[Zt+6]=Mt>>8,at[Zt+7]=Mt,Ct._sQlen+=8,Ct.flush()},QEMUExtendedKeyEvent:function(Ct,Mt,Tt,at){function Zt(Bn){var Rn=at>>8,Ht=at&255;return Rn===224&&Ht<127?Ht|128:Bn}var St=Ct._sQ,nn=Ct._sQlen;St[nn]=255,St[nn+1]=0,St[nn+2]=Tt>>8,St[nn+3]=Tt,St[nn+4]=Mt>>24,St[nn+5]=Mt>>16,St[nn+6]=Mt>>8,St[nn+7]=Mt;var fn=Zt(at);St[nn+8]=fn>>24,St[nn+9]=fn>>16,St[nn+10]=fn>>8,St[nn+11]=fn,Ct._sQlen+=12,Ct.flush()},pointerEvent:function(Ct,Mt,Tt,at){var Zt=Ct._sQ,St=Ct._sQlen;Zt[St]=5,Zt[St+1]=at,Zt[St+2]=Mt>>8,Zt[St+3]=Mt,Zt[St+4]=Tt>>8,Zt[St+5]=Tt,Ct._sQlen+=6,Ct.flush()},_buildExtendedClipboardFlags:function(Ct,Mt){for(var Tt=new Uint8Array(4),at=0,Zt=0,St=0;St>24,Tt[1]=0,Tt[2]=0,Tt[3]=at,Tt},extendedClipboardProvide:function(Ct,Mt,Tt){for(var at=new oe.default,Zt=[],St=0;St>24&255,nn.length>>16&255,nn.length>>8&255,nn.length&255);for(var fn=0;fn>24,Zt[St+1]=Tt[at[nn]]>>16,Zt[St+2]=Tt[at[nn]]>>8,Zt[St+3]=Tt[at[nn]]>>0,St+=4,Zt[3]|=1<2&&arguments[2]!==void 0?arguments[2]:!1,at=Ct._sQ,Zt=Ct._sQlen;at[Zt]=6,at[Zt+1]=0,at[Zt+2]=0,at[Zt+3]=0;var St;Tt?St=(0,ce.toUnsigned32bit)(-Mt.length):St=Mt.length,at[Zt+4]=St>>24,at[Zt+5]=St>>16,at[Zt+6]=St>>8,at[Zt+7]=St,Ct._sQlen+=8;for(var nn=0,fn=Mt.length;fn>0;){for(var Bn=Math.min(fn,Ct._sQbufferSize-Ct._sQlen),Rn=0;Rn>8,St[nn+3]=Mt,St[nn+4]=Tt>>8,St[nn+5]=Tt,St[nn+6]=1,St[nn+7]=0,St[nn+8]=at>>24,St[nn+9]=at>>16,St[nn+10]=at>>8,St[nn+11]=at,St[nn+12]=0,St[nn+13]=0,St[nn+14]=0,St[nn+15]=0,St[nn+16]=Mt>>8,St[nn+17]=Mt,St[nn+18]=Tt>>8,St[nn+19]=Tt,St[nn+20]=Zt>>24,St[nn+21]=Zt>>16,St[nn+22]=Zt>>8,St[nn+23]=Zt,Ct._sQlen+=24,Ct.flush()},clientFence:function(Ct,Mt,Tt){var at=Ct._sQ,Zt=Ct._sQlen;at[Zt]=248,at[Zt+1]=0,at[Zt+2]=0,at[Zt+3]=0,at[Zt+4]=Mt>>24,at[Zt+5]=Mt>>16,at[Zt+6]=Mt>>8,at[Zt+7]=Mt;var St=Tt.length;at[Zt+8]=St;for(var nn=0;nn>8,nn[fn+3]=Tt,nn[fn+4]=at>>8,nn[fn+5]=at,nn[fn+6]=Zt>>8,nn[fn+7]=Zt,nn[fn+8]=St>>8,nn[fn+9]=St,Ct._sQlen+=10,Ct.flush()},pixelFormat:function(Ct,Mt,Tt){var at=Ct._sQ,Zt=Ct._sQlen,St;Mt>16?St=32:Mt>8?St=16:St=8;var nn=Math.floor(Mt/3);at[Zt]=0,at[Zt+1]=0,at[Zt+2]=0,at[Zt+3]=0,at[Zt+4]=St,at[Zt+5]=Mt,at[Zt+6]=0,at[Zt+7]=Tt?1:0,at[Zt+8]=0,at[Zt+9]=(1<>8,Tt[at+3]=Mt.length;for(var Zt=at+4,St=0;St>24,Tt[Zt+1]=nn>>16,Tt[Zt+2]=nn>>8,Tt[Zt+3]=nn,Zt+=4}Ct._sQlen+=Zt-at,Ct.flush()},fbUpdateRequest:function(Ct,Mt,Tt,at,Zt,St){var nn=Ct._sQ,fn=Ct._sQlen;typeof Tt=="undefined"&&(Tt=0),typeof at=="undefined"&&(at=0),nn[fn]=3,nn[fn+1]=Mt?1:0,nn[fn+2]=Tt>>8&255,nn[fn+3]=Tt&255,nn[fn+4]=at>>8&255,nn[fn+5]=at&255,nn[fn+6]=Zt>>8&255,nn[fn+7]=Zt&255,nn[fn+8]=St>>8&255,nn[fn+9]=St&255,Ct._sQlen+=10,Ct.flush()},xvpOp:function(Ct,Mt,Tt){var at=Ct._sQ,Zt=Ct._sQlen;at[Zt]=250,at[Zt+1]=0,at[Zt+2]=Mt,at[Zt+3]=Tt,Ct._sQlen+=4,Ct.flush()}},Oe.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},41895:function(Jt,Ze,ye){"use strict";function he(pe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(Ee){return typeof Ee}:he=function(Ee){return Ee&&typeof Symbol=="function"&&Ee.constructor===Symbol&&Ee!==Symbol.prototype?"symbol":typeof Ee},he(pe)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.isMac=x,Ze.isWindows=E,Ze.isIOS=ee,Ze.isSafari=te,Ze.isIE=fe,Ze.isEdge=Ae,Ze.isFirefox=me,Ze.hasScrollbarGutter=Ze.supportsImageMetadata=Ze.supportsCursorURIs=Ze.dragThreshold=Ze.isTouchDevice=void 0;var ce=ge(ye(50500));function b(){if(typeof WeakMap!="function")return null;var pe=new WeakMap;return b=function(){return pe},pe}function ge(pe){if(pe&&pe.__esModule)return pe;if(pe===null||he(pe)!=="object"&&typeof pe!="function")return{default:pe};var ve=b();if(ve&&ve.has(pe))return ve.get(pe);var Ee={},Ce=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var De in pe)if(Object.prototype.hasOwnProperty.call(pe,De)){var Ie=Ce?Object.getOwnPropertyDescriptor(pe,De):null;Ie&&(Ie.get||Ie.set)?Object.defineProperty(Ee,De,Ie):Ee[De]=pe[De]}return Ee.default=pe,ve&&ve.set(pe,Ee),Ee}var de=!1;Ze.isTouchDevice=de,window.addEventListener("touchstart",function(){},!1);var re=10*(window.devicePixelRatio||1);Ze.dragThreshold=re;var se=!1;try{var ae=document.createElement("canvas");ae.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',ae.style.cursor.indexOf("url")===0?(ce.Info("Data URI scheme cursor supported"),se=!0):ce.Warn("Data URI scheme cursor not supported")}catch(pe){ce.Error("Data URI scheme cursor test exception: "+pe)}var ie=se;Ze.supportsCursorURIs=ie;var le=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),le=!0}catch(pe){}var oe=le;Ze.supportsImageMetadata=oe;var ue=!0;try{var ne=document.createElement("div");ne.style.visibility="hidden",ne.style.overflow="scroll",document.body.appendChild(ne);var z=document.createElement("div");ne.appendChild(z);var a=ne.offsetWidth-z.offsetWidth;ne.parentNode.removeChild(ne),ue=a!=0}catch(pe){ce.Error("Scrollbar test exception: "+pe)}var y=ue;Ze.hasScrollbarGutter=y;function x(){return navigator&&!!/mac/i.exec(navigator.platform)}function E(){return navigator&&!!/win/i.exec(navigator.platform)}function ee(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function te(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function fe(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function Ae(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function me(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},54641:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var he=ye(41895);function ce(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function b(se,ae){for(var ie=0;ie=ge.right?de.x=ge.width-1:de.x=he-ge.left,ce=ge.bottom?de.y=ge.height-1:de.y=ce-ge.top,de}},79420:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.getPointerEvent=ye,Ze.stopEvent=he,Ze.setCapture=se,Ze.releaseCapture=ae;function ye(ie){return ie.changedTouches?ie.changedTouches[0]:ie.touches?ie.touches[0]:ie}function he(ie){ie.stopPropagation(),ie.preventDefault()}var ce=!1,b=null;document.captureElement=null;function ge(ie){if(!ce){var le=new ie.constructor(ie.type,ie);ce=!0,document.captureElement?document.captureElement.dispatchEvent(le):b.dispatchEvent(le),ce=!1,ie.stopPropagation(),le.defaultPrevented&&ie.preventDefault(),ie.type==="mouseup"&&ae()}}function de(){var ie=document.getElementById("noVNC_mouse_capture_elem");ie.style.cursor=window.getComputedStyle(document.captureElement).cursor}var re=new MutationObserver(de);function se(ie){if(ie.setCapture)ie.setCapture(),document.captureElement=ie,ie.addEventListener("mouseup",ae);else{ae();var le=document.getElementById("noVNC_mouse_capture_elem");le===null&&(le=document.createElement("div"),le.id="noVNC_mouse_capture_elem",le.style.position="fixed",le.style.top="0px",le.style.left="0px",le.style.width="100%",le.style.height="100%",le.style.zIndex=1e4,le.style.display="none",document.body.appendChild(le),le.addEventListener("contextmenu",ge),le.addEventListener("mousemove",ge),le.addEventListener("mouseup",ge)),document.captureElement=ie,re.observe(ie,{attributes:!0}),de(),le.style.display="",window.addEventListener("mousemove",ge),window.addEventListener("mouseup",ge)}}function ae(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;b=document.captureElement,document.captureElement=null,re.disconnect();var ie=document.getElementById("noVNC_mouse_capture_elem");ie.style.display="none",window.removeEventListener("mousemove",ge),window.removeEventListener("mouseup",ge)}}},5004:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;function ye(ge,de){if(!(ge instanceof de))throw new TypeError("Cannot call a class as a function")}function he(ge,de){for(var re=0;re>>0}function he(ce){return ce|0}},50500:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.initLogging=de,Ze.getLogging=re,Ze.Error=Ze.Warn=Ze.Info=Ze.Debug=void 0;var ye="warn",he=function(){};Ze.Debug=he;var ce=function(){};Ze.Info=ce;var b=function(){};Ze.Warn=b;var ge=function(){};Ze.Error=ge;function de(se){if(typeof se=="undefined"?se=ye:ye=se,Ze.Debug=he=Ze.Info=ce=Ze.Warn=b=Ze.Error=ge=function(){},typeof window.console!="undefined")switch(se){case"debug":Ze.Debug=he=console.debug.bind(window.console);case"info":Ze.Info=ce=console.info.bind(window.console);case"warn":Ze.Warn=b=console.warn.bind(window.console);case"error":Ze.Error=ge=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+se+"'")}}function re(){return ye}de()},21882:function(){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(Ze,ye){"use strict";if(Ze==null)throw new TypeError("Cannot convert undefined or null to object");for(var he=Object(Ze),ce=1;ce1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(ce))}catch(ge){if(ge instanceof URIError&&b)return ce;throw ge}}function he(ce){return unescape(encodeURIComponent(ce))}},35986:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.shrinkBuf=ye,Ze.arraySet=he,Ze.flattenChunks=ce,Ze.Buf32=Ze.Buf16=Ze.Buf8=void 0;function ye(re,se){return re.length===se?re:re.subarray?re.subarray(0,se):(re.length=se,re)}function he(re,se,ae,ie,le){if(se.subarray&&re.subarray){re.set(se.subarray(ae,ae+ie),le);return}for(var oe=0;oe>>16&65535|0,se=0;b!==0;){se=b>2e3?2e3:b,b-=se;do de=de+ce[ge++]|0,re=re+de|0;while(--se);de%=65521,re%=65521}return de|re<<16|0}},1217:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=ye;function ye(){for(var b,ge=[],de=0;de<256;de++){b=de;for(var re=0;re<8;re++)b=b&1?3988292384^b>>>1:b>>>1;ge[de]=b}return ge}var he=ye();function ce(b,ge,de,re){var se=he,ae=re+de;b^=-1;for(var ie=re;ie>>8^se[(b^ge[ie])&255];return b^-1}},25805:function(Jt,Ze,ye){"use strict";function he(At){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(Qn){return typeof Qn}:he=function(Qn){return Qn&&typeof Symbol=="function"&&Qn.constructor===Symbol&&Qn!==Symbol.prototype?"symbol":typeof Qn},he(At)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.deflateInit=Sn,Ze.deflateInit2=ar,Ze.deflateReset=Jn,Ze.deflateResetKeep=mn,Ze.deflateSetHeader=hr,Ze.deflate=or,Ze.deflateEnd=rn,Ze.deflateSetDictionary=Fr,Ze.deflateInfo=Ze.Z_DEFLATED=Ze.Z_UNKNOWN=Ze.Z_DEFAULT_STRATEGY=Ze.Z_FIXED=Ze.Z_RLE=Ze.Z_HUFFMAN_ONLY=Ze.Z_FILTERED=Ze.Z_DEFAULT_COMPRESSION=Ze.Z_BUF_ERROR=Ze.Z_DATA_ERROR=Ze.Z_STREAM_ERROR=Ze.Z_STREAM_END=Ze.Z_OK=Ze.Z_BLOCK=Ze.Z_FINISH=Ze.Z_FULL_FLUSH=Ze.Z_PARTIAL_FLUSH=Ze.Z_NO_FLUSH=void 0;var ce=ie(ye(35986)),b=ie(ye(55796)),ge=se(ye(97580)),de=se(ye(1217)),re=se(ye(70892));function se(At){return At&&At.__esModule?At:{default:At}}function ae(){if(typeof WeakMap!="function")return null;var At=new WeakMap;return ae=function(){return At},At}function ie(At){if(At&&At.__esModule)return At;if(At===null||he(At)!=="object"&&typeof At!="function")return{default:At};var Wn=ae();if(Wn&&Wn.has(At))return Wn.get(At);var Qn={},tn=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ln in At)if(Object.prototype.hasOwnProperty.call(At,Ln)){var On=tn?Object.getOwnPropertyDescriptor(At,Ln):null;On&&(On.get||On.set)?Object.defineProperty(Qn,Ln,On):Qn[Ln]=At[Ln]}return Qn.default=At,Wn&&Wn.set(At,Qn),Qn}var le=0;Ze.Z_NO_FLUSH=le;var oe=1;Ze.Z_PARTIAL_FLUSH=oe;var ue=3;Ze.Z_FULL_FLUSH=ue;var ne=4;Ze.Z_FINISH=ne;var z=5;Ze.Z_BLOCK=z;var a=0;Ze.Z_OK=a;var y=1;Ze.Z_STREAM_END=y;var x=-2;Ze.Z_STREAM_ERROR=x;var E=-3;Ze.Z_DATA_ERROR=E;var ee=-5;Ze.Z_BUF_ERROR=ee;var te=-1;Ze.Z_DEFAULT_COMPRESSION=te;var fe=1;Ze.Z_FILTERED=fe;var Ae=2;Ze.Z_HUFFMAN_ONLY=Ae;var me=3;Ze.Z_RLE=me;var pe=4;Ze.Z_FIXED=pe;var ve=0;Ze.Z_DEFAULT_STRATEGY=ve;var Ee=2;Ze.Z_UNKNOWN=Ee;var Ce=8;Ze.Z_DEFLATED=Ce;var De=9,Ie=15,Qe=8,Te=29,ze=256,Fe=ze+1+Te,qe=30,Je=19,vt=2*Fe+1,Ke=15,lt=3,Ft=258,Bt=Ft+lt+1,kt=32,Et=42,it=69,ct=73,Rt=91,Lt=103,Vt=113,mt=666,ot=1,Ye=2,Nt=3,$e=4,_e=3;function Ue(At,Wn){return At.msg=re.default[Wn],Wn}function Ve(At){return(At<<1)-(At>4?9:0)}function We(At){for(var Wn=At.length;--Wn>=0;)At[Wn]=0}function Le(At){var Wn=At.state,Qn=Wn.pending;Qn>At.avail_out&&(Qn=At.avail_out),Qn!==0&&(ce.arraySet(At.output,Wn.pending_buf,Wn.pending_out,Qn,At.next_out),At.next_out+=Qn,Wn.pending_out+=Qn,At.total_out+=Qn,At.avail_out-=Qn,Wn.pending-=Qn,Wn.pending===0&&(Wn.pending_out=0))}function je(At,Wn){b._tr_flush_block(At,At.block_start>=0?At.block_start:-1,At.strstart-At.block_start,Wn),At.block_start=At.strstart,Le(At.strm)}function Oe(At,Wn){At.pending_buf[At.pending++]=Wn}function ut(At,Wn){At.pending_buf[At.pending++]=Wn>>>8&255,At.pending_buf[At.pending++]=Wn&255}function Ct(At,Wn,Qn,tn){var Ln=At.avail_in;return Ln>tn&&(Ln=tn),Ln===0?0:(At.avail_in-=Ln,ce.arraySet(Wn,At.input,At.next_in,Ln,Qn),At.state.wrap===1?At.adler=(0,ge.default)(At.adler,Wn,Ln,Qn):At.state.wrap===2&&(At.adler=(0,de.default)(At.adler,Wn,Ln,Qn)),At.next_in+=Ln,At.total_in+=Ln,Ln)}function Mt(At,Wn){var Qn=At.max_chain_length,tn=At.strstart,Ln,On,vr=At.prev_length,Un=At.nice_match,cr=At.strstart>At.w_size-Bt?At.strstart-(At.w_size-Bt):0,Ea=At.window,fa=At.w_mask,Lr=At.prev,da=At.strstart+Ft,br=Ea[tn+vr-1],ke=Ea[tn+vr];At.prev_length>=At.good_match&&(Qn>>=2),Un>At.lookahead&&(Un=At.lookahead);do if(Ln=Wn,!(Ea[Ln+vr]!==ke||Ea[Ln+vr-1]!==br||Ea[Ln]!==Ea[tn]||Ea[++Ln]!==Ea[tn+1])){tn+=2,Ln++;do;while(Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&tnvr){if(At.match_start=Wn,vr=On,On>=Un)break;br=Ea[tn+vr-1],ke=Ea[tn+vr]}}while((Wn=Lr[Wn&fa])>cr&&--Qn!==0);return vr<=At.lookahead?vr:At.lookahead}function Tt(At){var Wn=At.w_size,Qn,tn,Ln,On,vr;do{if(On=At.window_size-At.lookahead-At.strstart,At.strstart>=Wn+(Wn-Bt)){ce.arraySet(At.window,At.window,Wn,Wn,0),At.match_start-=Wn,At.strstart-=Wn,At.block_start-=Wn,tn=At.hash_size,Qn=tn;do Ln=At.head[--Qn],At.head[Qn]=Ln>=Wn?Ln-Wn:0;while(--tn);tn=Wn,Qn=tn;do Ln=At.prev[--Qn],At.prev[Qn]=Ln>=Wn?Ln-Wn:0;while(--tn);On+=Wn}if(At.strm.avail_in===0)break;if(tn=Ct(At.strm,At.window,At.strstart+At.lookahead,On),At.lookahead+=tn,At.lookahead+At.insert>=lt)for(vr=At.strstart-At.insert,At.ins_h=At.window[vr],At.ins_h=(At.ins_h<At.pending_buf_size-5&&(Qn=At.pending_buf_size-5);;){if(At.lookahead<=1){if(Tt(At),At.lookahead===0&&Wn===le)return ot;if(At.lookahead===0)break}At.strstart+=At.lookahead,At.lookahead=0;var tn=At.block_start+Qn;if((At.strstart===0||At.strstart>=tn)&&(At.lookahead=At.strstart-tn,At.strstart=tn,je(At,!1),At.strm.avail_out===0)||At.strstart-At.block_start>=At.w_size-Bt&&(je(At,!1),At.strm.avail_out===0))return ot}return At.insert=0,Wn===ne?(je(At,!0),At.strm.avail_out===0?Nt:$e):(At.strstart>At.block_start&&(je(At,!1),At.strm.avail_out===0),ot)}function Zt(At,Wn){for(var Qn,tn;;){if(At.lookahead=lt&&(At.ins_h=(At.ins_h<=lt)if(tn=b._tr_tally(At,At.strstart-At.match_start,At.match_length-lt),At.lookahead-=At.match_length,At.match_length<=At.max_lazy_match&&At.lookahead>=lt){At.match_length--;do At.strstart++,At.ins_h=(At.ins_h<=lt&&(At.ins_h=(At.ins_h<4096)&&(At.match_length=lt-1)),At.prev_length>=lt&&At.match_length<=At.prev_length){Ln=At.strstart+At.lookahead-lt,tn=b._tr_tally(At,At.strstart-1-At.prev_match,At.prev_length-lt),At.lookahead-=At.prev_length-1,At.prev_length-=2;do++At.strstart<=Ln&&(At.ins_h=(At.ins_h<=lt&&At.strstart>0&&(Ln=At.strstart-1,tn=vr[Ln],tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln])){On=At.strstart+Ft;do;while(tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&LnAt.lookahead&&(At.match_length=At.lookahead)}if(At.match_length>=lt?(Qn=b._tr_tally(At,1,At.match_length-lt),At.lookahead-=At.match_length,At.strstart+=At.match_length,At.match_length=0):(Qn=b._tr_tally(At,0,At.window[At.strstart]),At.lookahead--,At.strstart++),Qn&&(je(At,!1),At.strm.avail_out===0))return ot}return At.insert=0,Wn===ne?(je(At,!0),At.strm.avail_out===0?Nt:$e):At.last_lit&&(je(At,!1),At.strm.avail_out===0)?ot:Ye}function fn(At,Wn){for(var Qn;;){if(At.lookahead===0&&(Tt(At),At.lookahead===0)){if(Wn===le)return ot;break}if(At.match_length=0,Qn=b._tr_tally(At,0,At.window[At.strstart]),At.lookahead--,At.strstart++,Qn&&(je(At,!1),At.strm.avail_out===0))return ot}return At.insert=0,Wn===ne?(je(At,!0),At.strm.avail_out===0?Nt:$e):At.last_lit&&(je(At,!1),At.strm.avail_out===0)?ot:Ye}function Bn(At,Wn,Qn,tn,Ln){this.good_length=At,this.max_lazy=Wn,this.nice_length=Qn,this.max_chain=tn,this.func=Ln}var Rn;Rn=[new Bn(0,0,0,0,at),new Bn(4,4,8,4,Zt),new Bn(4,5,16,8,Zt),new Bn(4,6,32,32,Zt),new Bn(4,4,16,16,St),new Bn(8,16,32,32,St),new Bn(8,16,128,128,St),new Bn(8,32,128,256,St),new Bn(32,128,258,1024,St),new Bn(32,258,258,4096,St)];function Ht(At){At.window_size=2*At.w_size,We(At.head),At.max_lazy_match=Rn[At.level].max_lazy,At.good_match=Rn[At.level].good_length,At.nice_match=Rn[At.level].nice_length,At.max_chain_length=Rn[At.level].max_chain,At.strstart=0,At.block_start=0,At.lookahead=0,At.insert=0,At.match_length=At.prev_length=lt-1,At.match_available=0,At.ins_h=0}function Fn(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ce,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ce.Buf16(vt*2),this.dyn_dtree=new ce.Buf16((2*qe+1)*2),this.bl_tree=new ce.Buf16((2*Je+1)*2),We(this.dyn_ltree),We(this.dyn_dtree),We(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ce.Buf16(Ke+1),this.heap=new ce.Buf16(2*Fe+1),We(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ce.Buf16(2*Fe+1),We(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function mn(At){var Wn;return!At||!At.state?Ue(At,x):(At.total_in=At.total_out=0,At.data_type=Ee,Wn=At.state,Wn.pending=0,Wn.pending_out=0,Wn.wrap<0&&(Wn.wrap=-Wn.wrap),Wn.status=Wn.wrap?Et:Vt,At.adler=Wn.wrap===2?0:1,Wn.last_flush=le,b._tr_init(Wn),a)}function Jn(At){var Wn=mn(At);return Wn===a&&Ht(At.state),Wn}function hr(At,Wn){return!At||!At.state||At.state.wrap!==2?x:(At.state.gzhead=Wn,a)}function ar(At,Wn,Qn,tn,Ln,On){if(!At)return x;var vr=1;if(Wn===te&&(Wn=6),tn<0?(vr=0,tn=-tn):tn>15&&(vr=2,tn-=16),Ln<1||Ln>De||Qn!==Ce||tn<8||tn>15||Wn<0||Wn>9||On<0||On>pe)return Ue(At,x);tn===8&&(tn=9);var Un=new Fn;return At.state=Un,Un.strm=At,Un.wrap=vr,Un.gzhead=null,Un.w_bits=tn,Un.w_size=1<z||Wn<0)return At?Ue(At,x):x;if(tn=At.state,!At.output||!At.input&&At.avail_in!==0||tn.status===mt&&Wn!==ne)return Ue(At,At.avail_out===0?ee:x);if(tn.strm=At,Qn=tn.last_flush,tn.last_flush=Wn,tn.status===Et)if(tn.wrap===2)At.adler=0,Oe(tn,31),Oe(tn,139),Oe(tn,8),tn.gzhead?(Oe(tn,(tn.gzhead.text?1:0)+(tn.gzhead.hcrc?2:0)+(tn.gzhead.extra?4:0)+(tn.gzhead.name?8:0)+(tn.gzhead.comment?16:0)),Oe(tn,tn.gzhead.time&255),Oe(tn,tn.gzhead.time>>8&255),Oe(tn,tn.gzhead.time>>16&255),Oe(tn,tn.gzhead.time>>24&255),Oe(tn,tn.level===9?2:tn.strategy>=Ae||tn.level<2?4:0),Oe(tn,tn.gzhead.os&255),tn.gzhead.extra&&tn.gzhead.extra.length&&(Oe(tn,tn.gzhead.extra.length&255),Oe(tn,tn.gzhead.extra.length>>8&255)),tn.gzhead.hcrc&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending,0)),tn.gzindex=0,tn.status=it):(Oe(tn,0),Oe(tn,0),Oe(tn,0),Oe(tn,0),Oe(tn,0),Oe(tn,tn.level===9?2:tn.strategy>=Ae||tn.level<2?4:0),Oe(tn,_e),tn.status=Vt);else{var vr=Ce+(tn.w_bits-8<<4)<<8,Un=-1;tn.strategy>=Ae||tn.level<2?Un=0:tn.level<6?Un=1:tn.level===6?Un=2:Un=3,vr|=Un<<6,tn.strstart!==0&&(vr|=kt),vr+=31-vr%31,tn.status=Vt,ut(tn,vr),tn.strstart!==0&&(ut(tn,At.adler>>>16),ut(tn,At.adler&65535)),At.adler=1}if(tn.status===it)if(tn.gzhead.extra){for(Ln=tn.pending;tn.gzindex<(tn.gzhead.extra.length&65535)&&!(tn.pending===tn.pending_buf_size&&(tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),Le(At),Ln=tn.pending,tn.pending===tn.pending_buf_size));)Oe(tn,tn.gzhead.extra[tn.gzindex]&255),tn.gzindex++;tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),tn.gzindex===tn.gzhead.extra.length&&(tn.gzindex=0,tn.status=ct)}else tn.status=ct;if(tn.status===ct)if(tn.gzhead.name){Ln=tn.pending;do{if(tn.pending===tn.pending_buf_size&&(tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),Le(At),Ln=tn.pending,tn.pending===tn.pending_buf_size)){On=1;break}tn.gzindexLn&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),On===0&&(tn.gzindex=0,tn.status=Rt)}else tn.status=Rt;if(tn.status===Rt)if(tn.gzhead.comment){Ln=tn.pending;do{if(tn.pending===tn.pending_buf_size&&(tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),Le(At),Ln=tn.pending,tn.pending===tn.pending_buf_size)){On=1;break}tn.gzindexLn&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),On===0&&(tn.status=Lt)}else tn.status=Lt;if(tn.status===Lt&&(tn.gzhead.hcrc?(tn.pending+2>tn.pending_buf_size&&Le(At),tn.pending+2<=tn.pending_buf_size&&(Oe(tn,At.adler&255),Oe(tn,At.adler>>8&255),At.adler=0,tn.status=Vt)):tn.status=Vt),tn.pending!==0){if(Le(At),At.avail_out===0)return tn.last_flush=-1,a}else if(At.avail_in===0&&Ve(Wn)<=Ve(Qn)&&Wn!==ne)return Ue(At,ee);if(tn.status===mt&&At.avail_in!==0)return Ue(At,ee);if(At.avail_in!==0||tn.lookahead!==0||Wn!==le&&tn.status!==mt){var cr=tn.strategy===Ae?fn(tn,Wn):tn.strategy===me?nn(tn,Wn):Rn[tn.level].func(tn,Wn);if((cr===Nt||cr===$e)&&(tn.status=mt),cr===ot||cr===Nt)return At.avail_out===0&&(tn.last_flush=-1),a;if(cr===Ye&&(Wn===oe?b._tr_align(tn):Wn!==z&&(b._tr_stored_block(tn,0,0,!1),Wn===ue&&(We(tn.head),tn.lookahead===0&&(tn.strstart=0,tn.block_start=0,tn.insert=0))),Le(At),At.avail_out===0))return tn.last_flush=-1,a}return Wn!==ne?a:tn.wrap<=0?y:(tn.wrap===2?(Oe(tn,At.adler&255),Oe(tn,At.adler>>8&255),Oe(tn,At.adler>>16&255),Oe(tn,At.adler>>24&255),Oe(tn,At.total_in&255),Oe(tn,At.total_in>>8&255),Oe(tn,At.total_in>>16&255),Oe(tn,At.total_in>>24&255)):(ut(tn,At.adler>>>16),ut(tn,At.adler&65535)),Le(At),tn.wrap>0&&(tn.wrap=-tn.wrap),tn.pending!==0?a:y)}function rn(At){var Wn;return!At||!At.state?x:(Wn=At.state.status,Wn!==Et&&Wn!==it&&Wn!==ct&&Wn!==Rt&&Wn!==Lt&&Wn!==Vt&&Wn!==mt?Ue(At,x):(At.state=null,Wn===Vt?Ue(At,E):a))}function Fr(At,Wn){var Qn=Wn.length,tn,Ln,On,vr,Un,cr,Ea,fa;if(!At||!At.state||(tn=At.state,vr=tn.wrap,vr===2||vr===1&&tn.status!==Et||tn.lookahead))return x;for(vr===1&&(At.adler=(0,ge.default)(At.adler,Wn,Qn,0)),tn.wrap=0,Qn>=tn.w_size&&(vr===0&&(We(tn.head),tn.strstart=0,tn.block_start=0,tn.insert=0),fa=new ce.Buf8(tn.w_size),ce.arraySet(fa,Wn,Qn-tn.w_size,tn.w_size,0),Wn=fa,Qn=tn.w_size),Un=At.avail_in,cr=At.next_in,Ea=At.input,At.avail_in=Qn,At.next_in=0,At.input=Wn,Tt(tn);tn.lookahead>=lt;){Ln=tn.strstart,On=tn.lookahead-(lt-1);do tn.ins_h=(tn.ins_h<>>24,y>>>=me,x-=me,me=Ae>>>16&255,me===0)Ie[ae++]=Ae&65535;else if(me&16){pe=Ae&65535,me&=15,me&&(x>>=me,x-=me),x<15&&(y+=De[re++]<>>24,y>>>=me,x-=me,me=Ae>>>16&255,me&16){if(ve=Ae&65535,me&=15,xoe){b.msg="invalid distance too far back",de.mode=ye;break e}if(y>>>=me,x-=me,me=ae-ie,ve>me){if(me=ve-me,me>ne&&de.sane){b.msg="invalid distance too far back",de.mode=ye;break e}if(Ee=0,Ce=a,z===0){if(Ee+=ue-me,me2;)Ie[ae++]=Ce[Ee++],Ie[ae++]=Ce[Ee++],Ie[ae++]=Ce[Ee++],pe-=3;pe&&(Ie[ae++]=Ce[Ee++],pe>1&&(Ie[ae++]=Ce[Ee++]))}else{Ee=ae-ve;do Ie[ae++]=Ie[Ee++],Ie[ae++]=Ie[Ee++],Ie[ae++]=Ie[Ee++],pe-=3;while(pe>2);pe&&(Ie[ae++]=Ie[Ee++],pe>1&&(Ie[ae++]=Ie[Ee++]))}}else if(me&64){b.msg="invalid distance code",de.mode=ye;break e}else{Ae=ee[(Ae&65535)+(y&(1<>3,re-=pe,x-=pe<<3,y&=(1<>>24&255)+(Sn>>>8&65280)+((Sn&65280)<<8)+((Sn&255)<<24)}function Ct(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new ce.Buf16(320),this.work=new ce.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Mt(Sn){var or;return!Sn||!Sn.state?ee:(or=Sn.state,Sn.total_in=Sn.total_out=or.total=0,Sn.msg="",or.wrap&&(Sn.adler=or.wrap&1),or.mode=pe,or.last=0,or.havedict=0,or.dmax=32768,or.head=null,or.hold=0,or.bits=0,or.lencode=or.lendyn=new ce.Buf32(We),or.distcode=or.distdyn=new ce.Buf32(Le),or.sane=1,or.back=-1,y)}function Tt(Sn){var or;return!Sn||!Sn.state?ee:(or=Sn.state,or.wsize=0,or.whave=0,or.wnext=0,Mt(Sn))}function at(Sn,or){var rn,Fr;return!Sn||!Sn.state||(Fr=Sn.state,or<0?(rn=0,or=-or):(rn=(or>>4)+1,or<48&&(or&=15)),or&&(or<8||or>15))?ee:(Fr.window!==null&&Fr.wbits!==or&&(Fr.window=null),Fr.wrap=rn,Fr.wbits=or,Tt(Sn))}function Zt(Sn,or){var rn,Fr;return Sn?(Fr=new Ct,Sn.state=Fr,Fr.window=null,rn=at(Sn,or),rn!==y&&(Sn.state=null),rn):ee}function St(Sn){return Zt(Sn,Oe)}var nn=!0,fn,Bn;function Rn(Sn){if(nn){var or;for(fn=new ce.Buf32(512),Bn=new ce.Buf32(32),or=0;or<144;)Sn.lens[or++]=8;for(;or<256;)Sn.lens[or++]=9;for(;or<280;)Sn.lens[or++]=7;for(;or<288;)Sn.lens[or++]=8;for((0,re.default)(oe,Sn.lens,0,288,fn,0,Sn.work,{bits:9}),or=0;or<32;)Sn.lens[or++]=5;(0,re.default)(ue,Sn.lens,0,32,Bn,0,Sn.work,{bits:5}),nn=!1}Sn.lencode=fn,Sn.lenbits=9,Sn.distcode=Bn,Sn.distbits=5}function Ht(Sn,or,rn,Fr){var _r,At=Sn.state;return At.window===null&&(At.wsize=1<=At.wsize?(ce.arraySet(At.window,or,rn-At.wsize,At.wsize,0),At.wnext=0,At.whave=At.wsize):(_r=At.wsize-At.wnext,_r>Fr&&(_r=Fr),ce.arraySet(At.window,or,rn-Fr,_r,At.wnext),Fr-=_r,Fr?(ce.arraySet(At.window,or,rn-Fr,Fr,0),At.wnext=Fr,At.whave=At.wsize):(At.wnext+=_r,At.wnext===At.wsize&&(At.wnext=0),At.whave>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0),Ln=0,On=0,rn.mode=ve;break}if(rn.flags=0,rn.head&&(rn.head.done=!1),!(rn.wrap&1)||(((Ln&255)<<8)+(Ln>>8))%31){Sn.msg="incorrect header check",rn.mode=_e;break}if((Ln&15)!==me){Sn.msg="unknown compression method",rn.mode=_e;break}if(Ln>>>=4,On-=4,st=(Ln&15)+8,rn.wbits===0)rn.wbits=st;else if(st>rn.wbits){Sn.msg="invalid window size",rn.mode=_e;break}rn.dmax=1<>8&1),rn.flags&512&&(hn[0]=Ln&255,hn[1]=Ln>>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0)),Ln=0,On=0,rn.mode=Ee;case Ee:for(;On<32;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>8&255,hn[2]=Ln>>>16&255,hn[3]=Ln>>>24&255,rn.check=(0,ge.default)(rn.check,hn,4,0)),Ln=0,On=0,rn.mode=Ce;case Ce:for(;On<16;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>8),rn.flags&512&&(hn[0]=Ln&255,hn[1]=Ln>>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0)),Ln=0,On=0,rn.mode=De;case De:if(rn.flags&1024){for(;On<16;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0)),Ln=0,On=0}else rn.head&&(rn.head.extra=null);rn.mode=Ie;case Ie:if(rn.flags&1024&&(cr=rn.length,cr>Qn&&(cr=Qn),cr&&(rn.head&&(st=rn.head.extra_len-rn.length,rn.head.extra||(rn.head.extra=new Array(rn.head.extra_len)),ce.arraySet(rn.head.extra,Fr,At,cr,st)),rn.flags&512&&(rn.check=(0,ge.default)(rn.check,Fr,cr,At)),Qn-=cr,At+=cr,rn.length-=cr),rn.length))break e;rn.length=0,rn.mode=Qe;case Qe:if(rn.flags&2048){if(Qn===0)break e;cr=0;do st=Fr[At+cr++],rn.head&&st&&rn.length<65536&&(rn.head.name+=String.fromCharCode(st));while(st&&cr>9&1,rn.head.done=!0),Sn.adler=rn.check=0,rn.mode=Je;break;case Fe:for(;On<32;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=On&7,On-=On&7,rn.mode=Ye;break}for(;On<3;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=1,On-=1,Ln&3){case 0:rn.mode=Ke;break;case 1:if(Rn(rn),rn.mode=it,or===a){Ln>>>=2,On-=2;break e}break;case 2:rn.mode=Bt;break;case 3:Sn.msg="invalid block type",rn.mode=_e}Ln>>>=2,On-=2;break;case Ke:for(Ln>>>=On&7,On-=On&7;On<32;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>16^65535)){Sn.msg="invalid stored block lengths",rn.mode=_e;break}if(rn.length=Ln&65535,Ln=0,On=0,rn.mode=lt,or===a)break e;case lt:rn.mode=Ft;case Ft:if(cr=rn.length,cr){if(cr>Qn&&(cr=Qn),cr>tn&&(cr=tn),cr===0)break e;ce.arraySet(_r,Fr,At,cr,Wn),Qn-=cr,At+=cr,tn-=cr,Wn+=cr,rn.length-=cr;break}rn.mode=Je;break;case Bt:for(;On<14;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=5,On-=5,rn.ndist=(Ln&31)+1,Ln>>>=5,On-=5,rn.ncode=(Ln&15)+4,Ln>>>=4,On-=4,rn.nlen>286||rn.ndist>30){Sn.msg="too many length or distance symbols",rn.mode=_e;break}rn.have=0,rn.mode=kt;case kt:for(;rn.have>>=3,On-=3}for(;rn.have<19;)rn.lens[ir[rn.have++]]=0;if(rn.lencode=rn.lendyn,rn.lenbits=7,Xn={bits:rn.lenbits},en=(0,re.default)(le,rn.lens,0,19,rn.lencode,0,rn.work,Xn),rn.lenbits=Xn.bits,en){Sn.msg="invalid code lengths set",rn.mode=_e;break}rn.have=0,rn.mode=Et;case Et:for(;rn.have>>24,br=Lr>>>16&255,ke=Lr&65535,!(da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=da,On-=da,rn.lens[rn.have++]=ke;else{if(ke===16){for(kn=da+2;On>>=da,On-=da,rn.have===0){Sn.msg="invalid bit length repeat",rn.mode=_e;break}st=rn.lens[rn.have-1],cr=3+(Ln&3),Ln>>>=2,On-=2}else if(ke===17){for(kn=da+3;On>>=da,On-=da,st=0,cr=3+(Ln&7),Ln>>>=3,On-=3}else{for(kn=da+7;On>>=da,On-=da,st=0,cr=11+(Ln&127),Ln>>>=7,On-=7}if(rn.have+cr>rn.nlen+rn.ndist){Sn.msg="invalid bit length repeat",rn.mode=_e;break}for(;cr--;)rn.lens[rn.have++]=st}}if(rn.mode===_e)break;if(rn.lens[256]===0){Sn.msg="invalid code -- missing end-of-block",rn.mode=_e;break}if(rn.lenbits=9,Xn={bits:rn.lenbits},en=(0,re.default)(oe,rn.lens,0,rn.nlen,rn.lencode,0,rn.work,Xn),rn.lenbits=Xn.bits,en){Sn.msg="invalid literal/lengths set",rn.mode=_e;break}if(rn.distbits=6,rn.distcode=rn.distdyn,Xn={bits:rn.distbits},en=(0,re.default)(ue,rn.lens,rn.nlen,rn.ndist,rn.distcode,0,rn.work,Xn),rn.distbits=Xn.bits,en){Sn.msg="invalid distances set",rn.mode=_e;break}if(rn.mode=it,or===a)break e;case it:rn.mode=ct;case ct:if(Qn>=6&&tn>=258){Sn.next_out=Wn,Sn.avail_out=tn,Sn.next_in=At,Sn.avail_in=Qn,rn.hold=Ln,rn.bits=On,(0,de.default)(Sn,Un),Wn=Sn.next_out,_r=Sn.output,tn=Sn.avail_out,At=Sn.next_in,Fr=Sn.input,Qn=Sn.avail_in,Ln=rn.hold,On=rn.bits,rn.mode===Je&&(rn.back=-1);break}for(rn.back=0;Lr=rn.lencode[Ln&(1<>>24,br=Lr>>>16&255,ke=Lr&65535,!(da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>Me)],da=Lr>>>24,br=Lr>>>16&255,ke=Lr&65535,!(Me+da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=Me,On-=Me,rn.back+=Me}if(Ln>>>=da,On-=da,rn.back+=da,rn.length=ke,br===0){rn.mode=ot;break}if(br&32){rn.back=-1,rn.mode=Je;break}if(br&64){Sn.msg="invalid literal/length code",rn.mode=_e;break}rn.extra=br&15,rn.mode=Rt;case Rt:if(rn.extra){for(kn=rn.extra;On>>=rn.extra,On-=rn.extra,rn.back+=rn.extra}rn.was=rn.length,rn.mode=Lt;case Lt:for(;Lr=rn.distcode[Ln&(1<>>24,br=Lr>>>16&255,ke=Lr&65535,!(da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>Me)],da=Lr>>>24,br=Lr>>>16&255,ke=Lr&65535,!(Me+da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=Me,On-=Me,rn.back+=Me}if(Ln>>>=da,On-=da,rn.back+=da,br&64){Sn.msg="invalid distance code",rn.mode=_e;break}rn.offset=ke,rn.extra=br&15,rn.mode=Vt;case Vt:if(rn.extra){for(kn=rn.extra;On>>=rn.extra,On-=rn.extra,rn.back+=rn.extra}if(rn.offset>rn.dmax){Sn.msg="invalid distance too far back",rn.mode=_e;break}rn.mode=mt;case mt:if(tn===0)break e;if(cr=Un-tn,rn.offset>cr){if(cr=rn.offset-cr,cr>rn.whave&&rn.sane){Sn.msg="invalid distance too far back",rn.mode=_e;break}cr>rn.wnext?(cr-=rn.wnext,Ea=rn.wsize-cr):Ea=rn.wnext-cr,cr>rn.length&&(cr=rn.length),fa=rn.window}else fa=_r,Ea=Wn-rn.offset,cr=rn.length;cr>tn&&(cr=tn),tn-=cr,rn.length-=cr;do _r[Wn++]=fa[Ea++];while(--cr);rn.length===0&&(rn.mode=ct);break;case ot:if(tn===0)break e;_r[Wn++]=rn.length,tn--,rn.mode=ct;break;case Ye:if(rn.wrap){for(;On<32;){if(Qn===0)break e;Qn--,Ln|=Fr[At++]<=1&&it[De]===0;De--);if(Ie>De&&(Ie=De),De===0)return te[fe++]=1<<24|64<<16|0,te[fe++]=1<<24|64<<16|0,me.bits=1,0;for(Ce=1;Ce0&&(y===ae||De!==1))return-1;for(ct[1]=0,ve=1;vere||y===le&&Fe>se)return 1;for(;;){Vt=ve-Te,Ae[Ee]Et?(mt=Rt[Lt+Ae[Ee]],ot=Bt[kt+Ae[Ee]]):(mt=96,ot=0),Je=1<>Te)+vt]=Vt<<24|mt<<16|ot|0;while(vt!==0);for(Je=1<>=1;if(Je!==0?(qe&=Je-1,qe+=Je):qe=0,Ee++,--it[ve]===0){if(ve===De)break;ve=x[E+Ae[Ee]]}if(ve>Ie&&(qe<)!==Ke){for(Te===0&&(Te=Ie),Ft+=Ce,Qe=ve-Te,ze=1<re||y===le&&Fe>se)return 1;Ke=qe<,te[Ke]=Ie<<24|Qe<<16|Ft-fe|0}}return qe!==0&&(te[Ft+qe]=ve-Te<<24|64<<16|0),me.bits=Ie,0}},70892:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var ye={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};Ze.default=ye},55796:function(Jt,Ze,ye){"use strict";function he(Ht){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(mn){return typeof mn}:he=function(mn){return mn&&typeof Symbol=="function"&&mn.constructor===Symbol&&mn!==Symbol.prototype?"symbol":typeof mn},he(Ht)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze._tr_init=St,Ze._tr_stored_block=nn,Ze._tr_flush_block=Bn,Ze._tr_tally=Rn,Ze._tr_align=fn;var ce=ge(ye(35986));function b(){if(typeof WeakMap!="function")return null;var Ht=new WeakMap;return b=function(){return Ht},Ht}function ge(Ht){if(Ht&&Ht.__esModule)return Ht;if(Ht===null||he(Ht)!=="object"&&typeof Ht!="function")return{default:Ht};var Fn=b();if(Fn&&Fn.has(Ht))return Fn.get(Ht);var mn={},Jn=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var hr in Ht)if(Object.prototype.hasOwnProperty.call(Ht,hr)){var ar=Jn?Object.getOwnPropertyDescriptor(Ht,hr):null;ar&&(ar.get||ar.set)?Object.defineProperty(mn,hr,ar):mn[hr]=Ht[hr]}return mn.default=Ht,Fn&&Fn.set(Ht,mn),mn}var de=4,re=0,se=1,ae=2;function ie(Ht){for(var Fn=Ht.length;--Fn>=0;)Ht[Fn]=0}var le=0,oe=1,ue=2,ne=3,z=258,a=29,y=256,x=y+1+a,E=30,ee=19,te=2*x+1,fe=15,Ae=16,me=7,pe=256,ve=16,Ee=17,Ce=18,De=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Ie=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Qe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ze=512,Fe=new Array((x+2)*2);ie(Fe);var qe=new Array(E*2);ie(qe);var Je=new Array(ze);ie(Je);var vt=new Array(z-ne+1);ie(vt);var Ke=new Array(a);ie(Ke);var lt=new Array(E);ie(lt);function Ft(Ht,Fn,mn,Jn,hr){this.static_tree=Ht,this.extra_bits=Fn,this.extra_base=mn,this.elems=Jn,this.max_length=hr,this.has_stree=Ht&&Ht.length}var Bt,kt,Et;function it(Ht,Fn){this.dyn_tree=Ht,this.max_code=0,this.stat_desc=Fn}function ct(Ht){return Ht<256?Je[Ht]:Je[256+(Ht>>>7)]}function Rt(Ht,Fn){Ht.pending_buf[Ht.pending++]=Fn&255,Ht.pending_buf[Ht.pending++]=Fn>>>8&255}function Lt(Ht,Fn,mn){Ht.bi_valid>Ae-mn?(Ht.bi_buf|=Fn<>Ae-Ht.bi_valid,Ht.bi_valid+=mn-Ae):(Ht.bi_buf|=Fn<>>=1,mn<<=1;while(--Fn>0);return mn>>>1}function ot(Ht){Ht.bi_valid===16?(Rt(Ht,Ht.bi_buf),Ht.bi_buf=0,Ht.bi_valid=0):Ht.bi_valid>=8&&(Ht.pending_buf[Ht.pending++]=Ht.bi_buf&255,Ht.bi_buf>>=8,Ht.bi_valid-=8)}function Ye(Ht,Fn){var mn=Fn.dyn_tree,Jn=Fn.max_code,hr=Fn.stat_desc.static_tree,ar=Fn.stat_desc.has_stree,Sn=Fn.stat_desc.extra_bits,or=Fn.stat_desc.extra_base,rn=Fn.stat_desc.max_length,Fr,_r,At,Wn,Qn,tn,Ln=0;for(Wn=0;Wn<=fe;Wn++)Ht.bl_count[Wn]=0;for(mn[Ht.heap[Ht.heap_max]*2+1]=0,Fr=Ht.heap_max+1;Frrn&&(Wn=rn,Ln++),mn[_r*2+1]=Wn,!(_r>Jn)&&(Ht.bl_count[Wn]++,Qn=0,_r>=or&&(Qn=Sn[_r-or]),tn=mn[_r*2],Ht.opt_len+=tn*(Wn+Qn),ar&&(Ht.static_len+=tn*(hr[_r*2+1]+Qn)));if(Ln!==0){do{for(Wn=rn-1;Ht.bl_count[Wn]===0;)Wn--;Ht.bl_count[Wn]--,Ht.bl_count[Wn+1]+=2,Ht.bl_count[rn]--,Ln-=2}while(Ln>0);for(Wn=rn;Wn!==0;Wn--)for(_r=Ht.bl_count[Wn];_r!==0;)At=Ht.heap[--Fr],!(At>Jn)&&(mn[At*2+1]!==Wn&&(Ht.opt_len+=(Wn-mn[At*2+1])*mn[At*2],mn[At*2+1]=Wn),_r--)}}function Nt(Ht,Fn,mn){var Jn=new Array(fe+1),hr=0,ar,Sn;for(ar=1;ar<=fe;ar++)Jn[ar]=hr=hr+mn[ar-1]<<1;for(Sn=0;Sn<=Fn;Sn++){var or=Ht[Sn*2+1];or!==0&&(Ht[Sn*2]=mt(Jn[or]++,or))}}function $e(){var Ht,Fn,mn,Jn,hr,ar=new Array(fe+1);for(mn=0,Jn=0;Jn>=7;Jn8?Rt(Ht,Ht.bi_buf):Ht.bi_valid>0&&(Ht.pending_buf[Ht.pending++]=Ht.bi_buf),Ht.bi_buf=0,Ht.bi_valid=0}function Ve(Ht,Fn,mn,Jn){Ue(Ht),Jn&&(Rt(Ht,mn),Rt(Ht,~mn)),ce.arraySet(Ht.pending_buf,Ht.window,Fn,mn,Ht.pending),Ht.pending+=mn}function We(Ht,Fn,mn,Jn){var hr=Fn*2,ar=mn*2;return Ht[hr]>1;Sn>=1;Sn--)Le(Ht,mn,Sn);Fr=ar;do Sn=Ht.heap[1],Ht.heap[1]=Ht.heap[Ht.heap_len--],Le(Ht,mn,1),or=Ht.heap[1],Ht.heap[--Ht.heap_max]=Sn,Ht.heap[--Ht.heap_max]=or,mn[Fr*2]=mn[Sn*2]+mn[or*2],Ht.depth[Fr]=(Ht.depth[Sn]>=Ht.depth[or]?Ht.depth[Sn]:Ht.depth[or])+1,mn[Sn*2+1]=mn[or*2+1]=Fr,Ht.heap[1]=Fr++,Le(Ht,mn,1);while(Ht.heap_len>=2);Ht.heap[--Ht.heap_max]=Ht.heap[1],Ye(Ht,Fn),Nt(mn,rn,Ht.bl_count)}function ut(Ht,Fn,mn){var Jn,hr=-1,ar,Sn=Fn[0*2+1],or=0,rn=7,Fr=4;for(Sn===0&&(rn=138,Fr=3),Fn[(mn+1)*2+1]=65535,Jn=0;Jn<=mn;Jn++)ar=Sn,Sn=Fn[(Jn+1)*2+1],!(++or=3&&Ht.bl_tree[Te[Fn]*2+1]===0;Fn--);return Ht.opt_len+=3*(Fn+1)+5+5+4,Fn}function Tt(Ht,Fn,mn,Jn){var hr;for(Lt(Ht,Fn-257,5),Lt(Ht,mn-1,5),Lt(Ht,Jn-4,4),hr=0;hr>>=1)if(Fn&1&&Ht.dyn_ltree[mn*2]!==0)return re;if(Ht.dyn_ltree[9*2]!==0||Ht.dyn_ltree[10*2]!==0||Ht.dyn_ltree[13*2]!==0)return se;for(mn=32;mn0?(Ht.strm.data_type===ae&&(Ht.strm.data_type=at(Ht)),Oe(Ht,Ht.l_desc),Oe(Ht,Ht.d_desc),Sn=Mt(Ht),hr=Ht.opt_len+3+7>>>3,ar=Ht.static_len+3+7>>>3,ar<=hr&&(hr=ar)):hr=ar=mn+5,mn+4<=hr&&Fn!==-1?nn(Ht,Fn,mn,Jn):Ht.strategy===de||ar===hr?(Lt(Ht,(oe<<1)+(Jn?1:0),3),je(Ht,Fe,qe)):(Lt(Ht,(ue<<1)+(Jn?1:0),3),Tt(Ht,Ht.l_desc.max_code+1,Ht.d_desc.max_code+1,Sn+1),je(Ht,Ht.dyn_ltree,Ht.dyn_dtree)),_e(Ht),Jn&&Ue(Ht)}function Rn(Ht,Fn,mn){return Ht.pending_buf[Ht.d_buf+Ht.last_lit*2]=Fn>>>8&255,Ht.pending_buf[Ht.d_buf+Ht.last_lit*2+1]=Fn&255,Ht.pending_buf[Ht.l_buf+Ht.last_lit]=mn&255,Ht.last_lit++,Fn===0?Ht.dyn_ltree[mn*2]++:(Ht.matches++,Fn--,Ht.dyn_ltree[(vt[mn]+y+1)*2]++,Ht.dyn_dtree[ct(Fn)*2]++),Ht.last_lit===Ht.lit_bufsize-1}},27589:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=ye;function ye(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},16327:function(Jt,Ze,ye){"use strict";function he(oe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(ne){return typeof ne}:he=function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},he(oe)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var ce=ge(ye(50500));function b(){if(typeof WeakMap!="function")return null;var oe=new WeakMap;return b=function(){return oe},oe}function ge(oe){if(oe&&oe.__esModule)return oe;if(oe===null||he(oe)!=="object"&&typeof oe!="function")return{default:oe};var ue=b();if(ue&&ue.has(oe))return ue.get(oe);var ne={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in oe)if(Object.prototype.hasOwnProperty.call(oe,a)){var y=z?Object.getOwnPropertyDescriptor(oe,a):null;y&&(y.get||y.set)?Object.defineProperty(ne,a,y):ne[a]=oe[a]}return ne.default=oe,ue&&ue.set(oe,ne),ne}function de(oe,ue){if(!(oe instanceof ue))throw new TypeError("Cannot call a class as a function")}function re(oe,ue){for(var ne=0;ne=0;a--)z+=this._rQ[this._rQi++]<1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+ne,z-ne)}},{key:"rQwait",value:function(ne,z,a){if(this.rQlen0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(ne){this._sQ.set(ne,this._sQlen),this._sQlen+=ne.length,this.flush()}},{key:"sendString",value:function(ne){this.send(ne.split("").map(function(z){return z.charCodeAt(0)}))}},{key:"off",value:function(ne){this._eventHandlers[ne]=function(){}}},{key:"on",value:function(ne,z){this._eventHandlers[ne]=z}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(ne,z){var a=this;this.init(),this._websocket=new WebSocket(ne,z),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){ce.Debug(">> WebSock.onopen"),a._websocket.protocol&&ce.Info("Server choose sub-protocol: "+a._websocket.protocol),a._eventHandlers.open(),ce.Debug("<< WebSock.onopen")},this._websocket.onclose=function(y){ce.Debug(">> WebSock.onclose"),a._eventHandlers.close(y),ce.Debug("<< WebSock.onclose")},this._websocket.onerror=function(y){ce.Debug(">> WebSock.onerror: "+y),a._eventHandlers.error(y),ce.Debug("<< WebSock.onerror: "+y)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(ce.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(ne){var z=(this._rQlen-this._rQi+ne)*8,a=this._rQbufferSizeie&&(this._rQbufferSize=ie,this._rQbufferSize-this.rQlenthis._rQbufferSize-this._rQlen&&this._expandCompactRQ(z.length),this._rQ.set(z,this._rQlen),this._rQlen+=z.length}},{key:"_recvMessage",value:function(ne){this._DecodeMessage(ne.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):ce.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(ne){this._rQi=ne}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),oe}();Ze.default=le},2637:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Object.defineProperty(Ze,"DraggableCore",{enumerable:!0,get:function(){return ae.default}}),Ze.default=void 0;var he=ue(ye(59301)),ce=le(ye(12708)),b=le(ye(4676)),ge=le(ye(57780)),de=ye(13957),re=ye(60976),se=ye(36641),ae=le(ye(80486)),ie=le(ye(94187));function le(E){return E&&E.__esModule?E:{default:E}}function oe(E){if(typeof WeakMap!="function")return null;var ee=new WeakMap,te=new WeakMap;return(oe=function(fe){return fe?te:ee})(E)}function ue(E,ee){if(!ee&&E&&E.__esModule)return E;if(E===null||typeof E!="object"&&typeof E!="function")return{default:E};var te=oe(ee);if(te&&te.has(E))return te.get(E);var fe={},Ae=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var me in E)if(me!=="default"&&Object.prototype.hasOwnProperty.call(E,me)){var pe=Ae?Object.getOwnPropertyDescriptor(E,me):null;pe&&(pe.get||pe.set)?Object.defineProperty(fe,me,pe):fe[me]=E[me]}return fe.default=E,te&&te.set(E,fe),fe}function ne(){return ne=Object.assign?Object.assign.bind():function(E){for(var ee=1;ee{if((0,ie.default)("Draggable: onDragStart: %j",fe),this.props.onStart(te,(0,re.createDraggableData)(this,fe))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),z(this,"onDrag",(te,fe)=>{if(!this.state.dragging)return!1;(0,ie.default)("Draggable: onDrag: %j",fe);const Ae=(0,re.createDraggableData)(this,fe),me={x:Ae.x,y:Ae.y,slackX:0,slackY:0};if(this.props.bounds){const{x:ve,y:Ee}=me;me.x+=this.state.slackX,me.y+=this.state.slackY;const[Ce,De]=(0,re.getBoundPosition)(this,me.x,me.y);me.x=Ce,me.y=De,me.slackX=this.state.slackX+(ve-me.x),me.slackY=this.state.slackY+(Ee-me.y),Ae.x=me.x,Ae.y=me.y,Ae.deltaX=me.x-this.state.x,Ae.deltaY=me.y-this.state.y}if(this.props.onDrag(te,Ae)===!1)return!1;this.setState(me)}),z(this,"onDragStop",(te,fe)=>{if(!this.state.dragging||this.props.onStop(te,(0,re.createDraggableData)(this,fe))===!1)return!1;(0,ie.default)("Draggable: onDragStop: %j",fe);const me={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:ve,y:Ee}=this.props.position;me.x=ve,me.y=Ee}this.setState(me)}),this.state={dragging:!1,dragged:!1,x:ee.position?ee.position.x:ee.defaultPosition.x,y:ee.position?ee.position.y:ee.defaultPosition.y,prevPropsPosition:el({},ee.position),slackX:0,slackY:0,isElementSVG:!1},ee.position&&!(ee.onDrag||ee.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var ee,te;return(ee=(te=this.props)===null||te===void 0||(te=te.nodeRef)===null||te===void 0?void 0:te.current)!==null&&ee!==void 0?ee:b.default.findDOMNode(this)}render(){const Ke=this.props,{axis:ee,bounds:te,children:fe,defaultPosition:Ae,defaultClassName:me,defaultClassNameDragging:pe,defaultClassNameDragged:ve,position:Ee,positionOffset:Ce,scale:De}=Ke,Ie=rh(Ke,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Qe={},Te=null;const Fe=!!!Ee||this.state.dragging,qe=Ee||Ae,Je={x:(0,re.canDragX)(this)&&Fe?this.state.x:qe.x,y:(0,re.canDragY)(this)&&Fe?this.state.y:qe.y};this.state.isElementSVG?Te=(0,de.createSVGTransform)(Je,Ce):Qe=(0,de.createCSSTransform)(Je,Ce);const vt=(0,ge.default)(fe.props.className||"",me,{[pe]:this.state.dragging,[ve]:this.state.dragged});return he.createElement(ae.default,ne({},Ie,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),he.cloneElement(he.Children.only(fe),{className:vt,style:el(el({},fe.props.style),Qe),transform:Te}))}}Ze.default=x,z(x,"displayName","Draggable"),z(x,"propTypes",Yd(el({},ae.default.propTypes),{axis:ce.default.oneOf(["both","x","y","none"]),bounds:ce.default.oneOfType([ce.default.shape({left:ce.default.number,right:ce.default.number,top:ce.default.number,bottom:ce.default.number}),ce.default.string,ce.default.oneOf([!1])]),defaultClassName:ce.default.string,defaultClassNameDragging:ce.default.string,defaultClassNameDragged:ce.default.string,defaultPosition:ce.default.shape({x:ce.default.number,y:ce.default.number}),positionOffset:ce.default.shape({x:ce.default.oneOfType([ce.default.number,ce.default.string]),y:ce.default.oneOfType([ce.default.number,ce.default.string])}),position:ce.default.shape({x:ce.default.number,y:ce.default.number}),className:se.dontSetMe,style:se.dontSetMe,transform:se.dontSetMe})),z(x,"defaultProps",Yd(el({},ae.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},80486:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var he=le(ye(59301)),ce=ae(ye(12708)),b=ae(ye(4676)),ge=ye(13957),de=ye(60976),re=ye(36641),se=ae(ye(94187));function ae(x){return x&&x.__esModule?x:{default:x}}function ie(x){if(typeof WeakMap!="function")return null;var E=new WeakMap,ee=new WeakMap;return(ie=function(te){return te?ee:E})(x)}function le(x,E){if(!E&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var ee=ie(E);if(ee&&ee.has(x))return ee.get(x);var te={},fe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ae in x)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(x,Ae)){var me=fe?Object.getOwnPropertyDescriptor(x,Ae):null;me&&(me.get||me.set)?Object.defineProperty(te,Ae,me):te[Ae]=x[Ae]}return te.default=x,ee&&ee.set(x,te),te}function oe(x,E,ee){return E=ue(E),E in x?Object.defineProperty(x,E,{value:ee,enumerable:!0,configurable:!0,writable:!0}):x[E]=ee,x}function ue(x){var E=ne(x,"string");return typeof E=="symbol"?E:String(E)}function ne(x,E){if(typeof x!="object"||x===null)return x;var ee=x[Symbol.toPrimitive];if(ee!==void 0){var te=ee.call(x,E||"default");if(typeof te!="object")return te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(x)}const z={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let a=z.mouse;class y extends he.Component{constructor(){super(...arguments),oe(this,"dragging",!1),oe(this,"lastX",NaN),oe(this,"lastY",NaN),oe(this,"touchIdentifier",null),oe(this,"mounted",!1),oe(this,"handleDragStart",E=>{if(this.props.onMouseDown(E),!this.props.allowAnyClick&&typeof E.button=="number"&&E.button!==0)return!1;const ee=this.findDOMNode();if(!ee||!ee.ownerDocument||!ee.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:te}=ee;if(this.props.disabled||!(E.target instanceof te.defaultView.Node)||this.props.handle&&!(0,ge.matchesSelectorAndParentsTo)(E.target,this.props.handle,ee)||this.props.cancel&&(0,ge.matchesSelectorAndParentsTo)(E.target,this.props.cancel,ee))return;E.type==="touchstart"&&E.preventDefault();const fe=(0,ge.getTouchIdentifier)(E);this.touchIdentifier=fe;const Ae=(0,de.getControlPosition)(E,fe,this);if(Ae==null)return;const{x:me,y:pe}=Ae,ve=(0,de.createCoreData)(this,me,pe);(0,se.default)("DraggableCore: handleDragStart: %j",ve),(0,se.default)("calling",this.props.onStart),!(this.props.onStart(E,ve)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ge.addUserSelectStyles)(te),this.dragging=!0,this.lastX=me,this.lastY=pe,(0,ge.addEvent)(te,a.move,this.handleDrag),(0,ge.addEvent)(te,a.stop,this.handleDragStop))}),oe(this,"handleDrag",E=>{const ee=(0,de.getControlPosition)(E,this.touchIdentifier,this);if(ee==null)return;let{x:te,y:fe}=ee;if(Array.isArray(this.props.grid)){let pe=te-this.lastX,ve=fe-this.lastY;if([pe,ve]=(0,de.snapToGrid)(this.props.grid,pe,ve),!pe&&!ve)return;te=this.lastX+pe,fe=this.lastY+ve}const Ae=(0,de.createCoreData)(this,te,fe);if((0,se.default)("DraggableCore: handleDrag: %j",Ae),this.props.onDrag(E,Ae)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(pe){const ve=document.createEvent("MouseEvents");ve.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(ve)}return}this.lastX=te,this.lastY=fe}),oe(this,"handleDragStop",E=>{if(!this.dragging)return;const ee=(0,de.getControlPosition)(E,this.touchIdentifier,this);if(ee==null)return;let{x:te,y:fe}=ee;if(Array.isArray(this.props.grid)){let ve=te-this.lastX||0,Ee=fe-this.lastY||0;[ve,Ee]=(0,de.snapToGrid)(this.props.grid,ve,Ee),te=this.lastX+ve,fe=this.lastY+Ee}const Ae=(0,de.createCoreData)(this,te,fe);if(this.props.onStop(E,Ae)===!1||this.mounted===!1)return!1;const pe=this.findDOMNode();pe&&this.props.enableUserSelectHack&&(0,ge.removeUserSelectStyles)(pe.ownerDocument),(0,se.default)("DraggableCore: handleDragStop: %j",Ae),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,pe&&((0,se.default)("DraggableCore: Removing handlers"),(0,ge.removeEvent)(pe.ownerDocument,a.move,this.handleDrag),(0,ge.removeEvent)(pe.ownerDocument,a.stop,this.handleDragStop))}),oe(this,"onMouseDown",E=>(a=z.mouse,this.handleDragStart(E))),oe(this,"onMouseUp",E=>(a=z.mouse,this.handleDragStop(E))),oe(this,"onTouchStart",E=>(a=z.touch,this.handleDragStart(E))),oe(this,"onTouchEnd",E=>(a=z.touch,this.handleDragStop(E)))}componentDidMount(){this.mounted=!0;const E=this.findDOMNode();E&&(0,ge.addEvent)(E,z.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const E=this.findDOMNode();if(E){const{ownerDocument:ee}=E;(0,ge.removeEvent)(ee,z.mouse.move,this.handleDrag),(0,ge.removeEvent)(ee,z.touch.move,this.handleDrag),(0,ge.removeEvent)(ee,z.mouse.stop,this.handleDragStop),(0,ge.removeEvent)(ee,z.touch.stop,this.handleDragStop),(0,ge.removeEvent)(E,z.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ge.removeUserSelectStyles)(ee)}}findDOMNode(){var E,ee;return(E=this.props)!==null&&E!==void 0&&E.nodeRef?(ee=this.props)===null||ee===void 0||(ee=ee.nodeRef)===null||ee===void 0?void 0:ee.current:b.default.findDOMNode(this)}render(){return he.cloneElement(he.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Ze.default=y,oe(y,"displayName","DraggableCore"),oe(y,"propTypes",{allowAnyClick:ce.default.bool,children:ce.default.node.isRequired,disabled:ce.default.bool,enableUserSelectHack:ce.default.bool,offsetParent:function(x,E){if(x[E]&&x[E].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:ce.default.arrayOf(ce.default.number),handle:ce.default.string,cancel:ce.default.string,nodeRef:ce.default.object,onStart:ce.default.func,onDrag:ce.default.func,onStop:ce.default.func,onMouseDown:ce.default.func,scale:ce.default.number,className:re.dontSetMe,style:re.dontSetMe,transform:re.dontSetMe}),oe(y,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},12911:function(Jt,Ze,ye){"use strict";const{default:he,DraggableCore:ce}=ye(2637);Jt.exports=he,Jt.exports.default=he,Jt.exports.DraggableCore=ce},13957:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.addClassName=Ae,Ze.addEvent=ae,Ze.addUserSelectStyles=te,Ze.createCSSTransform=a,Ze.createSVGTransform=y,Ze.getTouch=E,Ze.getTouchIdentifier=ee,Ze.getTranslation=x,Ze.innerHeight=ue,Ze.innerWidth=ne,Ze.matchesSelector=re,Ze.matchesSelectorAndParentsTo=se,Ze.offsetXYFromParent=z,Ze.outerHeight=le,Ze.outerWidth=oe,Ze.removeClassName=me,Ze.removeEvent=ie,Ze.removeUserSelectStyles=fe;var he=ye(36641),ce=ge(ye(32092));function b(pe){if(typeof WeakMap!="function")return null;var ve=new WeakMap,Ee=new WeakMap;return(b=function(Ce){return Ce?Ee:ve})(pe)}function ge(pe,ve){if(!ve&&pe&&pe.__esModule)return pe;if(pe===null||typeof pe!="object"&&typeof pe!="function")return{default:pe};var Ee=b(ve);if(Ee&&Ee.has(pe))return Ee.get(pe);var Ce={},De=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ie in pe)if(Ie!=="default"&&Object.prototype.hasOwnProperty.call(pe,Ie)){var Qe=De?Object.getOwnPropertyDescriptor(pe,Ie):null;Qe&&(Qe.get||Qe.set)?Object.defineProperty(Ce,Ie,Qe):Ce[Ie]=pe[Ie]}return Ce.default=pe,Ee&&Ee.set(pe,Ce),Ce}let de="";function re(pe,ve){return de||(de=(0,he.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Ee){return(0,he.isFunction)(pe[Ee])})),(0,he.isFunction)(pe[de])?pe[de](ve):!1}function se(pe,ve,Ee){let Ce=pe;do{if(re(Ce,ve))return!0;if(Ce===Ee)return!1;Ce=Ce.parentNode}while(Ce);return!1}function ae(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.addEventListener?pe.addEventListener(ve,Ee,De):pe.attachEvent?pe.attachEvent("on"+ve,Ee):pe["on"+ve]=Ee}function ie(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.removeEventListener?pe.removeEventListener(ve,Ee,De):pe.detachEvent?pe.detachEvent("on"+ve,Ee):pe["on"+ve]=null}function le(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderTopWidth),ve+=(0,he.int)(Ee.borderBottomWidth),ve}function oe(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderLeftWidth),ve+=(0,he.int)(Ee.borderRightWidth),ve}function ue(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingTop),ve-=(0,he.int)(Ee.paddingBottom),ve}function ne(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingLeft),ve-=(0,he.int)(Ee.paddingRight),ve}function z(pe,ve,Ee){const De=ve===ve.ownerDocument.body?{left:0,top:0}:ve.getBoundingClientRect(),Ie=(pe.clientX+ve.scrollLeft-De.left)/Ee,Qe=(pe.clientY+ve.scrollTop-De.top)/Ee;return{x:Ie,y:Qe}}function a(pe,ve){const Ee=x(pe,ve,"px");return{[(0,ce.browserPrefixToKey)("transform",ce.default)]:Ee}}function y(pe,ve){return x(pe,ve,"")}function x(pe,ve,Ee){let{x:Ce,y:De}=pe,Ie="translate(".concat(Ce).concat(Ee,",").concat(De).concat(Ee,")");if(ve){const Qe="".concat(typeof ve.x=="string"?ve.x:ve.x+Ee),Te="".concat(typeof ve.y=="string"?ve.y:ve.y+Ee);Ie="translate(".concat(Qe,", ").concat(Te,")")+Ie}return Ie}function E(pe,ve){return pe.targetTouches&&(0,he.findInArray)(pe.targetTouches,Ee=>ve===Ee.identifier)||pe.changedTouches&&(0,he.findInArray)(pe.changedTouches,Ee=>ve===Ee.identifier)}function ee(pe){if(pe.targetTouches&&pe.targetTouches[0])return pe.targetTouches[0].identifier;if(pe.changedTouches&&pe.changedTouches[0])return pe.changedTouches[0].identifier}function te(pe){if(!pe)return;let ve=pe.getElementById("react-draggable-style-el");ve||(ve=pe.createElement("style"),ve.type="text/css",ve.id="react-draggable-style-el",ve.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} +`);var nn=(0,ge.encodeUTF8)(Tt[St]+"\0");Zt.push(nn.length>>24&255,nn.length>>16&255,nn.length>>8&255,nn.length&255);for(var fn=0;fn>24,Zt[St+1]=Tt[at[nn]]>>16,Zt[St+2]=Tt[at[nn]]>>8,Zt[St+3]=Tt[at[nn]]>>0,St+=4,Zt[3]|=1<2&&arguments[2]!==void 0?arguments[2]:!1,at=Ct._sQ,Zt=Ct._sQlen;at[Zt]=6,at[Zt+1]=0,at[Zt+2]=0,at[Zt+3]=0;var St;Tt?St=(0,ce.toUnsigned32bit)(-Mt.length):St=Mt.length,at[Zt+4]=St>>24,at[Zt+5]=St>>16,at[Zt+6]=St>>8,at[Zt+7]=St,Ct._sQlen+=8;for(var nn=0,fn=Mt.length;fn>0;){for(var Bn=Math.min(fn,Ct._sQbufferSize-Ct._sQlen),Rn=0;Rn>8,St[nn+3]=Mt,St[nn+4]=Tt>>8,St[nn+5]=Tt,St[nn+6]=1,St[nn+7]=0,St[nn+8]=at>>24,St[nn+9]=at>>16,St[nn+10]=at>>8,St[nn+11]=at,St[nn+12]=0,St[nn+13]=0,St[nn+14]=0,St[nn+15]=0,St[nn+16]=Mt>>8,St[nn+17]=Mt,St[nn+18]=Tt>>8,St[nn+19]=Tt,St[nn+20]=Zt>>24,St[nn+21]=Zt>>16,St[nn+22]=Zt>>8,St[nn+23]=Zt,Ct._sQlen+=24,Ct.flush()},clientFence:function(Ct,Mt,Tt){var at=Ct._sQ,Zt=Ct._sQlen;at[Zt]=248,at[Zt+1]=0,at[Zt+2]=0,at[Zt+3]=0,at[Zt+4]=Mt>>24,at[Zt+5]=Mt>>16,at[Zt+6]=Mt>>8,at[Zt+7]=Mt;var St=Tt.length;at[Zt+8]=St;for(var nn=0;nn>8,nn[fn+3]=Tt,nn[fn+4]=at>>8,nn[fn+5]=at,nn[fn+6]=Zt>>8,nn[fn+7]=Zt,nn[fn+8]=St>>8,nn[fn+9]=St,Ct._sQlen+=10,Ct.flush()},pixelFormat:function(Ct,Mt,Tt){var at=Ct._sQ,Zt=Ct._sQlen,St;Mt>16?St=32:Mt>8?St=16:St=8;var nn=Math.floor(Mt/3);at[Zt]=0,at[Zt+1]=0,at[Zt+2]=0,at[Zt+3]=0,at[Zt+4]=St,at[Zt+5]=Mt,at[Zt+6]=0,at[Zt+7]=Tt?1:0,at[Zt+8]=0,at[Zt+9]=(1<>8,Tt[at+3]=Mt.length;for(var Zt=at+4,St=0;St>24,Tt[Zt+1]=nn>>16,Tt[Zt+2]=nn>>8,Tt[Zt+3]=nn,Zt+=4}Ct._sQlen+=Zt-at,Ct.flush()},fbUpdateRequest:function(Ct,Mt,Tt,at,Zt,St){var nn=Ct._sQ,fn=Ct._sQlen;typeof Tt=="undefined"&&(Tt=0),typeof at=="undefined"&&(at=0),nn[fn]=3,nn[fn+1]=Mt?1:0,nn[fn+2]=Tt>>8&255,nn[fn+3]=Tt&255,nn[fn+4]=at>>8&255,nn[fn+5]=at&255,nn[fn+6]=Zt>>8&255,nn[fn+7]=Zt&255,nn[fn+8]=St>>8&255,nn[fn+9]=St&255,Ct._sQlen+=10,Ct.flush()},xvpOp:function(Ct,Mt,Tt){var at=Ct._sQ,Zt=Ct._sQlen;at[Zt]=250,at[Zt+1]=0,at[Zt+2]=Mt,at[Zt+3]=Tt,Ct._sQlen+=4,Ct.flush()}},Oe.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},41895:function(Jt,Ze,ye){"use strict";function he(pe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(Ee){return typeof Ee}:he=function(Ee){return Ee&&typeof Symbol=="function"&&Ee.constructor===Symbol&&Ee!==Symbol.prototype?"symbol":typeof Ee},he(pe)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.isMac=x,Ze.isWindows=E,Ze.isIOS=ee,Ze.isSafari=te,Ze.isIE=fe,Ze.isEdge=Ae,Ze.isFirefox=me,Ze.hasScrollbarGutter=Ze.supportsImageMetadata=Ze.supportsCursorURIs=Ze.dragThreshold=Ze.isTouchDevice=void 0;var ce=ge(ye(50500));function b(){if(typeof WeakMap!="function")return null;var pe=new WeakMap;return b=function(){return pe},pe}function ge(pe){if(pe&&pe.__esModule)return pe;if(pe===null||he(pe)!=="object"&&typeof pe!="function")return{default:pe};var ve=b();if(ve&&ve.has(pe))return ve.get(pe);var Ee={},Ce=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var De in pe)if(Object.prototype.hasOwnProperty.call(pe,De)){var Ie=Ce?Object.getOwnPropertyDescriptor(pe,De):null;Ie&&(Ie.get||Ie.set)?Object.defineProperty(Ee,De,Ie):Ee[De]=pe[De]}return Ee.default=pe,ve&&ve.set(pe,Ee),Ee}var de=!1;Ze.isTouchDevice=de,window.addEventListener("touchstart",function(){},!1);var re=10*(window.devicePixelRatio||1);Ze.dragThreshold=re;var se=!1;try{var ae=document.createElement("canvas");ae.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',ae.style.cursor.indexOf("url")===0?(ce.Info("Data URI scheme cursor supported"),se=!0):ce.Warn("Data URI scheme cursor not supported")}catch(pe){ce.Error("Data URI scheme cursor test exception: "+pe)}var ie=se;Ze.supportsCursorURIs=ie;var le=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),le=!0}catch(pe){}var oe=le;Ze.supportsImageMetadata=oe;var ue=!0;try{var ne=document.createElement("div");ne.style.visibility="hidden",ne.style.overflow="scroll",document.body.appendChild(ne);var z=document.createElement("div");ne.appendChild(z);var a=ne.offsetWidth-z.offsetWidth;ne.parentNode.removeChild(ne),ue=a!=0}catch(pe){ce.Error("Scrollbar test exception: "+pe)}var y=ue;Ze.hasScrollbarGutter=y;function x(){return navigator&&!!/mac/i.exec(navigator.platform)}function E(){return navigator&&!!/win/i.exec(navigator.platform)}function ee(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function te(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function fe(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function Ae(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function me(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},54641:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var he=ye(41895);function ce(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function b(se,ae){for(var ie=0;ie=ge.right?de.x=ge.width-1:de.x=he-ge.left,ce=ge.bottom?de.y=ge.height-1:de.y=ce-ge.top,de}},79420:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.getPointerEvent=ye,Ze.stopEvent=he,Ze.setCapture=se,Ze.releaseCapture=ae;function ye(ie){return ie.changedTouches?ie.changedTouches[0]:ie.touches?ie.touches[0]:ie}function he(ie){ie.stopPropagation(),ie.preventDefault()}var ce=!1,b=null;document.captureElement=null;function ge(ie){if(!ce){var le=new ie.constructor(ie.type,ie);ce=!0,document.captureElement?document.captureElement.dispatchEvent(le):b.dispatchEvent(le),ce=!1,ie.stopPropagation(),le.defaultPrevented&&ie.preventDefault(),ie.type==="mouseup"&&ae()}}function de(){var ie=document.getElementById("noVNC_mouse_capture_elem");ie.style.cursor=window.getComputedStyle(document.captureElement).cursor}var re=new MutationObserver(de);function se(ie){if(ie.setCapture)ie.setCapture(),document.captureElement=ie,ie.addEventListener("mouseup",ae);else{ae();var le=document.getElementById("noVNC_mouse_capture_elem");le===null&&(le=document.createElement("div"),le.id="noVNC_mouse_capture_elem",le.style.position="fixed",le.style.top="0px",le.style.left="0px",le.style.width="100%",le.style.height="100%",le.style.zIndex=1e4,le.style.display="none",document.body.appendChild(le),le.addEventListener("contextmenu",ge),le.addEventListener("mousemove",ge),le.addEventListener("mouseup",ge)),document.captureElement=ie,re.observe(ie,{attributes:!0}),de(),le.style.display="",window.addEventListener("mousemove",ge),window.addEventListener("mouseup",ge)}}function ae(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;b=document.captureElement,document.captureElement=null,re.disconnect();var ie=document.getElementById("noVNC_mouse_capture_elem");ie.style.display="none",window.removeEventListener("mousemove",ge),window.removeEventListener("mouseup",ge)}}},5004:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;function ye(ge,de){if(!(ge instanceof de))throw new TypeError("Cannot call a class as a function")}function he(ge,de){for(var re=0;re>>0}function he(ce){return ce|0}},50500:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.initLogging=de,Ze.getLogging=re,Ze.Error=Ze.Warn=Ze.Info=Ze.Debug=void 0;var ye="warn",he=function(){};Ze.Debug=he;var ce=function(){};Ze.Info=ce;var b=function(){};Ze.Warn=b;var ge=function(){};Ze.Error=ge;function de(se){if(typeof se=="undefined"?se=ye:ye=se,Ze.Debug=he=Ze.Info=ce=Ze.Warn=b=Ze.Error=ge=function(){},typeof window.console!="undefined")switch(se){case"debug":Ze.Debug=he=console.debug.bind(window.console);case"info":Ze.Info=ce=console.info.bind(window.console);case"warn":Ze.Warn=b=console.warn.bind(window.console);case"error":Ze.Error=ge=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+se+"'")}}function re(){return ye}de()},21882:function(){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(Ze,ye){"use strict";if(Ze==null)throw new TypeError("Cannot convert undefined or null to object");for(var he=Object(Ze),ce=1;ce1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(ce))}catch(ge){if(ge instanceof URIError&&b)return ce;throw ge}}function he(ce){return unescape(encodeURIComponent(ce))}},35986:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.shrinkBuf=ye,Ze.arraySet=he,Ze.flattenChunks=ce,Ze.Buf32=Ze.Buf16=Ze.Buf8=void 0;function ye(re,se){return re.length===se?re:re.subarray?re.subarray(0,se):(re.length=se,re)}function he(re,se,ae,ie,le){if(se.subarray&&re.subarray){re.set(se.subarray(ae,ae+ie),le);return}for(var oe=0;oe>>16&65535|0,se=0;b!==0;){se=b>2e3?2e3:b,b-=se;do de=de+ce[ge++]|0,re=re+de|0;while(--se);de%=65521,re%=65521}return de|re<<16|0}},1217:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=ye;function ye(){for(var b,ge=[],de=0;de<256;de++){b=de;for(var re=0;re<8;re++)b=b&1?3988292384^b>>>1:b>>>1;ge[de]=b}return ge}var he=ye();function ce(b,ge,de,re){var se=he,ae=re+de;b^=-1;for(var ie=re;ie>>8^se[(b^ge[ie])&255];return b^-1}},25805:function(Jt,Ze,ye){"use strict";function he(At){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(Qn){return typeof Qn}:he=function(Qn){return Qn&&typeof Symbol=="function"&&Qn.constructor===Symbol&&Qn!==Symbol.prototype?"symbol":typeof Qn},he(At)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.deflateInit=Sn,Ze.deflateInit2=ar,Ze.deflateReset=Jn,Ze.deflateResetKeep=mn,Ze.deflateSetHeader=hr,Ze.deflate=or,Ze.deflateEnd=rn,Ze.deflateSetDictionary=Fr,Ze.deflateInfo=Ze.Z_DEFLATED=Ze.Z_UNKNOWN=Ze.Z_DEFAULT_STRATEGY=Ze.Z_FIXED=Ze.Z_RLE=Ze.Z_HUFFMAN_ONLY=Ze.Z_FILTERED=Ze.Z_DEFAULT_COMPRESSION=Ze.Z_BUF_ERROR=Ze.Z_DATA_ERROR=Ze.Z_STREAM_ERROR=Ze.Z_STREAM_END=Ze.Z_OK=Ze.Z_BLOCK=Ze.Z_FINISH=Ze.Z_FULL_FLUSH=Ze.Z_PARTIAL_FLUSH=Ze.Z_NO_FLUSH=void 0;var ce=ie(ye(35986)),b=ie(ye(55796)),ge=se(ye(97580)),de=se(ye(1217)),re=se(ye(70892));function se(At){return At&&At.__esModule?At:{default:At}}function ae(){if(typeof WeakMap!="function")return null;var At=new WeakMap;return ae=function(){return At},At}function ie(At){if(At&&At.__esModule)return At;if(At===null||he(At)!=="object"&&typeof At!="function")return{default:At};var Wn=ae();if(Wn&&Wn.has(At))return Wn.get(At);var Qn={},tn=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ln in At)if(Object.prototype.hasOwnProperty.call(At,Ln)){var On=tn?Object.getOwnPropertyDescriptor(At,Ln):null;On&&(On.get||On.set)?Object.defineProperty(Qn,Ln,On):Qn[Ln]=At[Ln]}return Qn.default=At,Wn&&Wn.set(At,Qn),Qn}var le=0;Ze.Z_NO_FLUSH=le;var oe=1;Ze.Z_PARTIAL_FLUSH=oe;var ue=3;Ze.Z_FULL_FLUSH=ue;var ne=4;Ze.Z_FINISH=ne;var z=5;Ze.Z_BLOCK=z;var a=0;Ze.Z_OK=a;var y=1;Ze.Z_STREAM_END=y;var x=-2;Ze.Z_STREAM_ERROR=x;var E=-3;Ze.Z_DATA_ERROR=E;var ee=-5;Ze.Z_BUF_ERROR=ee;var te=-1;Ze.Z_DEFAULT_COMPRESSION=te;var fe=1;Ze.Z_FILTERED=fe;var Ae=2;Ze.Z_HUFFMAN_ONLY=Ae;var me=3;Ze.Z_RLE=me;var pe=4;Ze.Z_FIXED=pe;var ve=0;Ze.Z_DEFAULT_STRATEGY=ve;var Ee=2;Ze.Z_UNKNOWN=Ee;var Ce=8;Ze.Z_DEFLATED=Ce;var De=9,Ie=15,Qe=8,Te=29,ze=256,Fe=ze+1+Te,qe=30,Je=19,vt=2*Fe+1,Ke=15,lt=3,Ft=258,Bt=Ft+lt+1,kt=32,Et=42,it=69,ct=73,Rt=91,Lt=103,Vt=113,mt=666,ot=1,Ye=2,Nt=3,$e=4,_e=3;function Ue(At,Wn){return At.msg=re.default[Wn],Wn}function Ve(At){return(At<<1)-(At>4?9:0)}function We(At){for(var Wn=At.length;--Wn>=0;)At[Wn]=0}function Le(At){var Wn=At.state,Qn=Wn.pending;Qn>At.avail_out&&(Qn=At.avail_out),Qn!==0&&(ce.arraySet(At.output,Wn.pending_buf,Wn.pending_out,Qn,At.next_out),At.next_out+=Qn,Wn.pending_out+=Qn,At.total_out+=Qn,At.avail_out-=Qn,Wn.pending-=Qn,Wn.pending===0&&(Wn.pending_out=0))}function je(At,Wn){b._tr_flush_block(At,At.block_start>=0?At.block_start:-1,At.strstart-At.block_start,Wn),At.block_start=At.strstart,Le(At.strm)}function Oe(At,Wn){At.pending_buf[At.pending++]=Wn}function ut(At,Wn){At.pending_buf[At.pending++]=Wn>>>8&255,At.pending_buf[At.pending++]=Wn&255}function Ct(At,Wn,Qn,tn){var Ln=At.avail_in;return Ln>tn&&(Ln=tn),Ln===0?0:(At.avail_in-=Ln,ce.arraySet(Wn,At.input,At.next_in,Ln,Qn),At.state.wrap===1?At.adler=(0,ge.default)(At.adler,Wn,Ln,Qn):At.state.wrap===2&&(At.adler=(0,de.default)(At.adler,Wn,Ln,Qn)),At.next_in+=Ln,At.total_in+=Ln,Ln)}function Mt(At,Wn){var Qn=At.max_chain_length,tn=At.strstart,Ln,On,vr=At.prev_length,Un=At.nice_match,cr=At.strstart>At.w_size-Bt?At.strstart-(At.w_size-Bt):0,Ea=At.window,fa=At.w_mask,Lr=At.prev,da=At.strstart+Ft,br=Ea[tn+vr-1],ke=Ea[tn+vr];At.prev_length>=At.good_match&&(Qn>>=2),Un>At.lookahead&&(Un=At.lookahead);do if(Ln=Wn,!(Ea[Ln+vr]!==ke||Ea[Ln+vr-1]!==br||Ea[Ln]!==Ea[tn]||Ea[++Ln]!==Ea[tn+1])){tn+=2,Ln++;do;while(Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&Ea[++tn]===Ea[++Ln]&&tnvr){if(At.match_start=Wn,vr=On,On>=Un)break;br=Ea[tn+vr-1],ke=Ea[tn+vr]}}while((Wn=Lr[Wn&fa])>cr&&--Qn!==0);return vr<=At.lookahead?vr:At.lookahead}function Tt(At){var Wn=At.w_size,Qn,tn,Ln,On,vr;do{if(On=At.window_size-At.lookahead-At.strstart,At.strstart>=Wn+(Wn-Bt)){ce.arraySet(At.window,At.window,Wn,Wn,0),At.match_start-=Wn,At.strstart-=Wn,At.block_start-=Wn,tn=At.hash_size,Qn=tn;do Ln=At.head[--Qn],At.head[Qn]=Ln>=Wn?Ln-Wn:0;while(--tn);tn=Wn,Qn=tn;do Ln=At.prev[--Qn],At.prev[Qn]=Ln>=Wn?Ln-Wn:0;while(--tn);On+=Wn}if(At.strm.avail_in===0)break;if(tn=Ct(At.strm,At.window,At.strstart+At.lookahead,On),At.lookahead+=tn,At.lookahead+At.insert>=lt)for(vr=At.strstart-At.insert,At.ins_h=At.window[vr],At.ins_h=(At.ins_h<At.pending_buf_size-5&&(Qn=At.pending_buf_size-5);;){if(At.lookahead<=1){if(Tt(At),At.lookahead===0&&Wn===le)return ot;if(At.lookahead===0)break}At.strstart+=At.lookahead,At.lookahead=0;var tn=At.block_start+Qn;if((At.strstart===0||At.strstart>=tn)&&(At.lookahead=At.strstart-tn,At.strstart=tn,je(At,!1),At.strm.avail_out===0)||At.strstart-At.block_start>=At.w_size-Bt&&(je(At,!1),At.strm.avail_out===0))return ot}return At.insert=0,Wn===ne?(je(At,!0),At.strm.avail_out===0?Nt:$e):(At.strstart>At.block_start&&(je(At,!1),At.strm.avail_out===0),ot)}function Zt(At,Wn){for(var Qn,tn;;){if(At.lookahead=lt&&(At.ins_h=(At.ins_h<=lt)if(tn=b._tr_tally(At,At.strstart-At.match_start,At.match_length-lt),At.lookahead-=At.match_length,At.match_length<=At.max_lazy_match&&At.lookahead>=lt){At.match_length--;do At.strstart++,At.ins_h=(At.ins_h<=lt&&(At.ins_h=(At.ins_h<4096)&&(At.match_length=lt-1)),At.prev_length>=lt&&At.match_length<=At.prev_length){Ln=At.strstart+At.lookahead-lt,tn=b._tr_tally(At,At.strstart-1-At.prev_match,At.prev_length-lt),At.lookahead-=At.prev_length-1,At.prev_length-=2;do++At.strstart<=Ln&&(At.ins_h=(At.ins_h<=lt&&At.strstart>0&&(Ln=At.strstart-1,tn=vr[Ln],tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln])){On=At.strstart+Ft;do;while(tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&tn===vr[++Ln]&&LnAt.lookahead&&(At.match_length=At.lookahead)}if(At.match_length>=lt?(Qn=b._tr_tally(At,1,At.match_length-lt),At.lookahead-=At.match_length,At.strstart+=At.match_length,At.match_length=0):(Qn=b._tr_tally(At,0,At.window[At.strstart]),At.lookahead--,At.strstart++),Qn&&(je(At,!1),At.strm.avail_out===0))return ot}return At.insert=0,Wn===ne?(je(At,!0),At.strm.avail_out===0?Nt:$e):At.last_lit&&(je(At,!1),At.strm.avail_out===0)?ot:Ye}function fn(At,Wn){for(var Qn;;){if(At.lookahead===0&&(Tt(At),At.lookahead===0)){if(Wn===le)return ot;break}if(At.match_length=0,Qn=b._tr_tally(At,0,At.window[At.strstart]),At.lookahead--,At.strstart++,Qn&&(je(At,!1),At.strm.avail_out===0))return ot}return At.insert=0,Wn===ne?(je(At,!0),At.strm.avail_out===0?Nt:$e):At.last_lit&&(je(At,!1),At.strm.avail_out===0)?ot:Ye}function Bn(At,Wn,Qn,tn,Ln){this.good_length=At,this.max_lazy=Wn,this.nice_length=Qn,this.max_chain=tn,this.func=Ln}var Rn;Rn=[new Bn(0,0,0,0,at),new Bn(4,4,8,4,Zt),new Bn(4,5,16,8,Zt),new Bn(4,6,32,32,Zt),new Bn(4,4,16,16,St),new Bn(8,16,32,32,St),new Bn(8,16,128,128,St),new Bn(8,32,128,256,St),new Bn(32,128,258,1024,St),new Bn(32,258,258,4096,St)];function Ht(At){At.window_size=2*At.w_size,We(At.head),At.max_lazy_match=Rn[At.level].max_lazy,At.good_match=Rn[At.level].good_length,At.nice_match=Rn[At.level].nice_length,At.max_chain_length=Rn[At.level].max_chain,At.strstart=0,At.block_start=0,At.lookahead=0,At.insert=0,At.match_length=At.prev_length=lt-1,At.match_available=0,At.ins_h=0}function Fn(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ce,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ce.Buf16(vt*2),this.dyn_dtree=new ce.Buf16((2*qe+1)*2),this.bl_tree=new ce.Buf16((2*Je+1)*2),We(this.dyn_ltree),We(this.dyn_dtree),We(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ce.Buf16(Ke+1),this.heap=new ce.Buf16(2*Fe+1),We(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ce.Buf16(2*Fe+1),We(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function mn(At){var Wn;return!At||!At.state?Ue(At,x):(At.total_in=At.total_out=0,At.data_type=Ee,Wn=At.state,Wn.pending=0,Wn.pending_out=0,Wn.wrap<0&&(Wn.wrap=-Wn.wrap),Wn.status=Wn.wrap?Et:Vt,At.adler=Wn.wrap===2?0:1,Wn.last_flush=le,b._tr_init(Wn),a)}function Jn(At){var Wn=mn(At);return Wn===a&&Ht(At.state),Wn}function hr(At,Wn){return!At||!At.state||At.state.wrap!==2?x:(At.state.gzhead=Wn,a)}function ar(At,Wn,Qn,tn,Ln,On){if(!At)return x;var vr=1;if(Wn===te&&(Wn=6),tn<0?(vr=0,tn=-tn):tn>15&&(vr=2,tn-=16),Ln<1||Ln>De||Qn!==Ce||tn<8||tn>15||Wn<0||Wn>9||On<0||On>pe)return Ue(At,x);tn===8&&(tn=9);var Un=new Fn;return At.state=Un,Un.strm=At,Un.wrap=vr,Un.gzhead=null,Un.w_bits=tn,Un.w_size=1<z||Wn<0)return At?Ue(At,x):x;if(tn=At.state,!At.output||!At.input&&At.avail_in!==0||tn.status===mt&&Wn!==ne)return Ue(At,At.avail_out===0?ee:x);if(tn.strm=At,Qn=tn.last_flush,tn.last_flush=Wn,tn.status===Et)if(tn.wrap===2)At.adler=0,Oe(tn,31),Oe(tn,139),Oe(tn,8),tn.gzhead?(Oe(tn,(tn.gzhead.text?1:0)+(tn.gzhead.hcrc?2:0)+(tn.gzhead.extra?4:0)+(tn.gzhead.name?8:0)+(tn.gzhead.comment?16:0)),Oe(tn,tn.gzhead.time&255),Oe(tn,tn.gzhead.time>>8&255),Oe(tn,tn.gzhead.time>>16&255),Oe(tn,tn.gzhead.time>>24&255),Oe(tn,tn.level===9?2:tn.strategy>=Ae||tn.level<2?4:0),Oe(tn,tn.gzhead.os&255),tn.gzhead.extra&&tn.gzhead.extra.length&&(Oe(tn,tn.gzhead.extra.length&255),Oe(tn,tn.gzhead.extra.length>>8&255)),tn.gzhead.hcrc&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending,0)),tn.gzindex=0,tn.status=it):(Oe(tn,0),Oe(tn,0),Oe(tn,0),Oe(tn,0),Oe(tn,0),Oe(tn,tn.level===9?2:tn.strategy>=Ae||tn.level<2?4:0),Oe(tn,_e),tn.status=Vt);else{var vr=Ce+(tn.w_bits-8<<4)<<8,Un=-1;tn.strategy>=Ae||tn.level<2?Un=0:tn.level<6?Un=1:tn.level===6?Un=2:Un=3,vr|=Un<<6,tn.strstart!==0&&(vr|=kt),vr+=31-vr%31,tn.status=Vt,ut(tn,vr),tn.strstart!==0&&(ut(tn,At.adler>>>16),ut(tn,At.adler&65535)),At.adler=1}if(tn.status===it)if(tn.gzhead.extra){for(Ln=tn.pending;tn.gzindex<(tn.gzhead.extra.length&65535)&&!(tn.pending===tn.pending_buf_size&&(tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),Le(At),Ln=tn.pending,tn.pending===tn.pending_buf_size));)Oe(tn,tn.gzhead.extra[tn.gzindex]&255),tn.gzindex++;tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),tn.gzindex===tn.gzhead.extra.length&&(tn.gzindex=0,tn.status=ct)}else tn.status=ct;if(tn.status===ct)if(tn.gzhead.name){Ln=tn.pending;do{if(tn.pending===tn.pending_buf_size&&(tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),Le(At),Ln=tn.pending,tn.pending===tn.pending_buf_size)){On=1;break}tn.gzindexLn&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),On===0&&(tn.gzindex=0,tn.status=Rt)}else tn.status=Rt;if(tn.status===Rt)if(tn.gzhead.comment){Ln=tn.pending;do{if(tn.pending===tn.pending_buf_size&&(tn.gzhead.hcrc&&tn.pending>Ln&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),Le(At),Ln=tn.pending,tn.pending===tn.pending_buf_size)){On=1;break}tn.gzindexLn&&(At.adler=(0,de.default)(At.adler,tn.pending_buf,tn.pending-Ln,Ln)),On===0&&(tn.status=Lt)}else tn.status=Lt;if(tn.status===Lt&&(tn.gzhead.hcrc?(tn.pending+2>tn.pending_buf_size&&Le(At),tn.pending+2<=tn.pending_buf_size&&(Oe(tn,At.adler&255),Oe(tn,At.adler>>8&255),At.adler=0,tn.status=Vt)):tn.status=Vt),tn.pending!==0){if(Le(At),At.avail_out===0)return tn.last_flush=-1,a}else if(At.avail_in===0&&Ve(Wn)<=Ve(Qn)&&Wn!==ne)return Ue(At,ee);if(tn.status===mt&&At.avail_in!==0)return Ue(At,ee);if(At.avail_in!==0||tn.lookahead!==0||Wn!==le&&tn.status!==mt){var cr=tn.strategy===Ae?fn(tn,Wn):tn.strategy===me?nn(tn,Wn):Rn[tn.level].func(tn,Wn);if((cr===Nt||cr===$e)&&(tn.status=mt),cr===ot||cr===Nt)return At.avail_out===0&&(tn.last_flush=-1),a;if(cr===Ye&&(Wn===oe?b._tr_align(tn):Wn!==z&&(b._tr_stored_block(tn,0,0,!1),Wn===ue&&(We(tn.head),tn.lookahead===0&&(tn.strstart=0,tn.block_start=0,tn.insert=0))),Le(At),At.avail_out===0))return tn.last_flush=-1,a}return Wn!==ne?a:tn.wrap<=0?y:(tn.wrap===2?(Oe(tn,At.adler&255),Oe(tn,At.adler>>8&255),Oe(tn,At.adler>>16&255),Oe(tn,At.adler>>24&255),Oe(tn,At.total_in&255),Oe(tn,At.total_in>>8&255),Oe(tn,At.total_in>>16&255),Oe(tn,At.total_in>>24&255)):(ut(tn,At.adler>>>16),ut(tn,At.adler&65535)),Le(At),tn.wrap>0&&(tn.wrap=-tn.wrap),tn.pending!==0?a:y)}function rn(At){var Wn;return!At||!At.state?x:(Wn=At.state.status,Wn!==Et&&Wn!==it&&Wn!==ct&&Wn!==Rt&&Wn!==Lt&&Wn!==Vt&&Wn!==mt?Ue(At,x):(At.state=null,Wn===Vt?Ue(At,E):a))}function Fr(At,Wn){var Qn=Wn.length,tn,Ln,On,vr,Un,cr,Ea,fa;if(!At||!At.state||(tn=At.state,vr=tn.wrap,vr===2||vr===1&&tn.status!==Et||tn.lookahead))return x;for(vr===1&&(At.adler=(0,ge.default)(At.adler,Wn,Qn,0)),tn.wrap=0,Qn>=tn.w_size&&(vr===0&&(We(tn.head),tn.strstart=0,tn.block_start=0,tn.insert=0),fa=new ce.Buf8(tn.w_size),ce.arraySet(fa,Wn,Qn-tn.w_size,tn.w_size,0),Wn=fa,Qn=tn.w_size),Un=At.avail_in,cr=At.next_in,Ea=At.input,At.avail_in=Qn,At.next_in=0,At.input=Wn,Tt(tn);tn.lookahead>=lt;){Ln=tn.strstart,On=tn.lookahead-(lt-1);do tn.ins_h=(tn.ins_h<>>24,y>>>=me,x-=me,me=Ae>>>16&255,me===0)Ie[ae++]=Ae&65535;else if(me&16){pe=Ae&65535,me&=15,me&&(x>>=me,x-=me),x<15&&(y+=De[re++]<>>24,y>>>=me,x-=me,me=Ae>>>16&255,me&16){if(ve=Ae&65535,me&=15,xoe){b.msg="invalid distance too far back",de.mode=ye;break e}if(y>>>=me,x-=me,me=ae-ie,ve>me){if(me=ve-me,me>ne&&de.sane){b.msg="invalid distance too far back",de.mode=ye;break e}if(Ee=0,Ce=a,z===0){if(Ee+=ue-me,me2;)Ie[ae++]=Ce[Ee++],Ie[ae++]=Ce[Ee++],Ie[ae++]=Ce[Ee++],pe-=3;pe&&(Ie[ae++]=Ce[Ee++],pe>1&&(Ie[ae++]=Ce[Ee++]))}else{Ee=ae-ve;do Ie[ae++]=Ie[Ee++],Ie[ae++]=Ie[Ee++],Ie[ae++]=Ie[Ee++],pe-=3;while(pe>2);pe&&(Ie[ae++]=Ie[Ee++],pe>1&&(Ie[ae++]=Ie[Ee++]))}}else if(me&64){b.msg="invalid distance code",de.mode=ye;break e}else{Ae=ee[(Ae&65535)+(y&(1<>3,re-=pe,x-=pe<<3,y&=(1<>>24&255)+(Sn>>>8&65280)+((Sn&65280)<<8)+((Sn&255)<<24)}function Ct(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new ce.Buf16(320),this.work=new ce.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Mt(Sn){var or;return!Sn||!Sn.state?ee:(or=Sn.state,Sn.total_in=Sn.total_out=or.total=0,Sn.msg="",or.wrap&&(Sn.adler=or.wrap&1),or.mode=pe,or.last=0,or.havedict=0,or.dmax=32768,or.head=null,or.hold=0,or.bits=0,or.lencode=or.lendyn=new ce.Buf32(We),or.distcode=or.distdyn=new ce.Buf32(Le),or.sane=1,or.back=-1,y)}function Tt(Sn){var or;return!Sn||!Sn.state?ee:(or=Sn.state,or.wsize=0,or.whave=0,or.wnext=0,Mt(Sn))}function at(Sn,or){var rn,Fr;return!Sn||!Sn.state||(Fr=Sn.state,or<0?(rn=0,or=-or):(rn=(or>>4)+1,or<48&&(or&=15)),or&&(or<8||or>15))?ee:(Fr.window!==null&&Fr.wbits!==or&&(Fr.window=null),Fr.wrap=rn,Fr.wbits=or,Tt(Sn))}function Zt(Sn,or){var rn,Fr;return Sn?(Fr=new Ct,Sn.state=Fr,Fr.window=null,rn=at(Sn,or),rn!==y&&(Sn.state=null),rn):ee}function St(Sn){return Zt(Sn,Oe)}var nn=!0,fn,Bn;function Rn(Sn){if(nn){var or;for(fn=new ce.Buf32(512),Bn=new ce.Buf32(32),or=0;or<144;)Sn.lens[or++]=8;for(;or<256;)Sn.lens[or++]=9;for(;or<280;)Sn.lens[or++]=7;for(;or<288;)Sn.lens[or++]=8;for((0,re.default)(oe,Sn.lens,0,288,fn,0,Sn.work,{bits:9}),or=0;or<32;)Sn.lens[or++]=5;(0,re.default)(ue,Sn.lens,0,32,Bn,0,Sn.work,{bits:5}),nn=!1}Sn.lencode=fn,Sn.lenbits=9,Sn.distcode=Bn,Sn.distbits=5}function Ht(Sn,or,rn,Fr){var _r,At=Sn.state;return At.window===null&&(At.wsize=1<=At.wsize?(ce.arraySet(At.window,or,rn-At.wsize,At.wsize,0),At.wnext=0,At.whave=At.wsize):(_r=At.wsize-At.wnext,_r>Fr&&(_r=Fr),ce.arraySet(At.window,or,rn-Fr,_r,At.wnext),Fr-=_r,Fr?(ce.arraySet(At.window,or,rn-Fr,Fr,0),At.wnext=Fr,At.whave=At.wsize):(At.wnext+=_r,At.wnext===At.wsize&&(At.wnext=0),At.whave>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0),Ln=0,On=0,rn.mode=ve;break}if(rn.flags=0,rn.head&&(rn.head.done=!1),!(rn.wrap&1)||(((Ln&255)<<8)+(Ln>>8))%31){Sn.msg="incorrect header check",rn.mode=_e;break}if((Ln&15)!==me){Sn.msg="unknown compression method",rn.mode=_e;break}if(Ln>>>=4,On-=4,st=(Ln&15)+8,rn.wbits===0)rn.wbits=st;else if(st>rn.wbits){Sn.msg="invalid window size",rn.mode=_e;break}rn.dmax=1<>8&1),rn.flags&512&&(hn[0]=Ln&255,hn[1]=Ln>>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0)),Ln=0,On=0,rn.mode=Ee;case Ee:for(;On<32;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>8&255,hn[2]=Ln>>>16&255,hn[3]=Ln>>>24&255,rn.check=(0,ge.default)(rn.check,hn,4,0)),Ln=0,On=0,rn.mode=Ce;case Ce:for(;On<16;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>8),rn.flags&512&&(hn[0]=Ln&255,hn[1]=Ln>>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0)),Ln=0,On=0,rn.mode=De;case De:if(rn.flags&1024){for(;On<16;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>8&255,rn.check=(0,ge.default)(rn.check,hn,2,0)),Ln=0,On=0}else rn.head&&(rn.head.extra=null);rn.mode=Ie;case Ie:if(rn.flags&1024&&(cr=rn.length,cr>Qn&&(cr=Qn),cr&&(rn.head&&(st=rn.head.extra_len-rn.length,rn.head.extra||(rn.head.extra=new Array(rn.head.extra_len)),ce.arraySet(rn.head.extra,Fr,At,cr,st)),rn.flags&512&&(rn.check=(0,ge.default)(rn.check,Fr,cr,At)),Qn-=cr,At+=cr,rn.length-=cr),rn.length))break e;rn.length=0,rn.mode=Qe;case Qe:if(rn.flags&2048){if(Qn===0)break e;cr=0;do st=Fr[At+cr++],rn.head&&st&&rn.length<65536&&(rn.head.name+=String.fromCharCode(st));while(st&&cr>9&1,rn.head.done=!0),Sn.adler=rn.check=0,rn.mode=Je;break;case Fe:for(;On<32;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=On&7,On-=On&7,rn.mode=Ye;break}for(;On<3;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=1,On-=1,Ln&3){case 0:rn.mode=Ke;break;case 1:if(Rn(rn),rn.mode=it,or===a){Ln>>>=2,On-=2;break e}break;case 2:rn.mode=Bt;break;case 3:Sn.msg="invalid block type",rn.mode=_e}Ln>>>=2,On-=2;break;case Ke:for(Ln>>>=On&7,On-=On&7;On<32;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>16^65535)){Sn.msg="invalid stored block lengths",rn.mode=_e;break}if(rn.length=Ln&65535,Ln=0,On=0,rn.mode=lt,or===a)break e;case lt:rn.mode=Ft;case Ft:if(cr=rn.length,cr){if(cr>Qn&&(cr=Qn),cr>tn&&(cr=tn),cr===0)break e;ce.arraySet(_r,Fr,At,cr,Wn),Qn-=cr,At+=cr,tn-=cr,Wn+=cr,rn.length-=cr;break}rn.mode=Je;break;case Bt:for(;On<14;){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=5,On-=5,rn.ndist=(Ln&31)+1,Ln>>>=5,On-=5,rn.ncode=(Ln&15)+4,Ln>>>=4,On-=4,rn.nlen>286||rn.ndist>30){Sn.msg="too many length or distance symbols",rn.mode=_e;break}rn.have=0,rn.mode=kt;case kt:for(;rn.have>>=3,On-=3}for(;rn.have<19;)rn.lens[ir[rn.have++]]=0;if(rn.lencode=rn.lendyn,rn.lenbits=7,Xn={bits:rn.lenbits},en=(0,re.default)(le,rn.lens,0,19,rn.lencode,0,rn.work,Xn),rn.lenbits=Xn.bits,en){Sn.msg="invalid code lengths set",rn.mode=_e;break}rn.have=0,rn.mode=Et;case Et:for(;rn.have>>24,br=Lr>>>16&255,ke=Lr&65535,!(da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=da,On-=da,rn.lens[rn.have++]=ke;else{if(ke===16){for(kn=da+2;On>>=da,On-=da,rn.have===0){Sn.msg="invalid bit length repeat",rn.mode=_e;break}st=rn.lens[rn.have-1],cr=3+(Ln&3),Ln>>>=2,On-=2}else if(ke===17){for(kn=da+3;On>>=da,On-=da,st=0,cr=3+(Ln&7),Ln>>>=3,On-=3}else{for(kn=da+7;On>>=da,On-=da,st=0,cr=11+(Ln&127),Ln>>>=7,On-=7}if(rn.have+cr>rn.nlen+rn.ndist){Sn.msg="invalid bit length repeat",rn.mode=_e;break}for(;cr--;)rn.lens[rn.have++]=st}}if(rn.mode===_e)break;if(rn.lens[256]===0){Sn.msg="invalid code -- missing end-of-block",rn.mode=_e;break}if(rn.lenbits=9,Xn={bits:rn.lenbits},en=(0,re.default)(oe,rn.lens,0,rn.nlen,rn.lencode,0,rn.work,Xn),rn.lenbits=Xn.bits,en){Sn.msg="invalid literal/lengths set",rn.mode=_e;break}if(rn.distbits=6,rn.distcode=rn.distdyn,Xn={bits:rn.distbits},en=(0,re.default)(ue,rn.lens,rn.nlen,rn.ndist,rn.distcode,0,rn.work,Xn),rn.distbits=Xn.bits,en){Sn.msg="invalid distances set",rn.mode=_e;break}if(rn.mode=it,or===a)break e;case it:rn.mode=ct;case ct:if(Qn>=6&&tn>=258){Sn.next_out=Wn,Sn.avail_out=tn,Sn.next_in=At,Sn.avail_in=Qn,rn.hold=Ln,rn.bits=On,(0,de.default)(Sn,Un),Wn=Sn.next_out,_r=Sn.output,tn=Sn.avail_out,At=Sn.next_in,Fr=Sn.input,Qn=Sn.avail_in,Ln=rn.hold,On=rn.bits,rn.mode===Je&&(rn.back=-1);break}for(rn.back=0;Lr=rn.lencode[Ln&(1<>>24,br=Lr>>>16&255,ke=Lr&65535,!(da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>Me)],da=Lr>>>24,br=Lr>>>16&255,ke=Lr&65535,!(Me+da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=Me,On-=Me,rn.back+=Me}if(Ln>>>=da,On-=da,rn.back+=da,rn.length=ke,br===0){rn.mode=ot;break}if(br&32){rn.back=-1,rn.mode=Je;break}if(br&64){Sn.msg="invalid literal/length code",rn.mode=_e;break}rn.extra=br&15,rn.mode=Rt;case Rt:if(rn.extra){for(kn=rn.extra;On>>=rn.extra,On-=rn.extra,rn.back+=rn.extra}rn.was=rn.length,rn.mode=Lt;case Lt:for(;Lr=rn.distcode[Ln&(1<>>24,br=Lr>>>16&255,ke=Lr&65535,!(da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>Me)],da=Lr>>>24,br=Lr>>>16&255,ke=Lr&65535,!(Me+da<=On);){if(Qn===0)break e;Qn--,Ln+=Fr[At++]<>>=Me,On-=Me,rn.back+=Me}if(Ln>>>=da,On-=da,rn.back+=da,br&64){Sn.msg="invalid distance code",rn.mode=_e;break}rn.offset=ke,rn.extra=br&15,rn.mode=Vt;case Vt:if(rn.extra){for(kn=rn.extra;On>>=rn.extra,On-=rn.extra,rn.back+=rn.extra}if(rn.offset>rn.dmax){Sn.msg="invalid distance too far back",rn.mode=_e;break}rn.mode=mt;case mt:if(tn===0)break e;if(cr=Un-tn,rn.offset>cr){if(cr=rn.offset-cr,cr>rn.whave&&rn.sane){Sn.msg="invalid distance too far back",rn.mode=_e;break}cr>rn.wnext?(cr-=rn.wnext,Ea=rn.wsize-cr):Ea=rn.wnext-cr,cr>rn.length&&(cr=rn.length),fa=rn.window}else fa=_r,Ea=Wn-rn.offset,cr=rn.length;cr>tn&&(cr=tn),tn-=cr,rn.length-=cr;do _r[Wn++]=fa[Ea++];while(--cr);rn.length===0&&(rn.mode=ct);break;case ot:if(tn===0)break e;_r[Wn++]=rn.length,tn--,rn.mode=ct;break;case Ye:if(rn.wrap){for(;On<32;){if(Qn===0)break e;Qn--,Ln|=Fr[At++]<=1&&it[De]===0;De--);if(Ie>De&&(Ie=De),De===0)return te[fe++]=1<<24|64<<16|0,te[fe++]=1<<24|64<<16|0,me.bits=1,0;for(Ce=1;Ce0&&(y===ae||De!==1))return-1;for(ct[1]=0,ve=1;vere||y===le&&Fe>se)return 1;for(;;){Vt=ve-Te,Ae[Ee]Et?(mt=Rt[Lt+Ae[Ee]],ot=Bt[kt+Ae[Ee]]):(mt=96,ot=0),Je=1<>Te)+vt]=Vt<<24|mt<<16|ot|0;while(vt!==0);for(Je=1<>=1;if(Je!==0?(qe&=Je-1,qe+=Je):qe=0,Ee++,--it[ve]===0){if(ve===De)break;ve=x[E+Ae[Ee]]}if(ve>Ie&&(qe<)!==Ke){for(Te===0&&(Te=Ie),Ft+=Ce,Qe=ve-Te,ze=1<re||y===le&&Fe>se)return 1;Ke=qe<,te[Ke]=Ie<<24|Qe<<16|Ft-fe|0}}return qe!==0&&(te[Ft+qe]=ve-Te<<24|64<<16|0),me.bits=Ie,0}},70892:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var ye={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};Ze.default=ye},55796:function(Jt,Ze,ye){"use strict";function he(Ht){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(mn){return typeof mn}:he=function(mn){return mn&&typeof Symbol=="function"&&mn.constructor===Symbol&&mn!==Symbol.prototype?"symbol":typeof mn},he(Ht)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze._tr_init=St,Ze._tr_stored_block=nn,Ze._tr_flush_block=Bn,Ze._tr_tally=Rn,Ze._tr_align=fn;var ce=ge(ye(35986));function b(){if(typeof WeakMap!="function")return null;var Ht=new WeakMap;return b=function(){return Ht},Ht}function ge(Ht){if(Ht&&Ht.__esModule)return Ht;if(Ht===null||he(Ht)!=="object"&&typeof Ht!="function")return{default:Ht};var Fn=b();if(Fn&&Fn.has(Ht))return Fn.get(Ht);var mn={},Jn=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var hr in Ht)if(Object.prototype.hasOwnProperty.call(Ht,hr)){var ar=Jn?Object.getOwnPropertyDescriptor(Ht,hr):null;ar&&(ar.get||ar.set)?Object.defineProperty(mn,hr,ar):mn[hr]=Ht[hr]}return mn.default=Ht,Fn&&Fn.set(Ht,mn),mn}var de=4,re=0,se=1,ae=2;function ie(Ht){for(var Fn=Ht.length;--Fn>=0;)Ht[Fn]=0}var le=0,oe=1,ue=2,ne=3,z=258,a=29,y=256,x=y+1+a,E=30,ee=19,te=2*x+1,fe=15,Ae=16,me=7,pe=256,ve=16,Ee=17,Ce=18,De=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Ie=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Qe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ze=512,Fe=new Array((x+2)*2);ie(Fe);var qe=new Array(E*2);ie(qe);var Je=new Array(ze);ie(Je);var vt=new Array(z-ne+1);ie(vt);var Ke=new Array(a);ie(Ke);var lt=new Array(E);ie(lt);function Ft(Ht,Fn,mn,Jn,hr){this.static_tree=Ht,this.extra_bits=Fn,this.extra_base=mn,this.elems=Jn,this.max_length=hr,this.has_stree=Ht&&Ht.length}var Bt,kt,Et;function it(Ht,Fn){this.dyn_tree=Ht,this.max_code=0,this.stat_desc=Fn}function ct(Ht){return Ht<256?Je[Ht]:Je[256+(Ht>>>7)]}function Rt(Ht,Fn){Ht.pending_buf[Ht.pending++]=Fn&255,Ht.pending_buf[Ht.pending++]=Fn>>>8&255}function Lt(Ht,Fn,mn){Ht.bi_valid>Ae-mn?(Ht.bi_buf|=Fn<>Ae-Ht.bi_valid,Ht.bi_valid+=mn-Ae):(Ht.bi_buf|=Fn<>>=1,mn<<=1;while(--Fn>0);return mn>>>1}function ot(Ht){Ht.bi_valid===16?(Rt(Ht,Ht.bi_buf),Ht.bi_buf=0,Ht.bi_valid=0):Ht.bi_valid>=8&&(Ht.pending_buf[Ht.pending++]=Ht.bi_buf&255,Ht.bi_buf>>=8,Ht.bi_valid-=8)}function Ye(Ht,Fn){var mn=Fn.dyn_tree,Jn=Fn.max_code,hr=Fn.stat_desc.static_tree,ar=Fn.stat_desc.has_stree,Sn=Fn.stat_desc.extra_bits,or=Fn.stat_desc.extra_base,rn=Fn.stat_desc.max_length,Fr,_r,At,Wn,Qn,tn,Ln=0;for(Wn=0;Wn<=fe;Wn++)Ht.bl_count[Wn]=0;for(mn[Ht.heap[Ht.heap_max]*2+1]=0,Fr=Ht.heap_max+1;Frrn&&(Wn=rn,Ln++),mn[_r*2+1]=Wn,!(_r>Jn)&&(Ht.bl_count[Wn]++,Qn=0,_r>=or&&(Qn=Sn[_r-or]),tn=mn[_r*2],Ht.opt_len+=tn*(Wn+Qn),ar&&(Ht.static_len+=tn*(hr[_r*2+1]+Qn)));if(Ln!==0){do{for(Wn=rn-1;Ht.bl_count[Wn]===0;)Wn--;Ht.bl_count[Wn]--,Ht.bl_count[Wn+1]+=2,Ht.bl_count[rn]--,Ln-=2}while(Ln>0);for(Wn=rn;Wn!==0;Wn--)for(_r=Ht.bl_count[Wn];_r!==0;)At=Ht.heap[--Fr],!(At>Jn)&&(mn[At*2+1]!==Wn&&(Ht.opt_len+=(Wn-mn[At*2+1])*mn[At*2],mn[At*2+1]=Wn),_r--)}}function Nt(Ht,Fn,mn){var Jn=new Array(fe+1),hr=0,ar,Sn;for(ar=1;ar<=fe;ar++)Jn[ar]=hr=hr+mn[ar-1]<<1;for(Sn=0;Sn<=Fn;Sn++){var or=Ht[Sn*2+1];or!==0&&(Ht[Sn*2]=mt(Jn[or]++,or))}}function $e(){var Ht,Fn,mn,Jn,hr,ar=new Array(fe+1);for(mn=0,Jn=0;Jn>=7;Jn8?Rt(Ht,Ht.bi_buf):Ht.bi_valid>0&&(Ht.pending_buf[Ht.pending++]=Ht.bi_buf),Ht.bi_buf=0,Ht.bi_valid=0}function Ve(Ht,Fn,mn,Jn){Ue(Ht),Jn&&(Rt(Ht,mn),Rt(Ht,~mn)),ce.arraySet(Ht.pending_buf,Ht.window,Fn,mn,Ht.pending),Ht.pending+=mn}function We(Ht,Fn,mn,Jn){var hr=Fn*2,ar=mn*2;return Ht[hr]>1;Sn>=1;Sn--)Le(Ht,mn,Sn);Fr=ar;do Sn=Ht.heap[1],Ht.heap[1]=Ht.heap[Ht.heap_len--],Le(Ht,mn,1),or=Ht.heap[1],Ht.heap[--Ht.heap_max]=Sn,Ht.heap[--Ht.heap_max]=or,mn[Fr*2]=mn[Sn*2]+mn[or*2],Ht.depth[Fr]=(Ht.depth[Sn]>=Ht.depth[or]?Ht.depth[Sn]:Ht.depth[or])+1,mn[Sn*2+1]=mn[or*2+1]=Fr,Ht.heap[1]=Fr++,Le(Ht,mn,1);while(Ht.heap_len>=2);Ht.heap[--Ht.heap_max]=Ht.heap[1],Ye(Ht,Fn),Nt(mn,rn,Ht.bl_count)}function ut(Ht,Fn,mn){var Jn,hr=-1,ar,Sn=Fn[0*2+1],or=0,rn=7,Fr=4;for(Sn===0&&(rn=138,Fr=3),Fn[(mn+1)*2+1]=65535,Jn=0;Jn<=mn;Jn++)ar=Sn,Sn=Fn[(Jn+1)*2+1],!(++or=3&&Ht.bl_tree[Te[Fn]*2+1]===0;Fn--);return Ht.opt_len+=3*(Fn+1)+5+5+4,Fn}function Tt(Ht,Fn,mn,Jn){var hr;for(Lt(Ht,Fn-257,5),Lt(Ht,mn-1,5),Lt(Ht,Jn-4,4),hr=0;hr>>=1)if(Fn&1&&Ht.dyn_ltree[mn*2]!==0)return re;if(Ht.dyn_ltree[9*2]!==0||Ht.dyn_ltree[10*2]!==0||Ht.dyn_ltree[13*2]!==0)return se;for(mn=32;mn0?(Ht.strm.data_type===ae&&(Ht.strm.data_type=at(Ht)),Oe(Ht,Ht.l_desc),Oe(Ht,Ht.d_desc),Sn=Mt(Ht),hr=Ht.opt_len+3+7>>>3,ar=Ht.static_len+3+7>>>3,ar<=hr&&(hr=ar)):hr=ar=mn+5,mn+4<=hr&&Fn!==-1?nn(Ht,Fn,mn,Jn):Ht.strategy===de||ar===hr?(Lt(Ht,(oe<<1)+(Jn?1:0),3),je(Ht,Fe,qe)):(Lt(Ht,(ue<<1)+(Jn?1:0),3),Tt(Ht,Ht.l_desc.max_code+1,Ht.d_desc.max_code+1,Sn+1),je(Ht,Ht.dyn_ltree,Ht.dyn_dtree)),_e(Ht),Jn&&Ue(Ht)}function Rn(Ht,Fn,mn){return Ht.pending_buf[Ht.d_buf+Ht.last_lit*2]=Fn>>>8&255,Ht.pending_buf[Ht.d_buf+Ht.last_lit*2+1]=Fn&255,Ht.pending_buf[Ht.l_buf+Ht.last_lit]=mn&255,Ht.last_lit++,Fn===0?Ht.dyn_ltree[mn*2]++:(Ht.matches++,Fn--,Ht.dyn_ltree[(vt[mn]+y+1)*2]++,Ht.dyn_dtree[ct(Fn)*2]++),Ht.last_lit===Ht.lit_bufsize-1}},27589:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=ye;function ye(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},16327:function(Jt,Ze,ye){"use strict";function he(oe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=function(ne){return typeof ne}:he=function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},he(oe)}Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var ce=ge(ye(50500));function b(){if(typeof WeakMap!="function")return null;var oe=new WeakMap;return b=function(){return oe},oe}function ge(oe){if(oe&&oe.__esModule)return oe;if(oe===null||he(oe)!=="object"&&typeof oe!="function")return{default:oe};var ue=b();if(ue&&ue.has(oe))return ue.get(oe);var ne={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in oe)if(Object.prototype.hasOwnProperty.call(oe,a)){var y=z?Object.getOwnPropertyDescriptor(oe,a):null;y&&(y.get||y.set)?Object.defineProperty(ne,a,y):ne[a]=oe[a]}return ne.default=oe,ue&&ue.set(oe,ne),ne}function de(oe,ue){if(!(oe instanceof ue))throw new TypeError("Cannot call a class as a function")}function re(oe,ue){for(var ne=0;ne=0;a--)z+=this._rQ[this._rQi++]<1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+ne,z-ne)}},{key:"rQwait",value:function(ne,z,a){if(this.rQlen0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(ne){this._sQ.set(ne,this._sQlen),this._sQlen+=ne.length,this.flush()}},{key:"sendString",value:function(ne){this.send(ne.split("").map(function(z){return z.charCodeAt(0)}))}},{key:"off",value:function(ne){this._eventHandlers[ne]=function(){}}},{key:"on",value:function(ne,z){this._eventHandlers[ne]=z}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(ne,z){var a=this;this.init(),this._websocket=new WebSocket(ne,z),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){ce.Debug(">> WebSock.onopen"),a._websocket.protocol&&ce.Info("Server choose sub-protocol: "+a._websocket.protocol),a._eventHandlers.open(),ce.Debug("<< WebSock.onopen")},this._websocket.onclose=function(y){ce.Debug(">> WebSock.onclose"),a._eventHandlers.close(y),ce.Debug("<< WebSock.onclose")},this._websocket.onerror=function(y){ce.Debug(">> WebSock.onerror: "+y),a._eventHandlers.error(y),ce.Debug("<< WebSock.onerror: "+y)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(ce.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(ne){var z=(this._rQlen-this._rQi+ne)*8,a=this._rQbufferSizeie&&(this._rQbufferSize=ie,this._rQbufferSize-this.rQlenthis._rQbufferSize-this._rQlen&&this._expandCompactRQ(z.length),this._rQ.set(z,this._rQlen),this._rQlen+=z.length}},{key:"_recvMessage",value:function(ne){this._DecodeMessage(ne.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):ce.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(ne){this._rQi=ne}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),oe}();Ze.default=le},2637:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Object.defineProperty(Ze,"DraggableCore",{enumerable:!0,get:function(){return ae.default}}),Ze.default=void 0;var he=ue(ye(59301)),ce=le(ye(12708)),b=le(ye(4676)),ge=le(ye(57780)),de=ye(13957),re=ye(9479),se=ye(36641),ae=le(ye(80486)),ie=le(ye(94187));function le(E){return E&&E.__esModule?E:{default:E}}function oe(E){if(typeof WeakMap!="function")return null;var ee=new WeakMap,te=new WeakMap;return(oe=function(fe){return fe?te:ee})(E)}function ue(E,ee){if(!ee&&E&&E.__esModule)return E;if(E===null||typeof E!="object"&&typeof E!="function")return{default:E};var te=oe(ee);if(te&&te.has(E))return te.get(E);var fe={},Ae=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var me in E)if(me!=="default"&&Object.prototype.hasOwnProperty.call(E,me)){var pe=Ae?Object.getOwnPropertyDescriptor(E,me):null;pe&&(pe.get||pe.set)?Object.defineProperty(fe,me,pe):fe[me]=E[me]}return fe.default=E,te&&te.set(E,fe),fe}function ne(){return ne=Object.assign?Object.assign.bind():function(E){for(var ee=1;ee{if((0,ie.default)("Draggable: onDragStart: %j",fe),this.props.onStart(te,(0,re.createDraggableData)(this,fe))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),z(this,"onDrag",(te,fe)=>{if(!this.state.dragging)return!1;(0,ie.default)("Draggable: onDrag: %j",fe);const Ae=(0,re.createDraggableData)(this,fe),me={x:Ae.x,y:Ae.y,slackX:0,slackY:0};if(this.props.bounds){const{x:ve,y:Ee}=me;me.x+=this.state.slackX,me.y+=this.state.slackY;const[Ce,De]=(0,re.getBoundPosition)(this,me.x,me.y);me.x=Ce,me.y=De,me.slackX=this.state.slackX+(ve-me.x),me.slackY=this.state.slackY+(Ee-me.y),Ae.x=me.x,Ae.y=me.y,Ae.deltaX=me.x-this.state.x,Ae.deltaY=me.y-this.state.y}if(this.props.onDrag(te,Ae)===!1)return!1;this.setState(me)}),z(this,"onDragStop",(te,fe)=>{if(!this.state.dragging||this.props.onStop(te,(0,re.createDraggableData)(this,fe))===!1)return!1;(0,ie.default)("Draggable: onDragStop: %j",fe);const me={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:ve,y:Ee}=this.props.position;me.x=ve,me.y=Ee}this.setState(me)}),this.state={dragging:!1,dragged:!1,x:ee.position?ee.position.x:ee.defaultPosition.x,y:ee.position?ee.position.y:ee.defaultPosition.y,prevPropsPosition:el({},ee.position),slackX:0,slackY:0,isElementSVG:!1},ee.position&&!(ee.onDrag||ee.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var ee,te;return(ee=(te=this.props)===null||te===void 0||(te=te.nodeRef)===null||te===void 0?void 0:te.current)!==null&&ee!==void 0?ee:b.default.findDOMNode(this)}render(){const Ke=this.props,{axis:ee,bounds:te,children:fe,defaultPosition:Ae,defaultClassName:me,defaultClassNameDragging:pe,defaultClassNameDragged:ve,position:Ee,positionOffset:Ce,scale:De}=Ke,Ie=rh(Ke,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Qe={},Te=null;const Fe=!!!Ee||this.state.dragging,qe=Ee||Ae,Je={x:(0,re.canDragX)(this)&&Fe?this.state.x:qe.x,y:(0,re.canDragY)(this)&&Fe?this.state.y:qe.y};this.state.isElementSVG?Te=(0,de.createSVGTransform)(Je,Ce):Qe=(0,de.createCSSTransform)(Je,Ce);const vt=(0,ge.default)(fe.props.className||"",me,{[pe]:this.state.dragging,[ve]:this.state.dragged});return he.createElement(ae.default,ne({},Ie,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),he.cloneElement(he.Children.only(fe),{className:vt,style:el(el({},fe.props.style),Qe),transform:Te}))}}Ze.default=x,z(x,"displayName","Draggable"),z(x,"propTypes",Yd(el({},ae.default.propTypes),{axis:ce.default.oneOf(["both","x","y","none"]),bounds:ce.default.oneOfType([ce.default.shape({left:ce.default.number,right:ce.default.number,top:ce.default.number,bottom:ce.default.number}),ce.default.string,ce.default.oneOf([!1])]),defaultClassName:ce.default.string,defaultClassNameDragging:ce.default.string,defaultClassNameDragged:ce.default.string,defaultPosition:ce.default.shape({x:ce.default.number,y:ce.default.number}),positionOffset:ce.default.shape({x:ce.default.oneOfType([ce.default.number,ce.default.string]),y:ce.default.oneOfType([ce.default.number,ce.default.string])}),position:ce.default.shape({x:ce.default.number,y:ce.default.number}),className:se.dontSetMe,style:se.dontSetMe,transform:se.dontSetMe})),z(x,"defaultProps",Yd(el({},ae.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},80486:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var he=le(ye(59301)),ce=ae(ye(12708)),b=ae(ye(4676)),ge=ye(13957),de=ye(9479),re=ye(36641),se=ae(ye(94187));function ae(x){return x&&x.__esModule?x:{default:x}}function ie(x){if(typeof WeakMap!="function")return null;var E=new WeakMap,ee=new WeakMap;return(ie=function(te){return te?ee:E})(x)}function le(x,E){if(!E&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var ee=ie(E);if(ee&&ee.has(x))return ee.get(x);var te={},fe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ae in x)if(Ae!=="default"&&Object.prototype.hasOwnProperty.call(x,Ae)){var me=fe?Object.getOwnPropertyDescriptor(x,Ae):null;me&&(me.get||me.set)?Object.defineProperty(te,Ae,me):te[Ae]=x[Ae]}return te.default=x,ee&&ee.set(x,te),te}function oe(x,E,ee){return E=ue(E),E in x?Object.defineProperty(x,E,{value:ee,enumerable:!0,configurable:!0,writable:!0}):x[E]=ee,x}function ue(x){var E=ne(x,"string");return typeof E=="symbol"?E:String(E)}function ne(x,E){if(typeof x!="object"||x===null)return x;var ee=x[Symbol.toPrimitive];if(ee!==void 0){var te=ee.call(x,E||"default");if(typeof te!="object")return te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(x)}const z={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let a=z.mouse;class y extends he.Component{constructor(){super(...arguments),oe(this,"dragging",!1),oe(this,"lastX",NaN),oe(this,"lastY",NaN),oe(this,"touchIdentifier",null),oe(this,"mounted",!1),oe(this,"handleDragStart",E=>{if(this.props.onMouseDown(E),!this.props.allowAnyClick&&typeof E.button=="number"&&E.button!==0)return!1;const ee=this.findDOMNode();if(!ee||!ee.ownerDocument||!ee.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:te}=ee;if(this.props.disabled||!(E.target instanceof te.defaultView.Node)||this.props.handle&&!(0,ge.matchesSelectorAndParentsTo)(E.target,this.props.handle,ee)||this.props.cancel&&(0,ge.matchesSelectorAndParentsTo)(E.target,this.props.cancel,ee))return;E.type==="touchstart"&&E.preventDefault();const fe=(0,ge.getTouchIdentifier)(E);this.touchIdentifier=fe;const Ae=(0,de.getControlPosition)(E,fe,this);if(Ae==null)return;const{x:me,y:pe}=Ae,ve=(0,de.createCoreData)(this,me,pe);(0,se.default)("DraggableCore: handleDragStart: %j",ve),(0,se.default)("calling",this.props.onStart),!(this.props.onStart(E,ve)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ge.addUserSelectStyles)(te),this.dragging=!0,this.lastX=me,this.lastY=pe,(0,ge.addEvent)(te,a.move,this.handleDrag),(0,ge.addEvent)(te,a.stop,this.handleDragStop))}),oe(this,"handleDrag",E=>{const ee=(0,de.getControlPosition)(E,this.touchIdentifier,this);if(ee==null)return;let{x:te,y:fe}=ee;if(Array.isArray(this.props.grid)){let pe=te-this.lastX,ve=fe-this.lastY;if([pe,ve]=(0,de.snapToGrid)(this.props.grid,pe,ve),!pe&&!ve)return;te=this.lastX+pe,fe=this.lastY+ve}const Ae=(0,de.createCoreData)(this,te,fe);if((0,se.default)("DraggableCore: handleDrag: %j",Ae),this.props.onDrag(E,Ae)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(pe){const ve=document.createEvent("MouseEvents");ve.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(ve)}return}this.lastX=te,this.lastY=fe}),oe(this,"handleDragStop",E=>{if(!this.dragging)return;const ee=(0,de.getControlPosition)(E,this.touchIdentifier,this);if(ee==null)return;let{x:te,y:fe}=ee;if(Array.isArray(this.props.grid)){let ve=te-this.lastX||0,Ee=fe-this.lastY||0;[ve,Ee]=(0,de.snapToGrid)(this.props.grid,ve,Ee),te=this.lastX+ve,fe=this.lastY+Ee}const Ae=(0,de.createCoreData)(this,te,fe);if(this.props.onStop(E,Ae)===!1||this.mounted===!1)return!1;const pe=this.findDOMNode();pe&&this.props.enableUserSelectHack&&(0,ge.removeUserSelectStyles)(pe.ownerDocument),(0,se.default)("DraggableCore: handleDragStop: %j",Ae),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,pe&&((0,se.default)("DraggableCore: Removing handlers"),(0,ge.removeEvent)(pe.ownerDocument,a.move,this.handleDrag),(0,ge.removeEvent)(pe.ownerDocument,a.stop,this.handleDragStop))}),oe(this,"onMouseDown",E=>(a=z.mouse,this.handleDragStart(E))),oe(this,"onMouseUp",E=>(a=z.mouse,this.handleDragStop(E))),oe(this,"onTouchStart",E=>(a=z.touch,this.handleDragStart(E))),oe(this,"onTouchEnd",E=>(a=z.touch,this.handleDragStop(E)))}componentDidMount(){this.mounted=!0;const E=this.findDOMNode();E&&(0,ge.addEvent)(E,z.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const E=this.findDOMNode();if(E){const{ownerDocument:ee}=E;(0,ge.removeEvent)(ee,z.mouse.move,this.handleDrag),(0,ge.removeEvent)(ee,z.touch.move,this.handleDrag),(0,ge.removeEvent)(ee,z.mouse.stop,this.handleDragStop),(0,ge.removeEvent)(ee,z.touch.stop,this.handleDragStop),(0,ge.removeEvent)(E,z.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ge.removeUserSelectStyles)(ee)}}findDOMNode(){var E,ee;return(E=this.props)!==null&&E!==void 0&&E.nodeRef?(ee=this.props)===null||ee===void 0||(ee=ee.nodeRef)===null||ee===void 0?void 0:ee.current:b.default.findDOMNode(this)}render(){return he.cloneElement(he.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Ze.default=y,oe(y,"displayName","DraggableCore"),oe(y,"propTypes",{allowAnyClick:ce.default.bool,children:ce.default.node.isRequired,disabled:ce.default.bool,enableUserSelectHack:ce.default.bool,offsetParent:function(x,E){if(x[E]&&x[E].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:ce.default.arrayOf(ce.default.number),handle:ce.default.string,cancel:ce.default.string,nodeRef:ce.default.object,onStart:ce.default.func,onDrag:ce.default.func,onStop:ce.default.func,onMouseDown:ce.default.func,scale:ce.default.number,className:re.dontSetMe,style:re.dontSetMe,transform:re.dontSetMe}),oe(y,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},12911:function(Jt,Ze,ye){"use strict";const{default:he,DraggableCore:ce}=ye(2637);Jt.exports=he,Jt.exports.default=he,Jt.exports.DraggableCore=ce},13957:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.addClassName=Ae,Ze.addEvent=ae,Ze.addUserSelectStyles=te,Ze.createCSSTransform=a,Ze.createSVGTransform=y,Ze.getTouch=E,Ze.getTouchIdentifier=ee,Ze.getTranslation=x,Ze.innerHeight=ue,Ze.innerWidth=ne,Ze.matchesSelector=re,Ze.matchesSelectorAndParentsTo=se,Ze.offsetXYFromParent=z,Ze.outerHeight=le,Ze.outerWidth=oe,Ze.removeClassName=me,Ze.removeEvent=ie,Ze.removeUserSelectStyles=fe;var he=ye(36641),ce=ge(ye(32092));function b(pe){if(typeof WeakMap!="function")return null;var ve=new WeakMap,Ee=new WeakMap;return(b=function(Ce){return Ce?Ee:ve})(pe)}function ge(pe,ve){if(!ve&&pe&&pe.__esModule)return pe;if(pe===null||typeof pe!="object"&&typeof pe!="function")return{default:pe};var Ee=b(ve);if(Ee&&Ee.has(pe))return Ee.get(pe);var Ce={},De=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ie in pe)if(Ie!=="default"&&Object.prototype.hasOwnProperty.call(pe,Ie)){var Qe=De?Object.getOwnPropertyDescriptor(pe,Ie):null;Qe&&(Qe.get||Qe.set)?Object.defineProperty(Ce,Ie,Qe):Ce[Ie]=pe[Ie]}return Ce.default=pe,Ee&&Ee.set(pe,Ce),Ce}let de="";function re(pe,ve){return de||(de=(0,he.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Ee){return(0,he.isFunction)(pe[Ee])})),(0,he.isFunction)(pe[de])?pe[de](ve):!1}function se(pe,ve,Ee){let Ce=pe;do{if(re(Ce,ve))return!0;if(Ce===Ee)return!1;Ce=Ce.parentNode}while(Ce);return!1}function ae(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.addEventListener?pe.addEventListener(ve,Ee,De):pe.attachEvent?pe.attachEvent("on"+ve,Ee):pe["on"+ve]=Ee}function ie(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.removeEventListener?pe.removeEventListener(ve,Ee,De):pe.detachEvent?pe.detachEvent("on"+ve,Ee):pe["on"+ve]=null}function le(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderTopWidth),ve+=(0,he.int)(Ee.borderBottomWidth),ve}function oe(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderLeftWidth),ve+=(0,he.int)(Ee.borderRightWidth),ve}function ue(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingTop),ve-=(0,he.int)(Ee.paddingBottom),ve}function ne(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingLeft),ve-=(0,he.int)(Ee.paddingRight),ve}function z(pe,ve,Ee){const De=ve===ve.ownerDocument.body?{left:0,top:0}:ve.getBoundingClientRect(),Ie=(pe.clientX+ve.scrollLeft-De.left)/Ee,Qe=(pe.clientY+ve.scrollTop-De.top)/Ee;return{x:Ie,y:Qe}}function a(pe,ve){const Ee=x(pe,ve,"px");return{[(0,ce.browserPrefixToKey)("transform",ce.default)]:Ee}}function y(pe,ve){return x(pe,ve,"")}function x(pe,ve,Ee){let{x:Ce,y:De}=pe,Ie="translate(".concat(Ce).concat(Ee,",").concat(De).concat(Ee,")");if(ve){const Qe="".concat(typeof ve.x=="string"?ve.x:ve.x+Ee),Te="".concat(typeof ve.y=="string"?ve.y:ve.y+Ee);Ie="translate(".concat(Qe,", ").concat(Te,")")+Ie}return Ie}function E(pe,ve){return pe.targetTouches&&(0,he.findInArray)(pe.targetTouches,Ee=>ve===Ee.identifier)||pe.changedTouches&&(0,he.findInArray)(pe.changedTouches,Ee=>ve===Ee.identifier)}function ee(pe){if(pe.targetTouches&&pe.targetTouches[0])return pe.targetTouches[0].identifier;if(pe.changedTouches&&pe.changedTouches[0])return pe.changedTouches[0].identifier}function te(pe){if(!pe)return;let ve=pe.getElementById("react-draggable-style-el");ve||(ve=pe.createElement("style"),ve.type="text/css",ve.id="react-draggable-style-el",ve.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} `,ve.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} -`,pe.getElementsByTagName("head")[0].appendChild(ve)),pe.body&&Ae(pe.body,"react-draggable-transparent-selection")}function fe(pe){if(pe)try{if(pe.body&&me(pe.body,"react-draggable-transparent-selection"),pe.selection)pe.selection.empty();else{const ve=(pe.defaultView||window).getSelection();ve&&ve.type!=="Caret"&&ve.removeAllRanges()}}catch(ve){}}function Ae(pe,ve){pe.classList?pe.classList.add(ve):pe.className.match(new RegExp("(?:^|\\s)".concat(ve,"(?!\\S)")))||(pe.className+=" ".concat(ve))}function me(pe,ve){pe.classList?pe.classList.remove(ve):pe.className=pe.className.replace(new RegExp("(?:^|\\s)".concat(ve,"(?!\\S)"),"g"),"")}},32092:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.browserPrefixToKey=ce,Ze.browserPrefixToStyle=b,Ze.default=void 0,Ze.getPrefix=he;const ye=["Moz","Webkit","O","ms"];function he(){var re;let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ae=(re=window.document)===null||re===void 0||(re=re.documentElement)===null||re===void 0?void 0:re.style;if(!ae||se in ae)return"";for(let ie=0;ie: Unmounted during event!");return ne}},36641:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.dontSetMe=ge,Ze.findInArray=ye,Ze.int=b,Ze.isFunction=he,Ze.isNum=ce;function ye(de,re){for(let se=0,ae=de.length;se{if((0,ie.default)("Draggable: onDragStart: %j",te),this.props.onStart(ee,(0,re.createDraggableData)(this,te))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),ne(this,"onDrag",(ee,te)=>{if(!this.state.dragging)return!1;(0,ie.default)("Draggable: onDrag: %j",te);const fe=(0,re.createDraggableData)(this,te),Ae={x:fe.x,y:fe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:pe,y:ve}=Ae;Ae.x+=this.state.slackX,Ae.y+=this.state.slackY;const[Ee,Ce]=(0,re.getBoundPosition)(this,Ae.x,Ae.y);Ae.x=Ee,Ae.y=Ce,Ae.slackX=this.state.slackX+(pe-Ae.x),Ae.slackY=this.state.slackY+(ve-Ae.y),fe.x=Ae.x,fe.y=Ae.y,fe.deltaX=Ae.x-this.state.x,fe.deltaY=Ae.y-this.state.y}if(this.props.onDrag(ee,fe)===!1)return!1;this.setState(Ae)}),ne(this,"onDragStop",(ee,te)=>{if(!this.state.dragging||this.props.onStop(ee,(0,re.createDraggableData)(this,te))===!1)return!1;(0,ie.default)("Draggable: onDragStop: %j",te);const Ae={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:pe,y:ve}=this.props.position;Ae.x=pe,Ae.y=ve}this.setState(Ae)}),this.state={dragging:!1,dragged:!1,x:E.position?E.position.x:E.defaultPosition.x,y:E.position?E.position.y:E.defaultPosition.y,prevPropsPosition:el({},E.position),slackX:0,slackY:0,isElementSVG:!1},E.position&&!(E.onDrag||E.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var E,ee,te;return(te=(ee=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:ee.current)!=null?te:b.default.findDOMNode(this)}render(){const vt=this.props,{axis:E,bounds:ee,children:te,defaultPosition:fe,defaultClassName:Ae,defaultClassNameDragging:me,defaultClassNameDragged:pe,position:ve,positionOffset:Ee,scale:Ce}=vt,De=rh(vt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ie={},Qe=null;const ze=!!!ve||this.state.dragging,Fe=ve||fe,qe={x:(0,re.canDragX)(this)&&ze?this.state.x:Fe.x,y:(0,re.canDragY)(this)&&ze?this.state.y:Fe.y};this.state.isElementSVG?Qe=(0,de.createSVGTransform)(qe,Ee):Ie=(0,de.createCSSTransform)(qe,Ee);const Je=(0,ge.clsx)(te.props.className||"",Ae,{[me]:this.state.dragging,[pe]:this.state.dragged});return he.createElement(ae.default,ue({},De,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),he.cloneElement(he.Children.only(te),{className:Je,style:el(el({},te.props.style),Ie),transform:Qe}))}}Ze.default=y,ne(y,"displayName","Draggable"),ne(y,"propTypes",Yd(el({},ae.default.propTypes),{axis:ce.default.oneOf(["both","x","y","none"]),bounds:ce.default.oneOfType([ce.default.shape({left:ce.default.number,right:ce.default.number,top:ce.default.number,bottom:ce.default.number}),ce.default.string,ce.default.oneOf([!1])]),defaultClassName:ce.default.string,defaultClassNameDragging:ce.default.string,defaultClassNameDragged:ce.default.string,defaultPosition:ce.default.shape({x:ce.default.number,y:ce.default.number}),positionOffset:ce.default.shape({x:ce.default.oneOfType([ce.default.number,ce.default.string]),y:ce.default.oneOfType([ce.default.number,ce.default.string])}),position:ce.default.shape({x:ce.default.number,y:ce.default.number}),className:se.dontSetMe,style:se.dontSetMe,transform:se.dontSetMe})),ne(y,"defaultProps",Yd(el({},ae.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var he=ie(ye(59301)),ce=ae(ye(12708)),b=ae(ye(4676)),ge=ye(77026),de=ye(22013),re=ye(80217),se=ae(ye(97510));function ae(y){return y&&y.__esModule?y:{default:y}}function ie(y,x){if(typeof WeakMap=="function")var E=new WeakMap,ee=new WeakMap;return(ie=function(te,fe){if(!fe&&te&&te.__esModule)return te;var Ae,me,pe={__proto__:null,default:te};if(te===null||typeof te!="object"&&typeof te!="function")return pe;if(Ae=fe?ee:E){if(Ae.has(te))return Ae.get(te);Ae.set(te,pe)}for(const ve in te)ve!=="default"&&{}.hasOwnProperty.call(te,ve)&&((me=(Ae=Object.defineProperty)&&Object.getOwnPropertyDescriptor(te,ve))&&(me.get||me.set)?Ae(pe,ve,me):pe[ve]=te[ve]);return pe})(y,x)}function le(y,x,E){return(x=oe(x))in y?Object.defineProperty(y,x,{value:E,enumerable:!0,configurable:!0,writable:!0}):y[x]=E,y}function oe(y){var x=ue(y,"string");return typeof x=="symbol"?x:x+""}function ue(y,x){if(typeof y!="object"||!y)return y;var E=y[Symbol.toPrimitive];if(E!==void 0){var ee=E.call(y,x||"default");if(typeof ee!="object")return ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(y)}const ne={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let z=ne.mouse;class a extends he.Component{constructor(){super(...arguments),le(this,"dragging",!1),le(this,"lastX",NaN),le(this,"lastY",NaN),le(this,"touchIdentifier",null),le(this,"mounted",!1),le(this,"handleDragStart",x=>{if(this.props.onMouseDown(x),!this.props.allowAnyClick&&typeof x.button=="number"&&x.button!==0)return!1;const E=this.findDOMNode();if(!E||!E.ownerDocument||!E.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:ee}=E;if(this.props.disabled||!(x.target instanceof ee.defaultView.Node)||this.props.handle&&!(0,ge.matchesSelectorAndParentsTo)(x.target,this.props.handle,E)||this.props.cancel&&(0,ge.matchesSelectorAndParentsTo)(x.target,this.props.cancel,E))return;x.type==="touchstart"&&!this.props.allowMobileScroll&&x.preventDefault();const te=(0,ge.getTouchIdentifier)(x);this.touchIdentifier=te;const fe=(0,de.getControlPosition)(x,te,this);if(fe==null)return;const{x:Ae,y:me}=fe,pe=(0,de.createCoreData)(this,Ae,me);(0,se.default)("DraggableCore: handleDragStart: %j",pe),(0,se.default)("calling",this.props.onStart),!(this.props.onStart(x,pe)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ge.addUserSelectStyles)(ee),this.dragging=!0,this.lastX=Ae,this.lastY=me,(0,ge.addEvent)(ee,z.move,this.handleDrag),(0,ge.addEvent)(ee,z.stop,this.handleDragStop))}),le(this,"handleDrag",x=>{const E=(0,de.getControlPosition)(x,this.touchIdentifier,this);if(E==null)return;let{x:ee,y:te}=E;if(Array.isArray(this.props.grid)){let me=ee-this.lastX,pe=te-this.lastY;if([me,pe]=(0,de.snapToGrid)(this.props.grid,me,pe),!me&&!pe)return;ee=this.lastX+me,te=this.lastY+pe}const fe=(0,de.createCoreData)(this,ee,te);if((0,se.default)("DraggableCore: handleDrag: %j",fe),this.props.onDrag(x,fe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(me){const pe=document.createEvent("MouseEvents");pe.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(pe)}return}this.lastX=ee,this.lastY=te}),le(this,"handleDragStop",x=>{if(!this.dragging)return;const E=(0,de.getControlPosition)(x,this.touchIdentifier,this);if(E==null)return;let{x:ee,y:te}=E;if(Array.isArray(this.props.grid)){let pe=ee-this.lastX||0,ve=te-this.lastY||0;[pe,ve]=(0,de.snapToGrid)(this.props.grid,pe,ve),ee=this.lastX+pe,te=this.lastY+ve}const fe=(0,de.createCoreData)(this,ee,te);if(this.props.onStop(x,fe)===!1||this.mounted===!1)return!1;const me=this.findDOMNode();me&&this.props.enableUserSelectHack&&(0,ge.scheduleRemoveUserSelectStyles)(me.ownerDocument),(0,se.default)("DraggableCore: handleDragStop: %j",fe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,me&&((0,se.default)("DraggableCore: Removing handlers"),(0,ge.removeEvent)(me.ownerDocument,z.move,this.handleDrag),(0,ge.removeEvent)(me.ownerDocument,z.stop,this.handleDragStop))}),le(this,"onMouseDown",x=>(z=ne.mouse,this.handleDragStart(x))),le(this,"onMouseUp",x=>(z=ne.mouse,this.handleDragStop(x))),le(this,"onTouchStart",x=>(z=ne.touch,this.handleDragStart(x))),le(this,"onTouchEnd",x=>(z=ne.touch,this.handleDragStop(x)))}componentDidMount(){this.mounted=!0;const x=this.findDOMNode();x&&(0,ge.addEvent)(x,ne.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const x=this.findDOMNode();if(x){const{ownerDocument:E}=x;(0,ge.removeEvent)(E,ne.mouse.move,this.handleDrag),(0,ge.removeEvent)(E,ne.touch.move,this.handleDrag),(0,ge.removeEvent)(E,ne.mouse.stop,this.handleDragStop),(0,ge.removeEvent)(E,ne.touch.stop,this.handleDragStop),(0,ge.removeEvent)(x,ne.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ge.scheduleRemoveUserSelectStyles)(E)}}findDOMNode(){var x,E,ee;return(x=this.props)!=null&&x.nodeRef?(ee=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:ee.current:b.default.findDOMNode(this)}render(){return he.cloneElement(he.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Ze.default=a,le(a,"displayName","DraggableCore"),le(a,"propTypes",{allowAnyClick:ce.default.bool,allowMobileScroll:ce.default.bool,children:ce.default.node.isRequired,disabled:ce.default.bool,enableUserSelectHack:ce.default.bool,offsetParent:function(y,x){if(y[x]&&y[x].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:ce.default.arrayOf(ce.default.number),handle:ce.default.string,cancel:ce.default.string,nodeRef:ce.default.object,onStart:ce.default.func,onDrag:ce.default.func,onStop:ce.default.func,onMouseDown:ce.default.func,scale:ce.default.number,className:re.dontSetMe,style:re.dontSetMe,transform:re.dontSetMe}),le(a,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(Jt,Ze,ye){"use strict";const{default:he,DraggableCore:ce}=ye(51353);Jt.exports=he,Jt.exports.default=he,Jt.exports.DraggableCore=ce},77026:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.addClassName=Ae,Ze.addEvent=se,Ze.addUserSelectStyles=ee,Ze.createCSSTransform=z,Ze.createSVGTransform=a,Ze.getTouch=x,Ze.getTouchIdentifier=E,Ze.getTranslation=y,Ze.innerHeight=oe,Ze.innerWidth=ue,Ze.matchesSelector=de,Ze.matchesSelectorAndParentsTo=re,Ze.offsetXYFromParent=ne,Ze.outerHeight=ie,Ze.outerWidth=le,Ze.removeClassName=me,Ze.removeEvent=ae,Ze.scheduleRemoveUserSelectStyles=te;var he=ye(80217),ce=b(ye(76172));function b(pe,ve){if(typeof WeakMap=="function")var Ee=new WeakMap,Ce=new WeakMap;return(b=function(De,Ie){if(!Ie&&De&&De.__esModule)return De;var Qe,Te,ze={__proto__:null,default:De};if(De===null||typeof De!="object"&&typeof De!="function")return ze;if(Qe=Ie?Ce:Ee){if(Qe.has(De))return Qe.get(De);Qe.set(De,ze)}for(const Fe in De)Fe!=="default"&&{}.hasOwnProperty.call(De,Fe)&&((Te=(Qe=Object.defineProperty)&&Object.getOwnPropertyDescriptor(De,Fe))&&(Te.get||Te.set)?Qe(ze,Fe,Te):ze[Fe]=De[Fe]);return ze})(pe,ve)}let ge="";function de(pe,ve){return ge||(ge=(0,he.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Ee){return(0,he.isFunction)(pe[Ee])})),(0,he.isFunction)(pe[ge])?pe[ge](ve):!1}function re(pe,ve,Ee){let Ce=pe;do{if(de(Ce,ve))return!0;if(Ce===Ee)return!1;Ce=Ce.parentNode}while(Ce);return!1}function se(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.addEventListener?pe.addEventListener(ve,Ee,De):pe.attachEvent?pe.attachEvent("on"+ve,Ee):pe["on"+ve]=Ee}function ae(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.removeEventListener?pe.removeEventListener(ve,Ee,De):pe.detachEvent?pe.detachEvent("on"+ve,Ee):pe["on"+ve]=null}function ie(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderTopWidth),ve+=(0,he.int)(Ee.borderBottomWidth),ve}function le(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderLeftWidth),ve+=(0,he.int)(Ee.borderRightWidth),ve}function oe(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingTop),ve-=(0,he.int)(Ee.paddingBottom),ve}function ue(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingLeft),ve-=(0,he.int)(Ee.paddingRight),ve}function ne(pe,ve,Ee){const De=ve===ve.ownerDocument.body?{left:0,top:0}:ve.getBoundingClientRect(),Ie=(pe.clientX+ve.scrollLeft-De.left)/Ee,Qe=(pe.clientY+ve.scrollTop-De.top)/Ee;return{x:Ie,y:Qe}}function z(pe,ve){const Ee=y(pe,ve,"px");return{[(0,ce.browserPrefixToKey)("transform",ce.default)]:Ee}}function a(pe,ve){return y(pe,ve,"")}function y(pe,ve,Ee){let{x:Ce,y:De}=pe,Ie=`translate(${Ce}${Ee},${De}${Ee})`;if(ve){const Qe=`${typeof ve.x=="string"?ve.x:ve.x+Ee}`,Te=`${typeof ve.y=="string"?ve.y:ve.y+Ee}`;Ie=`translate(${Qe}, ${Te})`+Ie}return Ie}function x(pe,ve){return pe.targetTouches&&(0,he.findInArray)(pe.targetTouches,Ee=>ve===Ee.identifier)||pe.changedTouches&&(0,he.findInArray)(pe.changedTouches,Ee=>ve===Ee.identifier)}function E(pe){if(pe.targetTouches&&pe.targetTouches[0])return pe.targetTouches[0].identifier;if(pe.changedTouches&&pe.changedTouches[0])return pe.changedTouches[0].identifier}function ee(pe){if(!pe)return;let ve=pe.getElementById("react-draggable-style-el");ve||(ve=pe.createElement("style"),ve.type="text/css",ve.id="react-draggable-style-el",ve.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} +`,pe.getElementsByTagName("head")[0].appendChild(ve)),pe.body&&Ae(pe.body,"react-draggable-transparent-selection")}function fe(pe){if(pe)try{if(pe.body&&me(pe.body,"react-draggable-transparent-selection"),pe.selection)pe.selection.empty();else{const ve=(pe.defaultView||window).getSelection();ve&&ve.type!=="Caret"&&ve.removeAllRanges()}}catch(ve){}}function Ae(pe,ve){pe.classList?pe.classList.add(ve):pe.className.match(new RegExp("(?:^|\\s)".concat(ve,"(?!\\S)")))||(pe.className+=" ".concat(ve))}function me(pe,ve){pe.classList?pe.classList.remove(ve):pe.className=pe.className.replace(new RegExp("(?:^|\\s)".concat(ve,"(?!\\S)"),"g"),"")}},32092:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.browserPrefixToKey=ce,Ze.browserPrefixToStyle=b,Ze.default=void 0,Ze.getPrefix=he;const ye=["Moz","Webkit","O","ms"];function he(){var re;let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ae=(re=window.document)===null||re===void 0||(re=re.documentElement)===null||re===void 0?void 0:re.style;if(!ae||se in ae)return"";for(let ie=0;ie: Unmounted during event!");return ne}},36641:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.dontSetMe=ge,Ze.findInArray=ye,Ze.int=b,Ze.isFunction=he,Ze.isNum=ce;function ye(de,re){for(let se=0,ae=de.length;se{if((0,ie.default)("Draggable: onDragStart: %j",te),this.props.onStart(ee,(0,re.createDraggableData)(this,te))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),ne(this,"onDrag",(ee,te)=>{if(!this.state.dragging)return!1;(0,ie.default)("Draggable: onDrag: %j",te);const fe=(0,re.createDraggableData)(this,te),Ae={x:fe.x,y:fe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:pe,y:ve}=Ae;Ae.x+=this.state.slackX,Ae.y+=this.state.slackY;const[Ee,Ce]=(0,re.getBoundPosition)(this,Ae.x,Ae.y);Ae.x=Ee,Ae.y=Ce,Ae.slackX=this.state.slackX+(pe-Ae.x),Ae.slackY=this.state.slackY+(ve-Ae.y),fe.x=Ae.x,fe.y=Ae.y,fe.deltaX=Ae.x-this.state.x,fe.deltaY=Ae.y-this.state.y}if(this.props.onDrag(ee,fe)===!1)return!1;this.setState(Ae)}),ne(this,"onDragStop",(ee,te)=>{if(!this.state.dragging||this.props.onStop(ee,(0,re.createDraggableData)(this,te))===!1)return!1;(0,ie.default)("Draggable: onDragStop: %j",te);const Ae={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:pe,y:ve}=this.props.position;Ae.x=pe,Ae.y=ve}this.setState(Ae)}),this.state={dragging:!1,dragged:!1,x:E.position?E.position.x:E.defaultPosition.x,y:E.position?E.position.y:E.defaultPosition.y,prevPropsPosition:el({},E.position),slackX:0,slackY:0,isElementSVG:!1},E.position&&!(E.onDrag||E.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var E,ee,te;return(te=(ee=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:ee.current)!=null?te:b.default.findDOMNode(this)}render(){const vt=this.props,{axis:E,bounds:ee,children:te,defaultPosition:fe,defaultClassName:Ae,defaultClassNameDragging:me,defaultClassNameDragged:pe,position:ve,positionOffset:Ee,scale:Ce}=vt,De=rh(vt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Ie={},Qe=null;const ze=!!!ve||this.state.dragging,Fe=ve||fe,qe={x:(0,re.canDragX)(this)&&ze?this.state.x:Fe.x,y:(0,re.canDragY)(this)&&ze?this.state.y:Fe.y};this.state.isElementSVG?Qe=(0,de.createSVGTransform)(qe,Ee):Ie=(0,de.createCSSTransform)(qe,Ee);const Je=(0,ge.clsx)(te.props.className||"",Ae,{[me]:this.state.dragging,[pe]:this.state.dragged});return he.createElement(ae.default,ue({},De,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),he.cloneElement(he.Children.only(te),{className:Je,style:el(el({},te.props.style),Ie),transform:Qe}))}}Ze.default=y,ne(y,"displayName","Draggable"),ne(y,"propTypes",Yd(el({},ae.default.propTypes),{axis:ce.default.oneOf(["both","x","y","none"]),bounds:ce.default.oneOfType([ce.default.shape({left:ce.default.number,right:ce.default.number,top:ce.default.number,bottom:ce.default.number}),ce.default.string,ce.default.oneOf([!1])]),defaultClassName:ce.default.string,defaultClassNameDragging:ce.default.string,defaultClassNameDragged:ce.default.string,defaultPosition:ce.default.shape({x:ce.default.number,y:ce.default.number}),positionOffset:ce.default.shape({x:ce.default.oneOfType([ce.default.number,ce.default.string]),y:ce.default.oneOfType([ce.default.number,ce.default.string])}),position:ce.default.shape({x:ce.default.number,y:ce.default.number}),className:se.dontSetMe,style:se.dontSetMe,transform:se.dontSetMe})),ne(y,"defaultProps",Yd(el({},ae.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var he=ie(ye(59301)),ce=ae(ye(12708)),b=ae(ye(4676)),ge=ye(77026),de=ye(22013),re=ye(80217),se=ae(ye(97510));function ae(y){return y&&y.__esModule?y:{default:y}}function ie(y,x){if(typeof WeakMap=="function")var E=new WeakMap,ee=new WeakMap;return(ie=function(te,fe){if(!fe&&te&&te.__esModule)return te;var Ae,me,pe={__proto__:null,default:te};if(te===null||typeof te!="object"&&typeof te!="function")return pe;if(Ae=fe?ee:E){if(Ae.has(te))return Ae.get(te);Ae.set(te,pe)}for(const ve in te)ve!=="default"&&{}.hasOwnProperty.call(te,ve)&&((me=(Ae=Object.defineProperty)&&Object.getOwnPropertyDescriptor(te,ve))&&(me.get||me.set)?Ae(pe,ve,me):pe[ve]=te[ve]);return pe})(y,x)}function le(y,x,E){return(x=oe(x))in y?Object.defineProperty(y,x,{value:E,enumerable:!0,configurable:!0,writable:!0}):y[x]=E,y}function oe(y){var x=ue(y,"string");return typeof x=="symbol"?x:x+""}function ue(y,x){if(typeof y!="object"||!y)return y;var E=y[Symbol.toPrimitive];if(E!==void 0){var ee=E.call(y,x||"default");if(typeof ee!="object")return ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(x==="string"?String:Number)(y)}const ne={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let z=ne.mouse;class a extends he.Component{constructor(){super(...arguments),le(this,"dragging",!1),le(this,"lastX",NaN),le(this,"lastY",NaN),le(this,"touchIdentifier",null),le(this,"mounted",!1),le(this,"handleDragStart",x=>{if(this.props.onMouseDown(x),!this.props.allowAnyClick&&typeof x.button=="number"&&x.button!==0)return!1;const E=this.findDOMNode();if(!E||!E.ownerDocument||!E.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:ee}=E;if(this.props.disabled||!(x.target instanceof ee.defaultView.Node)||this.props.handle&&!(0,ge.matchesSelectorAndParentsTo)(x.target,this.props.handle,E)||this.props.cancel&&(0,ge.matchesSelectorAndParentsTo)(x.target,this.props.cancel,E))return;x.type==="touchstart"&&!this.props.allowMobileScroll&&x.preventDefault();const te=(0,ge.getTouchIdentifier)(x);this.touchIdentifier=te;const fe=(0,de.getControlPosition)(x,te,this);if(fe==null)return;const{x:Ae,y:me}=fe,pe=(0,de.createCoreData)(this,Ae,me);(0,se.default)("DraggableCore: handleDragStart: %j",pe),(0,se.default)("calling",this.props.onStart),!(this.props.onStart(x,pe)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ge.addUserSelectStyles)(ee),this.dragging=!0,this.lastX=Ae,this.lastY=me,(0,ge.addEvent)(ee,z.move,this.handleDrag),(0,ge.addEvent)(ee,z.stop,this.handleDragStop))}),le(this,"handleDrag",x=>{const E=(0,de.getControlPosition)(x,this.touchIdentifier,this);if(E==null)return;let{x:ee,y:te}=E;if(Array.isArray(this.props.grid)){let me=ee-this.lastX,pe=te-this.lastY;if([me,pe]=(0,de.snapToGrid)(this.props.grid,me,pe),!me&&!pe)return;ee=this.lastX+me,te=this.lastY+pe}const fe=(0,de.createCoreData)(this,ee,te);if((0,se.default)("DraggableCore: handleDrag: %j",fe),this.props.onDrag(x,fe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(me){const pe=document.createEvent("MouseEvents");pe.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(pe)}return}this.lastX=ee,this.lastY=te}),le(this,"handleDragStop",x=>{if(!this.dragging)return;const E=(0,de.getControlPosition)(x,this.touchIdentifier,this);if(E==null)return;let{x:ee,y:te}=E;if(Array.isArray(this.props.grid)){let pe=ee-this.lastX||0,ve=te-this.lastY||0;[pe,ve]=(0,de.snapToGrid)(this.props.grid,pe,ve),ee=this.lastX+pe,te=this.lastY+ve}const fe=(0,de.createCoreData)(this,ee,te);if(this.props.onStop(x,fe)===!1||this.mounted===!1)return!1;const me=this.findDOMNode();me&&this.props.enableUserSelectHack&&(0,ge.scheduleRemoveUserSelectStyles)(me.ownerDocument),(0,se.default)("DraggableCore: handleDragStop: %j",fe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,me&&((0,se.default)("DraggableCore: Removing handlers"),(0,ge.removeEvent)(me.ownerDocument,z.move,this.handleDrag),(0,ge.removeEvent)(me.ownerDocument,z.stop,this.handleDragStop))}),le(this,"onMouseDown",x=>(z=ne.mouse,this.handleDragStart(x))),le(this,"onMouseUp",x=>(z=ne.mouse,this.handleDragStop(x))),le(this,"onTouchStart",x=>(z=ne.touch,this.handleDragStart(x))),le(this,"onTouchEnd",x=>(z=ne.touch,this.handleDragStop(x)))}componentDidMount(){this.mounted=!0;const x=this.findDOMNode();x&&(0,ge.addEvent)(x,ne.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const x=this.findDOMNode();if(x){const{ownerDocument:E}=x;(0,ge.removeEvent)(E,ne.mouse.move,this.handleDrag),(0,ge.removeEvent)(E,ne.touch.move,this.handleDrag),(0,ge.removeEvent)(E,ne.mouse.stop,this.handleDragStop),(0,ge.removeEvent)(E,ne.touch.stop,this.handleDragStop),(0,ge.removeEvent)(x,ne.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ge.scheduleRemoveUserSelectStyles)(E)}}findDOMNode(){var x,E,ee;return(x=this.props)!=null&&x.nodeRef?(ee=(E=this.props)==null?void 0:E.nodeRef)==null?void 0:ee.current:b.default.findDOMNode(this)}render(){return he.cloneElement(he.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Ze.default=a,le(a,"displayName","DraggableCore"),le(a,"propTypes",{allowAnyClick:ce.default.bool,allowMobileScroll:ce.default.bool,children:ce.default.node.isRequired,disabled:ce.default.bool,enableUserSelectHack:ce.default.bool,offsetParent:function(y,x){if(y[x]&&y[x].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:ce.default.arrayOf(ce.default.number),handle:ce.default.string,cancel:ce.default.string,nodeRef:ce.default.object,onStart:ce.default.func,onDrag:ce.default.func,onStop:ce.default.func,onMouseDown:ce.default.func,scale:ce.default.number,className:re.dontSetMe,style:re.dontSetMe,transform:re.dontSetMe}),le(a,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(Jt,Ze,ye){"use strict";const{default:he,DraggableCore:ce}=ye(51353);Jt.exports=he,Jt.exports.default=he,Jt.exports.DraggableCore=ce},77026:function(Jt,Ze,ye){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.addClassName=Ae,Ze.addEvent=se,Ze.addUserSelectStyles=ee,Ze.createCSSTransform=z,Ze.createSVGTransform=a,Ze.getTouch=x,Ze.getTouchIdentifier=E,Ze.getTranslation=y,Ze.innerHeight=oe,Ze.innerWidth=ue,Ze.matchesSelector=de,Ze.matchesSelectorAndParentsTo=re,Ze.offsetXYFromParent=ne,Ze.outerHeight=ie,Ze.outerWidth=le,Ze.removeClassName=me,Ze.removeEvent=ae,Ze.scheduleRemoveUserSelectStyles=te;var he=ye(80217),ce=b(ye(76172));function b(pe,ve){if(typeof WeakMap=="function")var Ee=new WeakMap,Ce=new WeakMap;return(b=function(De,Ie){if(!Ie&&De&&De.__esModule)return De;var Qe,Te,ze={__proto__:null,default:De};if(De===null||typeof De!="object"&&typeof De!="function")return ze;if(Qe=Ie?Ce:Ee){if(Qe.has(De))return Qe.get(De);Qe.set(De,ze)}for(const Fe in De)Fe!=="default"&&{}.hasOwnProperty.call(De,Fe)&&((Te=(Qe=Object.defineProperty)&&Object.getOwnPropertyDescriptor(De,Fe))&&(Te.get||Te.set)?Qe(ze,Fe,Te):ze[Fe]=De[Fe]);return ze})(pe,ve)}let ge="";function de(pe,ve){return ge||(ge=(0,he.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Ee){return(0,he.isFunction)(pe[Ee])})),(0,he.isFunction)(pe[ge])?pe[ge](ve):!1}function re(pe,ve,Ee){let Ce=pe;do{if(de(Ce,ve))return!0;if(Ce===Ee)return!1;Ce=Ce.parentNode}while(Ce);return!1}function se(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.addEventListener?pe.addEventListener(ve,Ee,De):pe.attachEvent?pe.attachEvent("on"+ve,Ee):pe["on"+ve]=Ee}function ae(pe,ve,Ee,Ce){if(!pe)return;const De=el({capture:!0},Ce);pe.removeEventListener?pe.removeEventListener(ve,Ee,De):pe.detachEvent?pe.detachEvent("on"+ve,Ee):pe["on"+ve]=null}function ie(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderTopWidth),ve+=(0,he.int)(Ee.borderBottomWidth),ve}function le(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve+=(0,he.int)(Ee.borderLeftWidth),ve+=(0,he.int)(Ee.borderRightWidth),ve}function oe(pe){let ve=pe.clientHeight;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingTop),ve-=(0,he.int)(Ee.paddingBottom),ve}function ue(pe){let ve=pe.clientWidth;const Ee=pe.ownerDocument.defaultView.getComputedStyle(pe);return ve-=(0,he.int)(Ee.paddingLeft),ve-=(0,he.int)(Ee.paddingRight),ve}function ne(pe,ve,Ee){const De=ve===ve.ownerDocument.body?{left:0,top:0}:ve.getBoundingClientRect(),Ie=(pe.clientX+ve.scrollLeft-De.left)/Ee,Qe=(pe.clientY+ve.scrollTop-De.top)/Ee;return{x:Ie,y:Qe}}function z(pe,ve){const Ee=y(pe,ve,"px");return{[(0,ce.browserPrefixToKey)("transform",ce.default)]:Ee}}function a(pe,ve){return y(pe,ve,"")}function y(pe,ve,Ee){let{x:Ce,y:De}=pe,Ie=`translate(${Ce}${Ee},${De}${Ee})`;if(ve){const Qe=`${typeof ve.x=="string"?ve.x:ve.x+Ee}`,Te=`${typeof ve.y=="string"?ve.y:ve.y+Ee}`;Ie=`translate(${Qe}, ${Te})`+Ie}return Ie}function x(pe,ve){return pe.targetTouches&&(0,he.findInArray)(pe.targetTouches,Ee=>ve===Ee.identifier)||pe.changedTouches&&(0,he.findInArray)(pe.changedTouches,Ee=>ve===Ee.identifier)}function E(pe){if(pe.targetTouches&&pe.targetTouches[0])return pe.targetTouches[0].identifier;if(pe.changedTouches&&pe.changedTouches[0])return pe.changedTouches[0].identifier}function ee(pe){if(!pe)return;let ve=pe.getElementById("react-draggable-style-el");ve||(ve=pe.createElement("style"),ve.type="text/css",ve.id="react-draggable-style-el",ve.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} `,ve.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} `,pe.getElementsByTagName("head")[0].appendChild(ve)),pe.body&&Ae(pe.body,"react-draggable-transparent-selection")}function te(pe){window.requestAnimationFrame?window.requestAnimationFrame(()=>{fe(pe)}):fe(pe)}function fe(pe){if(pe)try{if(pe.body&&me(pe.body,"react-draggable-transparent-selection"),pe.selection)pe.selection.empty();else{const ve=(pe.defaultView||window).getSelection();ve&&ve.type!=="Caret"&&ve.removeAllRanges()}}catch(ve){}}function Ae(pe,ve){pe.classList?pe.classList.add(ve):pe.className.match(new RegExp(`(?:^|\\s)${ve}(?!\\S)`))||(pe.className+=` ${ve}`)}function me(pe,ve){pe.classList?pe.classList.remove(ve):pe.className=pe.className.replace(new RegExp(`(?:^|\\s)${ve}(?!\\S)`,"g"),"")}},76172:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.browserPrefixToKey=ce,Ze.browserPrefixToStyle=b,Ze.default=void 0,Ze.getPrefix=he;const ye=["Moz","Webkit","O","ms"];function he(){var ae,ie;let re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const se=(ie=(ae=window.document)==null?void 0:ae.documentElement)==null?void 0:ie.style;if(!se||re in se)return"";for(let le=0;le: Unmounted during event!");return ne}},80217:function(Jt,Ze){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.dontSetMe=ge,Ze.findInArray=ye,Ze.int=b,Ze.isFunction=he,Ze.isNum=ce;function ye(de,re){for(let se=0,ae=de.length;separseFloat(et));for(let et=0;et<3;et+=1)Mt[et]=Ue(Mt[et]||0,_t[et]||"",et);return _t[3]?Mt[3]=_t[3].includes("%")?Mt[3]/100:Mt[3]:Mt[3]=1,Mt}const c=(ar,Ue,_t)=>_t===0?ar:ar/100;function f(ar,Ue){const _t=Ue||255;return ar>_t?_t:ar<0?0:ar}class o{constructor(Ue){(0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0);function _t(Mt){return Mt[0]in Ue&&Mt[1]in Ue&&Mt[2]in Ue}if(Ue)if(typeof Ue=="string"){let et=function(ft){return Mt.startsWith(ft)};const Mt=Ue.trim();/^#?[A-F\d]{3,8}$/i.test(Mt)?this.fromHexString(Mt):et("rgb")?this.fromRgbString(Mt):et("hsl")?this.fromHslString(Mt):(et("hsv")||et("hsb"))&&this.fromHsvString(Mt)}else if(Ue instanceof o)this.r=Ue.r,this.g=Ue.g,this.b=Ue.b,this.a=Ue.a,this._h=Ue._h,this._s=Ue._s,this._l=Ue._l,this._v=Ue._v;else if(_t("rgb"))this.r=f(Ue.r),this.g=f(Ue.g),this.b=f(Ue.b),this.a=typeof Ue.a=="number"?f(Ue.a,1):1;else if(_t("hsl"))this.fromHsl(Ue);else if(_t("hsv"))this.fromHsv(Ue);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Ue))}setR(Ue){return this._sc("r",Ue)}setG(Ue){return this._sc("g",Ue)}setB(Ue){return this._sc("b",Ue)}setA(Ue){return this._sc("a",Ue,1)}setHue(Ue){const _t=this.toHsv();return _t.h=Ue,this._c(_t)}getLuminance(){function Ue(ft){const ot=ft/255;return ot<=.03928?ot/12.92:Math.pow((ot+.055)/1.055,2.4)}const _t=Ue(this.r),Mt=Ue(this.g),et=Ue(this.b);return .2126*_t+.7152*Mt+.0722*et}getHue(){if(typeof this._h=="undefined"){const Ue=this.getMax()-this.getMin();Ue===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Ue+(this.g1&&(et=1),this._c({h:_t,s:Mt,l:et,a:this.a})}mix(Ue,_t=50){const Mt=this._c(Ue),et=_t/100,ft=qe=>(Mt[qe]-this[qe])*et+this[qe],ot={r:i(ft("r")),g:i(ft("g")),b:i(ft("b")),a:i(ft("a")*100)/100};return this._c(ot)}tint(Ue=10){return this.mix({r:255,g:255,b:255,a:1},Ue)}shade(Ue=10){return this.mix({r:0,g:0,b:0,a:1},Ue)}onBackground(Ue){const _t=this._c(Ue),Mt=this.a+_t.a*(1-this.a),et=ft=>i((this[ft]*this.a+_t[ft]*_t.a*(1-this.a))/Mt);return this._c({r:et("r"),g:et("g"),b:et("b"),a:Mt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Ue){return this.r===Ue.r&&this.g===Ue.g&&this.b===Ue.b&&this.a===Ue.a}clone(){return this._c(this)}toHexString(){let Ue="#";const _t=(this.r||0).toString(16);Ue+=_t.length===2?_t:"0"+_t;const Mt=(this.g||0).toString(16);Ue+=Mt.length===2?Mt:"0"+Mt;const et=(this.b||0).toString(16);if(Ue+=et.length===2?et:"0"+et,typeof this.a=="number"&&this.a>=0&&this.a<1){const ft=i(this.a*255).toString(16);Ue+=ft.length===2?ft:"0"+ft}return Ue}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Ue=this.getHue(),_t=i(this.getSaturation()*100),Mt=i(this.getLightness()*100);return this.a!==1?`hsla(${Ue},${_t}%,${Mt}%,${this.a})`:`hsl(${Ue},${_t}%,${Mt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Ue,_t,Mt){const et=this.clone();return et[Ue]=f(_t,Mt),et}_c(Ue){return new this.constructor(Ue)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Ue){const _t=Ue.replace("#","");function Mt(et,ft){return parseInt(_t[et]+_t[ft||et],16)}_t.length<6?(this.r=Mt(0),this.g=Mt(1),this.b=Mt(2),this.a=_t[3]?Mt(3)/255:1):(this.r=Mt(0,1),this.g=Mt(2,3),this.b=Mt(4,5),this.a=_t[6]?Mt(6,7)/255:1)}fromHsl({h:Ue,s:_t,l:Mt,a:et}){if(this._h=Ue%360,this._s=_t,this._l=Mt,this.a=typeof et=="number"?et:1,_t<=0){const He=i(Mt*255);this.r=He,this.g=He,this.b=He}let ft=0,ot=0,qe=0;const Ne=Ue/60,ye=(1-Math.abs(2*Mt-1))*_t,ke=ye*(1-Math.abs(Ne%2-1));Ne>=0&&Ne<1?(ft=ye,ot=ke):Ne>=1&&Ne<2?(ft=ke,ot=ye):Ne>=2&&Ne<3?(ot=ye,qe=ke):Ne>=3&&Ne<4?(ot=ke,qe=ye):Ne>=4&&Ne<5?(ft=ke,qe=ye):Ne>=5&&Ne<6&&(ft=ye,qe=ke);const $e=Mt-ye/2;this.r=i((ft+$e)*255),this.g=i((ot+$e)*255),this.b=i((qe+$e)*255)}fromHsv({h:Ue,s:_t,v:Mt,a:et}){this._h=Ue%360,this._s=_t,this._v=Mt,this.a=typeof et=="number"?et:1;const ft=i(Mt*255);if(this.r=ft,this.g=ft,this.b=ft,_t<=0)return;const ot=Ue/60,qe=Math.floor(ot),Ne=ot-qe,ye=i(Mt*(1-_t)*255),ke=i(Mt*(1-_t*Ne)*255),$e=i(Mt*(1-_t*(1-Ne))*255);switch(qe){case 0:this.g=$e,this.b=ye;break;case 1:this.r=ke,this.b=ye;break;case 2:this.r=ye,this.b=$e;break;case 3:this.r=ye,this.g=ke;break;case 4:this.r=$e,this.g=ye;break;case 5:default:this.g=ye,this.b=ke;break}}fromHsvString(Ue){const _t=l(Ue,c);this.fromHsv({h:_t[0],s:_t[1],v:_t[2],a:_t[3]})}fromHslString(Ue){const _t=l(Ue,c);this.fromHsl({h:_t[0],s:_t[1],l:_t[2],a:_t[3]})}fromRgbString(Ue){const _t=l(Ue,(Mt,et)=>et.includes("%")?i(Mt/100*255):Mt);this.r=_t[0],this.g=_t[1],this.b=_t[2],this.a=_t[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,m=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(ar,Ue,_t){var Mt;return Math.round(ar.h)>=60&&Math.round(ar.h)<=240?Mt=_t?Math.round(ar.h)-h*Ue:Math.round(ar.h)+h*Ue:Mt=_t?Math.round(ar.h)+h*Ue:Math.round(ar.h)-h*Ue,Mt<0?Mt+=360:Mt>=360&&(Mt-=360),Mt}function k(ar,Ue,_t){if(ar.h===0&&ar.s===0)return ar.s;var Mt;return _t?Mt=ar.s-u*Ue:Ue===m?Mt=ar.s+u:Mt=ar.s+a*Ue,Mt>1&&(Mt=1),_t&&Ue===y&&Mt>.1&&(Mt=.1),Mt<.06&&(Mt=.06),Math.round(Mt*100)/100}function R(ar,Ue,_t){var Mt;return _t?Mt=ar.v+x*Ue:Mt=ar.v-p*Ue,Mt=Math.max(0,Math.min(1,Mt)),Math.round(Mt*100)/100}function A(ar){for(var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=[],Mt=new o(ar),et=Mt.toHsv(),ft=y;ft>0;ft-=1){var ot=new o({h:S(et,ft,!0),s:k(et,ft,!0),v:R(et,ft,!0)});_t.push(ot)}_t.push(Mt);for(var qe=1;qe<=m;qe+=1){var Ne=new o({h:S(et,qe),s:k(et,qe),v:R(et,qe)});_t.push(Ne)}return Ue.theme==="dark"?b.map(function(ye){var ke=ye.index,$e=ye.amount;return new o(Ue.backgroundColor||"#141414").mix(_t[ke],$e).toHexString()}):_t.map(function(ye){return ye.toHexString()})}var I={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var G=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];G.primary=G[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[5];var J=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];J.primary=J[5];var Q=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Q.primary=Q[5];var V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,q={red:M,volcano:B,orange:N,gold:K,yellow:G,lime:H,green:ae,cyan:ne,blue:oe,geekblue:J,purple:Q,magenta:V,grey:se},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var Z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Z.primary=Z[5];var j=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];j.primary=j[5];var ie=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ie.primary=ie[5];var me=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];me.primary=me[5];var Se=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Se.primary=Se[5];var Pe=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Pe.primary=Pe[5];var Ge=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Ge.primary=Ge[5];var je=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];je.primary=je[5];var Dt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Dt.primary=Dt[5];var ht=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];ht.primary=ht[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var Wt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Wt.primary=Wt[5];var Rt={red:le,volcano:Z,orange:j,gold:ie,yellow:me,lime:Se,green:Pe,cyan:Ge,blue:je,geekblue:Dt,purple:ht,magenta:Pt,grey:Wt}},36237:function(d,g,e){"use strict";e.r(g),e.d(g,{Keyframes:function(){return Fo},NaNLinter:function(){return ss},StyleContext:function(){return ne},StyleProvider:function(){return ae},Theme:function(){return Pt},_experimental:function(){return Ko},createCache:function(){return G},createTheme:function(){return Rt},extractStyle:function(){return rl},genCalc:function(){return Pe},getComputedToken:function(){return Lt},legacyLogicalPropertiesTransformer:function(){return Uu},legacyNotSelectorLinter:function(){return Zs},logicalPropertiesLinter:function(){return ro},parentSelectorLinter:function(){return Os},px2remTransformer:function(){return _u},token2CSSVar:function(){return Me},unit:function(){return or},useCSSVarRegister:function(){return Mo},useCacheToken:function(){return wr},useStyleRegister:function(){return es}});var r=e(42978),i=e(20068),l=e(94480),c=e(33885);function f(rr){for(var _r=0,dr,gr=0,Cr=rr.length;Cr>=4;++gr,Cr-=4)dr=rr.charCodeAt(gr)&255|(rr.charCodeAt(++gr)&255)<<8|(rr.charCodeAt(++gr)&255)<<16|(rr.charCodeAt(++gr)&255)<<24,dr=(dr&65535)*1540483477+((dr>>>16)*59797<<16),dr^=dr>>>24,_r=(dr&65535)*1540483477+((dr>>>16)*59797<<16)^(_r&65535)*1540483477+((_r>>>16)*59797<<16);switch(Cr){case 3:_r^=(rr.charCodeAt(gr+2)&255)<<16;case 2:_r^=(rr.charCodeAt(gr+1)&255)<<8;case 1:_r^=rr.charCodeAt(gr)&255,_r=(_r&65535)*1540483477+((_r>>>16)*59797<<16)}return _r^=_r>>>13,_r=(_r&65535)*1540483477+((_r>>>16)*59797<<16),((_r^_r>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(75931),p=e(80547),y=e(13697),m=e(67732),b=e(83652),S="%";function k(rr){return rr.join(S)}var R=function(){function rr(_r){(0,m.Z)(this,rr),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=_r}return(0,b.Z)(rr,[{key:"get",value:function(dr){return this.opGet(k(dr))}},{key:"opGet",value:function(dr){return this.cache.get(dr)||null}},{key:"update",value:function(dr,gr){return this.opUpdate(k(dr),gr)}},{key:"opUpdate",value:function(dr,gr){var Cr=this.cache.get(dr),bn=gr(Cr);bn===null?this.cache.delete(dr):this.cache.set(dr,bn)}}]),rr}(),A=R,I=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",K="__cssinjs_instance__";function G(){var rr=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var _r=document.body.querySelectorAll("style[".concat(B,"]"))||[],dr=document.head.firstChild;Array.from(_r).forEach(function(Cr){Cr[K]=Cr[K]||rr,Cr[K]===rr&&document.head.insertBefore(Cr,dr)});var gr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Cr){var bn=Cr.getAttribute(B);if(gr[bn]){if(Cr[K]===rr){var Zn;(Zn=Cr.parentNode)===null||Zn===void 0||Zn.removeChild(Cr)}}else gr[bn]=!0})}return new A(rr)}var H=u.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),ae=function(_r){var dr=_r.children,gr=(0,x.Z)(_r,I),Cr=u.useContext(H),bn=(0,p.Z)(function(){var Zn=(0,c.Z)({},Cr);Object.keys(gr).forEach(function(Wn){var ai=gr[Wn];gr[Wn]!==void 0&&(Zn[Wn]=ai)});var Ln=gr.cache;return Zn.cache=Zn.cache||G(),Zn.defaultCache=!Ln&&Cr.defaultCache,Zn},[Cr,gr],function(Zn,Ln){return!(0,y.Z)(Zn[0],Ln[0],!0)||!(0,y.Z)(Zn[1],Ln[1],!0)});return u.createElement(H.Provider,{value:bn},dr)},ne=H,oe=e(76190),J=e(47273),Q=e(31226),V=e(42403),se=e(158),ee=(0,b.Z)(function rr(){(0,m.Z)(this,rr)}),q=ee,le="CALC_UNIT",Z=new RegExp(le,"g");function j(rr){return typeof rr=="number"?"".concat(rr).concat(le):rr}var ie=function(rr){(0,V.Z)(dr,rr);var _r=(0,se.Z)(dr);function dr(gr,Cr){var bn;(0,m.Z)(this,dr),bn=_r.call(this),(0,i.Z)((0,Q.Z)(bn),"result",""),(0,i.Z)((0,Q.Z)(bn),"unitlessCssVar",void 0),(0,i.Z)((0,Q.Z)(bn),"lowPriority",void 0);var Zn=(0,oe.Z)(gr);return bn.unitlessCssVar=Cr,gr instanceof dr?bn.result="(".concat(gr.result,")"):Zn==="number"?bn.result=j(gr):Zn==="string"&&(bn.result=gr),bn}return(0,b.Z)(dr,[{key:"add",value:function(Cr){return Cr instanceof dr?this.result="".concat(this.result," + ").concat(Cr.getResult()):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," + ").concat(j(Cr))),this.lowPriority=!0,this}},{key:"sub",value:function(Cr){return Cr instanceof dr?this.result="".concat(this.result," - ").concat(Cr.getResult()):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," - ").concat(j(Cr))),this.lowPriority=!0,this}},{key:"mul",value:function(Cr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Cr instanceof dr?this.result="".concat(this.result," * ").concat(Cr.getResult(!0)):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," * ").concat(Cr)),this.lowPriority=!1,this}},{key:"div",value:function(Cr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Cr instanceof dr?this.result="".concat(this.result," / ").concat(Cr.getResult(!0)):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," / ").concat(Cr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Cr){return this.lowPriority||Cr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Cr){var bn=this,Zn=Cr||{},Ln=Zn.unit,Wn=!0;return typeof Ln=="boolean"?Wn=Ln:Array.from(this.unitlessCssVar).some(function(ai){return bn.result.includes(ai)})&&(Wn=!1),this.result=this.result.replace(Z,Wn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),dr}(q),me=function(rr){(0,V.Z)(dr,rr);var _r=(0,se.Z)(dr);function dr(gr){var Cr;return(0,m.Z)(this,dr),Cr=_r.call(this),(0,i.Z)((0,Q.Z)(Cr),"result",0),gr instanceof dr?Cr.result=gr.result:typeof gr=="number"&&(Cr.result=gr),Cr}return(0,b.Z)(dr,[{key:"add",value:function(Cr){return Cr instanceof dr?this.result+=Cr.result:typeof Cr=="number"&&(this.result+=Cr),this}},{key:"sub",value:function(Cr){return Cr instanceof dr?this.result-=Cr.result:typeof Cr=="number"&&(this.result-=Cr),this}},{key:"mul",value:function(Cr){return Cr instanceof dr?this.result*=Cr.result:typeof Cr=="number"&&(this.result*=Cr),this}},{key:"div",value:function(Cr){return Cr instanceof dr?this.result/=Cr.result:typeof Cr=="number"&&(this.result/=Cr),this}},{key:"equal",value:function(){return this.result}}]),dr}(q),Se=function(_r,dr){var gr=_r==="css"?ie:me;return function(Cr){return new gr(Cr,dr)}},Pe=Se;function Ge(rr,_r){if(rr.length!==_r.length)return!1;for(var dr=0;dr1&&arguments[1]!==void 0?arguments[1]:!1,Zn={map:this.cache};return dr.forEach(function(Ln){if(!Zn)Zn=void 0;else{var Wn;Zn=(Wn=Zn)===null||Wn===void 0||(Wn=Wn.map)===null||Wn===void 0?void 0:Wn.get(Ln)}}),(gr=Zn)!==null&&gr!==void 0&&gr.value&&bn&&(Zn.value[1]=this.cacheCallTimes++),(Cr=Zn)===null||Cr===void 0?void 0:Cr.value}},{key:"get",value:function(dr){var gr;return(gr=this.internalGet(dr,!0))===null||gr===void 0?void 0:gr[0]}},{key:"has",value:function(dr){return!!this.internalGet(dr)}},{key:"set",value:function(dr,gr){var Cr=this;if(!this.has(dr)){if(this.size()+1>rr.MAX_CACHE_SIZE+rr.MAX_CACHE_OFFSET){var bn=this.keys.reduce(function(ai,qn){var mr=(0,r.Z)(ai,2),Fr=mr[1];return Cr.internalGet(qn)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ht+=1}return(0,b.Z)(rr,[{key:"getDerivativeToken",value:function(dr){return this.derivatives.reduce(function(gr,Cr){return Cr(dr,gr)},void 0)}}]),rr}(),Wt=new je;function Rt(rr){var _r=Array.isArray(rr)?rr:[rr];return Wt.has(_r)||Wt.set(_r,new Pt(_r)),Wt.get(_r)}var ar=new WeakMap,Ue={};function _t(rr,_r){for(var dr=ar,gr=0;gr<_r.length;gr+=1){var Cr=_r[gr];dr.has(Cr)||dr.set(Cr,new WeakMap),dr=dr.get(Cr)}return dr.has(Ue)||dr.set(Ue,rr()),dr.get(Ue)}var Mt=new WeakMap;function et(rr){var _r=Mt.get(rr)||"";return _r||(Object.keys(rr).forEach(function(dr){var gr=rr[dr];_r+=dr,gr instanceof Pt?_r+=gr.id:gr&&(0,oe.Z)(gr)==="object"?_r+=et(gr):_r+=gr}),_r=o(_r),Mt.set(rr,_r)),_r}function ft(rr,_r){return o("".concat(_r,"_").concat(et(rr)))}var ot="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),qe="_bAmBoO_";function Ne(rr,_r,dr){if((0,J.Z)()){var gr,Cr;(0,h.hq)(rr,ot);var bn=document.createElement("div");bn.style.position="fixed",bn.style.left="0",bn.style.top="0",_r==null||_r(bn),document.body.appendChild(bn);var Zn=dr?dr(bn):(gr=getComputedStyle(bn).content)===null||gr===void 0?void 0:gr.includes(qe);return(Cr=bn.parentNode)===null||Cr===void 0||Cr.removeChild(bn),(0,h.jL)(ot),Zn}return!1}var ye=null;function ke(){return ye===void 0&&(ye=Ne("@layer ".concat(ot," { .").concat(ot,' { content: "').concat(qe,'"!important; } }'),function(rr){rr.className=ot})),ye}var $e=void 0;function He(){return $e===void 0&&($e=Ne(":where(.".concat(ot,') { content: "').concat(qe,'"!important; }'),function(rr){rr.className=ot})),$e}var Qe=void 0;function ut(){return Qe===void 0&&(Qe=Ne(".".concat(ot," { inset-block: 93px !important; }"),function(rr){rr.className=ot},function(rr){return getComputedStyle(rr).bottom==="93px"})),Qe}var pt=(0,J.Z)();function or(rr){return typeof rr=="number"?"".concat(rr,"px"):rr}function tr(rr,_r,dr){var gr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Cr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Cr)return rr;var bn=(0,c.Z)((0,c.Z)({},gr),{},(0,i.Z)((0,i.Z)({},M,_r),B,dr)),Zn=Object.keys(bn).map(function(Ln){var Wn=bn[Ln];return Wn?"".concat(Ln,'="').concat(Wn,'"'):null}).filter(function(Ln){return Ln}).join(" ");return"")}var Me=function(_r){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(dr?"".concat(dr,"-"):"").concat(_r).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},tt=function(_r,dr,gr){return Object.keys(_r).length?".".concat(dr).concat(gr!=null&&gr.scope?".".concat(gr.scope):"","{").concat(Object.entries(_r).map(function(Cr){var bn=(0,r.Z)(Cr,2),Zn=bn[0],Ln=bn[1];return"".concat(Zn,":").concat(Ln,";")}).join(""),"}"):""},Yt=function(_r,dr,gr){var Cr={},bn={};return Object.entries(_r).forEach(function(Zn){var Ln,Wn,ai=(0,r.Z)(Zn,2),qn=ai[0],mr=ai[1];if(gr!=null&&(Ln=gr.preserve)!==null&&Ln!==void 0&&Ln[qn])bn[qn]=mr;else if((typeof mr=="string"||typeof mr=="number")&&!(gr!=null&&(Wn=gr.ignore)!==null&&Wn!==void 0&&Wn[qn])){var Fr,Br=Me(qn,gr==null?void 0:gr.prefix);Cr[Br]=typeof mr=="number"&&!(gr!=null&&(Fr=gr.unitless)!==null&&Fr!==void 0&&Fr[qn])?"".concat(mr,"px"):String(mr),bn[qn]="var(".concat(Br,")")}}),[bn,tt(Cr,dr,{scope:gr==null?void 0:gr.scope})]},Ot=e(34280),Zt=(0,c.Z)({},a),Gt=Zt.useInsertionEffect,lr=function(_r,dr,gr){u.useMemo(_r,gr),(0,Ot.Z)(function(){return dr(!0)},gr)},Ht=Gt?function(rr,_r,dr){return Gt(function(){return rr(),_r()},dr)}:lr,Te=Ht,ce=(0,c.Z)({},a),pe=ce.useInsertionEffect,Tt=function(_r){var dr=[],gr=!1;function Cr(bn){gr||dr.push(bn)}return u.useEffect(function(){return gr=!1,function(){gr=!0,dr.length&&dr.forEach(function(bn){return bn()})}},_r),Cr},Ae=function(){return function(_r){_r()}},st=typeof pe!="undefined"?Tt:Ae,$t=st;function bt(){return!1}var Ce=!1;function yt(){return Ce}var ze=bt;if(0)var xe,dt;function It(rr,_r,dr,gr,Cr){var bn=u.useContext(ne),Zn=bn.cache,Ln=[rr].concat((0,l.Z)(_r)),Wn=k(Ln),ai=$t([Wn]),qn=ze(),mr=function(Pn){Zn.opUpdate(Wn,function(oi){var Ei=oi||[void 0,void 0],Gn=(0,r.Z)(Ei,2),ta=Gn[0],ra=ta===void 0?0:ta,_i=Gn[1],wt=_i,Qn=wt||dr(),Sa=[ra,Qn];return Pn?Pn(Sa):Sa})};u.useMemo(function(){mr()},[Wn]);var Fr=Zn.opGet(Wn),Br=Fr[1];return Te(function(){Cr==null||Cr(Br)},function(Cn){return mr(function(Pn){var oi=(0,r.Z)(Pn,2),Ei=oi[0],Gn=oi[1];return Cn&&Ei===0&&(Cr==null||Cr(Br)),[Ei+1,Gn]}),function(){Zn.opUpdate(Wn,function(Pn){var oi=Pn||[],Ei=(0,r.Z)(oi,2),Gn=Ei[0],ta=Gn===void 0?0:Gn,ra=Ei[1],_i=ta-1;return _i===0?(ai(function(){(Cn||!Zn.opGet(Wn))&&(gr==null||gr(ra,!1))}),null):[ta-1,ra]})}},[Wn]),Br}var Be={},Or="css",mt=new Map;function Jr(rr){mt.set(rr,(mt.get(rr)||0)+1)}function an(rr,_r){if(typeof document!="undefined"){var dr=document.querySelectorAll("style[".concat(M,'="').concat(rr,'"]'));dr.forEach(function(gr){if(gr[K]===_r){var Cr;(Cr=gr.parentNode)===null||Cr===void 0||Cr.removeChild(gr)}})}}var Nt=0;function Jt(rr,_r){mt.set(rr,(mt.get(rr)||0)-1);var dr=new Set;mt.forEach(function(gr,Cr){gr<=0&&dr.add(Cr)}),mt.size-dr.size>Nt&&dr.forEach(function(gr){an(gr,_r),mt.delete(gr)})}var Lt=function(_r,dr,gr,Cr){var bn=gr.getDerivativeToken(_r),Zn=(0,c.Z)((0,c.Z)({},bn),dr);return Cr&&(Zn=Cr(Zn)),Zn},Qt="token";function wr(rr,_r){var dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gr=(0,u.useContext)(ne),Cr=gr.cache.instanceId,bn=gr.container,Zn=dr.salt,Ln=Zn===void 0?"":Zn,Wn=dr.override,ai=Wn===void 0?Be:Wn,qn=dr.formatToken,mr=dr.getComputedToken,Fr=dr.cssVar,Br=_t(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(_r)))},_r),Cn=et(Br),Pn=et(ai),oi=Fr?et(Fr):"",Ei=It(Qt,[Ln,rr.id,Cn,Pn,oi],function(){var Gn,ta=mr?mr(Br,ai,rr):Lt(Br,ai,rr,qn),ra=(0,c.Z)({},ta),_i="";if(Fr){var wt=Yt(ta,Fr.key,{prefix:Fr.prefix,ignore:Fr.ignore,unitless:Fr.unitless,preserve:Fr.preserve}),Qn=(0,r.Z)(wt,2);ta=Qn[0],_i=Qn[1]}var Sa=ft(ta,Ln);ta._tokenKey=Sa,ra._tokenKey=ft(ra,Ln);var Ra=(Gn=Fr==null?void 0:Fr.key)!==null&&Gn!==void 0?Gn:Sa;ta._themeKey=Ra,Jr(Ra);var Ys="".concat(Or,"-").concat(o(Sa));return ta._hashId=Ys,[ta,Ys,ra,_i,(Fr==null?void 0:Fr.key)||""]},function(Gn){Jt(Gn[0]._themeKey,Cr)},function(Gn){var ta=(0,r.Z)(Gn,4),ra=ta[0],_i=ta[3];if(Fr&&_i){var wt=(0,h.hq)(_i,o("css-variables-".concat(ra._themeKey)),{mark:B,prepend:"queue",attachTo:bn,priority:-999});wt[K]=Cr,wt.setAttribute(M,ra._themeKey)}});return Ei}var Ir=function(_r,dr,gr){var Cr=(0,r.Z)(_r,5),bn=Cr[2],Zn=Cr[3],Ln=Cr[4],Wn=gr||{},ai=Wn.plain;if(!Zn)return null;var qn=bn._tokenKey,mr=-999,Fr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(mr)},Br=tr(Zn,Ln,qn,Fr,ai);return[mr,qn,Br]},At=e(54476),Kt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bt=Kt,qt="-ms-",br="-moz-",Qr="-webkit-",Hr="comm",jn="rule",En="decl",Yn="@page",St="@media",Vr="@import",ii="@charset",Bi="@viewport",$n="@supports",ci="@document",Oi="@namespace",zi="@keyframes",Ai="@font-face",ji="@counter-style",ha="@font-feature-values",ea="@layer",Yi="@scope",mi=Math.abs,Zi=String.fromCharCode,Ta=Object.assign;function xt(rr,_r){return Gi(rr,0)^45?(((_r<<2^Gi(rr,0))<<2^Gi(rr,1))<<2^Gi(rr,2))<<2^Gi(rr,3):0}function xa(rr){return rr.trim()}function Wi(rr,_r){return(rr=_r.exec(rr))?rr[0]:rr}function vi(rr,_r,dr){return rr.replace(_r,dr)}function Da(rr,_r,dr){return rr.indexOf(_r,dr)}function Gi(rr,_r){return rr.charCodeAt(_r)|0}function ei(rr,_r,dr){return rr.slice(_r,dr)}function zn(rr){return rr.length}function we(rr){return rr.length}function nt(rr,_r){return _r.push(rr),rr}function Je(rr,_r){return rr.map(_r).join("")}function Ct(rr,_r){return rr.filter(function(dr){return!Wi(dr,_r)})}function lt(rr,_r){for(var dr="",gr=0;gr0?Gi(An,--en):0,Tr--,Nr===10&&(Tr=1,pr--),Nr}function _e(){return Nr=en2||Gr(Nr)>3?"":" "}function $r(rr){for(;_e();)switch(Gr(Nr)){case 0:append(qs(en-1),rr);break;case 2:append(Si(Nr),rr);break;default:append(from(Nr),rr)}return rr}function kn(rr,_r){for(;--_r&&_e()&&!(Nr<48||Nr>102||Nr>57&&Nr<65||Nr>70&&Nr<97););return kr(rr,nr()+(_r<6&&sr()==32&&_e()==32))}function si(rr){for(;_e();)switch(Nr){case rr:return en;case 34:case 39:rr!==34&&rr!==39&&si(Nr);break;case 40:rr===41&&si(rr);break;case 92:_e();break}return en}function wa(rr,_r){for(;_e()&&rr+Nr!==57;)if(rr+Nr===84&&sr()===47)break;return"/*"+kr(_r,en-1)+"*"+Zi(rr===47?rr:_e())}function qs(rr){for(;!Gr(sr());)_e();return kr(rr,en)}function Ba(rr){return hn(zs("",null,null,null,[""],rr=Wr(rr),0,[0],rr))}function zs(rr,_r,dr,gr,Cr,bn,Zn,Ln,Wn){for(var ai=0,qn=0,mr=Zn,Fr=0,Br=0,Cn=0,Pn=1,oi=1,Ei=1,Gn=0,ta="",ra=Cr,_i=bn,wt=gr,Qn=ta;oi;)switch(Cn=Gn,Gn=_e()){case 40:if(Cn!=108&&Gi(Qn,mr-1)==58){Da(Qn+=vi(Si(Gn),"&","&\f"),"&\f",mi(ai?Ln[ai-1]:0))!=-1&&(Ei=-1);break}case 34:case 39:case 91:Qn+=Si(Gn);break;case 9:case 10:case 13:case 32:Qn+=yn(Cn);break;case 92:Qn+=kn(nr()-1,7);continue;case 47:switch(sr()){case 42:case 47:nt(as(wa(_e(),nr()),_r,dr,Wn),Wn),(Gr(Cn||1)==5||Gr(sr()||1)==5)&&zn(Qn)&&ei(Qn,-1,void 0)!==" "&&(Qn+=" ");break;default:Qn+="/"}break;case 123*Pn:Ln[ai++]=zn(Qn)*Ei;case 125*Pn:case 59:case 0:switch(Gn){case 0:case 125:oi=0;case 59+qn:Ei==-1&&(Qn=vi(Qn,/\f/g,"")),Br>0&&(zn(Qn)-mr||Pn===0&&Cn===47)&&nt(Br>32?oo(Qn+";",gr,dr,mr-1,Wn):oo(vi(Qn," ","")+";",gr,dr,mr-2,Wn),Wn);break;case 59:Qn+=";";default:if(nt(wt=Ns(Qn,_r,dr,ai,qn,Cr,Ln,ta,ra=[],_i=[],mr,bn),bn),Gn===123)if(qn===0)zs(Qn,_r,wt,wt,ra,bn,mr,Ln,_i);else{switch(Fr){case 99:if(Gi(Qn,3)===110)break;case 108:if(Gi(Qn,2)===97)break;default:qn=0;case 100:case 109:case 115:}qn?zs(rr,wt,wt,gr&&nt(Ns(rr,wt,wt,0,0,Cr,Ln,ta,Cr,ra=[],mr,_i),_i),Cr,_i,mr,Ln,gr?ra:_i):zs(Qn,wt,wt,wt,[""],_i,0,Ln,_i)}}ai=qn=Br=0,Pn=Ei=1,ta=Qn="",mr=Zn;break;case 58:mr=1+zn(Qn),Br=Cn;default:if(Pn<1){if(Gn==123)--Pn;else if(Gn==125&&Pn++==0&&ct()==125)continue}switch(Qn+=Zi(Gn),Gn*Pn){case 38:Ei=qn>0?1:(Qn+="\f",-1);break;case 44:Ln[ai++]=(zn(Qn)-1)*Ei,Ei=1;break;case 64:sr()===45&&(Qn+=Si(_e())),Fr=sr(),qn=mr=zn(ta=Qn+=qs(nr())),Gn++;break;case 45:Cn===45&&zn(Qn)==2&&(Pn=0)}}return bn}function Ns(rr,_r,dr,gr,Cr,bn,Zn,Ln,Wn,ai,qn,mr){for(var Fr=Cr-1,Br=Cr===0?bn:[""],Cn=we(Br),Pn=0,oi=0,Ei=0;Pn0?Br[Gn]+" "+ta:vi(ta,/&\f/g,Br[Gn])))&&(Wn[Ei++]=ra);return vr(rr,_r,dr,Cr===0?jn:Ln,Wn,ai,qn,mr)}function as(rr,_r,dr,gr){return vr(rr,_r,dr,Hr,Zi(Ke()),ei(rr,2,-2),0,gr)}function oo(rr,_r,dr,gr,Cr){return vr(rr,_r,dr,En,ei(rr,0,gr),ei(rr,gr+1,-1),gr,Cr)}function Aa(rr,_r){var dr=_r.path,gr=_r.parentSelectors;(0,Dt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(dr?"Error in ".concat(dr,": "):"").concat(rr).concat(gr.length?" Selector: ".concat(gr.join(" | ")):""))}var Ps=function(_r,dr,gr){if(_r==="content"){var Cr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,bn=["normal","none","initial","inherit","unset"];(typeof dr!="string"||bn.indexOf(dr)===-1&&!Cr.test(dr)&&(dr.charAt(0)!==dr.charAt(dr.length-1)||dr.charAt(0)!=='"'&&dr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(dr,"\"'`."),gr)}},ps=null,po=function(_r,dr,gr){_r==="animation"&&gr.hashId&&dr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(dr,"', in which case 'animationName' with Keyframe as value is recommended."),gr)},qi=null;function to(rr){var _r,dr=((_r=rr.match(/:not\(([^)]*)\)/))===null||_r===void 0?void 0:_r[1])||"",gr=dr.split(/(\[[^[]*])|(?=[.#])/).filter(function(Cr){return Cr});return gr.length>1}function Zo(rr){return rr.parentSelectors.reduce(function(_r,dr){return _r?dr.includes("&")?dr.replace(/&/g,_r):"".concat(_r," ").concat(dr):dr},"")}var Na=function(_r,dr,gr){var Cr=Zo(gr),bn=Cr.match(/:not\([^)]*\)/g)||[];bn.length>0&&bn.some(to)&&Aa("Concat ':not' selector not support in legacy browsers.",gr)},Zs=Na,di=function(_r,dr,gr){switch(_r){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Aa("You seem to be using non-logical property '".concat(_r,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof dr=="string"){var Cr=dr.split(" ").map(function(Ln){return Ln.trim()});Cr.length===4&&Cr[1]!==Cr[3]&&Aa("You seem to be using '".concat(_r,"' property with different left ").concat(_r," and right ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;case"clear":case"textAlign":(dr==="left"||dr==="right")&&Aa("You seem to be using non-logical value '".concat(dr,"' of ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"borderRadius":if(typeof dr=="string"){var bn=dr.split("/").map(function(Ln){return Ln.trim()}),Zn=bn.reduce(function(Ln,Wn){if(Ln)return Ln;var ai=Wn.split(" ").map(function(qn){return qn.trim()});return ai.length>=2&&ai[0]!==ai[1]||ai.length===3&&ai[1]!==ai[2]||ai.length===4&&ai[2]!==ai[3]?!0:Ln},!1);Zn&&Aa("You seem to be using non-logical value '".concat(dr,"' of ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;default:}},ro=di,Rn=function(_r,dr,gr){(typeof dr=="string"&&/NaN/g.test(dr)||Number.isNaN(dr))&&Aa("Unexpected 'NaN' in property '".concat(_r,": ").concat(dr,"'."),gr)},ss=Rn,Is=function(_r,dr,gr){gr.parentSelectors.some(function(Cr){var bn=Cr.split(",");return bn.some(function(Zn){return Zn.split("&").length>2})})&&Aa("Should not use more than one `&` in a selector.",gr)},Os=Is,Xi="data-ant-cssinjs-cache-path",Ka="_FILE_STYLE__";function Ni(rr){return Object.keys(rr).map(function(_r){var dr=rr[_r];return"".concat(_r,":").concat(dr)}).join(";")}var Ds,xo=!0;function Wo(rr){var _r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Ds=rr,xo=_r}function Xo(){if(!Ds&&(Ds={},(0,J.Z)())){var rr=document.createElement("div");rr.className=Xi,rr.style.position="fixed",rr.style.visibility="hidden",rr.style.top="-9999px",document.body.appendChild(rr);var _r=getComputedStyle(rr).content||"";_r=_r.replace(/^"/,"").replace(/"$/,""),_r.split(";").forEach(function(Cr){var bn=Cr.split(":"),Zn=(0,r.Z)(bn,2),Ln=Zn[0],Wn=Zn[1];Ds[Ln]=Wn});var dr=document.querySelector("style[".concat(Xi,"]"));if(dr){var gr;xo=!1,(gr=dr.parentNode)===null||gr===void 0||gr.removeChild(dr)}document.body.removeChild(rr)}}function mu(rr){return Xo(),!!Ds[rr]}function vu(rr){var _r=Ds[rr],dr=null;if(_r&&(0,J.Z)())if(xo)dr=Ka;else{var gr=document.querySelector("style[".concat(B,'="').concat(Ds[rr],'"]'));gr?dr=gr.innerHTML:delete Ds[rr]}return[dr,_r]}var go="_skip_check_",Ho="_multi_value_";function Oo(rr){var _r=lt(Ba(rr),hr);return _r.replace(/\{%%%\:[^;];}/g,";")}function nu(rr){return(0,oe.Z)(rr)==="object"&&rr&&(go in rr||Ho in rr)}function Qo(rr,_r,dr){if(!_r)return rr;var gr=".".concat(_r),Cr=dr==="low"?":where(".concat(gr,")"):gr,bn=rr.split(",").map(function(Zn){var Ln,Wn=Zn.trim().split(/\s+/),ai=Wn[0]||"",qn=((Ln=ai.match(/^\w+/))===null||Ln===void 0?void 0:Ln[0])||"";return ai="".concat(qn).concat(Cr).concat(ai.slice(qn.length)),[ai].concat((0,l.Z)(Wn.slice(1))).join(" ")});return bn.join(",")}var hi=function rr(_r){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Cr=gr.root,bn=gr.injectHash,Zn=gr.parentSelectors,Ln=dr.hashId,Wn=dr.layer,ai=dr.path,qn=dr.hashPriority,mr=dr.transformers,Fr=mr===void 0?[]:mr,Br=dr.linters,Cn=Br===void 0?[]:Br,Pn="",oi={};function Ei(ra){var _i=ra.getName(Ln);if(!oi[_i]){var wt=rr(ra.style,dr,{root:!1,parentSelectors:Zn}),Qn=(0,r.Z)(wt,1),Sa=Qn[0];oi[_i]="@keyframes ".concat(ra.getName(Ln)).concat(Sa)}}function Gn(ra){var _i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ra.forEach(function(wt){Array.isArray(wt)?Gn(wt,_i):wt&&_i.push(wt)}),_i}var ta=Gn(Array.isArray(_r)?_r:[_r]);return ta.forEach(function(ra){var _i=typeof ra=="string"&&!Cr?{}:ra;if(typeof _i=="string")Pn+="".concat(_i,` -`);else if(_i._keyframe)Ei(_i);else{var wt=Fr.reduce(function(Qn,Sa){var Ra;return(Sa==null||(Ra=Sa.visit)===null||Ra===void 0?void 0:Ra.call(Sa,Qn))||Qn},_i);Object.keys(wt).forEach(function(Qn){var Sa=wt[Qn];if((0,oe.Z)(Sa)==="object"&&Sa&&(Qn!=="animationName"||!Sa._keyframe)&&!nu(Sa)){var Ra=!1,Ys=Qn.trim(),sn=!1;(Cr||bn)&&Ln?Ys.startsWith("@")?Ra=!0:Ys==="&"?Ys=Qo("",Ln,qn):Ys=Qo(Qn,Ln,qn):Cr&&!Ln&&(Ys==="&"||Ys==="")&&(Ys="",sn=!0);var Do=rr(Sa,dr,{root:sn,injectHash:Ra,parentSelectors:[].concat((0,l.Z)(Zn),[Ys])}),lo=(0,r.Z)(Do,2),Rs=lo[0],no=lo[1];oi=(0,c.Z)((0,c.Z)({},oi),no),Pn+="".concat(Ys).concat(Rs)}else{let cs=function(ja,os){var Xe=ja.replace(/[A-Z]/g,function(Ft){return"-".concat(Ft.toLowerCase())}),Ie=os;!Bt[ja]&&typeof Ie=="number"&&Ie!==0&&(Ie="".concat(Ie,"px")),ja==="animationName"&&os!==null&&os!==void 0&&os._keyframe&&(Ei(os),Ie=os.getName(Ln)),Pn+="".concat(Xe,":").concat(Ie,";")};var io,ts=(io=Sa==null?void 0:Sa.value)!==null&&io!==void 0?io:Sa;(0,oe.Z)(Sa)==="object"&&Sa!==null&&Sa!==void 0&&Sa[Ho]&&Array.isArray(ts)?ts.forEach(function(ja){cs(Qn,ja)}):cs(Qn,ts)}})}}),Cr?Wn&&(Pn&&(Pn="@layer ".concat(Wn.name," {").concat(Pn,"}")),Wn.dependencies&&(oi["@layer ".concat(Wn.name)]=Wn.dependencies.map(function(ra){return"@layer ".concat(ra,", ").concat(Wn.name,";")}).join(` -`))):Pn="{".concat(Pn,"}"),[Pn,oi]};function gi(rr,_r){return o("".concat(rr.join("%")).concat(_r))}function Ja(){return null}var ls="style";function es(rr,_r){var dr=rr.token,gr=rr.path,Cr=rr.hashId,bn=rr.layer,Zn=rr.nonce,Ln=rr.clientOnly,Wn=rr.order,ai=Wn===void 0?0:Wn,qn=u.useContext(ne),mr=qn.autoClear,Fr=qn.mock,Br=qn.defaultCache,Cn=qn.hashPriority,Pn=qn.container,oi=qn.ssrInline,Ei=qn.transformers,Gn=qn.linters,ta=qn.cache,ra=qn.layer,_i=dr._tokenKey,wt=[_i];ra&&wt.push("layer"),wt.push.apply(wt,(0,l.Z)(gr));var Qn=pt,Sa=It(ls,wt,function(){var lo=wt.join("|");if(mu(lo)){var Rs=vu(lo),no=(0,r.Z)(Rs,2),io=no[0],ts=no[1];if(io)return[io,_i,ts,{},Ln,ai]}var cs=_r(),ja=hi(cs,{hashId:Cr,hashPriority:Cn,layer:ra?bn:void 0,path:gr.join("-"),transformers:Ei,linters:Gn}),os=(0,r.Z)(ja,2),Xe=os[0],Ie=os[1],Ft=Oo(Xe),vt=gi(wt,Ft);return[Ft,_i,vt,Ie,Ln,ai]},function(lo,Rs){var no=(0,r.Z)(lo,3),io=no[2];(Rs||mr)&&pt&&(0,h.jL)(io,{mark:B,attachTo:Pn})},function(lo){var Rs=(0,r.Z)(lo,4),no=Rs[0],io=Rs[1],ts=Rs[2],cs=Rs[3];if(Qn&&no!==Ka){var ja={mark:B,prepend:ra?!1:"queue",attachTo:Pn,priority:ai},os=typeof Zn=="function"?Zn():Zn;os&&(ja.csp={nonce:os});var Xe=[],Ie=[];Object.keys(cs).forEach(function(vt){vt.startsWith("@layer")?Xe.push(vt):Ie.push(vt)}),Xe.forEach(function(vt){(0,h.hq)(Oo(cs[vt]),"_layer-".concat(vt),(0,c.Z)((0,c.Z)({},ja),{},{prepend:!0}))});var Ft=(0,h.hq)(no,ts,ja);Ft[K]=ta.instanceId,Ft.setAttribute(M,_i),Ie.forEach(function(vt){(0,h.hq)(Oo(cs[vt]),"_effect-".concat(vt),ja)})}}),Ra=(0,r.Z)(Sa,3),Ys=Ra[0],sn=Ra[1],Do=Ra[2];return function(lo){var Rs;return!oi||Qn||!Br?Rs=u.createElement(Ja,null):Rs=u.createElement("style",(0,At.Z)({},(0,i.Z)((0,i.Z)({},M,sn),B,Do),{dangerouslySetInnerHTML:{__html:Ys}})),u.createElement(u.Fragment,null,Rs,lo)}}var Ha=function(_r,dr,gr){var Cr=(0,r.Z)(_r,6),bn=Cr[0],Zn=Cr[1],Ln=Cr[2],Wn=Cr[3],ai=Cr[4],qn=Cr[5],mr=gr||{},Fr=mr.plain;if(ai)return null;var Br=bn,Cn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(qn)};return Br=tr(bn,Zn,Ln,Cn,Fr),Wn&&Object.keys(Wn).forEach(function(Pn){if(!dr[Pn]){dr[Pn]=!0;var oi=Oo(Wn[Pn]),Ei=tr(oi,Zn,"_effect-".concat(Pn),Cn,Fr);Pn.startsWith("@layer")?Br=Ei+Br:Br+=Ei}}),[qn,Ln,Br]},ms="cssVar",qo=function(_r,dr){var gr=_r.key,Cr=_r.prefix,bn=_r.unitless,Zn=_r.ignore,Ln=_r.token,Wn=_r.scope,ai=Wn===void 0?"":Wn,qn=(0,u.useContext)(ne),mr=qn.cache.instanceId,Fr=qn.container,Br=Ln._tokenKey,Cn=[].concat((0,l.Z)(_r.path),[gr,ai,Br]),Pn=It(ms,Cn,function(){var oi=dr(),Ei=Yt(oi,gr,{prefix:Cr,unitless:bn,ignore:Zn,scope:ai}),Gn=(0,r.Z)(Ei,2),ta=Gn[0],ra=Gn[1],_i=gi(Cn,ra);return[ta,ra,_i,gr]},function(oi){var Ei=(0,r.Z)(oi,3),Gn=Ei[2];pt&&(0,h.jL)(Gn,{mark:B,attachTo:Fr})},function(oi){var Ei=(0,r.Z)(oi,3),Gn=Ei[1],ta=Ei[2];if(Gn){var ra=(0,h.hq)(Gn,ta,{mark:B,prepend:"queue",attachTo:Fr,priority:-999});ra[K]=mr,ra.setAttribute(M,gr)}});return Pn},ks=function(_r,dr,gr){var Cr=(0,r.Z)(_r,4),bn=Cr[1],Zn=Cr[2],Ln=Cr[3],Wn=gr||{},ai=Wn.plain;if(!bn)return null;var qn=-999,mr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(qn)},Fr=tr(bn,Ln,Zn,mr,ai);return[qn,Zn,Fr]},Mo=qo,wu=(0,i.Z)((0,i.Z)((0,i.Z)({},ls,Ha),Qt,Ir),ms,ks);function Iu(rr){return rr!==null}function rl(rr,_r){var dr=typeof _r=="boolean"?{plain:_r}:_r||{},gr=dr.plain,Cr=gr===void 0?!1:gr,bn=dr.types,Zn=bn===void 0?["style","token","cssVar"]:bn,Ln=dr.once,Wn=Ln===void 0?!1:Ln,ai=new RegExp("^(".concat((typeof Zn=="string"?[Zn]:Zn).join("|"),")%")),qn=Array.from(rr.cache.keys()).filter(function(Cn){return ai.test(Cn)}),mr={},Fr={},Br="";return qn.map(function(Cn){if(Wn&&rr.extracted.has(Cn))return null;var Pn=Cn.replace(ai,"").replace(/%/g,"|"),oi=Cn.split("%"),Ei=(0,r.Z)(oi,1),Gn=Ei[0],ta=wu[Gn],ra=ta(rr.cache.get(Cn)[1],mr,{plain:Cr});if(!ra)return null;var _i=(0,r.Z)(ra,3),wt=_i[0],Qn=_i[1],Sa=_i[2];return Cn.startsWith("style")&&(Fr[Pn]=Qn),rr.extracted.add(Cn),[wt,Sa]}).filter(Iu).sort(function(Cn,Pn){var oi=(0,r.Z)(Cn,1),Ei=oi[0],Gn=(0,r.Z)(Pn,1),ta=Gn[0];return Ei-ta}).forEach(function(Cn){var Pn=(0,r.Z)(Cn,2),oi=Pn[1];Br+=oi}),Br+=tr(".".concat(Xi,'{content:"').concat(Ni(Fr),'";}'),void 0,void 0,(0,i.Z)({},Xi,Xi),Cr),Br}var dl=function(){function rr(_r,dr){(0,m.Z)(this,rr),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=_r,this.style=dr}return(0,b.Z)(rr,[{key:"getName",value:function(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return dr?"".concat(dr,"-").concat(this.name):this.name}}]),rr}(),Fo=dl;function uo(rr){if(typeof rr=="number")return[[rr],!1];var _r=String(rr).trim(),dr=_r.match(/(.*)(!important)/),gr=(dr?dr[1]:_r).trim().split(/\s+/),Cr=[],bn=0;return[gr.reduce(function(Zn,Ln){if(Ln.includes("(")||Ln.includes(")")){var Wn=Ln.split("(").length-1,ai=Ln.split(")").length-1;bn+=Wn-ai}return bn>=0&&Cr.push(Ln),bn===0&&(Zn.push(Cr.join(" ")),Cr=[]),Zn},[]),!!dr]}function Go(rr){return rr.notSplit=!0,rr}var Gu={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Go(["borderTop","borderBottom"]),borderBlockStart:Go(["borderTop"]),borderBlockEnd:Go(["borderBottom"]),borderInline:Go(["borderLeft","borderRight"]),borderInlineStart:Go(["borderLeft"]),borderInlineEnd:Go(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Bo(rr,_r){var dr=rr;return _r&&(dr="".concat(dr," !important")),{_skip_check_:!0,value:dr}}var $o={visit:function(_r){var dr={};return Object.keys(_r).forEach(function(gr){var Cr=_r[gr],bn=Gu[gr];if(bn&&(typeof Cr=="number"||typeof Cr=="string")){var Zn=uo(Cr),Ln=(0,r.Z)(Zn,2),Wn=Ln[0],ai=Ln[1];bn.length&&bn.notSplit?bn.forEach(function(qn){dr[qn]=Bo(Cr,ai)}):bn.length===1?dr[bn[0]]=Bo(Wn[0],ai):bn.length===2?bn.forEach(function(qn,mr){var Fr;dr[qn]=Bo((Fr=Wn[mr])!==null&&Fr!==void 0?Fr:Wn[0],ai)}):bn.length===4?bn.forEach(function(qn,mr){var Fr,Br;dr[qn]=Bo((Fr=(Br=Wn[mr])!==null&&Br!==void 0?Br:Wn[mr-2])!==null&&Fr!==void 0?Fr:Wn[0],ai)}):dr[gr]=Cr}else dr[gr]=Cr}),dr}},Uu=$o,iu=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function gu(rr,_r){var dr=Math.pow(10,_r+1),gr=Math.floor(rr*dr);return Math.round(gr/10)*10/dr}var No=function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},dr=_r.rootValue,gr=dr===void 0?16:dr,Cr=_r.precision,bn=Cr===void 0?5:Cr,Zn=_r.mediaQuery,Ln=Zn===void 0?!1:Zn,Wn=function(mr,Fr){if(!Fr)return mr;var Br=parseFloat(Fr);if(Br<=1)return mr;var Cn=gu(Br/gr,bn);return"".concat(Cn,"rem")},ai=function(mr){var Fr=(0,c.Z)({},mr);return Object.entries(mr).forEach(function(Br){var Cn=(0,r.Z)(Br,2),Pn=Cn[0],oi=Cn[1];if(typeof oi=="string"&&oi.includes("px")){var Ei=oi.replace(iu,Wn);Fr[Pn]=Ei}!Bt[Pn]&&typeof oi=="number"&&oi!==0&&(Fr[Pn]="".concat(oi,"px").replace(iu,Wn));var Gn=Pn.trim();if(Gn.startsWith("@")&&Gn.includes("px")&&Ln){var ta=Pn.replace(iu,Wn);Fr[ta]=Fr[Pn],delete Fr[Pn]}}),Fr};return{visit:ai}},_u=No,Ko={supportModernCSS:function(){return He()&&ut()}}},7657:function(d,g,e){"use strict";e.d(g,{Z:function(){return le}});var r=e(54476),i=e(42978),l=e(20068),c=e(75931),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(33885),p=e(76190),y=e(810),m=e(96452),b=e(48736);function S(Z){return Z.replace(/-(.)/g,function(j,ie){return ie.toUpperCase()})}function k(Z,j){(0,b.ZP)(Z,"[@ant-design/icons] ".concat(j))}function R(Z){return(0,p.Z)(Z)==="object"&&typeof Z.name=="string"&&typeof Z.theme=="string"&&((0,p.Z)(Z.icon)==="object"||typeof Z.icon=="function")}function A(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Z).reduce(function(j,ie){var me=Z[ie];switch(ie){case"class":j.className=me,delete j.class;break;default:delete j[ie],j[S(ie)]=me}return j},{})}function I(Z,j,ie){return ie?f.createElement(Z.tag,(0,x.Z)((0,x.Z)({key:j},A(Z.attrs)),ie),(Z.children||[]).map(function(me,Se){return I(me,"".concat(j,"-").concat(Z.tag,"-").concat(Se))})):f.createElement(Z.tag,(0,x.Z)({key:j},A(Z.attrs)),(Z.children||[]).map(function(me,Se){return I(me,"".concat(j,"-").concat(Z.tag,"-").concat(Se))}))}function M(Z){return(0,u.generate)(Z)[0]}function B(Z){return Z?Array.isArray(Z)?Z:[Z]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=` +(function(){var __webpack_modules__={30071:function(d,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return oe},blueDark:function(){return je},cyan:function(){return ne},cyanDark:function(){return Ge},geekblue:function(){return J},geekblueDark:function(){return Dt},generate:function(){return A},gold:function(){return K},goldDark:function(){return ie},gray:function(){return ee},green:function(){return ae},greenDark:function(){return Pe},grey:function(){return se},greyDark:function(){return Wt},lime:function(){return H},limeDark:function(){return Se},magenta:function(){return V},magentaDark:function(){return Pt},orange:function(){return N},orangeDark:function(){return U},presetDarkPalettes:function(){return Rt},presetPalettes:function(){return q},presetPrimaryColors:function(){return I},purple:function(){return Q},purpleDark:function(){return ht},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return Z},yellow:function(){return G},yellowDark:function(){return me}});var r=e(20068);const i=Math.round;function l(ar,Ue){const _t=ar.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Mt=_t.map(et=>parseFloat(et));for(let et=0;et<3;et+=1)Mt[et]=Ue(Mt[et]||0,_t[et]||"",et);return _t[3]?Mt[3]=_t[3].includes("%")?Mt[3]/100:Mt[3]:Mt[3]=1,Mt}const c=(ar,Ue,_t)=>_t===0?ar:ar/100;function f(ar,Ue){const _t=Ue||255;return ar>_t?_t:ar<0?0:ar}class o{constructor(Ue){(0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0);function _t(Mt){return Mt[0]in Ue&&Mt[1]in Ue&&Mt[2]in Ue}if(Ue)if(typeof Ue=="string"){let et=function(ft){return Mt.startsWith(ft)};const Mt=Ue.trim();/^#?[A-F\d]{3,8}$/i.test(Mt)?this.fromHexString(Mt):et("rgb")?this.fromRgbString(Mt):et("hsl")?this.fromHslString(Mt):(et("hsv")||et("hsb"))&&this.fromHsvString(Mt)}else if(Ue instanceof o)this.r=Ue.r,this.g=Ue.g,this.b=Ue.b,this.a=Ue.a,this._h=Ue._h,this._s=Ue._s,this._l=Ue._l,this._v=Ue._v;else if(_t("rgb"))this.r=f(Ue.r),this.g=f(Ue.g),this.b=f(Ue.b),this.a=typeof Ue.a=="number"?f(Ue.a,1):1;else if(_t("hsl"))this.fromHsl(Ue);else if(_t("hsv"))this.fromHsv(Ue);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Ue))}setR(Ue){return this._sc("r",Ue)}setG(Ue){return this._sc("g",Ue)}setB(Ue){return this._sc("b",Ue)}setA(Ue){return this._sc("a",Ue,1)}setHue(Ue){const _t=this.toHsv();return _t.h=Ue,this._c(_t)}getLuminance(){function Ue(ft){const ot=ft/255;return ot<=.03928?ot/12.92:Math.pow((ot+.055)/1.055,2.4)}const _t=Ue(this.r),Mt=Ue(this.g),et=Ue(this.b);return .2126*_t+.7152*Mt+.0722*et}getHue(){if(typeof this._h=="undefined"){const Ue=this.getMax()-this.getMin();Ue===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Ue+(this.g1&&(et=1),this._c({h:_t,s:Mt,l:et,a:this.a})}mix(Ue,_t=50){const Mt=this._c(Ue),et=_t/100,ft=qe=>(Mt[qe]-this[qe])*et+this[qe],ot={r:i(ft("r")),g:i(ft("g")),b:i(ft("b")),a:i(ft("a")*100)/100};return this._c(ot)}tint(Ue=10){return this.mix({r:255,g:255,b:255,a:1},Ue)}shade(Ue=10){return this.mix({r:0,g:0,b:0,a:1},Ue)}onBackground(Ue){const _t=this._c(Ue),Mt=this.a+_t.a*(1-this.a),et=ft=>i((this[ft]*this.a+_t[ft]*_t.a*(1-this.a))/Mt);return this._c({r:et("r"),g:et("g"),b:et("b"),a:Mt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Ue){return this.r===Ue.r&&this.g===Ue.g&&this.b===Ue.b&&this.a===Ue.a}clone(){return this._c(this)}toHexString(){let Ue="#";const _t=(this.r||0).toString(16);Ue+=_t.length===2?_t:"0"+_t;const Mt=(this.g||0).toString(16);Ue+=Mt.length===2?Mt:"0"+Mt;const et=(this.b||0).toString(16);if(Ue+=et.length===2?et:"0"+et,typeof this.a=="number"&&this.a>=0&&this.a<1){const ft=i(this.a*255).toString(16);Ue+=ft.length===2?ft:"0"+ft}return Ue}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Ue=this.getHue(),_t=i(this.getSaturation()*100),Mt=i(this.getLightness()*100);return this.a!==1?`hsla(${Ue},${_t}%,${Mt}%,${this.a})`:`hsl(${Ue},${_t}%,${Mt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Ue,_t,Mt){const et=this.clone();return et[Ue]=f(_t,Mt),et}_c(Ue){return new this.constructor(Ue)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Ue){const _t=Ue.replace("#","");function Mt(et,ft){return parseInt(_t[et]+_t[ft||et],16)}_t.length<6?(this.r=Mt(0),this.g=Mt(1),this.b=Mt(2),this.a=_t[3]?Mt(3)/255:1):(this.r=Mt(0,1),this.g=Mt(2,3),this.b=Mt(4,5),this.a=_t[6]?Mt(6,7)/255:1)}fromHsl({h:Ue,s:_t,l:Mt,a:et}){if(this._h=Ue%360,this._s=_t,this._l=Mt,this.a=typeof et=="number"?et:1,_t<=0){const He=i(Mt*255);this.r=He,this.g=He,this.b=He}let ft=0,ot=0,qe=0;const Ne=Ue/60,ye=(1-Math.abs(2*Mt-1))*_t,ke=ye*(1-Math.abs(Ne%2-1));Ne>=0&&Ne<1?(ft=ye,ot=ke):Ne>=1&&Ne<2?(ft=ke,ot=ye):Ne>=2&&Ne<3?(ot=ye,qe=ke):Ne>=3&&Ne<4?(ot=ke,qe=ye):Ne>=4&&Ne<5?(ft=ke,qe=ye):Ne>=5&&Ne<6&&(ft=ye,qe=ke);const $e=Mt-ye/2;this.r=i((ft+$e)*255),this.g=i((ot+$e)*255),this.b=i((qe+$e)*255)}fromHsv({h:Ue,s:_t,v:Mt,a:et}){this._h=Ue%360,this._s=_t,this._v=Mt,this.a=typeof et=="number"?et:1;const ft=i(Mt*255);if(this.r=ft,this.g=ft,this.b=ft,_t<=0)return;const ot=Ue/60,qe=Math.floor(ot),Ne=ot-qe,ye=i(Mt*(1-_t)*255),ke=i(Mt*(1-_t*Ne)*255),$e=i(Mt*(1-_t*(1-Ne))*255);switch(qe){case 0:this.g=$e,this.b=ye;break;case 1:this.r=ke,this.b=ye;break;case 2:this.r=ye,this.b=$e;break;case 3:this.r=ye,this.g=ke;break;case 4:this.r=$e,this.g=ye;break;case 5:default:this.g=ye,this.b=ke;break}}fromHsvString(Ue){const _t=l(Ue,c);this.fromHsv({h:_t[0],s:_t[1],v:_t[2],a:_t[3]})}fromHslString(Ue){const _t=l(Ue,c);this.fromHsl({h:_t[0],s:_t[1],l:_t[2],a:_t[3]})}fromRgbString(Ue){const _t=l(Ue,(Mt,et)=>et.includes("%")?i(Mt/100*255):Mt);this.r=_t[0],this.g=_t[1],this.b=_t[2],this.a=_t[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,m=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(ar,Ue,_t){var Mt;return Math.round(ar.h)>=60&&Math.round(ar.h)<=240?Mt=_t?Math.round(ar.h)-h*Ue:Math.round(ar.h)+h*Ue:Mt=_t?Math.round(ar.h)+h*Ue:Math.round(ar.h)-h*Ue,Mt<0?Mt+=360:Mt>=360&&(Mt-=360),Mt}function k(ar,Ue,_t){if(ar.h===0&&ar.s===0)return ar.s;var Mt;return _t?Mt=ar.s-u*Ue:Ue===m?Mt=ar.s+u:Mt=ar.s+a*Ue,Mt>1&&(Mt=1),_t&&Ue===y&&Mt>.1&&(Mt=.1),Mt<.06&&(Mt=.06),Math.round(Mt*100)/100}function R(ar,Ue,_t){var Mt;return _t?Mt=ar.v+x*Ue:Mt=ar.v-p*Ue,Mt=Math.max(0,Math.min(1,Mt)),Math.round(Mt*100)/100}function A(ar){for(var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=[],Mt=new o(ar),et=Mt.toHsv(),ft=y;ft>0;ft-=1){var ot=new o({h:S(et,ft,!0),s:k(et,ft,!0),v:R(et,ft,!0)});_t.push(ot)}_t.push(Mt);for(var qe=1;qe<=m;qe+=1){var Ne=new o({h:S(et,qe),s:k(et,qe),v:R(et,qe)});_t.push(Ne)}return Ue.theme==="dark"?b.map(function(ye){var ke=ye.index,$e=ye.amount;return new o(Ue.backgroundColor||"#141414").mix(_t[ke],$e).toHexString()}):_t.map(function(ye){return ye.toHexString()})}var I={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var G=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];G.primary=G[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[5];var J=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];J.primary=J[5];var Q=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Q.primary=Q[5];var V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,q={red:M,volcano:B,orange:N,gold:K,yellow:G,lime:H,green:ae,cyan:ne,blue:oe,geekblue:J,purple:Q,magenta:V,grey:se},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var Z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Z.primary=Z[5];var U=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];U.primary=U[5];var ie=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ie.primary=ie[5];var me=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];me.primary=me[5];var Se=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Se.primary=Se[5];var Pe=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Pe.primary=Pe[5];var Ge=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Ge.primary=Ge[5];var je=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];je.primary=je[5];var Dt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Dt.primary=Dt[5];var ht=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];ht.primary=ht[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var Wt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Wt.primary=Wt[5];var Rt={red:le,volcano:Z,orange:U,gold:ie,yellow:me,lime:Se,green:Pe,cyan:Ge,blue:je,geekblue:Dt,purple:ht,magenta:Pt,grey:Wt}},36237:function(d,g,e){"use strict";e.r(g),e.d(g,{Keyframes:function(){return Fo},NaNLinter:function(){return ss},StyleContext:function(){return ne},StyleProvider:function(){return ae},Theme:function(){return Pt},_experimental:function(){return Ko},createCache:function(){return G},createTheme:function(){return Rt},extractStyle:function(){return rl},genCalc:function(){return Pe},getComputedToken:function(){return Lt},legacyLogicalPropertiesTransformer:function(){return Uu},legacyNotSelectorLinter:function(){return Zs},logicalPropertiesLinter:function(){return no},parentSelectorLinter:function(){return Os},px2remTransformer:function(){return _u},token2CSSVar:function(){return Me},unit:function(){return or},useCSSVarRegister:function(){return Mo},useCacheToken:function(){return wr},useStyleRegister:function(){return es}});var r=e(42978),i=e(20068),l=e(94480),c=e(33885);function f(rr){for(var _r=0,dr,gr=0,Cr=rr.length;Cr>=4;++gr,Cr-=4)dr=rr.charCodeAt(gr)&255|(rr.charCodeAt(++gr)&255)<<8|(rr.charCodeAt(++gr)&255)<<16|(rr.charCodeAt(++gr)&255)<<24,dr=(dr&65535)*1540483477+((dr>>>16)*59797<<16),dr^=dr>>>24,_r=(dr&65535)*1540483477+((dr>>>16)*59797<<16)^(_r&65535)*1540483477+((_r>>>16)*59797<<16);switch(Cr){case 3:_r^=(rr.charCodeAt(gr+2)&255)<<16;case 2:_r^=(rr.charCodeAt(gr+1)&255)<<8;case 1:_r^=rr.charCodeAt(gr)&255,_r=(_r&65535)*1540483477+((_r>>>16)*59797<<16)}return _r^=_r>>>13,_r=(_r&65535)*1540483477+((_r>>>16)*59797<<16),((_r^_r>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(75931),p=e(80547),y=e(13697),m=e(67732),b=e(83652),S="%";function k(rr){return rr.join(S)}var R=function(){function rr(_r){(0,m.Z)(this,rr),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=_r}return(0,b.Z)(rr,[{key:"get",value:function(dr){return this.opGet(k(dr))}},{key:"opGet",value:function(dr){return this.cache.get(dr)||null}},{key:"update",value:function(dr,gr){return this.opUpdate(k(dr),gr)}},{key:"opUpdate",value:function(dr,gr){var Cr=this.cache.get(dr),bn=gr(Cr);bn===null?this.cache.delete(dr):this.cache.set(dr,bn)}}]),rr}(),A=R,I=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",K="__cssinjs_instance__";function G(){var rr=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var _r=document.body.querySelectorAll("style[".concat(B,"]"))||[],dr=document.head.firstChild;Array.from(_r).forEach(function(Cr){Cr[K]=Cr[K]||rr,Cr[K]===rr&&document.head.insertBefore(Cr,dr)});var gr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Cr){var bn=Cr.getAttribute(B);if(gr[bn]){if(Cr[K]===rr){var Zn;(Zn=Cr.parentNode)===null||Zn===void 0||Zn.removeChild(Cr)}}else gr[bn]=!0})}return new A(rr)}var H=u.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),ae=function(_r){var dr=_r.children,gr=(0,x.Z)(_r,I),Cr=u.useContext(H),bn=(0,p.Z)(function(){var Zn=(0,c.Z)({},Cr);Object.keys(gr).forEach(function(Wn){var ai=gr[Wn];gr[Wn]!==void 0&&(Zn[Wn]=ai)});var Ln=gr.cache;return Zn.cache=Zn.cache||G(),Zn.defaultCache=!Ln&&Cr.defaultCache,Zn},[Cr,gr],function(Zn,Ln){return!(0,y.Z)(Zn[0],Ln[0],!0)||!(0,y.Z)(Zn[1],Ln[1],!0)});return u.createElement(H.Provider,{value:bn},dr)},ne=H,oe=e(76190),J=e(47273),Q=e(31226),V=e(42403),se=e(158),ee=(0,b.Z)(function rr(){(0,m.Z)(this,rr)}),q=ee,le="CALC_UNIT",Z=new RegExp(le,"g");function U(rr){return typeof rr=="number"?"".concat(rr).concat(le):rr}var ie=function(rr){(0,V.Z)(dr,rr);var _r=(0,se.Z)(dr);function dr(gr,Cr){var bn;(0,m.Z)(this,dr),bn=_r.call(this),(0,i.Z)((0,Q.Z)(bn),"result",""),(0,i.Z)((0,Q.Z)(bn),"unitlessCssVar",void 0),(0,i.Z)((0,Q.Z)(bn),"lowPriority",void 0);var Zn=(0,oe.Z)(gr);return bn.unitlessCssVar=Cr,gr instanceof dr?bn.result="(".concat(gr.result,")"):Zn==="number"?bn.result=U(gr):Zn==="string"&&(bn.result=gr),bn}return(0,b.Z)(dr,[{key:"add",value:function(Cr){return Cr instanceof dr?this.result="".concat(this.result," + ").concat(Cr.getResult()):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," + ").concat(U(Cr))),this.lowPriority=!0,this}},{key:"sub",value:function(Cr){return Cr instanceof dr?this.result="".concat(this.result," - ").concat(Cr.getResult()):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," - ").concat(U(Cr))),this.lowPriority=!0,this}},{key:"mul",value:function(Cr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Cr instanceof dr?this.result="".concat(this.result," * ").concat(Cr.getResult(!0)):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," * ").concat(Cr)),this.lowPriority=!1,this}},{key:"div",value:function(Cr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Cr instanceof dr?this.result="".concat(this.result," / ").concat(Cr.getResult(!0)):(typeof Cr=="number"||typeof Cr=="string")&&(this.result="".concat(this.result," / ").concat(Cr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Cr){return this.lowPriority||Cr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Cr){var bn=this,Zn=Cr||{},Ln=Zn.unit,Wn=!0;return typeof Ln=="boolean"?Wn=Ln:Array.from(this.unitlessCssVar).some(function(ai){return bn.result.includes(ai)})&&(Wn=!1),this.result=this.result.replace(Z,Wn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),dr}(q),me=function(rr){(0,V.Z)(dr,rr);var _r=(0,se.Z)(dr);function dr(gr){var Cr;return(0,m.Z)(this,dr),Cr=_r.call(this),(0,i.Z)((0,Q.Z)(Cr),"result",0),gr instanceof dr?Cr.result=gr.result:typeof gr=="number"&&(Cr.result=gr),Cr}return(0,b.Z)(dr,[{key:"add",value:function(Cr){return Cr instanceof dr?this.result+=Cr.result:typeof Cr=="number"&&(this.result+=Cr),this}},{key:"sub",value:function(Cr){return Cr instanceof dr?this.result-=Cr.result:typeof Cr=="number"&&(this.result-=Cr),this}},{key:"mul",value:function(Cr){return Cr instanceof dr?this.result*=Cr.result:typeof Cr=="number"&&(this.result*=Cr),this}},{key:"div",value:function(Cr){return Cr instanceof dr?this.result/=Cr.result:typeof Cr=="number"&&(this.result/=Cr),this}},{key:"equal",value:function(){return this.result}}]),dr}(q),Se=function(_r,dr){var gr=_r==="css"?ie:me;return function(Cr){return new gr(Cr,dr)}},Pe=Se;function Ge(rr,_r){if(rr.length!==_r.length)return!1;for(var dr=0;dr1&&arguments[1]!==void 0?arguments[1]:!1,Zn={map:this.cache};return dr.forEach(function(Ln){if(!Zn)Zn=void 0;else{var Wn;Zn=(Wn=Zn)===null||Wn===void 0||(Wn=Wn.map)===null||Wn===void 0?void 0:Wn.get(Ln)}}),(gr=Zn)!==null&&gr!==void 0&&gr.value&&bn&&(Zn.value[1]=this.cacheCallTimes++),(Cr=Zn)===null||Cr===void 0?void 0:Cr.value}},{key:"get",value:function(dr){var gr;return(gr=this.internalGet(dr,!0))===null||gr===void 0?void 0:gr[0]}},{key:"has",value:function(dr){return!!this.internalGet(dr)}},{key:"set",value:function(dr,gr){var Cr=this;if(!this.has(dr)){if(this.size()+1>rr.MAX_CACHE_SIZE+rr.MAX_CACHE_OFFSET){var bn=this.keys.reduce(function(ai,qn){var mr=(0,r.Z)(ai,2),Fr=mr[1];return Cr.internalGet(qn)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ht+=1}return(0,b.Z)(rr,[{key:"getDerivativeToken",value:function(dr){return this.derivatives.reduce(function(gr,Cr){return Cr(dr,gr)},void 0)}}]),rr}(),Wt=new je;function Rt(rr){var _r=Array.isArray(rr)?rr:[rr];return Wt.has(_r)||Wt.set(_r,new Pt(_r)),Wt.get(_r)}var ar=new WeakMap,Ue={};function _t(rr,_r){for(var dr=ar,gr=0;gr<_r.length;gr+=1){var Cr=_r[gr];dr.has(Cr)||dr.set(Cr,new WeakMap),dr=dr.get(Cr)}return dr.has(Ue)||dr.set(Ue,rr()),dr.get(Ue)}var Mt=new WeakMap;function et(rr){var _r=Mt.get(rr)||"";return _r||(Object.keys(rr).forEach(function(dr){var gr=rr[dr];_r+=dr,gr instanceof Pt?_r+=gr.id:gr&&(0,oe.Z)(gr)==="object"?_r+=et(gr):_r+=gr}),_r=o(_r),Mt.set(rr,_r)),_r}function ft(rr,_r){return o("".concat(_r,"_").concat(et(rr)))}var ot="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),qe="_bAmBoO_";function Ne(rr,_r,dr){if((0,J.Z)()){var gr,Cr;(0,h.hq)(rr,ot);var bn=document.createElement("div");bn.style.position="fixed",bn.style.left="0",bn.style.top="0",_r==null||_r(bn),document.body.appendChild(bn);var Zn=dr?dr(bn):(gr=getComputedStyle(bn).content)===null||gr===void 0?void 0:gr.includes(qe);return(Cr=bn.parentNode)===null||Cr===void 0||Cr.removeChild(bn),(0,h.jL)(ot),Zn}return!1}var ye=null;function ke(){return ye===void 0&&(ye=Ne("@layer ".concat(ot," { .").concat(ot,' { content: "').concat(qe,'"!important; } }'),function(rr){rr.className=ot})),ye}var $e=void 0;function He(){return $e===void 0&&($e=Ne(":where(.".concat(ot,') { content: "').concat(qe,'"!important; }'),function(rr){rr.className=ot})),$e}var Qe=void 0;function ut(){return Qe===void 0&&(Qe=Ne(".".concat(ot," { inset-block: 93px !important; }"),function(rr){rr.className=ot},function(rr){return getComputedStyle(rr).bottom==="93px"})),Qe}var pt=(0,J.Z)();function or(rr){return typeof rr=="number"?"".concat(rr,"px"):rr}function tr(rr,_r,dr){var gr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Cr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Cr)return rr;var bn=(0,c.Z)((0,c.Z)({},gr),{},(0,i.Z)((0,i.Z)({},M,_r),B,dr)),Zn=Object.keys(bn).map(function(Ln){var Wn=bn[Ln];return Wn?"".concat(Ln,'="').concat(Wn,'"'):null}).filter(function(Ln){return Ln}).join(" ");return"")}var Me=function(_r){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(dr?"".concat(dr,"-"):"").concat(_r).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},tt=function(_r,dr,gr){return Object.keys(_r).length?".".concat(dr).concat(gr!=null&&gr.scope?".".concat(gr.scope):"","{").concat(Object.entries(_r).map(function(Cr){var bn=(0,r.Z)(Cr,2),Zn=bn[0],Ln=bn[1];return"".concat(Zn,":").concat(Ln,";")}).join(""),"}"):""},Yt=function(_r,dr,gr){var Cr={},bn={};return Object.entries(_r).forEach(function(Zn){var Ln,Wn,ai=(0,r.Z)(Zn,2),qn=ai[0],mr=ai[1];if(gr!=null&&(Ln=gr.preserve)!==null&&Ln!==void 0&&Ln[qn])bn[qn]=mr;else if((typeof mr=="string"||typeof mr=="number")&&!(gr!=null&&(Wn=gr.ignore)!==null&&Wn!==void 0&&Wn[qn])){var Fr,Br=Me(qn,gr==null?void 0:gr.prefix);Cr[Br]=typeof mr=="number"&&!(gr!=null&&(Fr=gr.unitless)!==null&&Fr!==void 0&&Fr[qn])?"".concat(mr,"px"):String(mr),bn[qn]="var(".concat(Br,")")}}),[bn,tt(Cr,dr,{scope:gr==null?void 0:gr.scope})]},Ot=e(34280),Zt=(0,c.Z)({},a),Gt=Zt.useInsertionEffect,lr=function(_r,dr,gr){u.useMemo(_r,gr),(0,Ot.Z)(function(){return dr(!0)},gr)},Ht=Gt?function(rr,_r,dr){return Gt(function(){return rr(),_r()},dr)}:lr,Te=Ht,ce=(0,c.Z)({},a),pe=ce.useInsertionEffect,Tt=function(_r){var dr=[],gr=!1;function Cr(bn){gr||dr.push(bn)}return u.useEffect(function(){return gr=!1,function(){gr=!0,dr.length&&dr.forEach(function(bn){return bn()})}},_r),Cr},Ae=function(){return function(_r){_r()}},st=typeof pe!="undefined"?Tt:Ae,$t=st;function bt(){return!1}var Ce=!1;function yt(){return Ce}var ze=bt;if(0)var xe,dt;function It(rr,_r,dr,gr,Cr){var bn=u.useContext(ne),Zn=bn.cache,Ln=[rr].concat((0,l.Z)(_r)),Wn=k(Ln),ai=$t([Wn]),qn=ze(),mr=function(Pn){Zn.opUpdate(Wn,function(oi){var Ei=oi||[void 0,void 0],Gn=(0,r.Z)(Ei,2),ta=Gn[0],ra=ta===void 0?0:ta,_i=Gn[1],wt=_i,Qn=wt||dr(),Sa=[ra,Qn];return Pn?Pn(Sa):Sa})};u.useMemo(function(){mr()},[Wn]);var Fr=Zn.opGet(Wn),Br=Fr[1];return Te(function(){Cr==null||Cr(Br)},function(Cn){return mr(function(Pn){var oi=(0,r.Z)(Pn,2),Ei=oi[0],Gn=oi[1];return Cn&&Ei===0&&(Cr==null||Cr(Br)),[Ei+1,Gn]}),function(){Zn.opUpdate(Wn,function(Pn){var oi=Pn||[],Ei=(0,r.Z)(oi,2),Gn=Ei[0],ta=Gn===void 0?0:Gn,ra=Ei[1],_i=ta-1;return _i===0?(ai(function(){(Cn||!Zn.opGet(Wn))&&(gr==null||gr(ra,!1))}),null):[ta-1,ra]})}},[Wn]),Br}var Be={},Or="css",mt=new Map;function Jr(rr){mt.set(rr,(mt.get(rr)||0)+1)}function an(rr,_r){if(typeof document!="undefined"){var dr=document.querySelectorAll("style[".concat(M,'="').concat(rr,'"]'));dr.forEach(function(gr){if(gr[K]===_r){var Cr;(Cr=gr.parentNode)===null||Cr===void 0||Cr.removeChild(gr)}})}}var Nt=0;function Jt(rr,_r){mt.set(rr,(mt.get(rr)||0)-1);var dr=new Set;mt.forEach(function(gr,Cr){gr<=0&&dr.add(Cr)}),mt.size-dr.size>Nt&&dr.forEach(function(gr){an(gr,_r),mt.delete(gr)})}var Lt=function(_r,dr,gr,Cr){var bn=gr.getDerivativeToken(_r),Zn=(0,c.Z)((0,c.Z)({},bn),dr);return Cr&&(Zn=Cr(Zn)),Zn},Xt="token";function wr(rr,_r){var dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gr=(0,u.useContext)(ne),Cr=gr.cache.instanceId,bn=gr.container,Zn=dr.salt,Ln=Zn===void 0?"":Zn,Wn=dr.override,ai=Wn===void 0?Be:Wn,qn=dr.formatToken,mr=dr.getComputedToken,Fr=dr.cssVar,Br=_t(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(_r)))},_r),Cn=et(Br),Pn=et(ai),oi=Fr?et(Fr):"",Ei=It(Xt,[Ln,rr.id,Cn,Pn,oi],function(){var Gn,ta=mr?mr(Br,ai,rr):Lt(Br,ai,rr,qn),ra=(0,c.Z)({},ta),_i="";if(Fr){var wt=Yt(ta,Fr.key,{prefix:Fr.prefix,ignore:Fr.ignore,unitless:Fr.unitless,preserve:Fr.preserve}),Qn=(0,r.Z)(wt,2);ta=Qn[0],_i=Qn[1]}var Sa=ft(ta,Ln);ta._tokenKey=Sa,ra._tokenKey=ft(ra,Ln);var Ra=(Gn=Fr==null?void 0:Fr.key)!==null&&Gn!==void 0?Gn:Sa;ta._themeKey=Ra,Jr(Ra);var Ys="".concat(Or,"-").concat(o(Sa));return ta._hashId=Ys,[ta,Ys,ra,_i,(Fr==null?void 0:Fr.key)||""]},function(Gn){Jt(Gn[0]._themeKey,Cr)},function(Gn){var ta=(0,r.Z)(Gn,4),ra=ta[0],_i=ta[3];if(Fr&&_i){var wt=(0,h.hq)(_i,o("css-variables-".concat(ra._themeKey)),{mark:B,prepend:"queue",attachTo:bn,priority:-999});wt[K]=Cr,wt.setAttribute(M,ra._themeKey)}});return Ei}var Ir=function(_r,dr,gr){var Cr=(0,r.Z)(_r,5),bn=Cr[2],Zn=Cr[3],Ln=Cr[4],Wn=gr||{},ai=Wn.plain;if(!Zn)return null;var qn=bn._tokenKey,mr=-999,Fr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(mr)},Br=tr(Zn,Ln,qn,Fr,ai);return[mr,qn,Br]},At=e(54476),Kt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bt=Kt,qt="-ms-",br="-moz-",Qr="-webkit-",Hr="comm",jn="rule",En="decl",Yn="@page",St="@media",Vr="@import",ii="@charset",Bi="@viewport",$n="@supports",ci="@document",Oi="@namespace",zi="@keyframes",Ai="@font-face",ji="@counter-style",ha="@font-feature-values",ea="@layer",Yi="@scope",mi=Math.abs,Zi=String.fromCharCode,Ta=Object.assign;function xt(rr,_r){return Gi(rr,0)^45?(((_r<<2^Gi(rr,0))<<2^Gi(rr,1))<<2^Gi(rr,2))<<2^Gi(rr,3):0}function xa(rr){return rr.trim()}function Wi(rr,_r){return(rr=_r.exec(rr))?rr[0]:rr}function vi(rr,_r,dr){return rr.replace(_r,dr)}function Da(rr,_r,dr){return rr.indexOf(_r,dr)}function Gi(rr,_r){return rr.charCodeAt(_r)|0}function ei(rr,_r,dr){return rr.slice(_r,dr)}function zn(rr){return rr.length}function we(rr){return rr.length}function nt(rr,_r){return _r.push(rr),rr}function Je(rr,_r){return rr.map(_r).join("")}function Ct(rr,_r){return rr.filter(function(dr){return!Wi(dr,_r)})}function lt(rr,_r){for(var dr="",gr=0;gr0?Gi(An,--en):0,Tr--,Nr===10&&(Tr=1,pr--),Nr}function _e(){return Nr=en2||Gr(Nr)>3?"":" "}function $r(rr){for(;_e();)switch(Gr(Nr)){case 0:append(qs(en-1),rr);break;case 2:append(Si(Nr),rr);break;default:append(from(Nr),rr)}return rr}function kn(rr,_r){for(;--_r&&_e()&&!(Nr<48||Nr>102||Nr>57&&Nr<65||Nr>70&&Nr<97););return kr(rr,nr()+(_r<6&&sr()==32&&_e()==32))}function si(rr){for(;_e();)switch(Nr){case rr:return en;case 34:case 39:rr!==34&&rr!==39&&si(Nr);break;case 40:rr===41&&si(rr);break;case 92:_e();break}return en}function wa(rr,_r){for(;_e()&&rr+Nr!==57;)if(rr+Nr===84&&sr()===47)break;return"/*"+kr(_r,en-1)+"*"+Zi(rr===47?rr:_e())}function qs(rr){for(;!Gr(sr());)_e();return kr(rr,en)}function Ba(rr){return hn(zs("",null,null,null,[""],rr=Wr(rr),0,[0],rr))}function zs(rr,_r,dr,gr,Cr,bn,Zn,Ln,Wn){for(var ai=0,qn=0,mr=Zn,Fr=0,Br=0,Cn=0,Pn=1,oi=1,Ei=1,Gn=0,ta="",ra=Cr,_i=bn,wt=gr,Qn=ta;oi;)switch(Cn=Gn,Gn=_e()){case 40:if(Cn!=108&&Gi(Qn,mr-1)==58){Da(Qn+=vi(Si(Gn),"&","&\f"),"&\f",mi(ai?Ln[ai-1]:0))!=-1&&(Ei=-1);break}case 34:case 39:case 91:Qn+=Si(Gn);break;case 9:case 10:case 13:case 32:Qn+=yn(Cn);break;case 92:Qn+=kn(nr()-1,7);continue;case 47:switch(sr()){case 42:case 47:nt(as(wa(_e(),nr()),_r,dr,Wn),Wn),(Gr(Cn||1)==5||Gr(sr()||1)==5)&&zn(Qn)&&ei(Qn,-1,void 0)!==" "&&(Qn+=" ");break;default:Qn+="/"}break;case 123*Pn:Ln[ai++]=zn(Qn)*Ei;case 125*Pn:case 59:case 0:switch(Gn){case 0:case 125:oi=0;case 59+qn:Ei==-1&&(Qn=vi(Qn,/\f/g,"")),Br>0&&(zn(Qn)-mr||Pn===0&&Cn===47)&&nt(Br>32?uo(Qn+";",gr,dr,mr-1,Wn):uo(vi(Qn," ","")+";",gr,dr,mr-2,Wn),Wn);break;case 59:Qn+=";";default:if(nt(wt=Ns(Qn,_r,dr,ai,qn,Cr,Ln,ta,ra=[],_i=[],mr,bn),bn),Gn===123)if(qn===0)zs(Qn,_r,wt,wt,ra,bn,mr,Ln,_i);else{switch(Fr){case 99:if(Gi(Qn,3)===110)break;case 108:if(Gi(Qn,2)===97)break;default:qn=0;case 100:case 109:case 115:}qn?zs(rr,wt,wt,gr&&nt(Ns(rr,wt,wt,0,0,Cr,Ln,ta,Cr,ra=[],mr,_i),_i),Cr,_i,mr,Ln,gr?ra:_i):zs(Qn,wt,wt,wt,[""],_i,0,Ln,_i)}}ai=qn=Br=0,Pn=Ei=1,ta=Qn="",mr=Zn;break;case 58:mr=1+zn(Qn),Br=Cn;default:if(Pn<1){if(Gn==123)--Pn;else if(Gn==125&&Pn++==0&&ct()==125)continue}switch(Qn+=Zi(Gn),Gn*Pn){case 38:Ei=qn>0?1:(Qn+="\f",-1);break;case 44:Ln[ai++]=(zn(Qn)-1)*Ei,Ei=1;break;case 64:sr()===45&&(Qn+=Si(_e())),Fr=sr(),qn=mr=zn(ta=Qn+=qs(nr())),Gn++;break;case 45:Cn===45&&zn(Qn)==2&&(Pn=0)}}return bn}function Ns(rr,_r,dr,gr,Cr,bn,Zn,Ln,Wn,ai,qn,mr){for(var Fr=Cr-1,Br=Cr===0?bn:[""],Cn=we(Br),Pn=0,oi=0,Ei=0;Pn0?Br[Gn]+" "+ta:vi(ta,/&\f/g,Br[Gn])))&&(Wn[Ei++]=ra);return vr(rr,_r,dr,Cr===0?jn:Ln,Wn,ai,qn,mr)}function as(rr,_r,dr,gr){return vr(rr,_r,dr,Hr,Zi(Ke()),ei(rr,2,-2),0,gr)}function uo(rr,_r,dr,gr,Cr){return vr(rr,_r,dr,En,ei(rr,0,gr),ei(rr,gr+1,-1),gr,Cr)}function Aa(rr,_r){var dr=_r.path,gr=_r.parentSelectors;(0,Dt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(dr?"Error in ".concat(dr,": "):"").concat(rr).concat(gr.length?" Selector: ".concat(gr.join(" | ")):""))}var Ps=function(_r,dr,gr){if(_r==="content"){var Cr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,bn=["normal","none","initial","inherit","unset"];(typeof dr!="string"||bn.indexOf(dr)===-1&&!Cr.test(dr)&&(dr.charAt(0)!==dr.charAt(dr.length-1)||dr.charAt(0)!=='"'&&dr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(dr,"\"'`."),gr)}},ps=null,po=function(_r,dr,gr){_r==="animation"&&gr.hashId&&dr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(dr,"', in which case 'animationName' with Keyframe as value is recommended."),gr)},qi=null;function ro(rr){var _r,dr=((_r=rr.match(/:not\(([^)]*)\)/))===null||_r===void 0?void 0:_r[1])||"",gr=dr.split(/(\[[^[]*])|(?=[.#])/).filter(function(Cr){return Cr});return gr.length>1}function Wo(rr){return rr.parentSelectors.reduce(function(_r,dr){return _r?dr.includes("&")?dr.replace(/&/g,_r):"".concat(_r," ").concat(dr):dr},"")}var Na=function(_r,dr,gr){var Cr=Wo(gr),bn=Cr.match(/:not\([^)]*\)/g)||[];bn.length>0&&bn.some(ro)&&Aa("Concat ':not' selector not support in legacy browsers.",gr)},Zs=Na,di=function(_r,dr,gr){switch(_r){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Aa("You seem to be using non-logical property '".concat(_r,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof dr=="string"){var Cr=dr.split(" ").map(function(Ln){return Ln.trim()});Cr.length===4&&Cr[1]!==Cr[3]&&Aa("You seem to be using '".concat(_r,"' property with different left ").concat(_r," and right ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;case"clear":case"textAlign":(dr==="left"||dr==="right")&&Aa("You seem to be using non-logical value '".concat(dr,"' of ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr);return;case"borderRadius":if(typeof dr=="string"){var bn=dr.split("/").map(function(Ln){return Ln.trim()}),Zn=bn.reduce(function(Ln,Wn){if(Ln)return Ln;var ai=Wn.split(" ").map(function(qn){return qn.trim()});return ai.length>=2&&ai[0]!==ai[1]||ai.length===3&&ai[1]!==ai[2]||ai.length===4&&ai[2]!==ai[3]?!0:Ln},!1);Zn&&Aa("You seem to be using non-logical value '".concat(dr,"' of ").concat(_r,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),gr)}return;default:}},no=di,Rn=function(_r,dr,gr){(typeof dr=="string"&&/NaN/g.test(dr)||Number.isNaN(dr))&&Aa("Unexpected 'NaN' in property '".concat(_r,": ").concat(dr,"'."),gr)},ss=Rn,Is=function(_r,dr,gr){gr.parentSelectors.some(function(Cr){var bn=Cr.split(",");return bn.some(function(Zn){return Zn.split("&").length>2})})&&Aa("Should not use more than one `&` in a selector.",gr)},Os=Is,Xi="data-ant-cssinjs-cache-path",Ka="_FILE_STYLE__";function Ni(rr){return Object.keys(rr).map(function(_r){var dr=rr[_r];return"".concat(_r,":").concat(dr)}).join(";")}var Ds,xo=!0;function Ho(rr){var _r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Ds=rr,xo=_r}function Xo(){if(!Ds&&(Ds={},(0,J.Z)())){var rr=document.createElement("div");rr.className=Xi,rr.style.position="fixed",rr.style.visibility="hidden",rr.style.top="-9999px",document.body.appendChild(rr);var _r=getComputedStyle(rr).content||"";_r=_r.replace(/^"/,"").replace(/"$/,""),_r.split(";").forEach(function(Cr){var bn=Cr.split(":"),Zn=(0,r.Z)(bn,2),Ln=Zn[0],Wn=Zn[1];Ds[Ln]=Wn});var dr=document.querySelector("style[".concat(Xi,"]"));if(dr){var gr;xo=!1,(gr=dr.parentNode)===null||gr===void 0||gr.removeChild(dr)}document.body.removeChild(rr)}}function mu(rr){return Xo(),!!Ds[rr]}function vu(rr){var _r=Ds[rr],dr=null;if(_r&&(0,J.Z)())if(xo)dr=Ka;else{var gr=document.querySelector("style[".concat(B,'="').concat(Ds[rr],'"]'));gr?dr=gr.innerHTML:delete Ds[rr]}return[dr,_r]}var go="_skip_check_",Go="_multi_value_";function Oo(rr){var _r=lt(Ba(rr),hr);return _r.replace(/\{%%%\:[^;];}/g,";")}function nu(rr){return(0,oe.Z)(rr)==="object"&&rr&&(go in rr||Go in rr)}function Qo(rr,_r,dr){if(!_r)return rr;var gr=".".concat(_r),Cr=dr==="low"?":where(".concat(gr,")"):gr,bn=rr.split(",").map(function(Zn){var Ln,Wn=Zn.trim().split(/\s+/),ai=Wn[0]||"",qn=((Ln=ai.match(/^\w+/))===null||Ln===void 0?void 0:Ln[0])||"";return ai="".concat(qn).concat(Cr).concat(ai.slice(qn.length)),[ai].concat((0,l.Z)(Wn.slice(1))).join(" ")});return bn.join(",")}var hi=function rr(_r){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Cr=gr.root,bn=gr.injectHash,Zn=gr.parentSelectors,Ln=dr.hashId,Wn=dr.layer,ai=dr.path,qn=dr.hashPriority,mr=dr.transformers,Fr=mr===void 0?[]:mr,Br=dr.linters,Cn=Br===void 0?[]:Br,Pn="",oi={};function Ei(ra){var _i=ra.getName(Ln);if(!oi[_i]){var wt=rr(ra.style,dr,{root:!1,parentSelectors:Zn}),Qn=(0,r.Z)(wt,1),Sa=Qn[0];oi[_i]="@keyframes ".concat(ra.getName(Ln)).concat(Sa)}}function Gn(ra){var _i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ra.forEach(function(wt){Array.isArray(wt)?Gn(wt,_i):wt&&_i.push(wt)}),_i}var ta=Gn(Array.isArray(_r)?_r:[_r]);return ta.forEach(function(ra){var _i=typeof ra=="string"&&!Cr?{}:ra;if(typeof _i=="string")Pn+="".concat(_i,` +`);else if(_i._keyframe)Ei(_i);else{var wt=Fr.reduce(function(Qn,Sa){var Ra;return(Sa==null||(Ra=Sa.visit)===null||Ra===void 0?void 0:Ra.call(Sa,Qn))||Qn},_i);Object.keys(wt).forEach(function(Qn){var Sa=wt[Qn];if((0,oe.Z)(Sa)==="object"&&Sa&&(Qn!=="animationName"||!Sa._keyframe)&&!nu(Sa)){var Ra=!1,Ys=Qn.trim(),sn=!1;(Cr||bn)&&Ln?Ys.startsWith("@")?Ra=!0:Ys==="&"?Ys=Qo("",Ln,qn):Ys=Qo(Qn,Ln,qn):Cr&&!Ln&&(Ys==="&"||Ys==="")&&(Ys="",sn=!0);var Do=rr(Sa,dr,{root:sn,injectHash:Ra,parentSelectors:[].concat((0,l.Z)(Zn),[Ys])}),lo=(0,r.Z)(Do,2),Rs=lo[0],io=lo[1];oi=(0,c.Z)((0,c.Z)({},oi),io),Pn+="".concat(Ys).concat(Rs)}else{let cs=function(ja,os){var Xe=ja.replace(/[A-Z]/g,function(Ft){return"-".concat(Ft.toLowerCase())}),Ie=os;!Bt[ja]&&typeof Ie=="number"&&Ie!==0&&(Ie="".concat(Ie,"px")),ja==="animationName"&&os!==null&&os!==void 0&&os._keyframe&&(Ei(os),Ie=os.getName(Ln)),Pn+="".concat(Xe,":").concat(Ie,";")};var ao,ts=(ao=Sa==null?void 0:Sa.value)!==null&&ao!==void 0?ao:Sa;(0,oe.Z)(Sa)==="object"&&Sa!==null&&Sa!==void 0&&Sa[Go]&&Array.isArray(ts)?ts.forEach(function(ja){cs(Qn,ja)}):cs(Qn,ts)}})}}),Cr?Wn&&(Pn&&(Pn="@layer ".concat(Wn.name," {").concat(Pn,"}")),Wn.dependencies&&(oi["@layer ".concat(Wn.name)]=Wn.dependencies.map(function(ra){return"@layer ".concat(ra,", ").concat(Wn.name,";")}).join(` +`))):Pn="{".concat(Pn,"}"),[Pn,oi]};function gi(rr,_r){return o("".concat(rr.join("%")).concat(_r))}function Ja(){return null}var ls="style";function es(rr,_r){var dr=rr.token,gr=rr.path,Cr=rr.hashId,bn=rr.layer,Zn=rr.nonce,Ln=rr.clientOnly,Wn=rr.order,ai=Wn===void 0?0:Wn,qn=u.useContext(ne),mr=qn.autoClear,Fr=qn.mock,Br=qn.defaultCache,Cn=qn.hashPriority,Pn=qn.container,oi=qn.ssrInline,Ei=qn.transformers,Gn=qn.linters,ta=qn.cache,ra=qn.layer,_i=dr._tokenKey,wt=[_i];ra&&wt.push("layer"),wt.push.apply(wt,(0,l.Z)(gr));var Qn=pt,Sa=It(ls,wt,function(){var lo=wt.join("|");if(mu(lo)){var Rs=vu(lo),io=(0,r.Z)(Rs,2),ao=io[0],ts=io[1];if(ao)return[ao,_i,ts,{},Ln,ai]}var cs=_r(),ja=hi(cs,{hashId:Cr,hashPriority:Cn,layer:ra?bn:void 0,path:gr.join("-"),transformers:Ei,linters:Gn}),os=(0,r.Z)(ja,2),Xe=os[0],Ie=os[1],Ft=Oo(Xe),vt=gi(wt,Ft);return[Ft,_i,vt,Ie,Ln,ai]},function(lo,Rs){var io=(0,r.Z)(lo,3),ao=io[2];(Rs||mr)&&pt&&(0,h.jL)(ao,{mark:B,attachTo:Pn})},function(lo){var Rs=(0,r.Z)(lo,4),io=Rs[0],ao=Rs[1],ts=Rs[2],cs=Rs[3];if(Qn&&io!==Ka){var ja={mark:B,prepend:ra?!1:"queue",attachTo:Pn,priority:ai},os=typeof Zn=="function"?Zn():Zn;os&&(ja.csp={nonce:os});var Xe=[],Ie=[];Object.keys(cs).forEach(function(vt){vt.startsWith("@layer")?Xe.push(vt):Ie.push(vt)}),Xe.forEach(function(vt){(0,h.hq)(Oo(cs[vt]),"_layer-".concat(vt),(0,c.Z)((0,c.Z)({},ja),{},{prepend:!0}))});var Ft=(0,h.hq)(io,ts,ja);Ft[K]=ta.instanceId,Ft.setAttribute(M,_i),Ie.forEach(function(vt){(0,h.hq)(Oo(cs[vt]),"_effect-".concat(vt),ja)})}}),Ra=(0,r.Z)(Sa,3),Ys=Ra[0],sn=Ra[1],Do=Ra[2];return function(lo){var Rs;return!oi||Qn||!Br?Rs=u.createElement(Ja,null):Rs=u.createElement("style",(0,At.Z)({},(0,i.Z)((0,i.Z)({},M,sn),B,Do),{dangerouslySetInnerHTML:{__html:Ys}})),u.createElement(u.Fragment,null,Rs,lo)}}var Ha=function(_r,dr,gr){var Cr=(0,r.Z)(_r,6),bn=Cr[0],Zn=Cr[1],Ln=Cr[2],Wn=Cr[3],ai=Cr[4],qn=Cr[5],mr=gr||{},Fr=mr.plain;if(ai)return null;var Br=bn,Cn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(qn)};return Br=tr(bn,Zn,Ln,Cn,Fr),Wn&&Object.keys(Wn).forEach(function(Pn){if(!dr[Pn]){dr[Pn]=!0;var oi=Oo(Wn[Pn]),Ei=tr(oi,Zn,"_effect-".concat(Pn),Cn,Fr);Pn.startsWith("@layer")?Br=Ei+Br:Br+=Ei}}),[qn,Ln,Br]},ms="cssVar",qo=function(_r,dr){var gr=_r.key,Cr=_r.prefix,bn=_r.unitless,Zn=_r.ignore,Ln=_r.token,Wn=_r.scope,ai=Wn===void 0?"":Wn,qn=(0,u.useContext)(ne),mr=qn.cache.instanceId,Fr=qn.container,Br=Ln._tokenKey,Cn=[].concat((0,l.Z)(_r.path),[gr,ai,Br]),Pn=It(ms,Cn,function(){var oi=dr(),Ei=Yt(oi,gr,{prefix:Cr,unitless:bn,ignore:Zn,scope:ai}),Gn=(0,r.Z)(Ei,2),ta=Gn[0],ra=Gn[1],_i=gi(Cn,ra);return[ta,ra,_i,gr]},function(oi){var Ei=(0,r.Z)(oi,3),Gn=Ei[2];pt&&(0,h.jL)(Gn,{mark:B,attachTo:Fr})},function(oi){var Ei=(0,r.Z)(oi,3),Gn=Ei[1],ta=Ei[2];if(Gn){var ra=(0,h.hq)(Gn,ta,{mark:B,prepend:"queue",attachTo:Fr,priority:-999});ra[K]=mr,ra.setAttribute(M,gr)}});return Pn},ks=function(_r,dr,gr){var Cr=(0,r.Z)(_r,4),bn=Cr[1],Zn=Cr[2],Ln=Cr[3],Wn=gr||{},ai=Wn.plain;if(!bn)return null;var qn=-999,mr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(qn)},Fr=tr(bn,Ln,Zn,mr,ai);return[qn,Zn,Fr]},Mo=qo,wu=(0,i.Z)((0,i.Z)((0,i.Z)({},ls,Ha),Xt,Ir),ms,ks);function Iu(rr){return rr!==null}function rl(rr,_r){var dr=typeof _r=="boolean"?{plain:_r}:_r||{},gr=dr.plain,Cr=gr===void 0?!1:gr,bn=dr.types,Zn=bn===void 0?["style","token","cssVar"]:bn,Ln=dr.once,Wn=Ln===void 0?!1:Ln,ai=new RegExp("^(".concat((typeof Zn=="string"?[Zn]:Zn).join("|"),")%")),qn=Array.from(rr.cache.keys()).filter(function(Cn){return ai.test(Cn)}),mr={},Fr={},Br="";return qn.map(function(Cn){if(Wn&&rr.extracted.has(Cn))return null;var Pn=Cn.replace(ai,"").replace(/%/g,"|"),oi=Cn.split("%"),Ei=(0,r.Z)(oi,1),Gn=Ei[0],ta=wu[Gn],ra=ta(rr.cache.get(Cn)[1],mr,{plain:Cr});if(!ra)return null;var _i=(0,r.Z)(ra,3),wt=_i[0],Qn=_i[1],Sa=_i[2];return Cn.startsWith("style")&&(Fr[Pn]=Qn),rr.extracted.add(Cn),[wt,Sa]}).filter(Iu).sort(function(Cn,Pn){var oi=(0,r.Z)(Cn,1),Ei=oi[0],Gn=(0,r.Z)(Pn,1),ta=Gn[0];return Ei-ta}).forEach(function(Cn){var Pn=(0,r.Z)(Cn,2),oi=Pn[1];Br+=oi}),Br+=tr(".".concat(Xi,'{content:"').concat(Ni(Fr),'";}'),void 0,void 0,(0,i.Z)({},Xi,Xi),Cr),Br}var dl=function(){function rr(_r,dr){(0,m.Z)(this,rr),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=_r,this.style=dr}return(0,b.Z)(rr,[{key:"getName",value:function(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return dr?"".concat(dr,"-").concat(this.name):this.name}}]),rr}(),Fo=dl;function Js(rr){if(typeof rr=="number")return[[rr],!1];var _r=String(rr).trim(),dr=_r.match(/(.*)(!important)/),gr=(dr?dr[1]:_r).trim().split(/\s+/),Cr=[],bn=0;return[gr.reduce(function(Zn,Ln){if(Ln.includes("(")||Ln.includes(")")){var Wn=Ln.split("(").length-1,ai=Ln.split(")").length-1;bn+=Wn-ai}return bn>=0&&Cr.push(Ln),bn===0&&(Zn.push(Cr.join(" ")),Cr=[]),Zn},[]),!!dr]}function Bo(rr){return rr.notSplit=!0,rr}var Gu={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Bo(["borderTop","borderBottom"]),borderBlockStart:Bo(["borderTop"]),borderBlockEnd:Bo(["borderBottom"]),borderInline:Bo(["borderLeft","borderRight"]),borderInlineStart:Bo(["borderLeft"]),borderInlineEnd:Bo(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function No(rr,_r){var dr=rr;return _r&&(dr="".concat(dr," !important")),{_skip_check_:!0,value:dr}}var $o={visit:function(_r){var dr={};return Object.keys(_r).forEach(function(gr){var Cr=_r[gr],bn=Gu[gr];if(bn&&(typeof Cr=="number"||typeof Cr=="string")){var Zn=Js(Cr),Ln=(0,r.Z)(Zn,2),Wn=Ln[0],ai=Ln[1];bn.length&&bn.notSplit?bn.forEach(function(qn){dr[qn]=No(Cr,ai)}):bn.length===1?dr[bn[0]]=No(Wn[0],ai):bn.length===2?bn.forEach(function(qn,mr){var Fr;dr[qn]=No((Fr=Wn[mr])!==null&&Fr!==void 0?Fr:Wn[0],ai)}):bn.length===4?bn.forEach(function(qn,mr){var Fr,Br;dr[qn]=No((Fr=(Br=Wn[mr])!==null&&Br!==void 0?Br:Wn[mr-2])!==null&&Fr!==void 0?Fr:Wn[0],ai)}):dr[gr]=Cr}else dr[gr]=Cr}),dr}},Uu=$o,iu=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function gu(rr,_r){var dr=Math.pow(10,_r+1),gr=Math.floor(rr*dr);return Math.round(gr/10)*10/dr}var jo=function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},dr=_r.rootValue,gr=dr===void 0?16:dr,Cr=_r.precision,bn=Cr===void 0?5:Cr,Zn=_r.mediaQuery,Ln=Zn===void 0?!1:Zn,Wn=function(mr,Fr){if(!Fr)return mr;var Br=parseFloat(Fr);if(Br<=1)return mr;var Cn=gu(Br/gr,bn);return"".concat(Cn,"rem")},ai=function(mr){var Fr=(0,c.Z)({},mr);return Object.entries(mr).forEach(function(Br){var Cn=(0,r.Z)(Br,2),Pn=Cn[0],oi=Cn[1];if(typeof oi=="string"&&oi.includes("px")){var Ei=oi.replace(iu,Wn);Fr[Pn]=Ei}!Bt[Pn]&&typeof oi=="number"&&oi!==0&&(Fr[Pn]="".concat(oi,"px").replace(iu,Wn));var Gn=Pn.trim();if(Gn.startsWith("@")&&Gn.includes("px")&&Ln){var ta=Pn.replace(iu,Wn);Fr[ta]=Fr[Pn],delete Fr[Pn]}}),Fr};return{visit:ai}},_u=jo,Ko={supportModernCSS:function(){return He()&&ut()}}},7657:function(d,g,e){"use strict";e.d(g,{Z:function(){return le}});var r=e(54476),i=e(42978),l=e(20068),c=e(75931),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(33885),p=e(76190),y=e(810),m=e(96452),b=e(48736);function S(Z){return Z.replace(/-(.)/g,function(U,ie){return ie.toUpperCase()})}function k(Z,U){(0,b.ZP)(Z,"[@ant-design/icons] ".concat(U))}function R(Z){return(0,p.Z)(Z)==="object"&&typeof Z.name=="string"&&typeof Z.theme=="string"&&((0,p.Z)(Z.icon)==="object"||typeof Z.icon=="function")}function A(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Z).reduce(function(U,ie){var me=Z[ie];switch(ie){case"class":U.className=me,delete U.class;break;default:delete U[ie],U[S(ie)]=me}return U},{})}function I(Z,U,ie){return ie?f.createElement(Z.tag,(0,x.Z)((0,x.Z)({key:U},A(Z.attrs)),ie),(Z.children||[]).map(function(me,Se){return I(me,"".concat(U,"-").concat(Z.tag,"-").concat(Se))})):f.createElement(Z.tag,(0,x.Z)({key:U},A(Z.attrs)),(Z.children||[]).map(function(me,Se){return I(me,"".concat(U,"-").concat(Z.tag,"-").concat(Se))}))}function M(Z){return(0,u.generate)(Z)[0]}function B(Z){return Z?Array.isArray(Z)?Z:[Z]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=` .anticon { display: inline-flex; align-items: center; @@ -55,47 +55,47 @@ transform: rotate(360deg); } } -`,G=function(j){var ie=(0,f.useContext)(a.Z),me=ie.csp,Se=ie.prefixCls,Pe=ie.layer,Ge=K;Se&&(Ge=Ge.replace(/anticon/g,Se)),Pe&&(Ge="@layer ".concat(Pe,` { +`,G=function(U){var ie=(0,f.useContext)(a.Z),me=ie.csp,Se=ie.prefixCls,Pe=ie.layer,Ge=K;Se&&(Ge=Ge.replace(/anticon/g,Se)),Pe&&(Ge="@layer ".concat(Pe,` { `).concat(Ge,` -}`)),(0,f.useEffect)(function(){var je=j.current,Dt=(0,m.A)(je);(0,y.hq)(Ge,"@ant-design-icons",{prepend:!Pe,csp:me,attachTo:Dt})},[])},H=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ne(Z){var j=Z.primaryColor,ie=Z.secondaryColor;ae.primaryColor=j,ae.secondaryColor=ie||M(j),ae.calculated=!!ie}function oe(){return(0,x.Z)({},ae)}var J=function(j){var ie=j.icon,me=j.className,Se=j.onClick,Pe=j.style,Ge=j.primaryColor,je=j.secondaryColor,Dt=(0,c.Z)(j,H),ht=f.useRef(),Pt=ae;if(Ge&&(Pt={primaryColor:Ge,secondaryColor:je||M(Ge)}),G(ht),k(R(ie),"icon should be icon definiton, but got ".concat(ie)),!R(ie))return null;var Wt=ie;return Wt&&typeof Wt.icon=="function"&&(Wt=(0,x.Z)((0,x.Z)({},Wt),{},{icon:Wt.icon(Pt.primaryColor,Pt.secondaryColor)})),I(Wt.icon,"svg-".concat(Wt.name),(0,x.Z)((0,x.Z)({className:me,onClick:Se,style:Pe,"data-icon":Wt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Dt),{},{ref:ht}))};J.displayName="IconReact",J.getTwoToneColors=oe,J.setTwoToneColors=ne;var Q=J;function V(Z){var j=B(Z),ie=(0,i.Z)(j,2),me=ie[0],Se=ie[1];return Q.setTwoToneColors({primaryColor:me,secondaryColor:Se})}function se(){var Z=Q.getTwoToneColors();return Z.calculated?[Z.primaryColor,Z.secondaryColor]:Z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];V(u.blue.primary);var q=f.forwardRef(function(Z,j){var ie=Z.className,me=Z.icon,Se=Z.spin,Pe=Z.rotate,Ge=Z.tabIndex,je=Z.onClick,Dt=Z.twoToneColor,ht=(0,c.Z)(Z,ee),Pt=f.useContext(a.Z),Wt=Pt.prefixCls,Rt=Wt===void 0?"anticon":Wt,ar=Pt.rootClassName,Ue=h()(ar,Rt,(0,l.Z)((0,l.Z)({},"".concat(Rt,"-").concat(me.name),!!me.name),"".concat(Rt,"-spin"),!!Se||me.name==="loading"),ie),_t=Ge;_t===void 0&&je&&(_t=-1);var Mt=Pe?{msTransform:"rotate(".concat(Pe,"deg)"),transform:"rotate(".concat(Pe,"deg)")}:void 0,et=B(Dt),ft=(0,i.Z)(et,2),ot=ft[0],qe=ft[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":me.name},ht,{ref:j,tabIndex:_t,onClick:je,className:Ue}),f.createElement(Q,{icon:me,primaryColor:ot,secondaryColor:qe,style:Mt}))});q.displayName="AntdIcon",q.getTwoToneColor=se,q.setTwoToneColor=V;var le=q},18418:function(d,g,e){"use strict";var r=e(59301),i=(0,r.createContext)({});g.Z=i},29679:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},19248:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},99267:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},96512:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},78987:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},58617:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},12722:function(d,g,e){"use strict";e.d(g,{GC:function(){return x},T6:function(){return y},VD:function(){return m},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return o},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(S,k,R){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(k,255)*255,b:(0,r.sh)(R,255)*255}}function l(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=0,N=(A+I)/2;if(A===I)B=0,M=0;else{var K=A-I;switch(B=N>.5?K/(2-A-I):K/(A+I),A){case S:M=(k-R)/K+(k1&&(R-=1),R<.16666666666666666?S+(k-S)*(6*R):R<.5?k:R<.6666666666666666?S+(k-S)*(.6666666666666666-R)*6:S}function f(S,k,R){var A,I,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)I=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,N=2*R-B;A=c(N,B,S+.3333333333333333),I=c(N,B,S),M=c(N,B,S-.3333333333333333)}return{r:A*255,g:I*255,b:M*255}}function o(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=A,N=A-I,K=A===0?0:N/A;if(A===I)M=0;else{switch(A){case S:M=(k-R)/N+(k>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,g,e){"use strict";e.d(g,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,g,e){"use strict";e.d(g,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(m){var b={r:0,g:0,b:0},S=1,k=null,R=null,A=null,I=!1,M=!1;return typeof m=="string"&&(m=p(m)),typeof m=="object"&&(y(m.r)&&y(m.g)&&y(m.b)?(b=(0,r.rW)(m.r,m.g,m.b),I=!0,M=String(m.r).substr(-1)==="%"?"prgb":"rgb"):y(m.h)&&y(m.s)&&y(m.v)?(k=(0,l.JX)(m.s),R=(0,l.JX)(m.v),b=(0,r.WE)(m.h,k,R),I=!0,M="hsv"):y(m.h)&&y(m.s)&&y(m.l)&&(k=(0,l.JX)(m.s),A=(0,l.JX)(m.l),b=(0,r.ve)(m.h,k,A),I=!0,M="hsl"),Object.prototype.hasOwnProperty.call(m,"a")&&(S=m.a)),S=(0,l.Yq)(S),{ok:I,format:m.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",o="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(o,")|(?:").concat(f,")"),u="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),a="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),x={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(m){if(m=m.trim().toLowerCase(),m.length===0)return!1;var b=!1;if(i.R[m])m=i.R[m],b=!0;else if(m==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var S=x.rgb.exec(m);return S?{r:S[1],g:S[2],b:S[3]}:(S=x.rgba.exec(m),S?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=x.hsl.exec(m),S?{h:S[1],s:S[2],l:S[3]}:(S=x.hsla.exec(m),S?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=x.hsv.exec(m),S?{h:S[1],s:S[2],v:S[3]}:(S=x.hsva.exec(m),S?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=x.hex8.exec(m),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),a:(0,r.T6)(S[4]),format:b?"name":"hex8"}:(S=x.hex6.exec(m),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),format:b?"name":"hex"}:(S=x.hex4.exec(m),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),a:(0,r.T6)(S[4]+S[4]),format:b?"name":"hex8"}:(S=x.hex3.exec(m),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),format:b?"name":"hex"}:!1)))))))))}function y(m){return!!x.CSS_UNIT.exec(String(m))}},64993:function(d,g,e){"use strict";e.d(g,{C:function(){return f},H:function(){return o}});var r=e(12722),i=e(93796),l=e(9915),c=e(12187),f=function(){function h(u,a){u===void 0&&(u=""),a===void 0&&(a={});var x;if(u instanceof h)return u;typeof u=="number"&&(u=(0,r.Yt)(u)),this.originalInput=u;var p=(0,l.uA)(u);this.originalInput=u,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(x=a.format)!==null&&x!==void 0?x:p.format,this.gradientType=a.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=p.ok}return h.prototype.isDark=function(){return this.getBrightness()<128},h.prototype.isLight=function(){return!this.isDark()},h.prototype.getBrightness=function(){var u=this.toRgb();return(u.r*299+u.g*587+u.b*114)/1e3},h.prototype.getLuminance=function(){var u=this.toRgb(),a,x,p,y=u.r/255,m=u.g/255,b=u.b/255;return y<=.03928?a=y/12.92:a=Math.pow((y+.055)/1.055,2.4),m<=.03928?x=m/12.92:x=Math.pow((m+.055)/1.055,2.4),b<=.03928?p=b/12.92:p=Math.pow((b+.055)/1.055,2.4),.2126*a+.7152*x+.0722*p},h.prototype.getAlpha=function(){return this.a},h.prototype.setAlpha=function(u){return this.a=(0,c.Yq)(u),this.roundA=Math.round(100*this.a)/100,this},h.prototype.isMonochrome=function(){var u=this.toHsl().s;return u===0},h.prototype.toHsv=function(){var u=(0,r.py)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,v:u.v,a:this.a}},h.prototype.toHsvString=function(){var u=(0,r.py)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.v*100);return this.a===1?"hsv(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsva(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHsl=function(){var u=(0,r.lC)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,l:u.l,a:this.a}},h.prototype.toHslString=function(){var u=(0,r.lC)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.l*100);return this.a===1?"hsl(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsla(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHex=function(u){return u===void 0&&(u=!1),(0,r.vq)(this.r,this.g,this.b,u)},h.prototype.toHexString=function(u){return u===void 0&&(u=!1),"#"+this.toHex(u)},h.prototype.toHex8=function(u){return u===void 0&&(u=!1),(0,r.s)(this.r,this.g,this.b,this.a,u)},h.prototype.toHex8String=function(u){return u===void 0&&(u=!1),"#"+this.toHex8(u)},h.prototype.toHexShortString=function(u){return u===void 0&&(u=!1),this.a===1?this.toHexString(u):this.toHex8String(u)},h.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},h.prototype.toRgbString=function(){var u=Math.round(this.r),a=Math.round(this.g),x=Math.round(this.b);return this.a===1?"rgb(".concat(u,", ").concat(a,", ").concat(x,")"):"rgba(".concat(u,", ").concat(a,", ").concat(x,", ").concat(this.roundA,")")},h.prototype.toPercentageRgb=function(){var u=function(a){return"".concat(Math.round((0,c.sh)(a,255)*100),"%")};return{r:u(this.r),g:u(this.g),b:u(this.b),a:this.a}},h.prototype.toPercentageRgbString=function(){var u=function(a){return Math.round((0,c.sh)(a,255)*100)};return this.a===1?"rgb(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%)"):"rgba(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%, ").concat(this.roundA,")")},h.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var u="#"+(0,r.vq)(this.r,this.g,this.b,!1),a=0,x=Object.entries(i.R);a=0,y=!a&&p&&(u.startsWith("hex")||u==="name");return y?u==="name"&&this.a===0?this.toName():this.toRgbString():(u==="rgb"&&(x=this.toRgbString()),u==="prgb"&&(x=this.toPercentageRgbString()),(u==="hex"||u==="hex6")&&(x=this.toHexString()),u==="hex3"&&(x=this.toHexString(!0)),u==="hex4"&&(x=this.toHex8String(!0)),u==="hex8"&&(x=this.toHex8String()),u==="name"&&(x=this.toName()),u==="hsl"&&(x=this.toHslString()),u==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},h.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},h.prototype.clone=function(){return new h(this.toString())},h.prototype.lighten=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l+=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.brighten=function(u){u===void 0&&(u=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(u/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(u/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(u/100)))),new h(a)},h.prototype.darken=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l-=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.tint=function(u){return u===void 0&&(u=10),this.mix("white",u)},h.prototype.shade=function(u){return u===void 0&&(u=10),this.mix("black",u)},h.prototype.desaturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s-=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.saturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s+=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.greyscale=function(){return this.desaturate(100)},h.prototype.spin=function(u){var a=this.toHsl(),x=(a.h+u)%360;return a.h=x<0?360+x:x,new h(a)},h.prototype.mix=function(u,a){a===void 0&&(a=50);var x=this.toRgb(),p=new h(u).toRgb(),y=a/100,m={r:(p.r-x.r)*y+x.r,g:(p.g-x.g)*y+x.g,b:(p.b-x.b)*y+x.b,a:(p.a-x.a)*y+x.a};return new h(m)},h.prototype.analogous=function(u,a){u===void 0&&(u=6),a===void 0&&(a=30);var x=this.toHsl(),p=360/a,y=[this];for(x.h=(x.h-(p*u>>1)+720)%360;--u;)x.h=(x.h+p)%360,y.push(new h(x));return y},h.prototype.complement=function(){var u=this.toHsl();return u.h=(u.h+180)%360,new h(u)},h.prototype.monochromatic=function(u){u===void 0&&(u=6);for(var a=this.toHsv(),x=a.h,p=a.s,y=a.v,m=[],b=1/u;u--;)m.push(new h({h:x,s:p,v:y})),y=(y+b)%1;return m},h.prototype.splitcomplement=function(){var u=this.toHsl(),a=u.h;return[this,new h({h:(a+72)%360,s:u.s,l:u.l}),new h({h:(a+216)%360,s:u.s,l:u.l})]},h.prototype.onBackground=function(u){var a=this.toRgb(),x=new h(u).toRgb(),p=a.a+x.a*(1-a.a);return new h({r:(a.r*a.a+x.r*x.a*(1-a.a))/p,g:(a.g*a.a+x.g*x.a*(1-a.a))/p,b:(a.b*a.a+x.b*x.a*(1-a.a))/p,a:p})},h.prototype.triad=function(){return this.polyad(3)},h.prototype.tetrad=function(){return this.polyad(4)},h.prototype.polyad=function(u){for(var a=this.toHsl(),x=a.h,p=[this],y=360/u,m=1;m1)&&(u=1),u}function o(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,g,e){"use strict";e.d(g,{Z:function(){return G}});var r=e(42978),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(94480),x=e(34280),p=[];function y(H,ae){var ne=i.useState(function(){if(!(0,c.Z)())return null;var me=document.createElement("div");return me}),oe=(0,r.Z)(ne,1),J=oe[0],Q=i.useRef(!1),V=i.useContext(u),se=i.useState(p),ee=(0,r.Z)(se,2),q=ee[0],le=ee[1],Z=V||(Q.current?void 0:function(me){le(function(Se){var Pe=[me].concat((0,a.Z)(Se));return Pe})});function j(){J.parentElement||document.body.appendChild(J),Q.current=!0}function ie(){var me;(me=J.parentElement)===null||me===void 0||me.removeChild(J),Q.current=!1}return(0,x.Z)(function(){return H?V?V(j):j():ie(),ie},[H]),(0,x.Z)(function(){q.length&&(q.forEach(function(me){return me()}),le(p))},[q]),[J,Z]}var m=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var k="rc-util-locker-".concat(Date.now()),R=0;function A(H){var ae=!!H,ne=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),oe=(0,r.Z)(ne,1),J=oe[0];(0,x.Z)(function(){if(ae){var Q=(0,b.o)(document.body).width,V=S();(0,m.hq)(` +}`)),(0,f.useEffect)(function(){var je=U.current,Dt=(0,m.A)(je);(0,y.hq)(Ge,"@ant-design-icons",{prepend:!Pe,csp:me,attachTo:Dt})},[])},H=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ne(Z){var U=Z.primaryColor,ie=Z.secondaryColor;ae.primaryColor=U,ae.secondaryColor=ie||M(U),ae.calculated=!!ie}function oe(){return(0,x.Z)({},ae)}var J=function(U){var ie=U.icon,me=U.className,Se=U.onClick,Pe=U.style,Ge=U.primaryColor,je=U.secondaryColor,Dt=(0,c.Z)(U,H),ht=f.useRef(),Pt=ae;if(Ge&&(Pt={primaryColor:Ge,secondaryColor:je||M(Ge)}),G(ht),k(R(ie),"icon should be icon definiton, but got ".concat(ie)),!R(ie))return null;var Wt=ie;return Wt&&typeof Wt.icon=="function"&&(Wt=(0,x.Z)((0,x.Z)({},Wt),{},{icon:Wt.icon(Pt.primaryColor,Pt.secondaryColor)})),I(Wt.icon,"svg-".concat(Wt.name),(0,x.Z)((0,x.Z)({className:me,onClick:Se,style:Pe,"data-icon":Wt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Dt),{},{ref:ht}))};J.displayName="IconReact",J.getTwoToneColors=oe,J.setTwoToneColors=ne;var Q=J;function V(Z){var U=B(Z),ie=(0,i.Z)(U,2),me=ie[0],Se=ie[1];return Q.setTwoToneColors({primaryColor:me,secondaryColor:Se})}function se(){var Z=Q.getTwoToneColors();return Z.calculated?[Z.primaryColor,Z.secondaryColor]:Z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];V(u.blue.primary);var q=f.forwardRef(function(Z,U){var ie=Z.className,me=Z.icon,Se=Z.spin,Pe=Z.rotate,Ge=Z.tabIndex,je=Z.onClick,Dt=Z.twoToneColor,ht=(0,c.Z)(Z,ee),Pt=f.useContext(a.Z),Wt=Pt.prefixCls,Rt=Wt===void 0?"anticon":Wt,ar=Pt.rootClassName,Ue=h()(ar,Rt,(0,l.Z)((0,l.Z)({},"".concat(Rt,"-").concat(me.name),!!me.name),"".concat(Rt,"-spin"),!!Se||me.name==="loading"),ie),_t=Ge;_t===void 0&&je&&(_t=-1);var Mt=Pe?{msTransform:"rotate(".concat(Pe,"deg)"),transform:"rotate(".concat(Pe,"deg)")}:void 0,et=B(Dt),ft=(0,i.Z)(et,2),ot=ft[0],qe=ft[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":me.name},ht,{ref:U,tabIndex:_t,onClick:je,className:Ue}),f.createElement(Q,{icon:me,primaryColor:ot,secondaryColor:qe,style:Mt}))});q.displayName="AntdIcon",q.getTwoToneColor=se,q.setTwoToneColor=V;var le=q},18418:function(d,g,e){"use strict";var r=e(59301),i=(0,r.createContext)({});g.Z=i},29679:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},19248:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},99267:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},96512:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},78987:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},58617:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},12722:function(d,g,e){"use strict";e.d(g,{GC:function(){return x},T6:function(){return y},VD:function(){return m},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return o},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(S,k,R){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(k,255)*255,b:(0,r.sh)(R,255)*255}}function l(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=0,N=(A+I)/2;if(A===I)B=0,M=0;else{var K=A-I;switch(B=N>.5?K/(2-A-I):K/(A+I),A){case S:M=(k-R)/K+(k1&&(R-=1),R<.16666666666666666?S+(k-S)*(6*R):R<.5?k:R<.6666666666666666?S+(k-S)*(.6666666666666666-R)*6:S}function f(S,k,R){var A,I,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)I=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,N=2*R-B;A=c(N,B,S+.3333333333333333),I=c(N,B,S),M=c(N,B,S-.3333333333333333)}return{r:A*255,g:I*255,b:M*255}}function o(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=A,N=A-I,K=A===0?0:N/A;if(A===I)M=0;else{switch(A){case S:M=(k-R)/N+(k>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,g,e){"use strict";e.d(g,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,g,e){"use strict";e.d(g,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(m){var b={r:0,g:0,b:0},S=1,k=null,R=null,A=null,I=!1,M=!1;return typeof m=="string"&&(m=p(m)),typeof m=="object"&&(y(m.r)&&y(m.g)&&y(m.b)?(b=(0,r.rW)(m.r,m.g,m.b),I=!0,M=String(m.r).substr(-1)==="%"?"prgb":"rgb"):y(m.h)&&y(m.s)&&y(m.v)?(k=(0,l.JX)(m.s),R=(0,l.JX)(m.v),b=(0,r.WE)(m.h,k,R),I=!0,M="hsv"):y(m.h)&&y(m.s)&&y(m.l)&&(k=(0,l.JX)(m.s),A=(0,l.JX)(m.l),b=(0,r.ve)(m.h,k,A),I=!0,M="hsl"),Object.prototype.hasOwnProperty.call(m,"a")&&(S=m.a)),S=(0,l.Yq)(S),{ok:I,format:m.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",o="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(o,")|(?:").concat(f,")"),u="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),a="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),x={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(m){if(m=m.trim().toLowerCase(),m.length===0)return!1;var b=!1;if(i.R[m])m=i.R[m],b=!0;else if(m==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var S=x.rgb.exec(m);return S?{r:S[1],g:S[2],b:S[3]}:(S=x.rgba.exec(m),S?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=x.hsl.exec(m),S?{h:S[1],s:S[2],l:S[3]}:(S=x.hsla.exec(m),S?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=x.hsv.exec(m),S?{h:S[1],s:S[2],v:S[3]}:(S=x.hsva.exec(m),S?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=x.hex8.exec(m),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),a:(0,r.T6)(S[4]),format:b?"name":"hex8"}:(S=x.hex6.exec(m),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),format:b?"name":"hex"}:(S=x.hex4.exec(m),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),a:(0,r.T6)(S[4]+S[4]),format:b?"name":"hex8"}:(S=x.hex3.exec(m),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),format:b?"name":"hex"}:!1)))))))))}function y(m){return!!x.CSS_UNIT.exec(String(m))}},64993:function(d,g,e){"use strict";e.d(g,{C:function(){return f},H:function(){return o}});var r=e(12722),i=e(93796),l=e(9915),c=e(12187),f=function(){function h(u,a){u===void 0&&(u=""),a===void 0&&(a={});var x;if(u instanceof h)return u;typeof u=="number"&&(u=(0,r.Yt)(u)),this.originalInput=u;var p=(0,l.uA)(u);this.originalInput=u,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(x=a.format)!==null&&x!==void 0?x:p.format,this.gradientType=a.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=p.ok}return h.prototype.isDark=function(){return this.getBrightness()<128},h.prototype.isLight=function(){return!this.isDark()},h.prototype.getBrightness=function(){var u=this.toRgb();return(u.r*299+u.g*587+u.b*114)/1e3},h.prototype.getLuminance=function(){var u=this.toRgb(),a,x,p,y=u.r/255,m=u.g/255,b=u.b/255;return y<=.03928?a=y/12.92:a=Math.pow((y+.055)/1.055,2.4),m<=.03928?x=m/12.92:x=Math.pow((m+.055)/1.055,2.4),b<=.03928?p=b/12.92:p=Math.pow((b+.055)/1.055,2.4),.2126*a+.7152*x+.0722*p},h.prototype.getAlpha=function(){return this.a},h.prototype.setAlpha=function(u){return this.a=(0,c.Yq)(u),this.roundA=Math.round(100*this.a)/100,this},h.prototype.isMonochrome=function(){var u=this.toHsl().s;return u===0},h.prototype.toHsv=function(){var u=(0,r.py)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,v:u.v,a:this.a}},h.prototype.toHsvString=function(){var u=(0,r.py)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.v*100);return this.a===1?"hsv(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsva(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHsl=function(){var u=(0,r.lC)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,l:u.l,a:this.a}},h.prototype.toHslString=function(){var u=(0,r.lC)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.l*100);return this.a===1?"hsl(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsla(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHex=function(u){return u===void 0&&(u=!1),(0,r.vq)(this.r,this.g,this.b,u)},h.prototype.toHexString=function(u){return u===void 0&&(u=!1),"#"+this.toHex(u)},h.prototype.toHex8=function(u){return u===void 0&&(u=!1),(0,r.s)(this.r,this.g,this.b,this.a,u)},h.prototype.toHex8String=function(u){return u===void 0&&(u=!1),"#"+this.toHex8(u)},h.prototype.toHexShortString=function(u){return u===void 0&&(u=!1),this.a===1?this.toHexString(u):this.toHex8String(u)},h.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},h.prototype.toRgbString=function(){var u=Math.round(this.r),a=Math.round(this.g),x=Math.round(this.b);return this.a===1?"rgb(".concat(u,", ").concat(a,", ").concat(x,")"):"rgba(".concat(u,", ").concat(a,", ").concat(x,", ").concat(this.roundA,")")},h.prototype.toPercentageRgb=function(){var u=function(a){return"".concat(Math.round((0,c.sh)(a,255)*100),"%")};return{r:u(this.r),g:u(this.g),b:u(this.b),a:this.a}},h.prototype.toPercentageRgbString=function(){var u=function(a){return Math.round((0,c.sh)(a,255)*100)};return this.a===1?"rgb(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%)"):"rgba(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%, ").concat(this.roundA,")")},h.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var u="#"+(0,r.vq)(this.r,this.g,this.b,!1),a=0,x=Object.entries(i.R);a=0,y=!a&&p&&(u.startsWith("hex")||u==="name");return y?u==="name"&&this.a===0?this.toName():this.toRgbString():(u==="rgb"&&(x=this.toRgbString()),u==="prgb"&&(x=this.toPercentageRgbString()),(u==="hex"||u==="hex6")&&(x=this.toHexString()),u==="hex3"&&(x=this.toHexString(!0)),u==="hex4"&&(x=this.toHex8String(!0)),u==="hex8"&&(x=this.toHex8String()),u==="name"&&(x=this.toName()),u==="hsl"&&(x=this.toHslString()),u==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},h.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},h.prototype.clone=function(){return new h(this.toString())},h.prototype.lighten=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l+=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.brighten=function(u){u===void 0&&(u=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(u/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(u/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(u/100)))),new h(a)},h.prototype.darken=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l-=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.tint=function(u){return u===void 0&&(u=10),this.mix("white",u)},h.prototype.shade=function(u){return u===void 0&&(u=10),this.mix("black",u)},h.prototype.desaturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s-=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.saturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s+=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.greyscale=function(){return this.desaturate(100)},h.prototype.spin=function(u){var a=this.toHsl(),x=(a.h+u)%360;return a.h=x<0?360+x:x,new h(a)},h.prototype.mix=function(u,a){a===void 0&&(a=50);var x=this.toRgb(),p=new h(u).toRgb(),y=a/100,m={r:(p.r-x.r)*y+x.r,g:(p.g-x.g)*y+x.g,b:(p.b-x.b)*y+x.b,a:(p.a-x.a)*y+x.a};return new h(m)},h.prototype.analogous=function(u,a){u===void 0&&(u=6),a===void 0&&(a=30);var x=this.toHsl(),p=360/a,y=[this];for(x.h=(x.h-(p*u>>1)+720)%360;--u;)x.h=(x.h+p)%360,y.push(new h(x));return y},h.prototype.complement=function(){var u=this.toHsl();return u.h=(u.h+180)%360,new h(u)},h.prototype.monochromatic=function(u){u===void 0&&(u=6);for(var a=this.toHsv(),x=a.h,p=a.s,y=a.v,m=[],b=1/u;u--;)m.push(new h({h:x,s:p,v:y})),y=(y+b)%1;return m},h.prototype.splitcomplement=function(){var u=this.toHsl(),a=u.h;return[this,new h({h:(a+72)%360,s:u.s,l:u.l}),new h({h:(a+216)%360,s:u.s,l:u.l})]},h.prototype.onBackground=function(u){var a=this.toRgb(),x=new h(u).toRgb(),p=a.a+x.a*(1-a.a);return new h({r:(a.r*a.a+x.r*x.a*(1-a.a))/p,g:(a.g*a.a+x.g*x.a*(1-a.a))/p,b:(a.b*a.a+x.b*x.a*(1-a.a))/p,a:p})},h.prototype.triad=function(){return this.polyad(3)},h.prototype.tetrad=function(){return this.polyad(4)},h.prototype.polyad=function(u){for(var a=this.toHsl(),x=a.h,p=[this],y=360/u,m=1;m1)&&(u=1),u}function o(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,g,e){"use strict";e.d(g,{Z:function(){return G}});var r=e(42978),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(94480),x=e(34280),p=[];function y(H,ae){var ne=i.useState(function(){if(!(0,c.Z)())return null;var me=document.createElement("div");return me}),oe=(0,r.Z)(ne,1),J=oe[0],Q=i.useRef(!1),V=i.useContext(u),se=i.useState(p),ee=(0,r.Z)(se,2),q=ee[0],le=ee[1],Z=V||(Q.current?void 0:function(me){le(function(Se){var Pe=[me].concat((0,a.Z)(Se));return Pe})});function U(){J.parentElement||document.body.appendChild(J),Q.current=!0}function ie(){var me;(me=J.parentElement)===null||me===void 0||me.removeChild(J),Q.current=!1}return(0,x.Z)(function(){return H?V?V(U):U():ie(),ie},[H]),(0,x.Z)(function(){q.length&&(q.forEach(function(me){return me()}),le(p))},[q]),[J,Z]}var m=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var k="rc-util-locker-".concat(Date.now()),R=0;function A(H){var ae=!!H,ne=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),oe=(0,r.Z)(ne,1),J=oe[0];(0,x.Z)(function(){if(ae){var Q=(0,b.o)(document.body).width,V=S();(0,m.hq)(` html body { overflow-y: hidden; `.concat(V?"width: calc(100% - ".concat(Q,"px);"):"",` -}`),J)}else(0,m.jL)(J);return function(){(0,m.jL)(J)}},[ae,J])}var I=!1;function M(H){return typeof H=="boolean"&&(I=H),I}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},N=i.forwardRef(function(H,ae){var ne=H.open,oe=H.autoLock,J=H.getContainer,Q=H.debug,V=H.autoDestroy,se=V===void 0?!0:V,ee=H.children,q=i.useState(ne),le=(0,r.Z)(q,2),Z=le[0],j=le[1],ie=Z||ne;i.useEffect(function(){(se||ne)&&j(ne)},[ne,se]);var me=i.useState(function(){return B(J)}),Se=(0,r.Z)(me,2),Pe=Se[0],Ge=Se[1];i.useEffect(function(){var et=B(J);Ge(et!=null?et:null)});var je=y(ie&&!Pe,Q),Dt=(0,r.Z)(je,2),ht=Dt[0],Pt=Dt[1],Wt=Pe!=null?Pe:ht;A(oe&&ne&&(0,c.Z)()&&(Wt===ht||Wt===document.body));var Rt=null;if(ee&&(0,o.Yr)(ee)&&ae){var ar=ee;Rt=ar.ref}var Ue=(0,o.x1)(Rt,ae);if(!ie||!(0,c.Z)()||Pe===void 0)return null;var _t=Wt===!1||M(),Mt=ee;return ae&&(Mt=i.cloneElement(ee,{ref:Ue})),i.createElement(u.Provider,{value:Pt},_t?Mt:(0,l.createPortal)(Mt,Wt))}),K=N,G=K},35593:function(d,g,e){"use strict";e.d(g,{Z:function(){return Mt}});var r=e(33885),i=e(42978),l=e(75931),c=e(43403),f=e(92310),o=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),m=e(49658),b=e(59301),S=e(54476),k=e(77900),R=e(8654);function A(et){var ft=et.prefixCls,ot=et.align,qe=et.arrow,Ne=et.arrowPos,ye=qe||{},ke=ye.className,$e=ye.content,He=Ne.x,Qe=He===void 0?0:He,ut=Ne.y,pt=ut===void 0?0:ut,or=b.useRef();if(!ot||!ot.points)return null;var tr={position:"absolute"};if(ot.autoArrow!==!1){var Me=ot.points[0],tt=ot.points[1],Yt=Me[0],Ot=Me[1],Zt=tt[0],Gt=tt[1];Yt===Zt||!["t","b"].includes(Yt)?tr.top=pt:Yt==="t"?tr.top=0:tr.bottom=0,Ot===Gt||!["l","r"].includes(Ot)?tr.left=Qe:Ot==="l"?tr.left=0:tr.right=0}return b.createElement("div",{ref:or,className:o()("".concat(ft,"-arrow"),ke),style:tr},$e)}function I(et){var ft=et.prefixCls,ot=et.open,qe=et.zIndex,Ne=et.mask,ye=et.motion;return Ne?b.createElement(k.default,(0,S.Z)({},ye,{motionAppear:!0,visible:ot,removeOnLeave:!0}),function(ke){var $e=ke.className;return b.createElement("div",{style:{zIndex:qe},className:o()("".concat(ft,"-mask"),$e)})}):null}var M=b.memo(function(et){var ft=et.children;return ft},function(et,ft){return ft.cache}),B=M,N=b.forwardRef(function(et,ft){var ot=et.popup,qe=et.className,Ne=et.prefixCls,ye=et.style,ke=et.target,$e=et.onVisibleChanged,He=et.open,Qe=et.keepDom,ut=et.fresh,pt=et.onClick,or=et.mask,tr=et.arrow,Me=et.arrowPos,tt=et.align,Yt=et.motion,Ot=et.maskMotion,Zt=et.forceRender,Gt=et.getPopupContainer,lr=et.autoDestroy,Ht=et.portal,Te=et.zIndex,ce=et.onMouseEnter,pe=et.onMouseLeave,Tt=et.onPointerEnter,Ae=et.ready,st=et.offsetX,$t=et.offsetY,bt=et.offsetR,Ce=et.offsetB,yt=et.onAlign,ze=et.onPrepare,xe=et.stretch,dt=et.targetWidth,It=et.targetHeight,Be=typeof ot=="function"?ot():ot,Or=He||Qe,mt=(Gt==null?void 0:Gt.length)>0,Jr=b.useState(!Gt||!mt),an=(0,i.Z)(Jr,2),Nt=an[0],Jt=an[1];if((0,y.Z)(function(){!Nt&&mt&&ke&&Jt(!0)},[Nt,mt,ke]),!Nt)return null;var Lt="auto",Qt={left:"-1000vw",top:"-1000vh",right:Lt,bottom:Lt};if(Ae||!He){var wr,Ir=tt.points,At=tt.dynamicInset||((wr=tt._experimental)===null||wr===void 0?void 0:wr.dynamicInset),Kt=At&&Ir[0][1]==="r",Bt=At&&Ir[0][0]==="b";Kt?(Qt.right=bt,Qt.left=Lt):(Qt.left=st,Qt.right=Lt),Bt?(Qt.bottom=Ce,Qt.top=Lt):(Qt.top=$t,Qt.bottom=Lt)}var qt={};return xe&&(xe.includes("height")&&It?qt.height=It:xe.includes("minHeight")&&It&&(qt.minHeight=It),xe.includes("width")&&dt?qt.width=dt:xe.includes("minWidth")&&dt&&(qt.minWidth=dt)),He||(qt.pointerEvents="none"),b.createElement(Ht,{open:Zt||Or,getContainer:Gt&&function(){return Gt(ke)},autoDestroy:lr},b.createElement(I,{prefixCls:Ne,open:He,zIndex:Te,mask:or,motion:Ot}),b.createElement(h.Z,{onResize:yt,disabled:!He},function(br){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(Ne,"-hidden")},Yt,{onAppearPrepare:ze,onEnterPrepare:ze,visible:He,onVisibleChanged:function(Hr){var jn;Yt==null||(jn=Yt.onVisibleChanged)===null||jn===void 0||jn.call(Yt,Hr),$e(Hr)}}),function(Qr,Hr){var jn=Qr.className,En=Qr.style,Yn=o()(Ne,jn,qe);return b.createElement("div",{ref:(0,R.sQ)(br,ft,Hr),className:Yn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Me.x||0,"px"),"--arrow-y":"".concat(Me.y||0,"px")},Qt),qt),En),{},{boxSizing:"border-box",zIndex:Te},ye),onMouseEnter:ce,onMouseLeave:pe,onPointerEnter:Tt,onClick:pt},tr&&b.createElement(A,{prefixCls:Ne,arrow:tr,arrowPos:Me,align:tt}),b.createElement(B,{cache:!He&&!ut},Be))})}))}),K=N,G=b.forwardRef(function(et,ft){var ot=et.children,qe=et.getTriggerDOMNode,Ne=(0,R.Yr)(ot),ye=b.useCallback(function($e){(0,R.mH)(ft,qe?qe($e):$e)},[qe]),ke=(0,R.x1)(ye,ot.ref);return Ne?b.cloneElement(ot,{ref:ke}):ot}),H=G,ae=b.createContext(null),ne=ae;function oe(et){return et?Array.isArray(et)?et:[et]:[]}function J(et,ft,ot,qe){return b.useMemo(function(){var Ne=oe(ot!=null?ot:ft),ye=oe(qe!=null?qe:ft),ke=new Set(Ne),$e=new Set(ye);return et&&(ke.has("hover")&&(ke.delete("hover"),ke.add("click")),$e.has("hover")&&($e.delete("hover"),$e.add("click"))),[ke,$e]},[et,ft,ot,qe])}var Q=e(29194);function V(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ot=arguments.length>2?arguments[2]:void 0;return ot?et[0]===ft[0]:et[0]===ft[0]&&et[1]===ft[1]}function se(et,ft,ot,qe){for(var Ne=ot.points,ye=Object.keys(et),ke=0;ke1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(et)?ft:et}function j(et){return Z(parseFloat(et),0)}function ie(et,ft){var ot=(0,r.Z)({},et);return(ft||[]).forEach(function(qe){if(!(qe instanceof HTMLBodyElement||qe instanceof HTMLHtmlElement)){var Ne=q(qe).getComputedStyle(qe),ye=Ne.overflow,ke=Ne.overflowClipMargin,$e=Ne.borderTopWidth,He=Ne.borderBottomWidth,Qe=Ne.borderLeftWidth,ut=Ne.borderRightWidth,pt=qe.getBoundingClientRect(),or=qe.offsetHeight,tr=qe.clientHeight,Me=qe.offsetWidth,tt=qe.clientWidth,Yt=j($e),Ot=j(He),Zt=j(Qe),Gt=j(ut),lr=Z(Math.round(pt.width/Me*1e3)/1e3),Ht=Z(Math.round(pt.height/or*1e3)/1e3),Te=(Me-tt-Zt-Gt)*lr,ce=(or-tr-Yt-Ot)*Ht,pe=Yt*Ht,Tt=Ot*Ht,Ae=Zt*lr,st=Gt*lr,$t=0,bt=0;if(ye==="clip"){var Ce=j(ke);$t=Ce*lr,bt=Ce*Ht}var yt=pt.x+Ae-$t,ze=pt.y+pe-bt,xe=yt+pt.width+2*$t-Ae-st-Te,dt=ze+pt.height+2*bt-pe-Tt-ce;ot.left=Math.max(ot.left,yt),ot.top=Math.max(ot.top,ze),ot.right=Math.min(ot.right,xe),ot.bottom=Math.min(ot.bottom,dt)}}),ot}function me(et){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ot="".concat(ft),qe=ot.match(/^(.*)\%$/);return qe?et*(parseFloat(qe[1])/100):parseFloat(ot)}function Se(et,ft){var ot=ft||[],qe=(0,i.Z)(ot,2),Ne=qe[0],ye=qe[1];return[me(et.width,Ne),me(et.height,ye)]}function Pe(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[et[0],et[1]]}function Ge(et,ft){var ot=ft[0],qe=ft[1],Ne,ye;return ot==="t"?ye=et.y:ot==="b"?ye=et.y+et.height:ye=et.y+et.height/2,qe==="l"?Ne=et.x:qe==="r"?Ne=et.x+et.width:Ne=et.x+et.width/2,{x:Ne,y:ye}}function je(et,ft){var ot={t:"b",b:"t",l:"r",r:"l"};return et.map(function(qe,Ne){return Ne===ft?ot[qe]||"c":qe}).join("")}function Dt(et,ft,ot,qe,Ne,ye,ke){var $e=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ne[qe]||{}}),He=(0,i.Z)($e,2),Qe=He[0],ut=He[1],pt=b.useRef(0),or=b.useMemo(function(){return ft?le(ft):[]},[ft]),tr=b.useRef({}),Me=function(){tr.current={}};et||Me();var tt=(0,x.Z)(function(){if(ft&&ot&&et){let Ka=function(Ds,xo){var Wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yn,Xo=Be.x+Ds,mu=Be.y+xo,vu=Xo+wr,go=mu+Qt,Ho=Math.max(Xo,Wo.left),Oo=Math.max(mu,Wo.top),nu=Math.min(vu,Wo.right),Qo=Math.min(go,Wo.bottom);return Math.max(0,(nu-Ho)*(Qo-Oo))},Ni=function(){Fn=Be.y+we,Xn=Fn+Qt,Ke=Be.x+zn,ct=Ke+wr};var Zt,Gt,lr=ft,Ht=lr.ownerDocument,Te=q(lr),ce=Te.getComputedStyle(lr),pe=ce.width,Tt=ce.height,Ae=ce.position,st=lr.style.left,$t=lr.style.top,bt=lr.style.right,Ce=lr.style.bottom,yt=lr.style.overflow,ze=(0,r.Z)((0,r.Z)({},Ne[qe]),ye),xe=Ht.createElement("div");(Zt=lr.parentElement)===null||Zt===void 0||Zt.appendChild(xe),xe.style.left="".concat(lr.offsetLeft,"px"),xe.style.top="".concat(lr.offsetTop,"px"),xe.style.position=Ae,xe.style.height="".concat(lr.offsetHeight,"px"),xe.style.width="".concat(lr.offsetWidth,"px"),lr.style.left="0",lr.style.top="0",lr.style.right="auto",lr.style.bottom="auto",lr.style.overflow="hidden";var dt;if(Array.isArray(ot))dt={x:ot[0],y:ot[1],width:0,height:0};else{var It=ot.getBoundingClientRect();dt={x:It.x,y:It.y,width:It.width,height:It.height}}var Be=lr.getBoundingClientRect(),Or=Ht.documentElement,mt=Or.clientWidth,Jr=Or.clientHeight,an=Or.scrollWidth,Nt=Or.scrollHeight,Jt=Or.scrollTop,Lt=Or.scrollLeft,Qt=Be.height,wr=Be.width,Ir=dt.height,At=dt.width,Kt={left:0,top:0,right:mt,bottom:Jr},Bt={left:-Lt,top:-Jt,right:an-Lt,bottom:Nt-Jt},qt=ze.htmlRegion,br="visible",Qr="visibleFirst";qt!=="scroll"&&qt!==Qr&&(qt=br);var Hr=qt===Qr,jn=ie(Bt,or),En=ie(Kt,or),Yn=qt===br?En:jn,St=Hr?En:Yn;lr.style.left="auto",lr.style.top="auto",lr.style.right="0",lr.style.bottom="0";var Vr=lr.getBoundingClientRect();lr.style.left=st,lr.style.top=$t,lr.style.right=bt,lr.style.bottom=Ce,lr.style.overflow=yt,(Gt=lr.parentElement)===null||Gt===void 0||Gt.removeChild(xe);var ii=Z(Math.round(wr/parseFloat(pe)*1e3)/1e3),Bi=Z(Math.round(Qt/parseFloat(Tt)*1e3)/1e3);if(ii===0||Bi===0||(0,u.Sh)(ot)&&!(0,Q.Z)(ot))return;var $n=ze.offset,ci=ze.targetOffset,Oi=Se(Be,$n),zi=(0,i.Z)(Oi,2),Ai=zi[0],ji=zi[1],ha=Se(dt,ci),ea=(0,i.Z)(ha,2),Yi=ea[0],mi=ea[1];dt.x-=Yi,dt.y-=mi;var Zi=ze.points||[],Ta=(0,i.Z)(Zi,2),xt=Ta[0],xa=Ta[1],Wi=Pe(xa),vi=Pe(xt),Da=Ge(dt,Wi),Gi=Ge(Be,vi),ei=(0,r.Z)({},ze),zn=Da.x-Gi.x+Ai,we=Da.y-Gi.y+ji,nt=Ka(zn,we),Je=Ka(zn,we,En),Ct=Ge(dt,["t","l"]),lt=Ge(Be,["t","l"]),hr=Ge(dt,["b","r"]),pr=Ge(Be,["b","r"]),Tr=ze.overflow||{},zr=Tr.adjustX,en=Tr.adjustY,Nr=Tr.shiftX,An=Tr.shiftY,vr=function(xo){return typeof xo=="boolean"?xo:xo>=0},Fn,Xn,Ke,ct;Ni();var _e=vr(en),sr=vi[0]===Wi[0];if(_e&&vi[0]==="t"&&(Xn>St.bottom||tr.current.bt)){var nr=we;sr?nr-=Qt-Ir:nr=Ct.y-pr.y-ji;var kr=Ka(zn,nr),Gr=Ka(zn,nr,En);kr>nt||kr===nt&&(!Hr||Gr>=Je)?(tr.current.bt=!0,we=nr,ji=-ji,ei.points=[je(vi,0),je(Wi,0)]):tr.current.bt=!1}if(_e&&vi[0]==="b"&&(Fnnt||hn===nt&&(!Hr||Si>=Je)?(tr.current.tb=!0,we=Wr,ji=-ji,ei.points=[je(vi,0),je(Wi,0)]):tr.current.tb=!1}var un=vr(zr),yn=vi[1]===Wi[1];if(un&&vi[1]==="l"&&(ct>St.right||tr.current.rl)){var $r=zn;yn?$r-=wr-At:$r=Ct.x-pr.x-Ai;var kn=Ka($r,we),si=Ka($r,we,En);kn>nt||kn===nt&&(!Hr||si>=Je)?(tr.current.rl=!0,zn=$r,Ai=-Ai,ei.points=[je(vi,1),je(Wi,1)]):tr.current.rl=!1}if(un&&vi[1]==="r"&&(Kent||qs===nt&&(!Hr||Ba>=Je)?(tr.current.lr=!0,zn=wa,Ai=-Ai,ei.points=[je(vi,1),je(Wi,1)]):tr.current.lr=!1}Ni();var zs=Nr===!0?0:Nr;typeof zs=="number"&&(KeEn.right&&(zn-=ct-En.right-Ai,dt.x>En.right-zs&&(zn+=dt.x-En.right+zs)));var Ns=An===!0?0:An;typeof Ns=="number"&&(FnEn.bottom&&(we-=Xn-En.bottom-ji,dt.y>En.bottom-Ns&&(we+=dt.y-En.bottom+Ns)));var as=Be.x+zn,oo=as+wr,Aa=Be.y+we,Ps=Aa+Qt,ps=dt.x,po=ps+At,qi=dt.y,to=qi+Ir,Zo=Math.max(as,ps),Na=Math.min(oo,po),Zs=(Zo+Na)/2,di=Zs-as,ro=Math.max(Aa,qi),Rn=Math.min(Ps,to),ss=(ro+Rn)/2,Is=ss-Aa;ke==null||ke(ft,ei);var Os=Vr.right-Be.x-(zn+Be.width),Xi=Vr.bottom-Be.y-(we+Be.height);ut({ready:!0,offsetX:zn/ii,offsetY:we/Bi,offsetR:Os/ii,offsetB:Xi/Bi,arrowX:di/ii,arrowY:Is/Bi,scaleX:ii,scaleY:Bi,align:ei})}}),Yt=function(){pt.current+=1;var Gt=pt.current;Promise.resolve().then(function(){pt.current===Gt&&tt()})},Ot=function(){ut(function(Gt){return(0,r.Z)((0,r.Z)({},Gt),{},{ready:!1})})};return(0,y.Z)(Ot,[qe]),(0,y.Z)(function(){et||Ot()},[et]),[Qe.ready,Qe.offsetX,Qe.offsetY,Qe.offsetR,Qe.offsetB,Qe.arrowX,Qe.arrowY,Qe.scaleX,Qe.scaleY,Qe.align,Yt]}var ht=e(94480);function Pt(et,ft,ot,qe,Ne){(0,y.Z)(function(){if(et&&ft&&ot){let pt=function(){qe(),Ne()};var ye=ft,ke=ot,$e=le(ye),He=le(ke),Qe=q(ke),ut=new Set([Qe].concat((0,ht.Z)($e),(0,ht.Z)(He)));return ut.forEach(function(or){or.addEventListener("scroll",pt,{passive:!0})}),Qe.addEventListener("resize",pt,{passive:!0}),qe(),function(){ut.forEach(function(or){or.removeEventListener("scroll",pt),Qe.removeEventListener("resize",pt)})}}},[et,ft,ot])}var Wt=e(48736),Rt=e(16089);function ar(et,ft,ot,qe,Ne,ye,ke,$e){var He=b.useRef(et),Qe=b.useRef(!1);He.current!==et&&(Qe.current=!0,He.current=et),b.useEffect(function(){var ut=(0,Rt.Z)(function(){Qe.current=!1});return function(){Rt.Z.cancel(ut)}},[et]),b.useEffect(function(){if(ft&&qe&&(!Ne||ye)){var ut=function(){var Ae=!1,st=function(Ce){var yt=Ce.target;Ae=ke(yt)},$t=function(Ce){var yt=Ce.target;!Qe.current&&He.current&&!Ae&&!ke(yt)&&$e(!1)};return[st,$t]},pt=ut(),or=(0,i.Z)(pt,2),tr=or[0],Me=or[1],tt=ut(),Yt=(0,i.Z)(tt,2),Ot=Yt[0],Zt=Yt[1],Gt=q(qe);Gt.addEventListener("mousedown",tr,!0),Gt.addEventListener("click",Me,!0),Gt.addEventListener("contextmenu",Me,!0);var lr=(0,a.A)(ot);if(lr&&(lr.addEventListener("mousedown",Ot,!0),lr.addEventListener("click",Zt,!0),lr.addEventListener("contextmenu",Zt,!0)),0)var Ht,Te,ce,pe;return function(){Gt.removeEventListener("mousedown",tr,!0),Gt.removeEventListener("click",Me,!0),Gt.removeEventListener("contextmenu",Me,!0),lr&&(lr.removeEventListener("mousedown",Ot,!0),lr.removeEventListener("click",Zt,!0),lr.removeEventListener("contextmenu",Zt,!0))}}},[ft,ot,qe,Ne,ye])}var Ue=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function _t(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,ft=b.forwardRef(function(ot,qe){var Ne=ot.prefixCls,ye=Ne===void 0?"rc-trigger-popup":Ne,ke=ot.children,$e=ot.action,He=$e===void 0?"hover":$e,Qe=ot.showAction,ut=ot.hideAction,pt=ot.popupVisible,or=ot.defaultPopupVisible,tr=ot.onPopupVisibleChange,Me=ot.afterPopupVisibleChange,tt=ot.mouseEnterDelay,Yt=ot.mouseLeaveDelay,Ot=Yt===void 0?.1:Yt,Zt=ot.focusDelay,Gt=ot.blurDelay,lr=ot.mask,Ht=ot.maskClosable,Te=Ht===void 0?!0:Ht,ce=ot.getPopupContainer,pe=ot.forceRender,Tt=ot.autoDestroy,Ae=ot.destroyPopupOnHide,st=ot.popup,$t=ot.popupClassName,bt=ot.popupStyle,Ce=ot.popupPlacement,yt=ot.builtinPlacements,ze=yt===void 0?{}:yt,xe=ot.popupAlign,dt=ot.zIndex,It=ot.stretch,Be=ot.getPopupClassNameFromAlign,Or=ot.fresh,mt=ot.alignPoint,Jr=ot.onPopupClick,an=ot.onPopupAlign,Nt=ot.arrow,Jt=ot.popupMotion,Lt=ot.maskMotion,Qt=ot.popupTransitionName,wr=ot.popupAnimation,Ir=ot.maskTransitionName,At=ot.maskAnimation,Kt=ot.className,Bt=ot.getTriggerDOMNode,qt=(0,l.Z)(ot,Ue),br=Tt||Ae||!1,Qr=b.useState(!1),Hr=(0,i.Z)(Qr,2),jn=Hr[0],En=Hr[1];(0,y.Z)(function(){En((0,m.Z)())},[]);var Yn=b.useRef({}),St=b.useContext(ne),Vr=b.useMemo(function(){return{registerSubPopup:function(gi,Ja){Yn.current[gi]=Ja,St==null||St.registerSubPopup(gi,Ja)}}},[St]),ii=(0,p.Z)(),Bi=b.useState(null),$n=(0,i.Z)(Bi,2),ci=$n[0],Oi=$n[1],zi=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&ci!==hi&&Oi(hi),St==null||St.registerSubPopup(ii,hi)}),Ai=b.useState(null),ji=(0,i.Z)(Ai,2),ha=ji[0],ea=ji[1],Yi=b.useRef(null),mi=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&ha!==hi&&(ea(hi),Yi.current=hi)}),Zi=b.Children.only(ke),Ta=(Zi==null?void 0:Zi.props)||{},xt={},xa=(0,x.Z)(function(hi){var gi,Ja,ls=ha;return(ls==null?void 0:ls.contains(hi))||((gi=(0,a.A)(ls))===null||gi===void 0?void 0:gi.host)===hi||hi===ls||(ci==null?void 0:ci.contains(hi))||((Ja=(0,a.A)(ci))===null||Ja===void 0?void 0:Ja.host)===hi||hi===ci||Object.values(Yn.current).some(function(es){return(es==null?void 0:es.contains(hi))||hi===es})}),Wi=ee(ye,Jt,wr,Qt),vi=ee(ye,Lt,At,Ir),Da=b.useState(or||!1),Gi=(0,i.Z)(Da,2),ei=Gi[0],zn=Gi[1],we=pt!=null?pt:ei,nt=(0,x.Z)(function(hi){pt===void 0&&zn(hi)});(0,y.Z)(function(){zn(pt||!1)},[pt]);var Je=b.useRef(we);Je.current=we;var Ct=b.useRef([]);Ct.current=[];var lt=(0,x.Z)(function(hi){var gi;nt(hi),((gi=Ct.current[Ct.current.length-1])!==null&&gi!==void 0?gi:we)!==hi&&(Ct.current.push(hi),tr==null||tr(hi))}),hr=b.useRef(),pr=function(){clearTimeout(hr.current)},Tr=function(gi){var Ja=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;pr(),Ja===0?lt(gi):hr.current=setTimeout(function(){lt(gi)},Ja*1e3)};b.useEffect(function(){return pr},[]);var zr=b.useState(!1),en=(0,i.Z)(zr,2),Nr=en[0],An=en[1];(0,y.Z)(function(hi){(!hi||we)&&An(!0)},[we]);var vr=b.useState(null),Fn=(0,i.Z)(vr,2),Xn=Fn[0],Ke=Fn[1],ct=b.useState([0,0]),_e=(0,i.Z)(ct,2),sr=_e[0],nr=_e[1],kr=function(gi){nr([gi.clientX,gi.clientY])},Gr=Dt(we,ci,mt?sr:ha,Ce,ze,xe,an),Wr=(0,i.Z)(Gr,11),hn=Wr[0],Si=Wr[1],un=Wr[2],yn=Wr[3],$r=Wr[4],kn=Wr[5],si=Wr[6],wa=Wr[7],qs=Wr[8],Ba=Wr[9],zs=Wr[10],Ns=J(jn,He,Qe,ut),as=(0,i.Z)(Ns,2),oo=as[0],Aa=as[1],Ps=oo.has("click"),ps=Aa.has("click")||Aa.has("contextMenu"),po=(0,x.Z)(function(){Nr||zs()}),qi=function(){Je.current&&mt&&ps&&Tr(!1)};Pt(we,ha,ci,po,qi),(0,y.Z)(function(){po()},[sr,Ce]),(0,y.Z)(function(){we&&!(ze!=null&&ze[Ce])&&po()},[JSON.stringify(xe)]);var to=b.useMemo(function(){var hi=se(ze,ye,Ba,mt);return o()(hi,Be==null?void 0:Be(Ba))},[Ba,Be,ze,ye,mt]);b.useImperativeHandle(qe,function(){return{nativeElement:Yi.current,forceAlign:po}});var Zo=b.useState(0),Na=(0,i.Z)(Zo,2),Zs=Na[0],di=Na[1],ro=b.useState(0),Rn=(0,i.Z)(ro,2),ss=Rn[0],Is=Rn[1],Os=function(){if(It&&ha){var gi=ha.getBoundingClientRect();di(gi.width),Is(gi.height)}},Xi=function(){Os(),po()},Ka=function(gi){An(!1),zs(),Me==null||Me(gi)},Ni=function(){return new Promise(function(gi){Os(),Ke(function(){return gi})})};(0,y.Z)(function(){Xn&&(zs(),Xn(),Ke(null))},[Xn]);function Ds(hi,gi,Ja,ls){xt[hi]=function(es){var Ha;ls==null||ls(es),Tr(gi,Ja);for(var ms=arguments.length,qo=new Array(ms>1?ms-1:0),ks=1;ks1?Ja-1:0),es=1;es1?Ja-1:0),es=1;es=0)return l[f].splice(u,1),!0}return!1},publish:function(f){if(!l[f])return!1;const o=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,o)}),this}};return i?Object.assign(i,c):c}const r=new e;g.Z=r},22575:function(d,g,e){"use strict";e.d(g,{zt:function(){return Ra},$j:function(){return Qn},Ue:function(){return xo},I0:function(){return lo},v9:function(){return wu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return At},all:function(){return Be},apply:function(){return an},call:function(){return Jr},cancel:function(){return wr},cancelled:function(){return Kt},cps:function(){return Nt},flush:function(){return Bt},fork:function(){return Jt},getContext:function(){return qt},join:function(){return Qt},put:function(){return It},race:function(){return Or},select:function(){return Ir},setContext:function(){return br},spawn:function(){return Lt},take:function(){return xe},takeEvery:function(){return nt},takeLatest:function(){return Je},takem:function(){return dt},throttle:function(){return Ct}});var i=e(59301),l=e(75682),c=e(59781),f=Object.assign||function(Xe){for(var Ie=1;Ie=0&&Xe.splice(Ft,1)}var H={from:function(Ie){var Ft=Array(Ie.length);for(var vt in Ie)B(Ie,vt)&&(Ft[vt]=Ie[vt]);return Ft}};function ae(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=f({},Xe),Ft=new Promise(function(vt,Sr){Ie.resolve=vt,Ie.reject=Sr});return Ie.promise=Ft,Ie}function ne(Xe){for(var Ie=[],Ft=0;Ft1&&arguments[1]!==void 0?arguments[1]:!0,Ft=void 0,vt=new Promise(function(Sr){Ft=setTimeout(function(){return Sr(Ie)},Xe)});return vt[p]=function(){return clearTimeout(Ft)},vt}function J(){var Xe,Ie=!0,Ft=void 0,vt=void 0;return Xe={},Xe[u]=!0,Xe.isRunning=function(){return Ie},Xe.result=function(){return Ft},Xe.error=function(){return vt},Xe.setRunning=function(Mr){return Ie=Mr},Xe.setResult=function(Mr){return Ft=Mr},Xe.setError=function(Mr){return vt=Mr},Xe}function Q(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Xe}}var V=Q(),se=function(Ie){throw Ie},ee=function(Ie){return{value:Ie,done:!0}};function q(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",vt=arguments[3],Sr={name:Ft,next:Xe,throw:Ie,return:ee};return vt&&(Sr[a]=!0),typeof Symbol!="undefined"&&(Sr[Symbol.iterator]=function(){return Sr}),Sr}function le(Xe,Ie){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Xe+": "+Ie+` -`+(Ft&&Ft.stack||Ft)):console[Xe](Ie,Ft)}function Z(Xe,Ie){return function(){return Xe.apply(void 0,arguments)}}var j=function(Ie,Ft){return Ie+" has been deprecated in favor of "+Ft+", please update your code"},ie=function(Ie){return new Error(` +}`),J)}else(0,m.jL)(J);return function(){(0,m.jL)(J)}},[ae,J])}var I=!1;function M(H){return typeof H=="boolean"&&(I=H),I}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},N=i.forwardRef(function(H,ae){var ne=H.open,oe=H.autoLock,J=H.getContainer,Q=H.debug,V=H.autoDestroy,se=V===void 0?!0:V,ee=H.children,q=i.useState(ne),le=(0,r.Z)(q,2),Z=le[0],U=le[1],ie=Z||ne;i.useEffect(function(){(se||ne)&&U(ne)},[ne,se]);var me=i.useState(function(){return B(J)}),Se=(0,r.Z)(me,2),Pe=Se[0],Ge=Se[1];i.useEffect(function(){var et=B(J);Ge(et!=null?et:null)});var je=y(ie&&!Pe,Q),Dt=(0,r.Z)(je,2),ht=Dt[0],Pt=Dt[1],Wt=Pe!=null?Pe:ht;A(oe&&ne&&(0,c.Z)()&&(Wt===ht||Wt===document.body));var Rt=null;if(ee&&(0,o.Yr)(ee)&&ae){var ar=ee;Rt=ar.ref}var Ue=(0,o.x1)(Rt,ae);if(!ie||!(0,c.Z)()||Pe===void 0)return null;var _t=Wt===!1||M(),Mt=ee;return ae&&(Mt=i.cloneElement(ee,{ref:Ue})),i.createElement(u.Provider,{value:Pt},_t?Mt:(0,l.createPortal)(Mt,Wt))}),K=N,G=K},35593:function(d,g,e){"use strict";e.d(g,{Z:function(){return Mt}});var r=e(33885),i=e(42978),l=e(75931),c=e(43403),f=e(92310),o=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),m=e(49658),b=e(59301),S=e(54476),k=e(77900),R=e(8654);function A(et){var ft=et.prefixCls,ot=et.align,qe=et.arrow,Ne=et.arrowPos,ye=qe||{},ke=ye.className,$e=ye.content,He=Ne.x,Qe=He===void 0?0:He,ut=Ne.y,pt=ut===void 0?0:ut,or=b.useRef();if(!ot||!ot.points)return null;var tr={position:"absolute"};if(ot.autoArrow!==!1){var Me=ot.points[0],tt=ot.points[1],Yt=Me[0],Ot=Me[1],Zt=tt[0],Gt=tt[1];Yt===Zt||!["t","b"].includes(Yt)?tr.top=pt:Yt==="t"?tr.top=0:tr.bottom=0,Ot===Gt||!["l","r"].includes(Ot)?tr.left=Qe:Ot==="l"?tr.left=0:tr.right=0}return b.createElement("div",{ref:or,className:o()("".concat(ft,"-arrow"),ke),style:tr},$e)}function I(et){var ft=et.prefixCls,ot=et.open,qe=et.zIndex,Ne=et.mask,ye=et.motion;return Ne?b.createElement(k.default,(0,S.Z)({},ye,{motionAppear:!0,visible:ot,removeOnLeave:!0}),function(ke){var $e=ke.className;return b.createElement("div",{style:{zIndex:qe},className:o()("".concat(ft,"-mask"),$e)})}):null}var M=b.memo(function(et){var ft=et.children;return ft},function(et,ft){return ft.cache}),B=M,N=b.forwardRef(function(et,ft){var ot=et.popup,qe=et.className,Ne=et.prefixCls,ye=et.style,ke=et.target,$e=et.onVisibleChanged,He=et.open,Qe=et.keepDom,ut=et.fresh,pt=et.onClick,or=et.mask,tr=et.arrow,Me=et.arrowPos,tt=et.align,Yt=et.motion,Ot=et.maskMotion,Zt=et.forceRender,Gt=et.getPopupContainer,lr=et.autoDestroy,Ht=et.portal,Te=et.zIndex,ce=et.onMouseEnter,pe=et.onMouseLeave,Tt=et.onPointerEnter,Ae=et.ready,st=et.offsetX,$t=et.offsetY,bt=et.offsetR,Ce=et.offsetB,yt=et.onAlign,ze=et.onPrepare,xe=et.stretch,dt=et.targetWidth,It=et.targetHeight,Be=typeof ot=="function"?ot():ot,Or=He||Qe,mt=(Gt==null?void 0:Gt.length)>0,Jr=b.useState(!Gt||!mt),an=(0,i.Z)(Jr,2),Nt=an[0],Jt=an[1];if((0,y.Z)(function(){!Nt&&mt&&ke&&Jt(!0)},[Nt,mt,ke]),!Nt)return null;var Lt="auto",Xt={left:"-1000vw",top:"-1000vh",right:Lt,bottom:Lt};if(Ae||!He){var wr,Ir=tt.points,At=tt.dynamicInset||((wr=tt._experimental)===null||wr===void 0?void 0:wr.dynamicInset),Kt=At&&Ir[0][1]==="r",Bt=At&&Ir[0][0]==="b";Kt?(Xt.right=bt,Xt.left=Lt):(Xt.left=st,Xt.right=Lt),Bt?(Xt.bottom=Ce,Xt.top=Lt):(Xt.top=$t,Xt.bottom=Lt)}var qt={};return xe&&(xe.includes("height")&&It?qt.height=It:xe.includes("minHeight")&&It&&(qt.minHeight=It),xe.includes("width")&&dt?qt.width=dt:xe.includes("minWidth")&&dt&&(qt.minWidth=dt)),He||(qt.pointerEvents="none"),b.createElement(Ht,{open:Zt||Or,getContainer:Gt&&function(){return Gt(ke)},autoDestroy:lr},b.createElement(I,{prefixCls:Ne,open:He,zIndex:Te,mask:or,motion:Ot}),b.createElement(h.Z,{onResize:yt,disabled:!He},function(br){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(Ne,"-hidden")},Yt,{onAppearPrepare:ze,onEnterPrepare:ze,visible:He,onVisibleChanged:function(Hr){var jn;Yt==null||(jn=Yt.onVisibleChanged)===null||jn===void 0||jn.call(Yt,Hr),$e(Hr)}}),function(Qr,Hr){var jn=Qr.className,En=Qr.style,Yn=o()(Ne,jn,qe);return b.createElement("div",{ref:(0,R.sQ)(br,ft,Hr),className:Yn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Me.x||0,"px"),"--arrow-y":"".concat(Me.y||0,"px")},Xt),qt),En),{},{boxSizing:"border-box",zIndex:Te},ye),onMouseEnter:ce,onMouseLeave:pe,onPointerEnter:Tt,onClick:pt},tr&&b.createElement(A,{prefixCls:Ne,arrow:tr,arrowPos:Me,align:tt}),b.createElement(B,{cache:!He&&!ut},Be))})}))}),K=N,G=b.forwardRef(function(et,ft){var ot=et.children,qe=et.getTriggerDOMNode,Ne=(0,R.Yr)(ot),ye=b.useCallback(function($e){(0,R.mH)(ft,qe?qe($e):$e)},[qe]),ke=(0,R.x1)(ye,ot.ref);return Ne?b.cloneElement(ot,{ref:ke}):ot}),H=G,ae=b.createContext(null),ne=ae;function oe(et){return et?Array.isArray(et)?et:[et]:[]}function J(et,ft,ot,qe){return b.useMemo(function(){var Ne=oe(ot!=null?ot:ft),ye=oe(qe!=null?qe:ft),ke=new Set(Ne),$e=new Set(ye);return et&&(ke.has("hover")&&(ke.delete("hover"),ke.add("click")),$e.has("hover")&&($e.delete("hover"),$e.add("click"))),[ke,$e]},[et,ft,ot,qe])}var Q=e(29194);function V(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ot=arguments.length>2?arguments[2]:void 0;return ot?et[0]===ft[0]:et[0]===ft[0]&&et[1]===ft[1]}function se(et,ft,ot,qe){for(var Ne=ot.points,ye=Object.keys(et),ke=0;ke1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(et)?ft:et}function U(et){return Z(parseFloat(et),0)}function ie(et,ft){var ot=(0,r.Z)({},et);return(ft||[]).forEach(function(qe){if(!(qe instanceof HTMLBodyElement||qe instanceof HTMLHtmlElement)){var Ne=q(qe).getComputedStyle(qe),ye=Ne.overflow,ke=Ne.overflowClipMargin,$e=Ne.borderTopWidth,He=Ne.borderBottomWidth,Qe=Ne.borderLeftWidth,ut=Ne.borderRightWidth,pt=qe.getBoundingClientRect(),or=qe.offsetHeight,tr=qe.clientHeight,Me=qe.offsetWidth,tt=qe.clientWidth,Yt=U($e),Ot=U(He),Zt=U(Qe),Gt=U(ut),lr=Z(Math.round(pt.width/Me*1e3)/1e3),Ht=Z(Math.round(pt.height/or*1e3)/1e3),Te=(Me-tt-Zt-Gt)*lr,ce=(or-tr-Yt-Ot)*Ht,pe=Yt*Ht,Tt=Ot*Ht,Ae=Zt*lr,st=Gt*lr,$t=0,bt=0;if(ye==="clip"){var Ce=U(ke);$t=Ce*lr,bt=Ce*Ht}var yt=pt.x+Ae-$t,ze=pt.y+pe-bt,xe=yt+pt.width+2*$t-Ae-st-Te,dt=ze+pt.height+2*bt-pe-Tt-ce;ot.left=Math.max(ot.left,yt),ot.top=Math.max(ot.top,ze),ot.right=Math.min(ot.right,xe),ot.bottom=Math.min(ot.bottom,dt)}}),ot}function me(et){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ot="".concat(ft),qe=ot.match(/^(.*)\%$/);return qe?et*(parseFloat(qe[1])/100):parseFloat(ot)}function Se(et,ft){var ot=ft||[],qe=(0,i.Z)(ot,2),Ne=qe[0],ye=qe[1];return[me(et.width,Ne),me(et.height,ye)]}function Pe(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[et[0],et[1]]}function Ge(et,ft){var ot=ft[0],qe=ft[1],Ne,ye;return ot==="t"?ye=et.y:ot==="b"?ye=et.y+et.height:ye=et.y+et.height/2,qe==="l"?Ne=et.x:qe==="r"?Ne=et.x+et.width:Ne=et.x+et.width/2,{x:Ne,y:ye}}function je(et,ft){var ot={t:"b",b:"t",l:"r",r:"l"};return et.map(function(qe,Ne){return Ne===ft?ot[qe]||"c":qe}).join("")}function Dt(et,ft,ot,qe,Ne,ye,ke){var $e=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ne[qe]||{}}),He=(0,i.Z)($e,2),Qe=He[0],ut=He[1],pt=b.useRef(0),or=b.useMemo(function(){return ft?le(ft):[]},[ft]),tr=b.useRef({}),Me=function(){tr.current={}};et||Me();var tt=(0,x.Z)(function(){if(ft&&ot&&et){let Ka=function(Ds,xo){var Ho=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yn,Xo=Be.x+Ds,mu=Be.y+xo,vu=Xo+wr,go=mu+Xt,Go=Math.max(Xo,Ho.left),Oo=Math.max(mu,Ho.top),nu=Math.min(vu,Ho.right),Qo=Math.min(go,Ho.bottom);return Math.max(0,(nu-Go)*(Qo-Oo))},Ni=function(){Fn=Be.y+we,Xn=Fn+Xt,Ke=Be.x+zn,ct=Ke+wr};var Zt,Gt,lr=ft,Ht=lr.ownerDocument,Te=q(lr),ce=Te.getComputedStyle(lr),pe=ce.width,Tt=ce.height,Ae=ce.position,st=lr.style.left,$t=lr.style.top,bt=lr.style.right,Ce=lr.style.bottom,yt=lr.style.overflow,ze=(0,r.Z)((0,r.Z)({},Ne[qe]),ye),xe=Ht.createElement("div");(Zt=lr.parentElement)===null||Zt===void 0||Zt.appendChild(xe),xe.style.left="".concat(lr.offsetLeft,"px"),xe.style.top="".concat(lr.offsetTop,"px"),xe.style.position=Ae,xe.style.height="".concat(lr.offsetHeight,"px"),xe.style.width="".concat(lr.offsetWidth,"px"),lr.style.left="0",lr.style.top="0",lr.style.right="auto",lr.style.bottom="auto",lr.style.overflow="hidden";var dt;if(Array.isArray(ot))dt={x:ot[0],y:ot[1],width:0,height:0};else{var It=ot.getBoundingClientRect();dt={x:It.x,y:It.y,width:It.width,height:It.height}}var Be=lr.getBoundingClientRect(),Or=Ht.documentElement,mt=Or.clientWidth,Jr=Or.clientHeight,an=Or.scrollWidth,Nt=Or.scrollHeight,Jt=Or.scrollTop,Lt=Or.scrollLeft,Xt=Be.height,wr=Be.width,Ir=dt.height,At=dt.width,Kt={left:0,top:0,right:mt,bottom:Jr},Bt={left:-Lt,top:-Jt,right:an-Lt,bottom:Nt-Jt},qt=ze.htmlRegion,br="visible",Qr="visibleFirst";qt!=="scroll"&&qt!==Qr&&(qt=br);var Hr=qt===Qr,jn=ie(Bt,or),En=ie(Kt,or),Yn=qt===br?En:jn,St=Hr?En:Yn;lr.style.left="auto",lr.style.top="auto",lr.style.right="0",lr.style.bottom="0";var Vr=lr.getBoundingClientRect();lr.style.left=st,lr.style.top=$t,lr.style.right=bt,lr.style.bottom=Ce,lr.style.overflow=yt,(Gt=lr.parentElement)===null||Gt===void 0||Gt.removeChild(xe);var ii=Z(Math.round(wr/parseFloat(pe)*1e3)/1e3),Bi=Z(Math.round(Xt/parseFloat(Tt)*1e3)/1e3);if(ii===0||Bi===0||(0,u.Sh)(ot)&&!(0,Q.Z)(ot))return;var $n=ze.offset,ci=ze.targetOffset,Oi=Se(Be,$n),zi=(0,i.Z)(Oi,2),Ai=zi[0],ji=zi[1],ha=Se(dt,ci),ea=(0,i.Z)(ha,2),Yi=ea[0],mi=ea[1];dt.x-=Yi,dt.y-=mi;var Zi=ze.points||[],Ta=(0,i.Z)(Zi,2),xt=Ta[0],xa=Ta[1],Wi=Pe(xa),vi=Pe(xt),Da=Ge(dt,Wi),Gi=Ge(Be,vi),ei=(0,r.Z)({},ze),zn=Da.x-Gi.x+Ai,we=Da.y-Gi.y+ji,nt=Ka(zn,we),Je=Ka(zn,we,En),Ct=Ge(dt,["t","l"]),lt=Ge(Be,["t","l"]),hr=Ge(dt,["b","r"]),pr=Ge(Be,["b","r"]),Tr=ze.overflow||{},zr=Tr.adjustX,en=Tr.adjustY,Nr=Tr.shiftX,An=Tr.shiftY,vr=function(xo){return typeof xo=="boolean"?xo:xo>=0},Fn,Xn,Ke,ct;Ni();var _e=vr(en),sr=vi[0]===Wi[0];if(_e&&vi[0]==="t"&&(Xn>St.bottom||tr.current.bt)){var nr=we;sr?nr-=Xt-Ir:nr=Ct.y-pr.y-ji;var kr=Ka(zn,nr),Gr=Ka(zn,nr,En);kr>nt||kr===nt&&(!Hr||Gr>=Je)?(tr.current.bt=!0,we=nr,ji=-ji,ei.points=[je(vi,0),je(Wi,0)]):tr.current.bt=!1}if(_e&&vi[0]==="b"&&(Fnnt||hn===nt&&(!Hr||Si>=Je)?(tr.current.tb=!0,we=Wr,ji=-ji,ei.points=[je(vi,0),je(Wi,0)]):tr.current.tb=!1}var un=vr(zr),yn=vi[1]===Wi[1];if(un&&vi[1]==="l"&&(ct>St.right||tr.current.rl)){var $r=zn;yn?$r-=wr-At:$r=Ct.x-pr.x-Ai;var kn=Ka($r,we),si=Ka($r,we,En);kn>nt||kn===nt&&(!Hr||si>=Je)?(tr.current.rl=!0,zn=$r,Ai=-Ai,ei.points=[je(vi,1),je(Wi,1)]):tr.current.rl=!1}if(un&&vi[1]==="r"&&(Kent||qs===nt&&(!Hr||Ba>=Je)?(tr.current.lr=!0,zn=wa,Ai=-Ai,ei.points=[je(vi,1),je(Wi,1)]):tr.current.lr=!1}Ni();var zs=Nr===!0?0:Nr;typeof zs=="number"&&(KeEn.right&&(zn-=ct-En.right-Ai,dt.x>En.right-zs&&(zn+=dt.x-En.right+zs)));var Ns=An===!0?0:An;typeof Ns=="number"&&(FnEn.bottom&&(we-=Xn-En.bottom-ji,dt.y>En.bottom-Ns&&(we+=dt.y-En.bottom+Ns)));var as=Be.x+zn,uo=as+wr,Aa=Be.y+we,Ps=Aa+Xt,ps=dt.x,po=ps+At,qi=dt.y,ro=qi+Ir,Wo=Math.max(as,ps),Na=Math.min(uo,po),Zs=(Wo+Na)/2,di=Zs-as,no=Math.max(Aa,qi),Rn=Math.min(Ps,ro),ss=(no+Rn)/2,Is=ss-Aa;ke==null||ke(ft,ei);var Os=Vr.right-Be.x-(zn+Be.width),Xi=Vr.bottom-Be.y-(we+Be.height);ut({ready:!0,offsetX:zn/ii,offsetY:we/Bi,offsetR:Os/ii,offsetB:Xi/Bi,arrowX:di/ii,arrowY:Is/Bi,scaleX:ii,scaleY:Bi,align:ei})}}),Yt=function(){pt.current+=1;var Gt=pt.current;Promise.resolve().then(function(){pt.current===Gt&&tt()})},Ot=function(){ut(function(Gt){return(0,r.Z)((0,r.Z)({},Gt),{},{ready:!1})})};return(0,y.Z)(Ot,[qe]),(0,y.Z)(function(){et||Ot()},[et]),[Qe.ready,Qe.offsetX,Qe.offsetY,Qe.offsetR,Qe.offsetB,Qe.arrowX,Qe.arrowY,Qe.scaleX,Qe.scaleY,Qe.align,Yt]}var ht=e(94480);function Pt(et,ft,ot,qe,Ne){(0,y.Z)(function(){if(et&&ft&&ot){let pt=function(){qe(),Ne()};var ye=ft,ke=ot,$e=le(ye),He=le(ke),Qe=q(ke),ut=new Set([Qe].concat((0,ht.Z)($e),(0,ht.Z)(He)));return ut.forEach(function(or){or.addEventListener("scroll",pt,{passive:!0})}),Qe.addEventListener("resize",pt,{passive:!0}),qe(),function(){ut.forEach(function(or){or.removeEventListener("scroll",pt),Qe.removeEventListener("resize",pt)})}}},[et,ft,ot])}var Wt=e(48736),Rt=e(16089);function ar(et,ft,ot,qe,Ne,ye,ke,$e){var He=b.useRef(et),Qe=b.useRef(!1);He.current!==et&&(Qe.current=!0,He.current=et),b.useEffect(function(){var ut=(0,Rt.Z)(function(){Qe.current=!1});return function(){Rt.Z.cancel(ut)}},[et]),b.useEffect(function(){if(ft&&qe&&(!Ne||ye)){var ut=function(){var Ae=!1,st=function(Ce){var yt=Ce.target;Ae=ke(yt)},$t=function(Ce){var yt=Ce.target;!Qe.current&&He.current&&!Ae&&!ke(yt)&&$e(!1)};return[st,$t]},pt=ut(),or=(0,i.Z)(pt,2),tr=or[0],Me=or[1],tt=ut(),Yt=(0,i.Z)(tt,2),Ot=Yt[0],Zt=Yt[1],Gt=q(qe);Gt.addEventListener("mousedown",tr,!0),Gt.addEventListener("click",Me,!0),Gt.addEventListener("contextmenu",Me,!0);var lr=(0,a.A)(ot);if(lr&&(lr.addEventListener("mousedown",Ot,!0),lr.addEventListener("click",Zt,!0),lr.addEventListener("contextmenu",Zt,!0)),0)var Ht,Te,ce,pe;return function(){Gt.removeEventListener("mousedown",tr,!0),Gt.removeEventListener("click",Me,!0),Gt.removeEventListener("contextmenu",Me,!0),lr&&(lr.removeEventListener("mousedown",Ot,!0),lr.removeEventListener("click",Zt,!0),lr.removeEventListener("contextmenu",Zt,!0))}}},[ft,ot,qe,Ne,ye])}var Ue=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function _t(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,ft=b.forwardRef(function(ot,qe){var Ne=ot.prefixCls,ye=Ne===void 0?"rc-trigger-popup":Ne,ke=ot.children,$e=ot.action,He=$e===void 0?"hover":$e,Qe=ot.showAction,ut=ot.hideAction,pt=ot.popupVisible,or=ot.defaultPopupVisible,tr=ot.onPopupVisibleChange,Me=ot.afterPopupVisibleChange,tt=ot.mouseEnterDelay,Yt=ot.mouseLeaveDelay,Ot=Yt===void 0?.1:Yt,Zt=ot.focusDelay,Gt=ot.blurDelay,lr=ot.mask,Ht=ot.maskClosable,Te=Ht===void 0?!0:Ht,ce=ot.getPopupContainer,pe=ot.forceRender,Tt=ot.autoDestroy,Ae=ot.destroyPopupOnHide,st=ot.popup,$t=ot.popupClassName,bt=ot.popupStyle,Ce=ot.popupPlacement,yt=ot.builtinPlacements,ze=yt===void 0?{}:yt,xe=ot.popupAlign,dt=ot.zIndex,It=ot.stretch,Be=ot.getPopupClassNameFromAlign,Or=ot.fresh,mt=ot.alignPoint,Jr=ot.onPopupClick,an=ot.onPopupAlign,Nt=ot.arrow,Jt=ot.popupMotion,Lt=ot.maskMotion,Xt=ot.popupTransitionName,wr=ot.popupAnimation,Ir=ot.maskTransitionName,At=ot.maskAnimation,Kt=ot.className,Bt=ot.getTriggerDOMNode,qt=(0,l.Z)(ot,Ue),br=Tt||Ae||!1,Qr=b.useState(!1),Hr=(0,i.Z)(Qr,2),jn=Hr[0],En=Hr[1];(0,y.Z)(function(){En((0,m.Z)())},[]);var Yn=b.useRef({}),St=b.useContext(ne),Vr=b.useMemo(function(){return{registerSubPopup:function(gi,Ja){Yn.current[gi]=Ja,St==null||St.registerSubPopup(gi,Ja)}}},[St]),ii=(0,p.Z)(),Bi=b.useState(null),$n=(0,i.Z)(Bi,2),ci=$n[0],Oi=$n[1],zi=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&ci!==hi&&Oi(hi),St==null||St.registerSubPopup(ii,hi)}),Ai=b.useState(null),ji=(0,i.Z)(Ai,2),ha=ji[0],ea=ji[1],Yi=b.useRef(null),mi=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&ha!==hi&&(ea(hi),Yi.current=hi)}),Zi=b.Children.only(ke),Ta=(Zi==null?void 0:Zi.props)||{},xt={},xa=(0,x.Z)(function(hi){var gi,Ja,ls=ha;return(ls==null?void 0:ls.contains(hi))||((gi=(0,a.A)(ls))===null||gi===void 0?void 0:gi.host)===hi||hi===ls||(ci==null?void 0:ci.contains(hi))||((Ja=(0,a.A)(ci))===null||Ja===void 0?void 0:Ja.host)===hi||hi===ci||Object.values(Yn.current).some(function(es){return(es==null?void 0:es.contains(hi))||hi===es})}),Wi=ee(ye,Jt,wr,Xt),vi=ee(ye,Lt,At,Ir),Da=b.useState(or||!1),Gi=(0,i.Z)(Da,2),ei=Gi[0],zn=Gi[1],we=pt!=null?pt:ei,nt=(0,x.Z)(function(hi){pt===void 0&&zn(hi)});(0,y.Z)(function(){zn(pt||!1)},[pt]);var Je=b.useRef(we);Je.current=we;var Ct=b.useRef([]);Ct.current=[];var lt=(0,x.Z)(function(hi){var gi;nt(hi),((gi=Ct.current[Ct.current.length-1])!==null&&gi!==void 0?gi:we)!==hi&&(Ct.current.push(hi),tr==null||tr(hi))}),hr=b.useRef(),pr=function(){clearTimeout(hr.current)},Tr=function(gi){var Ja=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;pr(),Ja===0?lt(gi):hr.current=setTimeout(function(){lt(gi)},Ja*1e3)};b.useEffect(function(){return pr},[]);var zr=b.useState(!1),en=(0,i.Z)(zr,2),Nr=en[0],An=en[1];(0,y.Z)(function(hi){(!hi||we)&&An(!0)},[we]);var vr=b.useState(null),Fn=(0,i.Z)(vr,2),Xn=Fn[0],Ke=Fn[1],ct=b.useState([0,0]),_e=(0,i.Z)(ct,2),sr=_e[0],nr=_e[1],kr=function(gi){nr([gi.clientX,gi.clientY])},Gr=Dt(we,ci,mt?sr:ha,Ce,ze,xe,an),Wr=(0,i.Z)(Gr,11),hn=Wr[0],Si=Wr[1],un=Wr[2],yn=Wr[3],$r=Wr[4],kn=Wr[5],si=Wr[6],wa=Wr[7],qs=Wr[8],Ba=Wr[9],zs=Wr[10],Ns=J(jn,He,Qe,ut),as=(0,i.Z)(Ns,2),uo=as[0],Aa=as[1],Ps=uo.has("click"),ps=Aa.has("click")||Aa.has("contextMenu"),po=(0,x.Z)(function(){Nr||zs()}),qi=function(){Je.current&&mt&&ps&&Tr(!1)};Pt(we,ha,ci,po,qi),(0,y.Z)(function(){po()},[sr,Ce]),(0,y.Z)(function(){we&&!(ze!=null&&ze[Ce])&&po()},[JSON.stringify(xe)]);var ro=b.useMemo(function(){var hi=se(ze,ye,Ba,mt);return o()(hi,Be==null?void 0:Be(Ba))},[Ba,Be,ze,ye,mt]);b.useImperativeHandle(qe,function(){return{nativeElement:Yi.current,forceAlign:po}});var Wo=b.useState(0),Na=(0,i.Z)(Wo,2),Zs=Na[0],di=Na[1],no=b.useState(0),Rn=(0,i.Z)(no,2),ss=Rn[0],Is=Rn[1],Os=function(){if(It&&ha){var gi=ha.getBoundingClientRect();di(gi.width),Is(gi.height)}},Xi=function(){Os(),po()},Ka=function(gi){An(!1),zs(),Me==null||Me(gi)},Ni=function(){return new Promise(function(gi){Os(),Ke(function(){return gi})})};(0,y.Z)(function(){Xn&&(zs(),Xn(),Ke(null))},[Xn]);function Ds(hi,gi,Ja,ls){xt[hi]=function(es){var Ha;ls==null||ls(es),Tr(gi,Ja);for(var ms=arguments.length,qo=new Array(ms>1?ms-1:0),ks=1;ks1?Ja-1:0),es=1;es1?Ja-1:0),es=1;es=0)return l[f].splice(u,1),!0}return!1},publish:function(f){if(!l[f])return!1;const o=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,o)}),this}};return i?Object.assign(i,c):c}const r=new e;g.Z=r},22575:function(d,g,e){"use strict";e.d(g,{zt:function(){return Ra},$j:function(){return Qn},Ue:function(){return xo},I0:function(){return lo},v9:function(){return wu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return At},all:function(){return Be},apply:function(){return an},call:function(){return Jr},cancel:function(){return wr},cancelled:function(){return Kt},cps:function(){return Nt},flush:function(){return Bt},fork:function(){return Jt},getContext:function(){return qt},join:function(){return Xt},put:function(){return It},race:function(){return Or},select:function(){return Ir},setContext:function(){return br},spawn:function(){return Lt},take:function(){return xe},takeEvery:function(){return nt},takeLatest:function(){return Je},takem:function(){return dt},throttle:function(){return Ct}});var i=e(59301),l=e(75682),c=e(59781),f=Object.assign||function(Xe){for(var Ie=1;Ie=0&&Xe.splice(Ft,1)}var H={from:function(Ie){var Ft=Array(Ie.length);for(var vt in Ie)B(Ie,vt)&&(Ft[vt]=Ie[vt]);return Ft}};function ae(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=f({},Xe),Ft=new Promise(function(vt,Sr){Ie.resolve=vt,Ie.reject=Sr});return Ie.promise=Ft,Ie}function ne(Xe){for(var Ie=[],Ft=0;Ft1&&arguments[1]!==void 0?arguments[1]:!0,Ft=void 0,vt=new Promise(function(Sr){Ft=setTimeout(function(){return Sr(Ie)},Xe)});return vt[p]=function(){return clearTimeout(Ft)},vt}function J(){var Xe,Ie=!0,Ft=void 0,vt=void 0;return Xe={},Xe[u]=!0,Xe.isRunning=function(){return Ie},Xe.result=function(){return Ft},Xe.error=function(){return vt},Xe.setRunning=function(Mr){return Ie=Mr},Xe.setResult=function(Mr){return Ft=Mr},Xe.setError=function(Mr){return vt=Mr},Xe}function Q(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Xe}}var V=Q(),se=function(Ie){throw Ie},ee=function(Ie){return{value:Ie,done:!0}};function q(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",vt=arguments[3],Sr={name:Ft,next:Xe,throw:Ie,return:ee};return vt&&(Sr[a]=!0),typeof Symbol!="undefined"&&(Sr[Symbol.iterator]=function(){return Sr}),Sr}function le(Xe,Ie){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Xe+": "+Ie+` +`+(Ft&&Ft.stack||Ft)):console[Xe](Ie,Ft)}function Z(Xe,Ie){return function(){return Xe.apply(void 0,arguments)}}var U=function(Ie,Ft){return Ie+" has been deprecated in favor of "+Ft+", please update your code"},ie=function(Ie){return new Error(` redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug in redux-saga code and not yours. Thanks for reporting this in the project's github repo. Error: `+Ie+` `)},me=function(Ie,Ft){return(Ie?Ie+".":"")+"setContext(props): argument "+Ft+" is not a plain object"},Se=function(Ie){return function(Ft){return Ie(Object.defineProperty(Ft,y,{value:!0}))}},Pe=function Xe(Ie){return function(){for(var Ft=arguments.length,vt=Array(Ft),Sr=0;Sr0&&arguments[0]!==void 0?arguments[0]:10,Ie=arguments[1],Ft=new Array(Xe),vt=0,Sr=0,Mr=0,Kr=function(ri){Ft[Sr]=ri,Sr=(Sr+1)%Xe,vt++},xn=function(){if(vt!=0){var ri=Ft[Mr];return Ft[Mr]=null,vt--,Mr=(Mr+1)%Xe,ri}},cn=function(){for(var ri=[];vt;)ri.push(xn());return ri};return{isEmpty:function(){return vt==0},put:function(ri){if(vt0&&arguments[0]!==void 0?arguments[0]:ar.fixed(),Ie=!1,Ft=[];I(Xe,N.buffer,Qe);function vt(){if(Ie&&Ft.length)throw ie("Cannot have a closed channel with pending takers");if(Ft.length&&!Xe.isEmpty())throw ie("Cannot have pending takers with non empty buffer")}function Sr(cn){if(vt(),I(cn,N.notUndef,ut),!Ie){if(!Ft.length)return Xe.put(cn);for(var Sn=0;Sn1&&arguments[1]!==void 0?arguments[1]:ar.none(),Ft=arguments[2];arguments.length>2&&I(Ft,N.func,"Invalid match function passed to eventChannel");var vt=pt(Ie),Sr=function(){vt.__closed__||(Mr&&Mr(),vt.close())},Mr=Xe(function(Kr){if($e(Kr)){Sr();return}Ft&&!Ft(Kr)||vt.put(Kr)});if(vt.__closed__&&Mr(),!N.func(Mr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:vt.take,flush:vt.flush,close:Sr}}function tr(Xe){var Ie=or(function(Ft){return Xe(function(vt){if(vt[y]){Ft(vt);return}et(function(){return Ft(vt)})})});return Ne({},Ie,{take:function(vt,Sr){arguments.length>1&&(I(Sr,N.func,"channel.take's matcher argument must be a function"),vt[x]=Sr),Ie.take(vt)}})}var Me=h("IO"),tt="TAKE",Yt="PUT",Ot="ALL",Zt="RACE",Gt="CALL",lr="CPS",Ht="FORK",Te="JOIN",ce="CANCEL",pe="SELECT",Tt="ACTION_CHANNEL",Ae="CANCELLED",st="FLUSH",$t="GET_CONTEXT",bt="SET_CONTEXT",Ce=` -(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,yt=function(Ie,Ft){var vt;return vt={},vt[Me]=!0,vt[Ie]=Ft,vt},ze=function(Ie){return I(Hr.fork(Ie),N.object,"detach(eff): argument must be a fork effect"),Ie[Ht].detached=!0,Ie};function xe(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&I(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Xe))return yt(tt,{pattern:Xe});if(N.channel(Xe))return yt(tt,{channel:Xe});throw new Error("take(patternOrChannel): argument "+String(Xe)+" is not valid channel or a valid pattern")}xe.maybe=function(){var Xe=xe.apply(void 0,arguments);return Xe[tt].maybe=!0,Xe};var dt=Z(xe.maybe,j("takem","take.maybe"));function It(Xe,Ie){return arguments.length>1?(I(Xe,N.notUndef,"put(channel, action): argument channel is undefined"),I(Xe,N.channel,"put(channel, action): argument "+Xe+" is not a valid channel"),I(Ie,N.notUndef,"put(channel, action): argument action is undefined")):(I(Xe,N.notUndef,"put(action): argument action is undefined"),Ie=Xe,Xe=null),yt(Yt,{channel:Xe,action:Ie})}It.resolve=function(){var Xe=It.apply(void 0,arguments);return Xe[Yt].resolve=!0,Xe},It.sync=Z(It.resolve,j("put.sync","put.resolve"));function Be(Xe){return yt(Ot,Xe)}function Or(Xe){return yt(Zt,Xe)}function mt(Xe,Ie,Ft){I(Ie,N.notUndef,Xe+": argument fn is undefined");var vt=null;if(N.array(Ie)){var Sr=Ie;vt=Sr[0],Ie=Sr[1]}else if(Ie.fn){var Mr=Ie;vt=Mr.context,Ie=Mr.fn}return vt&&N.string(Ie)&&N.func(vt[Ie])&&(Ie=vt[Ie]),I(Ie,N.func,Xe+": argument "+Ie+" is not a function"),{context:vt,fn:Ie,args:Ft}}function Jr(Xe){for(var Ie=arguments.length,Ft=Array(Ie>1?Ie-1:0),vt=1;vt2&&arguments[2]!==void 0?arguments[2]:[];return yt(Gt,mt("apply",{context:Xe,fn:Ie},Ft))}function Nt(Xe){for(var Ie=arguments.length,Ft=Array(Ie>1?Ie-1:0),vt=1;vt1?Ie-1:0),vt=1;vt1?Ie-1:0),vt=1;vt1)return Be(Ie.map(function(Sr){return Qt(Sr)}));var vt=Ie[0];return I(vt,N.notUndef,"join(task): argument task is undefined"),I(vt,N.task,"join(task): argument "+vt+" is not a valid Task object "+Ce),yt(Te,vt)}function wr(){for(var Xe=arguments.length,Ie=Array(Xe),Ft=0;Ft1)return Be(Ie.map(function(Sr){return wr(Sr)}));var vt=Ie[0];return Ie.length===1&&(I(vt,N.notUndef,"cancel(task): argument task is undefined"),I(vt,N.task,"cancel(task): argument "+vt+" is not a valid Task object "+Ce)),yt(ce,vt||m)}function Ir(Xe){for(var Ie=arguments.length,Ft=Array(Ie>1?Ie-1:0),vt=1;vt1&&(I(Ie,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),I(Ie,N.buffer,"actionChannel(pattern, buffer): argument "+Ie+" is not a valid buffer")),yt(Tt,{pattern:Xe,buffer:Ie})}function Kt(){return yt(Ae,{})}function Bt(Xe){return I(Xe,N.channel,"flush(channel): argument "+Xe+" is not valid channel"),yt(st,Xe)}function qt(Xe){return I(Xe,N.string,"getContext(prop): argument "+Xe+" is not a string"),yt($t,Xe)}function br(Xe){return I(Xe,N.object,me(null,Xe)),yt(bt,Xe)}var Qr=function(Ie){return function(Ft){return Ft&&Ft[Me]&&Ft[Ie]}},Hr={take:Qr(tt),put:Qr(Yt),all:Qr(Ot),race:Qr(Zt),call:Qr(Gt),cps:Qr(lr),fork:Qr(Ht),join:Qr(Te),cancel:Qr(ce),select:Qr(pe),actionChannel:Qr(Tt),cancelled:Qr(Ae),flush:Qr(st),getContext:Qr($t),setContext:Qr(bt)},jn=Object.assign||function(Xe){for(var Ie=1;Ie1&&arguments[1]!==void 0?arguments[1]:function(){return R},Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Mr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Kr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,xn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",cn=arguments[8];I(Xe,N.iterator,St);var Sn="[...effects]",ri=Z(Js,j(Sn,"all("+Sn+")")),ni=Mr.sagaMonitor,yi=Mr.logger,Li=Mr.onError,na=yi||le,Hi=function(wn){var We=wn.sagaStack;!We&&wn.stack&&(We=wn.stack.split(` +(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,yt=function(Ie,Ft){var vt;return vt={},vt[Me]=!0,vt[Ie]=Ft,vt},ze=function(Ie){return I(Hr.fork(Ie),N.object,"detach(eff): argument must be a fork effect"),Ie[Ht].detached=!0,Ie};function xe(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&I(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Xe))return yt(tt,{pattern:Xe});if(N.channel(Xe))return yt(tt,{channel:Xe});throw new Error("take(patternOrChannel): argument "+String(Xe)+" is not valid channel or a valid pattern")}xe.maybe=function(){var Xe=xe.apply(void 0,arguments);return Xe[tt].maybe=!0,Xe};var dt=Z(xe.maybe,U("takem","take.maybe"));function It(Xe,Ie){return arguments.length>1?(I(Xe,N.notUndef,"put(channel, action): argument channel is undefined"),I(Xe,N.channel,"put(channel, action): argument "+Xe+" is not a valid channel"),I(Ie,N.notUndef,"put(channel, action): argument action is undefined")):(I(Xe,N.notUndef,"put(action): argument action is undefined"),Ie=Xe,Xe=null),yt(Yt,{channel:Xe,action:Ie})}It.resolve=function(){var Xe=It.apply(void 0,arguments);return Xe[Yt].resolve=!0,Xe},It.sync=Z(It.resolve,U("put.sync","put.resolve"));function Be(Xe){return yt(Ot,Xe)}function Or(Xe){return yt(Zt,Xe)}function mt(Xe,Ie,Ft){I(Ie,N.notUndef,Xe+": argument fn is undefined");var vt=null;if(N.array(Ie)){var Sr=Ie;vt=Sr[0],Ie=Sr[1]}else if(Ie.fn){var Mr=Ie;vt=Mr.context,Ie=Mr.fn}return vt&&N.string(Ie)&&N.func(vt[Ie])&&(Ie=vt[Ie]),I(Ie,N.func,Xe+": argument "+Ie+" is not a function"),{context:vt,fn:Ie,args:Ft}}function Jr(Xe){for(var Ie=arguments.length,Ft=Array(Ie>1?Ie-1:0),vt=1;vt2&&arguments[2]!==void 0?arguments[2]:[];return yt(Gt,mt("apply",{context:Xe,fn:Ie},Ft))}function Nt(Xe){for(var Ie=arguments.length,Ft=Array(Ie>1?Ie-1:0),vt=1;vt1?Ie-1:0),vt=1;vt1?Ie-1:0),vt=1;vt1)return Be(Ie.map(function(Sr){return Xt(Sr)}));var vt=Ie[0];return I(vt,N.notUndef,"join(task): argument task is undefined"),I(vt,N.task,"join(task): argument "+vt+" is not a valid Task object "+Ce),yt(Te,vt)}function wr(){for(var Xe=arguments.length,Ie=Array(Xe),Ft=0;Ft1)return Be(Ie.map(function(Sr){return wr(Sr)}));var vt=Ie[0];return Ie.length===1&&(I(vt,N.notUndef,"cancel(task): argument task is undefined"),I(vt,N.task,"cancel(task): argument "+vt+" is not a valid Task object "+Ce)),yt(ce,vt||m)}function Ir(Xe){for(var Ie=arguments.length,Ft=Array(Ie>1?Ie-1:0),vt=1;vt1&&(I(Ie,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),I(Ie,N.buffer,"actionChannel(pattern, buffer): argument "+Ie+" is not a valid buffer")),yt(Tt,{pattern:Xe,buffer:Ie})}function Kt(){return yt(Ae,{})}function Bt(Xe){return I(Xe,N.channel,"flush(channel): argument "+Xe+" is not valid channel"),yt(st,Xe)}function qt(Xe){return I(Xe,N.string,"getContext(prop): argument "+Xe+" is not a string"),yt($t,Xe)}function br(Xe){return I(Xe,N.object,me(null,Xe)),yt(bt,Xe)}var Qr=function(Ie){return function(Ft){return Ft&&Ft[Me]&&Ft[Ie]}},Hr={take:Qr(tt),put:Qr(Yt),all:Qr(Ot),race:Qr(Zt),call:Qr(Gt),cps:Qr(lr),fork:Qr(Ht),join:Qr(Te),cancel:Qr(ce),select:Qr(pe),actionChannel:Qr(Tt),cancelled:Qr(Ae),flush:Qr(st),getContext:Qr($t),setContext:Qr(bt)},jn=Object.assign||function(Xe){for(var Ie=1;Ie1&&arguments[1]!==void 0?arguments[1]:function(){return R},Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Mr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Kr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,xn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",cn=arguments[8];I(Xe,N.iterator,St);var Sn="[...effects]",ri=Z(eo,U(Sn,"all("+Sn+")")),ni=Mr.sagaMonitor,yi=Mr.logger,Li=Mr.onError,na=yi||le,Hi=function(wn){var We=wn.sagaStack;!We&&wn.stack&&(We=wn.stack.split(` `)[0].indexOf(wn.message)!==-1?wn.stack:"Error: "+wn.message+` `+wn.stack),na("error","uncaught at "+xn,We||wn.message||wn)},Ti=tr(Ie),Pa=Object.create(Sr);ia.cancel=R;var Pi=Ws(Kr,xn,Xe,cn),pi={name:xn,cancel:wo,isRunning:!0},ca=ci(xn,pi,fs);function wo(){pi.isRunning&&!pi.isCancelled&&(pi.isCancelled=!0,ia(ii))}function Xs(){Xe._isRunning&&!Xe._isCancelled&&(Xe._isCancelled=!0,ca.cancelAll(),fs(ii))}return cn&&(cn.cancel=Xs),Xe._isRunning=!0,ia(),Pi;function ia(vn,wn){if(!pi.isRunning)throw new Error("Trying to resume an already finished generator");try{var We=void 0;wn?We=Xe.throw(vn):vn===ii?(pi.isCancelled=!0,ia.cancel(),We=N.func(Xe.return)?Xe.return(ii):{done:!0,value:ii}):vn===Vr?We=N.func(Xe.return)?Xe.return():{done:!0}:We=Xe.next(vn),We.done?(pi.isMainRunning=!1,pi.cont&&pi.cont(We.value)):ya(We.value,Kr,"",ia)}catch(jt){pi.isCancelled&&Hi(jt),pi.isMainRunning=!1,pi.cont(jt,!0)}}function fs(vn,wn){Xe._isRunning=!1,Ti.close(),wn?(vn instanceof Error&&Object.defineProperty(vn,"sagaStack",{value:"at "+xn+` - `+(vn.sagaStack||vn.stack),configurable:!0}),Pi.cont||(vn instanceof Error&&Li?Li(vn):Hi(vn)),Xe._error=vn,Xe._isAborted=!0,Xe._deferredEnd&&Xe._deferredEnd.reject(vn)):(Xe._result=vn,Xe._deferredEnd&&Xe._deferredEnd.resolve(vn)),Pi.cont&&Pi.cont(vn,wn),Pi.joiners.forEach(function(We){return We.cb(vn,wn)}),Pi.joiners=null}function ya(vn,wn){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",jt=arguments[3],Er=V();ni&&ni.effectTriggered({effectId:Er,parentEffectId:wn,label:We,effect:vn});var Rr=void 0;function qr(Qi,ui){Rr||(Rr=!0,jt.cancel=R,ni&&(ui?ni.effectRejected(Er,Qi):ni.effectResolved(Er,Qi)),jt(Qi,ui))}qr.cancel=R,jt.cancel=function(){if(!Rr){Rr=!0;try{qr.cancel()}catch(Qi){Hi(Qi)}qr.cancel=R,ni&&ni.effectCancelled(Er)}};var _n=void 0;return N.promise(vn)?vs(vn,qr):N.helper(vn)?pa(zi(vn),Er,qr):N.iterator(vn)?La(vn,Er,xn,qr):N.array(vn)?ri(vn,Er,qr):(_n=Hr.take(vn))?rs(_n,qr):(_n=Hr.put(vn))?Ls(_n,qr):(_n=Hr.all(vn))?Js(_n,Er,qr):(_n=Hr.race(vn))?Ga(_n,Er,qr):(_n=Hr.call(vn))?ao(_n,Er,qr):(_n=Hr.cps(vn))?xs(_n,qr):(_n=Hr.fork(vn))?pa(_n,Er,qr):(_n=Hr.join(vn))?Ms(_n,qr):(_n=Hr.cancel(vn))?jo(_n,qr):(_n=Hr.select(vn))?us(_n,qr):(_n=Hr.actionChannel(vn))?co(_n,qr):(_n=Hr.flush(vn))?Vt(_n,qr):(_n=Hr.cancelled(vn))?Va(_n,qr):(_n=Hr.getContext(vn))?kt(_n,qr):(_n=Hr.setContext(vn))?Ia(_n,qr):qr(vn)}function vs(vn,wn){var We=vn[p];N.func(We)?wn.cancel=We:N.func(vn.abort)&&(wn.cancel=function(){return vn.abort()}),vn.then(wn,function(jt){return wn(jt,!0)})}function La(vn,wn,We,jt){Ai(vn,Ie,Ft,vt,Pa,Mr,wn,We,jt)}function rs(vn,wn){var We=vn.channel,jt=vn.pattern,Er=vn.maybe;We=We||Ti;var Rr=function(_n){return _n instanceof Error?wn(_n,!0):$e(_n)&&!Er?wn(Vr):wn(_n)};try{We.take(Rr,$n(jt))}catch(qr){return wn(qr,!0)}wn.cancel=Rr.cancel}function Ls(vn,wn){var We=vn.channel,jt=vn.action,Er=vn.resolve;et(function(){var Rr=void 0;try{Rr=(We?We.put:Ft)(jt)}catch(qr){if(We||Er)return wn(qr,!0);Hi(qr)}if(Er&&N.promise(Rr))vs(Rr,wn);else return wn(Rr)})}function ao(vn,wn,We){var jt=vn.context,Er=vn.fn,Rr=vn.args,qr=void 0;try{qr=Er.apply(jt,Rr)}catch(_n){return We(_n,!0)}return N.promise(qr)?vs(qr,We):N.iterator(qr)?La(qr,wn,Er.name,We):We(qr)}function xs(vn,wn){var We=vn.context,jt=vn.fn,Er=vn.args;try{var Rr=function(_n,Qi){return N.undef(_n)?wn(Qi):wn(_n,!0)};jt.apply(We,Er.concat(Rr)),Rr.cancel&&(wn.cancel=function(){return Rr.cancel()})}catch(qr){return wn(qr,!0)}}function pa(vn,wn,We){var jt=vn.context,Er=vn.fn,Rr=vn.args,qr=vn.detached,_n=Oi({context:jt,fn:Er,args:Rr});try{ft();var Qi=Ai(_n,Ie,Ft,vt,Pa,Mr,wn,Er.name,qr?null:R);qr?We(Qi):_n._isRunning?(ca.addTask(Qi),We(Qi)):_n._error?ca.abort(_n._error):We(Qi)}finally{qe()}}function Ms(vn,wn){if(vn.isRunning()){var We={task:Pi,cb:wn};wn.cancel=function(){return G(vn.joiners,We)},vn.joiners.push(We)}else vn.isAborted()?wn(vn.error(),!0):wn(vn.result())}function jo(vn,wn){vn===m&&(vn=Pi),vn.isRunning()&&vn.cancel(),wn()}function Js(vn,wn,We){var jt=Object.keys(vn);if(!jt.length)return We(N.array(vn)?[]:{});var Er=0,Rr=void 0,qr={},_n={};function Qi(){Er===jt.length&&(Rr=!0,We(N.array(vn)?H.from(jn({},qr,{length:jt.length})):qr))}jt.forEach(function(ui){var Eo=function(ns,Qa){Rr||(Qa||$e(ns)||ns===Vr||ns===ii?(We.cancel(),We(ns,Qa)):(qr[ui]=ns,Er++,Qi()))};Eo.cancel=R,_n[ui]=Eo}),We.cancel=function(){Rr||(Rr=!0,jt.forEach(function(ui){return _n[ui].cancel()}))},jt.forEach(function(ui){return ya(vn[ui],wn,ui,_n[ui])})}function Ga(vn,wn,We){var jt=void 0,Er=Object.keys(vn),Rr={};Er.forEach(function(qr){var _n=function(ui,Eo){if(!jt){if(Eo)We.cancel(),We(ui,!0);else if(!$e(ui)&&ui!==Vr&&ui!==ii){var fa;We.cancel(),jt=!0;var ns=(fa={},fa[qr]=ui,fa);We(N.array(vn)?[].slice.call(jn({},ns,{length:Er.length})):ns)}}};_n.cancel=R,Rr[qr]=_n}),We.cancel=function(){jt||(jt=!0,Er.forEach(function(qr){return Rr[qr].cancel()}))},Er.forEach(function(qr){jt||ya(vn[qr],wn,qr,Rr[qr])})}function us(vn,wn){var We=vn.selector,jt=vn.args;try{var Er=We.apply(void 0,[vt()].concat(jt));wn(Er)}catch(Rr){wn(Rr,!0)}}function co(vn,wn){var We=vn.pattern,jt=vn.buffer,Er=$n(We);Er.pattern=We,wn(or(Ie,jt||ar.fixed(),Er))}function Va(vn,wn){wn(!!pi.isCancelled)}function Vt(vn,wn){vn.flush(wn)}function kt(vn,wn){wn(Pa[vn])}function Ia(vn,wn){K.assign(Pa,vn),wn()}function Ws(vn,wn,We,jt){var Er,Rr,qr;return We._deferredEnd=null,Rr={},Rr[u]=!0,Rr.id=vn,Rr.name=wn,Er="done",qr={},qr[Er]=qr[Er]||{},qr[Er].get=function(){if(We._deferredEnd)return We._deferredEnd.promise;var _n=ae();return We._deferredEnd=_n,We._isRunning||(We._error?_n.reject(We._error):_n.resolve(We._result)),_n.promise},Rr.cont=jt,Rr.joiners=[],Rr.cancel=Xs,Rr.isRunning=function(){return We._isRunning},Rr.isCancelled=function(){return We._isCancelled},Rr.isAborted=function(){return We._isAborted},Rr.result=function(){return We._result},Rr.error=function(){return We._error},Rr.setContext=function(Qi){I(Qi,N.object,me("task",Qi)),K.assign(Pa,Qi)},Yn(Rr,qr),Rr}}var ji="runSaga(storeInterface, saga, ...args)",ha=ji+": saga argument must be a Generator function!";function ea(Xe,Ie){for(var Ft=arguments.length,vt=Array(Ft>2?Ft-2:0),Sr=2;Sr=0||Object.prototype.hasOwnProperty.call(Xe,vt)&&(Ft[vt]=Xe[vt]);return Ft}function mi(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=Xe.context,Ft=Ie===void 0?{}:Ie,vt=Yi(Xe,["context"]),Sr=vt.sagaMonitor,Mr=vt.logger,Kr=vt.onError;if(N.func(vt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Mr&&!N.func(Mr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Kr&&!N.func(Kr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(vt.emitter&&!N.func(vt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function xn(cn){var Sn=cn.getState,ri=cn.dispatch,ni=He();return ni.emit=(vt.emitter||A)(ni.emit),xn.run=ea.bind(null,{context:Ft,subscribe:ni.subscribe,dispatch:ri,getState:Sn,sagaMonitor:Sr,logger:Mr,onError:Kr}),function(yi){return function(Li){Sr&&Sr.actionDispatched&&Sr.actionDispatched(Li);var na=yi(Li);return ni.emit(Li),na}}}return xn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},xn.setContext=function(cn){I(cn,N.object,me("sagaMiddleware",cn)),K.assign(Ft,cn)},xn}var Zi={done:!0,value:void 0},Ta={};function xt(Xe){return N.channel(Xe)?"channel":Array.isArray(Xe)?String(Xe.map(function(Ie){return String(Ie)})):String(Xe)}function xa(Xe,Ie){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",vt=void 0,Sr=Ie;function Mr(Kr,xn){if(Sr===Ta)return Zi;if(xn)throw Sr=Ta,xn;vt&&vt(Kr);var cn=Xe[Sr](),Sn=cn[0],ri=cn[1],ni=cn[2];return Sr=Sn,vt=ni,Sr===Ta?Zi:ri}return q(Mr,function(Kr){return Mr(null,Kr)},Ft,!0)}function Wi(Xe,Ie){for(var Ft=arguments.length,vt=Array(Ft>2?Ft-2:0),Sr=2;Sr2?Ft-2:0),Sr=2;Sr3?vt-3:0),Mr=3;Mr2&&arguments[2]!==void 0?arguments[2]:"",jt=arguments[3],Er=V();ni&&ni.effectTriggered({effectId:Er,parentEffectId:wn,label:We,effect:vn});var Rr=void 0;function qr(Qi,ui){Rr||(Rr=!0,jt.cancel=R,ni&&(ui?ni.effectRejected(Er,Qi):ni.effectResolved(Er,Qi)),jt(Qi,ui))}qr.cancel=R,jt.cancel=function(){if(!Rr){Rr=!0;try{qr.cancel()}catch(Qi){Hi(Qi)}qr.cancel=R,ni&&ni.effectCancelled(Er)}};var _n=void 0;return N.promise(vn)?vs(vn,qr):N.helper(vn)?pa(zi(vn),Er,qr):N.iterator(vn)?La(vn,Er,xn,qr):N.array(vn)?ri(vn,Er,qr):(_n=Hr.take(vn))?rs(_n,qr):(_n=Hr.put(vn))?Ls(_n,qr):(_n=Hr.all(vn))?eo(_n,Er,qr):(_n=Hr.race(vn))?Ga(_n,Er,qr):(_n=Hr.call(vn))?so(_n,Er,qr):(_n=Hr.cps(vn))?xs(_n,qr):(_n=Hr.fork(vn))?pa(_n,Er,qr):(_n=Hr.join(vn))?Ms(_n,qr):(_n=Hr.cancel(vn))?Uo(_n,qr):(_n=Hr.select(vn))?us(_n,qr):(_n=Hr.actionChannel(vn))?co(_n,qr):(_n=Hr.flush(vn))?Vt(_n,qr):(_n=Hr.cancelled(vn))?Va(_n,qr):(_n=Hr.getContext(vn))?kt(_n,qr):(_n=Hr.setContext(vn))?Ia(_n,qr):qr(vn)}function vs(vn,wn){var We=vn[p];N.func(We)?wn.cancel=We:N.func(vn.abort)&&(wn.cancel=function(){return vn.abort()}),vn.then(wn,function(jt){return wn(jt,!0)})}function La(vn,wn,We,jt){Ai(vn,Ie,Ft,vt,Pa,Mr,wn,We,jt)}function rs(vn,wn){var We=vn.channel,jt=vn.pattern,Er=vn.maybe;We=We||Ti;var Rr=function(_n){return _n instanceof Error?wn(_n,!0):$e(_n)&&!Er?wn(Vr):wn(_n)};try{We.take(Rr,$n(jt))}catch(qr){return wn(qr,!0)}wn.cancel=Rr.cancel}function Ls(vn,wn){var We=vn.channel,jt=vn.action,Er=vn.resolve;et(function(){var Rr=void 0;try{Rr=(We?We.put:Ft)(jt)}catch(qr){if(We||Er)return wn(qr,!0);Hi(qr)}if(Er&&N.promise(Rr))vs(Rr,wn);else return wn(Rr)})}function so(vn,wn,We){var jt=vn.context,Er=vn.fn,Rr=vn.args,qr=void 0;try{qr=Er.apply(jt,Rr)}catch(_n){return We(_n,!0)}return N.promise(qr)?vs(qr,We):N.iterator(qr)?La(qr,wn,Er.name,We):We(qr)}function xs(vn,wn){var We=vn.context,jt=vn.fn,Er=vn.args;try{var Rr=function(_n,Qi){return N.undef(_n)?wn(Qi):wn(_n,!0)};jt.apply(We,Er.concat(Rr)),Rr.cancel&&(wn.cancel=function(){return Rr.cancel()})}catch(qr){return wn(qr,!0)}}function pa(vn,wn,We){var jt=vn.context,Er=vn.fn,Rr=vn.args,qr=vn.detached,_n=Oi({context:jt,fn:Er,args:Rr});try{ft();var Qi=Ai(_n,Ie,Ft,vt,Pa,Mr,wn,Er.name,qr?null:R);qr?We(Qi):_n._isRunning?(ca.addTask(Qi),We(Qi)):_n._error?ca.abort(_n._error):We(Qi)}finally{qe()}}function Ms(vn,wn){if(vn.isRunning()){var We={task:Pi,cb:wn};wn.cancel=function(){return G(vn.joiners,We)},vn.joiners.push(We)}else vn.isAborted()?wn(vn.error(),!0):wn(vn.result())}function Uo(vn,wn){vn===m&&(vn=Pi),vn.isRunning()&&vn.cancel(),wn()}function eo(vn,wn,We){var jt=Object.keys(vn);if(!jt.length)return We(N.array(vn)?[]:{});var Er=0,Rr=void 0,qr={},_n={};function Qi(){Er===jt.length&&(Rr=!0,We(N.array(vn)?H.from(jn({},qr,{length:jt.length})):qr))}jt.forEach(function(ui){var Eo=function(ns,Qa){Rr||(Qa||$e(ns)||ns===Vr||ns===ii?(We.cancel(),We(ns,Qa)):(qr[ui]=ns,Er++,Qi()))};Eo.cancel=R,_n[ui]=Eo}),We.cancel=function(){Rr||(Rr=!0,jt.forEach(function(ui){return _n[ui].cancel()}))},jt.forEach(function(ui){return ya(vn[ui],wn,ui,_n[ui])})}function Ga(vn,wn,We){var jt=void 0,Er=Object.keys(vn),Rr={};Er.forEach(function(qr){var _n=function(ui,Eo){if(!jt){if(Eo)We.cancel(),We(ui,!0);else if(!$e(ui)&&ui!==Vr&&ui!==ii){var fa;We.cancel(),jt=!0;var ns=(fa={},fa[qr]=ui,fa);We(N.array(vn)?[].slice.call(jn({},ns,{length:Er.length})):ns)}}};_n.cancel=R,Rr[qr]=_n}),We.cancel=function(){jt||(jt=!0,Er.forEach(function(qr){return Rr[qr].cancel()}))},Er.forEach(function(qr){jt||ya(vn[qr],wn,qr,Rr[qr])})}function us(vn,wn){var We=vn.selector,jt=vn.args;try{var Er=We.apply(void 0,[vt()].concat(jt));wn(Er)}catch(Rr){wn(Rr,!0)}}function co(vn,wn){var We=vn.pattern,jt=vn.buffer,Er=$n(We);Er.pattern=We,wn(or(Ie,jt||ar.fixed(),Er))}function Va(vn,wn){wn(!!pi.isCancelled)}function Vt(vn,wn){vn.flush(wn)}function kt(vn,wn){wn(Pa[vn])}function Ia(vn,wn){K.assign(Pa,vn),wn()}function Ws(vn,wn,We,jt){var Er,Rr,qr;return We._deferredEnd=null,Rr={},Rr[u]=!0,Rr.id=vn,Rr.name=wn,Er="done",qr={},qr[Er]=qr[Er]||{},qr[Er].get=function(){if(We._deferredEnd)return We._deferredEnd.promise;var _n=ae();return We._deferredEnd=_n,We._isRunning||(We._error?_n.reject(We._error):_n.resolve(We._result)),_n.promise},Rr.cont=jt,Rr.joiners=[],Rr.cancel=Xs,Rr.isRunning=function(){return We._isRunning},Rr.isCancelled=function(){return We._isCancelled},Rr.isAborted=function(){return We._isAborted},Rr.result=function(){return We._result},Rr.error=function(){return We._error},Rr.setContext=function(Qi){I(Qi,N.object,me("task",Qi)),K.assign(Pa,Qi)},Yn(Rr,qr),Rr}}var ji="runSaga(storeInterface, saga, ...args)",ha=ji+": saga argument must be a Generator function!";function ea(Xe,Ie){for(var Ft=arguments.length,vt=Array(Ft>2?Ft-2:0),Sr=2;Sr=0||Object.prototype.hasOwnProperty.call(Xe,vt)&&(Ft[vt]=Xe[vt]);return Ft}function mi(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=Xe.context,Ft=Ie===void 0?{}:Ie,vt=Yi(Xe,["context"]),Sr=vt.sagaMonitor,Mr=vt.logger,Kr=vt.onError;if(N.func(vt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Mr&&!N.func(Mr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Kr&&!N.func(Kr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(vt.emitter&&!N.func(vt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function xn(cn){var Sn=cn.getState,ri=cn.dispatch,ni=He();return ni.emit=(vt.emitter||A)(ni.emit),xn.run=ea.bind(null,{context:Ft,subscribe:ni.subscribe,dispatch:ri,getState:Sn,sagaMonitor:Sr,logger:Mr,onError:Kr}),function(yi){return function(Li){Sr&&Sr.actionDispatched&&Sr.actionDispatched(Li);var na=yi(Li);return ni.emit(Li),na}}}return xn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},xn.setContext=function(cn){I(cn,N.object,me("sagaMiddleware",cn)),K.assign(Ft,cn)},xn}var Zi={done:!0,value:void 0},Ta={};function xt(Xe){return N.channel(Xe)?"channel":Array.isArray(Xe)?String(Xe.map(function(Ie){return String(Ie)})):String(Xe)}function xa(Xe,Ie){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",vt=void 0,Sr=Ie;function Mr(Kr,xn){if(Sr===Ta)return Zi;if(xn)throw Sr=Ta,xn;vt&&vt(Kr);var cn=Xe[Sr](),Sn=cn[0],ri=cn[1],ni=cn[2];return Sr=Sn,vt=ni,Sr===Ta?Zi:ri}return q(Mr,function(Kr){return Mr(null,Kr)},Ft,!0)}function Wi(Xe,Ie){for(var Ft=arguments.length,vt=Array(Ft>2?Ft-2:0),Sr=2;Sr2?Ft-2:0),Sr=2;Sr3?vt-3:0),Mr=3;Mr2?Ft-2:0),Sr=2;Sr2?Ft-2:0),Sr=2;Sr3?vt-3:0),Mr=3;Mr-1&&(Ie[Ft]=Xe[Ft]),Ie},{})}var as=function(){function Xe(){(0,Xn.Z)(this,Xe),this._handleActions=null,this.hooks=zs.reduce(function(Ie,Ft){return Ie[Ft]=[],Ie},{})}return(0,Ke.Z)(Xe,[{key:"use",value:function(Ft){pr()(en()(Ft),"plugin.use: plugin should be plain object");var vt=this.hooks;for(var Sr in Ft)Object.prototype.hasOwnProperty.call(Ft,Sr)&&(pr()(vt[Sr],"plugin.use: unknown plugin property: ".concat(Sr)),Sr==="_handleActions"?this._handleActions=Ft[Sr]:Sr==="extraEnhancers"?vt[Sr]=Ft[Sr]:vt[Sr].push(Ft[Sr]))}},{key:"apply",value:function(Ft,vt){var Sr=this.hooks,Mr=["onError","onHmr"];pr()(Mr.indexOf(Ft)>-1,"plugin.apply: hook ".concat(Ft," cannot be applied"));var Kr=Sr[Ft];return function(){if(Kr.length){var xn=!0,cn=!1,Sn=void 0;try{for(var ri=Kr[Symbol.iterator](),ni;!(xn=(ni=ri.next()).done);xn=!0){var yi=ni.value;yi.apply(void 0,arguments)}}catch(Li){cn=!0,Sn=Li}finally{try{!xn&&ri.return!=null&&ri.return()}finally{if(cn)throw Sn}}}else vt&&vt.apply(void 0,arguments)}}},{key:"get",value:function(Ft){var vt=this.hooks;return pr()(Ft in vt,"plugin.get: hook ".concat(Ft," cannot be got")),Ft==="extraReducers"?oo(vt[Ft]):Ft==="onReducer"?Aa(vt[Ft]):vt[Ft]}}]),Xe}();function oo(Xe){var Ie={},Ft=!0,vt=!1,Sr=void 0;try{for(var Mr=Xe[Symbol.iterator](),Kr;!(Ft=(Kr=Mr.next()).done);Ft=!0){var xn=Kr.value;Ie=(0,l.Z)({},Ie,xn)}}catch(cn){vt=!0,Sr=cn}finally{try{!Ft&&Mr.return!=null&&Mr.return()}finally{if(vt)throw Sr}}return Ie}function Aa(Xe){return function(Ie){var Ft=!0,vt=!1,Sr=void 0;try{for(var Mr=Xe[Symbol.iterator](),Kr;!(Ft=(Kr=Mr.next()).done);Ft=!0){var xn=Kr.value;Ie=xn(Ie)}}catch(cn){vt=!0,Sr=cn}finally{try{!Ft&&Mr.return!=null&&Mr.return()}finally{if(vt)throw Sr}}return Ie}}function Ps(Xe){var Ie=Xe.reducers,Ft=Xe.initialState,vt=Xe.plugin,Sr=Xe.sagaMiddleware,Mr=Xe.promiseMiddleware,Kr=Xe.createOpts.setupMiddlewares,xn=Kr===void 0?Si:Kr,cn=vt.get("extraEnhancers");pr()(Wr(cn),"[app.start] extraEnhancers should be array, but got ".concat((0,Tr.Z)(cn)));var Sn=vt.get("onAction"),ri=xn([Mr,Sr].concat((0,Nr.Z)(_e()(Sn)))),ni=c.qC,yi=[c.md.apply(void 0,(0,Nr.Z)(ri))].concat((0,Nr.Z)(cn));return(0,c.MT)(Ie,Ft,ni.apply(void 0,(0,Nr.Z)(yi)))}function ps(Xe,Ie){var Ft="".concat(Ie.namespace).concat(wa).concat(Xe),vt=Ft.replace(/\/@@[^/]+?$/,""),Sr=Array.isArray(Ie.reducers)?Ie.reducers[0][vt]:Ie.reducers&&Ie.reducers[vt];return Sr||Ie.effects&&Ie.effects[vt]?Ft:Xe}function po(Xe,Ie,Ft,vt){var Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return Gr().mark(function Mr(){var Kr;return Gr().wrap(function(cn){for(;;)switch(cn.prev=cn.next){case 0:cn.t0=Gr().keys(Xe);case 1:if((cn.t1=cn.t0()).done){cn.next=7;break}if(Kr=cn.t1.value,!Object.prototype.hasOwnProperty.call(Xe,Kr)){cn.next=5;break}return cn.delegateYield(Gr().mark(function Sn(){var ri,ni;return Gr().wrap(function(Li){for(;;)switch(Li.prev=Li.next){case 0:return ri=qi(Kr,Xe[Kr],Ie,Ft,vt,Sr),Li.next=3,Jt(ri);case 3:return ni=Li.sent,Li.next=6,Jt(Gr().mark(function na(){return Gr().wrap(function(Ti){for(;;)switch(Ti.prev=Ti.next){case 0:return Ti.next=2,xe("".concat(Ie.namespace,"/@@CANCEL_EFFECTS"));case 2:return Ti.next=4,wr(ni);case 4:case"end":return Ti.stop()}},na)}));case 6:case"end":return Li.stop()}},Sn)})(),"t2",5);case 5:cn.next=1;break;case 7:case"end":return cn.stop()}},Mr)})}function qi(Xe,Ie,Ft,vt,Sr,Mr){var Kr=Gr().mark(na),xn=Ie,cn="takeEvery",Sn,ri;if(Array.isArray(Ie)){var ni=(0,nr.Z)(Ie,1);xn=ni[0];var yi=Ie[1];yi&&yi.type&&(cn=yi.type,cn==="throttle"&&(pr()(yi.ms,"app.start: opts.ms should be defined if type is throttle"),Sn=yi.ms),cn==="poll"&&(pr()(yi.delay,"app.start: opts.delay should be defined if type is poll"),ri=yi.delay)),pr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(cn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Li(){}function na(){var Ti,Pa,Pi,pi,ca,wo,Xs,ia,fs,ya=arguments;return Gr().wrap(function(La){for(;;)switch(La.prev=La.next){case 0:for(Ti=ya.length,Pa=new Array(Ti),Pi=0;Pi0?Pa[0]:{},ca=pi.__dva_resolve,wo=ca===void 0?Li:ca,Xs=pi.__dva_reject,ia=Xs===void 0?Li:Xs,La.prev=2,La.next=5,It({type:"".concat(Xe).concat(wa,"@@start")});case 5:return La.next=7,xn.apply(void 0,(0,Nr.Z)(Pa.concat(to(Ft,Mr))));case 7:return fs=La.sent,La.next=10,It({type:"".concat(Xe).concat(wa,"@@end")});case 10:wo(fs),La.next=17;break;case 13:La.prev=13,La.t0=La.catch(2),vt(La.t0,{key:Xe,effectArgs:Pa}),La.t0._dontReject||ia(La.t0);case 17:case"end":return La.stop()}},Kr,null,[[2,13]])}var Hi=Zo(Sr,na,Ft,Xe);switch(cn){case"watcher":return na;case"takeLatest":return Gr().mark(function Ti(){return Gr().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,Je(Xe,Hi);case 2:case"end":return Pi.stop()}},Ti)});case"throttle":return Gr().mark(function Ti(){return Gr().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,Ct(Sn,Xe,Hi);case 2:case"end":return Pi.stop()}},Ti)});case"poll":return Gr().mark(function Ti(){var Pa,Pi,pi,ca,wo,Xs,ia;return Gr().wrap(function(ya){for(;;)switch(ya.prev=ya.next){case 0:pi=function(La,rs){var Ls;return Gr().wrap(function(xs){for(;;)switch(xs.prev=xs.next){case 0:Ls=La.call;case 1:return xs.next=4,Ls(Hi,rs);case 4:return xs.next=6,Ls(Pi,ri);case 6:xs.next=1;break;case 8:case"end":return xs.stop()}},Pa)},Pi=function(La){return new Promise(function(rs){return setTimeout(rs,La)})},Pa=Gr().mark(pi),ca=Jr,wo=xe,Xs=Or;case 4:return ya.next=7,wo("".concat(Xe,"-start"));case 7:return ia=ya.sent,ya.next=10,Xs([ca(pi,r,ia),wo("".concat(Xe,"-stop"))]);case 10:ya.next=4;break;case 12:case"end":return ya.stop()}},Ti)});default:return Gr().mark(function Ti(){return Gr().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,nt(Xe,Hi);case 2:case"end":return Pi.stop()}},Ti)})}}function to(Xe,Ie){function Ft(Kr,xn){pr()(Kr,"dispatch: action should be a plain Object with type");var cn=Ie.namespacePrefixWarning,Sn=cn===void 0?!0:cn;Sn&&Fn()(Kr.indexOf("".concat(Xe.namespace).concat(wa))!==0,"[".concat(xn,"] ").concat(Kr," should not be prefixed with namespace ").concat(Xe.namespace))}function vt(Kr){var xn=Kr.type;return Ft(xn,"sagaEffects.put"),It((0,l.Z)({},Kr,{type:ps(xn,Xe)}))}function Sr(Kr){var xn=Kr.type;return Ft(xn,"sagaEffects.put.resolve"),It.resolve((0,l.Z)({},Kr,{type:ps(xn,Xe)}))}vt.resolve=Sr;function Mr(Kr){return typeof Kr=="string"?(Ft(Kr,"sagaEffects.take"),xe(ps(Kr,Xe))):Array.isArray(Kr)?xe(Kr.map(function(xn){return typeof xn=="string"?(Ft(xn,"sagaEffects.take"),ps(xn,Xe)):xn})):xe(Kr)}return(0,l.Z)({},r,{put:vt,take:Mr})}function Zo(Xe,Ie,Ft,vt){var Sr=!0,Mr=!1,Kr=void 0;try{for(var xn=Xe[Symbol.iterator](),cn;!(Sr=(cn=xn.next()).done);Sr=!0){var Sn=cn.value;Ie=Sn(Ie,r,Ft,vt)}}catch(ri){Mr=!0,Kr=ri}finally{try{!Sr&&xn.return!=null&&xn.return()}finally{if(Mr)throw Kr}}return Ie}function Na(Xe){return Xe}function Zs(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Na;return function(Ft,vt){var Sr=vt.type;return pr()(Sr,"dispatch: action should be a plain Object with type"),Xe===Sr?Ie(Ft,vt):Ft}}function di(){for(var Xe=arguments.length,Ie=new Array(Xe),Ft=0;Ft0&&arguments[0]!==void 0?arguments[0]:Ie,Mr=arguments.length>1?arguments[1]:void 0;return vt(Sr,Mr)}}function Rn(Xe,Ie,Ft){return Array.isArray(Xe)?Xe[1]((Ft||ro)(Xe[0],Ie)):(Ft||ro)(Xe||{},Ie)}function ss(Xe){return function(){return function(Ft){return function(vt){var Sr=vt.type;return Ie(Sr)?new Promise(function(Mr,Kr){Ft((0,l.Z)({__dva_resolve:Mr,__dva_reject:Kr},vt))}):Ft(vt)}}};function Ie(Ft){if(!Ft||typeof Ft!="string")return!1;var vt=Ft.split(wa),Sr=(0,nr.Z)(vt,1),Mr=Sr[0],Kr=Xe._models.filter(function(xn){return xn.namespace===Mr})[0];return!!(Kr&&Kr.effects&&Kr.effects[Ft])}}function Is(Xe,Ie){return function(Ft){var vt=Ft.type;return pr()(vt,"dispatch: action should be a plain Object with type"),Fn()(vt.indexOf("".concat(Ie.namespace).concat(wa))!==0,"dispatch: ".concat(vt," should not be prefixed with namespace ").concat(Ie.namespace)),Xe((0,l.Z)({},Ft,{type:ps(vt,Ie)}))}}function Os(Xe,Ie,Ft,vt){var Sr=[],Mr=[];for(var Kr in Xe)if(Object.prototype.hasOwnProperty.call(Xe,Kr)){var xn=Xe[Kr],cn=xn({dispatch:Is(Ft._store.dispatch,Ie),history:Ft._history},vt);hn(cn)?Sr.push(cn):Mr.push(Kr)}return{funcs:Sr,nonFuncs:Mr}}function Xi(Xe,Ie){if(Xe[Ie]){var Ft=Xe[Ie],vt=Ft.funcs,Sr=Ft.nonFuncs;Fn()(Sr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(Sr.join(", ")));var Mr=!0,Kr=!1,xn=void 0;try{for(var cn=vt[Symbol.iterator](),Sn;!(Mr=(Sn=cn.next()).done);Mr=!0){var ri=Sn.value;ri()}}catch(ni){Kr=!0,xn=ni}finally{try{!Mr&&cn.return!=null&&cn.return()}finally{if(Kr)throw xn}}delete Xe[Ie]}}var Ka=un,Ni=yn,Ds={namespace:"@@dva",state:0,reducers:{UPDATE:function(Ie){return Ie+1}}};function xo(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ft=Ie.initialReducer,vt=Ie.setupApp,Sr=vt===void 0?Ka:vt,Mr=new as;Mr.use(Ns(Xe));var Kr={_models:[Ba((0,l.Z)({},Ds))],_store:null,_plugin:Mr,use:Mr.use.bind(Mr),model:xn,start:ni};return Kr;function xn(yi){var Li=Ba((0,l.Z)({},yi));return Kr._models.push(Li),Li}function cn(yi,Li,na,Hi){Hi=xn(Hi);var Ti=Kr._store;Ti.asyncReducers[Hi.namespace]=Rn(Hi.reducers,Hi.state,Mr._handleActions),Ti.replaceReducer(yi()),Hi.effects&&Ti.runSaga(Kr._getSaga(Hi.effects,Hi,Li,Mr.get("onEffect"),Xe)),Hi.subscriptions&&(na[Hi.namespace]=Os(Hi.subscriptions,Hi,Kr,Li))}function Sn(yi,Li,na,Hi){var Ti=Kr._store;delete Ti.asyncReducers[Hi],delete Li[Hi],Ti.replaceReducer(yi()),Ti.dispatch({type:"@@dva/UPDATE"}),Ti.dispatch({type:"".concat(Hi,"/@@CANCEL_EFFECTS")}),Xi(na,Hi),Kr._models=Kr._models.filter(function(Pa){return Pa.namespace!==Hi})}function ri(yi,Li,na,Hi,Ti){var Pa=Kr._store,Pi=Ti.namespace,pi=Ni(Kr._models,function(ca){return ca.namespace===Pi});~pi&&(Pa.dispatch({type:"".concat(Pi,"/@@CANCEL_EFFECTS")}),delete Pa.asyncReducers[Pi],delete Li[Pi],Xi(na,Pi),Kr._models.splice(pi,1)),Kr.model(Ti),Pa.dispatch({type:"@@dva/UPDATE"})}function ni(){var yi=function(Ia,Ws){Ia&&(typeof Ia=="string"&&(Ia=new Error(Ia)),Ia.preventDefault=function(){Ia._dontReject=!0},Mr.apply("onError",function(vn){throw new Error(vn.stack||vn)})(Ia,Kr._store.dispatch,Ws))},Li=lt(),na=ss(Kr);Kr._getSaga=po.bind(null);var Hi=[],Ti=(0,l.Z)({},Ft),Pa=!0,Pi=!1,pi=void 0;try{for(var ca=Kr._models[Symbol.iterator](),wo;!(Pa=(wo=ca.next()).done);Pa=!0){var Xs=wo.value;Ti[Xs.namespace]=Rn(Xs.reducers,Xs.state,Mr._handleActions),Xs.effects&&Hi.push(Kr._getSaga(Xs.effects,Xs,yi,Mr.get("onEffect"),Xe))}}catch(kt){Pi=!0,pi=kt}finally{try{!Pa&&ca.return!=null&&ca.return()}finally{if(Pi)throw pi}}var ia=Mr.get("onReducer"),fs=Mr.get("extraReducers");pr()(Object.keys(fs).every(function(kt){return!(kt in Ti)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Ti).join(", "))),Kr._store=Ps({reducers:Vt(),initialState:Xe.initialState||{},plugin:Mr,createOpts:Ie,sagaMiddleware:Li,promiseMiddleware:na});var ya=Kr._store;ya.runSaga=Li.run,ya.asyncReducers={};var vs=Mr.get("onStateChange"),La=!0,rs=!1,Ls=void 0;try{for(var ao=function(){var Ia=pa.value;ya.subscribe(function(){Ia(ya.getState())})},xs=vs[Symbol.iterator](),pa;!(La=(pa=xs.next()).done);La=!0)ao()}catch(kt){rs=!0,Ls=kt}finally{try{!La&&xs.return!=null&&xs.return()}finally{if(rs)throw Ls}}Hi.forEach(Li.run),Sr(Kr);var Ms={},jo=!0,Js=!1,Ga=void 0;try{for(var us=this._models[Symbol.iterator](),co;!(jo=(co=us.next()).done);jo=!0){var Va=co.value;Va.subscriptions&&(Ms[Va.namespace]=Os(Va.subscriptions,Va,Kr,yi))}}catch(kt){Js=!0,Ga=kt}finally{try{!jo&&us.return!=null&&us.return()}finally{if(Js)throw Ga}}Kr.model=cn.bind(Kr,Vt,yi,Ms),Kr.unmodel=Sn.bind(Kr,Vt,Ti,Ms),Kr.replaceModel=ri.bind(Kr,Vt,Ti,Ms,yi);function Vt(){return ia((0,c.UY)((0,l.Z)({},Ti,fs,Kr._store?Kr._store.asyncReducers:{})))}}}var Wo=e(44718),Xo=e(56805),mu=e(4676);function vu(Xe){Xe()}let go=vu;const Ho=Xe=>go=Xe,Oo=()=>go,nu=Symbol.for("react-redux-context"),Qo=typeof globalThis!="undefined"?globalThis:{};function hi(){var Xe;if(!i.createContext)return{};const Ie=(Xe=Qo[nu])!=null?Xe:Qo[nu]=new Map;let Ft=Ie.get(i.createContext);return Ft||(Ft=i.createContext(null),Ie.set(i.createContext,Ft)),Ft}const gi=hi();var Ja=null;function ls(Xe=gi){return function(){return(0,i.useContext)(Xe)}}const es=ls(),Ha=()=>{throw new Error("uSES not initialized!")};let ms=Ha;const qo=Xe=>{ms=Xe},ks=(Xe,Ie)=>Xe===Ie;function Mo(Xe=gi){const Ie=Xe===gi?es:ls(Xe);return function(vt,Sr={}){const{equalityFn:Mr=ks,stabilityCheck:Kr=void 0,noopCheck:xn=void 0}=typeof Sr=="function"?{equalityFn:Sr}:Sr,{store:cn,subscription:Sn,getServerState:ri,stabilityCheck:ni,noopCheck:yi}=Ie(),Li=(0,i.useRef)(!0),na=(0,i.useCallback)({[vt.name](Ti){return vt(Ti)}}[vt.name],[vt,ni,Kr]),Hi=ms(Sn.addNestedSub,cn.getState,ri||cn.getState,na,Mr);return(0,i.useDebugValue)(Hi),Hi}}const wu=Mo();var Iu=e(54476),rl=e(85377),dl=e(94266),Fo=e.n(dl),uo=e(23265);const Go=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Gu(Xe,Ie,Ft,vt,{areStatesEqual:Sr,areOwnPropsEqual:Mr,areStatePropsEqual:Kr}){let xn=!1,cn,Sn,ri,ni,yi;function Li(Pi,pi){return cn=Pi,Sn=pi,ri=Xe(cn,Sn),ni=Ie(vt,Sn),yi=Ft(ri,ni,Sn),xn=!0,yi}function na(){return ri=Xe(cn,Sn),Ie.dependsOnOwnProps&&(ni=Ie(vt,Sn)),yi=Ft(ri,ni,Sn),yi}function Hi(){return Xe.dependsOnOwnProps&&(ri=Xe(cn,Sn)),Ie.dependsOnOwnProps&&(ni=Ie(vt,Sn)),yi=Ft(ri,ni,Sn),yi}function Ti(){const Pi=Xe(cn,Sn),pi=!Kr(Pi,ri);return ri=Pi,pi&&(yi=Ft(ri,ni,Sn)),yi}function Pa(Pi,pi){const ca=!Mr(pi,Sn),wo=!Sr(Pi,cn,pi,Sn);return cn=Pi,Sn=pi,ca&&wo?na():ca?Hi():wo?Ti():yi}return function(pi,ca){return xn?Pa(pi,ca):Li(pi,ca)}}function Bo(Xe,Ie){let{initMapStateToProps:Ft,initMapDispatchToProps:vt,initMergeProps:Sr}=Ie,Mr=(0,rl.Z)(Ie,Go);const Kr=Ft(Xe,Mr),xn=vt(Xe,Mr),cn=Sr(Xe,Mr);return Gu(Kr,xn,cn,Xe,Mr)}function $o(Xe,Ie){const Ft={};for(const vt in Xe){const Sr=Xe[vt];typeof Sr=="function"&&(Ft[vt]=(...Mr)=>Ie(Sr(...Mr)))}return Ft}function Uu(Xe){return function(Ft){const vt=Xe(Ft);function Sr(){return vt}return Sr.dependsOnOwnProps=!1,Sr}}function iu(Xe){return Xe.dependsOnOwnProps?!!Xe.dependsOnOwnProps:Xe.length!==1}function gu(Xe,Ie){return function(vt,{displayName:Sr}){const Mr=function(xn,cn){return Mr.dependsOnOwnProps?Mr.mapToProps(xn,cn):Mr.mapToProps(xn,void 0)};return Mr.dependsOnOwnProps=!0,Mr.mapToProps=function(xn,cn){Mr.mapToProps=Xe,Mr.dependsOnOwnProps=iu(Xe);let Sn=Mr(xn,cn);return typeof Sn=="function"&&(Mr.mapToProps=Sn,Mr.dependsOnOwnProps=iu(Sn),Sn=Mr(xn,cn)),Sn},Mr}}function No(Xe,Ie){return(Ft,vt)=>{throw new Error(`Invalid value of type ${typeof Xe} for ${Ie} argument when connecting component ${vt.wrappedComponentName}.`)}}function _u(Xe){return Xe&&typeof Xe=="object"?Uu(Ie=>$o(Xe,Ie)):Xe?typeof Xe=="function"?gu(Xe,"mapDispatchToProps"):No(Xe,"mapDispatchToProps"):Uu(Ie=>({dispatch:Ie}))}function Ko(Xe){return Xe?typeof Xe=="function"?gu(Xe,"mapStateToProps"):No(Xe,"mapStateToProps"):Uu(()=>({}))}function rr(Xe,Ie,Ft){return(0,Iu.Z)({},Ft,Xe,Ie)}function _r(Xe){return function(Ft,{displayName:vt,areMergedPropsEqual:Sr}){let Mr=!1,Kr;return function(cn,Sn,ri){const ni=Xe(cn,Sn,ri);return Mr?Sr(ni,Kr)||(Kr=ni):(Mr=!0,Kr=ni),Kr}}}function dr(Xe){return Xe?typeof Xe=="function"?_r(Xe):No(Xe,"mergeProps"):()=>rr}function gr(){const Xe=Oo();let Ie=null,Ft=null;return{clear(){Ie=null,Ft=null},notify(){Xe(()=>{let vt=Ie;for(;vt;)vt.callback(),vt=vt.next})},get(){let vt=[],Sr=Ie;for(;Sr;)vt.push(Sr),Sr=Sr.next;return vt},subscribe(vt){let Sr=!0,Mr=Ft={callback:vt,next:null,prev:Ft};return Mr.prev?Mr.prev.next=Mr:Ie=Mr,function(){!Sr||Ie===null||(Sr=!1,Mr.next?Mr.next.prev=Mr.prev:Ft=Mr.prev,Mr.prev?Mr.prev.next=Mr.next:Ie=Mr.next)}}}}const Cr={notify(){},get:()=>[]};function bn(Xe,Ie){let Ft,vt=Cr,Sr=0,Mr=!1;function Kr(Hi){ri();const Ti=vt.subscribe(Hi);let Pa=!1;return()=>{Pa||(Pa=!0,Ti(),ni())}}function xn(){vt.notify()}function cn(){na.onStateChange&&na.onStateChange()}function Sn(){return Mr}function ri(){Sr++,Ft||(Ft=Ie?Ie.addNestedSub(cn):Xe.subscribe(cn),vt=gr())}function ni(){Sr--,Ft&&Sr===0&&(Ft(),Ft=void 0,vt.clear(),vt=Cr)}function yi(){Mr||(Mr=!0,ri())}function Li(){Mr&&(Mr=!1,ni())}const na={addNestedSub:Kr,notifyNestedSubs:xn,handleChangeWrapper:cn,isSubscribed:Sn,trySubscribe:yi,tryUnsubscribe:Li,getListeners:()=>vt};return na}const Ln=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Wn(Xe,Ie){return Xe===Ie?Xe!==0||Ie!==0||1/Xe===1/Ie:Xe!==Xe&&Ie!==Ie}function ai(Xe,Ie){if(Wn(Xe,Ie))return!0;if(typeof Xe!="object"||Xe===null||typeof Ie!="object"||Ie===null)return!1;const Ft=Object.keys(Xe),vt=Object.keys(Ie);if(Ft.length!==vt.length)return!1;for(let Sr=0;Sr{mr=Xe},Br=null,Cn=[null,null],Pn=Xe=>{try{return JSON.stringify(Xe)}catch(Ie){return String(Xe)}};function oi(Xe,Ie,Ft){Ln(()=>Xe(...Ie),Ft)}function Ei(Xe,Ie,Ft,vt,Sr,Mr){Xe.current=vt,Ft.current=!1,Sr.current&&(Sr.current=null,Mr())}function Gn(Xe,Ie,Ft,vt,Sr,Mr,Kr,xn,cn,Sn,ri){if(!Xe)return()=>{};let ni=!1,yi=null;const Li=()=>{if(ni||!xn.current)return;const Hi=Ie.getState();let Ti,Pa;try{Ti=vt(Hi,Sr.current)}catch(Pi){Pa=Pi,yi=Pi}Pa||(yi=null),Ti===Mr.current?Kr.current||Sn():(Mr.current=Ti,cn.current=Ti,Kr.current=!0,ri())};return Ft.onStateChange=Li,Ft.trySubscribe(),Li(),()=>{if(ni=!0,Ft.tryUnsubscribe(),Ft.onStateChange=null,yi)throw yi}}const ta=()=>Br;function ra(Xe,Ie){return Xe===Ie}let _i=!1;function wt(Xe,Ie,Ft,{pure:vt,areStatesEqual:Sr=ra,areOwnPropsEqual:Mr=ai,areStatePropsEqual:Kr=ai,areMergedPropsEqual:xn=ai,forwardRef:cn=!1,context:Sn=gi}={}){const ri=Sn,ni=Ko(Xe),yi=_u(Ie),Li=dr(Ft),na=!!Xe;return Ti=>{const Pa=Ti.displayName||Ti.name||"Component",Pi=`Connect(${Pa})`,pi={shouldHandleStateChanges:na,displayName:Pi,wrappedComponentName:Pa,WrappedComponent:Ti,initMapStateToProps:ni,initMapDispatchToProps:yi,initMergeProps:Li,areStatesEqual:Sr,areStatePropsEqual:Kr,areOwnPropsEqual:Mr,areMergedPropsEqual:xn};function ca(ia){const[fs,ya,vs]=i.useMemo(()=>{const{reactReduxForwardedRef:Rr}=ia,qr=(0,rl.Z)(ia,qn);return[ia.context,Rr,qr]},[ia]),La=i.useMemo(()=>fs&&fs.Consumer&&(0,uo.isContextConsumer)(i.createElement(fs.Consumer,null))?fs:ri,[fs,ri]),rs=i.useContext(La),Ls=!!ia.store&&!!ia.store.getState&&!!ia.store.dispatch,ao=!!rs&&!!rs.store,xs=Ls?ia.store:rs.store,pa=ao?rs.getServerState:xs.getState,Ms=i.useMemo(()=>Bo(xs.dispatch,pi),[xs]),[jo,Js]=i.useMemo(()=>{if(!na)return Cn;const Rr=bn(xs,Ls?void 0:rs.subscription),qr=Rr.notifyNestedSubs.bind(Rr);return[Rr,qr]},[xs,Ls,rs]),Ga=i.useMemo(()=>Ls?rs:(0,Iu.Z)({},rs,{subscription:jo}),[Ls,rs,jo]),us=i.useRef(),co=i.useRef(vs),Va=i.useRef(),Vt=i.useRef(!1),kt=i.useRef(!1),Ia=i.useRef(!1),Ws=i.useRef();Ln(()=>(Ia.current=!0,()=>{Ia.current=!1}),[]);const vn=i.useMemo(()=>()=>Va.current&&vs===co.current?Va.current:Ms(xs.getState(),vs),[xs,vs]),wn=i.useMemo(()=>qr=>jo?Gn(na,xs,jo,Ms,co,us,Vt,Ia,Va,Js,qr):()=>{},[jo]);oi(Ei,[co,us,Vt,vs,Va,Js]);let We;try{We=mr(wn,vn,pa?()=>Ms(pa(),vs):vn)}catch(Rr){throw Ws.current&&(Rr.message+=` +Therefore yield `+Ie+" will return task descriptor to your saga and execute next lines of code."},ei=null,zn=null,we=null;function nt(Xe,Ie){for(var Ft=arguments.length,vt=Array(Ft>2?Ft-2:0),Sr=2;Sr2?Ft-2:0),Sr=2;Sr3?vt-3:0),Mr=3;Mr-1&&(Ie[Ft]=Xe[Ft]),Ie},{})}var as=function(){function Xe(){(0,Xn.Z)(this,Xe),this._handleActions=null,this.hooks=zs.reduce(function(Ie,Ft){return Ie[Ft]=[],Ie},{})}return(0,Ke.Z)(Xe,[{key:"use",value:function(Ft){pr()(en()(Ft),"plugin.use: plugin should be plain object");var vt=this.hooks;for(var Sr in Ft)Object.prototype.hasOwnProperty.call(Ft,Sr)&&(pr()(vt[Sr],"plugin.use: unknown plugin property: ".concat(Sr)),Sr==="_handleActions"?this._handleActions=Ft[Sr]:Sr==="extraEnhancers"?vt[Sr]=Ft[Sr]:vt[Sr].push(Ft[Sr]))}},{key:"apply",value:function(Ft,vt){var Sr=this.hooks,Mr=["onError","onHmr"];pr()(Mr.indexOf(Ft)>-1,"plugin.apply: hook ".concat(Ft," cannot be applied"));var Kr=Sr[Ft];return function(){if(Kr.length){var xn=!0,cn=!1,Sn=void 0;try{for(var ri=Kr[Symbol.iterator](),ni;!(xn=(ni=ri.next()).done);xn=!0){var yi=ni.value;yi.apply(void 0,arguments)}}catch(Li){cn=!0,Sn=Li}finally{try{!xn&&ri.return!=null&&ri.return()}finally{if(cn)throw Sn}}}else vt&&vt.apply(void 0,arguments)}}},{key:"get",value:function(Ft){var vt=this.hooks;return pr()(Ft in vt,"plugin.get: hook ".concat(Ft," cannot be got")),Ft==="extraReducers"?uo(vt[Ft]):Ft==="onReducer"?Aa(vt[Ft]):vt[Ft]}}]),Xe}();function uo(Xe){var Ie={},Ft=!0,vt=!1,Sr=void 0;try{for(var Mr=Xe[Symbol.iterator](),Kr;!(Ft=(Kr=Mr.next()).done);Ft=!0){var xn=Kr.value;Ie=(0,l.Z)({},Ie,xn)}}catch(cn){vt=!0,Sr=cn}finally{try{!Ft&&Mr.return!=null&&Mr.return()}finally{if(vt)throw Sr}}return Ie}function Aa(Xe){return function(Ie){var Ft=!0,vt=!1,Sr=void 0;try{for(var Mr=Xe[Symbol.iterator](),Kr;!(Ft=(Kr=Mr.next()).done);Ft=!0){var xn=Kr.value;Ie=xn(Ie)}}catch(cn){vt=!0,Sr=cn}finally{try{!Ft&&Mr.return!=null&&Mr.return()}finally{if(vt)throw Sr}}return Ie}}function Ps(Xe){var Ie=Xe.reducers,Ft=Xe.initialState,vt=Xe.plugin,Sr=Xe.sagaMiddleware,Mr=Xe.promiseMiddleware,Kr=Xe.createOpts.setupMiddlewares,xn=Kr===void 0?Si:Kr,cn=vt.get("extraEnhancers");pr()(Wr(cn),"[app.start] extraEnhancers should be array, but got ".concat((0,Tr.Z)(cn)));var Sn=vt.get("onAction"),ri=xn([Mr,Sr].concat((0,Nr.Z)(_e()(Sn)))),ni=c.qC,yi=[c.md.apply(void 0,(0,Nr.Z)(ri))].concat((0,Nr.Z)(cn));return(0,c.MT)(Ie,Ft,ni.apply(void 0,(0,Nr.Z)(yi)))}function ps(Xe,Ie){var Ft="".concat(Ie.namespace).concat(wa).concat(Xe),vt=Ft.replace(/\/@@[^/]+?$/,""),Sr=Array.isArray(Ie.reducers)?Ie.reducers[0][vt]:Ie.reducers&&Ie.reducers[vt];return Sr||Ie.effects&&Ie.effects[vt]?Ft:Xe}function po(Xe,Ie,Ft,vt){var Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return Gr().mark(function Mr(){var Kr;return Gr().wrap(function(cn){for(;;)switch(cn.prev=cn.next){case 0:cn.t0=Gr().keys(Xe);case 1:if((cn.t1=cn.t0()).done){cn.next=7;break}if(Kr=cn.t1.value,!Object.prototype.hasOwnProperty.call(Xe,Kr)){cn.next=5;break}return cn.delegateYield(Gr().mark(function Sn(){var ri,ni;return Gr().wrap(function(Li){for(;;)switch(Li.prev=Li.next){case 0:return ri=qi(Kr,Xe[Kr],Ie,Ft,vt,Sr),Li.next=3,Jt(ri);case 3:return ni=Li.sent,Li.next=6,Jt(Gr().mark(function na(){return Gr().wrap(function(Ti){for(;;)switch(Ti.prev=Ti.next){case 0:return Ti.next=2,xe("".concat(Ie.namespace,"/@@CANCEL_EFFECTS"));case 2:return Ti.next=4,wr(ni);case 4:case"end":return Ti.stop()}},na)}));case 6:case"end":return Li.stop()}},Sn)})(),"t2",5);case 5:cn.next=1;break;case 7:case"end":return cn.stop()}},Mr)})}function qi(Xe,Ie,Ft,vt,Sr,Mr){var Kr=Gr().mark(na),xn=Ie,cn="takeEvery",Sn,ri;if(Array.isArray(Ie)){var ni=(0,nr.Z)(Ie,1);xn=ni[0];var yi=Ie[1];yi&&yi.type&&(cn=yi.type,cn==="throttle"&&(pr()(yi.ms,"app.start: opts.ms should be defined if type is throttle"),Sn=yi.ms),cn==="poll"&&(pr()(yi.delay,"app.start: opts.delay should be defined if type is poll"),ri=yi.delay)),pr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(cn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Li(){}function na(){var Ti,Pa,Pi,pi,ca,wo,Xs,ia,fs,ya=arguments;return Gr().wrap(function(La){for(;;)switch(La.prev=La.next){case 0:for(Ti=ya.length,Pa=new Array(Ti),Pi=0;Pi0?Pa[0]:{},ca=pi.__dva_resolve,wo=ca===void 0?Li:ca,Xs=pi.__dva_reject,ia=Xs===void 0?Li:Xs,La.prev=2,La.next=5,It({type:"".concat(Xe).concat(wa,"@@start")});case 5:return La.next=7,xn.apply(void 0,(0,Nr.Z)(Pa.concat(ro(Ft,Mr))));case 7:return fs=La.sent,La.next=10,It({type:"".concat(Xe).concat(wa,"@@end")});case 10:wo(fs),La.next=17;break;case 13:La.prev=13,La.t0=La.catch(2),vt(La.t0,{key:Xe,effectArgs:Pa}),La.t0._dontReject||ia(La.t0);case 17:case"end":return La.stop()}},Kr,null,[[2,13]])}var Hi=Wo(Sr,na,Ft,Xe);switch(cn){case"watcher":return na;case"takeLatest":return Gr().mark(function Ti(){return Gr().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,Je(Xe,Hi);case 2:case"end":return Pi.stop()}},Ti)});case"throttle":return Gr().mark(function Ti(){return Gr().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,Ct(Sn,Xe,Hi);case 2:case"end":return Pi.stop()}},Ti)});case"poll":return Gr().mark(function Ti(){var Pa,Pi,pi,ca,wo,Xs,ia;return Gr().wrap(function(ya){for(;;)switch(ya.prev=ya.next){case 0:pi=function(La,rs){var Ls;return Gr().wrap(function(xs){for(;;)switch(xs.prev=xs.next){case 0:Ls=La.call;case 1:return xs.next=4,Ls(Hi,rs);case 4:return xs.next=6,Ls(Pi,ri);case 6:xs.next=1;break;case 8:case"end":return xs.stop()}},Pa)},Pi=function(La){return new Promise(function(rs){return setTimeout(rs,La)})},Pa=Gr().mark(pi),ca=Jr,wo=xe,Xs=Or;case 4:return ya.next=7,wo("".concat(Xe,"-start"));case 7:return ia=ya.sent,ya.next=10,Xs([ca(pi,r,ia),wo("".concat(Xe,"-stop"))]);case 10:ya.next=4;break;case 12:case"end":return ya.stop()}},Ti)});default:return Gr().mark(function Ti(){return Gr().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:return Pi.next=2,nt(Xe,Hi);case 2:case"end":return Pi.stop()}},Ti)})}}function ro(Xe,Ie){function Ft(Kr,xn){pr()(Kr,"dispatch: action should be a plain Object with type");var cn=Ie.namespacePrefixWarning,Sn=cn===void 0?!0:cn;Sn&&Fn()(Kr.indexOf("".concat(Xe.namespace).concat(wa))!==0,"[".concat(xn,"] ").concat(Kr," should not be prefixed with namespace ").concat(Xe.namespace))}function vt(Kr){var xn=Kr.type;return Ft(xn,"sagaEffects.put"),It((0,l.Z)({},Kr,{type:ps(xn,Xe)}))}function Sr(Kr){var xn=Kr.type;return Ft(xn,"sagaEffects.put.resolve"),It.resolve((0,l.Z)({},Kr,{type:ps(xn,Xe)}))}vt.resolve=Sr;function Mr(Kr){return typeof Kr=="string"?(Ft(Kr,"sagaEffects.take"),xe(ps(Kr,Xe))):Array.isArray(Kr)?xe(Kr.map(function(xn){return typeof xn=="string"?(Ft(xn,"sagaEffects.take"),ps(xn,Xe)):xn})):xe(Kr)}return(0,l.Z)({},r,{put:vt,take:Mr})}function Wo(Xe,Ie,Ft,vt){var Sr=!0,Mr=!1,Kr=void 0;try{for(var xn=Xe[Symbol.iterator](),cn;!(Sr=(cn=xn.next()).done);Sr=!0){var Sn=cn.value;Ie=Sn(Ie,r,Ft,vt)}}catch(ri){Mr=!0,Kr=ri}finally{try{!Sr&&xn.return!=null&&xn.return()}finally{if(Mr)throw Kr}}return Ie}function Na(Xe){return Xe}function Zs(Xe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Na;return function(Ft,vt){var Sr=vt.type;return pr()(Sr,"dispatch: action should be a plain Object with type"),Xe===Sr?Ie(Ft,vt):Ft}}function di(){for(var Xe=arguments.length,Ie=new Array(Xe),Ft=0;Ft0&&arguments[0]!==void 0?arguments[0]:Ie,Mr=arguments.length>1?arguments[1]:void 0;return vt(Sr,Mr)}}function Rn(Xe,Ie,Ft){return Array.isArray(Xe)?Xe[1]((Ft||no)(Xe[0],Ie)):(Ft||no)(Xe||{},Ie)}function ss(Xe){return function(){return function(Ft){return function(vt){var Sr=vt.type;return Ie(Sr)?new Promise(function(Mr,Kr){Ft((0,l.Z)({__dva_resolve:Mr,__dva_reject:Kr},vt))}):Ft(vt)}}};function Ie(Ft){if(!Ft||typeof Ft!="string")return!1;var vt=Ft.split(wa),Sr=(0,nr.Z)(vt,1),Mr=Sr[0],Kr=Xe._models.filter(function(xn){return xn.namespace===Mr})[0];return!!(Kr&&Kr.effects&&Kr.effects[Ft])}}function Is(Xe,Ie){return function(Ft){var vt=Ft.type;return pr()(vt,"dispatch: action should be a plain Object with type"),Fn()(vt.indexOf("".concat(Ie.namespace).concat(wa))!==0,"dispatch: ".concat(vt," should not be prefixed with namespace ").concat(Ie.namespace)),Xe((0,l.Z)({},Ft,{type:ps(vt,Ie)}))}}function Os(Xe,Ie,Ft,vt){var Sr=[],Mr=[];for(var Kr in Xe)if(Object.prototype.hasOwnProperty.call(Xe,Kr)){var xn=Xe[Kr],cn=xn({dispatch:Is(Ft._store.dispatch,Ie),history:Ft._history},vt);hn(cn)?Sr.push(cn):Mr.push(Kr)}return{funcs:Sr,nonFuncs:Mr}}function Xi(Xe,Ie){if(Xe[Ie]){var Ft=Xe[Ie],vt=Ft.funcs,Sr=Ft.nonFuncs;Fn()(Sr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(Sr.join(", ")));var Mr=!0,Kr=!1,xn=void 0;try{for(var cn=vt[Symbol.iterator](),Sn;!(Mr=(Sn=cn.next()).done);Mr=!0){var ri=Sn.value;ri()}}catch(ni){Kr=!0,xn=ni}finally{try{!Mr&&cn.return!=null&&cn.return()}finally{if(Kr)throw xn}}delete Xe[Ie]}}var Ka=un,Ni=yn,Ds={namespace:"@@dva",state:0,reducers:{UPDATE:function(Ie){return Ie+1}}};function xo(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ft=Ie.initialReducer,vt=Ie.setupApp,Sr=vt===void 0?Ka:vt,Mr=new as;Mr.use(Ns(Xe));var Kr={_models:[Ba((0,l.Z)({},Ds))],_store:null,_plugin:Mr,use:Mr.use.bind(Mr),model:xn,start:ni};return Kr;function xn(yi){var Li=Ba((0,l.Z)({},yi));return Kr._models.push(Li),Li}function cn(yi,Li,na,Hi){Hi=xn(Hi);var Ti=Kr._store;Ti.asyncReducers[Hi.namespace]=Rn(Hi.reducers,Hi.state,Mr._handleActions),Ti.replaceReducer(yi()),Hi.effects&&Ti.runSaga(Kr._getSaga(Hi.effects,Hi,Li,Mr.get("onEffect"),Xe)),Hi.subscriptions&&(na[Hi.namespace]=Os(Hi.subscriptions,Hi,Kr,Li))}function Sn(yi,Li,na,Hi){var Ti=Kr._store;delete Ti.asyncReducers[Hi],delete Li[Hi],Ti.replaceReducer(yi()),Ti.dispatch({type:"@@dva/UPDATE"}),Ti.dispatch({type:"".concat(Hi,"/@@CANCEL_EFFECTS")}),Xi(na,Hi),Kr._models=Kr._models.filter(function(Pa){return Pa.namespace!==Hi})}function ri(yi,Li,na,Hi,Ti){var Pa=Kr._store,Pi=Ti.namespace,pi=Ni(Kr._models,function(ca){return ca.namespace===Pi});~pi&&(Pa.dispatch({type:"".concat(Pi,"/@@CANCEL_EFFECTS")}),delete Pa.asyncReducers[Pi],delete Li[Pi],Xi(na,Pi),Kr._models.splice(pi,1)),Kr.model(Ti),Pa.dispatch({type:"@@dva/UPDATE"})}function ni(){var yi=function(Ia,Ws){Ia&&(typeof Ia=="string"&&(Ia=new Error(Ia)),Ia.preventDefault=function(){Ia._dontReject=!0},Mr.apply("onError",function(vn){throw new Error(vn.stack||vn)})(Ia,Kr._store.dispatch,Ws))},Li=lt(),na=ss(Kr);Kr._getSaga=po.bind(null);var Hi=[],Ti=(0,l.Z)({},Ft),Pa=!0,Pi=!1,pi=void 0;try{for(var ca=Kr._models[Symbol.iterator](),wo;!(Pa=(wo=ca.next()).done);Pa=!0){var Xs=wo.value;Ti[Xs.namespace]=Rn(Xs.reducers,Xs.state,Mr._handleActions),Xs.effects&&Hi.push(Kr._getSaga(Xs.effects,Xs,yi,Mr.get("onEffect"),Xe))}}catch(kt){Pi=!0,pi=kt}finally{try{!Pa&&ca.return!=null&&ca.return()}finally{if(Pi)throw pi}}var ia=Mr.get("onReducer"),fs=Mr.get("extraReducers");pr()(Object.keys(fs).every(function(kt){return!(kt in Ti)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Ti).join(", "))),Kr._store=Ps({reducers:Vt(),initialState:Xe.initialState||{},plugin:Mr,createOpts:Ie,sagaMiddleware:Li,promiseMiddleware:na});var ya=Kr._store;ya.runSaga=Li.run,ya.asyncReducers={};var vs=Mr.get("onStateChange"),La=!0,rs=!1,Ls=void 0;try{for(var so=function(){var Ia=pa.value;ya.subscribe(function(){Ia(ya.getState())})},xs=vs[Symbol.iterator](),pa;!(La=(pa=xs.next()).done);La=!0)so()}catch(kt){rs=!0,Ls=kt}finally{try{!La&&xs.return!=null&&xs.return()}finally{if(rs)throw Ls}}Hi.forEach(Li.run),Sr(Kr);var Ms={},Uo=!0,eo=!1,Ga=void 0;try{for(var us=this._models[Symbol.iterator](),co;!(Uo=(co=us.next()).done);Uo=!0){var Va=co.value;Va.subscriptions&&(Ms[Va.namespace]=Os(Va.subscriptions,Va,Kr,yi))}}catch(kt){eo=!0,Ga=kt}finally{try{!Uo&&us.return!=null&&us.return()}finally{if(eo)throw Ga}}Kr.model=cn.bind(Kr,Vt,yi,Ms),Kr.unmodel=Sn.bind(Kr,Vt,Ti,Ms),Kr.replaceModel=ri.bind(Kr,Vt,Ti,Ms,yi);function Vt(){return ia((0,c.UY)((0,l.Z)({},Ti,fs,Kr._store?Kr._store.asyncReducers:{})))}}}var Ho=e(44718),Xo=e(56805),mu=e(4676);function vu(Xe){Xe()}let go=vu;const Go=Xe=>go=Xe,Oo=()=>go,nu=Symbol.for("react-redux-context"),Qo=typeof globalThis!="undefined"?globalThis:{};function hi(){var Xe;if(!i.createContext)return{};const Ie=(Xe=Qo[nu])!=null?Xe:Qo[nu]=new Map;let Ft=Ie.get(i.createContext);return Ft||(Ft=i.createContext(null),Ie.set(i.createContext,Ft)),Ft}const gi=hi();var Ja=null;function ls(Xe=gi){return function(){return(0,i.useContext)(Xe)}}const es=ls(),Ha=()=>{throw new Error("uSES not initialized!")};let ms=Ha;const qo=Xe=>{ms=Xe},ks=(Xe,Ie)=>Xe===Ie;function Mo(Xe=gi){const Ie=Xe===gi?es:ls(Xe);return function(vt,Sr={}){const{equalityFn:Mr=ks,stabilityCheck:Kr=void 0,noopCheck:xn=void 0}=typeof Sr=="function"?{equalityFn:Sr}:Sr,{store:cn,subscription:Sn,getServerState:ri,stabilityCheck:ni,noopCheck:yi}=Ie(),Li=(0,i.useRef)(!0),na=(0,i.useCallback)({[vt.name](Ti){return vt(Ti)}}[vt.name],[vt,ni,Kr]),Hi=ms(Sn.addNestedSub,cn.getState,ri||cn.getState,na,Mr);return(0,i.useDebugValue)(Hi),Hi}}const wu=Mo();var Iu=e(54476),rl=e(85377),dl=e(94266),Fo=e.n(dl),Js=e(23265);const Bo=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Gu(Xe,Ie,Ft,vt,{areStatesEqual:Sr,areOwnPropsEqual:Mr,areStatePropsEqual:Kr}){let xn=!1,cn,Sn,ri,ni,yi;function Li(Pi,pi){return cn=Pi,Sn=pi,ri=Xe(cn,Sn),ni=Ie(vt,Sn),yi=Ft(ri,ni,Sn),xn=!0,yi}function na(){return ri=Xe(cn,Sn),Ie.dependsOnOwnProps&&(ni=Ie(vt,Sn)),yi=Ft(ri,ni,Sn),yi}function Hi(){return Xe.dependsOnOwnProps&&(ri=Xe(cn,Sn)),Ie.dependsOnOwnProps&&(ni=Ie(vt,Sn)),yi=Ft(ri,ni,Sn),yi}function Ti(){const Pi=Xe(cn,Sn),pi=!Kr(Pi,ri);return ri=Pi,pi&&(yi=Ft(ri,ni,Sn)),yi}function Pa(Pi,pi){const ca=!Mr(pi,Sn),wo=!Sr(Pi,cn,pi,Sn);return cn=Pi,Sn=pi,ca&&wo?na():ca?Hi():wo?Ti():yi}return function(pi,ca){return xn?Pa(pi,ca):Li(pi,ca)}}function No(Xe,Ie){let{initMapStateToProps:Ft,initMapDispatchToProps:vt,initMergeProps:Sr}=Ie,Mr=(0,rl.Z)(Ie,Bo);const Kr=Ft(Xe,Mr),xn=vt(Xe,Mr),cn=Sr(Xe,Mr);return Gu(Kr,xn,cn,Xe,Mr)}function $o(Xe,Ie){const Ft={};for(const vt in Xe){const Sr=Xe[vt];typeof Sr=="function"&&(Ft[vt]=(...Mr)=>Ie(Sr(...Mr)))}return Ft}function Uu(Xe){return function(Ft){const vt=Xe(Ft);function Sr(){return vt}return Sr.dependsOnOwnProps=!1,Sr}}function iu(Xe){return Xe.dependsOnOwnProps?!!Xe.dependsOnOwnProps:Xe.length!==1}function gu(Xe,Ie){return function(vt,{displayName:Sr}){const Mr=function(xn,cn){return Mr.dependsOnOwnProps?Mr.mapToProps(xn,cn):Mr.mapToProps(xn,void 0)};return Mr.dependsOnOwnProps=!0,Mr.mapToProps=function(xn,cn){Mr.mapToProps=Xe,Mr.dependsOnOwnProps=iu(Xe);let Sn=Mr(xn,cn);return typeof Sn=="function"&&(Mr.mapToProps=Sn,Mr.dependsOnOwnProps=iu(Sn),Sn=Mr(xn,cn)),Sn},Mr}}function jo(Xe,Ie){return(Ft,vt)=>{throw new Error(`Invalid value of type ${typeof Xe} for ${Ie} argument when connecting component ${vt.wrappedComponentName}.`)}}function _u(Xe){return Xe&&typeof Xe=="object"?Uu(Ie=>$o(Xe,Ie)):Xe?typeof Xe=="function"?gu(Xe,"mapDispatchToProps"):jo(Xe,"mapDispatchToProps"):Uu(Ie=>({dispatch:Ie}))}function Ko(Xe){return Xe?typeof Xe=="function"?gu(Xe,"mapStateToProps"):jo(Xe,"mapStateToProps"):Uu(()=>({}))}function rr(Xe,Ie,Ft){return(0,Iu.Z)({},Ft,Xe,Ie)}function _r(Xe){return function(Ft,{displayName:vt,areMergedPropsEqual:Sr}){let Mr=!1,Kr;return function(cn,Sn,ri){const ni=Xe(cn,Sn,ri);return Mr?Sr(ni,Kr)||(Kr=ni):(Mr=!0,Kr=ni),Kr}}}function dr(Xe){return Xe?typeof Xe=="function"?_r(Xe):jo(Xe,"mergeProps"):()=>rr}function gr(){const Xe=Oo();let Ie=null,Ft=null;return{clear(){Ie=null,Ft=null},notify(){Xe(()=>{let vt=Ie;for(;vt;)vt.callback(),vt=vt.next})},get(){let vt=[],Sr=Ie;for(;Sr;)vt.push(Sr),Sr=Sr.next;return vt},subscribe(vt){let Sr=!0,Mr=Ft={callback:vt,next:null,prev:Ft};return Mr.prev?Mr.prev.next=Mr:Ie=Mr,function(){!Sr||Ie===null||(Sr=!1,Mr.next?Mr.next.prev=Mr.prev:Ft=Mr.prev,Mr.prev?Mr.prev.next=Mr.next:Ie=Mr.next)}}}}const Cr={notify(){},get:()=>[]};function bn(Xe,Ie){let Ft,vt=Cr,Sr=0,Mr=!1;function Kr(Hi){ri();const Ti=vt.subscribe(Hi);let Pa=!1;return()=>{Pa||(Pa=!0,Ti(),ni())}}function xn(){vt.notify()}function cn(){na.onStateChange&&na.onStateChange()}function Sn(){return Mr}function ri(){Sr++,Ft||(Ft=Ie?Ie.addNestedSub(cn):Xe.subscribe(cn),vt=gr())}function ni(){Sr--,Ft&&Sr===0&&(Ft(),Ft=void 0,vt.clear(),vt=Cr)}function yi(){Mr||(Mr=!0,ri())}function Li(){Mr&&(Mr=!1,ni())}const na={addNestedSub:Kr,notifyNestedSubs:xn,handleChangeWrapper:cn,isSubscribed:Sn,trySubscribe:yi,tryUnsubscribe:Li,getListeners:()=>vt};return na}const Ln=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Wn(Xe,Ie){return Xe===Ie?Xe!==0||Ie!==0||1/Xe===1/Ie:Xe!==Xe&&Ie!==Ie}function ai(Xe,Ie){if(Wn(Xe,Ie))return!0;if(typeof Xe!="object"||Xe===null||typeof Ie!="object"||Ie===null)return!1;const Ft=Object.keys(Xe),vt=Object.keys(Ie);if(Ft.length!==vt.length)return!1;for(let Sr=0;Sr{mr=Xe},Br=null,Cn=[null,null],Pn=Xe=>{try{return JSON.stringify(Xe)}catch(Ie){return String(Xe)}};function oi(Xe,Ie,Ft){Ln(()=>Xe(...Ie),Ft)}function Ei(Xe,Ie,Ft,vt,Sr,Mr){Xe.current=vt,Ft.current=!1,Sr.current&&(Sr.current=null,Mr())}function Gn(Xe,Ie,Ft,vt,Sr,Mr,Kr,xn,cn,Sn,ri){if(!Xe)return()=>{};let ni=!1,yi=null;const Li=()=>{if(ni||!xn.current)return;const Hi=Ie.getState();let Ti,Pa;try{Ti=vt(Hi,Sr.current)}catch(Pi){Pa=Pi,yi=Pi}Pa||(yi=null),Ti===Mr.current?Kr.current||Sn():(Mr.current=Ti,cn.current=Ti,Kr.current=!0,ri())};return Ft.onStateChange=Li,Ft.trySubscribe(),Li(),()=>{if(ni=!0,Ft.tryUnsubscribe(),Ft.onStateChange=null,yi)throw yi}}const ta=()=>Br;function ra(Xe,Ie){return Xe===Ie}let _i=!1;function wt(Xe,Ie,Ft,{pure:vt,areStatesEqual:Sr=ra,areOwnPropsEqual:Mr=ai,areStatePropsEqual:Kr=ai,areMergedPropsEqual:xn=ai,forwardRef:cn=!1,context:Sn=gi}={}){const ri=Sn,ni=Ko(Xe),yi=_u(Ie),Li=dr(Ft),na=!!Xe;return Ti=>{const Pa=Ti.displayName||Ti.name||"Component",Pi=`Connect(${Pa})`,pi={shouldHandleStateChanges:na,displayName:Pi,wrappedComponentName:Pa,WrappedComponent:Ti,initMapStateToProps:ni,initMapDispatchToProps:yi,initMergeProps:Li,areStatesEqual:Sr,areStatePropsEqual:Kr,areOwnPropsEqual:Mr,areMergedPropsEqual:xn};function ca(ia){const[fs,ya,vs]=i.useMemo(()=>{const{reactReduxForwardedRef:Rr}=ia,qr=(0,rl.Z)(ia,qn);return[ia.context,Rr,qr]},[ia]),La=i.useMemo(()=>fs&&fs.Consumer&&(0,Js.isContextConsumer)(i.createElement(fs.Consumer,null))?fs:ri,[fs,ri]),rs=i.useContext(La),Ls=!!ia.store&&!!ia.store.getState&&!!ia.store.dispatch,so=!!rs&&!!rs.store,xs=Ls?ia.store:rs.store,pa=so?rs.getServerState:xs.getState,Ms=i.useMemo(()=>No(xs.dispatch,pi),[xs]),[Uo,eo]=i.useMemo(()=>{if(!na)return Cn;const Rr=bn(xs,Ls?void 0:rs.subscription),qr=Rr.notifyNestedSubs.bind(Rr);return[Rr,qr]},[xs,Ls,rs]),Ga=i.useMemo(()=>Ls?rs:(0,Iu.Z)({},rs,{subscription:Uo}),[Ls,rs,Uo]),us=i.useRef(),co=i.useRef(vs),Va=i.useRef(),Vt=i.useRef(!1),kt=i.useRef(!1),Ia=i.useRef(!1),Ws=i.useRef();Ln(()=>(Ia.current=!0,()=>{Ia.current=!1}),[]);const vn=i.useMemo(()=>()=>Va.current&&vs===co.current?Va.current:Ms(xs.getState(),vs),[xs,vs]),wn=i.useMemo(()=>qr=>Uo?Gn(na,xs,Uo,Ms,co,us,Vt,Ia,Va,eo,qr):()=>{},[Uo]);oi(Ei,[co,us,Vt,vs,Va,eo]);let We;try{We=mr(wn,vn,pa?()=>Ms(pa(),vs):vn)}catch(Rr){throw Ws.current&&(Rr.message+=` The error may be correlated with this previous error: ${Ws.current.stack} -`),Rr}Ln(()=>{Ws.current=void 0,Va.current=void 0,us.current=We});const jt=i.useMemo(()=>i.createElement(Ti,(0,Iu.Z)({},We,{ref:ya})),[ya,Ti,We]);return i.useMemo(()=>na?i.createElement(La.Provider,{value:Ga},jt):jt,[La,jt,Ga])}const Xs=i.memo(ca);if(Xs.WrappedComponent=Ti,Xs.displayName=ca.displayName=Pi,cn){const fs=i.forwardRef(function(vs,La){return i.createElement(Xs,(0,Iu.Z)({},vs,{reactReduxForwardedRef:La}))});return fs.displayName=Pi,fs.WrappedComponent=Ti,Fo()(fs,Ti)}return Fo()(Xs,Ti)}}var Qn=wt;function Sa({store:Xe,context:Ie,children:Ft,serverState:vt,stabilityCheck:Sr="once",noopCheck:Mr="once"}){const Kr=i.useMemo(()=>{const Sn=bn(Xe);return{store:Xe,subscription:Sn,getServerState:vt?()=>vt:void 0,stabilityCheck:Sr,noopCheck:Mr}},[Xe,vt,Sr,Mr]),xn=i.useMemo(()=>Xe.getState(),[Xe]);Ln(()=>{const{subscription:Sn}=Kr;return Sn.onStateChange=Sn.notifyNestedSubs,Sn.trySubscribe(),xn!==Xe.getState()&&Sn.notifyNestedSubs(),()=>{Sn.tryUnsubscribe(),Sn.onStateChange=void 0}},[Kr,xn]);const cn=Ie||gi;return i.createElement(cn.Provider,{value:Kr},Ft)}var Ra=Sa;function Ys(Xe=gi){const Ie=Xe===gi?es:ls(Xe);return function(){const{store:vt}=Ie();return vt}}const sn=Ys();function Do(Xe=gi){const Ie=Xe===gi?sn:Ys(Xe);return function(){return Ie().dispatch}}const lo=Do();qo(Xo.useSyncExternalStoreWithSelector),Fr(Wo.useSyncExternalStore),Ho(mu.unstable_batchedUpdates);var Rs=Object.defineProperty,no=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,cs=(Xe,Ie,Ft)=>Ie in Xe?Rs(Xe,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Xe[Ie]=Ft,ja=(Xe,Ie)=>{for(var Ft in Ie||(Ie={}))io.call(Ie,Ft)&&cs(Xe,Ft,Ie[Ft]);if(no)for(var Ft of no(Ie))ts.call(Ie,Ft)&&cs(Xe,Ft,Ie[Ft]);return Xe};function os(Xe){const Ie=create(Xe,{initialReducer:{},setupApp(){}}),Ft=Ie.start;return Ie.router=vt,Ie.start=Sr,Ie;function vt(Mr){Ie._router=Mr}function Sr(Mr){if(typeof Mr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Ie._store||Ft.call(Ie);const Kr=Ie._store,xn=Ie._router;return cn=>React.createElement(Provider,{store:Kr},xn(ja({app:Ie},cn)))}}},26243:function(d,g,e){"use strict";e.d(g,{fi:function(){return m},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,a=(R,A)=>{for(var I in A||(A={}))o.call(A,I)&&u(R,I,A[I]);if(f)for(var I of f(A))h.call(A,I)&&u(R,I,A[I]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function m(R){let A;return R.type==="hash"?A=(0,r.q_)():R.type==="memory"?A=(0,r.PP)(R):A=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},A),{push(I,M){A.push(S(I,A),M)},replace(I,M){A.replace(S(I,A),M)},get location(){return A.location},get action(){return A.action}}),A}function b(R){R&&(p=R)}function S(R,A){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const I=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:I})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},7240:function(d,g,e){"use strict";e.d(g,{gD:function(){return Jr},We:function(){return an}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return Qe}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ae}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return $t}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return dt}});var o=e(8591),h=e(66649),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Nt){o.ZP.error(Nt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),m=e(12373),b=e.n(m),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function I(){return I=Object.assign||function(Nt){for(var Jt=1;Jt=0||(wr[Lt]=Nt[Lt]);return wr}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},G={rel:["amphtml","canonical","alternate"]},H={type:["application/ld+json"]},ae={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ne=Object.keys(K).map(function(Nt){return K[Nt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},J=Object.keys(oe).reduce(function(Nt,Jt){return Nt[oe[Jt]]=Jt,Nt},{}),Q=function(Nt,Jt){for(var Lt=Nt.length-1;Lt>=0;Lt-=1){var Qt=Nt[Lt];if(Object.prototype.hasOwnProperty.call(Qt,Jt))return Qt[Jt]}return null},V=function(Nt){var Jt=Q(Nt,K.TITLE),Lt=Q(Nt,"titleTemplate");if(Array.isArray(Jt)&&(Jt=Jt.join("")),Lt&&Jt)return Lt.replace(/%s/g,function(){return Jt});var Qt=Q(Nt,"defaultTitle");return Jt||Qt||void 0},se=function(Nt){return Q(Nt,"onChangeClientState")||function(){}},ee=function(Nt,Jt){return Jt.filter(function(Lt){return Lt[Nt]!==void 0}).map(function(Lt){return Lt[Nt]}).reduce(function(Lt,Qt){return I({},Lt,Qt)},{})},q=function(Nt,Jt){return Jt.filter(function(Lt){return Lt[K.BASE]!==void 0}).map(function(Lt){return Lt[K.BASE]}).reverse().reduce(function(Lt,Qt){if(!Lt.length)for(var wr=Object.keys(Qt),Ir=0;Ir/g,">").replace(/"/g,""").replace(/'/g,"'")},Ge=function(Nt){return Object.keys(Nt).reduce(function(Jt,Lt){var Qt=Nt[Lt]!==void 0?Lt+'="'+Nt[Lt]+'"':""+Lt;return Jt?Jt+" "+Qt:Qt},"")},je=function(Nt,Jt){return Jt===void 0&&(Jt={}),Object.keys(Nt).reduce(function(Lt,Qt){return Lt[oe[Qt]||Qt]=Nt[Qt],Lt},Jt)},Dt=function(Nt,Jt){return Jt.map(function(Lt,Qt){var wr,Ir=((wr={key:Qt})["data-rh"]=!0,wr);return Object.keys(Lt).forEach(function(At){var Kt=oe[At]||At;Kt==="innerHTML"||Kt==="cssText"?Ir.dangerouslySetInnerHTML={__html:Lt.innerHTML||Lt.cssText}:Ir[Kt]=Lt[At]}),x.createElement(Nt,Ir)})},ht=function(Nt,Jt,Lt){switch(Nt){case K.TITLE:return{toComponent:function(){return wr=Jt.titleAttributes,(Ir={key:Qt=Jt.title})["data-rh"]=!0,At=je(wr,Ir),[x.createElement(K.TITLE,At,Qt)];var Qt,wr,Ir,At},toString:function(){return function(Qt,wr,Ir,At){var Kt=Ge(Ir),Bt=j(wr);return Kt?"<"+Qt+' data-rh="true" '+Kt+">"+Pe(Bt,At)+"":"<"+Qt+' data-rh="true">'+Pe(Bt,At)+""}(Nt,Jt.title,Jt.titleAttributes,Lt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return je(Jt)},toString:function(){return Ge(Jt)}};default:return{toComponent:function(){return Dt(Nt,Jt)},toString:function(){return function(Qt,wr,Ir){return wr.reduce(function(At,Kt){var Bt=Object.keys(Kt).filter(function(Qr){return!(Qr==="innerHTML"||Qr==="cssText")}).reduce(function(Qr,Hr){var jn=Kt[Hr]===void 0?Hr:Hr+'="'+Pe(Kt[Hr],Ir)+'"';return Qr?Qr+" "+jn:jn},""),qt=Kt.innerHTML||Kt.cssText||"",br=Se.indexOf(Qt)===-1;return At+"<"+Qt+' data-rh="true" '+Bt+(br?"/>":">"+qt+"")},"")}(Nt,Jt,Lt)}}}},Pt=function(Nt){var Jt=Nt.baseTag,Lt=Nt.bodyAttributes,Qt=Nt.encode,wr=Nt.htmlAttributes,Ir=Nt.noscriptTags,At=Nt.styleTags,Kt=Nt.title,Bt=Kt===void 0?"":Kt,qt=Nt.titleAttributes,br=Nt.linkTags,Qr=Nt.metaTags,Hr=Nt.scriptTags,jn={toComponent:function(){},toString:function(){return""}};if(Nt.prioritizeSeoTags){var En=function(Yn){var St=Yn.linkTags,Vr=Yn.scriptTags,ii=Yn.encode,Bi=ie(Yn.metaTags,ae),$n=ie(St,G),ci=ie(Vr,H);return{priorityMethods:{toComponent:function(){return[].concat(Dt(K.META,Bi.priority),Dt(K.LINK,$n.priority),Dt(K.SCRIPT,ci.priority))},toString:function(){return ht(K.META,Bi.priority,ii)+" "+ht(K.LINK,$n.priority,ii)+" "+ht(K.SCRIPT,ci.priority,ii)}},metaTags:Bi.default,linkTags:$n.default,scriptTags:ci.default}}(Nt);jn=En.priorityMethods,br=En.linkTags,Qr=En.metaTags,Hr=En.scriptTags}return{priority:jn,base:ht(K.BASE,Jt,Qt),bodyAttributes:ht("bodyAttributes",Lt,Qt),htmlAttributes:ht("htmlAttributes",wr,Qt),link:ht(K.LINK,br,Qt),meta:ht(K.META,Qr,Qt),noscript:ht(K.NOSCRIPT,Ir,Qt),script:ht(K.SCRIPT,Hr,Qt),style:ht(K.STYLE,At,Qt),title:ht(K.TITLE,{title:Bt,titleAttributes:qt},Qt)}},Wt=[],Rt=function(Nt,Jt){var Lt=this;Jt===void 0&&(Jt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Qt){Lt.context.helmet=Qt},helmetInstances:{get:function(){return Lt.canUseDOM?Wt:Lt.instances},add:function(Qt){(Lt.canUseDOM?Wt:Lt.instances).push(Qt)},remove:function(Qt){var wr=(Lt.canUseDOM?Wt:Lt.instances).indexOf(Qt);(Lt.canUseDOM?Wt:Lt.instances).splice(wr,1)}}},this.context=Nt,this.canUseDOM=Jt,Jt||(Nt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},ar=x.createContext({}),Ue=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),_t=typeof document!="undefined",Mt=function(Nt){function Jt(Lt){var Qt;return(Qt=Nt.call(this,Lt)||this).helmetData=new Rt(Qt.props.context,Jt.canUseDOM),Qt}return M(Jt,Nt),Jt.prototype.render=function(){return x.createElement(ar.Provider,{value:this.helmetData.value},this.props.children)},Jt}(x.Component);Mt.canUseDOM=_t,Mt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Mt.defaultProps={context:{}},Mt.displayName="HelmetProvider";var et=function(Nt,Jt){var Lt,Qt=document.head||document.querySelector(K.HEAD),wr=Qt.querySelectorAll(Nt+"[data-rh]"),Ir=[].slice.call(wr),At=[];return Jt&&Jt.length&&Jt.forEach(function(Kt){var Bt=document.createElement(Nt);for(var qt in Kt)Object.prototype.hasOwnProperty.call(Kt,qt)&&(qt==="innerHTML"?Bt.innerHTML=Kt.innerHTML:qt==="cssText"?Bt.styleSheet?Bt.styleSheet.cssText=Kt.cssText:Bt.appendChild(document.createTextNode(Kt.cssText)):Bt.setAttribute(qt,Kt[qt]===void 0?"":Kt[qt]));Bt.setAttribute("data-rh","true"),Ir.some(function(br,Qr){return Lt=Qr,Bt.isEqualNode(br)})?Ir.splice(Lt,1):At.push(Bt)}),Ir.forEach(function(Kt){return Kt.parentNode.removeChild(Kt)}),At.forEach(function(Kt){return Qt.appendChild(Kt)}),{oldTags:Ir,newTags:At}},ft=function(Nt,Jt){var Lt=document.getElementsByTagName(Nt)[0];if(Lt){for(var Qt=Lt.getAttribute("data-rh"),wr=Qt?Qt.split(","):[],Ir=[].concat(wr),At=Object.keys(Jt),Kt=0;Kt=0;Qr-=1)Lt.removeAttribute(Ir[Qr]);wr.length===Ir.length?Lt.removeAttribute("data-rh"):Lt.getAttribute("data-rh")!==At.join(",")&&Lt.setAttribute("data-rh",At.join(","))}},ot=function(Nt,Jt){var Lt=Nt.baseTag,Qt=Nt.htmlAttributes,wr=Nt.linkTags,Ir=Nt.metaTags,At=Nt.noscriptTags,Kt=Nt.onChangeClientState,Bt=Nt.scriptTags,qt=Nt.styleTags,br=Nt.title,Qr=Nt.titleAttributes;ft(K.BODY,Nt.bodyAttributes),ft(K.HTML,Qt),function(Yn,St){Yn!==void 0&&document.title!==Yn&&(document.title=j(Yn)),ft(K.TITLE,St)}(br,Qr);var Hr={baseTag:et(K.BASE,Lt),linkTags:et(K.LINK,wr),metaTags:et(K.META,Ir),noscriptTags:et(K.NOSCRIPT,At),scriptTags:et(K.SCRIPT,Bt),styleTags:et(K.STYLE,qt)},jn={},En={};Object.keys(Hr).forEach(function(Yn){var St=Hr[Yn],Vr=St.newTags,ii=St.oldTags;Vr.length&&(jn[Yn]=Vr),ii.length&&(En[Yn]=Hr[Yn].oldTags)}),Jt&&Jt(),Kt(Nt,jn,En)},qe=null,Ne=function(Nt){function Jt(){for(var Qt,wr=arguments.length,Ir=new Array(wr),At=0;At elements are self-closing and can not contain children. Refer to our API for more information.")}},Lt.flattenArrayTypeChildren=function(Qt){var wr,Ir=Qt.child,At=Qt.arrayTypeChildren;return I({},At,((wr={})[Ir.type]=[].concat(At[Ir.type]||[],[I({},Qt.newChildProps,this.mapNestedChildrenToProps(Ir,Qt.nestedChildren))]),wr))},Lt.mapObjectTypeChildren=function(Qt){var wr,Ir,At=Qt.child,Kt=Qt.newProps,Bt=Qt.newChildProps,qt=Qt.nestedChildren;switch(At.type){case K.TITLE:return I({},Kt,((wr={})[At.type]=qt,wr.titleAttributes=I({},Bt),wr));case K.BODY:return I({},Kt,{bodyAttributes:I({},Bt)});case K.HTML:return I({},Kt,{htmlAttributes:I({},Bt)});default:return I({},Kt,((Ir={})[At.type]=I({},Bt),Ir))}},Lt.mapArrayTypeChildrenToProps=function(Qt,wr){var Ir=I({},wr);return Object.keys(Qt).forEach(function(At){var Kt;Ir=I({},Ir,((Kt={})[At]=Qt[At],Kt))}),Ir},Lt.warnOnInvalidChildren=function(Qt,wr){return k()(ne.some(function(Ir){return Qt.type===Ir}),typeof Qt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+Qt.type+"> elements. Refer to our API for more information."),k()(!wr||typeof wr=="string"||Array.isArray(wr)&&!wr.some(function(Ir){return typeof Ir!="string"}),"Helmet expects a string as a child of <"+Qt.type+">. Did you forget to wrap your children in braces? ( <"+Qt.type+">{``} ) Refer to our API for more information."),!0},Lt.mapChildrenToProps=function(Qt,wr){var Ir=this,At={};return x.Children.forEach(Qt,function(Kt){if(Kt&&Kt.props){var Bt=Kt.props,qt=Bt.children,br=N(Bt,ye),Qr=Object.keys(br).reduce(function(jn,En){return jn[J[En]||En]=br[En],jn},{}),Hr=Kt.type;switch(typeof Hr=="symbol"?Hr=Hr.toString():Ir.warnOnInvalidChildren(Kt,qt),Hr){case K.FRAGMENT:wr=Ir.mapChildrenToProps(qt,wr);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:At=Ir.flattenArrayTypeChildren({child:Kt,arrayTypeChildren:At,newChildProps:Qr,nestedChildren:qt});break;default:wr=Ir.mapObjectTypeChildren({child:Kt,newProps:wr,newChildProps:Qr,nestedChildren:qt})}}}),this.mapArrayTypeChildrenToProps(At,wr)},Lt.render=function(){var Qt=this.props,wr=Qt.children,Ir=N(Qt,ke),At=I({},Ir),Kt=Ir.helmetData;return wr&&(At=this.mapChildrenToProps(wr,At)),!Kt||Kt instanceof Rt||(Kt=new Rt(Kt.context,Kt.instances)),Kt?x.createElement(Ne,I({},At,{context:Kt.value,helmetData:void 0})):x.createElement(ar.Consumer,null,function(Bt){return x.createElement(Ne,I({},At,{context:Bt}))})},Jt}(x.Component);$e.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},$e.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},$e.displayName="Helmet";const He={},Qe=Nt=>x.createElement(Mt,{context:He},Nt);var ut=e(92736),pt=e(65582),or=e(36237),tr=e(85277),Me=e(28440),tt=e.n(Me),Yt=Object.defineProperty,Ot=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,lr=(Nt,Jt,Lt)=>Jt in Nt?Yt(Nt,Jt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Nt[Jt]=Lt,Ht=(Nt,Jt)=>{for(var Lt in Jt||(Jt={}))Zt.call(Jt,Lt)&&lr(Nt,Lt,Jt[Lt]);if(Ot)for(var Lt of Ot(Jt))Gt.call(Jt,Lt)&&lr(Nt,Lt,Jt[Lt]);return Nt},Te=(Nt,Jt)=>{var Lt={};for(var Qt in Nt)Zt.call(Nt,Qt)&&Jt.indexOf(Qt)<0&&(Lt[Qt]=Nt[Qt]);if(Nt!=null&&Ot)for(var Qt of Ot(Nt))Jt.indexOf(Qt)<0&&Gt.call(Nt,Qt)&&(Lt[Qt]=Nt[Qt]);return Lt};let ce=null;const pe=()=>(ce||(ce=an().applyPlugins({key:"antd",type:pt.ApplyPluginsType.modify,initialValue:Ht({},{componentSize:"middle"})})),ce);function Tt({children:Nt}){let Jt=Nt;const[Lt,Qt]=x.useState(()=>{const Ir=pe(),{appConfig:At}=Ir;return Te(Ir,["appConfig"])}),wr=Ir=>{Qt(At=>tt()({},At,typeof Ir=="function"?Ir(At):Ir))};return Lt.prefixCls&&ut.ZP.config({prefixCls:Lt.prefixCls}),Lt.iconPrefixCls&&ut.ZP.config({iconPrefixCls:Lt.iconPrefixCls}),Lt.theme&&ut.ZP.config({theme:Lt.theme}),Jt=x.createElement(ut.ZP,Ht({},Lt),Jt),Jt=x.createElement(or.StyleProvider,{hashPriority:"high"},Jt),Jt=x.createElement(tr.C.Provider,{value:wr},x.createElement(tr.S.Provider,{value:Lt},Jt)),Jt}function Ae(Nt){return x.createElement(Tt,null,Nt)}var st=e(74133);function $t(Nt,Jt){return x.createElement(st.j,Jt,Nt)}var bt=e(13007),Ce=e(2893);function yt(){var Nt,Jt;const Lt=getLocale();(Nt=moment)!=null&&Nt.locale&&moment.locale(((Jt=localeInfo[Lt])==null?void 0:Jt.momentLocale)||""),setIntl(Lt)}const ze=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,xe=Nt=>{var Jt;const Lt=(0,Ce.Kd)(),[Qt,wr]=x.useState(Lt),[Ir,At]=x.useState(()=>(0,Ce.lw)(Qt,!0)),Kt=br=>{var Qr,Hr;(Qr=u())!=null&&Qr.locale&&u().locale(((Hr=Ce.H8[br])==null?void 0:Hr.momentLocale)||"en"),wr(br),At((0,Ce.lw)(br))};ze(()=>(Ce.B.on(Ce.PZ,Kt),()=>{Ce.B.off(Ce.PZ,Kt)}),[]);const Bt={},qt=(0,Ce.Mg)();return x.createElement(ut.ZP,{direction:qt,locale:((Jt=Ce.H8[Qt])==null?void 0:Jt.antd)||Bt},x.createElement(Ce.eU,{value:Ir},Nt.children))};function dt(Nt){return x.createElement(xe,null,Nt)}function It(Nt){return Nt.default?typeof Nt.default=="function"?Nt.default():Nt.default:Nt}function Be(){return[{apply:It(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Or(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let mt=null;function Jr(){return mt=pt.PluginManager.create({plugins:Be(),validKeys:Or()}),mt}function an(){return mt}},65582:function(d,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return _t},Link:function(){return Q},Outlet:function(){return V.j3},PluginManager:function(){return Mt},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return et.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return V.TH},useOutletContext:function(){return V.bx},useParams:function(){return V.UO},useSearchParams:function(){return G.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(85277);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(22575),o=e(74133),h=e(2893),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(Qe,ut,pt)=>ut in Qe?u(Qe,ut,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Qe[ut]=pt,S=(Qe,ut)=>{for(var pt in ut||(ut={}))y.call(ut,pt)&&b(Qe,pt,ut[pt]);if(p)for(var pt of p(ut))m.call(ut,pt)&&b(Qe,pt,ut[pt]);return Qe},k=(Qe,ut)=>a(Qe,x(ut)),R=(Qe,ut)=>{var pt={};for(var or in Qe)y.call(Qe,or)&&ut.indexOf(or)<0&&(pt[or]=Qe[or]);if(Qe!=null&&p)for(var or of p(Qe))ut.indexOf(or)<0&&m.call(Qe,or)&&(pt[or]=Qe[or]);return pt};const A=Qe=>{var ut=Qe,{overlayClassName:pt}=ut,or=R(ut,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:pt},or))},I=Qe=>Qe.reduce((ut,pt)=>pt.lang?k(S({},ut),{[pt.lang]:pt}):ut,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},B=Qe=>React.createElement(React.Fragment,null);var N=e(38329),K=e(38127),G=e(32451),H=e(67704),ae=e(87296);function ne(Qe,ut){var pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var tr=r.useRef(typeof IntersectionObserver=="function"),Me=r.useRef(null);return r.useEffect(function(){if(!(!Qe.current||!tr.current||or.disabled))return Me.current=new IntersectionObserver(function(tt){var Yt=(0,ae.Z)(tt,1),Ot=Yt[0];ut(Ot)},pt),Me.current.observe(Qe.current),function(){var tt;(tt=Me.current)===null||tt===void 0||tt.disconnect()}},[ut,pt,or.disabled,Qe]),Me.current}var oe=["prefetch"];function J(Qe){var ut=r.useRef(null);return r.useEffect(function(){Qe&&(typeof Qe=="function"?Qe(ut.current):Qe.current=ut.current)}),ut}var Q=r.forwardRef(function(Qe,ut){var pt,or=Qe.prefetch,tr=(0,K.Z)(Qe,oe),Me=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},tt=Me.defaultPrefetch,Yt=Me.defaultPrefetchTimeout,Ot=(or===!0?"intent":or===!1?"none":or)||tt;if(!["intent","render","viewport","none"].includes(Ot))throw new Error("Invalid prefetch value ".concat(Ot," found in Link component"));var Zt=(0,H.Ov)(),Gt=typeof Qe.to=="string"?Qe.to:(pt=Qe.to)===null||pt===void 0?void 0:pt.pathname,lr=r.useRef(!1),Ht=J(ut),Te=function(Tt){if(Ot==="intent"){var Ae=Tt.target||{};Ae.preloadTimeout||(Ae.preloadTimeout=setTimeout(function(){var st;Ae.preloadTimeout=null,(st=Zt.preloadRoute)===null||st===void 0||st.call(Zt,Gt)},Qe.prefetchTimeout||Yt))}},ce=function(Tt){if(Ot==="intent"){var Ae=Tt.target||{};Ae.preloadTimeout&&(clearTimeout(Ae.preloadTimeout),Ae.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Ot==="render"&&!lr.current){var pe;(pe=Zt.preloadRoute)===null||pe===void 0||pe.call(Zt,Gt),lr.current=!0}},[Ot,Gt]),ne(Ht,function(pe){if(pe!=null&&pe.isIntersecting){var Tt;(Tt=Zt.preloadRoute)===null||Tt===void 0||Tt.call(Zt,Gt)}},{rootMargin:"100px"},{disabled:Ot!=="viewport"}),Gt?r.createElement(G.rU,(0,N.Z)({onMouseEnter:Te,onMouseLeave:ce,ref:Ht},tr),Qe.children):null}),V=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return ut};var Qe,ut={},pt=Object.prototype,or=pt.hasOwnProperty,tr=Object.defineProperty||function(Nt,Jt,Lt){Nt[Jt]=Lt.value},Me=typeof Symbol=="function"?Symbol:{},tt=Me.iterator||"@@iterator",Yt=Me.asyncIterator||"@@asyncIterator",Ot=Me.toStringTag||"@@toStringTag";function Zt(Nt,Jt,Lt){return Object.defineProperty(Nt,Jt,{value:Lt,enumerable:!0,configurable:!0,writable:!0}),Nt[Jt]}try{Zt({},"")}catch(Nt){Zt=function(Lt,Qt,wr){return Lt[Qt]=wr}}function Gt(Nt,Jt,Lt,Qt){var wr=Jt&&Jt.prototype instanceof Ae?Jt:Ae,Ir=Object.create(wr.prototype),At=new Jr(Qt||[]);return tr(Ir,"_invoke",{value:It(Nt,Lt,At)}),Ir}function lr(Nt,Jt,Lt){try{return{type:"normal",arg:Nt.call(Jt,Lt)}}catch(Qt){return{type:"throw",arg:Qt}}}ut.wrap=Gt;var Ht="suspendedStart",Te="suspendedYield",ce="executing",pe="completed",Tt={};function Ae(){}function st(){}function $t(){}var bt={};Zt(bt,tt,function(){return this});var Ce=Object.getPrototypeOf,yt=Ce&&Ce(Ce(an([])));yt&&yt!==pt&&or.call(yt,tt)&&(bt=yt);var ze=$t.prototype=Ae.prototype=Object.create(bt);function xe(Nt){["next","throw","return"].forEach(function(Jt){Zt(Nt,Jt,function(Lt){return this._invoke(Jt,Lt)})})}function dt(Nt,Jt){function Lt(wr,Ir,At,Kt){var Bt=lr(Nt[wr],Nt,Ir);if(Bt.type!=="throw"){var qt=Bt.arg,br=qt.value;return br&&(0,se.Z)(br)=="object"&&or.call(br,"__await")?Jt.resolve(br.__await).then(function(Qr){Lt("next",Qr,At,Kt)},function(Qr){Lt("throw",Qr,At,Kt)}):Jt.resolve(br).then(function(Qr){qt.value=Qr,At(qt)},function(Qr){return Lt("throw",Qr,At,Kt)})}Kt(Bt.arg)}var Qt;tr(this,"_invoke",{value:function(Ir,At){function Kt(){return new Jt(function(Bt,qt){Lt(Ir,At,Bt,qt)})}return Qt=Qt?Qt.then(Kt,Kt):Kt()}})}function It(Nt,Jt,Lt){var Qt=Ht;return function(wr,Ir){if(Qt===ce)throw new Error("Generator is already running");if(Qt===pe){if(wr==="throw")throw Ir;return{value:Qe,done:!0}}for(Lt.method=wr,Lt.arg=Ir;;){var At=Lt.delegate;if(At){var Kt=Be(At,Lt);if(Kt){if(Kt===Tt)continue;return Kt}}if(Lt.method==="next")Lt.sent=Lt._sent=Lt.arg;else if(Lt.method==="throw"){if(Qt===Ht)throw Qt=pe,Lt.arg;Lt.dispatchException(Lt.arg)}else Lt.method==="return"&&Lt.abrupt("return",Lt.arg);Qt=ce;var Bt=lr(Nt,Jt,Lt);if(Bt.type==="normal"){if(Qt=Lt.done?pe:Te,Bt.arg===Tt)continue;return{value:Bt.arg,done:Lt.done}}Bt.type==="throw"&&(Qt=pe,Lt.method="throw",Lt.arg=Bt.arg)}}}function Be(Nt,Jt){var Lt=Jt.method,Qt=Nt.iterator[Lt];if(Qt===Qe)return Jt.delegate=null,Lt==="throw"&&Nt.iterator.return&&(Jt.method="return",Jt.arg=Qe,Be(Nt,Jt),Jt.method==="throw")||Lt!=="return"&&(Jt.method="throw",Jt.arg=new TypeError("The iterator does not provide a '"+Lt+"' method")),Tt;var wr=lr(Qt,Nt.iterator,Jt.arg);if(wr.type==="throw")return Jt.method="throw",Jt.arg=wr.arg,Jt.delegate=null,Tt;var Ir=wr.arg;return Ir?Ir.done?(Jt[Nt.resultName]=Ir.value,Jt.next=Nt.nextLoc,Jt.method!=="return"&&(Jt.method="next",Jt.arg=Qe),Jt.delegate=null,Tt):Ir:(Jt.method="throw",Jt.arg=new TypeError("iterator result is not an object"),Jt.delegate=null,Tt)}function Or(Nt){var Jt={tryLoc:Nt[0]};1 in Nt&&(Jt.catchLoc=Nt[1]),2 in Nt&&(Jt.finallyLoc=Nt[2],Jt.afterLoc=Nt[3]),this.tryEntries.push(Jt)}function mt(Nt){var Jt=Nt.completion||{};Jt.type="normal",delete Jt.arg,Nt.completion=Jt}function Jr(Nt){this.tryEntries=[{tryLoc:"root"}],Nt.forEach(Or,this),this.reset(!0)}function an(Nt){if(Nt||Nt===""){var Jt=Nt[tt];if(Jt)return Jt.call(Nt);if(typeof Nt.next=="function")return Nt;if(!isNaN(Nt.length)){var Lt=-1,Qt=function wr(){for(;++Lt=0;--wr){var Ir=this.tryEntries[wr],At=Ir.completion;if(Ir.tryLoc==="root")return Qt("end");if(Ir.tryLoc<=this.prev){var Kt=or.call(Ir,"catchLoc"),Bt=or.call(Ir,"finallyLoc");if(Kt&&Bt){if(this.prev=0;--Qt){var wr=this.tryEntries[Qt];if(wr.tryLoc<=this.prev&&or.call(wr,"finallyLoc")&&this.prev=0;--Lt){var Qt=this.tryEntries[Lt];if(Qt.finallyLoc===Jt)return this.complete(Qt.completion,Qt.afterLoc),mt(Qt),Tt}},catch:function(Jt){for(var Lt=this.tryEntries.length-1;Lt>=0;--Lt){var Qt=this.tryEntries[Lt];if(Qt.tryLoc===Jt){var wr=Qt.completion;if(wr.type==="throw"){var Ir=wr.arg;mt(Qt)}return Ir}}throw new Error("illegal catch attempt")},delegateYield:function(Jt,Lt,Qt){return this.delegate={iterator:an(Jt),resultName:Lt,nextLoc:Qt},this.method==="next"&&(this.arg=Qe),Tt}},ut}var q=e(63579);function le(Qe,ut,pt,or,tr,Me,tt){try{var Yt=Qe[Me](tt),Ot=Yt.value}catch(Zt){pt(Zt);return}Yt.done?ut(Ot):Promise.resolve(Ot).then(or,tr)}function Z(Qe){return function(){var ut=this,pt=arguments;return new Promise(function(or,tr){var Me=Qe.apply(ut,pt);function tt(Ot){le(Me,or,tr,tt,Yt,"next",Ot)}function Yt(Ot){le(Me,or,tr,tt,Yt,"throw",Ot)}tt(void 0)})}}var j=e(99227);function ie(Qe,ut){var pt=typeof Symbol!="undefined"&&Qe[Symbol.iterator]||Qe["@@iterator"];if(!pt){if(Array.isArray(Qe)||(pt=(0,j.Z)(Qe))||ut&&Qe&&typeof Qe.length=="number"){pt&&(Qe=pt);var or=0,tr=function(){};return{s:tr,n:function(){return or>=Qe.length?{done:!0}:{done:!1,value:Qe[or++]}},e:function(Zt){throw Zt},f:tr}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Me=!0,tt=!1,Yt;return{s:function(){pt=pt.call(Qe)},n:function(){var Zt=pt.next();return Me=Zt.done,Zt},e:function(Zt){tt=!0,Yt=Zt},f:function(){try{!Me&&pt.return!=null&&pt.return()}finally{if(tt)throw Yt}}}}var me=e(73825);function Se(Qe){if(typeof Symbol!="undefined"&&Qe[Symbol.iterator]!=null||Qe["@@iterator"]!=null)return Array.from(Qe)}var Pe=e(66160);function Ge(Qe){return(0,me.Z)(Qe)||Se(Qe)||(0,j.Z)(Qe)||(0,Pe.Z)()}function je(Qe,ut){if(!(Qe instanceof ut))throw new TypeError("Cannot call a class as a function")}var Dt=e(89878);function ht(Qe,ut){for(var pt=0;pt-1,"register failed, invalid key ".concat(tr," ").concat(pt.path?"from plugin ".concat(pt.path):"",".")),or.hooks[tr]=(or.hooks[tr]||[]).concat(pt.apply[tr])})}},{key:"getHooks",value:function(pt){var or=pt.split("."),tr=Ge(or),Me=tr[0],tt=tr.slice(1),Yt=this.hooks[Me]||[];return tt.length&&(Yt=Yt.map(function(Ot){try{var Zt=Ot,Gt=ie(tt),lr;try{for(Gt.s();!(lr=Gt.n()).done;){var Ht=lr.value;Zt=Zt[Ht]}}catch(Te){Gt.e(Te)}finally{Gt.f()}return Zt}catch(Te){return null}}).filter(Boolean)),Yt}},{key:"applyPlugins",value:function(pt){var or=pt.key,tr=pt.type,Me=pt.initialValue,tt=pt.args,Yt=pt.async,Ot=this.getHooks(or)||[];switch(tt&&Rt((0,se.Z)(tt)==="object","applyPlugins failed, args must be plain object."),Yt&&Rt(tr===_t.modify||tr===_t.event,"async only works with modify and event type."),tr){case _t.modify:return Yt?Ot.reduce(function(){var Zt=Z(ee().mark(function Gt(lr,Ht){var Te;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Rt(typeof Ht=="function"||(0,se.Z)(Ht)==="object"||Ue(Ht),"applyPlugins failed, all hooks for key ".concat(or," must be function, plain object or Promise.")),!Ue(lr)){pe.next=5;break}return pe.next=4,lr;case 4:lr=pe.sent;case 5:if(typeof Ht!="function"){pe.next=16;break}if(Te=Ht(lr,tt),!Ue(Te)){pe.next=13;break}return pe.next=10,Te;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Te);case 14:pe.next=21;break;case 16:if(!Ue(Ht)){pe.next=20;break}return pe.next=19,Ht;case 19:Ht=pe.sent;case 20:return pe.abrupt("return",(0,q.Z)((0,q.Z)({},lr),Ht));case 21:case"end":return pe.stop()}},Gt)}));return function(Gt,lr){return Zt.apply(this,arguments)}}(),Ue(Me)?Me:Promise.resolve(Me)):Ot.reduce(function(Zt,Gt){return Rt(typeof Gt=="function"||(0,se.Z)(Gt)==="object","applyPlugins failed, all hooks for key ".concat(or," must be function or plain object.")),typeof Gt=="function"?Gt(Zt,tt):(0,q.Z)((0,q.Z)({},Zt),Gt)},Me);case _t.event:return Z(ee().mark(function Zt(){var Gt,lr,Ht,Te;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Gt=ie(Ot),pe.prev=1,Gt.s();case 3:if((lr=Gt.n()).done){pe.next=12;break}if(Ht=lr.value,Rt(typeof Ht=="function","applyPlugins failed, all hooks for key ".concat(or," must be function.")),Te=Ht(tt),!(Yt&&Ue(Te))){pe.next=10;break}return pe.next=10,Te;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Gt.e(pe.t0);case 17:return pe.prev=17,Gt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Zt,null,[[1,14,17,20]])}))();case _t.compose:return function(){return ar({fns:Ot.concat(Me),args:tt})()}}}}],[{key:"create",value:function(pt){var or=new Qe({validKeys:pt.validKeys});return pt.plugins.forEach(function(tr){or.register(tr)}),or}}]),Qe}(),et=e(26243);let ft=0,ot=0;function qe(Qe,ut){}function Ne(Qe){return JSON.stringify(Qe,null,2)}function ye(Qe){const ut=Qe.length>1?Qe.map(ke).join(" "):Qe[0];return typeof ut=="object"?`${Ne(ut)}`:ut.toString()}function ke(Qe){return typeof Qe=="object"?`${JSON.stringify(Qe)}`:Qe.toString()}const $e={log(...Qe){ye(Qe)},info(...Qe){ye(Qe)},warn(...Qe){ye(Qe)},error(...Qe){ye(Qe)},group(){ot++},groupCollapsed(){ot++},groupEnd(){ot&&--ot},clear(){},trace(...Qe){console.trace(...Qe)},profile(...Qe){console.profile(...Qe)},profileEnd(...Qe){console.profileEnd(...Qe)}},He=()=>{}},85277:function(d,g,e){"use strict";e.d(g,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},74133:function(d,g,e){"use strict";e.d(g,{j:function(){return Fc},Q:function(){return xf}});var r=e(22575),i=e(89880),l=e.n(i),c=e(59301),f=e(65582),o=e(47735),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(P,O,L)=>O in P?h(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,y=(P,O)=>{for(var L in O||(O={}))a.call(O,L)&&p(P,L,O[L]);if(u)for(var L of u(O))x.call(O,L)&&p(P,L,O[L]);return P},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:P},{call:O,put:L}){return yield O(o.n1,P)},*appplySchool({payload:P},{call:O,put:L}){return yield O(o.bz,P)},*getSchoolOption({payload:P},{call:O,put:L}){return yield O(o.GY,P)},*getDepartmentOption({payload:P},{call:O,put:L}){return yield O(o.Ql,P)},*appplyDepartment({payload:P},{call:O,put:L}){return yield O(o.Zm,P)},*updateAccount({payload:P},{call:O,put:L}){return yield O(o.sG,P)},*cancelRealNameAuth({payload:P},{call:O,put:L}){return yield O(o.P,P)},*cancelProfessionalAuth({payload:P},{call:O,put:L}){return yield O(o.$f,P)},*applyProfessionalAuth({payload:P},{call:O,put:L}){return yield O(o.Ow,P)},*applyRealNameAuth({payload:P},{call:O,put:L}){return yield O(o.ht,P)},*getCode({payload:P},{call:O,put:L}){return yield O(o.Cq,P)},*bindPhone({payload:P},{call:O,put:L}){return yield O(o.eF,P)},*bindEmail({payload:P},{call:O,put:L}){return yield O(o.I8,P)},*updatePassword({payload:P},{call:O,put:L}){return yield O(o.gQ,P)},*unbindAccount({payload:P},{call:O,put:L}){return yield O(o.wi,P)},*getBasicInfo({payload:P},{call:O,put:L}){const ve=yield O(o.o9,P);return yield L({type:"save",payload:{basicInfo:y({},ve)}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:y({},P)}})}},reducers:{save(P,O){return y(y({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},S=e(5959),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,M=(P,O,L)=>O in P?k(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,B=(P,O)=>{for(var L in O||(O={}))A.call(O,L)&&M(P,L,O[L]);if(R)for(var L of R(O))I.call(O,L)&&M(P,L,O[L]);return P},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:P,callback:O},{call:L,put:ve}){return yield L(S.nZ,P)},*informUp({payload:P,callback:O},{call:L,put:ve}){return yield L(S.TO,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:B({},P)}})}},reducers:{save(P,O){return B(B({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},G=e(7310),H=Object.defineProperty,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,J=(P,O,L)=>O in P?H(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Q=(P,O)=>{for(var L in O||(O={}))ne.call(O,L)&&J(P,L,O[L]);if(ae)for(var L of ae(O))oe.call(O,L)&&J(P,L,O[L]);return P},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(G.SV,P);return yield ve({type:"save",payload:{allList:Q({},Oe)}}),Oe},*mineAttachment({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(G.zI,P);return yield ve({type:"save",payload:{mineList:Q({},Oe)}}),Oe},*fileImport({payload:P,callback:O},{call:L,put:ve}){return yield L(G.tO,P)},*getDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(G.Nm,P);return yield ve({type:"save",payload:{detail:Q({},Oe)}}),Oe},*updateVisits({payload:P,callback:O},{call:L,put:ve}){return yield L(G.H,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Q({},P)}})}},reducers:{save(P,O){return Q(Q({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},ee=e(26795),q=Object.defineProperty,le=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,ie=(P,O,L)=>O in P?q(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,me=(P,O)=>{for(var L in O||(O={}))Z.call(O,L)&&ie(P,L,O[L]);if(le)for(var L of le(O))j.call(O,L)&&ie(P,L,O[L]);return P},Pe={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ee.yq,P);return yield ve({type:"save",payload:{boardsCategoryList:me({},Oe.data)}}),Oe.data},*getBoardsDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ee.dI,P);return yield ve({type:"save",payload:{boardsDetail:me({},Oe.data)}}),Oe.data},*setTopping({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.cc,P)},*escTopping({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.CJ,P)},*getReplyList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ee.PC,P);yield ve({type:"save",payload:{replyList:me({},Oe.data)}})},*createReply({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.PP,P)},*replyLike({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.NA,P)},*replyUnLike({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.YQ,P)},*deleteReply({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.Mf,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:me({},P)}})}},reducers:{save(P,O){return me(me({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},Ge=e(87513),je=Object.defineProperty,Dt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Wt=(P,O,L)=>O in P?je(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Rt=(P,O)=>{for(var L in O||(O={}))ht.call(O,L)&&Wt(P,L,O[L]);if(Dt)for(var L of Dt(O))Pt.call(O,L)&&Wt(P,L,O[L]);return P},Ue={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.$Q,P);return yield ve({type:"save",payload:{ScoreRangesData:Oe==null?void 0:Oe.data}}),Oe},*getQuestionResult({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge._U,P);return yield ve({type:"save",payload:{NormalResult:Oe}}),Oe},*getUserExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.xA,P);return yield ve({type:"save",payload:{userExerciseList:Rt({},(Oe==null?void 0:Oe.data)||{})}}),console.log("getUserExercise-res:",Oe),Oe==null?void 0:Oe.data},*getExerciseIdentityPhotos({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.J,P);return yield ve({type:"save",payload:{exerciseIdentityPhotos:Rt({},(Oe==null?void 0:Oe.data)||{})}}),Oe==null?void 0:Oe.data},*getExerciseExportHeadData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.iw,P);return yield ve({type:"save",payload:{exerciseExportHeadData:Rt({},Oe)}}),Oe},*getExerciseUserInfo({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.Ty,P);return(Oe==null?void 0:Oe.status)===0&&(yield ve({type:"save",payload:Rt({},{exerciseUserInfo:Rt({},Oe.data)})})),Oe},*getExaminationIntelligentSettings({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.sA,P);return yield ve({type:"save",payload:{examinationIntelligentSettings:Rt({},Oe)}}),Oe},*getRandomEditExercises({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.yu,P);return yield ve({type:"save",payload:{editRandomExercises:Rt({},Oe)}}),Oe},*getExerciseList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.G$,P);if(Oe!=null&&Oe.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Oe.total_exercise_users)}catch(dn){}return yield ve({type:"save",payload:{exerciseList:Rt({},Oe)}}),yield ve({type:"save",payload:{order_type:P.order_type,order:P.order}}),Oe},*getExerciseStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge._u,P);return yield ve({type:"save",payload:{statisticsList:Rt({},Oe)}}),Oe},*getBrankList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.n$,P);return yield ve({type:"save",payload:{brankList:Rt({},Oe)}}),Oe},*saveBanks({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.lf,P)},*getExerciseCourses({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.N3,P);return yield ve({type:"save",payload:{exerciseCoursesList:Rt({},Oe)}}),Oe},*addExercise({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.uR,P)},*editExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.qf,P);return yield ve({type:"save",payload:{editData:Rt({},Oe)}}),Oe},*getTagDiscipline({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.YY,P);return yield ve({type:"save",payload:{tagDisciplineData:Rt({},Oe)}}),Oe},*editExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.Di,P)},*addExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.MK,P)},*exeriseMoveUpDown({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.GK,P)},*getEndGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.KE,P);return yield ve({type:"save",payload:{endGroups:Rt({},Oe)}}),Oe},*getPublishGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.ux,P);return yield ve({type:"save",payload:{publishGroups:Rt({},Oe)}}),Oe},*getCommonHeader({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.UK,P);return yield ve({type:"save",payload:{commonHeader:Rt({},Oe)}}),Oe},*getReviewExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.BJ,P);return yield ve({type:"save",payload:{reviewExercise:Rt({},Oe)}}),Oe},*postReviewExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.pu,P);return yield ve({type:"save",payload:{reviewExercise:Rt({},Oe)}}),Oe},*getCentralizeReviewExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.X4,P);return yield ve({type:"save",payload:{reviewExercise:Rt({},Oe)}}),Oe},*clearData({payload:P,callback:O},{call:L,put:ve}){yield ve({type:"save",payload:{[P.key]:{}}})},*getReviewGroupExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.W4,P);return yield ve({type:"save",payload:{reviewGroupExercise:Rt({},Oe)}}),Oe},*getWorkSetting({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.Ul,P);return yield ve({type:"save",payload:{workSetting:Rt({},Oe)}}),Oe},*getRedoModal({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.tX,P);return yield ve({type:"save",payload:{redoModal:Rt({},Oe)}}),Oe},*getRedoListModal({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.s,P);return yield ve({type:"save",payload:{redoModal:Rt({},Oe)}}),Oe},*getCodeReviewDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.Xn,P);return yield ve({type:"save",payload:{codeReviewDetail:Rt({},Oe)}}),Oe},*changeScore({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.gG,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Rt({},P)}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:P==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:P},{call:O,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:P}})}},reducers:{save(P,O){return Rt(Rt({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},_t=e(66479),Mt=Object.defineProperty,et=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,qe=(P,O,L)=>O in P?Mt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ne=(P,O)=>{for(var L in O||(O={}))ft.call(O,L)&&qe(P,L,O[L]);if(et)for(var L of et(O))ot.call(O,L)&&qe(P,L,O[L]);return P},ke={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.x_,P);return yield ve({type:"save",payload:{detailList:Ne({},Oe)}}),Oe},*getTasksListDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.QA,P);return yield ve({type:"save",payload:{detailTaskList:Ne({},Oe)}}),Oe},*getTopisDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.B6,P);return yield ve({type:"save",payload:{detail:Ne({},Oe)}}),Oe},*getTasksDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.y3,P);return yield ve({type:"save",payload:{tasksDetail:Ne({},Oe)}}),Oe},*refuseTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.mM,P)},*agreeTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.je,P)},*getReplyList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.PC,P);yield ve({type:"save",payload:{replyList:Ne({},Oe)}})},*createReply({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.PP,P)},*replyLike({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.NA,P)},*replyUnLike({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.YQ,P)},*deleteReply({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.Mf,P)},*addTopicDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.y0,P);yield ve({type:"save",payload:{addTopicData:Ne({},Oe)}})},*editTopicDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.hL,P);return yield ve({type:"save",payload:{editTopicData:Ne({},Oe)}}),Oe},*editTasksDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t._n,P);return yield ve({type:"save",payload:{editTasksData:Ne({},Oe)}}),Oe},*addTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.Gr,P)},*editTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.wA,P)},*addTasks({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.Sv,P)},*editTasks({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.RP,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ne({},P)}})}},reducers:{save(P,O){return Ne(Ne({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},$e=e(89392),He=e(88761),Qe=Object.defineProperty,ut=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,tr=(P,O,L)=>O in P?Qe(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Me=(P,O)=>{for(var L in O||(O={}))pt.call(O,L)&&tr(P,L,O[L]);if(ut)for(var L of ut(O))or.call(O,L)&&tr(P,L,O[L]);return P},Yt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.h$,P);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(P),localStorage.setItem("all_student_works_param",JSON.stringify(P))}catch(dn){}return yield ve({type:"save",payload:{workList:Me({},Oe)}}),Oe},*getShixunWorkHeadInfo({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.fK,P);try{}catch(dn){}return yield ve({type:"save",payload:{headerInfo:Oe==null?void 0:Oe.data}}),Oe},*getShixunWorkList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Z8,P);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(P),localStorage.setItem("all_student_works_param",JSON.stringify(P))}catch(dn){}return yield ve({type:"save",payload:{shixunWorkList:Oe==null?void 0:Oe.data,homeworkAssistantPermissions:Oe.homework_assistant_permissions,shixunAssistantPermission:Oe.shixun_assistant_permission,courseAssistantPermission:Oe.course_assistant_permission}}),Oe},*getCodeReview({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.RP,P);return yield ve({type:"save",payload:{codeReview:Me({},Oe)}}),Oe},*getCodeReviewDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Xn,P);return yield ve({type:"save",payload:{codeReviewDetail:Me({},Oe)}}),Oe},*getWorkDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.to,P);return yield ve({type:"save",payload:{workDetail:Me({},Oe)}}),Oe},*updateWork({payload:P,callback:O},{call:L,put:ve}){return yield L(He.H,P)},*getShixunWorkReport({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.sw,P);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(dn){}return yield ve({type:"save",payload:{shixunWorkReport:Me({},Oe)}}),Oe},*getShixunWorkReports({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.cz,P);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(dn){}return yield ve({type:"save",payload:{shixunWorkReport:Me({},Oe)}}),Oe},*getWorkSetting({payload:P,callback:O},{call:L,put:ve}){var Oe,dn;const In=yield L(He.Ul,P);(Oe=In==null?void 0:In.group_settings)==null||Oe.map(Mi=>{Mi.value=Mi.group_name,Mi.id=Mi.group_id,Mi.group_id=[Mi.group_id]}),(dn=In==null?void 0:In.allow_late_settings)==null||dn.map(Mi=>{Mi.value=Mi.group_name,Mi.id=Mi.group_id,Mi.group_id=[Mi.group_id]});const pn={shixun_evaluation:In.shixun_evaluation,challenge_settings:In.challenge_settings};return yield ve({type:"save",payload:{workSetting:Me({},In),changeData:(0,$e.cloneDeep)(pn)}}),In},*updateSetting({payload:P,callback:O},{call:L,put:ve}){return yield L(He.m7,P)},*getCodeReviewCourse({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.JG,P);return yield ve({type:"save",payload:{codeReviewCourse:Me({},Oe)}}),Oe},*exportShixunWorks({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Dx,P)},*getReferenceAnswer({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Q3,P);return yield ve({type:"save",payload:{referenceAnswer:Me({},Oe)}}),Oe},*getPublishGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ux,P);return yield ve({type:"save",payload:{publishGroups:Me({},Oe)}}),Oe},*getEndGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.KE,P);return yield ve({type:"save",payload:{endGroups:Me({},Oe)}}),Oe},*getBrankList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.n$,P);return yield ve({type:"save",payload:{brankList:Me({},Oe)}}),Oe},*changeScore({payload:P,callback:O},{call:L,put:ve}){return yield L(He.gG,P)},*saveBanks({payload:P,callback:O},{call:L,put:ve}){return yield L(He.lf,P)},*addCommonHomeWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Qt,P);return yield ve({type:"save",payload:{commonHomeWorkAddDefaultData:Me({},Oe)}}),Oe},*getSearchMemberList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Lz,P);return yield ve({type:"save",payload:{searchMemberList:Me({},Oe)}}),Oe},*getProjectList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ku,P);return yield ve({type:"save",payload:{searchProjectList:Me({},Oe)}}),Oe},*addStudentWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ak,P);return yield ve({type:"save",payload:{studentWorkAddDefaultData:Me({},Oe)}}),Oe},*editStudentWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.PW,P);return yield ve({type:"save",payload:{studentWorkEditDefaultData:Me({},Oe)}}),Oe},*editCommonHomeWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.BD,P);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Me({},Oe)}}),Oe},*editCommonHomeWorkDefaultBankData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.pH,P);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Me({},Oe)}}),Oe},*getReplyList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.PC,P);yield ve({type:"save",payload:{replyList:Me({},Oe)}})},*getStudentWorkDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Hj,P);yield ve({type:"save",payload:{studentWorkDetail:Me({},Oe)}})},*getStudentWorkSupplyDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ub,P);yield ve({type:"save",payload:{studentWorkSupplyDetail:Me({},Oe)}})},*getStudentWorkCommon({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.JA,P);yield ve({type:"save",payload:{studentWorkCommon:Me({},Oe)}})},*getAllStudentWorks({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ql,P);return yield ve({type:"save",payload:{allStudentWorks:Me({},Oe)}}),Oe},*getFileRepeatResult({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.oN,P);return yield ve({type:"save",payload:{codeReview:Me({},Oe)}}),Oe},*getFileRepeatDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Ti,P);return yield ve({type:"save",payload:{codeReviewDetail:Me({},Oe)}}),Oe},*createReply({payload:P,callback:O},{call:L,put:ve}){return yield L(He.PP,P)},*replyLike({payload:P,callback:O},{call:L,put:ve}){return yield L(He.NA,P)},*replyUnLike({payload:P,callback:O},{call:L,put:ve}){return yield L(He.YQ,P)},*deleteReply({payload:P,callback:O},{call:L,put:ve}){return yield L(He.Mf,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Me({},P)}})}},reducers:{save(P,O){return Me(Me({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Ot=e(33270),Zt=e(41867),Gt=Object.defineProperty,lr=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ce=(P,O,L)=>O in P?Gt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,pe=(P,O)=>{for(var L in O||(O={}))Ht.call(O,L)&&ce(P,L,O[L]);if(lr)for(var L of lr(O))Te.call(O,L)&&ce(P,L,O[L]);return P},Ae={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:P},{call:O,put:L}){yield O(Ot.gq,P)},*getAssistantPermissions({payload:P},{call:O,put:L}){if(!(0,Zt.eB)())return;const ve=yield O(Ot.rS,P);yield L({type:"save",payload:{AssistantObject:ve.permissions}})},*getAiStatusQuery({payload:P},{call:O,put:L}){const ve=yield O(Ot.LH,P);return yield L({type:"save",payload:{cal_finish_if:ve.cal_finish_if}}),ve},*updateCoursePortraitData({payload:P},{call:O,put:L}){return yield O(Ot.Z_,P)},*getUserPortraitConfig({payload:P},{call:O,put:L}){const ve=yield O(Ot._0,P);return yield L({type:"save",payload:{userPortraitConfig:ve.data}}),ve},*updateUserPortraitConfig({payload:P},{call:O,put:L}){return yield O(Ot.r2,P)},*getClassroom({payload:P},{call:O,put:L}){const ve=P,Oe=yield O(Ot.V8,P);return yield L({type:"save",payload:pe({listParams:ve},Oe)}),Oe},*getClassroomTopBanner({payload:P},{call:O,put:L}){const ve=yield O(Ot.U_,P);return yield L({type:"save",payload:{detailTopBanner:ve.status?{copy_completed:!0}:pe({},ve)}}),ve.status?{copy_completed:!0}:ve},*getClassroomLeftMenus({payload:P},{call:O,put:L}){const ve=yield O(Ot.w9,P);let Oe=[...(ve==null?void 0:ve.course_modules)||[],...(ve==null?void 0:ve.hidden_modules)||[]],dn={};return Oe==null||Oe.forEach(In=>{dn[In.type]=In.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},ve),detailLeftMenusNames:dn}}),ve},*getClassroomShixunsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Nd,P);yield L({type:"save",payload:{detailShixunsList:pe({},ve)}})},*getClassroomTeacherShixunsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Gk,P);return yield L({type:"save",payload:{detailShixunsList:pe({},ve)}}),ve},*getClassroomCommonList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Nd,P);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomTeacherCommonList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Gk,P);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}}),ve},*getClassroomGraduationTopicsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.yV,P);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},ve)}})},*getClassroomGraduationTaskList({payload:P},{call:O,put:L}){const ve=yield O(Ot.R2,P);yield L({type:"save",payload:{detailGraduationTaskList:pe({},ve)}})},*getClassroomExercisesList({payload:P},{call:O,put:L}){const ve=yield O(Ot.N7,P);yield L({type:"save",payload:{detailExerciseList:pe({},ve)}})},*getClassroomPollsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.BR,P);yield L({type:"save",payload:{detailPollsList:pe({},ve)}})},*getCourseGroups({payload:P},{call:O,put:L}){const ve=yield O(Ot.qB,P);yield L({type:"save",payload:{courseGroups:pe({},ve)}})},*getAllCourseGroup({payload:P},{call:O,put:L}){const ve=yield O(Ot.c_,P);return yield L({type:"save",payload:{allCourseGroups:pe({},ve)}}),ve},*getClassroomCommonHomeworksList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Al,P);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomAttendancesList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Vw,P);yield L({type:"save",payload:{detailAttendancesList:pe({},ve)}})},*getClassroomAttendancesStatistic({payload:P},{call:O,put:L}){const ve=yield O(Ot.Ls,P);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},ve)}})},*getAttendanceDetail({payload:P},{call:O,put:L}){const ve=yield O(Ot.zg,P);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},ve)}}),ve},*getAnnouncementList({payload:P},{call:O,put:L}){const ve=yield O(Ot.QZ,P);yield L({type:"save",payload:{detailAnnouncementList:pe({},ve)}})},*getAttachmentList({payload:P},{call:O,put:L}){const ve=yield O(Ot.KT,P);yield L({type:"save",payload:{detailAttachmentList:pe({},ve.data)}})},*getCourseware({payload:P},{call:O,put:L}){const ve=yield O(Ot.ZT,P);yield L({type:"save",payload:{detailCourseware:pe({},ve.data)}})},*getVideoList({payload:P},{call:O,put:L}){const ve=yield O(Ot.O3,P);yield L({type:"save",payload:{detailVideoList:pe({},ve)}})},*getLiveVideoList({payload:P},{call:O,put:L}){const ve=yield O(Ot.DJ,P);yield L({type:"save",payload:{detailLiveVideoList:pe({},ve)}})},*getCoursesMine({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.Ed,P);return yield ve({type:"save",payload:{courseMine:pe({},Oe)}}),Oe.data},*getBoardList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.KP,P);return yield ve({type:"save",payload:{detailBoardList:pe({},Oe.data)}}),Oe.data},*getCourseGroupsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.kW,P);return yield ve({type:"save",payload:{detailCourseGroupsList:pe({},Oe)}}),Oe},*getCourseStudentsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.J2,P);return yield ve({type:"save",payload:{detailCoursStudentsList:pe({},Oe)}}),Oe.data},*getCourseStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.g4,P);return yield ve({type:"save",payload:{detailCourseStatisticsList:pe({},Oe)}}),Oe},*getCourseActscore({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.t1,P);return yield ve({type:"save",payload:{detailCourseActscore:pe({},Oe)}}),Oe},*getCourseWorkscore({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.GV,P);return yield ve({type:"save",payload:{detailCourseWorkscore:pe({},Oe)}}),Oe},*getShixunLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.Pj,P);return yield ve({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getExperimentLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot._9,P);return yield ve({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getShixunAiRecommendLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.Hn,P);return yield ve({type:"save",payload:{shixunAiRecommendLists:pe({},Oe)}}),Oe},*getCoursesLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.W7,P);return yield ve({type:"save",payload:{coursesLists:pe({},Oe)}}),Oe},*createCoursesHomework({payload:P,callback:O},{call:L,put:ve}){return yield L(Ot.Ds,P)},*createShixunHomework({payload:P,callback:O},{call:L,put:ve}){return yield L(Ot.aQ,P)},*createExperiment({payload:P,callback:O},{call:L,put:ve}){return yield L(Ot.BQ,P)},*getSchoolList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.K$,P);return yield ve({type:"save",payload:{schoolList:pe({},Oe.school_names)}}),Oe.school_names},*searchSchoolTeacherList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.nQ,P);return yield ve({type:"save",payload:{searchMemberList:pe({},Oe)}}),Oe},*getAllTaskList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.km,P);return yield ve({type:"save",payload:{taskList:[...Oe.tasks]}}),Oe},*updateTaskPosition({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.U8,P);return yield ve({type:"save",payload:{actionTabs:{key:""}}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pe({},P)}})},*setUpdateData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateData:P}})}},reducers:{save(P,O){return pe(pe({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},st=Object.defineProperty,$t=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,yt=(P,O,L)=>O in P?st(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ze=(P,O)=>{for(var L in O||(O={}))bt.call(O,L)&&yt(P,L,O[L]);if($t)for(var L of $t(O))Ce.call(O,L)&&yt(P,L,O[L]);return P},dt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:P},{call:O,put:L}){const ve=yield O(Ot.K$,P);yield L({type:"save",payload:{schoolList:(ve==null?void 0:ve.school_names)||[]}})},*getSearchCourseList({payload:P},{call:O,put:L}){const ve=yield O(Ot.oM,P);yield L({type:"save",payload:{searchCourseList:(ve==null?void 0:ve.course_lists)||[]}})},*submitCourses({payload:P},{call:O,put:L}){return yield O(Ot.Bn,P)},*appplySchool({payload:P},{call:O,put:L}){return yield O(Ot.bz,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ze({},P)}})},*joincoursegroup({payload:P},{call:O,put:L}){return yield O(Ot.WK,P)}},reducers:{save(P,O){return ze(ze({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},It=Object.defineProperty,Be=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Jr=(P,O,L)=>O in P?It(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,an=(P,O)=>{for(var L in O||(O={}))Or.call(O,L)&&Jr(P,L,O[L]);if(Be)for(var L of Be(O))mt.call(O,L)&&Jr(P,L,O[L]);return P},Jt={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:P},{call:O,put:L}){const ve=yield O(Ot.Dd,P);yield L({type:"save",payload:{CourseUseInfos:ve}})},*getRankList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Fg,P);yield L({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(ve==null?void 0:ve.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(ve==null?void 0:ve.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(ve==null?void 0:ve.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(ve==null?void 0:ve.finish_course_list)||[]]}}})},*getStatisticsBody({payload:P},{call:O,put:L}){const ve=yield O(Ot.Gz,P);yield L({type:"save",payload:{SBody:ve}})},*getStatisticsHeader({payload:P},{call:O,put:L}){const ve=yield O(Ot.Hl,P);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(P,O){return an(an({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Lt=e(43150),Qt=Object.defineProperty,wr=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Kt=(P,O,L)=>O in P?Qt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Bt=(P,O)=>{for(var L in O||(O={}))Ir.call(O,L)&&Kt(P,L,O[L]);if(wr)for(var L of wr(O))At.call(O,L)&&Kt(P,L,O[L]);return P},br={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.s3,P);return yield ve({type:"save",payload:{pollsList:Bt({},Oe)}}),Oe},*getCommonHeader({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.UK,P);return yield ve({type:"save",payload:{commonHeader:Bt({},Oe)}}),Oe},*getPollsStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Qn,P);return yield ve({type:"save",payload:{statisticsList:Bt({},Oe)}}),Oe},*getBrankList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.n$,P);return yield ve({type:"save",payload:{brankList:Bt({},Oe)}}),Oe},*saveBanks({payload:P,callback:O},{call:L,put:ve}){return yield L(Lt.lf,P)},*getPollsCourses({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Q9,P);return yield ve({type:"save",payload:{pollsCoursesList:Bt({},Oe)}}),Oe},*getPollsSetting({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Hi,P);return yield ve({type:"save",payload:{pollSetting:Bt({},Oe)}}),Oe},*editPolls({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Ye,P);return yield ve({type:"save",payload:{editData:Bt({},JSON.parse(JSON.stringify(Oe)))}}),Oe},*getEndGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.KE,P);return yield ve({type:"save",payload:{endGroups:Bt({},Oe)}}),Oe},*getPublishGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.ux,P);return yield ve({type:"save",payload:{publishGroups:Bt({},Oe)}}),Oe},*getExerciseBanks({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.kp,P);return yield ve({type:"save",payload:{exerciseBanks:Bt({},Oe)}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Bt({},P)}})}},reducers:{save(P,O){return Bt(Bt({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},Qr=e(93539),Hr=Object.defineProperty,jn=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,St=(P,O,L)=>O in P?Hr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Vr=(P,O)=>{for(var L in O||(O={}))En.call(O,L)&&St(P,L,O[L]);if(jn)for(var L of jn(O))Yn.call(O,L)&&St(P,L,O[L]);return P},Bi={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:P},{call:O,put:L}){var ve;const Oe=yield O(Qr.gp,P);return(ve=Oe==null?void 0:Oe.teacher_list)==null||ve.map(dn=>(dn.key=dn.course_member_id,dn)),yield L({type:"save",payload:{list:Oe}}),Oe},*getStudentsList({payload:P},{call:O,put:L}){var ve;const Oe=yield O(Qr.ur,P);return(ve=Oe==null?void 0:Oe.students)==null||ve.map(dn=>(dn.key=dn.user_id,dn)),yield L({type:"save",payload:{studentsList:Oe}}),Oe},*getApplyList({payload:P},{call:O,put:L}){const ve=yield O(Qr.s,P);return yield L({type:"save",payload:{applyList:ve}}),ve},*getAllCourseGroups({payload:P},{call:O,put:L}){const ve=yield O(Qr.xV,P);return yield L({type:"save",payload:{allCourseGroups:ve}}),ve},*getGraduationGroupList({payload:P},{call:O,put:L}){const ve=yield O(Qr.Bg,P);return yield L({type:"save",payload:{graduationGroupList:ve}}),ve},*setAllCourseGroups({payload:P},{call:O,put:L}){const ve=yield O(Qr.oZ,P);return yield L({type:"save",payload:{setAllCourseGroups:ve}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Vr({},P)}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(P,O){return Vr(Vr({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},$n=e(54624),ci=Object.defineProperty,Oi=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Ai=Object.prototype.propertyIsEnumerable,ji=(P,O,L)=>O in P?ci(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ha=(P,O)=>{for(var L in O||(O={}))zi.call(O,L)&&ji(P,L,O[L]);if(Oi)for(var L of Oi(O))Ai.call(O,L)&&ji(P,L,O[L]);return P},Yi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.BQ,P);return yield ve({type:"save",payload:{videoStatisticsList:ha({},Oe)}}),Oe},*getNewVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.cU,P);return yield ve({type:"save",payload:{newVideoStatisticsList:ha({},Oe)}}),Oe},*getVideoPeopleStatics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.Zx,P);return yield ve({type:"save",payload:{videoPeopleStatics:ha({},Oe)}}),Oe},*getVideoDurationStatics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.Mz,P);return yield ve({type:"save",payload:{videoDurationStatics:ha({},Oe)}}),Oe},*getVideoStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.ZY,P);return yield ve({type:"save",payload:{videoStatistics:ha({},Oe)}}),Oe},*getOneVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.cU,P);return yield ve({type:"save",payload:{oneVideoStatisticsList:ha({},Oe)}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ha({},P)}})},*getStudentVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.Vg,P);return yield ve({type:"save",payload:{StudentvideoStatistics:ha({},Oe)}}),Oe}},reducers:{save(P,O){return ha(ha({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},mi=e(30945),Zi=Object.defineProperty,Ta=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Wi=(P,O,L)=>O in P?Zi(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,vi=(P,O)=>{for(var L in O||(O={}))xt.call(O,L)&&Wi(P,L,O[L]);if(Ta)for(var L of Ta(O))xa.call(O,L)&&Wi(P,L,O[L]);return P},Gi={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.cC,P)},*getGuides({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.Ax,P);return yield ve({type:"save",payload:{GuidesData:Oe}}),Oe},*getWorkSubmitUpdateRes({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.zF,P)},*getList({payload:P},{call:O,put:L}){const ve=P,Oe=yield O(mi.bQ,P);return yield L({type:"save",payload:vi({listParams:ve},Oe)}),Oe},*getMemberWorks({payload:P},{call:O,put:L}){const ve=yield O(mi.xx,P);return yield L({type:"save",payload:{MemberWorks:ve||{}}}),ve},*addApplytojoincourse({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.qS,P)},*competitionTeams({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Pt,P)},*getStaff({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.Dh,P);return yield ve({type:"save",payload:{Staff:Oe}}),Oe},*getHeader({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.Pg,P);return yield ve({type:"save",payload:{Header:Oe}}),Oe},*getItem({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.rV,P);return yield ve({type:"save",payload:{RightItems:Oe}}),Oe},*updateMdContent({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.zj,P)},*getTeamList({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.aq,P)},*getTeamDetail({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Ze,P)},*UpTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.yS,P)},*DeleteTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.ps,P)},*ExitTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.vV,P)},*AddTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.FU,P)},*AddPersonnel({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.R9,P)},*JoinTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.zc,P)},*getTeacher({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.jS,P)},*getStudents({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.sK,P)},*SubmitTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.rm,P)},*Reward({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Qp,P)},*ChartRules({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Ux,P)},*Charts({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.GQ,P)},*TabResults({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.ml,P);return yield ve({type:"save",payload:{TabResultList:Oe}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:vi({},P)}})},*Results({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.u9,P)},*Prize({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.pU,P);return yield ve({type:"save",payload:{Prizes:Oe}}),Oe},*Accounts({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.XJ,P);return yield ve({type:"save",payload:{Account:Oe}}),Oe},*getVerification({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Ni,P)},*PhoneBind({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.uZ,P)},*EmailBind({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.rk,P)},*Authentication({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Vy,P)},*Professional({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.tC,P)},*setleader({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.tO,P)},*getShixun({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.qj,P)},*getCourse({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.XR,P)},*competition_teams({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.zz,P);return yield ve({type:"save",payload:{competition_team:Oe}}),Oe},*all_team_members({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.$P,P);return yield ve({type:"save",payload:{all_team_member:Oe}}),Oe}},reducers:{save(P,O){return vi(vi({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},ei=e(55510),zn=e(86967),we=Object.defineProperty,nt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,pr=(P,O,L)=>O in P?we(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Tr=(P,O)=>{for(var L in O||(O={}))lt.call(O,L)&&pr(P,L,O[L]);if(Ct)for(var L of Ct(O))hr.call(O,L)&&pr(P,L,O[L]);return P},zr=(P,O)=>nt(P,Je(O)),Nr={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${zn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${zn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Tr({},P)}})},*getMajorList({payload:P},{call:O,put:L,select:ve}){const{userInfo:Oe}=yield ve(dn=>dn.user);if(Oe!=null&&Oe.school_id){const dn=yield O(ei.BA,Oe.school_id);dn&&dn.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[0],value:dn.data.map(In=>({label:In.name,value:In.ec_major_school_id}))}}))}},*getYearList({payload:P},{call:O,put:L}){const ve=yield O(ei.Nx,P);ve&&ve.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[1],value:ve.data.map(Oe=>({label:Oe.year,value:Oe.ec_year_id}))}}))},*getCourseResultDetail({payload:P},{call:O,put:L}){console.log(P,"payload");const ve=yield O(ei.p1,P);ve&&ve.ec_course_target&&(yield L({type:"setEchartsData",payload:ve}))},*getCourseResultDetailClass({payload:P},{call:O,put:L}){const ve=yield O(ei.ff,P);ve&&ve.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...ve.class_name]}}}))},*setClassActive({payload:P},{call:O,put:L}){yield L({type:"save",payload:{classDataSource:Tr({},P)}})}},reducers:{save(P,O){return Tr(Tr({},P),O.payload)},setMajorOrYearDataSource(P,{payload:O}){return zr(Tr({},P),{headerData:zr(Tr({},P.headerData),{dataSource:zr(Tr({},P.headerData.dataSource),{[O.key]:zr(Tr({},P.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(P,{payload:O}){return zr(Tr({},P),{headerData:zr(Tr({},P.headerData),{active:zr(Tr({},P.headerData.active),{[O.key]:O.value})})})},setEchartsData(P,{payload:O}){let L={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},ve={name:O.course_name||"",xData:[],seriesData:[]},Oe={};return O.ec_course_target.forEach((dn,In)=>{dn.position=In+1,L=zr(Tr({},L),{dataSource:{xData:[...L.dataSource.xData,In+1],yBarData:[...L.dataSource.yBarData,dn.actual_grade],yLineData:[...L.dataSource.yLineData,dn.standard_grade]}});let pn=[],Mi={min:[],max:[]},ds=[],$a=[],Yo=[];dn.student_data.detail.forEach((is,Po)=>{let $s=is.score;pn.push(Po+1),Mi.max.push($s>=dn.student_data.goal_score?$s:null),Mi.min.push($s>=dn.student_data.goal_score?null:$s),ds.push(is.name),$a.push(is.student_id),Yo.push(is.clazz)}),Oe[In+1]={name:In+1,average_score:dn.student_data.average_score,goal_score:dn.student_data.goal_score,xData:pn,yData:Mi,name_data:ds,student_ids:$a,class_data:Yo,goal_scoreData:new Array(dn.student_data.detail.length).fill(dn.student_data.goal_score),average_scoreData:new Array(dn.student_data.detail.length).fill(dn.student_data.average_score)}}),O.history.forEach(dn=>{ve=zr(Tr({},ve),{xData:[...ve.xData,dn.year],seriesData:[...ve.seriesData,dn.total_score]})}),zr(Tr({},P),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:L,lineData:ve,scatterData:Oe}})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},An=Object.defineProperty,vr=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Ke=(P,O,L)=>O in P?An(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ct=(P,O)=>{for(var L in O||(O={}))Fn.call(O,L)&&Ke(P,L,O[L]);if(vr)for(var L of vr(O))Xn.call(O,L)&&Ke(P,L,O[L]);return P},sr={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ct({},P)}})},*setShowMenu({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showMenu:P}})},*setMatrixVerify({payload:P},{call:O,put:L}){yield L({type:"save",payload:{matrixVerify:ct({},P)}})}},reducers:{save(P,O){return ct(ct({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},nr=e(2001),kr=Object.defineProperty,Gr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,Si=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,yn=(P,O,L)=>O in P?kr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,$r=(P,O)=>{for(var L in O||(O={}))Si.call(O,L)&&yn(P,L,O[L]);if(hn)for(var L of hn(O))un.call(O,L)&&yn(P,L,O[L]);return P},kn=(P,O)=>Gr(P,Wr(O)),wa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${zn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${zn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:$r({},P)}})},*getMajorList({},{call:P,put:O,select:L}){const{userInfo:ve}=yield L(Oe=>Oe.user);if(ve!=null&&ve.school_id){const Oe=yield P(ei.BA,ve.school_id);if(Oe&&Oe.data){const dn=nr.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:zn.k[0],value:Oe.data.map(In=>({label:In.name,value:In.ec_major_school_id})),active:Oe.data.length>0?dn[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:P},{call:O,put:L,select:ve}){const Oe=yield O(ei.Nx,P.id),{userInfo:dn}=yield ve(In=>In.user);if(Oe&&Oe.data){const In=nr.U.getItem(dn==null?void 0:dn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[1],value:Oe.data.map(pn=>({label:pn.year,value:pn.ec_year_id})),active:Oe.data.length>0?P.firstEnter?In[1]:Oe.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:P,put:O,select:L}){const{headerData:ve}=yield L(In=>In.engineeringNavigtion),{userInfo:Oe}=yield L(In=>In.user);let dn={};if(ve.active[zn.k[1]]&&Oe.school_id){const In=[ve.active[zn.k[0]],ve.active[zn.k[1]]];nr.U.setItem(Oe==null?void 0:Oe.login,In);const pn=yield P(ei.bA,{ec_year_id:ve.active[zn.k[1]],school_id:Oe.school_id});pn&&pn.data&&(dn=pn.data),yield O({type:"setTopPage",payload:dn})}},*putTopPageName({payload:P,callback:O},{call:L,put:ve}){try{const Oe=yield L(ei.ay,P);O(Oe)}catch(Oe){let dn="";Oe&&(dn=JSON.stringify(Oe),Oe.message&&(dn=Oe.message)),O({message:dn,status:999})}}},reducers:{save(P,O){return $r($r({},P),O.payload)},setMajorOrYearDataSource(P,{payload:O}){let L=P.headerData.active;return O.active&&(L=kn($r({},L),{[O.key]:O.active})),kn($r({},P),{headerData:kn($r({},P.headerData),{dataSource:kn($r({},P.headerData.dataSource),{[O.key]:kn($r({},P.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(P,{payload:O}){return kn($r({},P),{headerData:kn($r({},P.headerData),{active:kn($r({},P.headerData.active),{[O.key]:O.value})})})},setTopPage(P,{payload:O}){return kn($r({},P),{headerData:kn($r({},P.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:kn($r({},P.cardListData),{appraiseData:kn($r({},P.cardListData.appraiseData),{norm:kn($r({},P.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:P.cardListData.appraiseData.norm.listData.map(L=>kn($r({},L),{value:O[L.key]||0}))}),course:kn($r({},P.cardListData.appraiseData.course),{result:O.course_result,listData:P.cardListData.appraiseData.course.listData.map(L=>kn($r({},L),{value:O[L.key]||0}))})}),teamData:{teach:kn($r({},P.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:kn($r({},P.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:P.totalListData.map(L=>kn($r({},L),{value:O[L.key]||0}))})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},qs=Object.defineProperty,Ba=Object.defineProperties,zs=Object.getOwnPropertyDescriptors,Ns=Object.getOwnPropertySymbols,as=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Aa=(P,O,L)=>O in P?qs(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ps=(P,O)=>{for(var L in O||(O={}))as.call(O,L)&&Aa(P,L,O[L]);if(Ns)for(var L of Ns(O))oo.call(O,L)&&Aa(P,L,O[L]);return P},ps=(P,O)=>Ba(P,zs(O)),qi={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ps({},P)}})},*getGraduationResultDetail({payload:P},{call:O,put:L}){const ve=yield O(ei.gq,P);yield L({type:"save",payload:{dataSource:ve}})}},reducers:{save(P,O){return Ps(Ps({},P),O.payload)},setDataSource(P,{payload:O}){let L=O;return ps(Ps({},P),{dataSource:L})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},to=e(8591),Zo=Object.defineProperty,Na=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,di=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,ss=(P,O,L)=>O in P?Zo(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Is=(P,O)=>{for(var L in O||(O={}))ro.call(O,L)&&ss(P,L,O[L]);if(di)for(var L of di(O))Rn.call(O,L)&&ss(P,L,O[L]);return P},Os=(P,O)=>Na(P,Zs(O)),Xi=(P,O)=>{var L={};for(var ve in P)ro.call(P,ve)&&O.indexOf(ve)<0&&(L[ve]=P[ve]);if(P!=null&&di)for(var ve of di(P))O.indexOf(ve)<0&&Rn.call(P,ve)&&(L[ve]=P[ve]);return L},Ni={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${zn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${zn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Is({},P)}})},*getMajorList({},{call:P,put:O,select:L}){const{userInfo:ve}=yield L(Oe=>Oe.user);if(ve!=null&&ve.school_id){const Oe=yield P(ei.BA,ve.school_id);if(Oe&&Oe.data){const dn=nr.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:zn.k[0],value:Oe.data.map(In=>({label:In.name,value:In.ec_major_school_id})),active:Oe.data.length>0?dn[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:P},{call:O,put:L,select:ve}){const Oe=yield O(ei.Nx,P.id),{userInfo:dn}=yield ve(In=>In.user);if(Oe&&Oe.data){const In=nr.U.getItem(dn==null?void 0:dn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[1],value:Oe.data.map(pn=>({label:pn.year,value:pn.ec_year_id})),active:Oe.data.length>0?P.firstEnter?In[1]:Oe.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:P,put:O,select:L}){const{headerData:ve}=yield L(ds=>ds.engineeringNormList),{userInfo:Oe}=yield L(ds=>ds.user);let dn=[],In=[],pn="";const Mi=ve.active[zn.k[1]];if(Mi){const ds=[ve.active[zn.k[0]],ve.active[zn.k[1]]];nr.U.setItem(Oe==null?void 0:Oe.login,ds);const $a=yield P(ei.eM,Mi);$a&&$a.graduation_requirements&&(pn=$a.all_goal_value||"",dn=$a.graduation_requirements.map(Yo=>{var is=Yo,{subitems:Po}=is,$s=Xi(is,["subitems"]);return In.push($s.id),Os(Is({},$s),{children:Po})}))}yield O({type:"save",payload:{tabListData:dn,all_goal_value:pn,expandedRowKeys:In}})},*exportGraduation({},{call:P,select:O}){const{headerData:L}=yield O(ve=>ve.engineeringNormList);L.active[zn.k[1]]&&(yield P(ei.OE,L.active[zn.k[1]]))},*compute({payload:P},{call:O,put:L}){const ve=P,{all:Oe}=ve,dn=Xi(ve,["all"]),In=yield O(Oe?ei.Qx:ei.Xl,dn);In&&In.status===0?(to.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):to.ZP.error(In.message)},*getFormulas({callback:P},{call:O,select:L}){const{headerData:ve}=yield L(Oe=>Oe.engineeringNormList);if(ve.active[zn.k[1]]){const Oe=yield O(ei.mK,ve.active[zn.k[1]]);P(Oe)}},*setFormulas({payload:P,callback:O},{call:L}){const ve=yield L(ei.y9,P);O(ve)},*putGoalValue({payload:P},{call:O,put:L}){const ve=yield O(ei.No,P);if(ve&&ve.status===0)to.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let Oe="\u4FDD\u5B58\u5931\u8D25";ve&&ve.message&&(Oe=ve.message),to.ZP.error(Oe)}}},reducers:{save(P,O){return Is(Is({},P),O.payload)},setMajorOrYearDataSource(P,{payload:O}){let L=P.headerData.active;return O.active&&(L=Os(Is({},L),{[O.key]:O.active})),Os(Is({},P),{headerData:Os(Is({},P.headerData),{dataSource:Os(Is({},P.headerData.dataSource),{[O.key]:Os(Is({},P.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(P,{payload:O}){return Os(Is({},P),{headerData:Os(Is({},P.headerData),{active:Os(Is({},P.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Ds=e(16209),xo=Object.defineProperty,Wo=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,vu=(P,O,L)=>O in P?xo(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,go=(P,O)=>{for(var L in O||(O={}))Xo.call(O,L)&&vu(P,L,O[L]);if(Wo)for(var L of Wo(O))mu.call(O,L)&&vu(P,L,O[L]);return P},Oo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:P},{call:O,put:L}){const ve=yield O(Ds.Si,P);return yield L({type:"save",payload:{forumsDetailData:go({},ve)}}),ve},*setForumsDetailData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{forumsDetailData:go({},P)}})}},reducers:{save(P,O){return go(go({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},nu=Object.defineProperty,Qo=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,Ja=(P,O,L)=>O in P?nu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ls=(P,O)=>{for(var L in O||(O={}))hi.call(O,L)&&Ja(P,L,O[L]);if(Qo)for(var L of Qo(O))gi.call(O,L)&&Ja(P,L,O[L]);return P},Ha={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:P},{call:O,put:L}){const ve=yield O(P.memoType==="shixun_discuss"?Ds.kd:Ds.bc,P);return delete P.memoType,yield L({type:"save",payload:{listParams:P,forumsData:ls({},ve)}}),ve}},reducers:{save(P,O){return ls(ls({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},ms=e(79274),qo=e(74128),ks=e(28209),Mo=e.n(ks),wu=Object.defineProperty,Iu=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Fo=(P,O,L)=>O in P?wu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,uo=(P,O)=>{for(var L in O||(O={}))rl.call(O,L)&&Fo(P,L,O[L]);if(Iu)for(var L of Iu(O))dl.call(O,L)&&Fo(P,L,O[L]);return P},Gu={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:P},{call:O,put:L}){var ve,Oe;const dn=yield O(ms.D2,P);qo.Z.ONLYOFFICE=(ve=dn==null?void 0:dn.setting)==null?void 0:ve.office_server_url,Bo(dn);try{const Mi="5183666c72eec9e4",ds="5183666c72eec9e4";var In=Mo().enc.Utf8.parse(Mi);let $a=Mo().enc.Utf8.parse(ds);var pn=Mo().AES.decrypt(((Oe=dn==null?void 0:dn.setting)==null?void 0:Oe.user_default_password)||"",In,{iv:$a,mode:Mo().mode.CBC});dn.setting.user_default_password=pn.toString(Mo().enc.Utf8)}catch(Mi){}yield L({type:"save",payload:uo({},dn)})},*getSystemUpdate({payload:P},{call:O,put:L}){const ve=yield O(ms.n0,P);yield L({type:"save",payload:{updateData:uo({},ve)}})},*setTheme({payload:P},{call:O,put:L}){const ve=yield O(ms.n0,P);yield L({type:"save",payload:{theme:P||"default"}})},*setShareData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{shareData:P}})},*setGlobalLoading({payload:P},{call:O,put:L}){yield L({type:"save",payload:{globalLoading:uo({},P)}})},*delayTipToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showTip:P}})},*headerToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showHeader:P}})},*footerToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showFooter:P}})},*headerFooterToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFooter:P}})},*delayTipToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showTip:P}})},*headerFixedToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFixed:P}})},*onlyShowBackTopToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTop:P}})},*onlyShowBackTopIconToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:P}})},*setOperateModel({payload:P},{call:O,put:L}){yield L({type:"save",payload:{operateModel:P}})},*setOperateModelPath({payload:P},{call:O,put:L}){yield L({type:"save",payload:{operateModelPath:P}})},*setShowQuestionBackTop({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showQuestionBackTop:P}})},*setInfoData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{infoData:uo({},P)}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:uo({},P)}})}},reducers:{save(P,O){return uo(uo({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{})}}};const Bo=(P={})=>{var O,L,ve,Oe,dn;if(window.self!==window.top||!((O=P.setting)!=null&&O.tab_logo_url))return;const In=document.createElement("link"),pn=document.getElementById("dynamic-favicon");In.id="dynamic-favicon",In.rel="shortcut icon",In.href=(L=P.setting)!=null&&L.tab_logo_url?`${qo.Z.IMG_SERVER}/${(ve=P.setting)==null?void 0:ve.tab_logo_url}`:"",pn&&document.head.removeChild(pn),document.head.appendChild(In);try{(Oe=P.setting)!=null&&Oe.main_site||(document.querySelector('meta[name="keywords"]').content=(dn=P.setting)==null?void 0:dn.name,document.querySelector('meta[name="description"]').remove())}catch(Mi){}};var $o=e(37090),Uu=Object.defineProperty,iu=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,_u=(P,O,L)=>O in P?Uu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ko=(P,O)=>{for(var L in O||(O={}))gu.call(O,L)&&_u(P,L,O[L]);if(iu)for(var L of iu(O))No.call(O,L)&&_u(P,L,O[L]);return P},_r={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:P},{call:O,put:L}){return yield O($o.Xh,P)},*getGraduationsFinalScore({payload:P},{call:O,put:L}){return yield O($o.H3,P)},*getDelGraduationsTasks({payload:P},{call:O,put:L}){return yield O($o.km,P)},*getGraduationsTasks({payload:P},{call:O,put:L}){const ve=yield O($o.Xw,P);yield L({type:"save",payload:{Tasks:ve}})},*getGraduationsTeachers({payload:P},{call:O,put:L}){var ve;const Oe=yield O($o.AA,P);return(ve=Oe==null?void 0:Oe.data)==null||ve.map(dn=>(dn.key=dn.id,dn)),yield L({type:"save",payload:{teachers:Oe}}),Oe},*getGraduationsStudents({payload:P},{call:O,put:L}){var ve;const Oe=yield O($o.eh,P);(ve=Oe==null?void 0:Oe.data)==null||ve.map(dn=>(dn.key=dn.id,dn)),yield L({type:"save",payload:{students:Oe}})},*getGraduationsNotices({payload:P},{call:O,put:L}){const ve=yield O($o.Rk,P);yield L({type:"save",payload:{Notices:ve}})},*getGraduationsInfo({payload:P},{call:O,put:L}){const ve=yield O($o.F7,P);yield L({type:"save",payload:{graduation:ve.graduation}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ko({},P)}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:P},{call:O,put:L}){const ve=yield O($o.Ou,P);yield L({type:"save",payload:{details:(ve==null?void 0:ve.graduation)||{},menus:(ve==null?void 0:ve.data)||[],forTask:(ve==null?void 0:ve.for_task)||[]}})}},reducers:{save(P,O){return Ko(Ko({},P),O.payload)}}},dr=e(95707),gr=Object.defineProperty,Cr=Object.defineProperties,bn=Object.getOwnPropertyDescriptors,Zn=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,Wn=Object.prototype.propertyIsEnumerable,ai=(P,O,L)=>O in P?gr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,qn=(P,O)=>{for(var L in O||(O={}))Ln.call(O,L)&&ai(P,L,O[L]);if(Zn)for(var L of Zn(O))Wn.call(O,L)&&ai(P,L,O[L]);return P},mr=(P,O)=>Cr(P,bn(O)),Br={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:P},{call:O,put:L}){const ve=yield O(dr.Tt,{payload:P});yield L({type:"save",payload:mr(qn({},ve),{isloading:!0})})},*query({payload:P},{call:O,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:P,callback:O},{call:L,put:ve}){return yield L(dr.LA,P)},*UploadNotice({payload:P,callback:O},{call:L,put:ve}){return yield L(dr.S_,P)}},reducers:{save(P,O){return qn(qn({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Cn=Object.defineProperty,Pn=Object.defineProperties,oi=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,ra=(P,O,L)=>O in P?Cn(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,_i=(P,O)=>{for(var L in O||(O={}))Gn.call(O,L)&&ra(P,L,O[L]);if(Ei)for(var L of Ei(O))ta.call(O,L)&&ra(P,L,O[L]);return P},wt=(P,O)=>Pn(P,oi(O)),Sa={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(P,O){return _i(_i({},P),O.payload)},openModal(P,O){return wt(_i({},P),{visibleModalName:O.payload})},closeModal(P){return wt(_i({},P),{visibleModalName:""})},openSimpleModal(P,O){return wt(_i({},P),{simpleModalProps:_i({visible:!0},O.payload)})},closeSimpleModal(P){return wt(_i({},P),{simpleModalProps:{visible:!1}})}}},Ra=e(38147),Ys=Object.defineProperty,sn=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,Rs=(P,O,L)=>O in P?Ys(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,no=(P,O)=>{for(var L in O||(O={}))Do.call(O,L)&&Rs(P,L,O[L]);if(sn)for(var L of sn(O))lo.call(O,L)&&Rs(P,L,O[L]);return P},io=(P,O,L)=>new Promise((ve,Oe)=>{var dn=Mi=>{try{pn(L.next(Mi))}catch(ds){Oe(ds)}},In=Mi=>{try{pn(L.throw(Mi))}catch(ds){Oe(ds)}},pn=Mi=>Mi.done?ve(Mi.value):Promise.resolve(Mi.value).then(dn,In);pn((L=L.apply(P,O)).next())});const ts=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/banner.json",{method:"get",params:no({},P)})}),cs=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:no({},P)})}),ja=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:no({},P)})}),os=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:no({},P)})}),Xe=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects.json",{method:"post",body:no({},P)})}),Ie=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:no({},P)})}),Ft=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:no({},P)})}),vt=P=>io(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:no({},P)})});var Sr=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,cn=(P,O,L)=>O in P?Sr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Sn=(P,O)=>{for(var L in O||(O={}))Kr.call(O,L)&&cn(P,L,O[L]);if(Mr)for(var L of Mr(O))xn.call(O,L)&&cn(P,L,O[L]);return P},ni={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:P},{call:O,put:L}){const{data:{adv:ve,top_banner:Oe}}=yield O(ts,P);yield L({type:"save",payload:{BannerList:Oe,Adv:ve}})},*getTopCategoryList({payload:P},{call:O,put:L}){const{data:{top_category_list:ve}}=yield O(cs,P);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...ve]}})},*getHotList({payload:P},{call:O,put:L}){const{data:{hot_list:ve}}=yield O(ja,P);yield L({type:"save",payload:{HotList:ve}})},*getDiscountList({payload:P},{call:O,put:L}){const{data:{discount_list:ve}}=yield O(os,P);yield L({type:"save",payload:{DiscountList:ve}})},*getPaidSubjects({payload:P},{call:O,put:L}){const{data:ve}=yield O(Xe,P);yield L({type:"save",payload:{SubjectList:ve}})},*getTags({payload:P},{call:O,put:L}){const{data:{list:ve}}=yield O(Ie,P);yield L({type:"save",payload:{Tags:ve}})},*getUserComments({payload:P},{call:O,put:L}){const{data:{list:ve}}=yield O(Ft,P);yield L({type:"save",payload:{UserComments:ve}})},*getInfoShow({payload:P},{call:O,put:L}){const{data:ve}=yield O(vt,P);yield L({type:"save",payload:{InfoShow:ve}})}},reducers:{save(P,O){return Sn(Sn({},P),O.payload)}}},Li={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},na=e(5664),Hi=Object.defineProperty,Ti=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,pi=(P,O,L)=>O in P?Hi(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ca=(P,O)=>{for(var L in O||(O={}))Pa.call(O,L)&&pi(P,L,O[L]);if(Ti)for(var L of Ti(O))Pi.call(O,L)&&pi(P,L,O[L]);return P},Xs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:P},{call:O,put:L}){const ve=yield O(na.Ub,P);return yield L({type:"save",payload:{privateMessageDetails:ve||[]}}),ve},*getTidings({payload:P},{call:O,put:L}){const ve=yield O(na.AD,P);yield L({type:"save",payload:{tidingsList:ve||[]}})},*getPrivateMessages({payload:P},{call:O,put:L}){const ve=yield O(na.V8,P);return yield L({type:"save",payload:{privateMessage:ve||[]}}),ve},*getUsersForPrivateMessages({payload:P},{call:O,put:L}){const ve=yield O(na.QJ,P);return yield L({type:"save",payload:{userPrivateMessage:ve||[]}}),ve},*unreadMessageInfo({payload:P},{call:O,put:L}){const ve=yield O(na.Ig,P);yield L({type:"save",payload:{unreadInfo:ve||[]}})},*getRecentContacts({payload:P},{call:O,put:L}){const ve=yield O(na.Ko,P);return yield L({type:"save",payload:{recentContacts:ve||[]}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ca({},P)}})}},reducers:{save(P,O){return ca(ca({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},ia=e(29297),fs=e(65862),ya=e(2337),vs=Object.defineProperty,La=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Ls=Object.getOwnPropertySymbols,ao=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable,pa=(P,O,L)=>O in P?vs(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ms=(P,O)=>{for(var L in O||(O={}))ao.call(O,L)&&pa(P,L,O[L]);if(Ls)for(var L of Ls(O))xs.call(O,L)&&pa(P,L,O[L]);return P},jo=(P,O)=>La(P,rs(O));const Js=(P,O)=>{var L,ve,Oe,dn,In,pn,Mi,ds,$a;if(!P)return;const{exam:Yo,single_questions:is,multiple_questions:Po,judgement_questions:$s,program_questions:tf,completion_questions:Jl,subjective_questions:Bc,practical_questions:rf,combination_questions:qu,bprogram_questions:Ci}=P||{},Cl=[Ms({type:"SINGLE",question_type:0,name:((L=O==null?void 0:O.find(_s=>_s.value==ya.fw[0].nameType))==null?void 0:L.name)||ya.fw[0].name},is),Ms({type:"MULTIPLE",question_type:1,name:((ve=O==null?void 0:O.find(_s=>_s.value==ya.fw[1].nameType))==null?void 0:ve.name)||ya.fw[1].name},Po),Ms({type:"JUDGMENT",question_type:2,name:((Oe=O==null?void 0:O.find(_s=>_s.value==ya.fw[2].nameType))==null?void 0:Oe.name)||ya.fw[2].name},$s),Ms({type:"PROGRAM",question_type:6,name:((dn=O==null?void 0:O.find(_s=>_s.value==ya.fw[6].nameType))==null?void 0:dn.name)||ya.fw[6].name},tf),Ms({type:"COMPLETION",question_type:3,name:((In=O==null?void 0:O.find(_s=>_s.value==ya.fw[3].nameType))==null?void 0:In.name)||ya.fw[3].name},Jl),Ms({type:"SUBJECTIVE",question_type:4,name:((pn=O==null?void 0:O.find(_s=>_s.value==ya.fw[4].nameType))==null?void 0:pn.name)||ya.fw[4].name},Bc),Ms({type:"PRACTICAL",question_type:5,name:((Mi=O==null?void 0:O.find(_s=>_s.value==ya.fw[5].nameType))==null?void 0:Mi.name)||ya.fw[5].name},rf),Ms({type:"COMBINATION",question_type:7,name:((ds=O==null?void 0:O.find(_s=>_s.value==ya.fw[7].nameType))==null?void 0:ds.name)||ya.fw[7].name},qu),Ms({type:"BPROGRAM",question_type:8,name:(($a=O==null?void 0:O.find(_s=>_s.value==ya.fw[8].nameType))==null?void 0:$a.name)||ya.fw[8].name},Ci)],Nc=[];if(P.sort_by_qustion_type)for(const _s of P.qustion_type_order_name_en)Nc.push(Cl.find(bl=>bl.type===_s));const vo=(P.sort_by_qustion_type?Nc:Cl).filter(_s=>(_s==null?void 0:_s.questions_count)>0).map((_s,bl)=>{var ec;return Ms(Ms({},_s),{number:(0,fs.EM)(bl+1),questions:(ec=_s==null?void 0:_s.questions)==null?void 0:ec.map(xl=>jo(Ms({},xl),{shixun:xl.examination_bank_shixun_challenges,question_type:_s.question_type}))})});return{exam:Yo,questionList:vo}};var Ga=e(3033),us=Object.defineProperty,co=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,kt=(P,O,L)=>O in P?us(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ia=(P,O)=>{for(var L in O||(O={}))Va.call(O,L)&&kt(P,L,O[L]);if(co)for(var L of co(O))Vt.call(O,L)&&kt(P,L,O[L]);return P},vn={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:P},{call:O,put:L}){return yield O(ia.a2,P)},*postCheckExaminationBanks({payload:P},{call:O,put:L}){return yield O(ia.q$,P)},*postPaperlibraryCopy({payload:P},{call:O,put:L}){return yield O(ia.ID,P)},*getDisciplines({payload:P},{call:O,put:L}){const ve=yield O(ia.d1,P);return yield L({type:"save",payload:{disciplinesData:Ia({},ve)}}),ve},*getCustomDisciplines({payload:P},{call:O,put:L}){const ve=yield O(ia.ar,P);return yield L({type:"save",payload:{disciplinesData:Ia({},ve)}}),ve},*getEditDisciplines({payload:P},{call:O,put:L}){const ve=yield O(ia.d1,P),Oe=ve==null?void 0:ve.disciplines,dn=(0,Ga.L)(Oe);return yield L({type:"save",payload:{courseOptions:dn,disciplinesData:Ia({},ve)}}),ve},*getTeachGroupData({payload:P},{call:O,put:L}){const ve=yield O(ia.Dm,P);return yield L({type:"save",payload:{teachGroupData:Ia({},ve)}}),ve},*getPaperData({payload:P},{call:O,put:L}){const ve=yield O(ia.iT,P),Oe=yield O(ia.cV,P),dn=Js(ve,Oe.data);return yield L({type:"save",payload:{paperData:dn}}),ve},*getPaperlibraryList({payload:P},{call:O,put:L}){return yield O(ia.Gd,P)},*setPublic({payload:P},{call:O,put:L}){return yield O(ia.DF,P)},*handleDelete({payload:P},{call:O,put:L}){return yield O(ia.fn,P)},*getCourseList({payload:P},{call:O,put:L}){return yield O(ia.tS,P)},*postBatchSendToCourse({payload:P},{call:O,put:L}){return yield O(ia.lc,P)},*sendToClass({payload:P},{call:O,put:L}){return yield O(ia.kp,P)},*adjustPosition({payload:P},{call:O,put:L}){return yield O(ia.qN,P)},*setScore({payload:P},{call:O,put:L}){return yield O(ia.ts,P)},*handleDeleteEditQuestion({payload:P},{call:O,put:L}){return yield O(ia.NC,P)},*batchSetScore({payload:P},{call:O,put:L}){return yield O(ia.YP,P)},*batchDelete({payload:P},{call:O,put:L}){return yield O(ia.Hm,P)},*updatePaper({payload:P},{call:O,put:L}){return yield O(ia.jK,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ia({},P)}})}},reducers:{save(P,O){return Ia(Ia({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},wn=Object.defineProperty,We=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,Rr=(P,O,L)=>O in P?wn(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,qr=(P,O)=>{for(var L in O||(O={}))jt.call(O,L)&&Rr(P,L,O[L]);if(We)for(var L of We(O))Er.call(O,L)&&Rr(P,L,O[L]);return P},Qi={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ia.Dq,P);return yield ve({type:"save",payload:{exerciseExportHeadData:qr({},Oe)}}),Oe},*editExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ia.Di,P);return yield ve({type:"save",payload:{editData:qr({},Oe)}}),Oe},*getTagDiscipline({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.YY,P);return yield ve({type:"save",payload:{tagDisciplineData:qr({},Oe)}}),Oe},*editExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(ia.oF,P)},*addExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(ia.oF,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:qr({},P)}})}},reducers:{save(P,O){return qr(qr({},P),O.payload)},modifyTitle(P,O){const L=(0,$e.cloneDeep)(P);return L.editData.exercise.exercise_name=O.payload,L}},subscriptions:{setup({dispatch:P,history:O}){}}},ui=e(49320),Eo=Object.defineProperty,fa=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,ws=(P,O,L)=>O in P?Eo(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,_o=(P,O)=>{for(var L in O||(O={}))ns.call(O,L)&&ws(P,L,O[L]);if(fa)for(var L of fa(O))Qa.call(O,L)&&ws(P,L,O[L]);return P},yu={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:P},{call:O,put:L}){const ve=yield O(ui.Ax,P);yield L({type:"save",payload:{discusses:_o({},ve)}})},*getPathsDetail({payload:P},{call:O,put:L}){const ve=yield O(ui.lk,P);return yield L({type:"save",payload:{detail:_o({},ve)}}),ve},*getCourseDetail({payload:P},{call:O,put:L}){const ve=yield O(ui.Sp,P);return yield L({type:"save",payload:{detail:_o({},ve)}}),ve},*getRightData({payload:P},{call:O,put:L}){const ve=yield O(ui.AQ,P);yield L({type:"save",payload:{rightData:_o({},ve)}})},*getCoureses({payload:P},{call:O,put:L}){const ve=yield O(ui.ue,P);yield L({type:"save",payload:{Courses:_o({},ve)}})},*getStageChildrenData({payload:P},{call:O,put:L}){const ve=yield O(ui.w4,P);return yield L({type:"save",payload:{StageChildrenData:ve}}),ve},*getStageData({payload:P},{call:O,put:L}){var ve,Oe,dn;let In=null;return P!=null&&P.show_course_section?In=yield O(ui.yN,P):In=yield O(ui.p,P),yield L({type:"save",payload:{stageData:((ve=In==null?void 0:In.data)==null?void 0:ve.stages)||(In==null?void 0:In.stages)||[],isShowSchedule:((Oe=In==null?void 0:In.data)==null?void 0:Oe.is_show_schedule)||(In==null?void 0:In.is_show_schedule)||!1}}),(dn=In==null?void 0:In.data)==null?void 0:dn.stages},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_o({},P)}})}},reducers:{save(P,O){return _o(_o({},P),O.payload)}}},Ve=Object.defineProperty,W=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,he=(P,O,L)=>O in P?Ve(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ee=(P,O)=>{for(var L in O||(O={}))Y.call(O,L)&&he(P,L,O[L]);if(W)for(var L of W(O))te.call(O,L)&&he(P,L,O[L]);return P},Et={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:P},{call:O,put:L}){const ve=P,Oe=yield O(ui.tS,P);return yield L({type:"save",payload:Ee({listParams:ve},Oe)}),Oe},*getMenus({payload:P},{call:O,put:L}){const ve=yield O(ui.fh,P);yield L({type:"save",payload:{menus:ve}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ee({},P)}})},*clearListParams({payload:P},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(P,O){return Ee(Ee({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},zt=Object.defineProperty,cr=Object.getOwnPropertySymbols,Pr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,fn=(P,O,L)=>O in P?zt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Tn=(P,O)=>{for(var L in O||(O={}))Pr.call(O,L)&&fn(P,L,O[L]);if(cr)for(var L of cr(O))Yr.call(O,L)&&fn(P,L,O[L]);return P},Jn={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:P},{call:O,put:L}){return yield O(ui.tu,P)},*submitCourse({payload:P},{call:O,put:L}){return yield O(ui.pU,P)},*getEditCourseData({payload:P},{call:O,put:L}){return yield O(ui.mQ,P)},*getSchoolOption({payload:P},{call:O,put:L}){return yield O(ui.GY,P)},*appplySchool({payload:P},{call:O,put:L}){return yield O(ui.bz,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Tn({},P)}})}},reducers:{save(P,O){return Tn(Tn({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Di=Object.defineProperty,Fi=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,Cs=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,js=(P,O,L)=>O in P?Di(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,gs=(P,O)=>{for(var L in O||(O={}))Cs.call(O,L)&&js(P,L,O[L]);if(ba)for(var L of ba(O))Fs.call(O,L)&&js(P,L,O[L]);return P},Oa=(P,O)=>Fi(P,aa(O)),Es={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:P},{call:O,put:L}){const ve=yield O(ui.nq,P);yield L({type:"save",payload:{SubjectUseInfos:ve}})},*getRankList({payload:P},{call:O,put:L}){const ve=yield O(ui.Fg,P);yield L({type:"save",payload:{RankList:Oa(gs({},ve),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]]})}})},*getStatisticsBody({payload:P},{call:O,put:L}){const ve=yield O(ui.Gz,P);yield L({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:P},{call:O,put:L}){const ve=yield O(ui.hS,P);yield L({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:P},{call:O,put:L}){const ve=yield O(ui.Hl,P);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(P,O){return gs(gs({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},yr=e(11517),ko=Object.defineProperty,Uo=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Jo=(P,O,L)=>O in P?ko(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,yo=(P,O)=>{for(var L in O||(O={}))Su.call(O,L)&&Jo(P,L,O[L]);if(Uo)for(var L of Uo(O))Hs.call(O,L)&&Jo(P,L,O[L]);return P},El={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:P},{call:O,put:L}){const ve=yield O(yr.ex,P);return yield L({type:"save",payload:{groupfolderList:ve}}),ve},*getDisciplines({payload:P},{call:O,put:L}){const ve=yield O(yr.d1,P);return yield L({type:"save",payload:{disciplinesData:yo({},ve)}}),ve},*getEditDisciplines({payload:P},{call:O,put:L}){const ve=yield O(yr.d1,P),Oe=ve==null?void 0:ve.disciplines,dn=(0,Ga.L)(Oe);return yield L({type:"save",payload:{courseOptions:dn,disciplinesData:yo({},ve)}}),ve},*getBasketList({payload:P},{call:O,put:L}){const ve=yield O(yr.Qj,P);return yield L({type:"save",payload:{basketData:yo({},ve)}}),ve},*getTeachGroupData({payload:P},{call:O,put:L}){const ve=yield O(yr.Dm,P);return yield L({type:"save",payload:{teachGroupData:yo({},ve)}}),ve},*getEditData({payload:P},{call:O,put:L}){const ve=yield O(yr.FG,P);return yield L({type:"save",payload:{editData:yo({},ve)}}),ve},*getEditDataBprogram({payload:P},{call:O,put:L}){const ve=yield O(yr.Bo,P);return yield L({type:"save",payload:{editData:yo({},ve)}}),ve},*getGroupData({payload:P},{call:O,put:L}){const ve=yield O(yr.hI,P);return yield L({type:"save",payload:{groupData:yo({},ve)}}),ve},*getItemBanks({payload:P},{call:O,put:L}){const ve=yield O(yr.Of,P);return yield L({type:"save",payload:{itemBanks:yo({},ve)}}),ve},*setPrivate({payload:P},{call:O,put:L}){return yield O(yr.Pl,P)},*revokePublish({payload:P},{call:O,put:L}){return yield O(yr.IJ,P)},*setPublic({payload:P},{call:O,put:L}){return yield O(yr.DF,P)},*handleDelete({payload:P},{call:O,put:L}){return yield O(yr.fn,P)},*startExperience({payload:P},{call:O,put:L}){return yield O(yr.Bd,P)},*cancel({payload:P},{call:O,put:L}){return yield O(yr.al,P)},*select({payload:P},{call:O,put:L}){return yield O(yr.Ys,P)},*examUnselectAll({payload:P},{call:O,put:L}){return yield O(yr.rV,P)},*basketDelete({payload:P},{call:O,put:L}){return yield O(yr.x5,P)},*unselectAll({payload:P},{call:O,put:L}){return yield O(yr.HF,P)},*addKnowledge({payload:P},{call:O,put:L}){return yield O(yr.U6,P)},*editProblemset({payload:P},{call:O,put:L}){return yield O(yr.Wk,P)},*addProblemset({payload:P},{call:O,put:L}){return yield O(yr.Mr,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:yo({},P)}})}},reducers:{save(P,O){return yo(yo({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Sl=Object.defineProperty,nl=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,Ku=(P,O,L)=>O in P?Sl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ro=(P,O)=>{for(var L in O||(O={}))Gs.call(O,L)&&Ku(P,L,O[L]);if(nl)for(var L of nl(O))$u.call(O,L)&&Ku(P,L,O[L]);return P},Zl={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:P},{call:O,put:L}){const ve=yield O(yr.iT,P),Oe=(0,Ga.r)(ve);return yield L({type:"save",payload:{paperData:Oe}}),ve},*getEditDisciplines({payload:P},{call:O,put:L}){const ve=yield O(yr.d1,P),Oe=ve==null?void 0:ve.disciplines,dn=(0,Ga.L)(Oe);return yield L({type:"save",payload:{courseOptions:dn,disciplinesData:Ro({},ve)}}),ve},*setScore({payload:P},{call:O,put:L}){return yield O(yr.ts,P)},*handleDelete({payload:P},{call:O,put:L}){return yield O(yr.Cn,P)},*batchSetScore({payload:P},{call:O,put:L}){return yield O(yr.YP,P)},*batchDelete({payload:P},{call:O,put:L}){return yield O(yr.Hm,P)},*adjustPosition({payload:P},{call:O,put:L}){return yield O(yr.qN,P)},*newPreviewProblemset({payload:P},{call:O,put:L}){return yield O(yr.et,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ro({},P)}})}},reducers:{save(P,O){return Ro(Ro({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},bu=e(37822),Wl=Object.defineProperty,So=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Hl=(P,O,L)=>O in P?Wl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,tu=(P,O)=>{for(var L in O||(O={}))au.call(O,L)&&Hl(P,L,O[L]);if(So)for(var L of So(O))hl.call(O,L)&&Hl(P,L,O[L]);return P},$l={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:P},{call:O,put:L}){const ve=yield O(bu.Go,P);return yield L({type:"save",payload:{restful:tu({},ve)}}),ve},*getRestfulDetail({payload:P},{call:O,put:L}){const ve=yield O(bu.H5,P);return yield L({type:"save",payload:{restfulDetail:tu({},(ve==null?void 0:ve.data)||{})}}),(ve==null?void 0:ve.data)||{}},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:tu({},P)}})}},reducers:{save(P,O){return tu(tu({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},li=e(60979);const uc=(P={})=>{var O,L,ve,Oe,dn,In;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=P==null?void 0:P.content_info)==null?void 0:O.status,username:(L=P==null?void 0:P.content_info)==null?void 0:L.username,time:(ve=P==null?void 0:P.content_info)==null?void 0:ve.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Oe=P==null?void 0:P.perference_info)==null?void 0:Oe.status,username:(dn=P==null?void 0:P.perference_info)==null?void 0:dn.username,time:(In=P==null?void 0:P.perference_info)==null?void 0:In.time}]};var ho=Object.defineProperty,Gc=Object.defineProperties,zu=Object.getOwnPropertyDescriptors,pl=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,$c=(P,O,L)=>O in P?ho(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ao=(P,O)=>{for(var L in O||(O={}))il.call(O,L)&&$c(P,L,O[L]);if(pl)for(var L of pl(O))Ac.call(O,L)&&$c(P,L,O[L]);return P},Kc=(P,O)=>Gc(P,zu(O)),lc={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:P},{call:O,put:L}){const ve=yield O(li.Po,P);return yield L({type:"save",payload:{detail:Ao({},ve)}}),ve},*getMirrorApplies({payload:P},{call:O,put:L}){const ve=yield O(li.tX,P);return yield L({type:"save",payload:{mirrorApplies:Ao({},(ve==null?void 0:ve.data)||{})}}),ve},*getRightData({payload:P},{call:O,put:L}){const ve=yield O(li.AQ,P);yield L({type:"save",payload:{rightData:Ao({},ve)}})},*getChallengesData({payload:P},{call:O,put:L}){const ve=yield O(li.n5,P);yield L({type:"save",payload:{challenges:Ao({},ve)}})},*saveCopyForExercise({payload:P},{call:O,put:L}){return yield O(li.FB,P)},*execJupyter({payload:P},{call:O,put:L}){return yield O(li.BK,P)},*execShixun({payload:P},{call:O,put:L}){const ve=yield O(li.Ir,P);return(ve==null?void 0:ve.status)===-3&&(0,fs.eF)(),ve},*openChallenge({payload:P},{call:O,put:L}){return yield O(li.dK,P)},*challengeMoveUp({payload:P},{call:O,put:L}){return yield O(li.zD,P)},*challengeMoveDown({payload:P},{call:O,put:L}){return yield O(li.hn,P)},*cancelCollect({payload:P},{call:O,put:L}){return yield O(li.rs,P)},*collect({payload:P},{call:O,put:L}){return yield O(li.KM,P)},*searchUserCourses({payload:P},{call:O,put:L}){return yield O(li._7,P)},*sendToCourse({payload:P},{call:O,put:L}){return yield O(li.Q,P)},*cancelRelease({payload:P},{call:O,put:L}){return yield O(li.Ne,P)},*cancelPublic({payload:P},{call:O,put:L}){return yield O(li.Er,P)},*applyPublic({payload:P},{call:O,put:L}){return yield O(li.WO,P)},*release({payload:P},{call:O,put:L}){return yield O(li.Ar,P)},*updateAuditSituation({payload:P},{call:O,put:L}){return yield O(li.LP,P)},*getCollaboratorsData({payload:P},{call:O,put:L}){return yield O(li.j8,P)},*addCollaborator({payload:P},{call:O,put:L}){return yield O(li.OV,P)},*addTeachGroupMember({payload:P},{call:O,put:L}){return yield O(li.l3,P)},*getChangeManager({payload:P},{call:O,put:L}){return yield O(li.P2,P)},*changeManager({payload:P},{call:O,put:L}){return yield O(li.X$,P)},*deleteCollaborators({payload:P},{call:O,put:L}){return yield O(li.xk,P)},*getRankingList({payload:P},{call:O,put:L}){return yield O(li.E4,P)},*getMirrorScript({payload:P},{call:O,put:L}){return yield O(li.Z2,P)},*getScriptContent({payload:P},{call:O,put:L}){return yield O(li.Bj,P)},*getCustomScript({payload:P},{call:O,put:L}){return yield O(li.Wi,P)},*updateSettingBasicInfo({payload:P},{call:O,put:L}){return yield O(li.ZO,P)},*getShixunQuote({payload:P},{call:O,put:L}){return yield O(li.Gr,P)},*deleteShixun({payload:P},{call:O,put:L}){return yield O(li.Ps,P)},*permanentClose({payload:P},{call:O,put:L}){return yield O(li.U9,P)},*getDepartments({payload:P},{call:O,put:L}){return yield O(li.Ql,P)},*updatePermissionSetting({payload:P},{call:O,put:L}){return yield O(li.aH,P)},*updateLearnSetting({payload:P},{call:O,put:L}){return yield O(li.yE,P)},*updateSetting({payload:P},{call:O,put:L}){return yield O(li.m7,P)},*getSetData({payload:P},{call:O,put:L}){return yield O(li.U0,P)},*deleteDataSet({payload:P},{call:O,put:L}){return yield O(li.uo,P)},*deleteGitFile({payload:P},{call:O,put:L}){return yield O(li.sr,P)},*deleteGitFiles({payload:P},{call:O,put:L}){return yield O(li.p0,P)},*moveGitFile({payload:P},{call:O,put:L}){return yield O(li.IT,P)},*moveGitFiles({payload:P},{call:O,put:L}){return yield O(li.t2,P)},*getRepository({payload:P},{call:O,put:L}){const ve=yield O(li.Ag,P);return yield L({type:"save",payload:{repository:Ao({},ve)}}),Ao({},ve)},*getRepositorys({payload:P},{call:O,put:L}){const ve=yield O(li.Wl,P);return yield L({type:"save",payload:{repository:Ao({},ve)}}),Ao({},ve)},*getRepositorys({payload:P},{call:O,put:L}){const ve=yield O(li.Wl,P);return yield L({type:"save",payload:{repository:Ao({},ve)}}),Ao({},ve)},*getSecretRepository({payload:P},{call:O,put:L}){const ve=yield O(li.w,P);return yield L({type:"save",payload:{secretRepository:Ao({},ve)}}),ve},*addRepositoryFile({payload:P},{call:O,put:L}){return yield O(li.v3,P)},*addRepositoryFiles({payload:P},{call:O,put:L}){return yield O(li.fL,P)},*getRepositoryCommit({payload:P},{call:O,put:L}){return yield O(li.Je,P)},*getFileContent({payload:P},{call:O,put:L}){const ve=yield O(li.LK,P);return yield L({type:"save",payload:{fileContent:Kc(Ao({},ve),{params:P})}}),ve},*getFileContents({payload:P},{call:O,put:L}){const ve=yield O(li.nu,P);return yield L({type:"save",payload:{fileContent:Kc(Ao({},ve),{params:P})}}),ve},*updateRepositoryFile({payload:P},{call:O,put:L}){return yield O(li.kF,P)},*updateRepositoryFiles({payload:P},{call:O,put:L}){return yield O(li.jq,P)},*uploadGitFolder({payload:P},{call:O,put:L}){return yield O(li.Op,P)},*updateCollaboratorEditable({payload:P},{call:O,put:L}){return yield O(li.Dz,P)},*getSettingsData({payload:P},{call:O,put:L}){const ve=yield O(li.DC,P);yield L({type:"save",payload:{setting:Ao({},ve)}})},*getChallengesNew({payload:P},{call:O,put:L}){const ve=yield O(li.km,P);yield L({type:"save",payload:{challengesNew:Ao({},ve)}})},*getChallengesEdit({payload:P},{call:O,put:L}){const ve=yield O(li.q0,P);return yield L({type:"save",payload:{challengesEdit:Ao({},ve)}}),ve},*getAuditSituationData({payload:P},{call:O,put:L}){const ve=yield O(li.GI,P),Oe=uc(ve);yield L({type:"save",payload:{auditSituationData:Oe}})},*getEditChallengesQuestion({payload:P},{call:O,put:L}){const ve=yield O(li.UQ,P);return yield L({type:"save",payload:{editChallengesQuestion:ve}}),ve},*getInfoWithJupyterLab({payload:P},{call:O,put:L}){const ve=yield O(li.mI,P);return yield L({type:"save",payload:{infoWithJupyterLab:ve}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ao({},P)}})}},reducers:{save(P,O){return console.log("reducers:",P,O),Ao(Ao({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Dl=Object.defineProperty,Vc=Object.getOwnPropertySymbols,kl=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,Vl=(P,O,L)=>O in P?Dl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,mo=(P,O)=>{for(var L in O||(O={}))kl.call(O,L)&&Vl(P,L,O[L]);if(Vc)for(var L of Vc(O))Ou.call(O,L)&&Vl(P,L,O[L]);return P},fu={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:P},{call:O,put:L}){const ve=yield O(li.he,P),Oe=mo({},P);return yield L({type:"save",payload:mo({listParams:Oe},ve)}),ve},*getMenus({payload:P},{call:O,put:L}){var ve;const Oe=yield O(li.I_,P);(ve=Oe==null?void 0:Oe.disciplines)==null||ve.map(dn=>(dn.sub_repertoires=dn.sub_disciplines,dn)),yield L({type:"save",payload:{menus:[...(Oe==null?void 0:Oe.disciplines)||[]]}})},*clearListParams({payload:P},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(P,O){return mo(mo({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Yl=Object.defineProperty,Al=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,du=Object.prototype.propertyIsEnumerable,pf=(P,O,L)=>O in P?Yl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Du=(P,O)=>{for(var L in O||(O={}))Zu.call(O,L)&&pf(P,L,O[L]);if(Al)for(var L of Al(O))du.call(O,L)&&pf(P,L,O[L]);return P},Vu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:P},{call:O,put:L}){const ve=yield O(li.b8,P);return yield L({type:"save",payload:{newData:Du({},ve)}}),ve},*deleteAttachment({payload:P},{call:O,put:L}){return yield O(li.OW,P)},*applyShixunMirror({payload:P},{call:O,put:L}){return yield O(li.EH,P)},*submitShixuns({payload:P},{call:O,put:L}){return yield O(li.eX,P)},*getShixunsJupyterLab({payload:P},{call:O,put:L}){const ve=yield O(li.Gu,P);return yield L({type:"save",payload:{newData:Du({},ve)}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Du({},P)}})},*getEnvironmentData({payload:P},{call:O,put:L}){const ve=yield O(li.K,P);return console.log(ve,"response"),yield L({type:"save",payload:{environmentData:Du({},ve.data)}}),ve}},reducers:{save(P,O){return Du(Du({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},Cc=Object.defineProperty,Rl=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,mf=Object.prototype.propertyIsEnumerable,Yc=(P,O,L)=>O in P?Cc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ml=(P,O)=>{for(var L in O||(O={}))Ca.call(O,L)&&Yc(P,L,O[L]);if(Rl)for(var L of Rl(O))mf.call(O,L)&&Yc(P,L,O[L]);return P},Df={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:P},{call:O,put:L}){const ve=yield O(li.e,P);yield L({type:"save",payload:{ShixunUseInfos:ve}})},*getRankList({payload:P},{call:O,put:L}){const ve=yield O(li.Fg,P);yield L({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(ve==null?void 0:ve.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(ve==null?void 0:ve.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(ve==null?void 0:ve.quote_list)||[]]}}})},*getStatisticsBody({payload:P},{call:O,put:L}){const ve=yield O(li.Gz,P);yield L({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:P},{call:O,put:L}){const ve=yield O(li.hS,P);yield L({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:P},{call:O,put:L}){const ve=yield O(li.Hl,P);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(P,O){return ml(ml({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Tc=(P,O,L)=>new Promise((ve,Oe)=>{var dn=Mi=>{try{pn(L.next(Mi))}catch(ds){Oe(ds)}},In=Mi=>{try{pn(L.throw(Mi))}catch(ds){Oe(ds)}},pn=Mi=>Mi.done?ve(Mi.value):Promise.resolve(Mi.value).then(dn,In);pn((L=L.apply(P,O)).next())});function ku(P){return Tc(this,null,function*(){return(0,Ra.ZP)("/api/shixuns/new.json",{method:"Get",params:P})})}function vf(P){return Tc(this,null,function*(){return(0,Ra.ZP)(`/api/shixuns/${P.id}/required_status.json`,{method:"Get",params:{}})})}var Pc=Object.defineProperty,Xl=Object.defineProperties,gf=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,Oc=(P,O,L)=>O in P?Pc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,gl=(P,O)=>{for(var L in O||(O={}))Ru.call(O,L)&&Oc(P,L,O[L]);if(Ic)for(var L of Ic(O))vl.call(O,L)&&Oc(P,L,O[L]);return P},Qc=(P,O)=>Xl(P,gf(O)),cc={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:P},{call:O,put:L}){yield L({type:"save",payload:gl({},P)})},*getTestData({payload:P},{call:O,put:L}){const ve=yield O(ku,P);yield L({type:"save",payload:{data:ve}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:P},{call:O,put:L}){const ve=yield O(vf,P);yield L({type:"save",payload:gl({},ve.data)})},*setSideBarTabs({payload:P},{call:O,put:L}){yield L({type:"sideBar",payload:gl({},P)})}},reducers:{save(P,O){return gl(gl({},P),O.payload)},sideBar(P,O){return Qc(gl({},P),{sideBar:gl(gl({},P.sideBar),O.payload)})}},subscriptions:{setup({dispatch:P,history:O}){}}},Co=e(89540),Dc=Object.defineProperty,qc=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable,To=(P,O,L)=>O in P?Dc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ll=(P,O)=>{for(var L in O||(O={}))_l.call(O,L)&&To(P,L,O[L]);if(qc)for(var L of qc(O))Wu.call(O,L)&&To(P,L,O[L]);return P},kc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:P},{call:O,put:L}){const ve=yield O(Co.JJ,P);return yield L({type:"save",payload:{homeworkBanksDetail:Ll({},ve)}}),ve},*getSystemUpdate({payload:P},{call:O,put:L}){const ve=yield O(Co.n0,P);return yield L({type:"save",payload:{systemUpdate:Ll({},ve)}}),ve},*getHomepageInfo({payload:P},{call:O,put:L}){const ve=yield O(Co.DA,P);return yield L({type:"save",payload:{homepageInfo:Ll({},ve)}}),ve},*signed({payload:P},{call:O,put:L}){return yield O(Co.qN,P)},*getCourses({payload:P},{call:O,put:L}){return yield O(Co.Ho,P)},*getShixuns({payload:P},{call:O,put:L}){return yield O(Co.rV,P)},*getPaths({payload:P},{call:O,put:L}){return yield O(Co.w3,P)},*getProjects({payload:P},{call:O,put:L}){return yield O(Co.mW,P)},*getVideos({payload:P},{call:O,put:L}){return yield O(Co.WY,P)},*getReviewVideos({payload:P},{call:O,put:L}){return yield O(Co.Qx,P)},*deleteVideo({payload:P},{call:O,put:L}){return yield O(Co.FM,P)},*getQuestionBanks({payload:P},{call:O,put:L}){return yield O(Co.ai,P)},*topicsSetPublic({payload:P},{call:O,put:L}){return yield O(Co.Cx,P)},*topicsDelete({payload:P},{call:O,put:L}){return yield O(Co.WS,P)},*topicGetCourseList({payload:P},{call:O,put:L}){return yield O(Co.gI,P)},*topicSendToClass({payload:P},{call:O,put:L}){return P.object_type==="videos"?yield O(Co.Fn,P):yield O(Co.Ef,P)},*logWatchHistory({payload:P},{call:O,put:L}){const ve=yield O(Co.lO,P);return ve==null?void 0:ve.log_id},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ll({},P)}})}},reducers:{save(P,O){return Ll(Ll({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Yu=Object.defineProperty,Qs=Object.getOwnPropertySymbols,bo=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Ze=(P,O,L)=>O in P?Yu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Xu=(P,O)=>{for(var L in O||(O={}))bo.call(O,L)&&Ze(P,L,O[L]);if(Qs)for(var L of Qs(O))Lu.call(O,L)&&Ze(P,L,O[L]);return P},Au=(P,O)=>{var L={};for(var ve in P)bo.call(P,ve)&&O.indexOf(ve)<0&&(L[ve]=P[ve]);if(P!=null&&Qs)for(var ve of Qs(P))O.indexOf(ve)<0&&Lu.call(P,ve)&&(L[ve]=P[ve]);return L},hu={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:P},{call:O,put:L}){const ve=P,{to:Oe}=ve,dn=Au(ve,["to"]);if(!(yield O(Co.Es,dn)).status)try{Oe?f.history.replace(Oe):location.reload()}catch(pn){}},*showPopLogin({payload:P},{put:O}){yield O({type:"save",payload:{showPopLogin:P.showPopLogin,showClosable:P.showClosable}})},*setBindAccountModal({payload:P},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:P.bindAccountModalVisible,userInfoForBindAccountModal:P.userInfoForBindAccountModal,loginInfo:P.loginInfo}})},*getUserInfo({payload:P},{call:O,put:L}){const ve=yield O(Co.bG,Xu({},P));return localStorage.userInfo=JSON.stringify(ve),yield L({type:"save",payload:{userInfo:Xu({},ve)}}),ve},*getNavigationInfo({payload:P},{call:O,put:L}){const ve=yield O(Co.x4,Xu({},P));yield L({type:"save",payload:{navigationInfo:Xu({},ve)}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Xu({},P)}})}},reducers:{save(P,O){return Xu(Xu({},P),O.payload)}}},Qu=e(24514),dc=Object.defineProperty,hc=Object.defineProperties,al=Object.getOwnPropertyDescriptors,sl=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,yf=Object.prototype.propertyIsEnumerable,pc=(P,O,L)=>O in P?dc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Cu=(P,O)=>{for(var L in O||(O={}))Mu.call(O,L)&&pc(P,L,O[L]);if(sl)for(var L of sl(O))yf.call(O,L)&&pc(P,L,O[L]);return P},yl=(P,O)=>hc(P,al(O));const Fu=()=>{var P,O,L,ve,Oe,dn,In;let pn=window.location.href.split("/");if(!pn.includes("video"))return;let Mi=(P=pn[pn.length-1])==null?void 0:P.split("?")[0];Mi=Number(Mi);const ds=(L=(O=pn[pn.length-1])==null?void 0:O.split("?")[1])==null?void 0:L.split("=")[1];return((Oe=(ve=pn[pn.length-1])==null?void 0:ve.split("?")[1])==null?void 0:Oe.split("=")[0])==="subject_id"?{videoId:Mi,subject_id:ds}:((In=(dn=pn[pn.length-1])==null?void 0:dn.split("?")[1])==null?void 0:In.split("=")[0])==="new_video_id"?{videoId:Mi,new_video_id:ds}:{videoId:Mi,course_id:ds}};var Jc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Fu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.O2,P);return O?O(Oe):yield ve({type:"save",payload:{detail:Cu({},Oe)}}),Oe},*setVideoValue({payload:P},{call:O,put:L}){yield L({type:"save",payload:{detail:Cu({},P)}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Cu({},P)}})},*setVideoTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{videoTabs:Cu({},P)}})},*setSelectValue({payload:P},{call:O,put:L}){yield L({type:"save",payload:{selectParams:Cu({},P)}})},*getStageData({payload:P},{call:O,put:L,select:ve}){const Oe=yield O($n.yN,P),dn=yield O(ui.lk,{id:P.subject_id}),{queryParams:In}=yield ve(is=>is.videoDetail),{stages:pn=[]}=Oe,Mi=[];let ds=[],$a={};const Yo=is=>{is.forEach(Po=>{String(Po.id)===String(In.videoId)&&($a=Po),Po.item_type==="VideoItem"?Mi.push(Po):Po.item_type==="Attachment"&&ds.push(Po),Po.children&&Po.children.length&&Yo(Po.children)})};pn==null||pn.forEach(is=>{Yo(is.items)}),window.filterVideoSign=[...Mi],yield L({type:"save",payload:{stages:pn,active:$a,cust_seq:dn.cust_seq,videoList:Mi,attachmentList:ds}})},*getVideoData({payload:P},{call:O,put:L,select:ve}){const Oe=yield O($n.fn,P),{categories:dn=[],coruse_videos:In=[]}=Oe;yield L({type:"save",payload:{stages:(dn==null?void 0:dn.length)>0?dn:[{coruse_videos:In,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:P},{call:O,put:L,select:ve}){const Oe=yield O(Qu.R7,P),{queryParams:dn}=yield ve(Yo=>Yo.videoDetail),{stages:In}=Oe;let pn=[],Mi=[],ds={};const $a=Yo=>{Yo.forEach(is=>{String(is.id)===String(dn.videoId)&&(ds=is),is.item_type==="VideoItem"?pn.push(is):is.item_type==="Attachment"&&Mi.push(is),is.children&&is.children.length&&$a(is.children)})};In==null||In.forEach(Yo=>{$a(Yo.items)}),window.filterVideoSign=[...pn],yield L({type:"save",payload:{active:ds,stages:In,cust_seq:!0,videoList:pn,attachmentList:Mi}})}},reducers:{save(P,O){return Cu(Cu({},P),O.payload)},handleListItemClick(P,O){const{videoList:L,attachmentList:ve}=P,Oe=O.payload.videoId||O.payload.attachmentId,dn=[...L,...ve].find(In=>`${In.id}`==`${Oe}`);return yl(Cu({},P),{active:dn,queryParams:Cu(Cu({},Fu()),O.payload)})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Vo=e(35965),Ml=Object.defineProperty,Rc=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,gc=(P,O,L)=>O in P?Ml(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,_c=(P,O)=>{for(var L in O||(O={}))mc.call(O,L)&&gc(P,L,O[L]);if(Rc)for(var L of Rc(O))vc.call(O,L)&&gc(P,L,O[L]);return P},Lc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:P},{call:O,put:L}){const ve=yield O(Vo.y2,P);return yield L({type:"save",payload:{Workplace:{BaseData:ve.data}}}),ve},*putEditDiscussion({payload:P},{call:O,put:L}){return yield O(Vo.CH,P)},*getDiscussionDetail({payload:P},{call:O,put:L}){const ve=yield O(Vo.XQ,P);return yield L({type:"save",payload:{DiscussionDetail:ve}}),ve},*postDiscussionList({payload:P},{call:O,put:L}){return yield O(Vo.Ll,P)},*getDiscussionList({payload:P},{call:O,put:L}){const ve=yield O(Vo.EA,P);return yield L({type:"save",payload:{DiscussionList:ve}}),ve},*postAddLessonRes({payload:P},{call:O,put:L}){return yield O(Vo.cZ,P)},*getLessonResourcesList({payload:P},{call:O,put:L}){const ve=yield O(Vo.b,P);return yield L({type:"save",payload:{LessonResList:ve}}),ve},*putGoodLessonsDetail({payload:P},{call:O,put:L}){return yield O(Vo.To,P)},*getGoodLessonsDetail({payload:P},{call:O,put:L}){const ve=yield O(Vo.FU,P);return yield L({type:"save",payload:{LessonDetail:ve}}),ve},*postGoodLessonsList({payload:P},{call:O,put:L}){return yield O(Vo.Vf,P)},*getGoodLessonsList({payload:P},{call:O,put:L}){const ve=yield O(Vo.G_,P);return yield L({type:"save",payload:{LessonsList:ve}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_c({},P)}})},*setShowMenu({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showMenu:P}})},*getVirtualSpacesDetails({payload:P},{call:O,put:L}){const ve=yield O(Vo.sT,P);yield L({type:"save",payload:{virtualSpacesDetails:_c({},ve)}})},*setVirtualSpacesLoading({payload:P},{call:O,put:L}){yield L({type:"save",payload:{loading:P}})},*getVirtualSpacesMenus({payload:P},{call:O,put:L}){const ve=yield O(Vo.Sl,P);return yield L({type:"save",payload:{menus:ve}}),ve}},reducers:{save(P,O){return _c(_c({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}};const Ql={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:Pe},model_5:{namespace:"classrooms.exercise",model:Ue},model_6:{namespace:"classrooms.graduation",model:ke},model_7:{namespace:"classrooms.homeworks",model:Yt},model_8:{namespace:"classrooms.index",model:Ae},model_9:{namespace:"classrooms.new",model:dt},model_10:{namespace:"classrooms.overview",model:Jt},model_11:{namespace:"classrooms.polls",model:br},model_12:{namespace:"classrooms.teacher",model:Bi},model_13:{namespace:"classrooms.video",model:Yi},model_14:{namespace:"competitions.index",model:Gi},model_15:{namespace:"engineering.evaluateDetail",model:Nr},model_16:{namespace:"engineering.evaluateList",model:zn.Z},model_17:{namespace:"engineering.index",model:sr},model_18:{namespace:"engineering.navigation",model:wa},model_19:{namespace:"engineering.normDetail",model:qi},model_20:{namespace:"engineering.normList",model:Ni},model_21:{namespace:"forums.detail",model:Oo},model_22:{namespace:"forums.index",model:Ha},model_23:{namespace:"globalSetting",model:Gu},model_24:{namespace:"graduations.index",model:_r},model_25:{namespace:"homePage",model:Br},model_26:{namespace:"innovation.index",model:Sa},model_27:{namespace:"intraincourse.index",model:ni},model_28:{namespace:"loading",model:Li},model_29:{namespace:"messages.index",model:Xs},model_30:{namespace:"paperlibrary.index",model:vn},model_31:{namespace:"paperlibrary.newPaper",model:Qi},model_32:{namespace:"paths.detail",model:yu},model_33:{namespace:"paths.index",model:Et},model_34:{namespace:"paths.new",model:Jn},model_35:{namespace:"paths.overview",model:Es},model_36:{namespace:"problemset.index",model:El},model_37:{namespace:"problemset.preview",model:Zl},model_38:{namespace:"resetFul.index",model:$l},model_39:{namespace:"shixuns.detail",model:lc},model_40:{namespace:"shixuns.index",model:fu},model_41:{namespace:"shixuns.new",model:Vu},model_42:{namespace:"shixuns.overview",model:Df},model_43:{namespace:"shixuns.practiceSetting",model:cc},model_44:{namespace:"user.detail",model:kc},model_45:{namespace:"user.index",model:hu},model_46:{namespace:"video.detail",model:Jc},model_47:{namespace:"virtualSpaces.index",model:Lc}};var ql=Object.defineProperty,bf=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,yc=(P,O,L)=>O in P?ql(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,bc=(P,O)=>{for(var L in O||(O={}))ef.call(O,L)&&yc(P,L,O[L]);if(bf)for(var L of bf(O))ol.call(O,L)&&yc(P,L,O[L]);return P};let Mc;function Fc(P){const{pluginManager:O}=(0,f.useAppData)(),L=(0,c.useRef)(),ve=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(bc({history:f.history},ve.config||{}),{initialReducer:{},setupMiddlewares(Oe){return[...Oe]},setupApp(Oe){Oe._history=f.history}}),Mc=L.current,L.current.use(l()()),(ve.plugins||[]).forEach(Oe=>{L.current.use(Oe)});for(const Oe of Object.keys(Ql))L.current.model(bc({namespace:Ql[Oe].namespace},Ql[Oe].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},P.children)}function xf(){return Mc}},2893:function(d,g,e){"use strict";e.d(g,{PZ:function(){return nt},eU:function(){return a},B:function(){return we},Mg:function(){return Nr},lw:function(){return Tr},Kd:function(){return en},H8:function(){return Ct}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ke){return Ke.displayName||Ke.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(Ke,ct){const{intlPropName:_e="intl",forwardRef:sr=!1,enforceContext:nr=!0}=ct||{},kr=Gr=>React.createElement(h,null,Wr=>(nr&&invariantIntlContext(Wr),React.createElement(Ke,Object.assign({},Gr,{[_e]:Wr},{ref:sr?Gr.forwardedRef:null}))));return kr.displayName=`injectIntl(${f(Ke)})`,kr.WrappedComponent=Ke,c(sr?React.forwardRef((Gr,Wr)=>React.createElement(kr,Object.assign({},Gr,{forwardedRef:Wr}))):kr,Ke)}var y;(function(Ke){Ke[Ke.literal=0]="literal",Ke[Ke.argument=1]="argument",Ke[Ke.number=2]="number",Ke[Ke.date=3]="date",Ke[Ke.time=4]="time",Ke[Ke.select=5]="select",Ke[Ke.plural=6]="plural",Ke[Ke.pound=7]="pound"})(y||(y={}));function m(Ke){return Ke.type===y.literal}function b(Ke){return Ke.type===y.argument}function S(Ke){return Ke.type===y.number}function k(Ke){return Ke.type===y.date}function R(Ke){return Ke.type===y.time}function A(Ke){return Ke.type===y.select}function I(Ke){return Ke.type===y.plural}function M(Ke){return Ke.type===y.pound}function B(Ke){return!!(Ke&&typeof Ke=="object"&&Ke.type===0)}function N(Ke){return!!(Ke&&typeof Ke=="object"&&Ke.type===1)}function K(Ke){return{type:y.literal,value:Ke}}function G(Ke,ct){return{type:y.number,value:Ke,style:ct}}var H=function(){var Ke=function(ct,_e){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var kr in nr)nr.hasOwnProperty(kr)&&(sr[kr]=nr[kr])},Ke(ct,_e)};return function(ct,_e){Ke(ct,_e);function sr(){this.constructor=ct}ct.prototype=_e===null?Object.create(_e):(sr.prototype=_e.prototype,new sr)}}(),ae=function(){return ae=Object.assign||function(Ke){for(var ct,_e=1,sr=arguments.length;_e0){for($r=1,kn=1;$r{Ws.current=void 0,Va.current=void 0,us.current=We});const jt=i.useMemo(()=>i.createElement(Ti,(0,Iu.Z)({},We,{ref:ya})),[ya,Ti,We]);return i.useMemo(()=>na?i.createElement(La.Provider,{value:Ga},jt):jt,[La,jt,Ga])}const Xs=i.memo(ca);if(Xs.WrappedComponent=Ti,Xs.displayName=ca.displayName=Pi,cn){const fs=i.forwardRef(function(vs,La){return i.createElement(Xs,(0,Iu.Z)({},vs,{reactReduxForwardedRef:La}))});return fs.displayName=Pi,fs.WrappedComponent=Ti,Fo()(fs,Ti)}return Fo()(Xs,Ti)}}var Qn=wt;function Sa({store:Xe,context:Ie,children:Ft,serverState:vt,stabilityCheck:Sr="once",noopCheck:Mr="once"}){const Kr=i.useMemo(()=>{const Sn=bn(Xe);return{store:Xe,subscription:Sn,getServerState:vt?()=>vt:void 0,stabilityCheck:Sr,noopCheck:Mr}},[Xe,vt,Sr,Mr]),xn=i.useMemo(()=>Xe.getState(),[Xe]);Ln(()=>{const{subscription:Sn}=Kr;return Sn.onStateChange=Sn.notifyNestedSubs,Sn.trySubscribe(),xn!==Xe.getState()&&Sn.notifyNestedSubs(),()=>{Sn.tryUnsubscribe(),Sn.onStateChange=void 0}},[Kr,xn]);const cn=Ie||gi;return i.createElement(cn.Provider,{value:Kr},Ft)}var Ra=Sa;function Ys(Xe=gi){const Ie=Xe===gi?es:ls(Xe);return function(){const{store:vt}=Ie();return vt}}const sn=Ys();function Do(Xe=gi){const Ie=Xe===gi?sn:Ys(Xe);return function(){return Ie().dispatch}}const lo=Do();qo(Xo.useSyncExternalStoreWithSelector),Fr(Ho.useSyncExternalStore),Go(mu.unstable_batchedUpdates);var Rs=Object.defineProperty,io=Object.getOwnPropertySymbols,ao=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,cs=(Xe,Ie,Ft)=>Ie in Xe?Rs(Xe,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Xe[Ie]=Ft,ja=(Xe,Ie)=>{for(var Ft in Ie||(Ie={}))ao.call(Ie,Ft)&&cs(Xe,Ft,Ie[Ft]);if(io)for(var Ft of io(Ie))ts.call(Ie,Ft)&&cs(Xe,Ft,Ie[Ft]);return Xe};function os(Xe){const Ie=create(Xe,{initialReducer:{},setupApp(){}}),Ft=Ie.start;return Ie.router=vt,Ie.start=Sr,Ie;function vt(Mr){Ie._router=Mr}function Sr(Mr){if(typeof Mr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Ie._store||Ft.call(Ie);const Kr=Ie._store,xn=Ie._router;return cn=>React.createElement(Provider,{store:Kr},xn(ja({app:Ie},cn)))}}},26243:function(d,g,e){"use strict";e.d(g,{fi:function(){return m},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,a=(R,A)=>{for(var I in A||(A={}))o.call(A,I)&&u(R,I,A[I]);if(f)for(var I of f(A))h.call(A,I)&&u(R,I,A[I]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function m(R){let A;return R.type==="hash"?A=(0,r.q_)():R.type==="memory"?A=(0,r.PP)(R):A=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},A),{push(I,M){A.push(S(I,A),M)},replace(I,M){A.replace(S(I,A),M)},get location(){return A.location},get action(){return A.action}}),A}function b(R){R&&(p=R)}function S(R,A){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const I=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:I})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},7240:function(d,g,e){"use strict";e.d(g,{gD:function(){return Jr},We:function(){return an}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return Qe}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ae}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return $t}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return dt}});var o=e(8591),h=e(66649),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Nt){o.ZP.error(Nt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),m=e(12373),b=e.n(m),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function I(){return I=Object.assign||function(Nt){for(var Jt=1;Jt=0||(wr[Lt]=Nt[Lt]);return wr}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},G={rel:["amphtml","canonical","alternate"]},H={type:["application/ld+json"]},ae={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ne=Object.keys(K).map(function(Nt){return K[Nt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},J=Object.keys(oe).reduce(function(Nt,Jt){return Nt[oe[Jt]]=Jt,Nt},{}),Q=function(Nt,Jt){for(var Lt=Nt.length-1;Lt>=0;Lt-=1){var Xt=Nt[Lt];if(Object.prototype.hasOwnProperty.call(Xt,Jt))return Xt[Jt]}return null},V=function(Nt){var Jt=Q(Nt,K.TITLE),Lt=Q(Nt,"titleTemplate");if(Array.isArray(Jt)&&(Jt=Jt.join("")),Lt&&Jt)return Lt.replace(/%s/g,function(){return Jt});var Xt=Q(Nt,"defaultTitle");return Jt||Xt||void 0},se=function(Nt){return Q(Nt,"onChangeClientState")||function(){}},ee=function(Nt,Jt){return Jt.filter(function(Lt){return Lt[Nt]!==void 0}).map(function(Lt){return Lt[Nt]}).reduce(function(Lt,Xt){return I({},Lt,Xt)},{})},q=function(Nt,Jt){return Jt.filter(function(Lt){return Lt[K.BASE]!==void 0}).map(function(Lt){return Lt[K.BASE]}).reverse().reduce(function(Lt,Xt){if(!Lt.length)for(var wr=Object.keys(Xt),Ir=0;Ir/g,">").replace(/"/g,""").replace(/'/g,"'")},Ge=function(Nt){return Object.keys(Nt).reduce(function(Jt,Lt){var Xt=Nt[Lt]!==void 0?Lt+'="'+Nt[Lt]+'"':""+Lt;return Jt?Jt+" "+Xt:Xt},"")},je=function(Nt,Jt){return Jt===void 0&&(Jt={}),Object.keys(Nt).reduce(function(Lt,Xt){return Lt[oe[Xt]||Xt]=Nt[Xt],Lt},Jt)},Dt=function(Nt,Jt){return Jt.map(function(Lt,Xt){var wr,Ir=((wr={key:Xt})["data-rh"]=!0,wr);return Object.keys(Lt).forEach(function(At){var Kt=oe[At]||At;Kt==="innerHTML"||Kt==="cssText"?Ir.dangerouslySetInnerHTML={__html:Lt.innerHTML||Lt.cssText}:Ir[Kt]=Lt[At]}),x.createElement(Nt,Ir)})},ht=function(Nt,Jt,Lt){switch(Nt){case K.TITLE:return{toComponent:function(){return wr=Jt.titleAttributes,(Ir={key:Xt=Jt.title})["data-rh"]=!0,At=je(wr,Ir),[x.createElement(K.TITLE,At,Xt)];var Xt,wr,Ir,At},toString:function(){return function(Xt,wr,Ir,At){var Kt=Ge(Ir),Bt=U(wr);return Kt?"<"+Xt+' data-rh="true" '+Kt+">"+Pe(Bt,At)+"":"<"+Xt+' data-rh="true">'+Pe(Bt,At)+""}(Nt,Jt.title,Jt.titleAttributes,Lt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return je(Jt)},toString:function(){return Ge(Jt)}};default:return{toComponent:function(){return Dt(Nt,Jt)},toString:function(){return function(Xt,wr,Ir){return wr.reduce(function(At,Kt){var Bt=Object.keys(Kt).filter(function(Qr){return!(Qr==="innerHTML"||Qr==="cssText")}).reduce(function(Qr,Hr){var jn=Kt[Hr]===void 0?Hr:Hr+'="'+Pe(Kt[Hr],Ir)+'"';return Qr?Qr+" "+jn:jn},""),qt=Kt.innerHTML||Kt.cssText||"",br=Se.indexOf(Xt)===-1;return At+"<"+Xt+' data-rh="true" '+Bt+(br?"/>":">"+qt+"")},"")}(Nt,Jt,Lt)}}}},Pt=function(Nt){var Jt=Nt.baseTag,Lt=Nt.bodyAttributes,Xt=Nt.encode,wr=Nt.htmlAttributes,Ir=Nt.noscriptTags,At=Nt.styleTags,Kt=Nt.title,Bt=Kt===void 0?"":Kt,qt=Nt.titleAttributes,br=Nt.linkTags,Qr=Nt.metaTags,Hr=Nt.scriptTags,jn={toComponent:function(){},toString:function(){return""}};if(Nt.prioritizeSeoTags){var En=function(Yn){var St=Yn.linkTags,Vr=Yn.scriptTags,ii=Yn.encode,Bi=ie(Yn.metaTags,ae),$n=ie(St,G),ci=ie(Vr,H);return{priorityMethods:{toComponent:function(){return[].concat(Dt(K.META,Bi.priority),Dt(K.LINK,$n.priority),Dt(K.SCRIPT,ci.priority))},toString:function(){return ht(K.META,Bi.priority,ii)+" "+ht(K.LINK,$n.priority,ii)+" "+ht(K.SCRIPT,ci.priority,ii)}},metaTags:Bi.default,linkTags:$n.default,scriptTags:ci.default}}(Nt);jn=En.priorityMethods,br=En.linkTags,Qr=En.metaTags,Hr=En.scriptTags}return{priority:jn,base:ht(K.BASE,Jt,Xt),bodyAttributes:ht("bodyAttributes",Lt,Xt),htmlAttributes:ht("htmlAttributes",wr,Xt),link:ht(K.LINK,br,Xt),meta:ht(K.META,Qr,Xt),noscript:ht(K.NOSCRIPT,Ir,Xt),script:ht(K.SCRIPT,Hr,Xt),style:ht(K.STYLE,At,Xt),title:ht(K.TITLE,{title:Bt,titleAttributes:qt},Xt)}},Wt=[],Rt=function(Nt,Jt){var Lt=this;Jt===void 0&&(Jt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Xt){Lt.context.helmet=Xt},helmetInstances:{get:function(){return Lt.canUseDOM?Wt:Lt.instances},add:function(Xt){(Lt.canUseDOM?Wt:Lt.instances).push(Xt)},remove:function(Xt){var wr=(Lt.canUseDOM?Wt:Lt.instances).indexOf(Xt);(Lt.canUseDOM?Wt:Lt.instances).splice(wr,1)}}},this.context=Nt,this.canUseDOM=Jt,Jt||(Nt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},ar=x.createContext({}),Ue=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),_t=typeof document!="undefined",Mt=function(Nt){function Jt(Lt){var Xt;return(Xt=Nt.call(this,Lt)||this).helmetData=new Rt(Xt.props.context,Jt.canUseDOM),Xt}return M(Jt,Nt),Jt.prototype.render=function(){return x.createElement(ar.Provider,{value:this.helmetData.value},this.props.children)},Jt}(x.Component);Mt.canUseDOM=_t,Mt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Mt.defaultProps={context:{}},Mt.displayName="HelmetProvider";var et=function(Nt,Jt){var Lt,Xt=document.head||document.querySelector(K.HEAD),wr=Xt.querySelectorAll(Nt+"[data-rh]"),Ir=[].slice.call(wr),At=[];return Jt&&Jt.length&&Jt.forEach(function(Kt){var Bt=document.createElement(Nt);for(var qt in Kt)Object.prototype.hasOwnProperty.call(Kt,qt)&&(qt==="innerHTML"?Bt.innerHTML=Kt.innerHTML:qt==="cssText"?Bt.styleSheet?Bt.styleSheet.cssText=Kt.cssText:Bt.appendChild(document.createTextNode(Kt.cssText)):Bt.setAttribute(qt,Kt[qt]===void 0?"":Kt[qt]));Bt.setAttribute("data-rh","true"),Ir.some(function(br,Qr){return Lt=Qr,Bt.isEqualNode(br)})?Ir.splice(Lt,1):At.push(Bt)}),Ir.forEach(function(Kt){return Kt.parentNode.removeChild(Kt)}),At.forEach(function(Kt){return Xt.appendChild(Kt)}),{oldTags:Ir,newTags:At}},ft=function(Nt,Jt){var Lt=document.getElementsByTagName(Nt)[0];if(Lt){for(var Xt=Lt.getAttribute("data-rh"),wr=Xt?Xt.split(","):[],Ir=[].concat(wr),At=Object.keys(Jt),Kt=0;Kt=0;Qr-=1)Lt.removeAttribute(Ir[Qr]);wr.length===Ir.length?Lt.removeAttribute("data-rh"):Lt.getAttribute("data-rh")!==At.join(",")&&Lt.setAttribute("data-rh",At.join(","))}},ot=function(Nt,Jt){var Lt=Nt.baseTag,Xt=Nt.htmlAttributes,wr=Nt.linkTags,Ir=Nt.metaTags,At=Nt.noscriptTags,Kt=Nt.onChangeClientState,Bt=Nt.scriptTags,qt=Nt.styleTags,br=Nt.title,Qr=Nt.titleAttributes;ft(K.BODY,Nt.bodyAttributes),ft(K.HTML,Xt),function(Yn,St){Yn!==void 0&&document.title!==Yn&&(document.title=U(Yn)),ft(K.TITLE,St)}(br,Qr);var Hr={baseTag:et(K.BASE,Lt),linkTags:et(K.LINK,wr),metaTags:et(K.META,Ir),noscriptTags:et(K.NOSCRIPT,At),scriptTags:et(K.SCRIPT,Bt),styleTags:et(K.STYLE,qt)},jn={},En={};Object.keys(Hr).forEach(function(Yn){var St=Hr[Yn],Vr=St.newTags,ii=St.oldTags;Vr.length&&(jn[Yn]=Vr),ii.length&&(En[Yn]=Hr[Yn].oldTags)}),Jt&&Jt(),Kt(Nt,jn,En)},qe=null,Ne=function(Nt){function Jt(){for(var Xt,wr=arguments.length,Ir=new Array(wr),At=0;At elements are self-closing and can not contain children. Refer to our API for more information.")}},Lt.flattenArrayTypeChildren=function(Xt){var wr,Ir=Xt.child,At=Xt.arrayTypeChildren;return I({},At,((wr={})[Ir.type]=[].concat(At[Ir.type]||[],[I({},Xt.newChildProps,this.mapNestedChildrenToProps(Ir,Xt.nestedChildren))]),wr))},Lt.mapObjectTypeChildren=function(Xt){var wr,Ir,At=Xt.child,Kt=Xt.newProps,Bt=Xt.newChildProps,qt=Xt.nestedChildren;switch(At.type){case K.TITLE:return I({},Kt,((wr={})[At.type]=qt,wr.titleAttributes=I({},Bt),wr));case K.BODY:return I({},Kt,{bodyAttributes:I({},Bt)});case K.HTML:return I({},Kt,{htmlAttributes:I({},Bt)});default:return I({},Kt,((Ir={})[At.type]=I({},Bt),Ir))}},Lt.mapArrayTypeChildrenToProps=function(Xt,wr){var Ir=I({},wr);return Object.keys(Xt).forEach(function(At){var Kt;Ir=I({},Ir,((Kt={})[At]=Xt[At],Kt))}),Ir},Lt.warnOnInvalidChildren=function(Xt,wr){return k()(ne.some(function(Ir){return Xt.type===Ir}),typeof Xt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+Xt.type+"> elements. Refer to our API for more information."),k()(!wr||typeof wr=="string"||Array.isArray(wr)&&!wr.some(function(Ir){return typeof Ir!="string"}),"Helmet expects a string as a child of <"+Xt.type+">. Did you forget to wrap your children in braces? ( <"+Xt.type+">{``} ) Refer to our API for more information."),!0},Lt.mapChildrenToProps=function(Xt,wr){var Ir=this,At={};return x.Children.forEach(Xt,function(Kt){if(Kt&&Kt.props){var Bt=Kt.props,qt=Bt.children,br=N(Bt,ye),Qr=Object.keys(br).reduce(function(jn,En){return jn[J[En]||En]=br[En],jn},{}),Hr=Kt.type;switch(typeof Hr=="symbol"?Hr=Hr.toString():Ir.warnOnInvalidChildren(Kt,qt),Hr){case K.FRAGMENT:wr=Ir.mapChildrenToProps(qt,wr);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:At=Ir.flattenArrayTypeChildren({child:Kt,arrayTypeChildren:At,newChildProps:Qr,nestedChildren:qt});break;default:wr=Ir.mapObjectTypeChildren({child:Kt,newProps:wr,newChildProps:Qr,nestedChildren:qt})}}}),this.mapArrayTypeChildrenToProps(At,wr)},Lt.render=function(){var Xt=this.props,wr=Xt.children,Ir=N(Xt,ke),At=I({},Ir),Kt=Ir.helmetData;return wr&&(At=this.mapChildrenToProps(wr,At)),!Kt||Kt instanceof Rt||(Kt=new Rt(Kt.context,Kt.instances)),Kt?x.createElement(Ne,I({},At,{context:Kt.value,helmetData:void 0})):x.createElement(ar.Consumer,null,function(Bt){return x.createElement(Ne,I({},At,{context:Bt}))})},Jt}(x.Component);$e.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},$e.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},$e.displayName="Helmet";const He={},Qe=Nt=>x.createElement(Mt,{context:He},Nt);var ut=e(92736),pt=e(65582),or=e(36237),tr=e(85277),Me=e(28440),tt=e.n(Me),Yt=Object.defineProperty,Ot=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,lr=(Nt,Jt,Lt)=>Jt in Nt?Yt(Nt,Jt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Nt[Jt]=Lt,Ht=(Nt,Jt)=>{for(var Lt in Jt||(Jt={}))Zt.call(Jt,Lt)&&lr(Nt,Lt,Jt[Lt]);if(Ot)for(var Lt of Ot(Jt))Gt.call(Jt,Lt)&&lr(Nt,Lt,Jt[Lt]);return Nt},Te=(Nt,Jt)=>{var Lt={};for(var Xt in Nt)Zt.call(Nt,Xt)&&Jt.indexOf(Xt)<0&&(Lt[Xt]=Nt[Xt]);if(Nt!=null&&Ot)for(var Xt of Ot(Nt))Jt.indexOf(Xt)<0&&Gt.call(Nt,Xt)&&(Lt[Xt]=Nt[Xt]);return Lt};let ce=null;const pe=()=>(ce||(ce=an().applyPlugins({key:"antd",type:pt.ApplyPluginsType.modify,initialValue:Ht({},{componentSize:"middle"})})),ce);function Tt({children:Nt}){let Jt=Nt;const[Lt,Xt]=x.useState(()=>{const Ir=pe(),{appConfig:At}=Ir;return Te(Ir,["appConfig"])}),wr=Ir=>{Xt(At=>tt()({},At,typeof Ir=="function"?Ir(At):Ir))};return Lt.prefixCls&&ut.ZP.config({prefixCls:Lt.prefixCls}),Lt.iconPrefixCls&&ut.ZP.config({iconPrefixCls:Lt.iconPrefixCls}),Lt.theme&&ut.ZP.config({theme:Lt.theme}),Jt=x.createElement(ut.ZP,Ht({},Lt),Jt),Jt=x.createElement(or.StyleProvider,{hashPriority:"high"},Jt),Jt=x.createElement(tr.C.Provider,{value:wr},x.createElement(tr.S.Provider,{value:Lt},Jt)),Jt}function Ae(Nt){return x.createElement(Tt,null,Nt)}var st=e(74133);function $t(Nt,Jt){return x.createElement(st.j,Jt,Nt)}var bt=e(13007),Ce=e(2893);function yt(){var Nt,Jt;const Lt=getLocale();(Nt=moment)!=null&&Nt.locale&&moment.locale(((Jt=localeInfo[Lt])==null?void 0:Jt.momentLocale)||""),setIntl(Lt)}const ze=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,xe=Nt=>{var Jt;const Lt=(0,Ce.Kd)(),[Xt,wr]=x.useState(Lt),[Ir,At]=x.useState(()=>(0,Ce.lw)(Xt,!0)),Kt=br=>{var Qr,Hr;(Qr=u())!=null&&Qr.locale&&u().locale(((Hr=Ce.H8[br])==null?void 0:Hr.momentLocale)||"en"),wr(br),At((0,Ce.lw)(br))};ze(()=>(Ce.B.on(Ce.PZ,Kt),()=>{Ce.B.off(Ce.PZ,Kt)}),[]);const Bt={},qt=(0,Ce.Mg)();return x.createElement(ut.ZP,{direction:qt,locale:((Jt=Ce.H8[Xt])==null?void 0:Jt.antd)||Bt},x.createElement(Ce.eU,{value:Ir},Nt.children))};function dt(Nt){return x.createElement(xe,null,Nt)}function It(Nt){return Nt.default?typeof Nt.default=="function"?Nt.default():Nt.default:Nt}function Be(){return[{apply:It(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Or(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let mt=null;function Jr(){return mt=pt.PluginManager.create({plugins:Be(),validKeys:Or()}),mt}function an(){return mt}},65582:function(d,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return _t},Link:function(){return Q},Outlet:function(){return V.j3},PluginManager:function(){return Mt},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return et.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return V.TH},useOutletContext:function(){return V.bx},useParams:function(){return V.UO},useSearchParams:function(){return G.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(85277);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(22575),o=e(74133),h=e(2893),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(Qe,ut,pt)=>ut in Qe?u(Qe,ut,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Qe[ut]=pt,S=(Qe,ut)=>{for(var pt in ut||(ut={}))y.call(ut,pt)&&b(Qe,pt,ut[pt]);if(p)for(var pt of p(ut))m.call(ut,pt)&&b(Qe,pt,ut[pt]);return Qe},k=(Qe,ut)=>a(Qe,x(ut)),R=(Qe,ut)=>{var pt={};for(var or in Qe)y.call(Qe,or)&&ut.indexOf(or)<0&&(pt[or]=Qe[or]);if(Qe!=null&&p)for(var or of p(Qe))ut.indexOf(or)<0&&m.call(Qe,or)&&(pt[or]=Qe[or]);return pt};const A=Qe=>{var ut=Qe,{overlayClassName:pt}=ut,or=R(ut,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:pt},or))},I=Qe=>Qe.reduce((ut,pt)=>pt.lang?k(S({},ut),{[pt.lang]:pt}):ut,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},B=Qe=>React.createElement(React.Fragment,null);var N=e(38329),K=e(38127),G=e(32451),H=e(67704),ae=e(87296);function ne(Qe,ut){var pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var tr=r.useRef(typeof IntersectionObserver=="function"),Me=r.useRef(null);return r.useEffect(function(){if(!(!Qe.current||!tr.current||or.disabled))return Me.current=new IntersectionObserver(function(tt){var Yt=(0,ae.Z)(tt,1),Ot=Yt[0];ut(Ot)},pt),Me.current.observe(Qe.current),function(){var tt;(tt=Me.current)===null||tt===void 0||tt.disconnect()}},[ut,pt,or.disabled,Qe]),Me.current}var oe=["prefetch"];function J(Qe){var ut=r.useRef(null);return r.useEffect(function(){Qe&&(typeof Qe=="function"?Qe(ut.current):Qe.current=ut.current)}),ut}var Q=r.forwardRef(function(Qe,ut){var pt,or=Qe.prefetch,tr=(0,K.Z)(Qe,oe),Me=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},tt=Me.defaultPrefetch,Yt=Me.defaultPrefetchTimeout,Ot=(or===!0?"intent":or===!1?"none":or)||tt;if(!["intent","render","viewport","none"].includes(Ot))throw new Error("Invalid prefetch value ".concat(Ot," found in Link component"));var Zt=(0,H.Ov)(),Gt=typeof Qe.to=="string"?Qe.to:(pt=Qe.to)===null||pt===void 0?void 0:pt.pathname,lr=r.useRef(!1),Ht=J(ut),Te=function(Tt){if(Ot==="intent"){var Ae=Tt.target||{};Ae.preloadTimeout||(Ae.preloadTimeout=setTimeout(function(){var st;Ae.preloadTimeout=null,(st=Zt.preloadRoute)===null||st===void 0||st.call(Zt,Gt)},Qe.prefetchTimeout||Yt))}},ce=function(Tt){if(Ot==="intent"){var Ae=Tt.target||{};Ae.preloadTimeout&&(clearTimeout(Ae.preloadTimeout),Ae.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Ot==="render"&&!lr.current){var pe;(pe=Zt.preloadRoute)===null||pe===void 0||pe.call(Zt,Gt),lr.current=!0}},[Ot,Gt]),ne(Ht,function(pe){if(pe!=null&&pe.isIntersecting){var Tt;(Tt=Zt.preloadRoute)===null||Tt===void 0||Tt.call(Zt,Gt)}},{rootMargin:"100px"},{disabled:Ot!=="viewport"}),Gt?r.createElement(G.rU,(0,N.Z)({onMouseEnter:Te,onMouseLeave:ce,ref:Ht},tr),Qe.children):null}),V=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return ut};var Qe,ut={},pt=Object.prototype,or=pt.hasOwnProperty,tr=Object.defineProperty||function(Nt,Jt,Lt){Nt[Jt]=Lt.value},Me=typeof Symbol=="function"?Symbol:{},tt=Me.iterator||"@@iterator",Yt=Me.asyncIterator||"@@asyncIterator",Ot=Me.toStringTag||"@@toStringTag";function Zt(Nt,Jt,Lt){return Object.defineProperty(Nt,Jt,{value:Lt,enumerable:!0,configurable:!0,writable:!0}),Nt[Jt]}try{Zt({},"")}catch(Nt){Zt=function(Lt,Xt,wr){return Lt[Xt]=wr}}function Gt(Nt,Jt,Lt,Xt){var wr=Jt&&Jt.prototype instanceof Ae?Jt:Ae,Ir=Object.create(wr.prototype),At=new Jr(Xt||[]);return tr(Ir,"_invoke",{value:It(Nt,Lt,At)}),Ir}function lr(Nt,Jt,Lt){try{return{type:"normal",arg:Nt.call(Jt,Lt)}}catch(Xt){return{type:"throw",arg:Xt}}}ut.wrap=Gt;var Ht="suspendedStart",Te="suspendedYield",ce="executing",pe="completed",Tt={};function Ae(){}function st(){}function $t(){}var bt={};Zt(bt,tt,function(){return this});var Ce=Object.getPrototypeOf,yt=Ce&&Ce(Ce(an([])));yt&&yt!==pt&&or.call(yt,tt)&&(bt=yt);var ze=$t.prototype=Ae.prototype=Object.create(bt);function xe(Nt){["next","throw","return"].forEach(function(Jt){Zt(Nt,Jt,function(Lt){return this._invoke(Jt,Lt)})})}function dt(Nt,Jt){function Lt(wr,Ir,At,Kt){var Bt=lr(Nt[wr],Nt,Ir);if(Bt.type!=="throw"){var qt=Bt.arg,br=qt.value;return br&&(0,se.Z)(br)=="object"&&or.call(br,"__await")?Jt.resolve(br.__await).then(function(Qr){Lt("next",Qr,At,Kt)},function(Qr){Lt("throw",Qr,At,Kt)}):Jt.resolve(br).then(function(Qr){qt.value=Qr,At(qt)},function(Qr){return Lt("throw",Qr,At,Kt)})}Kt(Bt.arg)}var Xt;tr(this,"_invoke",{value:function(Ir,At){function Kt(){return new Jt(function(Bt,qt){Lt(Ir,At,Bt,qt)})}return Xt=Xt?Xt.then(Kt,Kt):Kt()}})}function It(Nt,Jt,Lt){var Xt=Ht;return function(wr,Ir){if(Xt===ce)throw new Error("Generator is already running");if(Xt===pe){if(wr==="throw")throw Ir;return{value:Qe,done:!0}}for(Lt.method=wr,Lt.arg=Ir;;){var At=Lt.delegate;if(At){var Kt=Be(At,Lt);if(Kt){if(Kt===Tt)continue;return Kt}}if(Lt.method==="next")Lt.sent=Lt._sent=Lt.arg;else if(Lt.method==="throw"){if(Xt===Ht)throw Xt=pe,Lt.arg;Lt.dispatchException(Lt.arg)}else Lt.method==="return"&&Lt.abrupt("return",Lt.arg);Xt=ce;var Bt=lr(Nt,Jt,Lt);if(Bt.type==="normal"){if(Xt=Lt.done?pe:Te,Bt.arg===Tt)continue;return{value:Bt.arg,done:Lt.done}}Bt.type==="throw"&&(Xt=pe,Lt.method="throw",Lt.arg=Bt.arg)}}}function Be(Nt,Jt){var Lt=Jt.method,Xt=Nt.iterator[Lt];if(Xt===Qe)return Jt.delegate=null,Lt==="throw"&&Nt.iterator.return&&(Jt.method="return",Jt.arg=Qe,Be(Nt,Jt),Jt.method==="throw")||Lt!=="return"&&(Jt.method="throw",Jt.arg=new TypeError("The iterator does not provide a '"+Lt+"' method")),Tt;var wr=lr(Xt,Nt.iterator,Jt.arg);if(wr.type==="throw")return Jt.method="throw",Jt.arg=wr.arg,Jt.delegate=null,Tt;var Ir=wr.arg;return Ir?Ir.done?(Jt[Nt.resultName]=Ir.value,Jt.next=Nt.nextLoc,Jt.method!=="return"&&(Jt.method="next",Jt.arg=Qe),Jt.delegate=null,Tt):Ir:(Jt.method="throw",Jt.arg=new TypeError("iterator result is not an object"),Jt.delegate=null,Tt)}function Or(Nt){var Jt={tryLoc:Nt[0]};1 in Nt&&(Jt.catchLoc=Nt[1]),2 in Nt&&(Jt.finallyLoc=Nt[2],Jt.afterLoc=Nt[3]),this.tryEntries.push(Jt)}function mt(Nt){var Jt=Nt.completion||{};Jt.type="normal",delete Jt.arg,Nt.completion=Jt}function Jr(Nt){this.tryEntries=[{tryLoc:"root"}],Nt.forEach(Or,this),this.reset(!0)}function an(Nt){if(Nt||Nt===""){var Jt=Nt[tt];if(Jt)return Jt.call(Nt);if(typeof Nt.next=="function")return Nt;if(!isNaN(Nt.length)){var Lt=-1,Xt=function wr(){for(;++Lt=0;--wr){var Ir=this.tryEntries[wr],At=Ir.completion;if(Ir.tryLoc==="root")return Xt("end");if(Ir.tryLoc<=this.prev){var Kt=or.call(Ir,"catchLoc"),Bt=or.call(Ir,"finallyLoc");if(Kt&&Bt){if(this.prev=0;--Xt){var wr=this.tryEntries[Xt];if(wr.tryLoc<=this.prev&&or.call(wr,"finallyLoc")&&this.prev=0;--Lt){var Xt=this.tryEntries[Lt];if(Xt.finallyLoc===Jt)return this.complete(Xt.completion,Xt.afterLoc),mt(Xt),Tt}},catch:function(Jt){for(var Lt=this.tryEntries.length-1;Lt>=0;--Lt){var Xt=this.tryEntries[Lt];if(Xt.tryLoc===Jt){var wr=Xt.completion;if(wr.type==="throw"){var Ir=wr.arg;mt(Xt)}return Ir}}throw new Error("illegal catch attempt")},delegateYield:function(Jt,Lt,Xt){return this.delegate={iterator:an(Jt),resultName:Lt,nextLoc:Xt},this.method==="next"&&(this.arg=Qe),Tt}},ut}var q=e(63579);function le(Qe,ut,pt,or,tr,Me,tt){try{var Yt=Qe[Me](tt),Ot=Yt.value}catch(Zt){pt(Zt);return}Yt.done?ut(Ot):Promise.resolve(Ot).then(or,tr)}function Z(Qe){return function(){var ut=this,pt=arguments;return new Promise(function(or,tr){var Me=Qe.apply(ut,pt);function tt(Ot){le(Me,or,tr,tt,Yt,"next",Ot)}function Yt(Ot){le(Me,or,tr,tt,Yt,"throw",Ot)}tt(void 0)})}}var U=e(99227);function ie(Qe,ut){var pt=typeof Symbol!="undefined"&&Qe[Symbol.iterator]||Qe["@@iterator"];if(!pt){if(Array.isArray(Qe)||(pt=(0,U.Z)(Qe))||ut&&Qe&&typeof Qe.length=="number"){pt&&(Qe=pt);var or=0,tr=function(){};return{s:tr,n:function(){return or>=Qe.length?{done:!0}:{done:!1,value:Qe[or++]}},e:function(Zt){throw Zt},f:tr}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Me=!0,tt=!1,Yt;return{s:function(){pt=pt.call(Qe)},n:function(){var Zt=pt.next();return Me=Zt.done,Zt},e:function(Zt){tt=!0,Yt=Zt},f:function(){try{!Me&&pt.return!=null&&pt.return()}finally{if(tt)throw Yt}}}}var me=e(73825);function Se(Qe){if(typeof Symbol!="undefined"&&Qe[Symbol.iterator]!=null||Qe["@@iterator"]!=null)return Array.from(Qe)}var Pe=e(66160);function Ge(Qe){return(0,me.Z)(Qe)||Se(Qe)||(0,U.Z)(Qe)||(0,Pe.Z)()}function je(Qe,ut){if(!(Qe instanceof ut))throw new TypeError("Cannot call a class as a function")}var Dt=e(89878);function ht(Qe,ut){for(var pt=0;pt-1,"register failed, invalid key ".concat(tr," ").concat(pt.path?"from plugin ".concat(pt.path):"",".")),or.hooks[tr]=(or.hooks[tr]||[]).concat(pt.apply[tr])})}},{key:"getHooks",value:function(pt){var or=pt.split("."),tr=Ge(or),Me=tr[0],tt=tr.slice(1),Yt=this.hooks[Me]||[];return tt.length&&(Yt=Yt.map(function(Ot){try{var Zt=Ot,Gt=ie(tt),lr;try{for(Gt.s();!(lr=Gt.n()).done;){var Ht=lr.value;Zt=Zt[Ht]}}catch(Te){Gt.e(Te)}finally{Gt.f()}return Zt}catch(Te){return null}}).filter(Boolean)),Yt}},{key:"applyPlugins",value:function(pt){var or=pt.key,tr=pt.type,Me=pt.initialValue,tt=pt.args,Yt=pt.async,Ot=this.getHooks(or)||[];switch(tt&&Rt((0,se.Z)(tt)==="object","applyPlugins failed, args must be plain object."),Yt&&Rt(tr===_t.modify||tr===_t.event,"async only works with modify and event type."),tr){case _t.modify:return Yt?Ot.reduce(function(){var Zt=Z(ee().mark(function Gt(lr,Ht){var Te;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Rt(typeof Ht=="function"||(0,se.Z)(Ht)==="object"||Ue(Ht),"applyPlugins failed, all hooks for key ".concat(or," must be function, plain object or Promise.")),!Ue(lr)){pe.next=5;break}return pe.next=4,lr;case 4:lr=pe.sent;case 5:if(typeof Ht!="function"){pe.next=16;break}if(Te=Ht(lr,tt),!Ue(Te)){pe.next=13;break}return pe.next=10,Te;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Te);case 14:pe.next=21;break;case 16:if(!Ue(Ht)){pe.next=20;break}return pe.next=19,Ht;case 19:Ht=pe.sent;case 20:return pe.abrupt("return",(0,q.Z)((0,q.Z)({},lr),Ht));case 21:case"end":return pe.stop()}},Gt)}));return function(Gt,lr){return Zt.apply(this,arguments)}}(),Ue(Me)?Me:Promise.resolve(Me)):Ot.reduce(function(Zt,Gt){return Rt(typeof Gt=="function"||(0,se.Z)(Gt)==="object","applyPlugins failed, all hooks for key ".concat(or," must be function or plain object.")),typeof Gt=="function"?Gt(Zt,tt):(0,q.Z)((0,q.Z)({},Zt),Gt)},Me);case _t.event:return Z(ee().mark(function Zt(){var Gt,lr,Ht,Te;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Gt=ie(Ot),pe.prev=1,Gt.s();case 3:if((lr=Gt.n()).done){pe.next=12;break}if(Ht=lr.value,Rt(typeof Ht=="function","applyPlugins failed, all hooks for key ".concat(or," must be function.")),Te=Ht(tt),!(Yt&&Ue(Te))){pe.next=10;break}return pe.next=10,Te;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Gt.e(pe.t0);case 17:return pe.prev=17,Gt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Zt,null,[[1,14,17,20]])}))();case _t.compose:return function(){return ar({fns:Ot.concat(Me),args:tt})()}}}}],[{key:"create",value:function(pt){var or=new Qe({validKeys:pt.validKeys});return pt.plugins.forEach(function(tr){or.register(tr)}),or}}]),Qe}(),et=e(26243);let ft=0,ot=0;function qe(Qe,ut){}function Ne(Qe){return JSON.stringify(Qe,null,2)}function ye(Qe){const ut=Qe.length>1?Qe.map(ke).join(" "):Qe[0];return typeof ut=="object"?`${Ne(ut)}`:ut.toString()}function ke(Qe){return typeof Qe=="object"?`${JSON.stringify(Qe)}`:Qe.toString()}const $e={log(...Qe){ye(Qe)},info(...Qe){ye(Qe)},warn(...Qe){ye(Qe)},error(...Qe){ye(Qe)},group(){ot++},groupCollapsed(){ot++},groupEnd(){ot&&--ot},clear(){},trace(...Qe){console.trace(...Qe)},profile(...Qe){console.profile(...Qe)},profileEnd(...Qe){console.profileEnd(...Qe)}},He=()=>{}},85277:function(d,g,e){"use strict";e.d(g,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},74133:function(d,g,e){"use strict";e.d(g,{j:function(){return Fc},Q:function(){return xf}});var r=e(22575),i=e(89880),l=e.n(i),c=e(59301),f=e(65582),o=e(47735),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(P,O,L)=>O in P?h(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,y=(P,O)=>{for(var L in O||(O={}))a.call(O,L)&&p(P,L,O[L]);if(u)for(var L of u(O))x.call(O,L)&&p(P,L,O[L]);return P},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:P},{call:O,put:L}){return yield O(o.n1,P)},*appplySchool({payload:P},{call:O,put:L}){return yield O(o.bz,P)},*getSchoolOption({payload:P},{call:O,put:L}){return yield O(o.GY,P)},*getDepartmentOption({payload:P},{call:O,put:L}){return yield O(o.Ql,P)},*appplyDepartment({payload:P},{call:O,put:L}){return yield O(o.Zm,P)},*updateAccount({payload:P},{call:O,put:L}){return yield O(o.sG,P)},*cancelRealNameAuth({payload:P},{call:O,put:L}){return yield O(o.P,P)},*cancelProfessionalAuth({payload:P},{call:O,put:L}){return yield O(o.$f,P)},*applyProfessionalAuth({payload:P},{call:O,put:L}){return yield O(o.Ow,P)},*applyRealNameAuth({payload:P},{call:O,put:L}){return yield O(o.ht,P)},*getCode({payload:P},{call:O,put:L}){return yield O(o.Cq,P)},*bindPhone({payload:P},{call:O,put:L}){return yield O(o.eF,P)},*bindEmail({payload:P},{call:O,put:L}){return yield O(o.I8,P)},*updatePassword({payload:P},{call:O,put:L}){return yield O(o.gQ,P)},*unbindAccount({payload:P},{call:O,put:L}){return yield O(o.wi,P)},*getBasicInfo({payload:P},{call:O,put:L}){const ve=yield O(o.o9,P);return yield L({type:"save",payload:{basicInfo:y({},ve)}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:y({},P)}})}},reducers:{save(P,O){return y(y({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},S=e(5959),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,M=(P,O,L)=>O in P?k(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,B=(P,O)=>{for(var L in O||(O={}))A.call(O,L)&&M(P,L,O[L]);if(R)for(var L of R(O))I.call(O,L)&&M(P,L,O[L]);return P},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:P,callback:O},{call:L,put:ve}){return yield L(S.nZ,P)},*informUp({payload:P,callback:O},{call:L,put:ve}){return yield L(S.TO,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:B({},P)}})}},reducers:{save(P,O){return B(B({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},G=e(7310),H=Object.defineProperty,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,J=(P,O,L)=>O in P?H(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Q=(P,O)=>{for(var L in O||(O={}))ne.call(O,L)&&J(P,L,O[L]);if(ae)for(var L of ae(O))oe.call(O,L)&&J(P,L,O[L]);return P},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(G.SV,P);return yield ve({type:"save",payload:{allList:Q({},Oe)}}),Oe},*mineAttachment({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(G.zI,P);return yield ve({type:"save",payload:{mineList:Q({},Oe)}}),Oe},*fileImport({payload:P,callback:O},{call:L,put:ve}){return yield L(G.tO,P)},*getDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(G.Nm,P);return yield ve({type:"save",payload:{detail:Q({},Oe)}}),Oe},*updateVisits({payload:P,callback:O},{call:L,put:ve}){return yield L(G.H,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Q({},P)}})}},reducers:{save(P,O){return Q(Q({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},ee=e(26795),q=Object.defineProperty,le=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,ie=(P,O,L)=>O in P?q(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,me=(P,O)=>{for(var L in O||(O={}))Z.call(O,L)&&ie(P,L,O[L]);if(le)for(var L of le(O))U.call(O,L)&&ie(P,L,O[L]);return P},Pe={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ee.yq,P);return yield ve({type:"save",payload:{boardsCategoryList:me({},Oe.data)}}),Oe.data},*getBoardsDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ee.dI,P);return yield ve({type:"save",payload:{boardsDetail:me({},Oe.data)}}),Oe.data},*setTopping({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.cc,P)},*escTopping({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.CJ,P)},*getReplyList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ee.PC,P);yield ve({type:"save",payload:{replyList:me({},Oe.data)}})},*createReply({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.PP,P)},*replyLike({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.NA,P)},*replyUnLike({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.YQ,P)},*deleteReply({payload:P,callback:O},{call:L,put:ve}){return yield L(ee.Mf,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:me({},P)}})}},reducers:{save(P,O){return me(me({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},Ge=e(87513),je=Object.defineProperty,Dt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Wt=(P,O,L)=>O in P?je(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Rt=(P,O)=>{for(var L in O||(O={}))ht.call(O,L)&&Wt(P,L,O[L]);if(Dt)for(var L of Dt(O))Pt.call(O,L)&&Wt(P,L,O[L]);return P},Ue={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.$Q,P);return yield ve({type:"save",payload:{ScoreRangesData:Oe==null?void 0:Oe.data}}),Oe},*getQuestionResult({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge._U,P);return yield ve({type:"save",payload:{NormalResult:Oe}}),Oe},*getUserExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.xA,P);return yield ve({type:"save",payload:{userExerciseList:Rt({},(Oe==null?void 0:Oe.data)||{})}}),console.log("getUserExercise-res:",Oe),Oe==null?void 0:Oe.data},*getExerciseIdentityPhotos({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.J,P);return yield ve({type:"save",payload:{exerciseIdentityPhotos:Rt({},(Oe==null?void 0:Oe.data)||{})}}),Oe==null?void 0:Oe.data},*getExerciseExportHeadData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.iw,P);return yield ve({type:"save",payload:{exerciseExportHeadData:Rt({},Oe)}}),Oe},*getExerciseUserInfo({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.Ty,P);return(Oe==null?void 0:Oe.status)===0&&(yield ve({type:"save",payload:Rt({},{exerciseUserInfo:Rt({},Oe.data)})})),Oe},*getExaminationIntelligentSettings({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.sA,P);return yield ve({type:"save",payload:{examinationIntelligentSettings:Rt({},Oe)}}),Oe},*getRandomEditExercises({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.yu,P);return yield ve({type:"save",payload:{editRandomExercises:Rt({},Oe)}}),Oe},*getExerciseList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.G$,P);if(Oe!=null&&Oe.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Oe.total_exercise_users)}catch(dn){}return yield ve({type:"save",payload:{exerciseList:Rt({},Oe)}}),yield ve({type:"save",payload:{order_type:P.order_type,order:P.order}}),Oe},*getExerciseStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge._u,P);return yield ve({type:"save",payload:{statisticsList:Rt({},Oe)}}),Oe},*getBrankList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.n$,P);return yield ve({type:"save",payload:{brankList:Rt({},Oe)}}),Oe},*saveBanks({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.lf,P)},*getExerciseCourses({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.N3,P);return yield ve({type:"save",payload:{exerciseCoursesList:Rt({},Oe)}}),Oe},*addExercise({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.uR,P)},*editExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.qf,P);return yield ve({type:"save",payload:{editData:Rt({},Oe)}}),Oe},*getTagDiscipline({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.YY,P);return yield ve({type:"save",payload:{tagDisciplineData:Rt({},Oe)}}),Oe},*editExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.Di,P)},*addExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.MK,P)},*exeriseMoveUpDown({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.GK,P)},*getEndGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.KE,P);return yield ve({type:"save",payload:{endGroups:Rt({},Oe)}}),Oe},*getPublishGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.ux,P);return yield ve({type:"save",payload:{publishGroups:Rt({},Oe)}}),Oe},*getCommonHeader({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.UK,P);return yield ve({type:"save",payload:{commonHeader:Rt({},Oe)}}),Oe},*getReviewExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.BJ,P);return yield ve({type:"save",payload:{reviewExercise:Rt({},Oe)}}),Oe},*postReviewExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.pu,P);return yield ve({type:"save",payload:{reviewExercise:Rt({},Oe)}}),Oe},*getCentralizeReviewExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.X4,P);return yield ve({type:"save",payload:{reviewExercise:Rt({},Oe)}}),Oe},*clearData({payload:P,callback:O},{call:L,put:ve}){yield ve({type:"save",payload:{[P.key]:{}}})},*getReviewGroupExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.W4,P);return yield ve({type:"save",payload:{reviewGroupExercise:Rt({},Oe)}}),Oe},*getWorkSetting({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.Ul,P);return yield ve({type:"save",payload:{workSetting:Rt({},Oe)}}),Oe},*getRedoModal({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.tX,P);return yield ve({type:"save",payload:{redoModal:Rt({},Oe)}}),Oe},*getRedoListModal({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.s,P);return yield ve({type:"save",payload:{redoModal:Rt({},Oe)}}),Oe},*getCodeReviewDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.Xn,P);return yield ve({type:"save",payload:{codeReviewDetail:Rt({},Oe)}}),Oe},*changeScore({payload:P,callback:O},{call:L,put:ve}){return yield L(Ge.gG,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Rt({},P)}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:P==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:P},{call:O,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:P}})}},reducers:{save(P,O){return Rt(Rt({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},_t=e(66479),Mt=Object.defineProperty,et=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,qe=(P,O,L)=>O in P?Mt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ne=(P,O)=>{for(var L in O||(O={}))ft.call(O,L)&&qe(P,L,O[L]);if(et)for(var L of et(O))ot.call(O,L)&&qe(P,L,O[L]);return P},ke={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.x_,P);return yield ve({type:"save",payload:{detailList:Ne({},Oe)}}),Oe},*getTasksListDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.QA,P);return yield ve({type:"save",payload:{detailTaskList:Ne({},Oe)}}),Oe},*getTopisDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.B6,P);return yield ve({type:"save",payload:{detail:Ne({},Oe)}}),Oe},*getTasksDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.y3,P);return yield ve({type:"save",payload:{tasksDetail:Ne({},Oe)}}),Oe},*refuseTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.mM,P)},*agreeTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.je,P)},*getReplyList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.PC,P);yield ve({type:"save",payload:{replyList:Ne({},Oe)}})},*createReply({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.PP,P)},*replyLike({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.NA,P)},*replyUnLike({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.YQ,P)},*deleteReply({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.Mf,P)},*addTopicDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.y0,P);yield ve({type:"save",payload:{addTopicData:Ne({},Oe)}})},*editTopicDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t.hL,P);return yield ve({type:"save",payload:{editTopicData:Ne({},Oe)}}),Oe},*editTasksDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(_t._n,P);return yield ve({type:"save",payload:{editTasksData:Ne({},Oe)}}),Oe},*addTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.Gr,P)},*editTopic({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.wA,P)},*addTasks({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.Sv,P)},*editTasks({payload:P,callback:O},{call:L,put:ve}){return yield L(_t.RP,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ne({},P)}})}},reducers:{save(P,O){return Ne(Ne({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},$e=e(89392),He=e(88761),Qe=Object.defineProperty,ut=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,tr=(P,O,L)=>O in P?Qe(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Me=(P,O)=>{for(var L in O||(O={}))pt.call(O,L)&&tr(P,L,O[L]);if(ut)for(var L of ut(O))or.call(O,L)&&tr(P,L,O[L]);return P},Yt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.h$,P);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(P),localStorage.setItem("all_student_works_param",JSON.stringify(P))}catch(dn){}return yield ve({type:"save",payload:{workList:Me({},Oe)}}),Oe},*getShixunWorkHeadInfo({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.fK,P);try{}catch(dn){}return yield ve({type:"save",payload:{headerInfo:Oe==null?void 0:Oe.data}}),Oe},*getShixunWorkList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Z8,P);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(P),localStorage.setItem("all_student_works_param",JSON.stringify(P))}catch(dn){}return yield ve({type:"save",payload:{shixunWorkList:Oe==null?void 0:Oe.data,homeworkAssistantPermissions:Oe.homework_assistant_permissions,shixunAssistantPermission:Oe.shixun_assistant_permission,courseAssistantPermission:Oe.course_assistant_permission}}),Oe},*getCodeReview({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.RP,P);return yield ve({type:"save",payload:{codeReview:Me({},Oe)}}),Oe},*getCodeReviewDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Xn,P);return yield ve({type:"save",payload:{codeReviewDetail:Me({},Oe)}}),Oe},*getWorkDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.to,P);return yield ve({type:"save",payload:{workDetail:Me({},Oe)}}),Oe},*updateWork({payload:P,callback:O},{call:L,put:ve}){return yield L(He.H,P)},*getShixunWorkReport({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.sw,P);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(dn){}return yield ve({type:"save",payload:{shixunWorkReport:Me({},Oe)}}),Oe},*getShixunWorkReports({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.cz,P);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(dn){}return yield ve({type:"save",payload:{shixunWorkReport:Me({},Oe)}}),Oe},*getWorkSetting({payload:P,callback:O},{call:L,put:ve}){var Oe,dn;const In=yield L(He.Ul,P);(Oe=In==null?void 0:In.group_settings)==null||Oe.map(Mi=>{Mi.value=Mi.group_name,Mi.id=Mi.group_id,Mi.group_id=[Mi.group_id]}),(dn=In==null?void 0:In.allow_late_settings)==null||dn.map(Mi=>{Mi.value=Mi.group_name,Mi.id=Mi.group_id,Mi.group_id=[Mi.group_id]});const pn={shixun_evaluation:In.shixun_evaluation,challenge_settings:In.challenge_settings};return yield ve({type:"save",payload:{workSetting:Me({},In),changeData:(0,$e.cloneDeep)(pn)}}),In},*updateSetting({payload:P,callback:O},{call:L,put:ve}){return yield L(He.m7,P)},*getCodeReviewCourse({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.JG,P);return yield ve({type:"save",payload:{codeReviewCourse:Me({},Oe)}}),Oe},*exportShixunWorks({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Dx,P)},*getReferenceAnswer({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Q3,P);return yield ve({type:"save",payload:{referenceAnswer:Me({},Oe)}}),Oe},*getPublishGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ux,P);return yield ve({type:"save",payload:{publishGroups:Me({},Oe)}}),Oe},*getEndGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.KE,P);return yield ve({type:"save",payload:{endGroups:Me({},Oe)}}),Oe},*getBrankList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.n$,P);return yield ve({type:"save",payload:{brankList:Me({},Oe)}}),Oe},*changeScore({payload:P,callback:O},{call:L,put:ve}){return yield L(He.gG,P)},*saveBanks({payload:P,callback:O},{call:L,put:ve}){return yield L(He.lf,P)},*addCommonHomeWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Qt,P);return yield ve({type:"save",payload:{commonHomeWorkAddDefaultData:Me({},Oe)}}),Oe},*getSearchMemberList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Lz,P);return yield ve({type:"save",payload:{searchMemberList:Me({},Oe)}}),Oe},*getProjectList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ku,P);return yield ve({type:"save",payload:{searchProjectList:Me({},Oe)}}),Oe},*addStudentWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ak,P);return yield ve({type:"save",payload:{studentWorkAddDefaultData:Me({},Oe)}}),Oe},*editStudentWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.PW,P);return yield ve({type:"save",payload:{studentWorkEditDefaultData:Me({},Oe)}}),Oe},*editCommonHomeWorkDefaultData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.BD,P);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Me({},Oe)}}),Oe},*editCommonHomeWorkDefaultBankData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.pH,P);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Me({},Oe)}}),Oe},*getReplyList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.PC,P);yield ve({type:"save",payload:{replyList:Me({},Oe)}})},*getStudentWorkDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Hj,P);yield ve({type:"save",payload:{studentWorkDetail:Me({},Oe)}})},*getStudentWorkSupplyDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ub,P);yield ve({type:"save",payload:{studentWorkSupplyDetail:Me({},Oe)}})},*getStudentWorkCommon({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.JA,P);yield ve({type:"save",payload:{studentWorkCommon:Me({},Oe)}})},*getAllStudentWorks({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.ql,P);return yield ve({type:"save",payload:{allStudentWorks:Me({},Oe)}}),Oe},*getFileRepeatResult({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.oN,P);return yield ve({type:"save",payload:{codeReview:Me({},Oe)}}),Oe},*getFileRepeatDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(He.Ti,P);return yield ve({type:"save",payload:{codeReviewDetail:Me({},Oe)}}),Oe},*createReply({payload:P,callback:O},{call:L,put:ve}){return yield L(He.PP,P)},*replyLike({payload:P,callback:O},{call:L,put:ve}){return yield L(He.NA,P)},*replyUnLike({payload:P,callback:O},{call:L,put:ve}){return yield L(He.YQ,P)},*deleteReply({payload:P,callback:O},{call:L,put:ve}){return yield L(He.Mf,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Me({},P)}})}},reducers:{save(P,O){return Me(Me({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Ot=e(33270),Zt=e(41867),Gt=Object.defineProperty,lr=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ce=(P,O,L)=>O in P?Gt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,pe=(P,O)=>{for(var L in O||(O={}))Ht.call(O,L)&&ce(P,L,O[L]);if(lr)for(var L of lr(O))Te.call(O,L)&&ce(P,L,O[L]);return P},Ae={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:P},{call:O,put:L}){yield O(Ot.gq,P)},*getAssistantPermissions({payload:P},{call:O,put:L}){if(!(0,Zt.eB)())return;const ve=yield O(Ot.rS,P);yield L({type:"save",payload:{AssistantObject:ve.permissions}})},*getAiStatusQuery({payload:P},{call:O,put:L}){const ve=yield O(Ot.LH,P);return yield L({type:"save",payload:{cal_finish_if:ve.cal_finish_if}}),ve},*updateCoursePortraitData({payload:P},{call:O,put:L}){return yield O(Ot.Z_,P)},*getUserPortraitConfig({payload:P},{call:O,put:L}){const ve=yield O(Ot._0,P);return yield L({type:"save",payload:{userPortraitConfig:ve.data}}),ve},*updateUserPortraitConfig({payload:P},{call:O,put:L}){return yield O(Ot.r2,P)},*getClassroom({payload:P},{call:O,put:L}){const ve=P,Oe=yield O(Ot.V8,P);return yield L({type:"save",payload:pe({listParams:ve},Oe)}),Oe},*getClassroomTopBanner({payload:P},{call:O,put:L}){const ve=yield O(Ot.U_,P);return yield L({type:"save",payload:{detailTopBanner:ve.status?{copy_completed:!0}:pe({},ve)}}),ve.status?{copy_completed:!0}:ve},*getClassroomLeftMenus({payload:P},{call:O,put:L}){const ve=yield O(Ot.w9,P);let Oe=[...(ve==null?void 0:ve.course_modules)||[],...(ve==null?void 0:ve.hidden_modules)||[]],dn={};return Oe==null||Oe.forEach(In=>{dn[In.type]=In.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},ve),detailLeftMenusNames:dn}}),ve},*getClassroomShixunsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Nd,P);yield L({type:"save",payload:{detailShixunsList:pe({},ve)}})},*getClassroomTeacherShixunsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Gk,P);return yield L({type:"save",payload:{detailShixunsList:pe({},ve)}}),ve},*getClassroomCommonList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Nd,P);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomTeacherCommonList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Gk,P);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}}),ve},*getClassroomGraduationTopicsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.yV,P);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},ve)}})},*getClassroomGraduationTaskList({payload:P},{call:O,put:L}){const ve=yield O(Ot.R2,P);yield L({type:"save",payload:{detailGraduationTaskList:pe({},ve)}})},*getClassroomExercisesList({payload:P},{call:O,put:L}){const ve=yield O(Ot.N7,P);yield L({type:"save",payload:{detailExerciseList:pe({},ve)}})},*getClassroomPollsList({payload:P},{call:O,put:L}){const ve=yield O(Ot.BR,P);yield L({type:"save",payload:{detailPollsList:pe({},ve)}})},*getCourseGroups({payload:P},{call:O,put:L}){const ve=yield O(Ot.qB,P);yield L({type:"save",payload:{courseGroups:pe({},ve)}})},*getAllCourseGroup({payload:P},{call:O,put:L}){const ve=yield O(Ot.c_,P);return yield L({type:"save",payload:{allCourseGroups:pe({},ve)}}),ve},*getClassroomCommonHomeworksList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Al,P);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomAttendancesList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Vw,P);yield L({type:"save",payload:{detailAttendancesList:pe({},ve)}})},*getClassroomAttendancesStatistic({payload:P},{call:O,put:L}){const ve=yield O(Ot.Ls,P);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},ve)}})},*getAttendanceDetail({payload:P},{call:O,put:L}){const ve=yield O(Ot.zg,P);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},ve)}}),ve},*getAnnouncementList({payload:P},{call:O,put:L}){const ve=yield O(Ot.QZ,P);yield L({type:"save",payload:{detailAnnouncementList:pe({},ve)}})},*getAttachmentList({payload:P},{call:O,put:L}){const ve=yield O(Ot.KT,P);yield L({type:"save",payload:{detailAttachmentList:pe({},ve.data)}})},*getCourseware({payload:P},{call:O,put:L}){const ve=yield O(Ot.ZT,P);yield L({type:"save",payload:{detailCourseware:pe({},ve.data)}})},*getVideoList({payload:P},{call:O,put:L}){const ve=yield O(Ot.O3,P);yield L({type:"save",payload:{detailVideoList:pe({},ve)}})},*getLiveVideoList({payload:P},{call:O,put:L}){const ve=yield O(Ot.DJ,P);yield L({type:"save",payload:{detailLiveVideoList:pe({},ve)}})},*getCoursesMine({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.Ed,P);return yield ve({type:"save",payload:{courseMine:pe({},Oe)}}),Oe.data},*getBoardList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.KP,P);return yield ve({type:"save",payload:{detailBoardList:pe({},Oe.data)}}),Oe.data},*getCourseGroupsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.kW,P);return yield ve({type:"save",payload:{detailCourseGroupsList:pe({},Oe)}}),Oe},*getCourseStudentsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.J2,P);return yield ve({type:"save",payload:{detailCoursStudentsList:pe({},Oe)}}),Oe.data},*getCourseStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.g4,P);return yield ve({type:"save",payload:{detailCourseStatisticsList:pe({},Oe)}}),Oe},*getCourseActscore({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.t1,P);return yield ve({type:"save",payload:{detailCourseActscore:pe({},Oe)}}),Oe},*getCourseWorkscore({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.GV,P);return yield ve({type:"save",payload:{detailCourseWorkscore:pe({},Oe)}}),Oe},*getShixunLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.Pj,P);return yield ve({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getExperimentLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot._9,P);return yield ve({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getShixunAiRecommendLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.Hn,P);return yield ve({type:"save",payload:{shixunAiRecommendLists:pe({},Oe)}}),Oe},*getCoursesLists({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.W7,P);return yield ve({type:"save",payload:{coursesLists:pe({},Oe)}}),Oe},*createCoursesHomework({payload:P,callback:O},{call:L,put:ve}){return yield L(Ot.Ds,P)},*createShixunHomework({payload:P,callback:O},{call:L,put:ve}){return yield L(Ot.aQ,P)},*createExperiment({payload:P,callback:O},{call:L,put:ve}){return yield L(Ot.BQ,P)},*getSchoolList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.K$,P);return yield ve({type:"save",payload:{schoolList:pe({},Oe.school_names)}}),Oe.school_names},*searchSchoolTeacherList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.nQ,P);return yield ve({type:"save",payload:{searchMemberList:pe({},Oe)}}),Oe},*getAllTaskList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.km,P);return yield ve({type:"save",payload:{taskList:[...Oe.tasks]}}),Oe},*updateTaskPosition({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ot.U8,P);return yield ve({type:"save",payload:{actionTabs:{key:""}}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pe({},P)}})},*setUpdateData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateData:P}})}},reducers:{save(P,O){return pe(pe({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},st=Object.defineProperty,$t=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,yt=(P,O,L)=>O in P?st(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ze=(P,O)=>{for(var L in O||(O={}))bt.call(O,L)&&yt(P,L,O[L]);if($t)for(var L of $t(O))Ce.call(O,L)&&yt(P,L,O[L]);return P},dt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:P},{call:O,put:L}){const ve=yield O(Ot.K$,P);yield L({type:"save",payload:{schoolList:(ve==null?void 0:ve.school_names)||[]}})},*getSearchCourseList({payload:P},{call:O,put:L}){const ve=yield O(Ot.oM,P);yield L({type:"save",payload:{searchCourseList:(ve==null?void 0:ve.course_lists)||[]}})},*submitCourses({payload:P},{call:O,put:L}){return yield O(Ot.Bn,P)},*appplySchool({payload:P},{call:O,put:L}){return yield O(Ot.bz,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ze({},P)}})},*joincoursegroup({payload:P},{call:O,put:L}){return yield O(Ot.WK,P)}},reducers:{save(P,O){return ze(ze({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},It=Object.defineProperty,Be=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Jr=(P,O,L)=>O in P?It(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,an=(P,O)=>{for(var L in O||(O={}))Or.call(O,L)&&Jr(P,L,O[L]);if(Be)for(var L of Be(O))mt.call(O,L)&&Jr(P,L,O[L]);return P},Jt={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:P},{call:O,put:L}){const ve=yield O(Ot.Dd,P);yield L({type:"save",payload:{CourseUseInfos:ve}})},*getRankList({payload:P},{call:O,put:L}){const ve=yield O(Ot.Fg,P);yield L({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(ve==null?void 0:ve.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(ve==null?void 0:ve.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(ve==null?void 0:ve.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(ve==null?void 0:ve.finish_course_list)||[]]}}})},*getStatisticsBody({payload:P},{call:O,put:L}){const ve=yield O(Ot.Gz,P);yield L({type:"save",payload:{SBody:ve}})},*getStatisticsHeader({payload:P},{call:O,put:L}){const ve=yield O(Ot.Hl,P);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(P,O){return an(an({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Lt=e(43150),Xt=Object.defineProperty,wr=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Kt=(P,O,L)=>O in P?Xt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Bt=(P,O)=>{for(var L in O||(O={}))Ir.call(O,L)&&Kt(P,L,O[L]);if(wr)for(var L of wr(O))At.call(O,L)&&Kt(P,L,O[L]);return P},br={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.s3,P);return yield ve({type:"save",payload:{pollsList:Bt({},Oe)}}),Oe},*getCommonHeader({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.UK,P);return yield ve({type:"save",payload:{commonHeader:Bt({},Oe)}}),Oe},*getPollsStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Qn,P);return yield ve({type:"save",payload:{statisticsList:Bt({},Oe)}}),Oe},*getBrankList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.n$,P);return yield ve({type:"save",payload:{brankList:Bt({},Oe)}}),Oe},*saveBanks({payload:P,callback:O},{call:L,put:ve}){return yield L(Lt.lf,P)},*getPollsCourses({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Q9,P);return yield ve({type:"save",payload:{pollsCoursesList:Bt({},Oe)}}),Oe},*getPollsSetting({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Hi,P);return yield ve({type:"save",payload:{pollSetting:Bt({},Oe)}}),Oe},*editPolls({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.Ye,P);return yield ve({type:"save",payload:{editData:Bt({},JSON.parse(JSON.stringify(Oe)))}}),Oe},*getEndGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.KE,P);return yield ve({type:"save",payload:{endGroups:Bt({},Oe)}}),Oe},*getPublishGroups({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.ux,P);return yield ve({type:"save",payload:{publishGroups:Bt({},Oe)}}),Oe},*getExerciseBanks({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Lt.kp,P);return yield ve({type:"save",payload:{exerciseBanks:Bt({},Oe)}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Bt({},P)}})}},reducers:{save(P,O){return Bt(Bt({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},Qr=e(93539),Hr=Object.defineProperty,jn=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,St=(P,O,L)=>O in P?Hr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Vr=(P,O)=>{for(var L in O||(O={}))En.call(O,L)&&St(P,L,O[L]);if(jn)for(var L of jn(O))Yn.call(O,L)&&St(P,L,O[L]);return P},Bi={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:P},{call:O,put:L}){var ve;const Oe=yield O(Qr.gp,P);return(ve=Oe==null?void 0:Oe.teacher_list)==null||ve.map(dn=>(dn.key=dn.course_member_id,dn)),yield L({type:"save",payload:{list:Oe}}),Oe},*getStudentsList({payload:P},{call:O,put:L}){var ve;const Oe=yield O(Qr.ur,P);return(ve=Oe==null?void 0:Oe.students)==null||ve.map(dn=>(dn.key=dn.user_id,dn)),yield L({type:"save",payload:{studentsList:Oe}}),Oe},*getApplyList({payload:P},{call:O,put:L}){const ve=yield O(Qr.s,P);return yield L({type:"save",payload:{applyList:ve}}),ve},*getAllCourseGroups({payload:P},{call:O,put:L}){const ve=yield O(Qr.xV,P);return yield L({type:"save",payload:{allCourseGroups:ve}}),ve},*getGraduationGroupList({payload:P},{call:O,put:L}){const ve=yield O(Qr.Bg,P);return yield L({type:"save",payload:{graduationGroupList:ve}}),ve},*setAllCourseGroups({payload:P},{call:O,put:L}){const ve=yield O(Qr.oZ,P);return yield L({type:"save",payload:{setAllCourseGroups:ve}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Vr({},P)}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(P,O){return Vr(Vr({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},$n=e(54624),ci=Object.defineProperty,Oi=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Ai=Object.prototype.propertyIsEnumerable,ji=(P,O,L)=>O in P?ci(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ha=(P,O)=>{for(var L in O||(O={}))zi.call(O,L)&&ji(P,L,O[L]);if(Oi)for(var L of Oi(O))Ai.call(O,L)&&ji(P,L,O[L]);return P},Yi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.BQ,P);return yield ve({type:"save",payload:{videoStatisticsList:ha({},Oe)}}),Oe},*getNewVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.cU,P);return yield ve({type:"save",payload:{newVideoStatisticsList:ha({},Oe)}}),Oe},*getVideoPeopleStatics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.Zx,P);return yield ve({type:"save",payload:{videoPeopleStatics:ha({},Oe)}}),Oe},*getVideoDurationStatics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.Mz,P);return yield ve({type:"save",payload:{videoDurationStatics:ha({},Oe)}}),Oe},*getVideoStatistics({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.ZY,P);return yield ve({type:"save",payload:{videoStatistics:ha({},Oe)}}),Oe},*getOneVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.cU,P);return yield ve({type:"save",payload:{oneVideoStatisticsList:ha({},Oe)}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ha({},P)}})},*getStudentVideoStatisticsList({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.Vg,P);return yield ve({type:"save",payload:{StudentvideoStatistics:ha({},Oe)}}),Oe}},reducers:{save(P,O){return ha(ha({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},mi=e(30945),Zi=Object.defineProperty,Ta=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Wi=(P,O,L)=>O in P?Zi(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,vi=(P,O)=>{for(var L in O||(O={}))xt.call(O,L)&&Wi(P,L,O[L]);if(Ta)for(var L of Ta(O))xa.call(O,L)&&Wi(P,L,O[L]);return P},Gi={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.cC,P)},*getGuides({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.Ax,P);return yield ve({type:"save",payload:{GuidesData:Oe}}),Oe},*getWorkSubmitUpdateRes({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.zF,P)},*getList({payload:P},{call:O,put:L}){const ve=P,Oe=yield O(mi.bQ,P);return yield L({type:"save",payload:vi({listParams:ve},Oe)}),Oe},*getMemberWorks({payload:P},{call:O,put:L}){const ve=yield O(mi.xx,P);return yield L({type:"save",payload:{MemberWorks:ve||{}}}),ve},*addApplytojoincourse({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.qS,P)},*competitionTeams({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Pt,P)},*getStaff({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.Dh,P);return yield ve({type:"save",payload:{Staff:Oe}}),Oe},*getHeader({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.Pg,P);return yield ve({type:"save",payload:{Header:Oe}}),Oe},*getItem({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.rV,P);return yield ve({type:"save",payload:{RightItems:Oe}}),Oe},*updateMdContent({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.zj,P)},*getTeamList({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.aq,P)},*getTeamDetail({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Ze,P)},*UpTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.yS,P)},*DeleteTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.ps,P)},*ExitTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.vV,P)},*AddTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.FU,P)},*AddPersonnel({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.R9,P)},*JoinTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.zc,P)},*getTeacher({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.jS,P)},*getStudents({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.sK,P)},*SubmitTeam({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.rm,P)},*Reward({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Qp,P)},*ChartRules({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Ux,P)},*Charts({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.GQ,P)},*TabResults({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.ml,P);return yield ve({type:"save",payload:{TabResultList:Oe}}),Oe},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:vi({},P)}})},*Results({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.u9,P)},*Prize({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.pU,P);return yield ve({type:"save",payload:{Prizes:Oe}}),Oe},*Accounts({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.XJ,P);return yield ve({type:"save",payload:{Account:Oe}}),Oe},*getVerification({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Ni,P)},*PhoneBind({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.uZ,P)},*EmailBind({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.rk,P)},*Authentication({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.Vy,P)},*Professional({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.tC,P)},*setleader({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.tO,P)},*getShixun({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.qj,P)},*getCourse({payload:P,callback:O},{call:L,put:ve}){return yield L(mi.XR,P)},*competition_teams({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.zz,P);return yield ve({type:"save",payload:{competition_team:Oe}}),Oe},*all_team_members({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(mi.$P,P);return yield ve({type:"save",payload:{all_team_member:Oe}}),Oe}},reducers:{save(P,O){return vi(vi({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},ei=e(55510),zn=e(86967),we=Object.defineProperty,nt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,pr=(P,O,L)=>O in P?we(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Tr=(P,O)=>{for(var L in O||(O={}))lt.call(O,L)&&pr(P,L,O[L]);if(Ct)for(var L of Ct(O))hr.call(O,L)&&pr(P,L,O[L]);return P},zr=(P,O)=>nt(P,Je(O)),Nr={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${zn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${zn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Tr({},P)}})},*getMajorList({payload:P},{call:O,put:L,select:ve}){const{userInfo:Oe}=yield ve(dn=>dn.user);if(Oe!=null&&Oe.school_id){const dn=yield O(ei.BA,Oe.school_id);dn&&dn.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[0],value:dn.data.map(In=>({label:In.name,value:In.ec_major_school_id}))}}))}},*getYearList({payload:P},{call:O,put:L}){const ve=yield O(ei.Nx,P);ve&&ve.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[1],value:ve.data.map(Oe=>({label:Oe.year,value:Oe.ec_year_id}))}}))},*getCourseResultDetail({payload:P},{call:O,put:L}){console.log(P,"payload");const ve=yield O(ei.p1,P);ve&&ve.ec_course_target&&(yield L({type:"setEchartsData",payload:ve}))},*getCourseResultDetailClass({payload:P},{call:O,put:L}){const ve=yield O(ei.ff,P);ve&&ve.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...ve.class_name]}}}))},*setClassActive({payload:P},{call:O,put:L}){yield L({type:"save",payload:{classDataSource:Tr({},P)}})}},reducers:{save(P,O){return Tr(Tr({},P),O.payload)},setMajorOrYearDataSource(P,{payload:O}){return zr(Tr({},P),{headerData:zr(Tr({},P.headerData),{dataSource:zr(Tr({},P.headerData.dataSource),{[O.key]:zr(Tr({},P.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(P,{payload:O}){return zr(Tr({},P),{headerData:zr(Tr({},P.headerData),{active:zr(Tr({},P.headerData.active),{[O.key]:O.value})})})},setEchartsData(P,{payload:O}){let L={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},ve={name:O.course_name||"",xData:[],seriesData:[]},Oe={};return O.ec_course_target.forEach((dn,In)=>{dn.position=In+1,L=zr(Tr({},L),{dataSource:{xData:[...L.dataSource.xData,In+1],yBarData:[...L.dataSource.yBarData,dn.actual_grade],yLineData:[...L.dataSource.yLineData,dn.standard_grade]}});let pn=[],Mi={min:[],max:[]},ds=[],$a=[],Yo=[];dn.student_data.detail.forEach((is,Po)=>{let $s=is.score;pn.push(Po+1),Mi.max.push($s>=dn.student_data.goal_score?$s:null),Mi.min.push($s>=dn.student_data.goal_score?null:$s),ds.push(is.name),$a.push(is.student_id),Yo.push(is.clazz)}),Oe[In+1]={name:In+1,average_score:dn.student_data.average_score,goal_score:dn.student_data.goal_score,xData:pn,yData:Mi,name_data:ds,student_ids:$a,class_data:Yo,goal_scoreData:new Array(dn.student_data.detail.length).fill(dn.student_data.goal_score),average_scoreData:new Array(dn.student_data.detail.length).fill(dn.student_data.average_score)}}),O.history.forEach(dn=>{ve=zr(Tr({},ve),{xData:[...ve.xData,dn.year],seriesData:[...ve.seriesData,dn.total_score]})}),zr(Tr({},P),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:L,lineData:ve,scatterData:Oe}})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},An=Object.defineProperty,vr=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Ke=(P,O,L)=>O in P?An(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ct=(P,O)=>{for(var L in O||(O={}))Fn.call(O,L)&&Ke(P,L,O[L]);if(vr)for(var L of vr(O))Xn.call(O,L)&&Ke(P,L,O[L]);return P},sr={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ct({},P)}})},*setShowMenu({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showMenu:P}})},*setMatrixVerify({payload:P},{call:O,put:L}){yield L({type:"save",payload:{matrixVerify:ct({},P)}})}},reducers:{save(P,O){return ct(ct({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},nr=e(2001),kr=Object.defineProperty,Gr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,Si=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,yn=(P,O,L)=>O in P?kr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,$r=(P,O)=>{for(var L in O||(O={}))Si.call(O,L)&&yn(P,L,O[L]);if(hn)for(var L of hn(O))un.call(O,L)&&yn(P,L,O[L]);return P},kn=(P,O)=>Gr(P,Wr(O)),wa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${zn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${zn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:$r({},P)}})},*getMajorList({},{call:P,put:O,select:L}){const{userInfo:ve}=yield L(Oe=>Oe.user);if(ve!=null&&ve.school_id){const Oe=yield P(ei.BA,ve.school_id);if(Oe&&Oe.data){const dn=nr.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:zn.k[0],value:Oe.data.map(In=>({label:In.name,value:In.ec_major_school_id})),active:Oe.data.length>0?dn[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:P},{call:O,put:L,select:ve}){const Oe=yield O(ei.Nx,P.id),{userInfo:dn}=yield ve(In=>In.user);if(Oe&&Oe.data){const In=nr.U.getItem(dn==null?void 0:dn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[1],value:Oe.data.map(pn=>({label:pn.year,value:pn.ec_year_id})),active:Oe.data.length>0?P.firstEnter?In[1]:Oe.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:P,put:O,select:L}){const{headerData:ve}=yield L(In=>In.engineeringNavigtion),{userInfo:Oe}=yield L(In=>In.user);let dn={};if(ve.active[zn.k[1]]&&Oe.school_id){const In=[ve.active[zn.k[0]],ve.active[zn.k[1]]];nr.U.setItem(Oe==null?void 0:Oe.login,In);const pn=yield P(ei.bA,{ec_year_id:ve.active[zn.k[1]],school_id:Oe.school_id});pn&&pn.data&&(dn=pn.data),yield O({type:"setTopPage",payload:dn})}},*putTopPageName({payload:P,callback:O},{call:L,put:ve}){try{const Oe=yield L(ei.ay,P);O(Oe)}catch(Oe){let dn="";Oe&&(dn=JSON.stringify(Oe),Oe.message&&(dn=Oe.message)),O({message:dn,status:999})}}},reducers:{save(P,O){return $r($r({},P),O.payload)},setMajorOrYearDataSource(P,{payload:O}){let L=P.headerData.active;return O.active&&(L=kn($r({},L),{[O.key]:O.active})),kn($r({},P),{headerData:kn($r({},P.headerData),{dataSource:kn($r({},P.headerData.dataSource),{[O.key]:kn($r({},P.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(P,{payload:O}){return kn($r({},P),{headerData:kn($r({},P.headerData),{active:kn($r({},P.headerData.active),{[O.key]:O.value})})})},setTopPage(P,{payload:O}){return kn($r({},P),{headerData:kn($r({},P.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:kn($r({},P.cardListData),{appraiseData:kn($r({},P.cardListData.appraiseData),{norm:kn($r({},P.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:P.cardListData.appraiseData.norm.listData.map(L=>kn($r({},L),{value:O[L.key]||0}))}),course:kn($r({},P.cardListData.appraiseData.course),{result:O.course_result,listData:P.cardListData.appraiseData.course.listData.map(L=>kn($r({},L),{value:O[L.key]||0}))})}),teamData:{teach:kn($r({},P.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:kn($r({},P.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:P.totalListData.map(L=>kn($r({},L),{value:O[L.key]||0}))})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},qs=Object.defineProperty,Ba=Object.defineProperties,zs=Object.getOwnPropertyDescriptors,Ns=Object.getOwnPropertySymbols,as=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,Aa=(P,O,L)=>O in P?qs(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ps=(P,O)=>{for(var L in O||(O={}))as.call(O,L)&&Aa(P,L,O[L]);if(Ns)for(var L of Ns(O))uo.call(O,L)&&Aa(P,L,O[L]);return P},ps=(P,O)=>Ba(P,zs(O)),qi={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ps({},P)}})},*getGraduationResultDetail({payload:P},{call:O,put:L}){const ve=yield O(ei.gq,P);yield L({type:"save",payload:{dataSource:ve}})}},reducers:{save(P,O){return Ps(Ps({},P),O.payload)},setDataSource(P,{payload:O}){let L=O;return ps(Ps({},P),{dataSource:L})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},ro=e(8591),Wo=Object.defineProperty,Na=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,di=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,ss=(P,O,L)=>O in P?Wo(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Is=(P,O)=>{for(var L in O||(O={}))no.call(O,L)&&ss(P,L,O[L]);if(di)for(var L of di(O))Rn.call(O,L)&&ss(P,L,O[L]);return P},Os=(P,O)=>Na(P,Zs(O)),Xi=(P,O)=>{var L={};for(var ve in P)no.call(P,ve)&&O.indexOf(ve)<0&&(L[ve]=P[ve]);if(P!=null&&di)for(var ve of di(P))O.indexOf(ve)<0&&Rn.call(P,ve)&&(L[ve]=P[ve]);return L},Ni={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[zn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${zn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[zn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${zn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Is({},P)}})},*getMajorList({},{call:P,put:O,select:L}){const{userInfo:ve}=yield L(Oe=>Oe.user);if(ve!=null&&ve.school_id){const Oe=yield P(ei.BA,ve.school_id);if(Oe&&Oe.data){const dn=nr.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:zn.k[0],value:Oe.data.map(In=>({label:In.name,value:In.ec_major_school_id})),active:Oe.data.length>0?dn[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:P},{call:O,put:L,select:ve}){const Oe=yield O(ei.Nx,P.id),{userInfo:dn}=yield ve(In=>In.user);if(Oe&&Oe.data){const In=nr.U.getItem(dn==null?void 0:dn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:zn.k[1],value:Oe.data.map(pn=>({label:pn.year,value:pn.ec_year_id})),active:Oe.data.length>0?P.firstEnter?In[1]:Oe.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:P,put:O,select:L}){const{headerData:ve}=yield L(ds=>ds.engineeringNormList),{userInfo:Oe}=yield L(ds=>ds.user);let dn=[],In=[],pn="";const Mi=ve.active[zn.k[1]];if(Mi){const ds=[ve.active[zn.k[0]],ve.active[zn.k[1]]];nr.U.setItem(Oe==null?void 0:Oe.login,ds);const $a=yield P(ei.eM,Mi);$a&&$a.graduation_requirements&&(pn=$a.all_goal_value||"",dn=$a.graduation_requirements.map(Yo=>{var is=Yo,{subitems:Po}=is,$s=Xi(is,["subitems"]);return In.push($s.id),Os(Is({},$s),{children:Po})}))}yield O({type:"save",payload:{tabListData:dn,all_goal_value:pn,expandedRowKeys:In}})},*exportGraduation({},{call:P,select:O}){const{headerData:L}=yield O(ve=>ve.engineeringNormList);L.active[zn.k[1]]&&(yield P(ei.OE,L.active[zn.k[1]]))},*compute({payload:P},{call:O,put:L}){const ve=P,{all:Oe}=ve,dn=Xi(ve,["all"]),In=yield O(Oe?ei.Qx:ei.Xl,dn);In&&In.status===0?(ro.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):ro.ZP.error(In.message)},*getFormulas({callback:P},{call:O,select:L}){const{headerData:ve}=yield L(Oe=>Oe.engineeringNormList);if(ve.active[zn.k[1]]){const Oe=yield O(ei.mK,ve.active[zn.k[1]]);P(Oe)}},*setFormulas({payload:P,callback:O},{call:L}){const ve=yield L(ei.y9,P);O(ve)},*putGoalValue({payload:P},{call:O,put:L}){const ve=yield O(ei.No,P);if(ve&&ve.status===0)ro.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let Oe="\u4FDD\u5B58\u5931\u8D25";ve&&ve.message&&(Oe=ve.message),ro.ZP.error(Oe)}}},reducers:{save(P,O){return Is(Is({},P),O.payload)},setMajorOrYearDataSource(P,{payload:O}){let L=P.headerData.active;return O.active&&(L=Os(Is({},L),{[O.key]:O.active})),Os(Is({},P),{headerData:Os(Is({},P.headerData),{dataSource:Os(Is({},P.headerData.dataSource),{[O.key]:Os(Is({},P.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(P,{payload:O}){return Os(Is({},P),{headerData:Os(Is({},P.headerData),{active:Os(Is({},P.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Ds=e(16209),xo=Object.defineProperty,Ho=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,vu=(P,O,L)=>O in P?xo(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,go=(P,O)=>{for(var L in O||(O={}))Xo.call(O,L)&&vu(P,L,O[L]);if(Ho)for(var L of Ho(O))mu.call(O,L)&&vu(P,L,O[L]);return P},Oo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:P},{call:O,put:L}){const ve=yield O(Ds.Si,P);return yield L({type:"save",payload:{forumsDetailData:go({},ve)}}),ve},*setForumsDetailData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{forumsDetailData:go({},P)}})}},reducers:{save(P,O){return go(go({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},nu=Object.defineProperty,Qo=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,Ja=(P,O,L)=>O in P?nu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ls=(P,O)=>{for(var L in O||(O={}))hi.call(O,L)&&Ja(P,L,O[L]);if(Qo)for(var L of Qo(O))gi.call(O,L)&&Ja(P,L,O[L]);return P},Ha={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:P},{call:O,put:L}){const ve=yield O(P.memoType==="shixun_discuss"?Ds.kd:Ds.bc,P);return delete P.memoType,yield L({type:"save",payload:{listParams:P,forumsData:ls({},ve)}}),ve}},reducers:{save(P,O){return ls(ls({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},ms=e(79274),qo=e(74128),ks=e(28209),Mo=e.n(ks),wu=Object.defineProperty,Iu=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Fo=(P,O,L)=>O in P?wu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Js=(P,O)=>{for(var L in O||(O={}))rl.call(O,L)&&Fo(P,L,O[L]);if(Iu)for(var L of Iu(O))dl.call(O,L)&&Fo(P,L,O[L]);return P},Gu={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:P},{call:O,put:L}){var ve,Oe;const dn=yield O(ms.D2,P);qo.Z.ONLYOFFICE=(ve=dn==null?void 0:dn.setting)==null?void 0:ve.office_server_url,No(dn);try{const Mi="5183666c72eec9e4",ds="5183666c72eec9e4";var In=Mo().enc.Utf8.parse(Mi);let $a=Mo().enc.Utf8.parse(ds);var pn=Mo().AES.decrypt(((Oe=dn==null?void 0:dn.setting)==null?void 0:Oe.user_default_password)||"",In,{iv:$a,mode:Mo().mode.CBC});dn.setting.user_default_password=pn.toString(Mo().enc.Utf8)}catch(Mi){}yield L({type:"save",payload:Js({},dn)})},*getSystemUpdate({payload:P},{call:O,put:L}){const ve=yield O(ms.n0,P);yield L({type:"save",payload:{updateData:Js({},ve)}})},*setTheme({payload:P},{call:O,put:L}){const ve=yield O(ms.n0,P);yield L({type:"save",payload:{theme:P||"default"}})},*setShareData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{shareData:P}})},*setGlobalLoading({payload:P},{call:O,put:L}){yield L({type:"save",payload:{globalLoading:Js({},P)}})},*delayTipToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showTip:P}})},*headerToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showHeader:P}})},*footerToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showFooter:P}})},*headerFooterToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFooter:P}})},*delayTipToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showTip:P}})},*headerFixedToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFixed:P}})},*onlyShowBackTopToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTop:P}})},*onlyShowBackTopIconToggle({payload:P},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:P}})},*setOperateModel({payload:P},{call:O,put:L}){yield L({type:"save",payload:{operateModel:P}})},*setOperateModelPath({payload:P},{call:O,put:L}){yield L({type:"save",payload:{operateModelPath:P}})},*setShowQuestionBackTop({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showQuestionBackTop:P}})},*setInfoData({payload:P},{call:O,put:L}){yield L({type:"save",payload:{infoData:Js({},P)}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Js({},P)}})}},reducers:{save(P,O){return Js(Js({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{})}}};const No=(P={})=>{var O,L,ve,Oe,dn;if(window.self!==window.top||!((O=P.setting)!=null&&O.tab_logo_url))return;const In=document.createElement("link"),pn=document.getElementById("dynamic-favicon");In.id="dynamic-favicon",In.rel="shortcut icon",In.href=(L=P.setting)!=null&&L.tab_logo_url?`${qo.Z.IMG_SERVER}/${(ve=P.setting)==null?void 0:ve.tab_logo_url}`:"",pn&&document.head.removeChild(pn),document.head.appendChild(In);try{(Oe=P.setting)!=null&&Oe.main_site||(document.querySelector('meta[name="keywords"]').content=(dn=P.setting)==null?void 0:dn.name,document.querySelector('meta[name="description"]').remove())}catch(Mi){}};var $o=e(37090),Uu=Object.defineProperty,iu=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable,_u=(P,O,L)=>O in P?Uu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ko=(P,O)=>{for(var L in O||(O={}))gu.call(O,L)&&_u(P,L,O[L]);if(iu)for(var L of iu(O))jo.call(O,L)&&_u(P,L,O[L]);return P},_r={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:P},{call:O,put:L}){return yield O($o.Xh,P)},*getGraduationsFinalScore({payload:P},{call:O,put:L}){return yield O($o.H3,P)},*getDelGraduationsTasks({payload:P},{call:O,put:L}){return yield O($o.km,P)},*getGraduationsTasks({payload:P},{call:O,put:L}){const ve=yield O($o.Xw,P);yield L({type:"save",payload:{Tasks:ve}})},*getGraduationsTeachers({payload:P},{call:O,put:L}){var ve;const Oe=yield O($o.AA,P);return(ve=Oe==null?void 0:Oe.data)==null||ve.map(dn=>(dn.key=dn.id,dn)),yield L({type:"save",payload:{teachers:Oe}}),Oe},*getGraduationsStudents({payload:P},{call:O,put:L}){var ve;const Oe=yield O($o.eh,P);(ve=Oe==null?void 0:Oe.data)==null||ve.map(dn=>(dn.key=dn.id,dn)),yield L({type:"save",payload:{students:Oe}})},*getGraduationsNotices({payload:P},{call:O,put:L}){const ve=yield O($o.Rk,P);yield L({type:"save",payload:{Notices:ve}})},*getGraduationsInfo({payload:P},{call:O,put:L}){const ve=yield O($o.F7,P);yield L({type:"save",payload:{graduation:ve.graduation}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ko({},P)}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:P},{call:O,put:L}){const ve=yield O($o.Ou,P);yield L({type:"save",payload:{details:(ve==null?void 0:ve.graduation)||{},menus:(ve==null?void 0:ve.data)||[],forTask:(ve==null?void 0:ve.for_task)||[]}})}},reducers:{save(P,O){return Ko(Ko({},P),O.payload)}}},dr=e(95707),gr=Object.defineProperty,Cr=Object.defineProperties,bn=Object.getOwnPropertyDescriptors,Zn=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,Wn=Object.prototype.propertyIsEnumerable,ai=(P,O,L)=>O in P?gr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,qn=(P,O)=>{for(var L in O||(O={}))Ln.call(O,L)&&ai(P,L,O[L]);if(Zn)for(var L of Zn(O))Wn.call(O,L)&&ai(P,L,O[L]);return P},mr=(P,O)=>Cr(P,bn(O)),Br={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:P},{call:O,put:L}){const ve=yield O(dr.Tt,{payload:P});yield L({type:"save",payload:mr(qn({},ve),{isloading:!0})})},*query({payload:P},{call:O,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:P,callback:O},{call:L,put:ve}){return yield L(dr.LA,P)},*UploadNotice({payload:P,callback:O},{call:L,put:ve}){return yield L(dr.S_,P)}},reducers:{save(P,O){return qn(qn({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Cn=Object.defineProperty,Pn=Object.defineProperties,oi=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,ra=(P,O,L)=>O in P?Cn(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,_i=(P,O)=>{for(var L in O||(O={}))Gn.call(O,L)&&ra(P,L,O[L]);if(Ei)for(var L of Ei(O))ta.call(O,L)&&ra(P,L,O[L]);return P},wt=(P,O)=>Pn(P,oi(O)),Sa={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(P,O){return _i(_i({},P),O.payload)},openModal(P,O){return wt(_i({},P),{visibleModalName:O.payload})},closeModal(P){return wt(_i({},P),{visibleModalName:""})},openSimpleModal(P,O){return wt(_i({},P),{simpleModalProps:_i({visible:!0},O.payload)})},closeSimpleModal(P){return wt(_i({},P),{simpleModalProps:{visible:!1}})}}},Ra=e(38147),Ys=Object.defineProperty,sn=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,Rs=(P,O,L)=>O in P?Ys(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,io=(P,O)=>{for(var L in O||(O={}))Do.call(O,L)&&Rs(P,L,O[L]);if(sn)for(var L of sn(O))lo.call(O,L)&&Rs(P,L,O[L]);return P},ao=(P,O,L)=>new Promise((ve,Oe)=>{var dn=Mi=>{try{pn(L.next(Mi))}catch(ds){Oe(ds)}},In=Mi=>{try{pn(L.throw(Mi))}catch(ds){Oe(ds)}},pn=Mi=>Mi.done?ve(Mi.value):Promise.resolve(Mi.value).then(dn,In);pn((L=L.apply(P,O)).next())});const ts=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/banner.json",{method:"get",params:io({},P)})}),cs=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:io({},P)})}),ja=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:io({},P)})}),os=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:io({},P)})}),Xe=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects.json",{method:"post",body:io({},P)})}),Ie=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:io({},P)})}),Ft=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:io({},P)})}),vt=P=>ao(void 0,null,function*(){return(0,Ra.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:io({},P)})});var Sr=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,cn=(P,O,L)=>O in P?Sr(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Sn=(P,O)=>{for(var L in O||(O={}))Kr.call(O,L)&&cn(P,L,O[L]);if(Mr)for(var L of Mr(O))xn.call(O,L)&&cn(P,L,O[L]);return P},ni={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:P},{call:O,put:L}){const{data:{adv:ve,top_banner:Oe}}=yield O(ts,P);yield L({type:"save",payload:{BannerList:Oe,Adv:ve}})},*getTopCategoryList({payload:P},{call:O,put:L}){const{data:{top_category_list:ve}}=yield O(cs,P);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...ve]}})},*getHotList({payload:P},{call:O,put:L}){const{data:{hot_list:ve}}=yield O(ja,P);yield L({type:"save",payload:{HotList:ve}})},*getDiscountList({payload:P},{call:O,put:L}){const{data:{discount_list:ve}}=yield O(os,P);yield L({type:"save",payload:{DiscountList:ve}})},*getPaidSubjects({payload:P},{call:O,put:L}){const{data:ve}=yield O(Xe,P);yield L({type:"save",payload:{SubjectList:ve}})},*getTags({payload:P},{call:O,put:L}){const{data:{list:ve}}=yield O(Ie,P);yield L({type:"save",payload:{Tags:ve}})},*getUserComments({payload:P},{call:O,put:L}){const{data:{list:ve}}=yield O(Ft,P);yield L({type:"save",payload:{UserComments:ve}})},*getInfoShow({payload:P},{call:O,put:L}){const{data:ve}=yield O(vt,P);yield L({type:"save",payload:{InfoShow:ve}})}},reducers:{save(P,O){return Sn(Sn({},P),O.payload)}}},Li={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},na=e(5664),Hi=Object.defineProperty,Ti=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,pi=(P,O,L)=>O in P?Hi(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ca=(P,O)=>{for(var L in O||(O={}))Pa.call(O,L)&&pi(P,L,O[L]);if(Ti)for(var L of Ti(O))Pi.call(O,L)&&pi(P,L,O[L]);return P},Xs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:P},{call:O,put:L}){const ve=yield O(na.Ub,P);return yield L({type:"save",payload:{privateMessageDetails:ve||[]}}),ve},*getTidings({payload:P},{call:O,put:L}){const ve=yield O(na.AD,P);yield L({type:"save",payload:{tidingsList:ve||[]}})},*getPrivateMessages({payload:P},{call:O,put:L}){const ve=yield O(na.V8,P);return yield L({type:"save",payload:{privateMessage:ve||[]}}),ve},*getUsersForPrivateMessages({payload:P},{call:O,put:L}){const ve=yield O(na.QJ,P);return yield L({type:"save",payload:{userPrivateMessage:ve||[]}}),ve},*unreadMessageInfo({payload:P},{call:O,put:L}){const ve=yield O(na.Ig,P);yield L({type:"save",payload:{unreadInfo:ve||[]}})},*getRecentContacts({payload:P},{call:O,put:L}){const ve=yield O(na.Ko,P);return yield L({type:"save",payload:{recentContacts:ve||[]}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ca({},P)}})}},reducers:{save(P,O){return ca(ca({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},ia=e(29297),fs=e(65862),ya=e(2337),vs=Object.defineProperty,La=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Ls=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable,pa=(P,O,L)=>O in P?vs(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ms=(P,O)=>{for(var L in O||(O={}))so.call(O,L)&&pa(P,L,O[L]);if(Ls)for(var L of Ls(O))xs.call(O,L)&&pa(P,L,O[L]);return P},Uo=(P,O)=>La(P,rs(O));const eo=(P,O)=>{var L,ve,Oe,dn,In,pn,Mi,ds,$a;if(!P)return;const{exam:Yo,single_questions:is,multiple_questions:Po,judgement_questions:$s,program_questions:tf,completion_questions:Jl,subjective_questions:Bc,practical_questions:rf,combination_questions:qu,bprogram_questions:Ci}=P||{},Cl=[Ms({type:"SINGLE",question_type:0,name:((L=O==null?void 0:O.find(_s=>_s.value==ya.fw[0].nameType))==null?void 0:L.name)||ya.fw[0].name},is),Ms({type:"MULTIPLE",question_type:1,name:((ve=O==null?void 0:O.find(_s=>_s.value==ya.fw[1].nameType))==null?void 0:ve.name)||ya.fw[1].name},Po),Ms({type:"JUDGMENT",question_type:2,name:((Oe=O==null?void 0:O.find(_s=>_s.value==ya.fw[2].nameType))==null?void 0:Oe.name)||ya.fw[2].name},$s),Ms({type:"PROGRAM",question_type:6,name:((dn=O==null?void 0:O.find(_s=>_s.value==ya.fw[6].nameType))==null?void 0:dn.name)||ya.fw[6].name},tf),Ms({type:"COMPLETION",question_type:3,name:((In=O==null?void 0:O.find(_s=>_s.value==ya.fw[3].nameType))==null?void 0:In.name)||ya.fw[3].name},Jl),Ms({type:"SUBJECTIVE",question_type:4,name:((pn=O==null?void 0:O.find(_s=>_s.value==ya.fw[4].nameType))==null?void 0:pn.name)||ya.fw[4].name},Bc),Ms({type:"PRACTICAL",question_type:5,name:((Mi=O==null?void 0:O.find(_s=>_s.value==ya.fw[5].nameType))==null?void 0:Mi.name)||ya.fw[5].name},rf),Ms({type:"COMBINATION",question_type:7,name:((ds=O==null?void 0:O.find(_s=>_s.value==ya.fw[7].nameType))==null?void 0:ds.name)||ya.fw[7].name},qu),Ms({type:"BPROGRAM",question_type:8,name:(($a=O==null?void 0:O.find(_s=>_s.value==ya.fw[8].nameType))==null?void 0:$a.name)||ya.fw[8].name},Ci)],Nc=[];if(P.sort_by_qustion_type)for(const _s of P.qustion_type_order_name_en)Nc.push(Cl.find(bl=>bl.type===_s));const vo=(P.sort_by_qustion_type?Nc:Cl).filter(_s=>(_s==null?void 0:_s.questions_count)>0).map((_s,bl)=>{var ec;return Ms(Ms({},_s),{number:(0,fs.EM)(bl+1),questions:(ec=_s==null?void 0:_s.questions)==null?void 0:ec.map(xl=>Uo(Ms({},xl),{shixun:xl.examination_bank_shixun_challenges,question_type:_s.question_type}))})});return{exam:Yo,questionList:vo}};var Ga=e(3033),us=Object.defineProperty,co=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,kt=(P,O,L)=>O in P?us(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ia=(P,O)=>{for(var L in O||(O={}))Va.call(O,L)&&kt(P,L,O[L]);if(co)for(var L of co(O))Vt.call(O,L)&&kt(P,L,O[L]);return P},vn={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:P},{call:O,put:L}){return yield O(ia.a2,P)},*postCheckExaminationBanks({payload:P},{call:O,put:L}){return yield O(ia.q$,P)},*postPaperlibraryCopy({payload:P},{call:O,put:L}){return yield O(ia.ID,P)},*getDisciplines({payload:P},{call:O,put:L}){const ve=yield O(ia.d1,P);return yield L({type:"save",payload:{disciplinesData:Ia({},ve)}}),ve},*getCustomDisciplines({payload:P},{call:O,put:L}){const ve=yield O(ia.ar,P);return yield L({type:"save",payload:{disciplinesData:Ia({},ve)}}),ve},*getEditDisciplines({payload:P},{call:O,put:L}){const ve=yield O(ia.d1,P),Oe=ve==null?void 0:ve.disciplines,dn=(0,Ga.L)(Oe);return yield L({type:"save",payload:{courseOptions:dn,disciplinesData:Ia({},ve)}}),ve},*getTeachGroupData({payload:P},{call:O,put:L}){const ve=yield O(ia.Dm,P);return yield L({type:"save",payload:{teachGroupData:Ia({},ve)}}),ve},*getPaperData({payload:P},{call:O,put:L}){const ve=yield O(ia.iT,P),Oe=yield O(ia.cV,P),dn=eo(ve,Oe.data);return yield L({type:"save",payload:{paperData:dn}}),ve},*getPaperlibraryList({payload:P},{call:O,put:L}){return yield O(ia.Gd,P)},*setPublic({payload:P},{call:O,put:L}){return yield O(ia.DF,P)},*handleDelete({payload:P},{call:O,put:L}){return yield O(ia.fn,P)},*getCourseList({payload:P},{call:O,put:L}){return yield O(ia.tS,P)},*postBatchSendToCourse({payload:P},{call:O,put:L}){return yield O(ia.lc,P)},*sendToClass({payload:P},{call:O,put:L}){return yield O(ia.kp,P)},*adjustPosition({payload:P},{call:O,put:L}){return yield O(ia.qN,P)},*setScore({payload:P},{call:O,put:L}){return yield O(ia.ts,P)},*handleDeleteEditQuestion({payload:P},{call:O,put:L}){return yield O(ia.NC,P)},*batchSetScore({payload:P},{call:O,put:L}){return yield O(ia.YP,P)},*batchDelete({payload:P},{call:O,put:L}){return yield O(ia.Hm,P)},*updatePaper({payload:P},{call:O,put:L}){return yield O(ia.jK,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ia({},P)}})}},reducers:{save(P,O){return Ia(Ia({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},wn=Object.defineProperty,We=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,Rr=(P,O,L)=>O in P?wn(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,qr=(P,O)=>{for(var L in O||(O={}))jt.call(O,L)&&Rr(P,L,O[L]);if(We)for(var L of We(O))Er.call(O,L)&&Rr(P,L,O[L]);return P},Qi={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ia.Dq,P);return yield ve({type:"save",payload:{exerciseExportHeadData:qr({},Oe)}}),Oe},*editExercise({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(ia.Di,P);return yield ve({type:"save",payload:{editData:qr({},Oe)}}),Oe},*getTagDiscipline({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L(Ge.YY,P);return yield ve({type:"save",payload:{tagDisciplineData:qr({},Oe)}}),Oe},*editExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(ia.oF,P)},*addExerciseQuestion({payload:P,callback:O},{call:L,put:ve}){return yield L(ia.oF,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:qr({},P)}})}},reducers:{save(P,O){return qr(qr({},P),O.payload)},modifyTitle(P,O){const L=(0,$e.cloneDeep)(P);return L.editData.exercise.exercise_name=O.payload,L}},subscriptions:{setup({dispatch:P,history:O}){}}},ui=e(49320),Eo=Object.defineProperty,fa=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,ws=(P,O,L)=>O in P?Eo(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,_o=(P,O)=>{for(var L in O||(O={}))ns.call(O,L)&&ws(P,L,O[L]);if(fa)for(var L of fa(O))Qa.call(O,L)&&ws(P,L,O[L]);return P},yu={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:P},{call:O,put:L}){const ve=yield O(ui.Ax,P);yield L({type:"save",payload:{discusses:_o({},ve)}})},*getPathsDetail({payload:P},{call:O,put:L}){const ve=yield O(ui.lk,P);return yield L({type:"save",payload:{detail:_o({},ve)}}),ve},*getCourseDetail({payload:P},{call:O,put:L}){const ve=yield O(ui.Sp,P);return yield L({type:"save",payload:{detail:_o({},ve)}}),ve},*getRightData({payload:P},{call:O,put:L}){const ve=yield O(ui.AQ,P);yield L({type:"save",payload:{rightData:_o({},ve)}})},*getCoureses({payload:P},{call:O,put:L}){const ve=yield O(ui.ue,P);yield L({type:"save",payload:{Courses:_o({},ve)}})},*getStageChildrenData({payload:P},{call:O,put:L}){const ve=yield O(ui.w4,P);return yield L({type:"save",payload:{StageChildrenData:ve}}),ve},*getStageData({payload:P},{call:O,put:L}){var ve,Oe,dn;let In=null;return P!=null&&P.show_course_section?In=yield O(ui.yN,P):In=yield O(ui.p,P),yield L({type:"save",payload:{stageData:((ve=In==null?void 0:In.data)==null?void 0:ve.stages)||(In==null?void 0:In.stages)||[],isShowSchedule:((Oe=In==null?void 0:In.data)==null?void 0:Oe.is_show_schedule)||(In==null?void 0:In.is_show_schedule)||!1}}),(dn=In==null?void 0:In.data)==null?void 0:dn.stages},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_o({},P)}})}},reducers:{save(P,O){return _o(_o({},P),O.payload)}}},Ve=Object.defineProperty,W=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,he=(P,O,L)=>O in P?Ve(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ee=(P,O)=>{for(var L in O||(O={}))Y.call(O,L)&&he(P,L,O[L]);if(W)for(var L of W(O))te.call(O,L)&&he(P,L,O[L]);return P},Et={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:P},{call:O,put:L}){const ve=P,Oe=yield O(ui.tS,P);return yield L({type:"save",payload:Ee({listParams:ve},Oe)}),Oe},*getMenus({payload:P},{call:O,put:L}){const ve=yield O(ui.fh,P);yield L({type:"save",payload:{menus:ve}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ee({},P)}})},*clearListParams({payload:P},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(P,O){return Ee(Ee({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},zt=Object.defineProperty,cr=Object.getOwnPropertySymbols,Pr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,fn=(P,O,L)=>O in P?zt(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Tn=(P,O)=>{for(var L in O||(O={}))Pr.call(O,L)&&fn(P,L,O[L]);if(cr)for(var L of cr(O))Yr.call(O,L)&&fn(P,L,O[L]);return P},Jn={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:P},{call:O,put:L}){return yield O(ui.tu,P)},*submitCourse({payload:P},{call:O,put:L}){return yield O(ui.pU,P)},*getEditCourseData({payload:P},{call:O,put:L}){return yield O(ui.mQ,P)},*getSchoolOption({payload:P},{call:O,put:L}){return yield O(ui.GY,P)},*appplySchool({payload:P},{call:O,put:L}){return yield O(ui.bz,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Tn({},P)}})}},reducers:{save(P,O){return Tn(Tn({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Di=Object.defineProperty,Fi=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,Cs=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,js=(P,O,L)=>O in P?Di(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,gs=(P,O)=>{for(var L in O||(O={}))Cs.call(O,L)&&js(P,L,O[L]);if(ba)for(var L of ba(O))Fs.call(O,L)&&js(P,L,O[L]);return P},Oa=(P,O)=>Fi(P,aa(O)),Es={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:P},{call:O,put:L}){const ve=yield O(ui.nq,P);yield L({type:"save",payload:{SubjectUseInfos:ve}})},*getRankList({payload:P},{call:O,put:L}){const ve=yield O(ui.Fg,P);yield L({type:"save",payload:{RankList:Oa(gs({},ve),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]]})}})},*getStatisticsBody({payload:P},{call:O,put:L}){const ve=yield O(ui.Gz,P);yield L({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:P},{call:O,put:L}){const ve=yield O(ui.hS,P);yield L({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:P},{call:O,put:L}){const ve=yield O(ui.Hl,P);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(P,O){return gs(gs({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},yr=e(11517),ko=Object.defineProperty,zo=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Jo=(P,O,L)=>O in P?ko(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,yo=(P,O)=>{for(var L in O||(O={}))Su.call(O,L)&&Jo(P,L,O[L]);if(zo)for(var L of zo(O))Hs.call(O,L)&&Jo(P,L,O[L]);return P},El={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:P},{call:O,put:L}){const ve=yield O(yr.ex,P);return yield L({type:"save",payload:{groupfolderList:ve}}),ve},*getDisciplines({payload:P},{call:O,put:L}){const ve=yield O(yr.d1,P);return yield L({type:"save",payload:{disciplinesData:yo({},ve)}}),ve},*getEditDisciplines({payload:P},{call:O,put:L}){const ve=yield O(yr.d1,P),Oe=ve==null?void 0:ve.disciplines,dn=(0,Ga.L)(Oe);return yield L({type:"save",payload:{courseOptions:dn,disciplinesData:yo({},ve)}}),ve},*getBasketList({payload:P},{call:O,put:L}){const ve=yield O(yr.Qj,P);return yield L({type:"save",payload:{basketData:yo({},ve)}}),ve},*getTeachGroupData({payload:P},{call:O,put:L}){const ve=yield O(yr.Dm,P);return yield L({type:"save",payload:{teachGroupData:yo({},ve)}}),ve},*getEditData({payload:P},{call:O,put:L}){const ve=yield O(yr.FG,P);return yield L({type:"save",payload:{editData:yo({},ve)}}),ve},*getEditDataBprogram({payload:P},{call:O,put:L}){const ve=yield O(yr.Bo,P);return yield L({type:"save",payload:{editData:yo({},ve)}}),ve},*getGroupData({payload:P},{call:O,put:L}){const ve=yield O(yr.hI,P);return yield L({type:"save",payload:{groupData:yo({},ve)}}),ve},*getItemBanks({payload:P},{call:O,put:L}){const ve=yield O(yr.Of,P);return yield L({type:"save",payload:{itemBanks:yo({},ve)}}),ve},*setPrivate({payload:P},{call:O,put:L}){return yield O(yr.Pl,P)},*revokePublish({payload:P},{call:O,put:L}){return yield O(yr.IJ,P)},*setPublic({payload:P},{call:O,put:L}){return yield O(yr.DF,P)},*handleDelete({payload:P},{call:O,put:L}){return yield O(yr.fn,P)},*startExperience({payload:P},{call:O,put:L}){return yield O(yr.Bd,P)},*cancel({payload:P},{call:O,put:L}){return yield O(yr.al,P)},*select({payload:P},{call:O,put:L}){return yield O(yr.Ys,P)},*examUnselectAll({payload:P},{call:O,put:L}){return yield O(yr.rV,P)},*basketDelete({payload:P},{call:O,put:L}){return yield O(yr.x5,P)},*unselectAll({payload:P},{call:O,put:L}){return yield O(yr.HF,P)},*addKnowledge({payload:P},{call:O,put:L}){return yield O(yr.U6,P)},*editProblemset({payload:P},{call:O,put:L}){return yield O(yr.Wk,P)},*addProblemset({payload:P},{call:O,put:L}){return yield O(yr.Mr,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:yo({},P)}})}},reducers:{save(P,O){return yo(yo({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Sl=Object.defineProperty,nl=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,Ku=(P,O,L)=>O in P?Sl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ro=(P,O)=>{for(var L in O||(O={}))Gs.call(O,L)&&Ku(P,L,O[L]);if(nl)for(var L of nl(O))$u.call(O,L)&&Ku(P,L,O[L]);return P},Zl={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:P},{call:O,put:L}){const ve=yield O(yr.iT,P),Oe=(0,Ga.r)(ve);return yield L({type:"save",payload:{paperData:Oe}}),ve},*getEditDisciplines({payload:P},{call:O,put:L}){const ve=yield O(yr.d1,P),Oe=ve==null?void 0:ve.disciplines,dn=(0,Ga.L)(Oe);return yield L({type:"save",payload:{courseOptions:dn,disciplinesData:Ro({},ve)}}),ve},*setScore({payload:P},{call:O,put:L}){return yield O(yr.ts,P)},*handleDelete({payload:P},{call:O,put:L}){return yield O(yr.Cn,P)},*batchSetScore({payload:P},{call:O,put:L}){return yield O(yr.YP,P)},*batchDelete({payload:P},{call:O,put:L}){return yield O(yr.Hm,P)},*adjustPosition({payload:P},{call:O,put:L}){return yield O(yr.qN,P)},*newPreviewProblemset({payload:P},{call:O,put:L}){return yield O(yr.et,P)},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ro({},P)}})}},reducers:{save(P,O){return Ro(Ro({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},bu=e(37822),Wl=Object.defineProperty,So=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Hl=(P,O,L)=>O in P?Wl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,tu=(P,O)=>{for(var L in O||(O={}))au.call(O,L)&&Hl(P,L,O[L]);if(So)for(var L of So(O))hl.call(O,L)&&Hl(P,L,O[L]);return P},$l={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:P},{call:O,put:L}){const ve=yield O(bu.Go,P);return yield L({type:"save",payload:{restful:tu({},ve)}}),ve},*getRestfulDetail({payload:P},{call:O,put:L}){const ve=yield O(bu.H5,P);return yield L({type:"save",payload:{restfulDetail:tu({},(ve==null?void 0:ve.data)||{})}}),(ve==null?void 0:ve.data)||{}},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:tu({},P)}})}},reducers:{save(P,O){return tu(tu({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},li=e(60979);const uc=(P={})=>{var O,L,ve,Oe,dn,In;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=P==null?void 0:P.content_info)==null?void 0:O.status,username:(L=P==null?void 0:P.content_info)==null?void 0:L.username,time:(ve=P==null?void 0:P.content_info)==null?void 0:ve.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Oe=P==null?void 0:P.perference_info)==null?void 0:Oe.status,username:(dn=P==null?void 0:P.perference_info)==null?void 0:dn.username,time:(In=P==null?void 0:P.perference_info)==null?void 0:In.time}]};var ho=Object.defineProperty,Gc=Object.defineProperties,zu=Object.getOwnPropertyDescriptors,pl=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,$c=(P,O,L)=>O in P?ho(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ao=(P,O)=>{for(var L in O||(O={}))il.call(O,L)&&$c(P,L,O[L]);if(pl)for(var L of pl(O))Ac.call(O,L)&&$c(P,L,O[L]);return P},Kc=(P,O)=>Gc(P,zu(O)),lc={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:P},{call:O,put:L}){const ve=yield O(li.Po,P);return yield L({type:"save",payload:{detail:Ao({},ve)}}),ve},*getMirrorApplies({payload:P},{call:O,put:L}){const ve=yield O(li.tX,P);return yield L({type:"save",payload:{mirrorApplies:Ao({},(ve==null?void 0:ve.data)||{})}}),ve},*getRightData({payload:P},{call:O,put:L}){const ve=yield O(li.AQ,P);yield L({type:"save",payload:{rightData:Ao({},ve)}})},*getChallengesData({payload:P},{call:O,put:L}){const ve=yield O(li.n5,P);yield L({type:"save",payload:{challenges:Ao({},ve)}})},*saveCopyForExercise({payload:P},{call:O,put:L}){return yield O(li.FB,P)},*execJupyter({payload:P},{call:O,put:L}){return yield O(li.BK,P)},*execShixun({payload:P},{call:O,put:L}){const ve=yield O(li.Ir,P);return(ve==null?void 0:ve.status)===-3&&(0,fs.eF)(),ve},*openChallenge({payload:P},{call:O,put:L}){return yield O(li.dK,P)},*challengeMoveUp({payload:P},{call:O,put:L}){return yield O(li.zD,P)},*challengeMoveDown({payload:P},{call:O,put:L}){return yield O(li.hn,P)},*cancelCollect({payload:P},{call:O,put:L}){return yield O(li.rs,P)},*collect({payload:P},{call:O,put:L}){return yield O(li.KM,P)},*searchUserCourses({payload:P},{call:O,put:L}){return yield O(li._7,P)},*sendToCourse({payload:P},{call:O,put:L}){return yield O(li.Q,P)},*cancelRelease({payload:P},{call:O,put:L}){return yield O(li.Ne,P)},*cancelPublic({payload:P},{call:O,put:L}){return yield O(li.Er,P)},*applyPublic({payload:P},{call:O,put:L}){return yield O(li.WO,P)},*release({payload:P},{call:O,put:L}){return yield O(li.Ar,P)},*updateAuditSituation({payload:P},{call:O,put:L}){return yield O(li.LP,P)},*getCollaboratorsData({payload:P},{call:O,put:L}){return yield O(li.j8,P)},*addCollaborator({payload:P},{call:O,put:L}){return yield O(li.OV,P)},*addTeachGroupMember({payload:P},{call:O,put:L}){return yield O(li.l3,P)},*getChangeManager({payload:P},{call:O,put:L}){return yield O(li.P2,P)},*changeManager({payload:P},{call:O,put:L}){return yield O(li.X$,P)},*deleteCollaborators({payload:P},{call:O,put:L}){return yield O(li.xk,P)},*getRankingList({payload:P},{call:O,put:L}){return yield O(li.E4,P)},*getMirrorScript({payload:P},{call:O,put:L}){return yield O(li.Z2,P)},*getScriptContent({payload:P},{call:O,put:L}){return yield O(li.Bj,P)},*getCustomScript({payload:P},{call:O,put:L}){return yield O(li.Wi,P)},*updateSettingBasicInfo({payload:P},{call:O,put:L}){return yield O(li.ZO,P)},*getShixunQuote({payload:P},{call:O,put:L}){return yield O(li.Gr,P)},*deleteShixun({payload:P},{call:O,put:L}){return yield O(li.Ps,P)},*permanentClose({payload:P},{call:O,put:L}){return yield O(li.U9,P)},*getDepartments({payload:P},{call:O,put:L}){return yield O(li.Ql,P)},*updatePermissionSetting({payload:P},{call:O,put:L}){return yield O(li.aH,P)},*updateLearnSetting({payload:P},{call:O,put:L}){return yield O(li.yE,P)},*updateSetting({payload:P},{call:O,put:L}){return yield O(li.m7,P)},*getSetData({payload:P},{call:O,put:L}){return yield O(li.U0,P)},*deleteDataSet({payload:P},{call:O,put:L}){return yield O(li.uo,P)},*deleteGitFile({payload:P},{call:O,put:L}){return yield O(li.sr,P)},*deleteGitFiles({payload:P},{call:O,put:L}){return yield O(li.p0,P)},*moveGitFile({payload:P},{call:O,put:L}){return yield O(li.IT,P)},*moveGitFiles({payload:P},{call:O,put:L}){return yield O(li.t2,P)},*getRepository({payload:P},{call:O,put:L}){const ve=yield O(li.Ag,P);return yield L({type:"save",payload:{repository:Ao({},ve)}}),Ao({},ve)},*getRepositorys({payload:P},{call:O,put:L}){const ve=yield O(li.Wl,P);return yield L({type:"save",payload:{repository:Ao({},ve)}}),Ao({},ve)},*getRepositorys({payload:P},{call:O,put:L}){const ve=yield O(li.Wl,P);return yield L({type:"save",payload:{repository:Ao({},ve)}}),Ao({},ve)},*getSecretRepository({payload:P},{call:O,put:L}){const ve=yield O(li.w,P);return yield L({type:"save",payload:{secretRepository:Ao({},ve)}}),ve},*addRepositoryFile({payload:P},{call:O,put:L}){return yield O(li.v3,P)},*addRepositoryFiles({payload:P},{call:O,put:L}){return yield O(li.fL,P)},*getRepositoryCommit({payload:P},{call:O,put:L}){return yield O(li.Je,P)},*getFileContent({payload:P},{call:O,put:L}){const ve=yield O(li.LK,P);return yield L({type:"save",payload:{fileContent:Kc(Ao({},ve),{params:P})}}),ve},*getFileContents({payload:P},{call:O,put:L}){const ve=yield O(li.nu,P);return yield L({type:"save",payload:{fileContent:Kc(Ao({},ve),{params:P})}}),ve},*updateRepositoryFile({payload:P},{call:O,put:L}){return yield O(li.kF,P)},*updateRepositoryFiles({payload:P},{call:O,put:L}){return yield O(li.jq,P)},*uploadGitFolder({payload:P},{call:O,put:L}){return yield O(li.Op,P)},*updateCollaboratorEditable({payload:P},{call:O,put:L}){return yield O(li.Dz,P)},*getSettingsData({payload:P},{call:O,put:L}){const ve=yield O(li.DC,P);yield L({type:"save",payload:{setting:Ao({},ve)}})},*getChallengesNew({payload:P},{call:O,put:L}){const ve=yield O(li.km,P);yield L({type:"save",payload:{challengesNew:Ao({},ve)}})},*getChallengesEdit({payload:P},{call:O,put:L}){const ve=yield O(li.q0,P);return yield L({type:"save",payload:{challengesEdit:Ao({},ve)}}),ve},*getAuditSituationData({payload:P},{call:O,put:L}){const ve=yield O(li.GI,P),Oe=uc(ve);yield L({type:"save",payload:{auditSituationData:Oe}})},*getEditChallengesQuestion({payload:P},{call:O,put:L}){const ve=yield O(li.UQ,P);return yield L({type:"save",payload:{editChallengesQuestion:ve}}),ve},*getInfoWithJupyterLab({payload:P},{call:O,put:L}){const ve=yield O(li.mI,P);return yield L({type:"save",payload:{infoWithJupyterLab:ve}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ao({},P)}})}},reducers:{save(P,O){return console.log("reducers:",P,O),Ao(Ao({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Dl=Object.defineProperty,Vc=Object.getOwnPropertySymbols,kl=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,Vl=(P,O,L)=>O in P?Dl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,mo=(P,O)=>{for(var L in O||(O={}))kl.call(O,L)&&Vl(P,L,O[L]);if(Vc)for(var L of Vc(O))Ou.call(O,L)&&Vl(P,L,O[L]);return P},fu={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:P},{call:O,put:L}){const ve=yield O(li.he,P),Oe=mo({},P);return yield L({type:"save",payload:mo({listParams:Oe},ve)}),ve},*getMenus({payload:P},{call:O,put:L}){var ve;const Oe=yield O(li.I_,P);(ve=Oe==null?void 0:Oe.disciplines)==null||ve.map(dn=>(dn.sub_repertoires=dn.sub_disciplines,dn)),yield L({type:"save",payload:{menus:[...(Oe==null?void 0:Oe.disciplines)||[]]}})},*clearListParams({payload:P},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(P,O){return mo(mo({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Yl=Object.defineProperty,Al=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,du=Object.prototype.propertyIsEnumerable,pf=(P,O,L)=>O in P?Yl(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Du=(P,O)=>{for(var L in O||(O={}))Zu.call(O,L)&&pf(P,L,O[L]);if(Al)for(var L of Al(O))du.call(O,L)&&pf(P,L,O[L]);return P},Vu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:P},{call:O,put:L}){const ve=yield O(li.b8,P);return yield L({type:"save",payload:{newData:Du({},ve)}}),ve},*deleteAttachment({payload:P},{call:O,put:L}){return yield O(li.OW,P)},*applyShixunMirror({payload:P},{call:O,put:L}){return yield O(li.EH,P)},*submitShixuns({payload:P},{call:O,put:L}){return yield O(li.eX,P)},*getShixunsJupyterLab({payload:P},{call:O,put:L}){const ve=yield O(li.Gu,P);return yield L({type:"save",payload:{newData:Du({},ve)}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Du({},P)}})},*getEnvironmentData({payload:P},{call:O,put:L}){const ve=yield O(li.K,P);return console.log(ve,"response"),yield L({type:"save",payload:{environmentData:Du({},ve.data)}}),ve}},reducers:{save(P,O){return Du(Du({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){}}},Cc=Object.defineProperty,Rl=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,mf=Object.prototype.propertyIsEnumerable,Yc=(P,O,L)=>O in P?Cc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,ml=(P,O)=>{for(var L in O||(O={}))Ca.call(O,L)&&Yc(P,L,O[L]);if(Rl)for(var L of Rl(O))mf.call(O,L)&&Yc(P,L,O[L]);return P},Df={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:P},{call:O,put:L}){const ve=yield O(li.e,P);yield L({type:"save",payload:{ShixunUseInfos:ve}})},*getRankList({payload:P},{call:O,put:L}){const ve=yield O(li.Fg,P);yield L({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(ve==null?void 0:ve.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(ve==null?void 0:ve.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(ve==null?void 0:ve.quote_list)||[]]}}})},*getStatisticsBody({payload:P},{call:O,put:L}){const ve=yield O(li.Gz,P);yield L({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:P},{call:O,put:L}){const ve=yield O(li.hS,P);yield L({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:P},{call:O,put:L}){const ve=yield O(li.Hl,P);yield L({type:"save",payload:{SHeader:ve}})}},reducers:{save(P,O){return ml(ml({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Tc=(P,O,L)=>new Promise((ve,Oe)=>{var dn=Mi=>{try{pn(L.next(Mi))}catch(ds){Oe(ds)}},In=Mi=>{try{pn(L.throw(Mi))}catch(ds){Oe(ds)}},pn=Mi=>Mi.done?ve(Mi.value):Promise.resolve(Mi.value).then(dn,In);pn((L=L.apply(P,O)).next())});function ku(P){return Tc(this,null,function*(){return(0,Ra.ZP)("/api/shixuns/new.json",{method:"Get",params:P})})}function vf(P){return Tc(this,null,function*(){return(0,Ra.ZP)(`/api/shixuns/${P.id}/required_status.json`,{method:"Get",params:{}})})}var Pc=Object.defineProperty,Xl=Object.defineProperties,gf=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,Oc=(P,O,L)=>O in P?Pc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,gl=(P,O)=>{for(var L in O||(O={}))Ru.call(O,L)&&Oc(P,L,O[L]);if(Ic)for(var L of Ic(O))vl.call(O,L)&&Oc(P,L,O[L]);return P},Qc=(P,O)=>Xl(P,gf(O)),cc={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:P},{call:O,put:L}){yield L({type:"save",payload:gl({},P)})},*getTestData({payload:P},{call:O,put:L}){const ve=yield O(ku,P);yield L({type:"save",payload:{data:ve}})},*setUpdateIndex({payload:P},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:P},{call:O,put:L}){const ve=yield O(vf,P);yield L({type:"save",payload:gl({},ve.data)})},*setSideBarTabs({payload:P},{call:O,put:L}){yield L({type:"sideBar",payload:gl({},P)})}},reducers:{save(P,O){return gl(gl({},P),O.payload)},sideBar(P,O){return Qc(gl({},P),{sideBar:gl(gl({},P.sideBar),O.payload)})}},subscriptions:{setup({dispatch:P,history:O}){}}},Co=e(89540),Dc=Object.defineProperty,qc=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable,To=(P,O,L)=>O in P?Dc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Ll=(P,O)=>{for(var L in O||(O={}))_l.call(O,L)&&To(P,L,O[L]);if(qc)for(var L of qc(O))Wu.call(O,L)&&To(P,L,O[L]);return P},kc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:P},{call:O,put:L}){const ve=yield O(Co.JJ,P);return yield L({type:"save",payload:{homeworkBanksDetail:Ll({},ve)}}),ve},*getSystemUpdate({payload:P},{call:O,put:L}){const ve=yield O(Co.n0,P);return yield L({type:"save",payload:{systemUpdate:Ll({},ve)}}),ve},*getHomepageInfo({payload:P},{call:O,put:L}){const ve=yield O(Co.DA,P);return yield L({type:"save",payload:{homepageInfo:Ll({},ve)}}),ve},*signed({payload:P},{call:O,put:L}){return yield O(Co.qN,P)},*getCourses({payload:P},{call:O,put:L}){return yield O(Co.Ho,P)},*getShixuns({payload:P},{call:O,put:L}){return yield O(Co.rV,P)},*getPaths({payload:P},{call:O,put:L}){return yield O(Co.w3,P)},*getProjects({payload:P},{call:O,put:L}){return yield O(Co.mW,P)},*getVideos({payload:P},{call:O,put:L}){return yield O(Co.WY,P)},*getReviewVideos({payload:P},{call:O,put:L}){return yield O(Co.Qx,P)},*deleteVideo({payload:P},{call:O,put:L}){return yield O(Co.FM,P)},*getQuestionBanks({payload:P},{call:O,put:L}){return yield O(Co.ai,P)},*topicsSetPublic({payload:P},{call:O,put:L}){return yield O(Co.Cx,P)},*topicsDelete({payload:P},{call:O,put:L}){return yield O(Co.WS,P)},*topicGetCourseList({payload:P},{call:O,put:L}){return yield O(Co.gI,P)},*topicSendToClass({payload:P},{call:O,put:L}){return P.object_type==="videos"?yield O(Co.Fn,P):yield O(Co.Ef,P)},*logWatchHistory({payload:P},{call:O,put:L}){const ve=yield O(Co.lO,P);return ve==null?void 0:ve.log_id},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ll({},P)}})}},reducers:{save(P,O){return Ll(Ll({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Yu=Object.defineProperty,Qs=Object.getOwnPropertySymbols,bo=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Ze=(P,O,L)=>O in P?Yu(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Xu=(P,O)=>{for(var L in O||(O={}))bo.call(O,L)&&Ze(P,L,O[L]);if(Qs)for(var L of Qs(O))Lu.call(O,L)&&Ze(P,L,O[L]);return P},Au=(P,O)=>{var L={};for(var ve in P)bo.call(P,ve)&&O.indexOf(ve)<0&&(L[ve]=P[ve]);if(P!=null&&Qs)for(var ve of Qs(P))O.indexOf(ve)<0&&Lu.call(P,ve)&&(L[ve]=P[ve]);return L},hu={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:P},{call:O,put:L}){const ve=P,{to:Oe}=ve,dn=Au(ve,["to"]);if(!(yield O(Co.Es,dn)).status)try{Oe?f.history.replace(Oe):location.reload()}catch(pn){}},*showPopLogin({payload:P},{put:O}){yield O({type:"save",payload:{showPopLogin:P.showPopLogin,showClosable:P.showClosable}})},*setBindAccountModal({payload:P},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:P.bindAccountModalVisible,userInfoForBindAccountModal:P.userInfoForBindAccountModal,loginInfo:P.loginInfo}})},*getUserInfo({payload:P},{call:O,put:L}){const ve=yield O(Co.bG,Xu({},P));return localStorage.userInfo=JSON.stringify(ve),yield L({type:"save",payload:{userInfo:Xu({},ve)}}),ve},*getNavigationInfo({payload:P},{call:O,put:L}){const ve=yield O(Co.x4,Xu({},P));yield L({type:"save",payload:{navigationInfo:Xu({},ve)}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Xu({},P)}})}},reducers:{save(P,O){return Xu(Xu({},P),O.payload)}}},Qu=e(24514),dc=Object.defineProperty,hc=Object.defineProperties,al=Object.getOwnPropertyDescriptors,sl=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,yf=Object.prototype.propertyIsEnumerable,pc=(P,O,L)=>O in P?dc(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,Cu=(P,O)=>{for(var L in O||(O={}))Mu.call(O,L)&&pc(P,L,O[L]);if(sl)for(var L of sl(O))yf.call(O,L)&&pc(P,L,O[L]);return P},yl=(P,O)=>hc(P,al(O));const Fu=()=>{var P,O,L,ve,Oe,dn,In;let pn=window.location.href.split("/");if(!pn.includes("video"))return;let Mi=(P=pn[pn.length-1])==null?void 0:P.split("?")[0];Mi=Number(Mi);const ds=(L=(O=pn[pn.length-1])==null?void 0:O.split("?")[1])==null?void 0:L.split("=")[1];return((Oe=(ve=pn[pn.length-1])==null?void 0:ve.split("?")[1])==null?void 0:Oe.split("=")[0])==="subject_id"?{videoId:Mi,subject_id:ds}:((In=(dn=pn[pn.length-1])==null?void 0:dn.split("?")[1])==null?void 0:In.split("=")[0])==="new_video_id"?{videoId:Mi,new_video_id:ds}:{videoId:Mi,course_id:ds}};var Jc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Fu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:P,callback:O},{call:L,put:ve}){const Oe=yield L($n.O2,P);return O?O(Oe):yield ve({type:"save",payload:{detail:Cu({},Oe)}}),Oe},*setVideoValue({payload:P},{call:O,put:L}){yield L({type:"save",payload:{detail:Cu({},P)}})},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Cu({},P)}})},*setVideoTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{videoTabs:Cu({},P)}})},*setSelectValue({payload:P},{call:O,put:L}){yield L({type:"save",payload:{selectParams:Cu({},P)}})},*getStageData({payload:P},{call:O,put:L,select:ve}){const Oe=yield O($n.yN,P),dn=yield O(ui.lk,{id:P.subject_id}),{queryParams:In}=yield ve(is=>is.videoDetail),{stages:pn=[]}=Oe,Mi=[];let ds=[],$a={};const Yo=is=>{is.forEach(Po=>{String(Po.id)===String(In.videoId)&&($a=Po),Po.item_type==="VideoItem"?Mi.push(Po):Po.item_type==="Attachment"&&ds.push(Po),Po.children&&Po.children.length&&Yo(Po.children)})};pn==null||pn.forEach(is=>{Yo(is.items)}),window.filterVideoSign=[...Mi],yield L({type:"save",payload:{stages:pn,active:$a,cust_seq:dn.cust_seq,videoList:Mi,attachmentList:ds}})},*getVideoData({payload:P},{call:O,put:L,select:ve}){const Oe=yield O($n.fn,P),{categories:dn=[],coruse_videos:In=[]}=Oe;yield L({type:"save",payload:{stages:(dn==null?void 0:dn.length)>0?dn:[{coruse_videos:In,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:P},{call:O,put:L,select:ve}){const Oe=yield O(Qu.R7,P),{queryParams:dn}=yield ve(Yo=>Yo.videoDetail),{stages:In}=Oe;let pn=[],Mi=[],ds={};const $a=Yo=>{Yo.forEach(is=>{String(is.id)===String(dn.videoId)&&(ds=is),is.item_type==="VideoItem"?pn.push(is):is.item_type==="Attachment"&&Mi.push(is),is.children&&is.children.length&&$a(is.children)})};In==null||In.forEach(Yo=>{$a(Yo.items)}),window.filterVideoSign=[...pn],yield L({type:"save",payload:{active:ds,stages:In,cust_seq:!0,videoList:pn,attachmentList:Mi}})}},reducers:{save(P,O){return Cu(Cu({},P),O.payload)},handleListItemClick(P,O){const{videoList:L,attachmentList:ve}=P,Oe=O.payload.videoId||O.payload.attachmentId,dn=[...L,...ve].find(In=>`${In.id}`==`${Oe}`);return yl(Cu({},P),{active:dn,queryParams:Cu(Cu({},Fu()),O.payload)})}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}},Vo=e(35965),Ml=Object.defineProperty,Rc=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,gc=(P,O,L)=>O in P?Ml(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,_c=(P,O)=>{for(var L in O||(O={}))mc.call(O,L)&&gc(P,L,O[L]);if(Rc)for(var L of Rc(O))vc.call(O,L)&&gc(P,L,O[L]);return P},Lc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:P},{call:O,put:L}){const ve=yield O(Vo.y2,P);return yield L({type:"save",payload:{Workplace:{BaseData:ve.data}}}),ve},*putEditDiscussion({payload:P},{call:O,put:L}){return yield O(Vo.CH,P)},*getDiscussionDetail({payload:P},{call:O,put:L}){const ve=yield O(Vo.XQ,P);return yield L({type:"save",payload:{DiscussionDetail:ve}}),ve},*postDiscussionList({payload:P},{call:O,put:L}){return yield O(Vo.Ll,P)},*getDiscussionList({payload:P},{call:O,put:L}){const ve=yield O(Vo.EA,P);return yield L({type:"save",payload:{DiscussionList:ve}}),ve},*postAddLessonRes({payload:P},{call:O,put:L}){return yield O(Vo.cZ,P)},*getLessonResourcesList({payload:P},{call:O,put:L}){const ve=yield O(Vo.b,P);return yield L({type:"save",payload:{LessonResList:ve}}),ve},*putGoodLessonsDetail({payload:P},{call:O,put:L}){return yield O(Vo.To,P)},*getGoodLessonsDetail({payload:P},{call:O,put:L}){const ve=yield O(Vo.FU,P);return yield L({type:"save",payload:{LessonDetail:ve}}),ve},*postGoodLessonsList({payload:P},{call:O,put:L}){return yield O(Vo.Vf,P)},*getGoodLessonsList({payload:P},{call:O,put:L}){const ve=yield O(Vo.G_,P);return yield L({type:"save",payload:{LessonsList:ve}}),ve},*setActionTabs({payload:P},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_c({},P)}})},*setShowMenu({payload:P},{call:O,put:L}){yield L({type:"save",payload:{showMenu:P}})},*getVirtualSpacesDetails({payload:P},{call:O,put:L}){const ve=yield O(Vo.sT,P);yield L({type:"save",payload:{virtualSpacesDetails:_c({},ve)}})},*setVirtualSpacesLoading({payload:P},{call:O,put:L}){yield L({type:"save",payload:{loading:P}})},*getVirtualSpacesMenus({payload:P},{call:O,put:L}){const ve=yield O(Vo.Sl,P);return yield L({type:"save",payload:{menus:ve}}),ve}},reducers:{save(P,O){return _c(_c({},P),O.payload)}},subscriptions:{setup({dispatch:P,history:O}){return O.listen(({pathname:L})=>{L==="/"&&P({type:"query"})})}}};const Ql={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:Pe},model_5:{namespace:"classrooms.exercise",model:Ue},model_6:{namespace:"classrooms.graduation",model:ke},model_7:{namespace:"classrooms.homeworks",model:Yt},model_8:{namespace:"classrooms.index",model:Ae},model_9:{namespace:"classrooms.new",model:dt},model_10:{namespace:"classrooms.overview",model:Jt},model_11:{namespace:"classrooms.polls",model:br},model_12:{namespace:"classrooms.teacher",model:Bi},model_13:{namespace:"classrooms.video",model:Yi},model_14:{namespace:"competitions.index",model:Gi},model_15:{namespace:"engineering.evaluateDetail",model:Nr},model_16:{namespace:"engineering.evaluateList",model:zn.Z},model_17:{namespace:"engineering.index",model:sr},model_18:{namespace:"engineering.navigation",model:wa},model_19:{namespace:"engineering.normDetail",model:qi},model_20:{namespace:"engineering.normList",model:Ni},model_21:{namespace:"forums.detail",model:Oo},model_22:{namespace:"forums.index",model:Ha},model_23:{namespace:"globalSetting",model:Gu},model_24:{namespace:"graduations.index",model:_r},model_25:{namespace:"homePage",model:Br},model_26:{namespace:"innovation.index",model:Sa},model_27:{namespace:"intraincourse.index",model:ni},model_28:{namespace:"loading",model:Li},model_29:{namespace:"messages.index",model:Xs},model_30:{namespace:"paperlibrary.index",model:vn},model_31:{namespace:"paperlibrary.newPaper",model:Qi},model_32:{namespace:"paths.detail",model:yu},model_33:{namespace:"paths.index",model:Et},model_34:{namespace:"paths.new",model:Jn},model_35:{namespace:"paths.overview",model:Es},model_36:{namespace:"problemset.index",model:El},model_37:{namespace:"problemset.preview",model:Zl},model_38:{namespace:"resetFul.index",model:$l},model_39:{namespace:"shixuns.detail",model:lc},model_40:{namespace:"shixuns.index",model:fu},model_41:{namespace:"shixuns.new",model:Vu},model_42:{namespace:"shixuns.overview",model:Df},model_43:{namespace:"shixuns.practiceSetting",model:cc},model_44:{namespace:"user.detail",model:kc},model_45:{namespace:"user.index",model:hu},model_46:{namespace:"video.detail",model:Jc},model_47:{namespace:"virtualSpaces.index",model:Lc}};var ql=Object.defineProperty,bf=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,yc=(P,O,L)=>O in P?ql(P,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):P[O]=L,bc=(P,O)=>{for(var L in O||(O={}))ef.call(O,L)&&yc(P,L,O[L]);if(bf)for(var L of bf(O))ol.call(O,L)&&yc(P,L,O[L]);return P};let Mc;function Fc(P){const{pluginManager:O}=(0,f.useAppData)(),L=(0,c.useRef)(),ve=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(bc({history:f.history},ve.config||{}),{initialReducer:{},setupMiddlewares(Oe){return[...Oe]},setupApp(Oe){Oe._history=f.history}}),Mc=L.current,L.current.use(l()()),(ve.plugins||[]).forEach(Oe=>{L.current.use(Oe)});for(const Oe of Object.keys(Ql))L.current.model(bc({namespace:Ql[Oe].namespace},Ql[Oe].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},P.children)}function xf(){return Mc}},2893:function(d,g,e){"use strict";e.d(g,{PZ:function(){return nt},eU:function(){return a},B:function(){return we},Mg:function(){return Nr},lw:function(){return Tr},Kd:function(){return en},H8:function(){return Ct}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ke){return Ke.displayName||Ke.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(Ke,ct){const{intlPropName:_e="intl",forwardRef:sr=!1,enforceContext:nr=!0}=ct||{},kr=Gr=>React.createElement(h,null,Wr=>(nr&&invariantIntlContext(Wr),React.createElement(Ke,Object.assign({},Gr,{[_e]:Wr},{ref:sr?Gr.forwardedRef:null}))));return kr.displayName=`injectIntl(${f(Ke)})`,kr.WrappedComponent=Ke,c(sr?React.forwardRef((Gr,Wr)=>React.createElement(kr,Object.assign({},Gr,{forwardedRef:Wr}))):kr,Ke)}var y;(function(Ke){Ke[Ke.literal=0]="literal",Ke[Ke.argument=1]="argument",Ke[Ke.number=2]="number",Ke[Ke.date=3]="date",Ke[Ke.time=4]="time",Ke[Ke.select=5]="select",Ke[Ke.plural=6]="plural",Ke[Ke.pound=7]="pound"})(y||(y={}));function m(Ke){return Ke.type===y.literal}function b(Ke){return Ke.type===y.argument}function S(Ke){return Ke.type===y.number}function k(Ke){return Ke.type===y.date}function R(Ke){return Ke.type===y.time}function A(Ke){return Ke.type===y.select}function I(Ke){return Ke.type===y.plural}function M(Ke){return Ke.type===y.pound}function B(Ke){return!!(Ke&&typeof Ke=="object"&&Ke.type===0)}function N(Ke){return!!(Ke&&typeof Ke=="object"&&Ke.type===1)}function K(Ke){return{type:y.literal,value:Ke}}function G(Ke,ct){return{type:y.number,value:Ke,style:ct}}var H=function(){var Ke=function(ct,_e){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var kr in nr)nr.hasOwnProperty(kr)&&(sr[kr]=nr[kr])},Ke(ct,_e)};return function(ct,_e){Ke(ct,_e);function sr(){this.constructor=ct}ct.prototype=_e===null?Object.create(_e):(sr.prototype=_e.prototype,new sr)}}(),ae=function(){return ae=Object.assign||function(Ke){for(var ct,_e=1,sr=arguments.length;_e0){for($r=1,kn=1;$rRa&&(Ra=wt,Ys=[]),Ys.push(We))}function Sr(We,jt){return new ne(We,[],"",jt)}function Mr(We,jt,Er){return new ne(ne.buildMessage(We,jt),We,jt,Er)}function Kr(){var We;return We=xn(),We}function xn(){var We,jt;for(We=[],jt=cn();jt!==_e;)We.push(jt),jt=cn();return We}function cn(){var We;return We=ri(),We===_e&&(We=yi(),We===_e&&(We=fs(),We===_e&&(We=ya(),We===_e&&(We=vs(),We===_e&&(We=ni()))))),We}function Sn(){var We,jt,Er;if(We=wt,jt=[],Er=Js(),Er===_e&&(Er=Ga(),Er===_e&&(Er=us())),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=Js(),Er===_e&&(Er=Ga(),Er===_e&&(Er=us()));else jt=_e;return jt!==_e&&(Qn=We,jt=kr(jt)),We=jt,We}function ri(){var We,jt;return We=wt,jt=Sn(),jt!==_e&&(Qn=We,jt=Gr(jt)),We=jt,We}function ni(){var We,jt;return We=wt,Ke.charCodeAt(wt)===35?(jt=Wr,wt++):(jt=_e,sn===0&&vt(hn)),jt!==_e&&(Qn=We,jt=Si()),We=jt,We}function yi(){var We,jt,Er,Rr,qr,_n;return sn++,We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e?(Er=pa(),Er!==_e?(Rr=Va(),Rr!==_e?(qr=pa(),qr!==_e?(Ke.charCodeAt(wt)===125?(_n=kn,wt++):(_n=_e,sn===0&&vt(si)),_n!==_e?(Qn=We,jt=wa(Rr),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),sn--,We===_e&&(jt=_e,sn===0&&vt(un)),We}function Li(){var We,jt,Er,Rr,qr;if(sn++,We=wt,jt=[],Er=wt,Rr=wt,sn++,qr=ao(),qr===_e&&(Ba.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(zs))),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=wt,Rr=wt,sn++,qr=ao(),qr===_e&&(Ba.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(zs))),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e);else jt=_e;return jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(qs)),We}function na(){var We,jt,Er;return sn++,We=wt,Ke.charCodeAt(wt)===47?(jt=oo,wt++):(jt=_e,sn===0&&vt(Aa)),jt!==_e?(Er=Li(),Er!==_e?(Qn=We,jt=Ps(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),sn--,We===_e&&(jt=_e,sn===0&&vt(as)),We}function Hi(){var We,jt,Er,Rr,qr;if(sn++,We=wt,jt=pa(),jt!==_e)if(Er=Li(),Er!==_e){for(Rr=[],qr=na();qr!==_e;)Rr.push(qr),qr=na();Rr!==_e?(Qn=We,jt=po(Er,Rr),We=jt):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;return sn--,We===_e&&(jt=_e,sn===0&&vt(ps)),We}function Ti(){var We,jt,Er;if(We=wt,jt=[],Er=Hi(),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=Hi();else jt=_e;return jt!==_e&&(Qn=We,jt=qi(jt)),We=jt,We}function Pa(){var We,jt,Er;return We=wt,Ke.substr(wt,2)===to?(jt=to,wt+=2):(jt=_e,sn===0&&vt(Zo)),jt!==_e?(Er=Ti(),Er!==_e?(Qn=We,jt=Na(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),We===_e&&(We=wt,Qn=wt,jt=Zs(),jt?jt=void 0:jt=_e,jt!==_e?(Er=Sn(),Er!==_e?(Qn=We,jt=di(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e)),We}function Pi(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws;return We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e?(Er=pa(),Er!==_e?(Rr=Va(),Rr!==_e?(qr=pa(),qr!==_e?(Ke.charCodeAt(wt)===44?(_n=ro,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e?(Qi=pa(),Qi!==_e?(Ke.substr(wt,6)===ss?(ui=ss,wt+=6):(ui=_e,sn===0&&vt(Is)),ui!==_e?(Eo=pa(),Eo!==_e?(fa=wt,Ke.charCodeAt(wt)===44?(ns=ro,wt++):(ns=_e,sn===0&&vt(Rn)),ns!==_e?(Qa=pa(),Qa!==_e?(ws=Pa(),ws!==_e?(ns=[ns,Qa,ws],fa=ns):(wt=fa,fa=_e)):(wt=fa,fa=_e)):(wt=fa,fa=_e),fa===_e&&(fa=null),fa!==_e?(ns=pa(),ns!==_e?(Ke.charCodeAt(wt)===125?(Qa=kn,wt++):(Qa=_e,sn===0&&vt(si)),Qa!==_e?(Qn=We,jt=Os(Rr,ui,fa),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function pi(){var We,jt,Er,Rr;if(We=wt,Ke.charCodeAt(wt)===39?(jt=Xi,wt++):(jt=_e,sn===0&&vt(Ka)),jt!==_e){if(Er=[],Rr=Js(),Rr===_e&&(Ni.test(Ke.charAt(wt))?(Rr=Ke.charAt(wt),wt++):(Rr=_e,sn===0&&vt(Ds))),Rr!==_e)for(;Rr!==_e;)Er.push(Rr),Rr=Js(),Rr===_e&&(Ni.test(Ke.charAt(wt))?(Rr=Ke.charAt(wt),wt++):(Rr=_e,sn===0&&vt(Ds)));else Er=_e;Er!==_e?(Ke.charCodeAt(wt)===39?(Rr=Xi,wt++):(Rr=_e,sn===0&&vt(Ka)),Rr!==_e?(jt=[jt,Er,Rr],We=jt):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;if(We===_e)if(We=[],jt=Js(),jt===_e&&(xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(Wo))),jt!==_e)for(;jt!==_e;)We.push(jt),jt=Js(),jt===_e&&(xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(Wo)));else We=_e;return We}function ca(){var We,jt;if(We=[],Xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(mu)),jt!==_e)for(;jt!==_e;)We.push(jt),Xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(mu));else We=_e;return We}function wo(){var We,jt,Er,Rr;if(We=wt,jt=wt,Er=[],Rr=pi(),Rr===_e&&(Rr=ca()),Rr!==_e)for(;Rr!==_e;)Er.push(Rr),Rr=pi(),Rr===_e&&(Rr=ca());else Er=_e;return Er!==_e?jt=Ke.substring(jt,wt):jt=Er,jt!==_e&&(Qn=We,jt=vu(jt)),We=jt,We}function Xs(){var We,jt,Er;return We=wt,Ke.substr(wt,2)===to?(jt=to,wt+=2):(jt=_e,sn===0&&vt(Zo)),jt!==_e?(Er=wo(),Er!==_e?(Qn=We,jt=Na(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),We===_e&&(We=wt,Qn=wt,jt=go(),jt?jt=void 0:jt=_e,jt!==_e?(Er=Sn(),Er!==_e?(Qn=We,jt=di(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e)),We}function ia(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws;return We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e?(Er=pa(),Er!==_e?(Rr=Va(),Rr!==_e?(qr=pa(),qr!==_e?(Ke.charCodeAt(wt)===44?(_n=ro,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e?(Qi=pa(),Qi!==_e?(Ke.substr(wt,4)===Ho?(ui=Ho,wt+=4):(ui=_e,sn===0&&vt(Oo)),ui===_e&&(Ke.substr(wt,4)===nu?(ui=nu,wt+=4):(ui=_e,sn===0&&vt(Qo))),ui!==_e?(Eo=pa(),Eo!==_e?(fa=wt,Ke.charCodeAt(wt)===44?(ns=ro,wt++):(ns=_e,sn===0&&vt(Rn)),ns!==_e?(Qa=pa(),Qa!==_e?(ws=Xs(),ws!==_e?(ns=[ns,Qa,ws],fa=ns):(wt=fa,fa=_e)):(wt=fa,fa=_e)):(wt=fa,fa=_e),fa===_e&&(fa=null),fa!==_e?(ns=pa(),ns!==_e?(Ke.charCodeAt(wt)===125?(Qa=kn,wt++):(Qa=_e,sn===0&&vt(si)),Qa!==_e?(Qn=We,jt=Os(Rr,ui,fa),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function fs(){var We;return We=Pi(),We===_e&&(We=ia()),We}function ya(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws,_o,Eu,yu;if(We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e)if(Er=pa(),Er!==_e)if(Rr=Va(),Rr!==_e)if(qr=pa(),qr!==_e)if(Ke.charCodeAt(wt)===44?(_n=ro,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e)if(Qi=pa(),Qi!==_e)if(Ke.substr(wt,6)===hi?(ui=hi,wt+=6):(ui=_e,sn===0&&vt(gi)),ui===_e&&(Ke.substr(wt,13)===Ja?(ui=Ja,wt+=13):(ui=_e,sn===0&&vt(ls))),ui!==_e)if(Eo=pa(),Eo!==_e)if(Ke.charCodeAt(wt)===44?(fa=ro,wt++):(fa=_e,sn===0&&vt(Rn)),fa!==_e)if(ns=pa(),ns!==_e)if(Qa=wt,Ke.substr(wt,7)===es?(ws=es,wt+=7):(ws=_e,sn===0&&vt(Ha)),ws!==_e?(_o=pa(),_o!==_e?(Eu=Ms(),Eu!==_e?(ws=[ws,_o,Eu],Qa=ws):(wt=Qa,Qa=_e)):(wt=Qa,Qa=_e)):(wt=Qa,Qa=_e),Qa===_e&&(Qa=null),Qa!==_e)if(ws=pa(),ws!==_e){if(_o=[],Eu=Ls(),Eu!==_e)for(;Eu!==_e;)_o.push(Eu),Eu=Ls();else _o=_e;_o!==_e?(Eu=pa(),Eu!==_e?(Ke.charCodeAt(wt)===125?(yu=kn,wt++):(yu=_e,sn===0&&vt(si)),yu!==_e?(Qn=We,jt=ms(Rr,ui,Qa,_o),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;return We}function vs(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws,_o;if(We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e)if(Er=pa(),Er!==_e)if(Rr=Va(),Rr!==_e)if(qr=pa(),qr!==_e)if(Ke.charCodeAt(wt)===44?(_n=ro,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e)if(Qi=pa(),Qi!==_e)if(Ke.substr(wt,6)===qo?(ui=qo,wt+=6):(ui=_e,sn===0&&vt(ks)),ui!==_e)if(Eo=pa(),Eo!==_e)if(Ke.charCodeAt(wt)===44?(fa=ro,wt++):(fa=_e,sn===0&&vt(Rn)),fa!==_e)if(ns=pa(),ns!==_e){if(Qa=[],ws=rs(),ws!==_e)for(;ws!==_e;)Qa.push(ws),ws=rs();else Qa=_e;Qa!==_e?(ws=pa(),ws!==_e?(Ke.charCodeAt(wt)===125?(_o=kn,wt++):(_o=_e,sn===0&&vt(si)),_o!==_e?(Qn=We,jt=Mo(Rr,Qa),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;return We}function La(){var We,jt,Er,Rr;return We=wt,jt=wt,Ke.charCodeAt(wt)===61?(Er=wu,wt++):(Er=_e,sn===0&&vt(Iu)),Er!==_e?(Rr=Ms(),Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)):(wt=jt,jt=_e),jt!==_e?We=Ke.substring(We,wt):We=jt,We===_e&&(We=kt()),We}function rs(){var We,jt,Er,Rr,qr,_n,Qi,ui;return We=wt,jt=pa(),jt!==_e?(Er=kt(),Er!==_e?(Rr=pa(),Rr!==_e?(Ke.charCodeAt(wt)===123?(qr=yn,wt++):(qr=_e,sn===0&&vt($r)),qr!==_e?(Qn=wt,_n=rl(Er),_n?_n=void 0:_n=_e,_n!==_e?(Qi=xn(),Qi!==_e?(Ke.charCodeAt(wt)===125?(ui=kn,wt++):(ui=_e,sn===0&&vt(si)),ui!==_e?(Qn=We,jt=dl(Er,Qi),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function Ls(){var We,jt,Er,Rr,qr,_n,Qi,ui;return We=wt,jt=pa(),jt!==_e?(Er=La(),Er!==_e?(Rr=pa(),Rr!==_e?(Ke.charCodeAt(wt)===123?(qr=yn,wt++):(qr=_e,sn===0&&vt($r)),qr!==_e?(Qn=wt,_n=Fo(Er),_n?_n=void 0:_n=_e,_n!==_e?(Qi=xn(),Qi!==_e?(Ke.charCodeAt(wt)===125?(ui=kn,wt++):(ui=_e,sn===0&&vt(si)),ui!==_e?(Qn=We,jt=uo(Er,Qi),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function ao(){var We,jt;return sn++,Gu.test(Ke.charAt(wt))?(We=Ke.charAt(wt),wt++):(We=_e,sn===0&&vt(Bo)),sn--,We===_e&&(jt=_e,sn===0&&vt(Go)),We}function xs(){var We,jt;return sn++,Uu.test(Ke.charAt(wt))?(We=Ke.charAt(wt),wt++):(We=_e,sn===0&&vt(iu)),sn--,We===_e&&(jt=_e,sn===0&&vt($o)),We}function pa(){var We,jt,Er;for(sn++,We=wt,jt=[],Er=ao();Er!==_e;)jt.push(Er),Er=ao();return jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(gu)),We}function Ms(){var We,jt,Er;return sn++,We=wt,Ke.charCodeAt(wt)===45?(jt=_u,wt++):(jt=_e,sn===0&&vt(Ko)),jt===_e&&(jt=null),jt!==_e?(Er=Vt(),Er!==_e?(Qn=We,jt=rr(jt,Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),sn--,We===_e&&(jt=_e,sn===0&&vt(No)),We}function jo(){var We,jt;return sn++,Ke.charCodeAt(wt)===39?(We=Xi,wt++):(We=_e,sn===0&&vt(Ka)),sn--,We===_e&&(jt=_e,sn===0&&vt(_r)),We}function Js(){var We,jt;return sn++,We=wt,Ke.substr(wt,2)===gr?(jt=gr,wt+=2):(jt=_e,sn===0&&vt(Cr)),jt!==_e&&(Qn=We,jt=bn()),We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(dr)),We}function Ga(){var We,jt,Er,Rr,qr,_n;if(We=wt,Ke.charCodeAt(wt)===39?(jt=Xi,wt++):(jt=_e,sn===0&&vt(Ka)),jt!==_e)if(Er=co(),Er!==_e){for(Rr=wt,qr=[],Ke.substr(wt,2)===gr?(_n=gr,wt+=2):(_n=_e,sn===0&&vt(Cr)),_n===_e&&(Ni.test(Ke.charAt(wt))?(_n=Ke.charAt(wt),wt++):(_n=_e,sn===0&&vt(Ds)));_n!==_e;)qr.push(_n),Ke.substr(wt,2)===gr?(_n=gr,wt+=2):(_n=_e,sn===0&&vt(Cr)),_n===_e&&(Ni.test(Ke.charAt(wt))?(_n=Ke.charAt(wt),wt++):(_n=_e,sn===0&&vt(Ds)));qr!==_e?Rr=Ke.substring(Rr,wt):Rr=qr,Rr!==_e?(Ke.charCodeAt(wt)===39?(qr=Xi,wt++):(qr=_e,sn===0&&vt(Ka)),qr===_e&&(qr=null),qr!==_e?(Qn=We,jt=Zn(Er,Rr),We=jt):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;return We}function us(){var We,jt,Er,Rr;return We=wt,jt=wt,Ke.length>wt?(Er=Ke.charAt(wt),wt++):(Er=_e,sn===0&&vt(Ns)),Er!==_e?(Qn=wt,Rr=Ln(Er),Rr?Rr=void 0:Rr=_e,Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)):(wt=jt,jt=_e),jt===_e&&(Ke.charCodeAt(wt)===10?(jt=Wn,wt++):(jt=_e,sn===0&&vt(ai))),jt!==_e?We=Ke.substring(We,wt):We=jt,We}function co(){var We,jt,Er,Rr;return We=wt,jt=wt,Ke.length>wt?(Er=Ke.charAt(wt),wt++):(Er=_e,sn===0&&vt(Ns)),Er!==_e?(Qn=wt,Rr=qn(Er),Rr?Rr=void 0:Rr=_e,Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)):(wt=jt,jt=_e),jt!==_e?We=Ke.substring(We,wt):We=jt,We}function Va(){var We,jt;return sn++,We=wt,jt=Vt(),jt===_e&&(jt=kt()),jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(mr)),We}function Vt(){var We,jt,Er,Rr,qr;if(sn++,We=wt,Ke.charCodeAt(wt)===48?(jt=Br,wt++):(jt=_e,sn===0&&vt(Cn)),jt!==_e&&(Qn=We,jt=Pn()),We=jt,We===_e){if(We=wt,jt=wt,oi.test(Ke.charAt(wt))?(Er=Ke.charAt(wt),wt++):(Er=_e,sn===0&&vt(Ei)),Er!==_e){for(Rr=[],Gn.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(ta));qr!==_e;)Rr.push(qr),Gn.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(ta));Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)}else wt=jt,jt=_e;jt!==_e&&(Qn=We,jt=ra(jt)),We=jt}return sn--,We===_e&&(jt=_e,sn===0&&vt(Fr)),We}function kt(){var We,jt,Er,Rr,qr;if(sn++,We=wt,jt=[],Er=wt,Rr=wt,sn++,qr=ao(),qr===_e&&(qr=xs()),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=wt,Rr=wt,sn++,qr=ao(),qr===_e&&(qr=xs()),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e);else jt=_e;return jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(_i)),We}var Ia=["root"];function Ws(){return Ia.length>1}function vn(){return Ia[Ia.length-1]==="plural"}function wn(){return ct&&ct.captureLocation?{location:Rs()}:{}}if(Do=nr(),Do!==_e&&wt===Ke.length)return Do;throw Do!==_e&&wt1)throw new RangeError("Fraction-precision stems only accept a single optional option");nr.stem.replace(je,function(Gr,Wr,hn){return Gr==="."?ct.maximumFractionDigits=0:hn==="+"?ct.minimumFractionDigits=hn.length:Wr[0]==="#"?ct.maximumFractionDigits=Wr.length:(ct.minimumFractionDigits=Wr.length,ct.maximumFractionDigits=Wr.length+(typeof hn=="string"?hn.length:0)),""}),nr.options.length&&(ct=me(me({},ct),ht(nr.options[0])));continue}if(Dt.test(nr.stem)){ct=me(me({},ct),ht(nr.stem));continue}var kr=Pt(nr.stem);kr&&(ct=me(me({},ct),kr))}return ct}var ar=function(){var Ke=function(ct,_e){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var kr in nr)nr.hasOwnProperty(kr)&&(sr[kr]=nr[kr])},Ke(ct,_e)};return function(ct,_e){Ke(ct,_e);function sr(){this.constructor=ct}ct.prototype=_e===null?Object.create(_e):(sr.prototype=_e.prototype,new sr)}}(),Ue=function(){for(var Ke=0,ct=0,_e=arguments.length;ct<_e;ct++)Ke+=arguments[ct].length;for(var sr=Array(Ke),nr=0,ct=0;ct<_e;ct++)for(var kr=arguments[ct],Gr=0,Wr=kr.length;GrRa&&(Ra=wt,Ys=[]),Ys.push(We))}function Sr(We,jt){return new ne(We,[],"",jt)}function Mr(We,jt,Er){return new ne(ne.buildMessage(We,jt),We,jt,Er)}function Kr(){var We;return We=xn(),We}function xn(){var We,jt;for(We=[],jt=cn();jt!==_e;)We.push(jt),jt=cn();return We}function cn(){var We;return We=ri(),We===_e&&(We=yi(),We===_e&&(We=fs(),We===_e&&(We=ya(),We===_e&&(We=vs(),We===_e&&(We=ni()))))),We}function Sn(){var We,jt,Er;if(We=wt,jt=[],Er=eo(),Er===_e&&(Er=Ga(),Er===_e&&(Er=us())),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=eo(),Er===_e&&(Er=Ga(),Er===_e&&(Er=us()));else jt=_e;return jt!==_e&&(Qn=We,jt=kr(jt)),We=jt,We}function ri(){var We,jt;return We=wt,jt=Sn(),jt!==_e&&(Qn=We,jt=Gr(jt)),We=jt,We}function ni(){var We,jt;return We=wt,Ke.charCodeAt(wt)===35?(jt=Wr,wt++):(jt=_e,sn===0&&vt(hn)),jt!==_e&&(Qn=We,jt=Si()),We=jt,We}function yi(){var We,jt,Er,Rr,qr,_n;return sn++,We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e?(Er=pa(),Er!==_e?(Rr=Va(),Rr!==_e?(qr=pa(),qr!==_e?(Ke.charCodeAt(wt)===125?(_n=kn,wt++):(_n=_e,sn===0&&vt(si)),_n!==_e?(Qn=We,jt=wa(Rr),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),sn--,We===_e&&(jt=_e,sn===0&&vt(un)),We}function Li(){var We,jt,Er,Rr,qr;if(sn++,We=wt,jt=[],Er=wt,Rr=wt,sn++,qr=so(),qr===_e&&(Ba.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(zs))),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=wt,Rr=wt,sn++,qr=so(),qr===_e&&(Ba.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(zs))),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e);else jt=_e;return jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(qs)),We}function na(){var We,jt,Er;return sn++,We=wt,Ke.charCodeAt(wt)===47?(jt=uo,wt++):(jt=_e,sn===0&&vt(Aa)),jt!==_e?(Er=Li(),Er!==_e?(Qn=We,jt=Ps(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),sn--,We===_e&&(jt=_e,sn===0&&vt(as)),We}function Hi(){var We,jt,Er,Rr,qr;if(sn++,We=wt,jt=pa(),jt!==_e)if(Er=Li(),Er!==_e){for(Rr=[],qr=na();qr!==_e;)Rr.push(qr),qr=na();Rr!==_e?(Qn=We,jt=po(Er,Rr),We=jt):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;return sn--,We===_e&&(jt=_e,sn===0&&vt(ps)),We}function Ti(){var We,jt,Er;if(We=wt,jt=[],Er=Hi(),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=Hi();else jt=_e;return jt!==_e&&(Qn=We,jt=qi(jt)),We=jt,We}function Pa(){var We,jt,Er;return We=wt,Ke.substr(wt,2)===ro?(jt=ro,wt+=2):(jt=_e,sn===0&&vt(Wo)),jt!==_e?(Er=Ti(),Er!==_e?(Qn=We,jt=Na(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),We===_e&&(We=wt,Qn=wt,jt=Zs(),jt?jt=void 0:jt=_e,jt!==_e?(Er=Sn(),Er!==_e?(Qn=We,jt=di(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e)),We}function Pi(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws;return We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e?(Er=pa(),Er!==_e?(Rr=Va(),Rr!==_e?(qr=pa(),qr!==_e?(Ke.charCodeAt(wt)===44?(_n=no,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e?(Qi=pa(),Qi!==_e?(Ke.substr(wt,6)===ss?(ui=ss,wt+=6):(ui=_e,sn===0&&vt(Is)),ui!==_e?(Eo=pa(),Eo!==_e?(fa=wt,Ke.charCodeAt(wt)===44?(ns=no,wt++):(ns=_e,sn===0&&vt(Rn)),ns!==_e?(Qa=pa(),Qa!==_e?(ws=Pa(),ws!==_e?(ns=[ns,Qa,ws],fa=ns):(wt=fa,fa=_e)):(wt=fa,fa=_e)):(wt=fa,fa=_e),fa===_e&&(fa=null),fa!==_e?(ns=pa(),ns!==_e?(Ke.charCodeAt(wt)===125?(Qa=kn,wt++):(Qa=_e,sn===0&&vt(si)),Qa!==_e?(Qn=We,jt=Os(Rr,ui,fa),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function pi(){var We,jt,Er,Rr;if(We=wt,Ke.charCodeAt(wt)===39?(jt=Xi,wt++):(jt=_e,sn===0&&vt(Ka)),jt!==_e){if(Er=[],Rr=eo(),Rr===_e&&(Ni.test(Ke.charAt(wt))?(Rr=Ke.charAt(wt),wt++):(Rr=_e,sn===0&&vt(Ds))),Rr!==_e)for(;Rr!==_e;)Er.push(Rr),Rr=eo(),Rr===_e&&(Ni.test(Ke.charAt(wt))?(Rr=Ke.charAt(wt),wt++):(Rr=_e,sn===0&&vt(Ds)));else Er=_e;Er!==_e?(Ke.charCodeAt(wt)===39?(Rr=Xi,wt++):(Rr=_e,sn===0&&vt(Ka)),Rr!==_e?(jt=[jt,Er,Rr],We=jt):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;if(We===_e)if(We=[],jt=eo(),jt===_e&&(xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(Ho))),jt!==_e)for(;jt!==_e;)We.push(jt),jt=eo(),jt===_e&&(xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(Ho)));else We=_e;return We}function ca(){var We,jt;if(We=[],Xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(mu)),jt!==_e)for(;jt!==_e;)We.push(jt),Xo.test(Ke.charAt(wt))?(jt=Ke.charAt(wt),wt++):(jt=_e,sn===0&&vt(mu));else We=_e;return We}function wo(){var We,jt,Er,Rr;if(We=wt,jt=wt,Er=[],Rr=pi(),Rr===_e&&(Rr=ca()),Rr!==_e)for(;Rr!==_e;)Er.push(Rr),Rr=pi(),Rr===_e&&(Rr=ca());else Er=_e;return Er!==_e?jt=Ke.substring(jt,wt):jt=Er,jt!==_e&&(Qn=We,jt=vu(jt)),We=jt,We}function Xs(){var We,jt,Er;return We=wt,Ke.substr(wt,2)===ro?(jt=ro,wt+=2):(jt=_e,sn===0&&vt(Wo)),jt!==_e?(Er=wo(),Er!==_e?(Qn=We,jt=Na(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),We===_e&&(We=wt,Qn=wt,jt=go(),jt?jt=void 0:jt=_e,jt!==_e?(Er=Sn(),Er!==_e?(Qn=We,jt=di(Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e)),We}function ia(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws;return We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e?(Er=pa(),Er!==_e?(Rr=Va(),Rr!==_e?(qr=pa(),qr!==_e?(Ke.charCodeAt(wt)===44?(_n=no,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e?(Qi=pa(),Qi!==_e?(Ke.substr(wt,4)===Go?(ui=Go,wt+=4):(ui=_e,sn===0&&vt(Oo)),ui===_e&&(Ke.substr(wt,4)===nu?(ui=nu,wt+=4):(ui=_e,sn===0&&vt(Qo))),ui!==_e?(Eo=pa(),Eo!==_e?(fa=wt,Ke.charCodeAt(wt)===44?(ns=no,wt++):(ns=_e,sn===0&&vt(Rn)),ns!==_e?(Qa=pa(),Qa!==_e?(ws=Xs(),ws!==_e?(ns=[ns,Qa,ws],fa=ns):(wt=fa,fa=_e)):(wt=fa,fa=_e)):(wt=fa,fa=_e),fa===_e&&(fa=null),fa!==_e?(ns=pa(),ns!==_e?(Ke.charCodeAt(wt)===125?(Qa=kn,wt++):(Qa=_e,sn===0&&vt(si)),Qa!==_e?(Qn=We,jt=Os(Rr,ui,fa),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function fs(){var We;return We=Pi(),We===_e&&(We=ia()),We}function ya(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws,_o,Eu,yu;if(We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e)if(Er=pa(),Er!==_e)if(Rr=Va(),Rr!==_e)if(qr=pa(),qr!==_e)if(Ke.charCodeAt(wt)===44?(_n=no,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e)if(Qi=pa(),Qi!==_e)if(Ke.substr(wt,6)===hi?(ui=hi,wt+=6):(ui=_e,sn===0&&vt(gi)),ui===_e&&(Ke.substr(wt,13)===Ja?(ui=Ja,wt+=13):(ui=_e,sn===0&&vt(ls))),ui!==_e)if(Eo=pa(),Eo!==_e)if(Ke.charCodeAt(wt)===44?(fa=no,wt++):(fa=_e,sn===0&&vt(Rn)),fa!==_e)if(ns=pa(),ns!==_e)if(Qa=wt,Ke.substr(wt,7)===es?(ws=es,wt+=7):(ws=_e,sn===0&&vt(Ha)),ws!==_e?(_o=pa(),_o!==_e?(Eu=Ms(),Eu!==_e?(ws=[ws,_o,Eu],Qa=ws):(wt=Qa,Qa=_e)):(wt=Qa,Qa=_e)):(wt=Qa,Qa=_e),Qa===_e&&(Qa=null),Qa!==_e)if(ws=pa(),ws!==_e){if(_o=[],Eu=Ls(),Eu!==_e)for(;Eu!==_e;)_o.push(Eu),Eu=Ls();else _o=_e;_o!==_e?(Eu=pa(),Eu!==_e?(Ke.charCodeAt(wt)===125?(yu=kn,wt++):(yu=_e,sn===0&&vt(si)),yu!==_e?(Qn=We,jt=ms(Rr,ui,Qa,_o),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;return We}function vs(){var We,jt,Er,Rr,qr,_n,Qi,ui,Eo,fa,ns,Qa,ws,_o;if(We=wt,Ke.charCodeAt(wt)===123?(jt=yn,wt++):(jt=_e,sn===0&&vt($r)),jt!==_e)if(Er=pa(),Er!==_e)if(Rr=Va(),Rr!==_e)if(qr=pa(),qr!==_e)if(Ke.charCodeAt(wt)===44?(_n=no,wt++):(_n=_e,sn===0&&vt(Rn)),_n!==_e)if(Qi=pa(),Qi!==_e)if(Ke.substr(wt,6)===qo?(ui=qo,wt+=6):(ui=_e,sn===0&&vt(ks)),ui!==_e)if(Eo=pa(),Eo!==_e)if(Ke.charCodeAt(wt)===44?(fa=no,wt++):(fa=_e,sn===0&&vt(Rn)),fa!==_e)if(ns=pa(),ns!==_e){if(Qa=[],ws=rs(),ws!==_e)for(;ws!==_e;)Qa.push(ws),ws=rs();else Qa=_e;Qa!==_e?(ws=pa(),ws!==_e?(Ke.charCodeAt(wt)===125?(_o=kn,wt++):(_o=_e,sn===0&&vt(si)),_o!==_e?(Qn=We,jt=Mo(Rr,Qa),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;else wt=We,We=_e;return We}function La(){var We,jt,Er,Rr;return We=wt,jt=wt,Ke.charCodeAt(wt)===61?(Er=wu,wt++):(Er=_e,sn===0&&vt(Iu)),Er!==_e?(Rr=Ms(),Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)):(wt=jt,jt=_e),jt!==_e?We=Ke.substring(We,wt):We=jt,We===_e&&(We=kt()),We}function rs(){var We,jt,Er,Rr,qr,_n,Qi,ui;return We=wt,jt=pa(),jt!==_e?(Er=kt(),Er!==_e?(Rr=pa(),Rr!==_e?(Ke.charCodeAt(wt)===123?(qr=yn,wt++):(qr=_e,sn===0&&vt($r)),qr!==_e?(Qn=wt,_n=rl(Er),_n?_n=void 0:_n=_e,_n!==_e?(Qi=xn(),Qi!==_e?(Ke.charCodeAt(wt)===125?(ui=kn,wt++):(ui=_e,sn===0&&vt(si)),ui!==_e?(Qn=We,jt=dl(Er,Qi),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function Ls(){var We,jt,Er,Rr,qr,_n,Qi,ui;return We=wt,jt=pa(),jt!==_e?(Er=La(),Er!==_e?(Rr=pa(),Rr!==_e?(Ke.charCodeAt(wt)===123?(qr=yn,wt++):(qr=_e,sn===0&&vt($r)),qr!==_e?(Qn=wt,_n=Fo(Er),_n?_n=void 0:_n=_e,_n!==_e?(Qi=xn(),Qi!==_e?(Ke.charCodeAt(wt)===125?(ui=kn,wt++):(ui=_e,sn===0&&vt(si)),ui!==_e?(Qn=We,jt=Js(Er,Qi),We=jt):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e)):(wt=We,We=_e),We}function so(){var We,jt;return sn++,Gu.test(Ke.charAt(wt))?(We=Ke.charAt(wt),wt++):(We=_e,sn===0&&vt(No)),sn--,We===_e&&(jt=_e,sn===0&&vt(Bo)),We}function xs(){var We,jt;return sn++,Uu.test(Ke.charAt(wt))?(We=Ke.charAt(wt),wt++):(We=_e,sn===0&&vt(iu)),sn--,We===_e&&(jt=_e,sn===0&&vt($o)),We}function pa(){var We,jt,Er;for(sn++,We=wt,jt=[],Er=so();Er!==_e;)jt.push(Er),Er=so();return jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(gu)),We}function Ms(){var We,jt,Er;return sn++,We=wt,Ke.charCodeAt(wt)===45?(jt=_u,wt++):(jt=_e,sn===0&&vt(Ko)),jt===_e&&(jt=null),jt!==_e?(Er=Vt(),Er!==_e?(Qn=We,jt=rr(jt,Er),We=jt):(wt=We,We=_e)):(wt=We,We=_e),sn--,We===_e&&(jt=_e,sn===0&&vt(jo)),We}function Uo(){var We,jt;return sn++,Ke.charCodeAt(wt)===39?(We=Xi,wt++):(We=_e,sn===0&&vt(Ka)),sn--,We===_e&&(jt=_e,sn===0&&vt(_r)),We}function eo(){var We,jt;return sn++,We=wt,Ke.substr(wt,2)===gr?(jt=gr,wt+=2):(jt=_e,sn===0&&vt(Cr)),jt!==_e&&(Qn=We,jt=bn()),We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(dr)),We}function Ga(){var We,jt,Er,Rr,qr,_n;if(We=wt,Ke.charCodeAt(wt)===39?(jt=Xi,wt++):(jt=_e,sn===0&&vt(Ka)),jt!==_e)if(Er=co(),Er!==_e){for(Rr=wt,qr=[],Ke.substr(wt,2)===gr?(_n=gr,wt+=2):(_n=_e,sn===0&&vt(Cr)),_n===_e&&(Ni.test(Ke.charAt(wt))?(_n=Ke.charAt(wt),wt++):(_n=_e,sn===0&&vt(Ds)));_n!==_e;)qr.push(_n),Ke.substr(wt,2)===gr?(_n=gr,wt+=2):(_n=_e,sn===0&&vt(Cr)),_n===_e&&(Ni.test(Ke.charAt(wt))?(_n=Ke.charAt(wt),wt++):(_n=_e,sn===0&&vt(Ds)));qr!==_e?Rr=Ke.substring(Rr,wt):Rr=qr,Rr!==_e?(Ke.charCodeAt(wt)===39?(qr=Xi,wt++):(qr=_e,sn===0&&vt(Ka)),qr===_e&&(qr=null),qr!==_e?(Qn=We,jt=Zn(Er,Rr),We=jt):(wt=We,We=_e)):(wt=We,We=_e)}else wt=We,We=_e;else wt=We,We=_e;return We}function us(){var We,jt,Er,Rr;return We=wt,jt=wt,Ke.length>wt?(Er=Ke.charAt(wt),wt++):(Er=_e,sn===0&&vt(Ns)),Er!==_e?(Qn=wt,Rr=Ln(Er),Rr?Rr=void 0:Rr=_e,Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)):(wt=jt,jt=_e),jt===_e&&(Ke.charCodeAt(wt)===10?(jt=Wn,wt++):(jt=_e,sn===0&&vt(ai))),jt!==_e?We=Ke.substring(We,wt):We=jt,We}function co(){var We,jt,Er,Rr;return We=wt,jt=wt,Ke.length>wt?(Er=Ke.charAt(wt),wt++):(Er=_e,sn===0&&vt(Ns)),Er!==_e?(Qn=wt,Rr=qn(Er),Rr?Rr=void 0:Rr=_e,Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)):(wt=jt,jt=_e),jt!==_e?We=Ke.substring(We,wt):We=jt,We}function Va(){var We,jt;return sn++,We=wt,jt=Vt(),jt===_e&&(jt=kt()),jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(mr)),We}function Vt(){var We,jt,Er,Rr,qr;if(sn++,We=wt,Ke.charCodeAt(wt)===48?(jt=Br,wt++):(jt=_e,sn===0&&vt(Cn)),jt!==_e&&(Qn=We,jt=Pn()),We=jt,We===_e){if(We=wt,jt=wt,oi.test(Ke.charAt(wt))?(Er=Ke.charAt(wt),wt++):(Er=_e,sn===0&&vt(Ei)),Er!==_e){for(Rr=[],Gn.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(ta));qr!==_e;)Rr.push(qr),Gn.test(Ke.charAt(wt))?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(ta));Rr!==_e?(Er=[Er,Rr],jt=Er):(wt=jt,jt=_e)}else wt=jt,jt=_e;jt!==_e&&(Qn=We,jt=ra(jt)),We=jt}return sn--,We===_e&&(jt=_e,sn===0&&vt(Fr)),We}function kt(){var We,jt,Er,Rr,qr;if(sn++,We=wt,jt=[],Er=wt,Rr=wt,sn++,qr=so(),qr===_e&&(qr=xs()),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e),Er!==_e)for(;Er!==_e;)jt.push(Er),Er=wt,Rr=wt,sn++,qr=so(),qr===_e&&(qr=xs()),sn--,qr===_e?Rr=void 0:(wt=Rr,Rr=_e),Rr!==_e?(Ke.length>wt?(qr=Ke.charAt(wt),wt++):(qr=_e,sn===0&&vt(Ns)),qr!==_e?(Rr=[Rr,qr],Er=Rr):(wt=Er,Er=_e)):(wt=Er,Er=_e);else jt=_e;return jt!==_e?We=Ke.substring(We,wt):We=jt,sn--,We===_e&&(jt=_e,sn===0&&vt(_i)),We}var Ia=["root"];function Ws(){return Ia.length>1}function vn(){return Ia[Ia.length-1]==="plural"}function wn(){return ct&&ct.captureLocation?{location:Rs()}:{}}if(Do=nr(),Do!==_e&&wt===Ke.length)return Do;throw Do!==_e&&wt1)throw new RangeError("Fraction-precision stems only accept a single optional option");nr.stem.replace(je,function(Gr,Wr,hn){return Gr==="."?ct.maximumFractionDigits=0:hn==="+"?ct.minimumFractionDigits=hn.length:Wr[0]==="#"?ct.maximumFractionDigits=Wr.length:(ct.minimumFractionDigits=Wr.length,ct.maximumFractionDigits=Wr.length+(typeof hn=="string"?hn.length:0)),""}),nr.options.length&&(ct=me(me({},ct),ht(nr.options[0])));continue}if(Dt.test(nr.stem)){ct=me(me({},ct),ht(nr.stem));continue}var kr=Pt(nr.stem);kr&&(ct=me(me({},ct),kr))}return ct}var ar=function(){var Ke=function(ct,_e){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(sr,nr){sr.__proto__=nr}||function(sr,nr){for(var kr in nr)nr.hasOwnProperty(kr)&&(sr[kr]=nr[kr])},Ke(ct,_e)};return function(ct,_e){Ke(ct,_e);function sr(){this.constructor=ct}ct.prototype=_e===null?Object.create(_e):(sr.prototype=_e.prototype,new sr)}}(),Ue=function(){for(var Ke=0,ct=0,_e=arguments.length;ct<_e;ct++)Ke+=arguments[ct].length;for(var sr=Array(Ke),nr=0,ct=0;ct<_e;ct++)for(var kr=arguments[ct],Gr=0,Wr=kr.length;Gr(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Qe=Date.now()+"@@",ut=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function pt(Ke,ct,_e){var sr=Ke.tagName,nr=Ke.outerHTML,kr=Ke.textContent,Gr=Ke.childNodes;if(!sr)return $e(kr||"",ct);sr=sr.toLowerCase();var Wr=~ut.indexOf(sr),hn=_e[sr];if(hn&&Wr)throw new _t(sr+" is a self-closing tag and can not be used, please use another tag name.");if(!Gr.length)return[nr];var Si=Array.prototype.slice.call(Gr).reduce(function(un,yn){return un.concat(pt(yn,ct,_e))},[]);return hn?typeof hn=="function"?[hn.apply(void 0,Si)]:[hn]:Ue(["<"+sr+">"],Si,[""])}function or(Ke,ct,_e,sr,nr,kr){var Gr=et(Ke,ct,_e,sr,nr,void 0,kr),Wr={},hn=Gr.reduce(function($r,kn){if(kn.type===0)return $r+=kn.value;var si=ke();return Wr[si]=kn.value,$r+=""+qe+si+qe},"");if(!He.test(hn))return $e(hn,Wr);if(!nr)throw new _t("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new _t("Cannot format XML message without DOMParser");ot||(ot=new DOMParser);var Si=ot.parseFromString(''+hn+"","text/html").getElementById(Qe);if(!Si)throw new _t("Malformed HTML message "+hn);var un=Object.keys(nr).filter(function($r){return!!Si.getElementsByTagName($r).length});if(!un.length)return $e(hn,Wr);var yn=un.filter(function($r){return $r!==$r.toLowerCase()});if(yn.length)throw new _t("HTML tag must be lowercased but the following tags are not: "+yn.join(", "));return Array.prototype.slice.call(Si.childNodes).reduce(function($r,kn){return $r.concat(pt(kn,Wr,nr))},[])}var tr=function(){return tr=Object.assign||function(Ke){for(var ct,_e=1,sr=arguments.length;_e<"']/g;function ce(Ke){return(""+Ke).replace(Te,ct=>Ht[ct.charCodeAt(0)])}function pe(Ke,ct,_e={}){return ct.reduce((sr,nr)=>(nr in Ke?sr[nr]=Ke[nr]:nr in _e&&(sr[nr]=_e[nr]),sr),{})}function Tt(Ke){lr(Ke,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function Ae(Ke,ct){const _e=ct?` ${ct.stack}`:"";return`[React Intl] ${Ke}${_e}`}function st(Ke){}const $t={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:st};function bt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ce(Ke=bt()){const ct=Intl.RelativeTimeFormat,_e=Intl.ListFormat,sr=Intl.DisplayNames;return{getDateTimeFormat:ie(Intl.DateTimeFormat,Ke.dateTime),getNumberFormat:ie(Intl.NumberFormat,Ke.number),getMessageFormat:ie(Gt,Ke.message),getRelativeTimeFormat:ie(ct,Ke.relativeTime),getPluralRules:ie(Intl.PluralRules,Ke.pluralRules),getListFormat:ie(_e,Ke.list),getDisplayNames:ie(sr,Ke.displayNames)}}function yt(Ke,ct,_e,sr){const nr=Ke&&Ke[ct];let kr;if(nr&&(kr=nr[_e]),kr)return kr;sr(Ae(`No ${ct} format named: ${_e}`))}const ze=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function xe({locale:Ke,formats:ct,onError:_e},sr,nr={}){const{format:kr}=nr,Gr=kr&&yt(ct,"number",kr,_e)||{},Wr=pe(nr,ze,Gr);return sr(Ke,Wr)}function dt(Ke,ct,_e,sr={}){try{return xe(Ke,ct,sr).format(_e)}catch(nr){Ke.onError(Ae("Error formatting number.",nr))}return String(_e)}function It(Ke,ct,_e,sr={}){try{return xe(Ke,ct,sr).formatToParts(_e)}catch(nr){Ke.onError(Ae("Error formatting number.",nr))}return[]}const Be=["numeric","style"];function Or({locale:Ke,formats:ct,onError:_e},sr,nr={}){const{format:kr}=nr,Gr=!!kr&&yt(ct,"relative",kr,_e)||{},Wr=pe(nr,Be,Gr);return sr(Ke,Wr)}function mt(Ke,ct,_e,sr,nr={}){sr||(sr="second"),Intl.RelativeTimeFormat||Ke.onError(Ae(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`));try{return Or(Ke,ct,nr).format(_e,sr)}catch(Gr){Ke.onError(Ae("Error formatting relative time.",Gr))}return String(_e)}const Jr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function an({locale:Ke,formats:ct,onError:_e,timeZone:sr},nr,kr,Gr={}){const{format:Wr}=Gr,hn=Object.assign(Object.assign({},sr&&{timeZone:sr}),Wr&&yt(ct,nr,Wr,_e));let Si=pe(Gr,Jr,hn);return nr==="time"&&!Si.hour&&!Si.minute&&!Si.second&&(Si=Object.assign(Object.assign({},Si),{hour:"numeric",minute:"numeric"})),kr(Ke,Si)}function Nt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"date",ct,sr).format(nr)}catch(kr){Ke.onError(Ae("Error formatting date.",kr))}return String(nr)}function Jt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"time",ct,sr).format(nr)}catch(kr){Ke.onError(Ae("Error formatting time.",kr))}return String(nr)}function Lt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"date",ct,sr).formatToParts(nr)}catch(kr){Ke.onError(Ae("Error formatting date.",kr))}return[]}function Qt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"time",ct,sr).formatToParts(nr)}catch(kr){Ke.onError(Ae("Error formatting time.",kr))}return[]}const wr=["localeMatcher","type"];function Ir({locale:Ke,onError:ct},_e,sr,nr={}){Intl.PluralRules||ct(Ae(`Intl.PluralRules is not available in this environment. +`));try{return Or(Ke,ct,nr).format(_e,sr)}catch(Gr){Ke.onError(Ae("Error formatting relative time.",Gr))}return String(_e)}const Jr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function an({locale:Ke,formats:ct,onError:_e,timeZone:sr},nr,kr,Gr={}){const{format:Wr}=Gr,hn=Object.assign(Object.assign({},sr&&{timeZone:sr}),Wr&&yt(ct,nr,Wr,_e));let Si=pe(Gr,Jr,hn);return nr==="time"&&!Si.hour&&!Si.minute&&!Si.second&&(Si=Object.assign(Object.assign({},Si),{hour:"numeric",minute:"numeric"})),kr(Ke,Si)}function Nt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"date",ct,sr).format(nr)}catch(kr){Ke.onError(Ae("Error formatting date.",kr))}return String(nr)}function Jt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"time",ct,sr).format(nr)}catch(kr){Ke.onError(Ae("Error formatting time.",kr))}return String(nr)}function Lt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"date",ct,sr).formatToParts(nr)}catch(kr){Ke.onError(Ae("Error formatting date.",kr))}return[]}function Xt(Ke,ct,_e,sr={}){const nr=typeof _e=="string"?new Date(_e||0):_e;try{return an(Ke,"time",ct,sr).formatToParts(nr)}catch(kr){Ke.onError(Ae("Error formatting time.",kr))}return[]}const wr=["localeMatcher","type"];function Ir({locale:Ke,onError:ct},_e,sr,nr={}){Intl.PluralRules||ct(Ae(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" `));const kr=pe(nr,wr);try{return _e(Ke,kr).select(sr)}catch(Gr){ct(Ae("Error formatting plural.",Gr))}return"other"}function At(Ke,ct){return Object.keys(Ke).reduce((_e,sr)=>(_e[sr]=Object.assign({timeZone:ct},Ke[sr]),_e),{})}function Kt(Ke,ct){return Object.keys(Object.assign(Object.assign({},Ke),ct)).reduce((sr,nr)=>(sr[nr]=Object.assign(Object.assign({},Ke[nr]||{}),ct[nr]||{}),sr),{})}function Bt(Ke,ct){if(!ct)return Ke;const _e=Gt.formats;return Object.assign(Object.assign(Object.assign({},_e),Ke),{date:Kt(At(_e.date,ct),At(Ke.date||{},ct)),time:Kt(At(_e.time,ct),At(Ke.time||{},ct))})}const qt=Ke=>r.createElement(r.Fragment,null,...Ke);function br({locale:Ke,formats:ct,messages:_e,defaultLocale:sr,defaultFormats:nr,onError:kr,timeZone:Gr},Wr,hn={id:""},Si={}){const{id:un,defaultMessage:yn}=hn;lr(!!un,"[React Intl] An `id` must be provided to format a message.");const $r=_e&&_e[String(un)];ct=Bt(ct,Gr),nr=Bt(nr,Gr);let kn=[];if($r)try{kn=Wr.getMessageFormat($r,Ke,ct,{formatters:Wr}).formatHTMLMessage(Si)}catch(si){kr(Ae(`Error formatting message: "${un}" for locale: "${Ke}"`+(yn?", using default message as fallback.":""),si))}else(!yn||Ke&&Ke.toLowerCase()!==sr.toLowerCase())&&kr(Ae(`Missing message: "${un}" for locale: "${Ke}"`+(yn?", using default message as fallback.":"")));if(!kn.length&&yn)try{kn=Wr.getMessageFormat(yn,sr,nr).formatHTMLMessage(Si)}catch(si){kr(Ae(`Error formatting the default message for: "${un}"`,si))}return kn.length?kn.length===1&&typeof kn[0]=="string"?kn[0]||yn||String(un):qt(kn):(kr(Ae(`Cannot format message: "${un}", using message ${$r||yn?"source":"id"} as fallback.`)),typeof $r=="string"?$r||yn||String(un):yn||String(un))}function Qr(Ke,ct,_e={id:""},sr={}){const nr=Object.keys(sr).reduce((kr,Gr)=>{const Wr=sr[Gr];return kr[Gr]=typeof Wr=="string"?ce(Wr):Wr,kr},{});return br(Ke,ct,_e,nr)}var Hr=e(18947),jn=e.n(Hr);const En=["localeMatcher","type","style"],Yn=Date.now();function St(Ke){return`${Yn}_${Ke}_${Yn}`}function Vr({locale:Ke,onError:ct},_e,sr,nr={}){Intl.ListFormat||ct(Ae(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" `));const Gr=pe(nr,En);try{const Wr={},hn=sr.map((un,yn)=>{if(typeof un=="object"){const $r=St(yn);return Wr[$r]=un,$r}return String(un)});return Object.keys(Wr).length?_e(Ke,Gr).formatToParts(hn).reduce((un,yn)=>{const $r=yn.value;return Wr[$r]?un.push(Wr[$r]):typeof un[un.length-1]=="string"?un[un.length-1]+=$r:un.push($r),un},[]):_e(Ke,Gr).format(hn)}catch(Wr){ct(Ae("Error formatting list.",Wr))}return sr}const ii=["localeMatcher","style","type","fallback"];function Bi({locale:Ke,onError:ct},_e,sr,nr={}){Intl.DisplayNames||ct(Ae(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`));const Gr=pe(nr,ii);try{return _e(Ke,Gr).of(sr)}catch(Wr){ct(Ae("Error formatting display name.",Wr))}}const $n=jn()||Hr;function ci(Ke){return{locale:Ke.locale,timeZone:Ke.timeZone,formats:Ke.formats,textComponent:Ke.textComponent,messages:Ke.messages,defaultLocale:Ke.defaultLocale,defaultFormats:Ke.defaultFormats,onError:Ke.onError}}function Oi(Ke,ct){const _e=Ce(ct),sr=Object.assign(Object.assign({},$t),Ke),{locale:nr,defaultLocale:kr,onError:Gr}=sr;return nr?!Intl.NumberFormat.supportedLocalesOf(nr).length&&Gr?Gr(Ae(`Missing locale data for locale: "${nr}" in Intl.NumberFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(nr).length&&Gr&&Gr(Ae(`Missing locale data for locale: "${nr}" in Intl.DateTimeFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Gr&&Gr(Ae(`"locale" was not configured, using "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),sr.locale=sr.defaultLocale||"en"),Object.assign(Object.assign({},sr),{formatters:_e,formatNumber:dt.bind(null,sr,_e.getNumberFormat),formatNumberToParts:It.bind(null,sr,_e.getNumberFormat),formatRelativeTime:mt.bind(null,sr,_e.getRelativeTimeFormat),formatDate:Nt.bind(null,sr,_e.getDateTimeFormat),formatDateToParts:Lt.bind(null,sr,_e.getDateTimeFormat),formatTime:Jt.bind(null,sr,_e.getDateTimeFormat),formatTimeToParts:Qt.bind(null,sr,_e.getDateTimeFormat),formatPlural:Ir.bind(null,sr,_e.getPluralRules),formatMessage:br.bind(null,sr,_e),formatHTMLMessage:Qr.bind(null,sr,_e),formatList:Vr.bind(null,sr,_e.getListFormat),formatDisplayName:Bi.bind(null,sr,_e.getDisplayNames)})}class zi extends r.PureComponent{constructor(){super(...arguments),this.cache=bt(),this.state={cache:this.cache,intl:Oi(ci(this.props),this.cache),prevConfig:ci(this.props)}}static getDerivedStateFromProps(ct,{prevConfig:_e,cache:sr}){const nr=ci(ct);return $n(_e,nr)?null:{intl:Oi(nr,sr),prevConfig:nr}}render(){return Tt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}zi.displayName="IntlProvider",zi.defaultProps=$t;var Ai=e(7240),ji=e(3424),ha=e.n(ji),ea=e(85239),Yi=e.n(ea),mi=e(31724),Zi={table:{submit:"\u63D0\u4EA4\u8868\u5355"}},Ta=Object.defineProperty,xt=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,vi=(Ke,ct,_e)=>ct in Ke?Ta(Ke,ct,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ke[ct]=_e,Da=(Ke,ct)=>{for(var _e in ct||(ct={}))xa.call(ct,_e)&&vi(Ke,_e,ct[_e]);if(xt)for(var _e of xt(ct))Wi.call(ct,_e)&&vi(Ke,_e,ct[_e]);return Ke},Gi=(Ke,ct)=>{var _e={};for(var sr in Ke)xa.call(Ke,sr)&&ct.indexOf(sr)<0&&(_e[sr]=Ke[sr]);if(Ke!=null&&xt)for(var sr of xt(Ke))ct.indexOf(sr)<0&&Wi.call(Ke,sr)&&(_e[sr]=Ke[sr]);return _e};let ei;const zn=!0,we=new(ha()),nt=Symbol("LANG_CHANGE"),Je=(Ke,ct="")=>Object.keys(Ke).reduce((_e,sr)=>{const nr=Ke[sr],kr=ct?`${ct}.${sr}`:sr;return typeof nr=="string"?_e[kr]=nr:Object.assign(_e,Je(nr,kr)),_e},{}),Ct={"en-US":{messages:Da({},Je(Zi)),locale:"en-US",antd:Da({},mi.Z),momentLocale:"en"}},lt=(Ke,ct,_e)=>{var sr,nr,kr,Gr;if(!Ke)return;const Wr=(sr=Ct[Ke])!=null&&sr.messages?Object.assign({},Ct[Ke].messages,ct):ct,{momentLocale:hn=(nr=Ct[Ke])==null?void 0:nr.momentLocale,antd:Si=(kr=Ct[Ke])==null?void 0:kr.antd}=_e||{},un=(Gr=Ke.split("-"))==null?void 0:Gr.join("-");Ct[Ke]={messages:Wr,locale:un,momentLocale:hn,antd:Si},un===en()&&we.emit(nt,un)},hr=Ke=>(0,Ai.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ke}),pr=Ke=>{const _e=hr(Ct[Ke]),{cache:sr}=_e,nr=Gi(_e,["cache"]);return Oi(nr,sr)},Tr=(Ke,ct)=>ei&&!ct&&!Ke?ei:(Ke||(Ke=en()),Ke&&Ct[Ke]?pr(Ke):(Yi()(!Ke||!!Ct[Ke],"The current popular language does not exist, please check the locales folder!"),Ct["zh-CN"]?pr("zh-CN"):Oi({locale:"zh-CN",messages:{}}))),zr=Ke=>{ei=Tr(Ke,!0)},en=()=>{const Ke=hr({});return typeof(Ke==null?void 0:Ke.getLocale)=="function"?Ke.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&zn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},Nr=()=>{const Ke=en();return["he","ar","fa","ku"].filter(sr=>Ke.startsWith(sr)).length?"rtl":"ltr"},An=(Ke,ct=!0)=>{(()=>{if(en()!==Ke){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&zn&&window.localStorage.setItem("umi_locale",Ke||""),zr(Ke),ct)window.location.reload();else if(we.emit(nt,Ke),window.dispatchEvent){const sr=new Event("languagechange");window.dispatchEvent(sr)}}})()};let vr=!0;const Fn=(Ke,ct)=>(vr&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. +`));const Gr=pe(nr,ii);try{return _e(Ke,Gr).of(sr)}catch(Wr){ct(Ae("Error formatting display name.",Wr))}}const $n=jn()||Hr;function ci(Ke){return{locale:Ke.locale,timeZone:Ke.timeZone,formats:Ke.formats,textComponent:Ke.textComponent,messages:Ke.messages,defaultLocale:Ke.defaultLocale,defaultFormats:Ke.defaultFormats,onError:Ke.onError}}function Oi(Ke,ct){const _e=Ce(ct),sr=Object.assign(Object.assign({},$t),Ke),{locale:nr,defaultLocale:kr,onError:Gr}=sr;return nr?!Intl.NumberFormat.supportedLocalesOf(nr).length&&Gr?Gr(Ae(`Missing locale data for locale: "${nr}" in Intl.NumberFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(nr).length&&Gr&&Gr(Ae(`Missing locale data for locale: "${nr}" in Intl.DateTimeFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Gr&&Gr(Ae(`"locale" was not configured, using "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),sr.locale=sr.defaultLocale||"en"),Object.assign(Object.assign({},sr),{formatters:_e,formatNumber:dt.bind(null,sr,_e.getNumberFormat),formatNumberToParts:It.bind(null,sr,_e.getNumberFormat),formatRelativeTime:mt.bind(null,sr,_e.getRelativeTimeFormat),formatDate:Nt.bind(null,sr,_e.getDateTimeFormat),formatDateToParts:Lt.bind(null,sr,_e.getDateTimeFormat),formatTime:Jt.bind(null,sr,_e.getDateTimeFormat),formatTimeToParts:Xt.bind(null,sr,_e.getDateTimeFormat),formatPlural:Ir.bind(null,sr,_e.getPluralRules),formatMessage:br.bind(null,sr,_e),formatHTMLMessage:Qr.bind(null,sr,_e),formatList:Vr.bind(null,sr,_e.getListFormat),formatDisplayName:Bi.bind(null,sr,_e.getDisplayNames)})}class zi extends r.PureComponent{constructor(){super(...arguments),this.cache=bt(),this.state={cache:this.cache,intl:Oi(ci(this.props),this.cache),prevConfig:ci(this.props)}}static getDerivedStateFromProps(ct,{prevConfig:_e,cache:sr}){const nr=ci(ct);return $n(_e,nr)?null:{intl:Oi(nr,sr),prevConfig:nr}}render(){return Tt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}zi.displayName="IntlProvider",zi.defaultProps=$t;var Ai=e(7240),ji=e(3424),ha=e.n(ji),ea=e(85239),Yi=e.n(ea),mi=e(31724),Zi={table:{submit:"\u63D0\u4EA4\u8868\u5355"}},Ta=Object.defineProperty,xt=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,vi=(Ke,ct,_e)=>ct in Ke?Ta(Ke,ct,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ke[ct]=_e,Da=(Ke,ct)=>{for(var _e in ct||(ct={}))xa.call(ct,_e)&&vi(Ke,_e,ct[_e]);if(xt)for(var _e of xt(ct))Wi.call(ct,_e)&&vi(Ke,_e,ct[_e]);return Ke},Gi=(Ke,ct)=>{var _e={};for(var sr in Ke)xa.call(Ke,sr)&&ct.indexOf(sr)<0&&(_e[sr]=Ke[sr]);if(Ke!=null&&xt)for(var sr of xt(Ke))ct.indexOf(sr)<0&&Wi.call(Ke,sr)&&(_e[sr]=Ke[sr]);return _e};let ei;const zn=!0,we=new(ha()),nt=Symbol("LANG_CHANGE"),Je=(Ke,ct="")=>Object.keys(Ke).reduce((_e,sr)=>{const nr=Ke[sr],kr=ct?`${ct}.${sr}`:sr;return typeof nr=="string"?_e[kr]=nr:Object.assign(_e,Je(nr,kr)),_e},{}),Ct={"en-US":{messages:Da({},Je(Zi)),locale:"en-US",antd:Da({},mi.Z),momentLocale:"en"}},lt=(Ke,ct,_e)=>{var sr,nr,kr,Gr;if(!Ke)return;const Wr=(sr=Ct[Ke])!=null&&sr.messages?Object.assign({},Ct[Ke].messages,ct):ct,{momentLocale:hn=(nr=Ct[Ke])==null?void 0:nr.momentLocale,antd:Si=(kr=Ct[Ke])==null?void 0:kr.antd}=_e||{},un=(Gr=Ke.split("-"))==null?void 0:Gr.join("-");Ct[Ke]={messages:Wr,locale:un,momentLocale:hn,antd:Si},un===en()&&we.emit(nt,un)},hr=Ke=>(0,Ai.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ke}),pr=Ke=>{const _e=hr(Ct[Ke]),{cache:sr}=_e,nr=Gi(_e,["cache"]);return Oi(nr,sr)},Tr=(Ke,ct)=>ei&&!ct&&!Ke?ei:(Ke||(Ke=en()),Ke&&Ct[Ke]?pr(Ke):(Yi()(!Ke||!!Ct[Ke],"The current popular language does not exist, please check the locales folder!"),Ct["zh-CN"]?pr("zh-CN"):Oi({locale:"zh-CN",messages:{}}))),zr=Ke=>{ei=Tr(Ke,!0)},en=()=>{const Ke=hr({});return typeof(Ke==null?void 0:Ke.getLocale)=="function"?Ke.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&zn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},Nr=()=>{const Ke=en();return["he","ar","fa","ku"].filter(sr=>Ke.startsWith(sr)).length?"rtl":"ltr"},An=(Ke,ct=!0)=>{(()=>{if(en()!==Ke){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&zn&&window.localStorage.setItem("umi_locale",Ke||""),zr(Ke),ct)window.location.reload();else if(we.emit(nt,Ke),window.dispatchEvent){const sr=new Event("languagechange");window.dispatchEvent(sr)}}})()};let vr=!0;const Fn=(Ke,ct)=>(vr&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 http://j.mp/37Fkd5Q - `),vr=!1),ei||zr(en()),ei.formatMessage(Ke,ct)),Xn=()=>Object.keys(Ct)},27158:function(d,g,e){"use strict";e.d(g,{y:function(){return o}});var r=e(43418),i=e(95237),l=e(43604),c=e(46801),f=e(59301);const o=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const m=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const H=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>H.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const G=p.filter(H=>(0,c.t)(H));return!G||!G.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(G.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,I,M,,B,...N]=b,K=["rtp","rtpc"];if(console.log("event:",y),p.some(G=>G==I)||p.push(I),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+K[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+I),console.log(" port: "+M),console.log(" type: "+B),N.length){console.log("attributes: ");for(let G=0;G "+N[G]+": "+N[G+1])}}})},2524:function(d,g,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=e(65582),f=e(2337),o=Object.defineProperty,h=Object.defineProperties,u=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,y=(k,R,A)=>R in k?o(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,m=(k,R)=>{for(var A in R||(R={}))x.call(R,A)&&y(k,A,R[A]);if(a)for(var A of a(R))p.call(R,A)&&y(k,A,R[A]);return k},b=(k,R)=>h(k,u(R));const S=({img:k,buttonProps:R={},styles:A={},customText:I,ButtonText:M,ButtonClick:B,Buttonclass:N,ButtonTwo:K,imgStyles:G,loading:H=!1,className:ae="",globalSetting:ne})=>{const oe=(0,r.useMemo)(()=>{var Q;if(k)return k;switch(Number((Q=ne==null?void 0:ne.setting)==null?void 0:Q.theme)){case f.Fy.THEMEONE:return e(56022);case f.Fy.THEMETWO:return e(58478);case f.Fy.THEMETHREE:return e(26551);case f.Fy.DEFAULT:default:return i}},[ne,k]),J=(0,r.useMemo)(()=>{var Q;switch(Number((Q=ne==null?void 0:ne.setting)==null?void 0:Q.theme)){case f.Fy.THEMETHREE:return"#03A092";case f.Fy.DEFAULT:default:return"#999"}},[ne]);return r.createElement("section",{className:`tc animated fadeIn ${ae}`,style:m({color:"#999",margin:"100px auto",visibility:H?"hidden":"visible"},A)},r.createElement("img",{src:oe,style:b(m({},G),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14",style:{color:J}},I||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),M&&r.createElement(l.ZP,m({className:N,onClick:B},R),M),K&&K)};g.Z=(0,c.connect)(({globalSetting:k})=>({globalSetting:k}))(S)},21185:function(d,g,e){"use strict";e.d(g,{Z:function(){return ae}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(54476),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},o=f,h=e(7657),u=function(oe,J){return r.createElement(h.Z,(0,c.Z)({},oe,{ref:J,icon:o}))},a=r.forwardRef(u),x=a,p=e(50258),y=e(6848),m=e(65862),b=e(87513),S=e(2524),k=e(74128),R=e(7310),A=e(59301),I=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,K=(ne,oe,J)=>oe in ne?I(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,G=(ne,oe)=>{for(var J in oe||(oe={}))B.call(oe,J)&&K(ne,J,oe[J]);if(M)for(var J of M(oe))N.call(oe,J)&&K(ne,J,oe[J]);return ne},H=(ne,oe,J)=>new Promise((Q,V)=>{var se=le=>{try{q(J.next(le))}catch(Z){V(Z)}},ee=le=>{try{q(J.throw(le))}catch(Z){V(Z)}},q=le=>le.done?Q(le.value):Promise.resolve(le.value).then(se,ee);q((J=J.apply(ne,oe)).next())}),ae=({editOffice:ne="view",data:oe,theme:J,type:Q,filename:V,monacoEditor:se,className:ee,style:q,close:le,onClose:Z,hasMask:j,disabledDownload:ie,onImgDimensions:me,showNodata:Se,recordInfo:Pe})=>{const[Ge,je]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Dt,ht]=(0,r.useState)(""),[Pt,Wt]=(0,r.useState)(),Rt=window.ENV==="build"?"/react/build":"",ar=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,_t=10*(1024*1024),Mt=(0,r.useRef)();oe!=null&&oe.startsWith("/api")&&Q!=="txt"&&(oe=k.Z.API_SERVER+oe);const et=Ne=>Ne.substring(Ne.lastIndexOf("/")+1).split(".").pop();V&&se&&(se.filename=V),(0,r.useEffect)(()=>{var Ne,ye;const ke=(ye=(Ne=document.cookie)==null?void 0:Ne.replace(/\s/g,""))==null?void 0:ye.split(";");ke==null||ke.map($e=>{let He=$e.split("=");He[0]==="_educoder_session"&&ht(He[1])})},[]),(0,r.useEffect)(()=>{Q==="office"&&(oe.indexOf("bigfilescdn.")>-1||oe.indexOf("bigfiles1")>-1?Wt({url:oe,fileType:et(oe),model:oe.indexOf("model=edit")?"edit":"view"}):ft())},[Q,oe]);const ft=()=>H(void 0,null,function*(){console.log("data:",oe);let Ne=oe;oe.startsWith("http")||(Ne=location.origin+Ne);let ye=new URL(Ne).pathname.split("/").pop();const ke=yield(0,b.gJ)({attachment_id:ye});ke.url=ar+ke.url,Wt(ke)}),ot=()=>{if(oe.startsWith("http")||oe.startsWith("blob:")){qe();return}(0,m.Nd)(V||"educoder",decodeURIComponent(oe))},qe=()=>{Pe&&(0,R.fc)({id:Pe==null?void 0:Pe.id,watch_type:1,course_id:Pe==null?void 0:Pe.course_id}),(0,m.Nd)(V||"educoder",decodeURIComponent(oe))};return console.log(oe,"data"),A.createElement("div",{style:G({},q||{}),className:`${j&&i.bgBlack} ${Q?i.wrp:"hide"}`},le&&A.createElement("div",{className:i.close,ref:Mt},!!me&&A.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Mt.current},A.createElement("span",{onClick:()=>{Z(),me()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!ie&&A.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Mt.current},A.createElement("span",{onClick:qe},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Mt.current},A.createElement("span",{className:"",onClick:Z},A.createElement("i",{className:"icon-guanbi1"})))),A.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${Q==="txt"?"show":"hide"}`},Q==="txt"&&A.createElement(A.Fragment,null,A.createElement(p.ZP,G({},se)))),Q==="audio"&&A.createElement("audio",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`,autoPlay:!0}),Q==="video"&&A.createElement(A.Fragment,null,(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?A.createElement("video",{controls:!0,src:`${oe}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${oe}`,autoPlay:!0})),Q==="office"&&Pt&&A.createElement("iframe",{src:`${Rt}/office.html?key=${Pt.key}&url=${btoa(Pt.url)}&callbackUrl=${ar+(Pt.callbackUrl||"")}&fileType=${Pt.fileType}&title=${Pt.title||""}&model=${ne}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!ie}`}),Q==="html"&&A.createElement("iframe",{src:oe+"&disposition=inline"}),Q==="pdf"&&A.createElement("iframe",{src:`${Rt}/js/pdfview/index.html?filename=${V||"educoder.pdf"}&url=${encodeURIComponent(oe)}&disabledDownload=${!!ie}`}),Q==="image"&&A.createElement("img",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`}),(Q==="other"||Q==="download")&&A.createElement(A.Fragment,null,Se?A.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:A.createElement(l.ZP,{icon:A.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ot,disabled:ie},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:ot,disabled:ie},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},6339:function(d,g,e){"use strict";e.d(g,{z:function(){return G},Z:function(){return H}});var r=e(59301),i=e(48850),l=e(49142),c=e(64018),f=e(17030),o=e(74128),h=e(65862),u=e(15342),a=e(1012),x=e(21185),p=e(59301),m=({html:ae})=>{const ne=(0,r.useRef)(null),oe=(0,r.useRef)(null),J=`.markdown-body p { + `),vr=!1),ei||zr(en()),ei.formatMessage(Ke,ct)),Xn=()=>Object.keys(Ct)},27158:function(d,g,e){"use strict";e.d(g,{y:function(){return o}});var r=e(43418),i=e(95237),l=e(43604),c=e(46801),f=e(59301);const o=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const m=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const H=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>H.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const G=p.filter(H=>(0,c.t)(H));return!G||!G.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(G.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,I,M,,B,...N]=b,K=["rtp","rtpc"];if(console.log("event:",y),p.some(G=>G==I)||p.push(I),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+K[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+I),console.log(" port: "+M),console.log(" type: "+B),N.length){console.log("attributes: ");for(let G=0;G "+N[G]+": "+N[G+1])}}})},2524:function(d,g,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=e(65582),f=e(2337),o=Object.defineProperty,h=Object.defineProperties,u=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,y=(k,R,A)=>R in k?o(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,m=(k,R)=>{for(var A in R||(R={}))x.call(R,A)&&y(k,A,R[A]);if(a)for(var A of a(R))p.call(R,A)&&y(k,A,R[A]);return k},b=(k,R)=>h(k,u(R));const S=({img:k,buttonProps:R={},styles:A={},customText:I,ButtonText:M,ButtonClick:B,Buttonclass:N,ButtonTwo:K,imgStyles:G,loading:H=!1,className:ae="",globalSetting:ne})=>{const oe=(0,r.useMemo)(()=>{var Q;if(k)return k;switch(Number((Q=ne==null?void 0:ne.setting)==null?void 0:Q.theme)){case f.Fy.THEMEONE:return e(56022);case f.Fy.THEMETWO:return e(58478);case f.Fy.THEMETHREE:return e(26551);case f.Fy.DEFAULT:default:return i}},[ne,k]),J=(0,r.useMemo)(()=>{var Q;switch(Number((Q=ne==null?void 0:ne.setting)==null?void 0:Q.theme)){case f.Fy.THEMETHREE:return"#03A092";case f.Fy.DEFAULT:default:return"#999"}},[ne]);return r.createElement("section",{className:`tc animated fadeIn ${ae}`,style:m({color:"#999",margin:"100px auto",visibility:H?"hidden":"visible"},A)},r.createElement("img",{src:oe,style:b(m({},G),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14",style:{color:J}},I||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),M&&r.createElement(l.ZP,m({className:N,onClick:B},R),M),K&&K)};g.Z=(0,c.connect)(({globalSetting:k})=>({globalSetting:k}))(S)},21185:function(d,g,e){"use strict";e.d(g,{Z:function(){return ae}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(54476),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},o=f,h=e(7657),u=function(oe,J){return r.createElement(h.Z,(0,c.Z)({},oe,{ref:J,icon:o}))},a=r.forwardRef(u),x=a,p=e(50258),y=e(6848),m=e(65862),b=e(87513),S=e(2524),k=e(74128),R=e(7310),A=e(59301),I=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,K=(ne,oe,J)=>oe in ne?I(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,G=(ne,oe)=>{for(var J in oe||(oe={}))B.call(oe,J)&&K(ne,J,oe[J]);if(M)for(var J of M(oe))N.call(oe,J)&&K(ne,J,oe[J]);return ne},H=(ne,oe,J)=>new Promise((Q,V)=>{var se=le=>{try{q(J.next(le))}catch(Z){V(Z)}},ee=le=>{try{q(J.throw(le))}catch(Z){V(Z)}},q=le=>le.done?Q(le.value):Promise.resolve(le.value).then(se,ee);q((J=J.apply(ne,oe)).next())}),ae=({editOffice:ne="view",data:oe,theme:J,type:Q,filename:V,monacoEditor:se,className:ee,style:q,close:le,onClose:Z,hasMask:U,disabledDownload:ie,onImgDimensions:me,showNodata:Se,recordInfo:Pe})=>{const[Ge,je]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Dt,ht]=(0,r.useState)(""),[Pt,Wt]=(0,r.useState)(),Rt=window.ENV==="build"?"/react/build":"",ar=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,_t=10*(1024*1024),Mt=(0,r.useRef)();oe!=null&&oe.startsWith("/api")&&Q!=="txt"&&(oe=k.Z.API_SERVER+oe);const et=Ne=>Ne.substring(Ne.lastIndexOf("/")+1).split(".").pop();V&&se&&(se.filename=V),(0,r.useEffect)(()=>{var Ne,ye;const ke=(ye=(Ne=document.cookie)==null?void 0:Ne.replace(/\s/g,""))==null?void 0:ye.split(";");ke==null||ke.map($e=>{let He=$e.split("=");He[0]==="_educoder_session"&&ht(He[1])})},[]),(0,r.useEffect)(()=>{Q==="office"&&(oe.indexOf("bigfilescdn.")>-1||oe.indexOf("bigfiles1")>-1?Wt({url:oe,fileType:et(oe),model:oe.indexOf("model=edit")?"edit":"view"}):ft())},[Q,oe]);const ft=()=>H(void 0,null,function*(){console.log("data:",oe);let Ne=oe;oe.startsWith("http")||(Ne=location.origin+Ne);let ye=new URL(Ne).pathname.split("/").pop();const ke=yield(0,b.gJ)({attachment_id:ye});ke.url=ar+ke.url,Wt(ke)}),ot=()=>{if(oe.startsWith("http")||oe.startsWith("blob:")){qe();return}(0,m.Nd)(V||"educoder",decodeURIComponent(oe))},qe=()=>{Pe&&(0,R.fc)({id:Pe==null?void 0:Pe.id,watch_type:1,course_id:Pe==null?void 0:Pe.course_id}),(0,m.Nd)(V||"educoder",decodeURIComponent(oe))};return console.log(oe,"data"),A.createElement("div",{style:G({},q||{}),className:`${U&&i.bgBlack} ${Q?i.wrp:"hide"}`},le&&A.createElement("div",{className:i.close,ref:Mt},!!me&&A.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Mt.current},A.createElement("span",{onClick:()=>{Z(),me()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!ie&&A.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Mt.current},A.createElement("span",{onClick:qe},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Mt.current},A.createElement("span",{className:"",onClick:Z},A.createElement("i",{className:"icon-guanbi1"})))),A.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${Q==="txt"?"show":"hide"}`},Q==="txt"&&A.createElement(A.Fragment,null,A.createElement(p.ZP,G({},se)))),Q==="audio"&&A.createElement("audio",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`,autoPlay:!0}),Q==="video"&&A.createElement(A.Fragment,null,(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?A.createElement("video",{controls:!0,src:`${oe}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${oe}`,autoPlay:!0})),Q==="office"&&Pt&&A.createElement("iframe",{src:`${Rt}/office.html?key=${Pt.key}&url=${btoa(Pt.url)}&callbackUrl=${ar+(Pt.callbackUrl||"")}&fileType=${Pt.fileType}&title=${Pt.title||""}&model=${ne}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!ie}`}),Q==="html"&&A.createElement("iframe",{src:oe+"&disposition=inline"}),Q==="pdf"&&A.createElement("iframe",{src:`${Rt}/js/pdfview/index.html?filename=${V||"educoder.pdf"}&url=${encodeURIComponent(oe)}&disabledDownload=${!!ie}`}),Q==="image"&&A.createElement("img",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`}),(Q==="other"||Q==="download")&&A.createElement(A.Fragment,null,Se?A.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:A.createElement(l.ZP,{icon:A.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ot,disabled:ie},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:ot,disabled:ie},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},6339:function(d,g,e){"use strict";e.d(g,{z:function(){return G},Z:function(){return H}});var r=e(59301),i=e(48850),l=e(49142),c=e(64018),f=e(16471),o=e(74128),h=e(65862),u=e(15342),a=e(1012),x=e(21185),p=e(59301),m=({html:ae})=>{const ne=(0,r.useRef)(null),oe=(0,r.useRef)(null),J=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; @@ -942,9 +942,9 @@ http://j.mp/37Fkd5Q .markdown-body pre { margin-top: 0; margin-bottom: 16px; - }`;return(0,r.useEffect)(()=>{const Q=ne.current.attachShadow({mode:"open"});oe.current=document.createElement("div"),oe.current.className="markdown-body",oe.current.innerHTML=ae,Q.appendChild(oe.current);const V=document.createElement("style");return V.textContent=J,Q.appendChild(V),()=>{Q.innerHTML=""}},[]),(0,r.useEffect)(()=>{oe.current&&(oe.current.innerHTML=ae)},[ae]),p.createElement("div",{ref:ne})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(ae,ne,oe)=>ne in ae?b(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ae[ne]=oe,I=(ae,ne)=>{for(var oe in ne||(ne={}))k.call(ne,oe)&&A(ae,oe,ne[oe]);if(S)for(var oe of S(ne))R.call(ne,oe)&&A(ae,oe,ne[oe]);return ae};const M="@\u2581\u2581@",B="@\u2581@",N=/]*>/g;function K(ae){let ne=document.createElement("div");return ne.innerHTML=ae,ne.childNodes.length===0?"":ne.childNodes[0].nodeValue}const G=(ae,ne)=>{ae=ae||"";const oe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Q=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,V=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ne?ae.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(oe,(se,ee,q,le,Z,j,ie)=>{const me=ee||le||j,Se=q||Z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+me+Se+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ae=ae.replace(V,(se,ee,q,le,Z,j,ie)=>{const me=ee||le||j,Se=q||Z||ie||"?";return o.Z.API_SERVER+"/attachments/download/"+me+Se+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(oe,(se,ee,q,le,Z,j,ie)=>{const me=ee||le||j,Se=q||Z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+me+Se+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(J,(se,ee,q,le,Z)=>{const j=ee||le,ie=q||Z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+j+ie+j+ie+"&t="+(0,h.Jn)(j,Date.now())}).replace(Q,(se,ee,q,le,Z)=>{const j=ee||le,ie=q||Z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+j+ie+j+ie+"&t="+(0,h.Jn)(j,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`),ae)};var H=({value:ae="",className:ne,showTextOnly:oe,showLines:J,style:Q={},stylesPrev:V={},highlightKeywords:se,showProgramFill:ee,isProgramFill:q,disabledFill:le=!1,programFillValue:Z,onFillChange:j=Se=>{},onFillBlur:ie=()=>{},onFillFocus:me=()=>{}})=>{let Se=String(ae);const[Pe,Ge]=(0,r.useState)(""),[je,Dt]=(0,r.useState)("office"),[ht,Pt]=(0,r.useState)([]),Wt=(0,r.useRef)("a"+(0,a.Z)()),Rt={},ar=(He,Qe,ut)=>{const pt=document.createElement(He===B?"input":"textarea");pt.style.width="100%",pt.style.height=He===B?"40px":"151px",pt.rows=5,pt.spellcheck=!1,pt.name="edu-program-fill",pt.placeholder="\u8BF7\u8F93\u5165",pt.dataset.id=Qe;const or=Object.keys(Rt).length;return Rt[or]=pt,`${pt.outerHTML}`};function Ue(He){return He=He.replace(/!\[.*?\]\(.*?\)/g,""),He=He.replace(/\[.*?\]\(.*?\)/g,""),He=He.replace(new RegExp("","gs"),""),He=He.replace(//g,""),He=He.replace(//g,""),He=He.replace(new RegExp(".*?<\\/video>","gs"),""),He=He.replace(new RegExp(".*?<\\/audio>","gs"),""),He=He.replace(new RegExp(".*?<\\/style>","gs"),""),He=He.replace(new RegExp(".*?<\\/script>","gs"),""),He}const _t=He=>He.replace(/([\s\S]+?)<\/style>/gim,function(Qe,ut){let pt=ut.replace(/(\n|\r)/g,"").split("}"),or=[];return pt.map(tr=>{tr!=""&&or.push(`.${Wt.current} ${tr}`)}),``}),Mt=(0,r.useMemo)(()=>{try{const pt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,or=/\"\/api\/attachments\/|\"\/attachments\/download\//g,tr=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Me=/\(\/attachments\/download\//g;Se=Se.replace(Me,"("+o.Z.API_SERVER+"/attachments/download/").replace(pt,"("+o.Z.API_SERVER+"/api/attachments/").replace(or,'"'+o.Z.API_SERVER+"/api/attachments/").replace(tr,'"'+o.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`)}catch(pt){}if(ee){let pt=-1;return Se=Se.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(or,tr,Me){var tt;return++pt,ar(or,pt,(tt=Z==null?void 0:Z[pt])==null?void 0:tt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${_t(Se||"")}
`}let He=_t(Se);He=(0,l.ZP)(He);const Qe=(0,l.ez)();Se.match(/\[TOC\]/)&&(He=He.replace("

[TOC]

",(0,l.Qv)()),(0,l.Iy)()),He=He.replace(/(__special_katext_id_\d+__)/g,(pt,or)=>{const{type:tr,expression:Me}=Qe[or];return(0,u.renderToString)(K(Me)||"",{displayMode:tr==="block",throwOnError:!1,output:"html"})}),He=He.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const ut=document.createElement("div");if(ut.innerHTML=He,oe)return ut.innerText;if(se){const pt=se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return qe(ut,pt),ut.innerHTML}return setTimeout(()=>ke(),500),ut.innerHTML},[Se,se]);(0,r.useEffect)(()=>{Ne.current&&Ne.current.querySelectorAll(["input","textarea"]).forEach(Qe=>{Qe.oninput=et,Qe.onblur=ft,Qe.onfocus=ot})},[ht]),(0,r.useEffect)(()=>{var He,Qe,ut,pt,or;if(Z!=null&&Z.length)try{const tr=Ne.current.querySelectorAll(".edu-program-fill-score"),Me=Ne.current.querySelectorAll('[name="edu-program-fill"]');for(const[tt,Yt]of Me.entries())Yt.value=((He=Z==null?void 0:Z[tt])==null?void 0:He.value)||"",((Qe=Z==null?void 0:Z[tt])==null?void 0:Qe.type)==="warning"?Yt.className="program-fill-warning":((ut=Z==null?void 0:Z[tt])==null?void 0:ut.type)==="success"?Yt.className="program-fill-success":Yt.className="";for(const[tt,Yt]of tr.entries())Yt.innerHTML=(pt=Z==null?void 0:Z[tt])!=null&&pt.score?`${(or=Z==null?void 0:Z[tt])==null?void 0:or.score}\u5206`:"";Pt(Z)}catch(tr){console.log(tr,"error")}},[Z]);const et=He=>{ht[He.target.dataset.id]=ht[He.target.dataset.id]||{},ht[He.target.dataset.id].value=He.target.value,Pt([...ht]),j(ht,He.target.dataset.id)},ft=He=>{ht[He.target.dataset.id]=ht[He.target.dataset.id]||{},ht[He.target.dataset.id].value=He.target.value,Pt([...ht]),ie(ht,He.target.dataset.id)},ot=He=>{ht[He.target.dataset.id]=ht[He.target.dataset.id]||{},ht[He.target.dataset.id].value=He.target.value,Pt([...ht]),me(ht,He.target.dataset.id)};function qe(He,Qe){return He.childNodes.forEach(ut=>{var pt;if(ut.childNodes.length>0)qe(ut,Qe);else if(ut.nodeName!=="IMG")if(ut.innerHTML)ut.innerHTML=(pt=ut.innerHTML)==null?void 0:pt.replace(new RegExp(Qe,"gi"),'$&');else{const or=document.createElement("span");or.innerHTML=ut.textContent.replace(new RegExp(Qe,"gi"),'$&'),ut.replaceWith(or)}})}const Ne=(0,r.useRef)();l.jb.WebkitLineClamp=J,J&&(Q=I(I({},Q),l.jb));function ye(He){let Qe=He.target;if(Qe.tagName.toUpperCase()==="A"){let ut=Qe.getAttribute("href");if(ut.indexOf("office")>-1)He.preventDefault(),Ge(ut),Dt("office");else if(ut.indexOf("application/pdf")>-1)He.preventDefault(),Ge(ut),Dt("pdf");else if(ut.indexOf("text/html")>-1)He.preventDefault(),Ge(ut),Dt("html");else if(ut.startsWith("#")){He.preventDefault();let pt=document.getElementById(ut.replace("#",""));pt&&pt.scrollIntoView(!0)}}}const ke=()=>{var He;const Qe=(He=Ne.current)==null?void 0:He.querySelectorAll("video");Qe==null||Qe.forEach(ut=>{if(ut.oncontextmenu=()=>!1,ut.src.indexOf(".m3u8")>-1&&!ut.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var pt=new f.ZP;pt.loadSource(ut.src),pt.attachMedia(ut)}}})};(0,r.useEffect)(()=>{if(Ne.current&&Mt&&Mt.match(N)&&window.PR.prettyPrint(),Ne.current)return Ne.current.addEventListener("click",ye),()=>{var He;(He=Ne.current)==null||He.removeEventListener("click",ye),(0,l.AL)(),(0,l.Iy)()}},[Mt,Ne.current,ye]),(0,r.useEffect)(()=>{var He;const Qe=ut=>{ut.preventDefault(),ut.clipboardData.setData("text",window.getSelection().toString())};return(He=Ne.current)==null||He.addEventListener("copy",Qe),()=>{var ut;(ut=Ne.current)==null||ut.removeEventListener("copy",Qe)}},[Ne.current]);const $e=He=>//i.test(He||"");return r.createElement(r.Fragment,null,oe&&r.createElement("div",{ref:Ne},Mt),!oe&&!$e(Mt)&&r.createElement("div",{ref:Ne,style:I({},Q),className:`${ne||""} ${le?"disabled-fill":""} markdown-body ${Wt.current}`,dangerouslySetInnerHTML:{__html:Mt}}),!oe&&$e(Mt)&&r.createElement(m,{html:Mt}),r.createElement(x.Z,{close:!0,data:Pe,type:Pe!=null&&Pe.length?je:"",style:I({},V),onClose:()=>Ge("")}))}},50258:function(d,g,e){"use strict";e.d(g,{SV:function(){return Pt},ZP:function(){return ht}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` + }`;return(0,r.useEffect)(()=>{const Q=ne.current.attachShadow({mode:"open"});oe.current=document.createElement("div"),oe.current.className="markdown-body",oe.current.innerHTML=ae,Q.appendChild(oe.current);const V=document.createElement("style");return V.textContent=J,Q.appendChild(V),()=>{Q.innerHTML=""}},[]),(0,r.useEffect)(()=>{oe.current&&(oe.current.innerHTML=ae)},[ae]),p.createElement("div",{ref:ne})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(ae,ne,oe)=>ne in ae?b(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ae[ne]=oe,I=(ae,ne)=>{for(var oe in ne||(ne={}))k.call(ne,oe)&&A(ae,oe,ne[oe]);if(S)for(var oe of S(ne))R.call(ne,oe)&&A(ae,oe,ne[oe]);return ae};const M="@\u2581\u2581@",B="@\u2581@",N=/]*>/g;function K(ae){let ne=document.createElement("div");return ne.innerHTML=ae,ne.childNodes.length===0?"":ne.childNodes[0].nodeValue}const G=(ae,ne)=>{ae=ae||"";const oe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Q=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,V=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ne?ae.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(oe,(se,ee,q,le,Z,U,ie)=>{const me=ee||le||U,Se=q||Z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+me+Se+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ae=ae.replace(V,(se,ee,q,le,Z,U,ie)=>{const me=ee||le||U,Se=q||Z||ie||"?";return o.Z.API_SERVER+"/attachments/download/"+me+Se+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(oe,(se,ee,q,le,Z,U,ie)=>{const me=ee||le||U,Se=q||Z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+me+Se+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(J,(se,ee,q,le,Z)=>{const U=ee||le,ie=q||Z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+U+ie+U+ie+"&t="+(0,h.Jn)(U,Date.now())}).replace(Q,(se,ee,q,le,Z)=>{const U=ee||le,ie=q||Z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+U+ie+U+ie+"&t="+(0,h.Jn)(U,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),ae)};var H=({value:ae="",className:ne,showTextOnly:oe,showLines:J,style:Q={},stylesPrev:V={},highlightKeywords:se,showProgramFill:ee,isProgramFill:q,disabledFill:le=!1,programFillValue:Z,onFillChange:U=Se=>{},onFillBlur:ie=()=>{},onFillFocus:me=()=>{}})=>{let Se=String(ae);const[Pe,Ge]=(0,r.useState)(""),[je,Dt]=(0,r.useState)("office"),[ht,Pt]=(0,r.useState)([]),Wt=(0,r.useRef)("a"+(0,a.Z)()),Rt={},ar=(He,Qe,ut)=>{const pt=document.createElement(He===B?"input":"textarea");pt.style.width="100%",pt.style.height=He===B?"40px":"151px",pt.rows=5,pt.spellcheck=!1,pt.name="edu-program-fill",pt.placeholder="\u8BF7\u8F93\u5165",pt.dataset.id=Qe;const or=Object.keys(Rt).length;return Rt[or]=pt,`${pt.outerHTML}`};function Ue(He){return He=He.replace(/!\[.*?\]\(.*?\)/g,""),He=He.replace(/\[.*?\]\(.*?\)/g,""),He=He.replace(new RegExp("","gs"),""),He=He.replace(//g,""),He=He.replace(//g,""),He=He.replace(new RegExp(".*?<\\/video>","gs"),""),He=He.replace(new RegExp(".*?<\\/audio>","gs"),""),He=He.replace(new RegExp(".*?<\\/style>","gs"),""),He=He.replace(new RegExp(".*?<\\/script>","gs"),""),He}const _t=He=>He.replace(/([\s\S]+?)<\/style>/gim,function(Qe,ut){let pt=ut.replace(/(\n|\r)/g,"").split("}"),or=[];return pt.map(tr=>{tr!=""&&or.push(`.${Wt.current} ${tr}`)}),``}),Mt=(0,r.useMemo)(()=>{try{const pt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,or=/\"\/api\/attachments\/|\"\/attachments\/download\//g,tr=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Me=/\(\/attachments\/download\//g;Se=Se.replace(Me,"("+o.Z.API_SERVER+"/attachments/download/").replace(pt,"("+o.Z.API_SERVER+"/api/attachments/").replace(or,'"'+o.Z.API_SERVER+"/api/attachments/").replace(tr,'"'+o.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`)}catch(pt){}if(ee){let pt=-1;return Se=Se.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(or,tr,Me){var tt;return++pt,ar(or,pt,(tt=Z==null?void 0:Z[pt])==null?void 0:tt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${_t(Se||"")}
`}let He=_t(Se);He=(0,l.ZP)(He);const Qe=(0,l.ez)();Se.match(/\[TOC\]/)&&(He=He.replace("

[TOC]

",(0,l.Qv)()),(0,l.Iy)()),He=He.replace(/(__special_katext_id_\d+__)/g,(pt,or)=>{const{type:tr,expression:Me}=Qe[or];return(0,u.renderToString)(K(Me)||"",{displayMode:tr==="block",throwOnError:!1,output:"html"})}),He=He.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const ut=document.createElement("div");if(ut.innerHTML=He,oe)return ut.innerText;if(se){const pt=se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return qe(ut,pt),ut.innerHTML}return setTimeout(()=>ke(),500),ut.innerHTML},[Se,se]);(0,r.useEffect)(()=>{Ne.current&&Ne.current.querySelectorAll(["input","textarea"]).forEach(Qe=>{Qe.oninput=et,Qe.onblur=ft,Qe.onfocus=ot})},[ht]),(0,r.useEffect)(()=>{var He,Qe,ut,pt,or;if(Z!=null&&Z.length)try{const tr=Ne.current.querySelectorAll(".edu-program-fill-score"),Me=Ne.current.querySelectorAll('[name="edu-program-fill"]');for(const[tt,Yt]of Me.entries())Yt.value=((He=Z==null?void 0:Z[tt])==null?void 0:He.value)||"",((Qe=Z==null?void 0:Z[tt])==null?void 0:Qe.type)==="warning"?Yt.className="program-fill-warning":((ut=Z==null?void 0:Z[tt])==null?void 0:ut.type)==="success"?Yt.className="program-fill-success":Yt.className="";for(const[tt,Yt]of tr.entries())Yt.innerHTML=(pt=Z==null?void 0:Z[tt])!=null&&pt.score?`${(or=Z==null?void 0:Z[tt])==null?void 0:or.score}\u5206`:"";Pt(Z)}catch(tr){console.log(tr,"error")}},[Z]);const et=He=>{ht[He.target.dataset.id]=ht[He.target.dataset.id]||{},ht[He.target.dataset.id].value=He.target.value,Pt([...ht]),U(ht,He.target.dataset.id)},ft=He=>{ht[He.target.dataset.id]=ht[He.target.dataset.id]||{},ht[He.target.dataset.id].value=He.target.value,Pt([...ht]),ie(ht,He.target.dataset.id)},ot=He=>{ht[He.target.dataset.id]=ht[He.target.dataset.id]||{},ht[He.target.dataset.id].value=He.target.value,Pt([...ht]),me(ht,He.target.dataset.id)};function qe(He,Qe){return He.childNodes.forEach(ut=>{var pt;if(ut.childNodes.length>0)qe(ut,Qe);else if(ut.nodeName!=="IMG")if(ut.innerHTML)ut.innerHTML=(pt=ut.innerHTML)==null?void 0:pt.replace(new RegExp(Qe,"gi"),'$&');else{const or=document.createElement("span");or.innerHTML=ut.textContent.replace(new RegExp(Qe,"gi"),'$&'),ut.replaceWith(or)}})}const Ne=(0,r.useRef)();l.jb.WebkitLineClamp=J,J&&(Q=I(I({},Q),l.jb));function ye(He){let Qe=He.target;if(Qe.tagName.toUpperCase()==="A"){let ut=Qe.getAttribute("href");if(ut.indexOf("office")>-1)He.preventDefault(),Ge(ut),Dt("office");else if(ut.indexOf("application/pdf")>-1)He.preventDefault(),Ge(ut),Dt("pdf");else if(ut.indexOf("text/html")>-1)He.preventDefault(),Ge(ut),Dt("html");else if(ut.startsWith("#")){He.preventDefault();let pt=document.getElementById(ut.replace("#",""));pt&&pt.scrollIntoView(!0)}}}const ke=()=>{var He;const Qe=(He=Ne.current)==null?void 0:He.querySelectorAll("video");Qe==null||Qe.forEach(ut=>{if(ut.oncontextmenu=()=>!1,ut.src.indexOf(".m3u8")>-1&&!ut.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var pt=new f.ZP;pt.loadSource(ut.src),pt.attachMedia(ut)}}})};(0,r.useEffect)(()=>{if(Ne.current&&Mt&&Mt.match(N)&&window.PR.prettyPrint(),Ne.current)return Ne.current.addEventListener("click",ye),()=>{var He;(He=Ne.current)==null||He.removeEventListener("click",ye),(0,l.AL)(),(0,l.Iy)()}},[Mt,Ne.current,ye]),(0,r.useEffect)(()=>{var He;const Qe=ut=>{ut.preventDefault(),ut.clipboardData.setData("text",window.getSelection().toString())};return(He=Ne.current)==null||He.addEventListener("copy",Qe),()=>{var ut;(ut=Ne.current)==null||ut.removeEventListener("copy",Qe)}},[Ne.current]);const $e=He=>//i.test(He||"");return r.createElement(r.Fragment,null,oe&&r.createElement("div",{ref:Ne},Mt),!oe&&!$e(Mt)&&r.createElement("div",{ref:Ne,style:I({},Q),className:`${ne||""} ${le?"disabled-fill":""} markdown-body ${Wt.current}`,dangerouslySetInnerHTML:{__html:Mt}}),!oe&&$e(Mt)&&r.createElement(m,{html:Mt}),r.createElement(x.Z,{close:!0,data:Pe,type:Pe!=null&&Pe.length?je:"",style:I({},V),onClose:()=>Ge("")}))}},50258:function(d,g,e){"use strict";e.d(g,{SV:function(){return Pt},ZP:function(){return ht}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` @@ -964,30 +964,30 @@ http://j.mp/37Fkd5Q `)},{label:"include ",content:["#include "].join(` `)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var u=e(53184),a=e.n(u),x=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=ot=>{try{ft(ar.next(ot))}catch(qe){_t(qe)}},et=ot=>{try{ft(ar.throw(ot))}catch(qe){_t(qe)}},ft=ot=>ot.done?Ue(ot.value):Promise.resolve(ot.value).then(Mt,et);ft((ar=ar.apply(Wt,Rt)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=(Wt,Rt,ar,Ue)=>{const _t=Rt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:ar.lineNumber,endColumn:ar.column});return Array.from(new Set(_t.match(/\b\w{2,}\b/g)||[])).map(et=>({label:et,kind:Wt.languages.CompletionItemKind.Text,insertText:et,range:Ue}))},m=(Wt,Rt,ar,Ue)=>{Wt.languages.registerCompletionItemProvider(Rt,{provideCompletionItems(_t,Mt){const et=_t.getWordUntilPosition(Mt),ft={startLineNumber:Mt.lineNumber,endLineNumber:Mt.lineNumber,startColumn:et.startColumn,endColumn:et.endColumn},ot=_t.getLineContent(Mt.lineNumber).substring(et.startColumn-2,et.endColumn);return{suggestions:[...y(Wt,_t,Mt,ft),...ar.map(Ne=>({label:Ne,kind:Wt.languages.CompletionItemKind.Keyword,documentation:Ne,insertText:Ne,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ft})),...Ue.map(Ne=>({label:Ne.label,kind:Wt.languages.CompletionItemKind.Snippet,documentation:Ne.content,insertText:ot.startsWith("#")?Ne.content.replace(/#/,""):Ne.content,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ft}))]}}})};var b=Wt=>{p.languages.forEach(Rt=>{Wt.languages.registerDocumentFormattingEditProvider(Rt,{provideDocumentFormattingEdits(ar){return x(this,null,function*(){const Ue=a()(ar.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:ar.getFullModelRange(),text:Ue}]})}})}),m(Wt,"java",c.keywords,c.quickKey),m(Wt,"cpp",f.keywords,f.quickKey),m(Wt,"c",l.keywords,[]),m(Wt,"python",o.keywords,o.quickKey),m(Wt,"scala",h.keywords,h.quickKey)};const S="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(Wt,Rt,ar)=>Rt in Wt?k(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,A=(Wt,Rt,ar)=>R(Wt,typeof Rt!="symbol"?Rt+"":Rt,ar);const I=class a0{constructor(Rt,ar,Ue){this.placeholder=Rt,this.editor=ar,this.monaco=Ue,ar.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return a0.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};A(I,"ID","editor.widget.placeholderHint");var B=I,N=e(96236),K=e(8591),G=e(6848),H=e(89392),ae=e(77254),ne=e(56102),oe=Object.defineProperty,J=Object.defineProperties,Q=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,q=(Wt,Rt,ar)=>Rt in Wt?oe(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,le=(Wt,Rt)=>{for(var ar in Rt||(Rt={}))se.call(Rt,ar)&&q(Wt,ar,Rt[ar]);if(V)for(var ar of V(Rt))ee.call(Rt,ar)&&q(Wt,ar,Rt[ar]);return Wt},Z=(Wt,Rt)=>J(Wt,Q(Rt)),j=(Wt,Rt)=>{var ar={};for(var Ue in Wt)se.call(Wt,Ue)&&Rt.indexOf(Ue)<0&&(ar[Ue]=Wt[Ue]);if(Wt!=null&&V)for(var Ue of V(Wt))Rt.indexOf(Ue)<0&&ee.call(Wt,Ue)&&(ar[Ue]=Wt[Ue]);return ar},ie=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=ot=>{try{ft(ar.next(ot))}catch(qe){_t(qe)}},et=ot=>{try{ft(ar.throw(ot))}catch(qe){_t(qe)}},ft=ot=>ot.done?Ue(ot.value):Promise.resolve(ot.value).then(Mt,et);ft((ar=ar.apply(Wt,Rt)).next())});function me(Wt){return/^\d+$/.test(Wt)?`${Wt}px`:Wt}function Se(){}let Pe=!1;const Ge={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function je(Wt=[]){let Rt=Wt;if(Array.isArray(Wt)){for(let ar=0;ar{var Rt=Wt,{width:ar="100%",height:Ue="100%",value:_t,language:Mt="javascript",style:et={},options:ft={},overrideServices:ot={},theme:qe="vs-dark",onEditBlur:Ne,isCopy:ye=!1,onSave:ke,autoHeight:$e=!1,forbidCopy:He=!1,onChange:Qe=Se,editorDidMount:ut=Se,onFocus:pt=Se,onBreakPoint:or=Se,breakPointValue:tr=[],filename:Me="educoder.txt",errorLine:tt,errorContent:Yt="",highlightLine:Ot,openBreakPoint:Zt=!1,placeholder:Gt=""}=Rt,lr=j(Rt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ht=(0,r.useRef)(),Te=(0,r.useRef)({}),ce=(0,r.useRef)(),pe=(0,r.useRef)(),Tt=(0,r.useRef)([]),Ae=(0,r.useRef)(!1),st=(0,r.useRef)(),$t=(0,r.useRef)(),bt=(0,r.useRef)(!1),[Ce,yt]=(0,r.useState)(!1);function ze(){let At;return Ht.current&&(At=new i.Z(Kt=>{for(let Bt of Kt)(Bt.target.offsetHeight>0||Bt.target.offsetWidth>0)&&Te.current.instance.layout()}),At.observe(Ht.current)),At}function xe(){K.ZP.warning({content:decodeURIComponent(S),key:"monaco-editor-tip"})}const dt=()=>{let At=Te.current.instance;if(_t!=null&&At&&Ce){const Kt=At.getModel();Kt&&_t!==Kt.getValue()&&(Pe=!0,Kt.setValue(_t),At.layout(),Pe=!1)}};(0,r.useEffect)(()=>{const At=ae.Z.subscribe("formatDocument",Kt=>{var Bt;let qt=Te.current.instance;(Bt=qt==null?void 0:qt.getAction)==null||Bt.call(qt,"editor.action.formatDocument").run()});return window.updateMonacoValue=Kt=>{Qe(Kt)},At},[]),(0,r.useEffect)(()=>{var At;let Kt=Te.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{dt()},500),_t&&(_t!=null&&_t.length)&&((At=Kt==null?void 0:Kt.updateOptions)==null||At.call(Kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(_t.split(/\r\n|\r|\n/g).length))+3,5)}))},[_t,Ce,Te.current]),(0,r.useEffect)(()=>{if(tt&&Te.current&&Te.current.instance){let Kt=Te.current.instance;Kt.changeViewZones(function(Bt){var qt=document.createElement("div");qt.style.padding="10px 20px",qt.style.width="calc(100% - 20px)",qt.className="my-error-line-wrp",qt.innerHTML=Yt,Bt.addZone({afterLineNumber:tt||11,heightInLines:3,domNode:qt})});var At={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Kt.addOverlayWidget(At),Kt.revealPositionInCenter({lineNumber:20,column:1})}},[tt,Te.current,Ce]);const It=(At="",Kt)=>{if(!At||At.trim()==="")return!0;const qt=Te.current.instance.getModel().getLineTokens(Kt);let br=!1;for(let Qr=0;Qr<2;Qr++)qt.getStandardTokenType(Qr)===1&&(br=!0);return br};(0,r.useEffect)(()=>{var At;const Kt=(At=Te.current)==null?void 0:At.instance;if(Kt&&Ce&&He){const Bt=Kt.onDidBlurEditorWidget(()=>{bt.current=!1}),qt=Kt.onDidFocusEditorText(()=>{bt.current=!0});return()=>{Bt.dispose(),qt.dispose()}}},[Te.current,Ce,He]),(0,r.useEffect)(()=>{var At;if((At=Te.current)!=null&&At.instance&&Ce&&Zt){let Kt=Te.current.instance,Bt=Kt.getModel();if(!Bt)return;(()=>{var $n;let ci=[],Oi=[];const zi=Bt.getAllDecorations();for(let ji of zi)ji.options.className==="highlighted-line"&&(ci.push(($n=ji==null?void 0:ji.range)==null?void 0:$n.startLineNumber),Oi.push(ji==null?void 0:ji.id));if(Ot===ci[0])return;Bt.deltaDecorations(Oi,[]);const Ai=Bt.getLineCount();Ot&&Ot<=Ai&&(Kt.deltaDecorations([],[{range:new Dt.Range(Ot,1,Ot,Bt.getLineMaxColumn(Ot)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Kt.revealLineInCenter(Ot))})();const br=($n=!1)=>{var ci;let Oi=[],zi=[];const Ai=Bt.getAllDecorations();for(let ji of Ai)ji.options.linesDecorationsClassName==="breakpoints-select"&&(Oi.push((ci=ji==null?void 0:ji.range)==null?void 0:ci.startLineNumber),zi.push(ji==null?void 0:ji.id));if($n)return{lines:Oi,ids:zi};or(Oi)},Qr=$n=>ie(void 0,null,function*(){let ci={range:new Dt.Range($n,1,$n,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Bt.deltaDecorations([],[ci]),br()}),Hr=$n=>ie(void 0,null,function*(){let ci=[];const Oi=Kt.getLineDecorations($n);for(let zi of Oi)zi.options.linesDecorationsClassName==="breakpoints-select"&&ci.push(zi.id);yield Bt.deltaDecorations(ci,[]),br()}),jn=$n=>{let ci=Kt.getLineDecorations($n);for(let Oi of ci)if(Oi.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(tr,br(!0).lines)){Bt.deltaDecorations(br(!0).ids,[]);const $n=tr.map(ci=>({range:new Dt.Range(ci,1,ci,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Bt.deltaDecorations([],$n)}const En=Kt.onDidChangeModelContent($n=>{let ci=Kt.getPosition();if(ci){let Oi=ci.lineNumber;clearTimeout($t.current),$t.current=setTimeout(()=>{It(Bt.getLineContent(Oi),Oi)?Hr(Oi):jn(Oi)?(Hr(Oi),Qr(Oi)):br()},100)}}),Yn=Kt.onMouseDown($n=>{var ci,Oi,zi;if($n.target.detail&&((zi=(Oi=(ci=$n.target)==null?void 0:ci.element)==null?void 0:Oi.className)!=null&&zi.includes("line-numbers"))){let Ai=$n.target.position.lineNumber;if(It(Bt.getLineContent(Ai),Ai))return;jn(Ai)?Hr(Ai):Qr(Ai)}}),St=$n=>{let ci={range:new Dt.Range($n,1,$n,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Tt.current=Kt.deltaDecorations(Tt.current,[ci])},Vr=()=>{Tt.current=Kt.deltaDecorations(Tt.current,[])},ii=Kt.onMouseMove($n=>{var ci,Oi,zi;if(Vr(),$n.target.detail&&((zi=(Oi=(ci=$n.target)==null?void 0:ci.element)==null?void 0:Oi.className)!=null&&zi.includes("line-numbers"))){let Ai=$n.target.position.lineNumber;if(It(Bt.getLineContent(Ai),Ai))return;St(Ai)}}),Bi=Kt.onMouseLeave(()=>{Vr()});return()=>{En.dispose(),Yn.dispose(),ii.dispose(),Bi.dispose()}}},[Te.current,Ce,tr,Ot,Zt,Mt]),(0,r.useEffect)(()=>{var At;(At=Te.current)!=null&&At.instance&&Zt&&Te.current.instance.setPosition({lineNumber:0,column:0})},[Ot]);function Be(){let At=Te.current.instance;if(At){const Kt=At.getSelection(),Bt=Te.current.pastePos||{},qt=new Dt.Range(Bt.startLineNumber||Kt.endLineNumber,Bt.startColumn||Kt.endColumn,Bt.endLineNumber||Kt.endLineNumber,Bt.endColumn||Kt.endColumn);setTimeout(()=>{At.executeEdits("",[{range:qt,text:""}])},300)}}function Or(At){(window.navigator.platform.match("Mac")?At.metaKey:At.ctrlKey)&&At.keyCode==83&&(At.preventDefault(),ke())}const mt=()=>{if($e&&Te.current.instance){const At=Te.current.instance.getContentHeight();wr(At{if(!bt.current)return;const{keyCode:Kt,ctrlKey:Bt,metaKey:qt,target:br,type:Qr}=At;return(Qr==="paste"||(Kt===67||Kt===86)&&(qt||Bt))&&br.nodeName==="TEXTAREA"&&(xe(),At.preventDefault()),!1};function Nt(At,Kt){var Bt=window.URL||window.webkitURL||window,qt=new Blob([Kt]),br=document.createElementNS("http://www.w3.org/1999/xhtml","a");br.href=Bt.createObjectURL(qt),br.download=At,Jr(br)}(0,r.useEffect)(()=>{mt()},[mt]),(0,r.useEffect)(()=>{Ht.current&&!Ce&&Promise.all([e.e(8909),e.e(2460)]).then(e.bind(e,71448)).then(At=>{try{Dt=At,Te.current.instance=Dt.editor.create(Ht.current,{value:_t,language:je(Mt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ot);const Kt=Te.current.instance;let br=[...N.BH._menuItems].find(En=>En[0]._debugName=="EditorContext")[1],Qr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Hr=(En,Yn)=>{var St,Vr;let ii=En._first;do Yn.includes((Vr=(St=ii.element)==null?void 0:St.command)==null?void 0:Vr.id)&&En._remove(ii);while(ii=ii.next)};if(ut(Kt,Dt),setTimeout(()=>{mt(),Te.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Nt(Me||"educoder.txt",Kt.getValue())}})},500),Te.current.subscription=Kt.onDidChangeModelContent(En=>{Ae.current?clearTimeout(st.current):(mt(),Qe(Kt.getValue(),En)),st.current=setTimeout(()=>{Ae.current=!1},500)}),window.Monaco||b(Dt,je(Mt)),He&&(Hr(br,Qr),Ht.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",an),window.removeEventListener("paste",an),window.addEventListener("keydown",an),window.addEventListener("paste",an)),window.Monaco=Dt,Ne&&Kt.onDidBlurEditorWidget(()=>{Ne(Kt.getValue())}),pt&&Kt.onDidFocusEditorText(()=>{pt(Kt.getValue())}),He)try{Kt.onDidPaste(En=>{const Yn=Kt.getSelection(),St=Te.current.pastePos||{},Vr=new Dt.Range(St.startLineNumber||Yn.endLineNumber,St.startColumn||Yn.endColumn,St.endLineNumber||Yn.endLineNumber,St.endColumn||Yn.endColumn);Kt.executeEdits("",[{range:En.range,text:""}])})}catch(En){}let jn=ze();return Gt&&typeof Gt=="string"&&new B(Gt,Kt,Dt),yt(!0),()=>{const En=Te.current.instance;En.dispose();const Yn=En.getModel();Yn&&Yn.dispose(),Te.current.subscription&&Te.current.subscription.dispose(),jn.unobserve(Ht.current)}}catch(Kt){}})},[]),(0,r.useEffect)(()=>{if(Te.current.instance&&Ce)return document.addEventListener("keydown",Or,!1),()=>{document.removeEventListener("keydown",Or)}},[ke,Ce]),(0,r.useEffect)(()=>{let At=Te.current.instance;if(At&&Ce){let Kt=je(Mt);Dt.editor.setModelLanguage(At.getModel(),Kt)}},[Mt,Ce]),(0,r.useEffect)(()=>{Te.current.instance&&Ce&&Dt.editor.setTheme(qe)},[qe,Ce]),(0,r.useEffect)(()=>{let At=Te.current.instance;ce.current=ft,At&&Ce&&(At.updateOptions(le({},ft)),setTimeout(()=>{At.getModel().updateOptions(le({},ft))},200))},[JSON.stringify(ft),Ce]),(0,r.useEffect)(()=>{let At=Te.current.instance;At&&Ce&&At.layout()},[ar,Ue,Ce]);const[Jt,Lt]=(0,r.useState)(me(ar)),[Qt,wr]=(0,r.useState)(me(Ue)),Ir=Z(le({},et),{width:Jt,height:Qt,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Ht,style:Ir},ye&&r.createElement(ne.CopyToClipboard,{text:_t,onCopy:()=>K.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Pt({width:Wt="100%",height:Rt="100%",original:ar,modified:Ue,language:_t,options:Mt={}}){const et=(0,r.useRef)(),[ft,ot]=(0,r.useState)(null);function qe($e){let He;return et.current&&(He=new i.Z(Qe=>{for(let ut of Qe)(ut.target.offsetHeight>0||ut.target.offsetWidth>0)&&$e.layout()}),He.observe(et.current)),He}(0,r.useEffect)(()=>(et.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then($e=>{Dt=$e;const He=Dt.editor.createDiffEditor(et.current,Z(le({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Mt),{wordWrap:!0}));ot(He);let Qe=qe(He);return()=>{He.dispose();const ut=He.getModel();ut&&ut.dispose(),Qe.unobserve(et.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{ft&&ft.setModel({original:Dt.editor.createModel(ar,_t),modified:Dt.editor.createModel(Ue,_t)})},[ar,Ue,_t,ft]);const Ne=me(Wt),ye=me(Rt),ke={width:Ne,height:ye};return r.createElement("div",{className:"my-diff-editor",ref:et,style:ke})}},86967:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(55510),i=e(8591),l=e(2001),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,A)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,p=(k,R)=>{for(var A in R||(R={}))u.call(R,A)&&x(k,A,R[A]);if(h)for(var A of h(R))a.call(R,A)&&x(k,A,R[A]);return k},y=(k,R)=>f(k,o(R)),m=(k,R)=>{var A={};for(var I in k)u.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&h)for(var I of h(k))R.indexOf(I)<0&&a.call(k,I)&&(A[I]=k[I]);return A};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:A}){yield A({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:A,select:I}){const{userInfo:M}=yield I(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:I}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield I(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:I}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield I(ne=>ne.engineeringEvaluteList),{userInfo:H}=yield I(ne=>ne.user);let ae=K.active[b[1]];if(ae){let ne={id:ae,page:B||1,per_page:N||G.pageSize};M&&(ne=y(p({},ne),{page:G.pageNo}));const oe=yield R(r._y,ne),J=[K.active[b[0]],K.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:ne.page,total:oe.count,pageSize:ne.per_page||G.pageSize,dataSource:oe.ec_courses.map((Q,V)=>y(p({},Q),{key:ne.page>1?(ne.page-1)*ne.per_page+V+1:V+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:I}=yield A(M=>M.engineeringEvaluteList);I.active[b[1]]&&(yield R(r.F,I.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const I=k,{all:M}=I,B=m(I,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};g.Z=S},3033:function(d,g,e){"use strict";e.d(g,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:S,program_questions:k,completion_questions:R,subjective_questions:A,practical_questions:I,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},m),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},A),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},I),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>o(o({},K),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},2001:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(41867);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},47735:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return I},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return A}});var r=e(38147),i=(N,K,G)=>new Promise((H,ae)=>{var ne=Q=>{try{J(G.next(Q))}catch(V){ae(V)}},oe=Q=>{try{J(G.throw(Q))}catch(V){ae(V)}},J=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function I(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},5959:function(d,g,e){"use strict";e.d(g,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(m,b,S)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):m[b]=S,h=(m,b)=>{for(var S in b||(b={}))c.call(b,S)&&o(m,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(m,S,b[S]);return m},u=(m,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(N){R(N)}},I=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,I);M((S=S.apply(m,b)).next())});function a(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},7310:function(d,g,e){"use strict";e.d(g,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function m(A){return u(this,null,function*(){const{id:I}=A;return delete A.id,(0,r.ZP)(`/api/files/${I}.json`,{method:"put",body:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function S(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},26795:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function m(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function S(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},33270:function(d,g,e){"use strict";e.d(g,{$T:function(){return ci},A:function(){return $t},Ab:function(){return xa},Al:function(){return je},BQ:function(){return pt},BR:function(){return Ge},Bn:function(){return Yt},Cq:function(){return Bi},D4:function(){return b},DJ:function(){return Mt},Dd:function(){return N},Ds:function(){return tr},EO:function(){return bt},Ed:function(){return et},F9:function(){return Gt},FU:function(){return Ht},Fg:function(){return K},GV:function(){return ye},Gk:function(){return ie},Gm:function(){return He},Gz:function(){return G},Hf:function(){return a},Hl:function(){return H},Hn:function(){return ee},ID:function(){return jn},IU:function(){return It},J2:function(){return qe},K$:function(){return Me},KP:function(){return ft},KT:function(){return Ue},L$:function(){return Tt},LH:function(){return oe},Lk:function(){return zn},Lm:function(){return k},Ls:function(){return Wt},MA:function(){return ji},Mc:function(){return ei},N7:function(){return Pe},Nd:function(){return j},Nl:function(){return dt},Ns:function(){return En},O3:function(){return _t},Pj:function(){return $e},Q9:function(){return y},QX:function(){return xe},QZ:function(){return ar},R2:function(){return Se},Rk:function(){return $n},S9:function(){return Ae},SA:function(){return S},U8:function(){return St},UD:function(){return qt},U_:function(){return le},Uy:function(){return Qr},V8:function(){return se},Vw:function(){return Pt},W0:function(){return Or},W7:function(){return or},WK:function(){return ha},Wr:function(){return xt},YR:function(){return yt},Z0:function(){return Lt},ZL:function(){return an},ZT:function(){return Wi},ZX:function(){return Yi},Z_:function(){return J},_0:function(){return Q},_9:function(){return Qe},_B:function(){return Da},_X:function(){return p},aP:function(){return mt},aQ:function(){return ut},aZ:function(){return ce},al:function(){return st},bm:function(){return Bt},bz:function(){return Ot},c_:function(){return ii},ds:function(){return Kt},fN:function(){return ea},fr:function(){return Ce},g4:function(){return Ne},gq:function(){return ae},hf:function(){return ht},i:function(){return Qt},i6:function(){return zi},i7:function(){return Hr},iE:function(){return A},ih:function(){return mi},jA:function(){return m},kW:function(){return ot},km:function(){return Yn},nP:function(){return M},nQ:function(){return Zt},nX:function(){return Ir},oM:function(){return tt},oR:function(){return Gi},o_:function(){return Jr},pf:function(){return At},pr:function(){return vi},pv:function(){return Oi},qB:function(){return Dt},r2:function(){return V},rS:function(){return ne},s:function(){return Zi},sK:function(){return x},sb:function(){return pe},sm:function(){return B},t1:function(){return ke},tB:function(){return Ta},tR:function(){return lr},td:function(){return Be},uh:function(){return Te},up:function(){return Vr},v2:function(){return I},vV:function(){return Nt},w9:function(){return Z},wR:function(){return Ai},yS:function(){return ze},yV:function(){return me},yd:function(){return wr},zg:function(){return Rt}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(we,nt,Je)=>nt in we?i(we,nt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):we[nt]=Je,h=(we,nt)=>{for(var Je in nt||(nt={}))c.call(nt,Je)&&o(we,Je,nt[Je]);if(l)for(var Je of l(nt))f.call(nt,Je)&&o(we,Je,nt[Je]);return we},u=(we,nt,Je)=>new Promise((Ct,lt)=>{var hr=zr=>{try{Tr(Je.next(zr))}catch(en){lt(en)}},pr=zr=>{try{Tr(Je.throw(zr))}catch(en){lt(en)}},Tr=zr=>zr.done?Ct(zr.value):Promise.resolve(zr.value).then(hr,pr);Tr((Je=Je.apply(we,nt)).next())});const a=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/update_group.json`,{method:"put",body:we})}),x=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/students.json`,{method:"Get",params:we})}),p=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/add_groups.json`,{method:"post",body:we})}),y=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/list_groups_by_settings.json`,{method:"post",body:we})}),m=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/groups.json`,{method:"Get",params:we})}),b=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/update_leader_permission.json`,{method:"put",body:we})}),S=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/update_group_settings`,{method:"put",body:we})}),k=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/group_settings.json`,{method:"Get",params:we})}),R=we=>u(void 0,null,function*(){return Fetch(`/api/homework_commons/${we==null?void 0:we.id}/test_result_setting.json`,{method:"post",body:we})}),A=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/course_videos/configs.json`,{method:"put",body:we})}),I=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/course_videos/list_for_config.json`,{method:"Get",params:we})}),M=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:we})}),B=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/batch_late_setting`,{method:"post",body:we})}),N=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:we})}),K=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:we})}),G=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:we})}),H=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:we})});function ae(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},we.permissions)})})}function ne(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.course_id}/assistant_permissions.json`,{method:"Get",params:h({},we)})})}function oe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/ai_status_query.json`,{method:"Get",params:we})})}function J(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},we)})})}function Q(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/get_user_portrait_config.json`,{method:"Get",params:we})})}function V(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_user_portrait_config.json?id=${we.coursesId}`,{method:"put",body:h({},we)})})}function se(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},we)})})}function ee(we){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},we)})})}function q(we){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},we)})})}function le(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/top_banner.json`,{method:"get",params:h({},we)})})}function Z(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id||we.coursesId}/left_banner.json`,{method:"get",params:h({},we)})})}function j(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons.json`,{method:"get",params:h({},we)})})}function ie(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons/list.json`,{method:"get",params:h({},we)})})}function me(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/graduation_topics.json`,{method:"get",params:h({},we)})})}function Se(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/graduation_tasks.json`,{method:"get",params:h({},we)})})}function Pe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${we.id}/exercises.json`,{method:"get",params:h({},we)})})}function Ge(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/polls.json`,{method:"get",params:h({},we)})})}function je(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons.json`,{method:"get",params:h({},we)})})}function Dt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_groups.json`,{method:"get",params:h({},we)})})}function ht(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/all_course_groups.json`,{method:"get",params:h({},we)})})}function Pt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/attendances.json`,{method:"get",params:h({},we)})})}function Wt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${we.coursesId}/attendances.json`,{method:"get",params:h({},we)})})}function Rt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${we.id}/edit.json`,{method:"get",params:h({},we)})})}function ar(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/informs.json`,{method:"get",params:h({},we)})})}function Ue(we){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},we)})})}function _t(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_videos.json`,{method:"get",params:h({},we)})})}function Mt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/live_links.json`,{method:"get",params:h({},we)})})}function et(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},we)})})}function ft(we){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${we.categoryId}/messages.json`,{method:"get",params:h({},we)})})}function ot(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_groups.json`,{method:"get",params:h({},we)})})}function qe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/students.json`,{method:"get",params:h({},we)})})}function Ne(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/statistics.json`,{method:"get",params:h({},we)})})}function ye(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/work_score.json`,{method:"get",params:h({},we)})})}function ke(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/act_score.json`,{method:"get",params:h({},we)})})}function $e(we){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},we)})})}function He(we){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},we)})})}function Qe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},we)})})}function ut(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},we)})})}function pt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},we)})})}function or(we){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},we)})})}function tr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},we)})})}function Me(we){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:we})})}function tt(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:we})})}function Yt(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:we})})}function Ot(we){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:we})})}function Zt(we){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:we})})}function Gt(we){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},we)})})}function lr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.identifier}/add_student_groups.json`,{method:"post",body:we})})}function Ht(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:we})})}function Te(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/add_teacher.json`,{method:"post",body:we})})}function ce(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/add_students_by_search.json`,{method:"post",body:we})})}function pe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/set_public_or_private.json`,{method:"post",body:we})})}function Tt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/set_invite_code_halt.json`,{method:"post",body:we})})}function Ae(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/duplicate_course.json`,{method:"post",body:we})})}function st(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_end_date.json`,{method:"put",body:we})})}function $t(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}.json`,{method:"delete",body:we})})}function bt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/settings.json`,{method:"get",params:h({},we)})})}function Ce(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}.json`,{method:"put",body:we})})}function yt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ze(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},we)})})}function xe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},we)})})}function dt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},we)})})}function It(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},we)})})}function Be(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},we)})})}function Or(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},we)})})}function mt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},we)})})}function Jr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},we)})})}function an(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},we)})})}function Nt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},we)})})}function Jt(we){return u(this,null,function*(){return Fetch(`/api/homework_commons/${we.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},we)})})}function Lt(we){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${we.id}.json`,{method:"delete",params:{export:!0}})})}function Qt(we){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${we.id}.json`,{method:"delete",params:{export:!0}})})}function wr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${we.id}/sticky_module.json`,{method:"get"})})}function Ir(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${we.id}/hidden_module.json`,{method:"get"})})}function At(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:we})})}function Kt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${we.id}.json`,{method:"get",params:we})})}function Bt(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:we})})}function qt(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:we})})}function br(we){return u(this,null,function*(){return Fetch(`/api/polls/${we.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},we)})})}function Qr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},we)})})}function Hr(we){return(0,r.ZP)(`/api/polls/${we.categoryId}/start_answer.json`,{method:"get",params:h({},we)})}function jn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${we.questionId}/poll_votes.json`,{method:"post",body:we})})}function En(we){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${we.categoryId}/commit_poll.json`,{method:"post",body:we})})}function Yn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.courseId}/tasks_list.json`,{method:"get",params:we})})}function St(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.courseId}/update_task_position.json`,{method:"post",body:we})})}function Vr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:we})})}function ii(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/all_course_groups.json`,{method:"get",params:we})})}function Bi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/polls/all_course_groups.json`,{method:"get",params:we})})}function $n(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/students.json`,{method:"get",params:we})})}function ci(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${we.categoryId}/rename_group.json`,{method:"POST",body:we})})}function Oi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${we.categoryId}.json`,{method:"delete",body:we})})}function zi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/join_course_group.json`,{method:"POST",body:we})})}function Ai(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/transfer_to_course_group.json`,{method:"post",body:we})})}function ji(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/delete_from_course.json`,{method:"post",body:we})})}function ha(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/join_course_group.json`,{method:"post",body:we})})}function ea(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/exit_course.json`,{method:"post"})})}function Yi(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},we)})})}function mi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users/${we.user_id}/edit.json`,{method:"get",params:we})})}function Zi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users.json`,{method:"post",body:we})})}function Ta(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users/${we.user_id}.json`,{method:"put",body:we})})}function xt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${we.id}/move_category.json`,{method:"post",body:we})})}function xa(we){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${we.id}/move_category.json`,{method:"post",body:we})})}function Wi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/courseware.json`,{method:"get",params:we})})}function vi(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we}/mark_wrong_topic.json`,{method:"get",params:nt})})}function Da(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we}/cancel_wrong_topic.json`,{method:"get",params:nt})})}function Gi(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we}/allow_end_group.json`,{method:"get",params:nt})})}function ei(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:nt})})}function zn(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${we}/get_content_for_commit_id.json`,{method:"get",params:nt})})}},30945:function(d,g,e){"use strict";e.d(g,{$M:function(){return Rt},$P:function(){return or},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Ne},JM:function(){return He},Ju:function(){return Wt},Mn:function(){return qe},Ni:function(){return ie},Pg:function(){return R},Pt:function(){return S},Qp:function(){return V},R9:function(){return ae},Ux:function(){return se},Vy:function(){return Ge},XJ:function(){return j},XR:function(){return ht},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return ye},ml:function(){return le},o3:function(){return Ue},pA:function(){return Mt},pS:function(){return $e},pU:function(){return Z},ps:function(){return G},q0:function(){return ft},qN:function(){return ot},qS:function(){return b},qj:function(){return Dt},qt:function(){return ut},rV:function(){return A},rZ:function(){return Qe},rk:function(){return Se},rm:function(){return Q},sK:function(){return J},sL:function(){return et},su:function(){return ke},tC:function(){return Pe},tO:function(){return je},u9:function(){return q},uZ:function(){return me},vV:function(){return K},xx:function(){return tr},y8:function(){return Pt},yS:function(){return N},zF:function(){return y},zc:function(){return ne},zj:function(){return I},zz:function(){return pt}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Me,tt,Yt)=>tt in Me?i(Me,tt,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Me[tt]=Yt,h=(Me,tt)=>{for(var Yt in tt||(tt={}))c.call(tt,Yt)&&o(Me,Yt,tt[Yt]);if(l)for(var Yt of l(tt))f.call(tt,Yt)&&o(Me,Yt,tt[Yt]);return Me},u=(Me,tt,Yt)=>new Promise((Ot,Zt)=>{var Gt=Te=>{try{Ht(Yt.next(Te))}catch(ce){Zt(ce)}},lr=Te=>{try{Ht(Yt.throw(Te))}catch(ce){Zt(ce)}},Ht=Te=>Te.done?Ot(Te.value):Promise.resolve(Te.value).then(Gt,lr);Ht((Yt=Yt.apply(Me,tt)).next())});const a=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/create_guide.json`,{method:"post",body:Me}),x=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/guides.json`,{method:"get",params:Me}),p=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.competition_team_id}/edit_info.json`,{method:"put",body:Me});function y(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_result.json`,{method:"post",body:Me})})}function m(Me){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Me)})})}function b(Me){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Me})})}function S(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post"})})}function k(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_staff.json`,{method:"get"})})}function R(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/common_header.json`,{method:"get"})})}function A(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/${Me.url}`,{method:"get",params:h({},Me)})})}function I(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_md_content.json`,{method:"post",body:Me})})}function M(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function B(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}/edit.json`,{method:"get",params:Me})})}function N(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}.json`,{method:"put",body:Me})})}function K(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}/leave.json`,{method:"post",body:Me})})}function G(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}.json`,{method:"delete"})})}function H(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post",body:Me})})}function ae(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/add_managers.json`,{method:"post",body:Me})})}function ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/join.json`,{method:"post",body:Me})})}function oe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/teachers.json`,{method:"get",params:Me})})}function J(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/students.json`,{method:"get",params:Me})})}function Q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/crud_team_members.json`,{method:"post",body:Me})})}function V(Me){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Me})})}function se(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/chart_rules.json`,{method:"get"})})}function ee(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/charts.json`,{method:"get",params:Me})})}function q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/results.json`,{method:"get",params:Me})})}function le(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/md_tab_rules.json`,{method:"get",params:Me})})}function Z(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize.json`,{method:"get",params:Me})})}function j(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.id}.json`,{method:"get",params:Me})})}function ie(Me){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Me})})}function me(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/phone_bind.json`,{method:"post",body:Me})})}function Se(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/email_bind.json`,{method:"post",body:Me})})}function Pe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/professional_auth_apply.json`,{method:"delete"})})}function Ge(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/authentication_apply.json`,{method:"delete"})})}function je(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize_leader_account.json`,{method:"put",body:Me})})}function Dt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/shixun_detail.json`,{method:"get"})})}function ht(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/course_detail.json`,{method:"get"})})}function Pt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Me.id}.json`,{method:"delete"})})}function Wt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/get_certificate_info.json`,{method:"get",params:Me})})}function Rt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/basic_setting.json`,{method:"post",body:Me})})}function ar(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ue(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/common_header.json`,{method:"get"})})}function _t(Me){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Me})})}function Mt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/search_managers.json`,{method:"get",params:Me})})}function et(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_managers.json`,{method:"get"})})}function ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/add_managers.json`,{method:"post",body:Me})})}function ot(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/delete_managers.json`,{method:"delete",body:Me})})}function qe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_picture.json`,{method:"get"})})}function Ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/identifier_exist.json`,{method:"post",body:Me})})}function ye(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_shixun_settings.json`,{method:"get"})})}function ke(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_add.json`,{method:"post",body:Me})})}function $e(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_delete.json`,{method:"delete",body:Me})})}function He(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_select.json`,{method:"post",body:Me})})}function Qe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/info_finish.json`,{method:"get"})})}function ut(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/competition_review.json`,{method:"post",body:h({},Me)})})}function pt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function or(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/all_team_members.json`,{method:"get",params:Me})})}function tr(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Me})})}},55510:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return I},ff:function(){return S},p1:function(){return k},_y:function(){return m},mK:function(){return K},gq:function(){return H},eM:function(){return N},BA:function(){return oe},bA:function(){return Q},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return G},No:function(){return ae},ay:function(){return V}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(se,ee,q)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:q}):se[ee]=q,a=(se,ee)=>{for(var q in ee||(ee={}))o.call(ee,q)&&u(se,q,ee[q]);if(f)for(var q of f(ee))h.call(ee,q)&&u(se,q,ee[q]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var q={};for(var le in se)o.call(se,le)&&ee.indexOf(le)<0&&(q[le]=se[le]);if(se!=null&&f)for(var le of f(se))ee.indexOf(le)<0&&h.call(se,le)&&(q[le]=se[le]);return q},y=(se,ee,q)=>new Promise((le,Z)=>{var j=Se=>{try{me(q.next(Se))}catch(Pe){Z(Pe)}},ie=Se=>{try{me(q.throw(Se))}catch(Pe){Z(Pe)}},me=Se=>Se.done?le(Se.value):Promise.resolve(Se.value).then(j,ie);me((q=q.apply(se,ee)).next())});const m=se=>y(void 0,null,function*(){var ee=se,{id:q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${q}/course_results.json`,{method:"get",params:le})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:q=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:q}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),I=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),K=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:se,formula_one:ee,formula_two:q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:q,formula_three_id:le}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=se=>{var ee=se,{ec_year_id:q,type:le,goal_value:Z}=ee,j=p(ee,["ec_year_id","type","goal_value"]);let ie=`?type=${le}`,me={method:"PUT"};return le==="all"&&(ie+=`&goal_value=${Z}`),le==="each"&&(me=x(a({},me),{body:j})),(0,r.ZP)(`/api/ec_years/${q}/ec_graduation_results/set_goal_value${ie}`,me)};var ne=(se,ee,q)=>new Promise((le,Z)=>{var j=Se=>{try{me(q.next(Se))}catch(Pe){Z(Pe)}},ie=Se=>{try{me(q.throw(Se))}catch(Pe){Z(Pe)}},me=Se=>Se.done?le(Se.value):Promise.resolve(Se.value).then(j,ie);me((q=q.apply(se,ee)).next())});const oe=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),J=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),Q=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),V=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},87513:function(d,g,e){"use strict";e.d(g,{$Q:function(){return I},$l:function(){return Hr},BJ:function(){return ot},CD:function(){return tt},Cd:function(){return ut},Cl:function(){return Be},Di:function(){return ar},Fl:function(){return Mt},G$:function(){return le},GK:function(){return _t},Ip:function(){return ye},J:function(){return Z},KE:function(){return et},L8:function(){return Ht},LP:function(){return ke},MK:function(){return Ue},Mb:function(){return Nt},N0:function(){return G},N3:function(){return je},OO:function(){return R},P8:function(){return Ir},PJ:function(){return ie},PT:function(){return Lt},Qc:function(){return ae},RK:function(){return q},Ty:function(){return xe},UH:function(){return st},UK:function(){return Dt},Uj:function(){return tr},Ul:function(){return Qe},VL:function(){return Zt},Vj:function(){return ce},W4:function(){return or},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ne},Xn:function(){return Jr},Xo:function(){return oe},YY:function(){return Rt},Ym:function(){return N},Yu:function(){return At},ZD:function(){return wr},Zg:function(){return Or},_B:function(){return Me},_F:function(){return Jt},_U:function(){return Q},_u:function(){return me},aU:function(){return K},ab:function(){return It},cC:function(){return ze},cV:function(){return V},ck:function(){return Qt},dp:function(){return H},eA:function(){return br},fG:function(){return S},gA:function(){return se},gG:function(){return an},gJ:function(){return Kt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return yt},kp:function(){return Gt},lL:function(){return A},lf:function(){return Ge},n$:function(){return Pe},n7:function(){return J},nF:function(){return Te},o3:function(){return Bt},oS:function(){return $e},oX:function(){return Ot},oy:function(){return dt},p7:function(){return B},pL:function(){return Yt},pu:function(){return qe},q6:function(){return lr},qf:function(){return Wt},qz:function(){return He},s:function(){return bt},sA:function(){return Tt},sS:function(){return qt},tX:function(){return $t},uR:function(){return ht},ux:function(){return ft},wy:function(){return Pt},xA:function(){return Ce},yE:function(){return ne},yu:function(){return Ae},zP:function(){return M},zR:function(){return Qr}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(St,Vr,ii)=>Vr in St?i(St,Vr,{enumerable:!0,configurable:!0,writable:!0,value:ii}):St[Vr]=ii,a=(St,Vr)=>{for(var ii in Vr||(Vr={}))o.call(Vr,ii)&&u(St,ii,Vr[ii]);if(f)for(var ii of f(Vr))h.call(Vr,ii)&&u(St,ii,Vr[ii]);return St},x=(St,Vr)=>l(St,c(Vr)),p=(St,Vr,ii)=>new Promise((Bi,$n)=>{var ci=Ai=>{try{zi(ii.next(Ai))}catch(ji){$n(ji)}},Oi=Ai=>{try{zi(ii.throw(Ai))}catch(ji){$n(ji)}},zi=Ai=>Ai.done?Bi(Ai.value):Promise.resolve(Ai.value).then(ci,Oi);zi((ii=ii.apply(St,Vr)).next())});const y=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:St}),m=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:St}),b=St=>(0,r.ZP)(`/api/exercises/${St.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:St}),S=St=>(0,r.ZP)(`/api/exercises/${St.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:St}),k=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:St}),R=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score.json`,{method:"get",params:St}),A=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:St}),I=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/score_ranges.json`,{method:"get",params:St}),M=St=>(0,r.ZP)(`/api/exercises/${St.id}/sava_exam_summary.json`,{method:"post",body:St}),B=St=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:St}),N=St=>(0,r.ZP)(`/api/exercises/${St.id}/generate_exam_summary.json`,{method:"post",body:St}),K=St=>(0,r.ZP)(`/api/exercises/${St.id}/exam_summary_settings.json`,{method:"post",body:St}),G=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/review_exercise_user.json`,{method:"post",body:St})}),H=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/code_check.json`,{method:"get",params:St}),ae=St=>(0,r.ZP)(`/api/exercises/${St.id}/reset_pwd.json`,{method:"post",body:St}),ne=St=>(0,r.ZP)(`/api/exercises/${St.id}/encrypt_or_decrypt.json`,{method:"post",body:St}),oe=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/delayed_time_or_force.json`,{method:"post",body:St})}),J=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/exercise_time.json`,{method:"Get",params:St})}),Q=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/exercise_question_result.json`,{method:"get",params:St}),V=St=>(0,r.ZP)(`/api/exercises/${St.id}/get_question_type_alias.json`,{method:"get",params:St});function se(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/teacher_update.json`,{method:"post",body:a({},St)})})}function ee(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/adjust_comment.json`,{method:"post",body:a({},St)})})}function q(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/edit_question_type_alias.json`,{method:"POST",body:St})})}function le(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_lists.json`,{method:"get",params:a({},St)})})}function Z(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},St)})})}function j(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/video_push_url.json`,{method:"get",params:a({},St)})})}function ie(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},St)})})}function me(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_result.json`,{method:"get",params:a({},St)})})}function Se(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},St)})})}function Pe(St){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},St)})})}function Ge(St){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},St)})})}function je(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},St)})})}function Dt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/common_header.json`,{method:"get",params:a({},St)})})}function ht(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises.json`,{method:"post",body:a({},St)})})}function Pt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}.json`,{method:"put",body:a({},St)})})}function Wt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}.json`,{method:"get",params:a({},St)})})}function Rt(St){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},St)})})}function ar(St){return p(this,null,function*(){const{id:Vr}=St;return delete St.id,(0,r.ZP)(`/api/exercise_questions/${Vr}.json`,{method:"put",body:a({},St)})})}function Ue(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_questions.json`,{method:"post",body:a({},St)})})}function _t(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/up_down.json`,{method:"post",body:a({},St)})})}function Mt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}.json`,{method:"delete"})})}function et(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},St)})})}function ft(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/publish_groups.json`,{method:"get",params:a({},St)})})}function ot(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},St)})})}function qe(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/consult_exercise.json`,{method:"post",body:a({},St)})})}function Ne(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},St)})})}function ye(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/adjust_score.json`,{method:"post",body:a({},St)})})}function ke(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/batch_adjust_score.json`,{method:"post",body:a({},St)})})}function $e(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/adjust_score.json`,{method:"post",body:a({},St)})})}function He(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/delayed_time.json`,{method:"post",body:a({},St)})})}function Qe(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_setting.json`,{method:"get",params:a({},St)})})}function ut(St){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${St.categoryId}/exercise_setting.json`,{method:"get",params:a({},St)})})}function pt(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/commit_setting.json`,{method:"post",body:a({},St)})})}function or(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},St)})})}function tr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},St),{export:!0})})})}function Me(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},St),{login:null})})}function tt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/start.json`,{method:"get",params:a({},St)})}function Yt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/start_unlock.json`,{method:"post",body:a({},St)})}function Ot(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.questionId}/exercise_answers.json`,{method:"post",body:St})})}function Zt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/commit_exercise.json`,{method:"post",body:St})})}function Gt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/simulate_commit_exercise.json`,{method:"post",body:St})})}function lr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/redo_exercise.json`,{method:"post",body:St})})}function Ht(St){return(0,r.ZP)(`/api/${St.url}`,{method:"get",params:a({},St)})}function Te(St){return(0,r.ZP)(`/api/problems/${St.id}/start.json`,{method:"get",params:a({},St)})}function ce(St){return(0,r.ZP)(`/api/exercises/${St.id}/begin_commit.json`,{method:"get",params:a({},St)})}function pe(St){return(0,r.ZP)(`/api/exercises/${St.id}/simulate_begin_commit.json`,{method:"get",params:a({},St)})}function Tt(St){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},St)})}function Ae(St){return console.log("params:",St),(0,r.ZP)(`/api/exercises/${St.categoryId}/edit.json`,{method:"get",params:a({},St)})}function st(St){return(0,r.ZP)(`/api/exercises/${St.id}/get_objective_scores.json`,{method:"get",params:a({},St)})}function $t(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/redo_modal.json`,{method:"get",params:a({},St)})}function bt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/student_redo_lists.json`,{method:"get",params:a({},St)})}function Ce(St){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:St})}function yt(St){return(0,r.ZP)(`/api/exercises/${St.id}/exercise_header.json`,{method:"get",params:a({},St)})}function ze(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/allow_close_camera.json`,{method:"post",body:a({},St)})}function xe(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},St)})}function dt(St){return(0,r.ZP)(`/api/exercises/${St.id}/record_screen`,{method:"post",params:a({},St)})}function It(St){return(0,r.ZP)(`/api/exercises/${St.id}/unbind_ip.json`,{method:"post",body:a({},St)})}function Be(St){return(0,r.ZP)(`/api/exercises/${St.id}/check_ip.json`,{method:"get",params:a({},St)})}function Or(St){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/check_user_exercise.json`,{method:"get",params:a({},St)})}function mt(St){return Fetch(`/api/exercises/${St.id}/make_up_students.json`,{method:"get",params:a({},St)})}function Jr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},St)})})}function an(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.question_id}/adjust_score.json`,{method:"post",body:a({},St)})})}function Nt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${St.categoryId}/simulate_exercise.json`,{method:"post",body:a({},St)})})}function Jt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},St)})})}function Lt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_time.json`,{method:"get",params:a({},St)})})}function Qt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/commit_screen_at.json`,{method:"post",body:a({},St)})})}function wr(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/unlock_user`,{method:"post",body:Vr})})}function Ir(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/save_screen_record.json`,{method:"post",body:Vr})})}function At(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/screen_record_list.json`,{method:"get",params:Vr})})}function Kt(St){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},St)})})}function Bt(St){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:St})})}function qt(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/mark.json`,{method:"post",body:Vr})})}function br(St){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${St}/exit_delete_pod.json`,{method:"post",body:St})})}function Qr(St){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:St})})}function Hr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/send_to_item_bank.json`,{method:"post",body:a({},St)})})}function jn(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_details.json`,{method:"get",params:a({},St)})})}function En(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_question.json`,{method:"get",params:a({},St)})})}function Yn(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},St)})})}},16209:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return R},Sr:function(){return I},YP:function(){return A},b4:function(){return k},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return K}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,H,ae)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:ae}):G[H]=ae,h=(G,H)=>{for(var ae in H||(H={}))c.call(H,ae)&&o(G,ae,H[ae]);if(l)for(var ae of l(H))f.call(H,ae)&&o(G,ae,H[ae]);return G},u=(G,H,ae)=>new Promise((ne,oe)=>{var J=se=>{try{V(ae.next(se))}catch(ee){oe(ee)}},Q=se=>{try{V(ae.throw(se))}catch(ee){oe(ee)}},V=se=>se.done?ne(se.value):Promise.resolve(se.value).then(J,Q);V((ae=ae.apply(G,H)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function S(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function I(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},79274:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&o(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&o(y,b,m[b]);return y},u=(y,m,b)=>new Promise((S,k)=>{var R=M=>{try{I(b.next(M))}catch(B){k(B)}},A=M=>{try{I(b.throw(M))}catch(B){k(B)}},I=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);I((b=b.apply(y,m)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},66479:function(d,g,e){"use strict";e.d(g,{B6:function(){return p},Gr:function(){return N},Mf:function(){return I},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ne,oe,J)=>oe in ne?i(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,h=(ne,oe)=>{for(var J in oe||(oe={}))c.call(oe,J)&&o(ne,J,oe[J]);if(l)for(var J of l(oe))f.call(oe,J)&&o(ne,J,oe[J]);return ne},u=(ne,oe,J)=>new Promise((Q,V)=>{var se=le=>{try{q(J.next(le))}catch(Z){V(Z)}},ee=le=>{try{q(J.throw(le))}catch(Z){V(Z)}},q=le=>le.done?Q(le.value):Promise.resolve(le.value).then(se,ee);q((J=J.apply(ne,oe)).next())});function a(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function x(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function y(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function m(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function S(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function k(ne){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function R(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function A(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function I(ne){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function M(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function B(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function N(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function K(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function G(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function H(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ae(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},37090:function(d,g,e){"use strict";e.d(g,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return le},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return se},J3:function(){return o},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return Q},Ps:function(){return c},Rk:function(){return oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return H},Zd:function(){return q},bS:function(){return I},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return ae},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return V},zT:function(){return j}});var r=e(38147),i=(ie,me,Se)=>new Promise((Pe,Ge)=>{var je=Pt=>{try{ht(Se.next(Pt))}catch(Wt){Ge(Wt)}},Dt=Pt=>{try{ht(Se.throw(Pt))}catch(Wt){Ge(Wt)}},ht=Pt=>Pt.done?Pe(Pt.value):Promise.resolve(Pt.value).then(je,Dt);ht((Se=Se.apply(ie,me)).next())});function l(ie){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})}function c(ie){return(0,r.ZP)(`/api/schools/${ie.id}/departments/for_option.json`,{method:"get",params:ie})}function f(ie){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ie})}function o(ie){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ie})}function h(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/authorized_redelivery.json`,{method:"POST",body:ie})})}function u(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/submit.json`,{method:"POST",body:ie})})}function a(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_status.json`,{method:"get",params:ie})})}function x(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ie})})}function p(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.id}.json`,{method:"get",params:ie})})}function y(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/set_final_score.json`,{method:"POST",body:ie})})}function m(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/final_score.json`,{method:"get",params:ie})})}function b(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/set_novice_guide.json`,{method:"POST",body:ie})})}function S(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices/${ie.doid}/set_do.json`,{method:"POST",body:ie})})}function k(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"POST",body:ie})})}function R(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_students/${ie.id}/update_major.json`,{method:"PUT",body:ie})})}function A(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"POST",body:ie})})}function I(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers/search.json`,{method:"get",params:ie})})}function M(ie){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})})}function B(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students/search.json`,{method:"get",params:ie})})}function N(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"get",params:ie})})}function K(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"get",params:ie})})}function G(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks.json`,{method:"POST",body:ie})})}function H(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks/${ie.id}.json`,{method:"PUT",body:ie})})}function ae(ie){return i(this,null,function*(){var me;return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks/${(me=ie.ids)==null?void 0:me[0]}`,{method:"DELETE",body:{ids:ie.ids}})})}function ne(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks.json`,{method:"get",params:ie})})}function oe(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices.json`,{method:"get",params:ie})})}function J(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}.json`,{method:"get"})})}function Q(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie==null?void 0:ie.id}/common_header.json`,{method:"get"})})}function V(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/preview.json`,{method:"get"})})}function se(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/not_pass.json`,{method:"post",body:me})})}function ee(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/pass.json`,{method:"post",body:me})})}function q(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/not_pass.json`,{method:"post",body:me})})}function le(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/pass.json`,{method:"post",body:me})})}function Z(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/batch_delete`,{method:"delete",body:me})})}function j(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/batch_delete`,{method:"delete",body:me})})}},95707:function(d,g,e){"use strict";e.d(g,{LA:function(){return x},NX:function(){return m},Rm:function(){return f},S_:function(){return p},Tt:function(){return h},Yu:function(){return S},Zz:function(){return y},cR:function(){return u},eX:function(){return c},h$:function(){return o},su:function(){return b},vm:function(){return a}});var r=e(38147),i=(k,R,A)=>new Promise((I,M)=>{var B=G=>{try{K(A.next(G))}catch(H){M(H)}},N=G=>{try{K(A.throw(G))}catch(H){M(H)}},K=G=>G.done?I(G.value):Promise.resolve(G.value).then(B,N);K((A=A.apply(k,R)).next())});const l=k=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:k})}),c=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:k})}),f=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:k})}),o=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:k})});function h(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function u(k){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:k})})}function a(k){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:k})})}function x(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function p(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:k})})}const y=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:k})}),m=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:k})}),b=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:k})}),S=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:k})})},5664:function(d,g,e){"use strict";e.d(g,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,h=(R,A)=>{for(var I in A||(A={}))c.call(A,I)&&o(R,I,A[I]);if(l)for(var I of l(A))f.call(A,I)&&o(R,I,A[I]);return R},u=(R,A,I)=>new Promise((M,B)=>{var N=H=>{try{G(I.next(H))}catch(ae){B(ae)}},K=H=>{try{G(I.throw(H))}catch(ae){B(ae)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,K);G((I=I.apply(R,A)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function S(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},24514:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return I},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&o(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&o(N,G,K[G]);return N},u=(N,K,G)=>new Promise((H,ae)=>{var ne=Q=>{try{J(G.next(Q))}catch(V){ae(V)}},oe=Q=>{try{J(G.throw(Q))}catch(V){ae(V)}},J=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function I(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},29297:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Se},Gd:function(){return m},Hb:function(){return Pe},Hm:function(){return H},ID:function(){return u},JP:function(){return me},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return G},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ne},kF:function(){return Ge},kp:function(){return I},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return se},wX:function(){return Q},yE:function(){return f}});var r=e(38147),i=(je,Dt,ht)=>new Promise((Pt,Wt)=>{var Rt=_t=>{try{Ue(ht.next(_t))}catch(Mt){Wt(Mt)}},ar=_t=>{try{Ue(ht.throw(_t))}catch(Mt){Wt(Mt)}},Ue=_t=>_t.done?Pt(_t.value):Promise.resolve(_t.value).then(Rt,ar);Ue((ht=ht.apply(je,Dt)).next())});const l=je=>(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/code_check.json`,{method:"get",params:je}),c=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/reset_pwd.json`,{method:"post",body:je}),f=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/encrypt_or_decrypt.json`,{method:"post",body:je}),o=je=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:je}),h=je=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:je}),u=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/copy.json`,{method:"post",body:je}),a=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/get_question_type_alias.json`,{method:"get",params:je});function x(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_question_type_alias.json`,{method:"POST",body:je})})}function p(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:je})})}function y(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:je})})}function m(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:je})})}function b(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_public.json`,{method:"post"})})}function S(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_private.json`,{method:"post"})})}function k(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const A=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function I(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/send_to_course.json`,{method:"post",body:je})})}function M(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"get",params:je})})}function B(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_score`,{method:"post",body:je})})}function N(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_shixun_score.json`,{method:"post",body:je})})}function K(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}.json`,{method:"delete"})})}function G(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:je})})}function H(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:je})})}function ae(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/adjust_position.json`,{method:"post",body:je})})}function ne(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"put",body:je})})}function oe(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function J(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function Q(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/set_public.json`,{method:"post",body:je})})}function V(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function q(je,Dt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Dt})})}function le(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:je})})}function Z(je,Dt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Dt})})}function j(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.exam_id}/examination_banks_item_banks/${je.question_id}.json`,{method:"delete"})})}function ie(je,Dt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Dt})})}function me(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function Pe(je,Dt,ht){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Dt),Pt.append("sub_discipline_id",ht),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function Ge(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},49320:function(d,g,e){"use strict";e.d(g,{$D:function(){return Q},A2:function(){return ke},A7:function(){return bt},AQ:function(){return K},Ax:function(){return tt},Bn:function(){return ze},CI:function(){return ut},DQ:function(){return Tt},DU:function(){return et},EP:function(){return J},Ep:function(){return ye},Er:function(){return me},Ex:function(){return Zt},FD:function(){return Ae},F_:function(){return Mt},Fg:function(){return x},GY:function(){return Te},Go:function(){return Z},Gz:function(){return p},Hl:function(){return y},JS:function(){return Pt},KM:function(){return ee},M2:function(){return He},MO:function(){return Se},Mt:function(){return Qe},Mu:function(){return Yt},NV:function(){return yt},Q:function(){return Pe},Sp:function(){return N},VO:function(){return st},WD:function(){return Ht},WO:function(){return ie},WW:function(){return Gt},_C:function(){return Ce},_V:function(){return Me},bw:function(){return oe},bz:function(){return pe},c3:function(){return ht},eJ:function(){return le},ef:function(){return _t},fh:function(){return k},fj:function(){return j},hS:function(){return m},jT:function(){return $t},ke:function(){return lr},lk:function(){return B},mQ:function(){return M},ms:function(){return or},mx:function(){return je},nq:function(){return a},ol:function(){return ce},p:function(){return H},p4:function(){return Ge},pU:function(){return I},rS:function(){return Wt},rs:function(){return q},s0:function(){return $e},sm:function(){return Dt},tS:function(){return b},tu:function(){return A},ue:function(){return G},vf:function(){return qe},w4:function(){return ae},xG:function(){return Ne},xn:function(){return ot},yN:function(){return ne},yy:function(){return tr}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(xe,dt,It)=>dt in xe?i(xe,dt,{enumerable:!0,configurable:!0,writable:!0,value:It}):xe[dt]=It,h=(xe,dt)=>{for(var It in dt||(dt={}))c.call(dt,It)&&o(xe,It,dt[It]);if(l)for(var It of l(dt))f.call(dt,It)&&o(xe,It,dt[It]);return xe},u=(xe,dt,It)=>new Promise((Be,Or)=>{var mt=Nt=>{try{an(It.next(Nt))}catch(Jt){Or(Jt)}},Jr=Nt=>{try{an(It.throw(Nt))}catch(Jt){Or(Jt)}},an=Nt=>Nt.done?Be(Nt.value):Promise.resolve(Nt.value).then(mt,Jr);an((It=It.apply(xe,dt)).next())});const a=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:xe})}),x=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:xe})}),p=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:xe})}),y=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:xe})}),m=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:xe})});function b(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},xe)})})}function S(xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},xe)})})}function k(xe){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},xe)})})}function R(){return u(this,null,function*(){return Fetch("/api/paths/platform_systems.json",{method:"get"})})}function A(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"PUT",body:xe})})}function I(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:xe})})}function M(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/edit.json`,{method:"get"})})}function B(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function N(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function K(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/right_banner.json`,{method:"get",params:xe})})}function G(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"get",params:xe})})}const H=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:xe})}),ae=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${xe.id}/children.json`,{method:"Get",params:xe})});function ne(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:xe})})}function oe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/update_team_title.json`,{method:"post",body:xe})})}function J(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/delete_member.json`,{method:"Delete",body:xe})})}function Q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses/${xe==null?void 0:xe.courseid}.json`,{method:"Delete"})})}function V(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/up_member_position.json`,{method:"post",body:xe})})}function se(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/down_member_position.json`,{method:"post",body:xe})})}function ee(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:xe})})}function q(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:xe})})}function le(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"Delete",body:xe})})}function Z(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/publish.json`,{method:"post",body:xe})})}function j(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_publish.json`,{method:"post",body:xe})})}function ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/apply_public.json`,{method:"post",body:xe})})}function me(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_public.json`,{method:"post",body:xe})})}function Se(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/choose_course.json`,{method:"get",params:xe})})}function Pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function Ge(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/add_subject_members.json`,{method:"post",body:xe})})}function Dt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"post",body:xe})})}function ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/appointment.json`,{method:"post",body:xe})})}function Pt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/join_excellent_course.json`,{method:"post",body:xe})})}function Wt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:xe})})}function Rt(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/statistics_info.json`,{method:"get",params:xe})})}function ar(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/shixun_analyze.json`,{method:"get",params:xe})})}function Ue(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/learning_analyze.json`,{method:"get",params:xe})})}function _t(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/learning_statistics.json`,{method:"get",params:xe})})}function Mt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/shixun_statistics.json`,{method:"get",params:xe})})}function et(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/study_analyze/${xe.type}.json`,{method:"get",params:xe})})}function ft(xe){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:xe})})}function ot(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"put",body:xe})})}function qe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_shixun_to_stage.json`,{method:"post",body:xe})})}const Ne=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.stage_id}/select_challenge_to_stage.json`,{method:"post",body:xe})});function ye(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/select_shixun_to_stage.json`,{method:"post",body:xe})})}function ke(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_video_to_stage.json`,{method:"post",body:xe})})}function $e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_attachment_to_stage.json`,{method:"post",body:xe})})}function He(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe.id}.json`,{method:"put",body:xe})})}function Qe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_blank_to_stage.json`,{method:"post",body:xe})})}function ut(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:xe})})}function pt(xe){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:xe})})}function or(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/up_position.json`,{method:"get"})})}function tr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/down_position.json`,{method:"get"})})}function Me(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"delete"})})}function tt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.pathId}/discusses.json`,{method:"get",params:h({},xe)})})}function Yt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/excellent_discusses.json`,{method:"get",params:h({},xe)})})}function Ot(xe){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},xe)})})}function Zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/move_position`,{method:"post",body:h({},xe)})})}function Gt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/${xe.id}`,{method:"delete"})})}function lr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/excellent_discuss`,{method:"post",body:h({},xe)})})}function Ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/post_discuss`,{method:"post",body:h({},xe)})})}function Te(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:xe})})}function ce(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:xe})})}function pe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:xe})})}function Tt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/add_homework_to_stage.json`,{method:"post",body:xe})})}function Ae(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}/edit.json`,{method:"get",params:xe})})}function st(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}.json`,{method:"put",body:xe})})}function $t(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/subjects/subject_homework.json`,{method:"get",params:xe})})}function bt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/courses/course_homework.json`,{method:"get",params:xe})})}function Ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/batch_add_homework_to_stage.json`,{method:"post",body:xe})})}function yt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:xe})})}function ze(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_login}/subjects/cancel.json`,{method:"get",params:xe})})}},43150:function(d,g,e){"use strict";e.d(g,{Fd:function(){return se},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return q},MK:function(){return G},Q9:function(){return I},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return oe},iV:function(){return le},jy:function(){return H},kp:function(){return ne},lf:function(){return A},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return V},wh:function(){return ae},wo:function(){return ee},x$:function(){return Q}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,ie,me)=>ie in j?i(j,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ie]=me,h=(j,ie)=>{for(var me in ie||(ie={}))c.call(ie,me)&&o(j,me,ie[me]);if(l)for(var me of l(ie))f.call(ie,me)&&o(j,me,ie[me]);return j},u=(j,ie,me)=>new Promise((Se,Pe)=>{var Ge=ht=>{try{Dt(me.next(ht))}catch(Pt){Pe(Pt)}},je=ht=>{try{Dt(me.throw(ht))}catch(Pt){Pe(Pt)}},Dt=ht=>ht.done?Se(ht.value):Promise.resolve(ht.value).then(Ge,je);Dt((me=me.apply(j,ie)).next())});const a=j=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j==null?void 0:j.id}/commit_word_cloud.json`,{method:"Get",params:j})});function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_lists.json`,{method:"get",params:h({},j)})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/common_header.json`,{method:"get"})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_setting.json`,{method:"get"})})}function m(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_setting.json`,{method:"post",body:h({},j)})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},j)})})}function S(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/publish_groups.json`,{method:"get",params:h({},j)})})}function k(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_result.json`,{method:"get",params:h({},j)})})}function R(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},j)})})}function A(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},j)})})}function I(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},j)})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls.json`,{method:"POST",body:h({},j)})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/edit.json`,{method:"get"})})}function N(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function K(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function G(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}/poll_questions.json`,{method:"post",body:h({},j)})})}function H(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function ae(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ne(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"get"})})}function oe(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function J(j){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function Q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function V(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function se(j){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},j)})})}function ee(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.id}.json`,{method:"put",body:h({},j)})})}function le(j){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},j)})})}function Z(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.exerciseId}/up_down.json`,{method:"post",body:h({},j)})})}},11517:function(d,g,e){"use strict";e.d(g,{$c:function(){return ut},A1:function(){return He},Bd:function(){return I},Bo:function(){return J},Cc:function(){return se},Cn:function(){return le},DF:function(){return R},Dm:function(){return Ue},FG:function(){return oe},GW:function(){return _t},HF:function(){return G},Hm:function(){return j},IJ:function(){return $e},L5:function(){return ar},LS:function(){return et},MZ:function(){return ye},Mr:function(){return ne},NZ:function(){return Dt},Of:function(){return S},Pl:function(){return k},Qj:function(){return m},Qp:function(){return ot},RT:function(){return Me},Rp:function(){return ft},U6:function(){return H},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return pt},d1:function(){return y},dt:function(){return or},et:function(){return me},ex:function(){return b},fY:function(){return Se},fn:function(){return A},hI:function(){return ht},hg:function(){return Ne},iT:function(){return Q},lS:function(){return je},nD:function(){return Mt},qN:function(){return ie},rV:function(){return N},s:function(){return Ge},sD:function(){return ke},sS:function(){return Rt},ts:function(){return V},vi:function(){return Qe},wX:function(){return qe},x5:function(){return K},zh:function(){return Pe}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(tt,Yt,Ot)=>Yt in tt?i(tt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):tt[Yt]=Ot,a=(tt,Yt)=>{for(var Ot in Yt||(Yt={}))o.call(Yt,Ot)&&u(tt,Ot,Yt[Ot]);if(f)for(var Ot of f(Yt))h.call(Yt,Ot)&&u(tt,Ot,Yt[Ot]);return tt},x=(tt,Yt)=>l(tt,c(Yt)),p=(tt,Yt,Ot)=>new Promise((Zt,Gt)=>{var lr=ce=>{try{Te(Ot.next(ce))}catch(pe){Gt(pe)}},Ht=ce=>{try{Te(Ot.throw(ce))}catch(pe){Gt(pe)}},Te=ce=>ce.done?Zt(ce.value):Promise.resolve(ce.value).then(lr,Ht);Te((Ot=Ot.apply(tt,Yt)).next())});function y(tt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},tt),{clazz:"ItemBanksGroup"})})})}function m(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:tt})})}function b(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:tt})})}function S(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:tt})})}function k(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_private.json`,{method:"post"})})}function R(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_public.json`,{method:"post"})})}function A(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"delete"})})}function I(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/start.json`,{method:"get"})})}function M(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete",body:a({},tt)})})}function B(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:tt})})}function N(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function K(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:tt.type}})})}function G(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function H(tt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:tt})})}function ae(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"put",body:tt})})}function ne(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:tt})})}function oe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/edit.json`,{method:"get"})})}function J(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/edit.json`,{method:"get"})})}function Q(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:tt})})}function V(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_score.json`,{method:"post",body:tt})})}function se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_challenge_score.json`,{method:"post",body:tt})})}function ee(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function q(tt){return p(this,null,function*(){return Fetch(`/api/examination_banks//${tt.exerid}/examination_banks_item_banks/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete"})})}function Z(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:tt})})}function j(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:tt})})}function ie(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/adjust_position.json`,{method:"post",body:tt})})}function me(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:tt})})}function Se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.id}/revoke_item.json`,{method:"delete",body:tt})})}function Pe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.exam_id}/examination_banks_item_banks.json`,{method:"post",body:tt})})}function Ge(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/join_to_collection.json`,{method:"post",params:tt})})}function je(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/cancel_collection.json`,{method:"post",params:tt})})}function Dt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:tt})})}function ht(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:tt})})}function Pt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks/${tt.id}/join_to_group.json`,{method:"post",body:tt})})}function Wt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${tt.id}.json`,{method:"put",body:tt})})}function Rt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:tt})})}function ar(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/feedback.json`,{method:"post",body:tt})})}function Ue(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:tt})})}function _t(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:tt})})}function Mt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:tt})})}function et(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:tt})})}function ft(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:tt})})}function ot(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:tt})})}function qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt==null?void 0:tt.id}/set_public.json`,{method:"post",body:tt})})}function Ne(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:tt})})}function ye(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/publish.json`,{method:"post",body:tt})}function ke(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/cancel_publish.json`,{method:"post",body:tt})}function $e(tt){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...tt.id]}})}function He(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/up_position.json`,{method:"get",params:tt})})}function Qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/down_position.json`,{method:"get",params:tt})})}function ut(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${tt.id}/edit_hack.json`,{method:"get",params:tt})})}function pt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:tt})})}function or(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:tt})})}function tr(tt){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:tt})})}function Me(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},37822:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38147),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{m(u.next(b))}catch(S){x(S)}},y=b=>{try{m(u.throw(b))}catch(S){x(S)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},88761:function(d,g,e){"use strict";e.d(g,{Am:function(){return m},Ar:function(){return Ue},BD:function(){return Qe},Be:function(){return qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Rt},H1:function(){return ar},Hj:function(){return pt},JA:function(){return tr},JG:function(){return se},KE:function(){return Z},Lz:function(){return $e},Mf:function(){return Wt},NA:function(){return ht},PC:function(){return je},PP:function(){return Dt},PW:function(){return et},Q3:function(){return q},QC:function(){return Me},Qt:function(){return He},Qz:function(){return I},R$:function(){return Te},RP:function(){return oe},Ti:function(){return bt},Uc:function(){return Zt},Ul:function(){return Q},VB:function(){return st},Vs:function(){return Gt},Wr:function(){return R},Xn:function(){return J},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return Mt},cN:function(){return B},co:function(){return Ne},cz:function(){return Pe},fK:function(){return G},gG:function(){return Ge},gZ:function(){return Ot},h$:function(){return N},ku:function(){return ke},lf:function(){return ie},m7:function(){return V},mQ:function(){return M},mz:function(){return ot},n$:function(){return j},oK:function(){return y},oN:function(){return $t},pH:function(){return ut},pb:function(){return Ae},qP:function(){return tt},ql:function(){return Yt},rN:function(){return ye},sw:function(){return me},t1:function(){return Se},to:function(){return ne},ub:function(){return or},ux:function(){return le},wS:function(){return Tt},wT:function(){return A},yT:function(){return _t},yy:function(){return lr},z2:function(){return ft}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ce,yt,ze)=>yt in Ce?i(Ce,yt,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ce[yt]=ze,a=(Ce,yt)=>{for(var ze in yt||(yt={}))o.call(yt,ze)&&u(Ce,ze,yt[ze]);if(f)for(var ze of f(yt))h.call(yt,ze)&&u(Ce,ze,yt[ze]);return Ce},x=(Ce,yt)=>l(Ce,c(yt)),p=(Ce,yt,ze)=>new Promise((xe,dt)=>{var It=mt=>{try{Or(ze.next(mt))}catch(Jr){dt(Jr)}},Be=mt=>{try{Or(ze.throw(mt))}catch(Jr){dt(Jr)}},Or=mt=>mt.done?xe(mt.value):Promise.resolve(mt.value).then(It,Be);Or((ze=ze.apply(Ce,yt)).next())});const y=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.id}/update_journals.json`,{method:"post",body:Ce})}),m=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/change_score.json`,{method:"post",body:Ce})}),b=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/history_comment`,{method:"Get",params:Ce})}),S=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/feedback_know`,{method:"Get",params:Ce})}),k=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.userId}/student_work_feedbacks.json`,{method:"POST",body:Ce})}),R=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.userId}/feedback_list.json`,{method:"Get",params:Ce})}),A=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.userId}/histories.json`,{method:"Get",params:Ce})}),I=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/feedback_list`,{method:"Get",params:Ce})}),M=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ce})}),B=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/appeal_list`,{method:"Get",params:Ce})});function N(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/works_list.json`,{method:"post",body:a({},Ce)})})}function K(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ce.categoryId}/student_works.json`,{method:"get",params:a({},Ce)})})}function G(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ce.categoryId}/header_info.json`,{method:"get",params:a({},Ce)})})}function H(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce}/query_game_url.json`,{method:"get"})})}function ae(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}.json`,{method:"get"})})}function oe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/code_review_results.json`,{method:"get",params:a({},Ce)})})}function J(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ce)})})}function Q(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/settings.json`,{method:"get",params:a({},Ce)})})}function V(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_settings.json`,{method:"post",body:a({},Ce)})})}function se(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/group_list.json`,{method:"get",params:a({},Ce)})})}function ee(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ce)})})}function q(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.coursesId}/reference_answer.json`,{method:"get",params:a({},Ce)})})}function le(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/publish_groups.json`,{method:"get",params:a({},Ce)})})}function Z(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/end_groups.json`,{method:"get",params:a({},Ce)})})}function j(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ce)})})}function ie(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ce)})})}function me(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/shixun_work_report.json`,{method:"get",params:Ce})})}function Se(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ce})})}function Pe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ce),{id:Ce.categoryId})})})}function Ge(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ce)})})}function je(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/show_comment.json`,{method:"get",params:a({},Ce)})})}function Dt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ce)})})}function ht(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ce)})})}function Pt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ce)})})}function Wt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ce)})})}function Rt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_explanation.json`,{method:"post",body:a({},Ce)})})}function ar(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons.json`,{method:"post",body:a({},Ce)})})}function Ue(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}.json`,{method:"put",body:a({},Ce)})})}function _t(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ce.id}.json`,{method:"put",body:a({},Ce)})})}function Mt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ce)})})}function et(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/edit.json`,{method:"get",params:a({},Ce)})})}function ft(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}.json`,{method:"put",body:a({},Ce)})})}function ot(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ce)})})}function qe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ce)})})}function Ne(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ce)})})}function ye(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function ke(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ce)})})}function $e(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ce)})})}function He(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ce)})})}function Qe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/edit.json`,{method:"get",params:a({},Ce)})})}function ut(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ce.id}.json`,{method:"get",params:a({},Ce)})})}function pt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}.json`,{method:"get",params:a({},Ce)})})}function or(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/supply_attachments.json`,{method:"get",params:a({},Ce)})})}function tr(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/comment_list.json`,{method:"get",params:a({},Ce)})})}function Me(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/destroy_score.json`,{method:"delete",body:a({},Ce)})})}function tt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/add_score_reply.json`,{method:"post",body:a({},Ce)})})}function Yt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/all_student_works.json`,{method:"get",params:a({},Ce)})})}function Ot(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ce)})})}function Zt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/score_status.json`,{method:"get",params:a({},Ce)})})}function Gt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_score.json`,{method:"get",params:a({},Ce)})})}function lr(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/add_score.json`,{method:"post",body:a({},Ce)})})}function Ht(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce.userId}/cancel_appeal.json`,{method:"post",body:a({},Ce)})})}function Te(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ce)})})}function ce(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ce)})})}function pe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ce.id}/reset_my_game.json`,{method:"get",params:a({},Ce)})})}function Tt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/commit_des.json`,{method:"get",params:a({},Ce)})})}function Ae(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/update_des.json`,{method:"post",body:a({},Ce)})})}function st(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ce)})})}function $t(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ce)})})}function bt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ce)})})}},60979:function(d,g,e){"use strict";e.d(g,{$Q:function(){return Jt},AE:function(){return Gt},AQ:function(){return M},Ag:function(){return yt},Ar:function(){return le},At:function(){return Kt},BK:function(){return K},Bj:function(){return Mt},DC:function(){return Ue},Dz:function(){return Bt},E4:function(){return ar},EH:function(){return ie},Ee:function(){return Yn},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return Pe},Gr:function(){return ot},Gu:function(){return Se},Gz:function(){return b},HS:function(){return Ta},Hl:function(){return y},IT:function(){return bt},I_:function(){return A},Ir:function(){return G},Je:function(){return Be},K:function(){return br},K0:function(){return En},KM:function(){return J},K_:function(){return Qt},LK:function(){return Or},LP:function(){return Ge},Ne:function(){return se},OV:function(){return Dt},OW:function(){return j},Op:function(){return Nt},P2:function(){return Pt},Po:function(){return I},Ps:function(){return qe},Q:function(){return V},Q1:function(){return Qr},QA:function(){return ha},Ql:function(){return ye},Rs:function(){return Me},SG:function(){return Zi},Tn:function(){return Ht},Tr:function(){return ea},U0:function(){return Qe},U9:function(){return Ne},UQ:function(){return Ae},Ui:function(){return Lt},Vx:function(){return jn},WO:function(){return q},WT:function(){return Yi},Wi:function(){return et},Wl:function(){return ze},X$:function(){return Wt},Yn:function(){return ce},Z2:function(){return _t},ZO:function(){return ft},Zt:function(){return qt},_7:function(){return Q},_9:function(){return pe},aH:function(){return ke},al:function(){return or},b8:function(){return Z},bq:function(){return Te},dK:function(){return H},e:function(){return k},eX:function(){return me},eb:function(){return tt},fL:function(){return It},h4:function(){return Hr},hS:function(){return m},he:function(){return R},hn:function(){return ne},ii:function(){return tr},im:function(){return Tt},j8:function(){return je},jq:function(){return an},kF:function(){return Jr},km:function(){return pt},l3:function(){return ht},m7:function(){return He},mI:function(){return ji},n5:function(){return B},nu:function(){return mt},p0:function(){return $t},q0:function(){return Zt},q9:function(){return At},qA:function(){return Ir},rO:function(){return Ot},rs:function(){return oe},sr:function(){return st},t2:function(){return Ce},tX:function(){return St},uo:function(){return ut},v3:function(){return dt},w:function(){return xe},xK:function(){return lr},xg:function(){return Yt},xk:function(){return Rt},yE:function(){return $e},yx:function(){return Ai},zD:function(){return ae},zH:function(){return wr}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(xt,xa,Wi)=>xa in xt?i(xt,xa,{enumerable:!0,configurable:!0,writable:!0,value:Wi}):xt[xa]=Wi,a=(xt,xa)=>{for(var Wi in xa||(xa={}))o.call(xa,Wi)&&u(xt,Wi,xa[Wi]);if(f)for(var Wi of f(xa))h.call(xa,Wi)&&u(xt,Wi,xa[Wi]);return xt},x=(xt,xa)=>l(xt,c(xa)),p=(xt,xa,Wi)=>new Promise((vi,Da)=>{var Gi=we=>{try{zn(Wi.next(we))}catch(nt){Da(nt)}},ei=we=>{try{zn(Wi.throw(we))}catch(nt){Da(nt)}},zn=we=>we.done?vi(we.value):Promise.resolve(we.value).then(Gi,ei);zn((Wi=Wi.apply(xt,xa)).next())});const y=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:xt})}),m=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:xt})}),b=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:xt})}),S=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:xt})}),k=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:xt})});function R(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},xt)})})}function A(xt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},xt||{})})})}function I(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"Get",params:xt})})}function M(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/show_right.json`,{method:"Get"})})}function B(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges.json`,{method:"Get"})})}function N(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:xt.save_type}})})}function K(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/jupyter_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function G(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function H(xt){return p(this,null,function*(){return(0,r.ZP)(xt.url,{method:"Get"})})}function ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_up.json`,{method:"Get"})})}function ne(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_down.json`,{method:"Get"})})}function oe(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function J(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function Q(xt){return p(this,null,function*(){const{id:xa}=xt||{};return(0,r.ZP)(`/api/shixuns/${xa}/search_user_courses.json`,{method:"Get",params:xt})})}function V(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt==null?void 0:xt.id}/send_to_course.json`,{method:"Post",body:a({},xt)})})}function se(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_publish.json`,{method:"Get"})})}function ee(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_apply_public.json`,{method:"Get"})})}function q(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/apply_public.json`,{method:"post",body:a({},xt)})})}function le(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/publish.json`,{method:"Get"})})}function Z(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function j(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${xt.id}.json`,{method:"delete"})})}function ie(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:xt})})}function me(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:xt})})}function Se(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:xt})})}function Pe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_newest_record.json`,{method:"Get"})})}function Ge(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_shixun.json`,{method:"post",body:xt})})}function je(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators.json`,{method:"Get",params:xt})})}function Dt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_members_added.json`,{method:"post",body:xt})})}function ht(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/add_members_group.json`,{method:"post",body:xt})})}function Pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"Get",params:xt})})}function Wt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"post",body:xt})})}function Rt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:xt.userId}})})}function ar(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/ranking_list.json`,{method:"Get"})})}function Ue(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/settings.json`,{method:"Get"})})}function _t(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:xt.mirror_id}})})}function Mt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_script_contents.json`,{method:"Get",params:xt})})}function et(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_custom_script.json`,{method:"Get",params:xt})})}function ft(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_for_jupyter.json`,{method:"put",body:xt})})}function ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_quotes.json`,{method:"Get"})})}function qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"delete"})})}function Ne(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/close.json`,{method:"post",body:xt})})}function ye(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:xt})})}function ke(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_permission_setting.json`,{method:"post",body:xt})})}function $e(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_learn_setting.json`,{method:"post",body:xt})})}function He(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_setting`,{method:"post",body:xt})})}function Qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_data_sets.json`,{method:"Get",params:xt})})}function ut(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:xt.deleteId}})})}function pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/new.json`,{method:"get"})})}function or(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/challenges.json`,{method:"post",body:a({},xt)})})}function tr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/edit.json`,{method:"get",params:{tab:xt.tab}})})}function Me(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"put",body:a({},xt)})})}function tt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_questions.json`,{method:"get"})})}function Yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/move_position.json`,{method:"post",body:a({},xt)})})}function Ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"delete",body:a({},xt)})})}function Zt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit.json`,{method:"get",params:a({},xt)})})}function Gt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/answer.json`,{method:"get",params:a({},xt)})})}function lr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/crud_answer.json`,{method:"post",body:a({},xt)})})}function Ht(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_choose_question.json`,{method:"post",body:a({},xt)});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_blank_question.json`,{method:"post",body:a({},xt)});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_judge_question.json`,{method:"post",body:a({},xt)})})}function Te(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})})})}function ce(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:xt.questionId}})})}function pe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Tt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},xt),{choose_id:xt.questionId})})})}function st(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function $t(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function bt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function Ce(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/repository.json`,{method:"post",body:xt})})}function ze(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/repository.json`,{method:"post",body:xt})})}function xe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/secret_repository.json`,{method:"post",body:xt})})}function dt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/add_file.json`,{method:"post",body:xt})})}function It(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/add_file.json`,{method:"post",body:xt})})}function Be(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/commits.json`,{method:"post",body:xt})})}function Or(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/file_content.json`,{method:"post",body:xt})})}function mt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/file_content.json`,{method:"post",body:xt})})}function Jr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_file.json`,{method:"post",body:xt})})}function an(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/update_file.json`,{method:"post",body:xt})})}function Nt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/upload_git_folder.json`,{method:"post",body:{path:xt.path,secret_repository:xt.secret_repository}})})}function Jt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/${xt.url}`,{method:"Get"})})}function Lt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:xt})})}function Qt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:xt})})}function wr(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:xt})})}function Ir(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:xt})})}function At(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:xt})})}function Kt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/fork_list.json`,{method:"Get",params:xt})})}function Bt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/change_editable.json`,{method:"put",body:a({},xt)})})}function qt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/set_secret_dir.json`,{method:"post",body:a({},xt)})})}function br(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:xt})})}function Qr(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:xt})})}function Hr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function jn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function En(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_secret_repository.json`,{method:"post",body:a({},xt)})})}function Yn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/exist_exercise.json`,{method:"get",params:a({},xt)})})}function St(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${xt.id}.json`,{method:"get",params:a({},xt)})})}function Vr(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/publish.json`,{method:"post",body:a({},xt)})})}function ii(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_vnc.json`,{method:"post",params:a({},xt)})})}function Bi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_webssh.json`,{method:"post",params:a({},xt)})})}function $n(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/save_image.json`,{method:"post",body:a({},xt)})})}function ci(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/delete_image.json`,{method:"post",body:a({},xt)})})}function Oi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/extend_vnc.json`,{method:"post",body:a({},xt)})})}function zi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/reset_vnc_link.json`,{method:"post",body:a({},xt)})})}function Ai(xt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},xt)})})}function ji(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},xt)})})}function ha(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},xt)})})}function ea(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:xt})})}function Yi(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${xt}`,{method:"get",params:{is_initiative_study:1}})})}function mi(xt){return p(this,null,function*(){return Fetch(`/api/shixuns/${xt.id}/update_shixun_study_num.json`,{method:"post",body:a({},xt)})})}function Zi(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:xt})})}function Ta(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt}/recommend_config.json`,{method:"get"})})}},93539:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return m},rM:function(){return I},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,ae,ne)=>ae in H?i(H,ae,{enumerable:!0,configurable:!0,writable:!0,value:ne}):H[ae]=ne,h=(H,ae)=>{for(var ne in ae||(ae={}))c.call(ae,ne)&&o(H,ne,ae[ne]);if(l)for(var ne of l(ae))f.call(ae,ne)&&o(H,ne,ae[ne]);return H},u=(H,ae,ne)=>new Promise((oe,J)=>{var Q=ee=>{try{se(ne.next(ee))}catch(q){J(q)}},V=ee=>{try{se(ne.throw(ee))}catch(q){J(q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(Q,V);se((ne=ne.apply(H,ae)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function I(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:ae})})}function K(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:ae})})}function G(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:ae})})}},89540:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return Q},DA:function(){return I},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Wt},FM:function(){return ne},Fn:function(){return q},Gq:function(){return ar},Ho:function(){return B},IU:function(){return me},JJ:function(){return le},Ol:function(){return je},Qx:function(){return ae},Tv:function(){return Z},V8:function(){return x},WS:function(){return V},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Rt},dE:function(){return ie},dt:function(){return j},gI:function(){return se},lO:function(){return oe},mW:function(){return G},n0:function(){return A},nV:function(){return Ge},o1:function(){return Dt},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return Pe},vR:function(){return S},w3:function(){return K},x4:function(){return R},z2:function(){return ht}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ue,_t,Mt)=>_t in Ue?i(Ue,_t,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ue[_t]=Mt,h=(Ue,_t)=>{for(var Mt in _t||(_t={}))c.call(_t,Mt)&&o(Ue,Mt,_t[Mt]);if(l)for(var Mt of l(_t))f.call(_t,Mt)&&o(Ue,Mt,_t[Mt]);return Ue},u=(Ue,_t,Mt)=>new Promise((et,ft)=>{var ot=ye=>{try{Ne(Mt.next(ye))}catch(ke){ft(ke)}},qe=ye=>{try{Ne(Mt.throw(ye))}catch(ke){ft(ke)}},Ne=ye=>ye.done?et(ye.value):Promise.resolve(ye.value).then(ot,qe);Ne((Mt=Mt.apply(Ue,_t)).next())});const a=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}/move.json`,{method:"post",body:Ue})}),x=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"delete",body:Ue})}),p=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"put",body:Ue})}),y=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ue})}),m=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ue})});function b(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ue)})})}function S(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ue)})})}function R(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ue)})})}function A(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function I(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/homepage_info.json`,{method:"get"})})}function M(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/courses.json`,{method:"get",params:Ue})})}function N(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/shixuns.json`,{method:"get",params:Ue})})}function K(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/subjects.json`,{method:"get",params:Ue})})}function G(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/projects.json`,{method:"get",params:Ue})})}function H(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos.json`,{method:"get",params:Ue})})}function ae(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/review.json`,{method:"get",params:Ue})})}function ne(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.id}.json`,{method:"delete"})})}function oe(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ue})})}function J(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ue})})}function Q(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ue})})}function V(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ue})})}function se(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ue})})}function ee(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ue})})}function q(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.object_id}/create_course_video.json`,{method:"post",body:Ue})})}function le(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ue.topicId}.json`,{method:"get",params:Ue})})}function Z(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ue)})})}function j(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/batch_publish.json`,{method:"post",body:Ue})})}function ie(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ue.identifier}/cancel.json`,{method:"delete",body:h({},Ue)})})}function me(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ue)})})}function Se(Ue){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ue)})})}function Pe(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function Ge(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Ue){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ue})}function Dt(Ue){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ue})}function ht(Ue){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ue)})}function Pt(Ue){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ue)})}function Wt(Ue){return(0,r.ZP)(`/api/users/accounts/${Ue.login}/password.json`,{method:"put",body:h({},Ue)})}function Rt(Ue){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ue)})}function ar(Ue){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ue)})}},54624:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ne},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return H}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(J,Q,V)=>Q in J?i(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:V}):J[Q]=V,h=(J,Q)=>{for(var V in Q||(Q={}))c.call(Q,V)&&o(J,V,Q[V]);if(l)for(var V of l(Q))f.call(Q,V)&&o(J,V,Q[V]);return J},u=(J,Q,V)=>new Promise((se,ee)=>{var q=j=>{try{Z(V.next(j))}catch(ie){ee(ie)}},le=j=>{try{Z(V.throw(j))}catch(ie){ee(ie)}},Z=j=>j.done?se(j.value):Promise.resolve(j.value).then(q,le);Z((V=V.apply(J,Q)).next())});function a(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function m(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function S(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function A(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function I(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function K(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function G(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function ae(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function ne(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function oe(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},35965:function(d,g,e){"use strict";e.d(g,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return I},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(38147),i=(H,ae,ne)=>new Promise((oe,J)=>{var Q=ee=>{try{se(ne.next(ee))}catch(q){J(q)}},V=ee=>{try{se(ne.throw(ee))}catch(q){J(q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(Q,V);se((ne=ne.apply(H,ae)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function I(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:ae})})}function M(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:ae})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:ae})})}function K(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:ae})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},41867:function(d,g,e){"use strict";e.d(g,{$O:function(){return Q},EO:function(){return pt},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return ut},Jd:function(){return J},Ny:function(){return k},RV:function(){return ne},Rb:function(){return N},Rm:function(){return G},V9:function(){return ie},Yh:function(){return le},aN:function(){return b},aQ:function(){return u},ag:function(){return Qe},bg:function(){return tr},d8:function(){return B},dE:function(){return ae},eB:function(){return oe},eY:function(){return Me},fn:function(){return He},h:function(){return lr},j5:function(){return m},m$:function(){return tt},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Ot},y8:function(){return or}});var r=e(65582),i=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.CertifiedTeacher=5]="CertifiedTeacher",Ht[Ht.TrainingProduction=8]="TrainingProduction",Ht[Ht.UncertifiedTeacher=12]="UncertifiedTeacher",Ht[Ht.Student=15]="Student",Ht))(i||{}),l=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.Admin=5]="Admin",Ht[Ht.Teacher=8]="Teacher",Ht[Ht.Assistant=12]="Assistant",Ht[Ht.Student=15]="Student",Ht))(l||{}),c=(Ht=>(Ht[Ht.SuperAdmin=0]="SuperAdmin",Ht[Ht.Teacher=1]="Teacher",Ht[Ht.Student=2]="Student",Ht))(c||{});const f=Ht=>{const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return Ht.some(pe=>pe==(ce==null?void 0:ce.role))},o=Ht=>{const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return ce!=null&&ce.own?!0:Ht.some(pe=>{var Tt;return pe==((Tt=ce==null?void 0:ce.course)==null?void 0:Tt.course_role)})},h=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Te}=Ht;return Te.main_site},u=()=>{var Ht;const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return(Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_is_end},a=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Te}=Ht;return Te.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),m=()=>o([1]),b=()=>o([1,2,5]),S=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),I=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),K=()=>o([1,2,5,8]),G=()=>o([12]),H=()=>o([8]),ae=()=>o([15]),ne=()=>o([1,2,5,8,12,15]),oe=()=>o([1,2,5,8,12]),J=()=>{var Ht;const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return((Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_role)===null},Q=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Te}=Ht;return Te==null?void 0:Te.has_big_model_permission},V=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Te}=Ht;return Te==null?void 0:Te.big_model_user_unlimited},se=(Ht=!0,Te=!1)=>f([1,2,5,8,12,15]),ee=(Ht=!0,Te=!1)=>Te||!Te&&f([1]),q=(Ht=!0,Te=!1)=>Te||!Te&&f([1,2]),le=()=>f([15]),Z=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),j=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),ie=(Ht=!0,Te=!1)=>{const{user:ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=ce;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},me=(Ht=!0,Te=!1)=>Ht?f([1]):Te||!Te&&f([1]),Se=(Ht=!0,Te=!1)=>Ht?f([1,2]):Te||!Te&&f([1,2]),Pe=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),Ge=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):Te||!Te&&f([1,2]),je=(Ht=!0,Te=!1)=>Ht?f([1,2,5]):Te||!Te&&f([1,2]),Dt=(Ht=!0,Te=!1)=>Ht?f([1]):!1,ht=(Ht=!0,Te=!1)=>f([1,2,5,8,12,15]),Pt=(Ht=!0,Te=!1)=>Ht?f([1]):Te||!Te&&f([1]),Wt=(Ht=!0,Te=!1)=>Ht?f([1,2]):Te||!Te&&f([1,2]),Rt=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),ar=(Ht=!0,Te=!1)=>Ht?!1:Te||!Te&&f([1,2]),Ue=(Ht=!0,Te=!1)=>Ht?Te||!Te&&f([1,2]):!1,_t=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):!1,Mt=(Ht=!0,Te=!1)=>Ht?!Te&&f([1,2,5,8,12]):!1,et=(Ht=!0,Te=!1)=>Ht?f([1,2,5]):Te||!Te&&f([1,2]),ft=(Ht=!0,Te=!1)=>f([1,2,5,8,12]),ot=(Ht=!0,Te=!1)=>Ht?f([1]):Te||!Te&&f([1]),qe=(Ht=!0,Te=!1)=>Ht?f([1,2]):Te||!Te&&f([1,2]),Ne=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):Te||!Te&&f([1,2]),ye=(Ht=!0,Te=!1)=>Ht?Te||!Te&&f([1,2]):!1,ke=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):Te||!Te&&f([1,2]),$e=(Ht=!0,Te=!1)=>o([8]),He=()=>f([1]),Qe=()=>f([1,2]),ut=()=>f([15]),pt=()=>f([1,2,5]),or=()=>f([1,2,5,12]),tr=()=>{var Ht;const{user:Te}=(0,r.getDvaApp)()._store.getState();return!!((Ht=Te.userInfo)!=null&&Ht.login)},Me=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState();return Ht.userInfo},tt=()=>{var Ht,Te;const{user:ce}=(0,r.getDvaApp)()._store.getState();return!!((Te=(Ht=ce.userInfo)==null?void 0:Ht.path)!=null&&Te.own)},Yt=Ht=>{const{graduations:Te}=(0,r.getDvaApp)()._store.getState(),{details:ce}=Te;return Ht.some(pe=>pe===(ce==null?void 0:ce.user_identity))},Ot=()=>Yt([0,1]),Zt=()=>Yt([0]),Gt=()=>Yt([1]),lr=()=>Yt([2])},2337:function(d,g,e){"use strict";e.d(g,{Fy:function(){return o},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(l||{}),c=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(c||{}),f=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(f||{}),o=(u=>(u[u.DEFAULT=0]="DEFAULT",u[u.THEMEONE=1]="THEMEONE",u[u.THEMETWO=2]="THEMETWO",u[u.THEMETHREE=3]="THEMETHREE",u))(o||{}),h=(u=>(u.All="",u.Shixun="shixun",u.VideoItem="video",u.Attachment="attachment",u.Group_count="group_homework",u.Normal_count="normal_homework",u.ExaminationBank="exercise",u.HomeworkCommon="hack_homework",u.Discusses="Discusses",u.Challenge="challenge",u))(h||{})},37142:function(d,g,e){"use strict";e.d(g,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},74128:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.113",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38147:function(d,g,e){"use strict";e.d(g,{IV:function(){return Z},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return le},rz:function(){return ne},v_:function(){return q}});var r=e(74128),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(65582),a=e(65862),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(j,ie,me)=>ie in j?y(j,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ie]=me,I=(j,ie)=>{for(var me in ie||(ie={}))k.call(ie,me)&&A(j,me,ie[me]);if(S)for(var me of S(ie))R.call(ie,me)&&A(j,me,ie[me]);return j},M=(j,ie)=>m(j,b(ie)),B=(j,ie,me)=>new Promise((Se,Pe)=>{var Ge=ht=>{try{Dt(me.next(ht))}catch(Pt){Pe(Pt)}},je=ht=>{try{Dt(me.throw(ht))}catch(Pt){Pe(Pt)}},Dt=ht=>ht.done?Se(ht.value):Promise.resolve(ht.value).then(Ge,je);Dt((me=me.apply(j,ie)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=(j,ie)=>B(void 0,null,function*(){if(j.status>=200&&j.status<300)return j;const me=K[j.status]||j.statusText;let Se;var Pe=j.json();yield Pe.then((je,Dt)=>{setTimeout(()=>{let ht=(0,u.getDvaApp)()},400),Se=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`,description:je.message?"":me})});const Ge=new Error(me);throw Ge.name=j.status,Ge.response=j,{data:j,code:j.status,message:Se||me}}),H=(j,ie)=>{const me=j.headers.get("Content-Type");return me&&me.match(/application\/json/i)&&j.clone().text().then(()=>{}),j};function ae(j){try{return decodeURIComponent(j),decodeURIComponent(encodeURIComponent(j))===j}catch(ie){return!1}}const ne=j=>{j=j||{};let ie="";for(let me in j)typeof j[me]=="object"?Array.isArray(j[me])&&j[me].forEach((Se,Pe)=>{ie+="&"+me+"[]="+Se}):j[me]!==void 0&&(ie+="&"+me+"="+(ae(j[me])?j[me]:encodeURIComponent(j[me])));return ie.substr(1)};function oe(j,ie,me,Se){ie.method||(ie.method="get"),ie.method=ie.method.toUpperCase(),ie.mode="cors";const Pe=I({},ie),{user:Ge}=(0,u.getDvaApp)()._store.getState(),{userInfo:je}=Ge,Dt=j+(Pe.body?JSON.stringify(Pe.body):""),ht=o().sha256().update(Dt).digest("hex"),Pt={credentials:"include",withCredentials:!0},Wt={};je!=null&&je.login&&(Wt.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(Wt.zzsud=je==null?void 0:je.school_id),Pe.params=I(I({},Pe.params||{}),Wt));let Rt=I(I({},Pt),(0,x.cloneDeep)(Pe));(Rt.method==="POST"||Rt.method==="PUT"||Rt.method==="PATCH"||Rt.method==="DELETE")&&(me?(Rt.headers=M(I({_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Rt.body=Pe.body):(Rt.headers=I({Accept:"application/json",_method:ie.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Rt.headers),Rt.body=JSON.stringify(Pe.body))),Rt.method=="GET"?(Rt.headers=M(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Pe.params&&ne(Pe.params)&&(j+="?"+ne(Pe.params))):Wt.zzud&&(j+="?"+ne(I({},Wt)));const ar=Pe.expirys&&60;let Ue;(ft=>{ft.json="application/json;charset=UTF-8",ft.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ue||(Ue={}));let _t;(ft=>{ft.get="GET",ft.post="POST"})(_t||(_t={}));const Mt=ft=>B(this,null,function*(){const ot=yield ft.arrayBuffer();let qe;const Ne=new Blob([ot]);try{qe=ft.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(He){qe="userfiles.zip"}const ye=document.createElement("a"),ke=window.URL.createObjectURL(Ne),$e=qe;return ye.href=ke,ye.download=$e,ye.click(),window.URL.revokeObjectURL(ke),ot});let et=r.Z.API_SERVER;return(window.ENV==="dev"||j.startsWith("http"))&&(et=""),Rt.method=="GET"&&Rt.params&&Object.keys(Rt.params).map(ft=>{if(Rt.params[ft]&&!Array.isArray(Rt.params[ft]))try{Rt.params[ft]=encodeURIComponent(decodeURIComponent(Rt.params[ft]))}catch(ot){Rt.params[ft]=encodeURIComponent(Rt.params[ft])}}),(0,a.Ec)(Rt,j),Se&&(et=""),Rt.headers._method=Rt.method,Rt.headers["X-HTTP-Method-Override"]=Rt.method,Rt.method!=="GET"&&(Rt.method="POST"),fetch(et+j,Rt).then(ft=>G(ft,I({url:r.Z.API_SERVER+j},Rt))).then(ft=>H(ft,ht)).then(ft=>B(this,null,function*(){var ot,qe,Ne,ye;try{const $e=ft.headers.get("cs");$e&&(0,a.d8)("_educoder_session",$e,1)}catch($e){}if(ft.status===204)return ft.text();let ke;if(ft.headers.get("content-type").indexOf("application/json")>-1){ke=yield ft.json();try{const $e=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,He=/\"\/api\/attachments\/(\d+)\//g,Qe=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ut=/\/api\/attachments\/(\d+)/g,pt=/\/attachments\/download\/(\d+)/g;let or=JSON.stringify(ke).replace(ut,(tr,Me,tt,Yt)=>{const Ot=Me||tt||Yt;return"/api/attachments/"+(0,a.Jn)(Ot)}).replace(pt,(tr,Me,tt)=>{const Yt=Me||tt;return"/attachments/download/"+(0,a.Jn)(Yt)}).replace($e,(tr,Me,tt,Yt)=>{const Ot=Me||tt||Yt;return"(/api/attachments/"+(0,a.Jn)(Ot)}).replace(He,(tr,Me,tt)=>{const Yt=Me||tt;return'"/api/attachments/'+(0,a.Jn)(Yt)}).replace(Qe,(tr,Me,tt)=>{const Yt=Me||tt;return"(/files/uploads/"+(0,a.Jn)(Yt)}).replace(/\r\n/g,` -`);ke=JSON.parse(or)}catch($e){}}else Rt.headers["Content-Type"]==="application/xml"?ke=yield ft.text():(ot=Pe.body)!=null&&ot.autoDownload||(qe=Pe.params)!=null&&qe.autoDownload?ke=yield Mt(ft):ke=yield ft.arrayBuffer();try{ke.status===401&&(!((Ne=Rt.params)!=null&&Ne.hidePopLogin)||!((ye=Rt.body)!=null&&ye.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),ke.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch($e){console.log("fetcherr",$e)}return V(ke,j),ke})).catch(ft=>{try{const ot=ft.code;if(ft instanceof TypeError&&window.showNetworkErrorTip(`${j}${ft.message}`),ot){if(ot===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}V(ft,j)}else j.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Rt.body}}):ft.message!=="403"&&window.showNetworkErrorTip(`${j}${ft.message}`);return ft}catch(ot){}})}let J=!1,Q=!1;const V=(j,ie)=>{var me,Se,Pe;if(j.status==-6&&!Q){Q=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>Q=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:j.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(j.status==-7){Q=!0,setTimeout(()=>Q=!1,500);let je="";(me=j==null?void 0:j.data)!=null&&me.exercise_list&&((Pe=(Se=j==null?void 0:j.data)==null?void 0:Se.exercise_list)==null||Pe.map(Dt=>{je+=`
\u300A${Dt.exercise_name}\u300B`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${je} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((j.status==-1||j.status==-2||j.status==-102||j.status>400)&&j.status!=403&&!Q){Q=!0,setTimeout(()=>Q=!1,500),c.ZP.warning({content:j.message,key:"message-key"});return}const Ge={403:"/403",404:"/404",500:"/500"};if(Ge[j.status]&&!J){const{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Dt}=je;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(J=!0),setTimeout(()=>J=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(j)),Object.values(Ge).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Ge[j.status]),new Error("403")}};function se(j,ie){return oe(`/api/${j}`,{method:"Get",params:ie||{}})}function ee(j,ie){return oe(`/${j}`,{method:"Get",params:ie})}function q(j,ie){return oe(`/api/${j}`,{method:"Post",body:I({},ie)})}function le(j,ie){return oe(`/api/${j}`,{method:"Put",body:I({},ie)})}function Z(j,ie){return oe(`/api/${j}`,{method:"delete",body:I({},ie||{})})}},73637:function(d,g,e){"use strict";e.d(g,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},49142:function(d,g,e){"use strict";e.d(g,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(ae,ne){const oe=ae.match(/^(\s+)(?:```)/);if(oe===null)return ne;const J=oe[1];return ne.split(` +`)}]};var u=e(53184),a=e.n(u),x=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=ot=>{try{ft(ar.next(ot))}catch(qe){_t(qe)}},et=ot=>{try{ft(ar.throw(ot))}catch(qe){_t(qe)}},ft=ot=>ot.done?Ue(ot.value):Promise.resolve(ot.value).then(Mt,et);ft((ar=ar.apply(Wt,Rt)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=(Wt,Rt,ar,Ue)=>{const _t=Rt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:ar.lineNumber,endColumn:ar.column});return Array.from(new Set(_t.match(/\b\w{2,}\b/g)||[])).map(et=>({label:et,kind:Wt.languages.CompletionItemKind.Text,insertText:et,range:Ue}))},m=(Wt,Rt,ar,Ue)=>{Wt.languages.registerCompletionItemProvider(Rt,{provideCompletionItems(_t,Mt){const et=_t.getWordUntilPosition(Mt),ft={startLineNumber:Mt.lineNumber,endLineNumber:Mt.lineNumber,startColumn:et.startColumn,endColumn:et.endColumn},ot=_t.getLineContent(Mt.lineNumber).substring(et.startColumn-2,et.endColumn);return{suggestions:[...y(Wt,_t,Mt,ft),...ar.map(Ne=>({label:Ne,kind:Wt.languages.CompletionItemKind.Keyword,documentation:Ne,insertText:Ne,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ft})),...Ue.map(Ne=>({label:Ne.label,kind:Wt.languages.CompletionItemKind.Snippet,documentation:Ne.content,insertText:ot.startsWith("#")?Ne.content.replace(/#/,""):Ne.content,insertTextRules:Wt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ft}))]}}})};var b=Wt=>{p.languages.forEach(Rt=>{Wt.languages.registerDocumentFormattingEditProvider(Rt,{provideDocumentFormattingEdits(ar){return x(this,null,function*(){const Ue=a()(ar.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:ar.getFullModelRange(),text:Ue}]})}})}),m(Wt,"java",c.keywords,c.quickKey),m(Wt,"cpp",f.keywords,f.quickKey),m(Wt,"c",l.keywords,[]),m(Wt,"python",o.keywords,o.quickKey),m(Wt,"scala",h.keywords,h.quickKey)};const S="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(Wt,Rt,ar)=>Rt in Wt?k(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,A=(Wt,Rt,ar)=>R(Wt,typeof Rt!="symbol"?Rt+"":Rt,ar);const I=class a0{constructor(Rt,ar,Ue){this.placeholder=Rt,this.editor=ar,this.monaco=Ue,ar.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return a0.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};A(I,"ID","editor.widget.placeholderHint");var B=I,N=e(96236),K=e(8591),G=e(6848),H=e(89392),ae=e(77254),ne=e(56102),oe=Object.defineProperty,J=Object.defineProperties,Q=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,q=(Wt,Rt,ar)=>Rt in Wt?oe(Wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:ar}):Wt[Rt]=ar,le=(Wt,Rt)=>{for(var ar in Rt||(Rt={}))se.call(Rt,ar)&&q(Wt,ar,Rt[ar]);if(V)for(var ar of V(Rt))ee.call(Rt,ar)&&q(Wt,ar,Rt[ar]);return Wt},Z=(Wt,Rt)=>J(Wt,Q(Rt)),U=(Wt,Rt)=>{var ar={};for(var Ue in Wt)se.call(Wt,Ue)&&Rt.indexOf(Ue)<0&&(ar[Ue]=Wt[Ue]);if(Wt!=null&&V)for(var Ue of V(Wt))Rt.indexOf(Ue)<0&&ee.call(Wt,Ue)&&(ar[Ue]=Wt[Ue]);return ar},ie=(Wt,Rt,ar)=>new Promise((Ue,_t)=>{var Mt=ot=>{try{ft(ar.next(ot))}catch(qe){_t(qe)}},et=ot=>{try{ft(ar.throw(ot))}catch(qe){_t(qe)}},ft=ot=>ot.done?Ue(ot.value):Promise.resolve(ot.value).then(Mt,et);ft((ar=ar.apply(Wt,Rt)).next())});function me(Wt){return/^\d+$/.test(Wt)?`${Wt}px`:Wt}function Se(){}let Pe=!1;const Ge={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function je(Wt=[]){let Rt=Wt;if(Array.isArray(Wt)){for(let ar=0;ar{var Rt=Wt,{width:ar="100%",height:Ue="100%",value:_t,language:Mt="javascript",style:et={},options:ft={},overrideServices:ot={},theme:qe="vs-dark",onEditBlur:Ne,isCopy:ye=!1,onSave:ke,autoHeight:$e=!1,forbidCopy:He=!1,onChange:Qe=Se,editorDidMount:ut=Se,onFocus:pt=Se,onBreakPoint:or=Se,breakPointValue:tr=[],filename:Me="educoder.txt",errorLine:tt,errorContent:Yt="",highlightLine:Ot,openBreakPoint:Zt=!1,placeholder:Gt=""}=Rt,lr=U(Rt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ht=(0,r.useRef)(),Te=(0,r.useRef)({}),ce=(0,r.useRef)(),pe=(0,r.useRef)(),Tt=(0,r.useRef)([]),Ae=(0,r.useRef)(!1),st=(0,r.useRef)(),$t=(0,r.useRef)(),bt=(0,r.useRef)(!1),[Ce,yt]=(0,r.useState)(!1);function ze(){let At;return Ht.current&&(At=new i.Z(Kt=>{for(let Bt of Kt)(Bt.target.offsetHeight>0||Bt.target.offsetWidth>0)&&Te.current.instance.layout()}),At.observe(Ht.current)),At}function xe(){K.ZP.warning({content:decodeURIComponent(S),key:"monaco-editor-tip"})}const dt=()=>{let At=Te.current.instance;if(_t!=null&&At&&Ce){const Kt=At.getModel();Kt&&_t!==Kt.getValue()&&(Pe=!0,Kt.setValue(_t),At.layout(),Pe=!1)}};(0,r.useEffect)(()=>{const At=ae.Z.subscribe("formatDocument",Kt=>{var Bt;let qt=Te.current.instance;(Bt=qt==null?void 0:qt.getAction)==null||Bt.call(qt,"editor.action.formatDocument").run()});return window.updateMonacoValue=Kt=>{Qe(Kt)},At},[]),(0,r.useEffect)(()=>{var At;let Kt=Te.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{dt()},500),_t&&(_t!=null&&_t.length)&&((At=Kt==null?void 0:Kt.updateOptions)==null||At.call(Kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(_t.split(/\r\n|\r|\n/g).length))+3,5)}))},[_t,Ce,Te.current]),(0,r.useEffect)(()=>{if(tt&&Te.current&&Te.current.instance){let Kt=Te.current.instance;Kt.changeViewZones(function(Bt){var qt=document.createElement("div");qt.style.padding="10px 20px",qt.style.width="calc(100% - 20px)",qt.className="my-error-line-wrp",qt.innerHTML=Yt,Bt.addZone({afterLineNumber:tt||11,heightInLines:3,domNode:qt})});var At={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Kt.addOverlayWidget(At),Kt.revealPositionInCenter({lineNumber:20,column:1})}},[tt,Te.current,Ce]);const It=(At="",Kt)=>{if(!At||At.trim()==="")return!0;const qt=Te.current.instance.getModel().getLineTokens(Kt);let br=!1;for(let Qr=0;Qr<2;Qr++)qt.getStandardTokenType(Qr)===1&&(br=!0);return br};(0,r.useEffect)(()=>{var At;const Kt=(At=Te.current)==null?void 0:At.instance;if(Kt&&Ce&&He){const Bt=Kt.onDidBlurEditorWidget(()=>{bt.current=!1}),qt=Kt.onDidFocusEditorText(()=>{bt.current=!0});return()=>{Bt.dispose(),qt.dispose()}}},[Te.current,Ce,He]),(0,r.useEffect)(()=>{var At;if((At=Te.current)!=null&&At.instance&&Ce&&Zt){let Kt=Te.current.instance,Bt=Kt.getModel();if(!Bt)return;(()=>{var $n;let ci=[],Oi=[];const zi=Bt.getAllDecorations();for(let ji of zi)ji.options.className==="highlighted-line"&&(ci.push(($n=ji==null?void 0:ji.range)==null?void 0:$n.startLineNumber),Oi.push(ji==null?void 0:ji.id));if(Ot===ci[0])return;Bt.deltaDecorations(Oi,[]);const Ai=Bt.getLineCount();Ot&&Ot<=Ai&&(Kt.deltaDecorations([],[{range:new Dt.Range(Ot,1,Ot,Bt.getLineMaxColumn(Ot)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Kt.revealLineInCenter(Ot))})();const br=($n=!1)=>{var ci;let Oi=[],zi=[];const Ai=Bt.getAllDecorations();for(let ji of Ai)ji.options.linesDecorationsClassName==="breakpoints-select"&&(Oi.push((ci=ji==null?void 0:ji.range)==null?void 0:ci.startLineNumber),zi.push(ji==null?void 0:ji.id));if($n)return{lines:Oi,ids:zi};or(Oi)},Qr=$n=>ie(void 0,null,function*(){let ci={range:new Dt.Range($n,1,$n,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Bt.deltaDecorations([],[ci]),br()}),Hr=$n=>ie(void 0,null,function*(){let ci=[];const Oi=Kt.getLineDecorations($n);for(let zi of Oi)zi.options.linesDecorationsClassName==="breakpoints-select"&&ci.push(zi.id);yield Bt.deltaDecorations(ci,[]),br()}),jn=$n=>{let ci=Kt.getLineDecorations($n);for(let Oi of ci)if(Oi.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(tr,br(!0).lines)){Bt.deltaDecorations(br(!0).ids,[]);const $n=tr.map(ci=>({range:new Dt.Range(ci,1,ci,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Bt.deltaDecorations([],$n)}const En=Kt.onDidChangeModelContent($n=>{let ci=Kt.getPosition();if(ci){let Oi=ci.lineNumber;clearTimeout($t.current),$t.current=setTimeout(()=>{It(Bt.getLineContent(Oi),Oi)?Hr(Oi):jn(Oi)?(Hr(Oi),Qr(Oi)):br()},100)}}),Yn=Kt.onMouseDown($n=>{var ci,Oi,zi;if($n.target.detail&&((zi=(Oi=(ci=$n.target)==null?void 0:ci.element)==null?void 0:Oi.className)!=null&&zi.includes("line-numbers"))){let Ai=$n.target.position.lineNumber;if(It(Bt.getLineContent(Ai),Ai))return;jn(Ai)?Hr(Ai):Qr(Ai)}}),St=$n=>{let ci={range:new Dt.Range($n,1,$n,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Tt.current=Kt.deltaDecorations(Tt.current,[ci])},Vr=()=>{Tt.current=Kt.deltaDecorations(Tt.current,[])},ii=Kt.onMouseMove($n=>{var ci,Oi,zi;if(Vr(),$n.target.detail&&((zi=(Oi=(ci=$n.target)==null?void 0:ci.element)==null?void 0:Oi.className)!=null&&zi.includes("line-numbers"))){let Ai=$n.target.position.lineNumber;if(It(Bt.getLineContent(Ai),Ai))return;St(Ai)}}),Bi=Kt.onMouseLeave(()=>{Vr()});return()=>{En.dispose(),Yn.dispose(),ii.dispose(),Bi.dispose()}}},[Te.current,Ce,tr,Ot,Zt,Mt]),(0,r.useEffect)(()=>{var At;(At=Te.current)!=null&&At.instance&&Zt&&Te.current.instance.setPosition({lineNumber:0,column:0})},[Ot]);function Be(){let At=Te.current.instance;if(At){const Kt=At.getSelection(),Bt=Te.current.pastePos||{},qt=new Dt.Range(Bt.startLineNumber||Kt.endLineNumber,Bt.startColumn||Kt.endColumn,Bt.endLineNumber||Kt.endLineNumber,Bt.endColumn||Kt.endColumn);setTimeout(()=>{At.executeEdits("",[{range:qt,text:""}])},300)}}function Or(At){(window.navigator.platform.match("Mac")?At.metaKey:At.ctrlKey)&&At.keyCode==83&&(At.preventDefault(),ke())}const mt=()=>{if($e&&Te.current.instance){const At=Te.current.instance.getContentHeight();wr(At{if(!bt.current)return;const{keyCode:Kt,ctrlKey:Bt,metaKey:qt,target:br,type:Qr}=At;return(Qr==="paste"||(Kt===67||Kt===86)&&(qt||Bt))&&br.nodeName==="TEXTAREA"&&(xe(),At.preventDefault()),!1};function Nt(At,Kt){var Bt=window.URL||window.webkitURL||window,qt=new Blob([Kt]),br=document.createElementNS("http://www.w3.org/1999/xhtml","a");br.href=Bt.createObjectURL(qt),br.download=At,Jr(br)}(0,r.useEffect)(()=>{mt()},[mt]),(0,r.useEffect)(()=>{Ht.current&&!Ce&&Promise.all([e.e(8909),e.e(2460)]).then(e.bind(e,71448)).then(At=>{try{Dt=At,Te.current.instance=Dt.editor.create(Ht.current,{value:_t,language:je(Mt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ot);const Kt=Te.current.instance;let br=[...N.BH._menuItems].find(En=>En[0]._debugName=="EditorContext")[1],Qr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Hr=(En,Yn)=>{var St,Vr;let ii=En._first;do Yn.includes((Vr=(St=ii.element)==null?void 0:St.command)==null?void 0:Vr.id)&&En._remove(ii);while(ii=ii.next)};if(ut(Kt,Dt),setTimeout(()=>{mt(),Te.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Nt(Me||"educoder.txt",Kt.getValue())}})},500),Te.current.subscription=Kt.onDidChangeModelContent(En=>{Ae.current?clearTimeout(st.current):(mt(),Qe(Kt.getValue(),En)),st.current=setTimeout(()=>{Ae.current=!1},500)}),window.Monaco||b(Dt,je(Mt)),He&&(Hr(br,Qr),Ht.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",an),window.removeEventListener("paste",an),window.addEventListener("keydown",an),window.addEventListener("paste",an)),window.Monaco=Dt,Ne&&Kt.onDidBlurEditorWidget(()=>{Ne(Kt.getValue())}),pt&&Kt.onDidFocusEditorText(()=>{pt(Kt.getValue())}),He)try{Kt.onDidPaste(En=>{const Yn=Kt.getSelection(),St=Te.current.pastePos||{},Vr=new Dt.Range(St.startLineNumber||Yn.endLineNumber,St.startColumn||Yn.endColumn,St.endLineNumber||Yn.endLineNumber,St.endColumn||Yn.endColumn);Kt.executeEdits("",[{range:En.range,text:""}])})}catch(En){}let jn=ze();return Gt&&typeof Gt=="string"&&new B(Gt,Kt,Dt),yt(!0),()=>{const En=Te.current.instance;En.dispose();const Yn=En.getModel();Yn&&Yn.dispose(),Te.current.subscription&&Te.current.subscription.dispose(),jn.unobserve(Ht.current)}}catch(Kt){}})},[]),(0,r.useEffect)(()=>{if(Te.current.instance&&Ce)return document.addEventListener("keydown",Or,!1),()=>{document.removeEventListener("keydown",Or)}},[ke,Ce]),(0,r.useEffect)(()=>{let At=Te.current.instance;if(At&&Ce){let Kt=je(Mt);Dt.editor.setModelLanguage(At.getModel(),Kt)}},[Mt,Ce]),(0,r.useEffect)(()=>{Te.current.instance&&Ce&&Dt.editor.setTheme(qe)},[qe,Ce]),(0,r.useEffect)(()=>{let At=Te.current.instance;ce.current=ft,At&&Ce&&(At.updateOptions(le({},ft)),setTimeout(()=>{At.getModel().updateOptions(le({},ft))},200))},[JSON.stringify(ft),Ce]),(0,r.useEffect)(()=>{let At=Te.current.instance;At&&Ce&&At.layout()},[ar,Ue,Ce]);const[Jt,Lt]=(0,r.useState)(me(ar)),[Xt,wr]=(0,r.useState)(me(Ue)),Ir=Z(le({},et),{width:Jt,height:Xt,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Ht,style:Ir},ye&&r.createElement(ne.CopyToClipboard,{text:_t,onCopy:()=>K.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Pt({width:Wt="100%",height:Rt="100%",original:ar,modified:Ue,language:_t,options:Mt={}}){const et=(0,r.useRef)(),[ft,ot]=(0,r.useState)(null);function qe($e){let He;return et.current&&(He=new i.Z(Qe=>{for(let ut of Qe)(ut.target.offsetHeight>0||ut.target.offsetWidth>0)&&$e.layout()}),He.observe(et.current)),He}(0,r.useEffect)(()=>(et.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then($e=>{Dt=$e;const He=Dt.editor.createDiffEditor(et.current,Z(le({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Mt),{wordWrap:!0}));ot(He);let Qe=qe(He);return()=>{He.dispose();const ut=He.getModel();ut&&ut.dispose(),Qe.unobserve(et.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{ft&&ft.setModel({original:Dt.editor.createModel(ar,_t),modified:Dt.editor.createModel(Ue,_t)})},[ar,Ue,_t,ft]);const Ne=me(Wt),ye=me(Rt),ke={width:Ne,height:ye};return r.createElement("div",{className:"my-diff-editor",ref:et,style:ke})}},86967:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(55510),i=e(8591),l=e(2001),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,A)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,p=(k,R)=>{for(var A in R||(R={}))u.call(R,A)&&x(k,A,R[A]);if(h)for(var A of h(R))a.call(R,A)&&x(k,A,R[A]);return k},y=(k,R)=>f(k,o(R)),m=(k,R)=>{var A={};for(var I in k)u.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&h)for(var I of h(k))R.indexOf(I)<0&&a.call(k,I)&&(A[I]=k[I]);return A};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:A}){yield A({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:A,select:I}){const{userInfo:M}=yield I(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:I}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield I(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:I}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield I(ne=>ne.engineeringEvaluteList),{userInfo:H}=yield I(ne=>ne.user);let ae=K.active[b[1]];if(ae){let ne={id:ae,page:B||1,per_page:N||G.pageSize};M&&(ne=y(p({},ne),{page:G.pageNo}));const oe=yield R(r._y,ne),J=[K.active[b[0]],K.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:ne.page,total:oe.count,pageSize:ne.per_page||G.pageSize,dataSource:oe.ec_courses.map((Q,V)=>y(p({},Q),{key:ne.page>1?(ne.page-1)*ne.per_page+V+1:V+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:I}=yield A(M=>M.engineeringEvaluteList);I.active[b[1]]&&(yield R(r.F,I.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const I=k,{all:M}=I,B=m(I,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};g.Z=S},3033:function(d,g,e){"use strict";e.d(g,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:S,program_questions:k,completion_questions:R,subjective_questions:A,practical_questions:I,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},m),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},A),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},I),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>o(o({},K),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},2001:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(41867);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},47735:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return I},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return A}});var r=e(38147),i=(N,K,G)=>new Promise((H,ae)=>{var ne=Q=>{try{J(G.next(Q))}catch(V){ae(V)}},oe=Q=>{try{J(G.throw(Q))}catch(V){ae(V)}},J=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function I(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},5959:function(d,g,e){"use strict";e.d(g,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(m,b,S)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):m[b]=S,h=(m,b)=>{for(var S in b||(b={}))c.call(b,S)&&o(m,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(m,S,b[S]);return m},u=(m,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(N){R(N)}},I=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,I);M((S=S.apply(m,b)).next())});function a(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},7310:function(d,g,e){"use strict";e.d(g,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function m(A){return u(this,null,function*(){const{id:I}=A;return delete A.id,(0,r.ZP)(`/api/files/${I}.json`,{method:"put",body:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function S(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},26795:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var K=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},G=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(K,G);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function m(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function S(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},33270:function(d,g,e){"use strict";e.d(g,{$T:function(){return ci},A:function(){return $t},Ab:function(){return xa},Al:function(){return je},BQ:function(){return pt},BR:function(){return Ge},Bn:function(){return Yt},Cq:function(){return Bi},D4:function(){return b},DJ:function(){return Mt},Dd:function(){return N},Ds:function(){return tr},EO:function(){return bt},Ed:function(){return et},F9:function(){return Gt},FU:function(){return Ht},Fg:function(){return K},GV:function(){return ye},Gk:function(){return ie},Gm:function(){return He},Gz:function(){return G},Hf:function(){return a},Hl:function(){return H},Hn:function(){return ee},ID:function(){return jn},IU:function(){return It},J2:function(){return qe},K$:function(){return Me},KP:function(){return ft},KT:function(){return Ue},L$:function(){return Tt},LH:function(){return oe},Lk:function(){return zn},Lm:function(){return k},Ls:function(){return Wt},MA:function(){return ji},Mc:function(){return ei},N7:function(){return Pe},Nd:function(){return U},Nl:function(){return dt},Ns:function(){return En},O3:function(){return _t},Pj:function(){return $e},Q9:function(){return y},QX:function(){return xe},QZ:function(){return ar},R2:function(){return Se},Rk:function(){return $n},S9:function(){return Ae},SA:function(){return S},U8:function(){return St},UD:function(){return qt},U_:function(){return le},Uy:function(){return Qr},V8:function(){return se},Vw:function(){return Pt},W0:function(){return Or},W7:function(){return or},WK:function(){return ha},Wr:function(){return xt},YR:function(){return yt},Z0:function(){return Lt},ZL:function(){return an},ZT:function(){return Wi},ZX:function(){return Yi},Z_:function(){return J},_0:function(){return Q},_9:function(){return Qe},_B:function(){return Da},_X:function(){return p},aP:function(){return mt},aQ:function(){return ut},aZ:function(){return ce},al:function(){return st},bm:function(){return Bt},bz:function(){return Ot},c_:function(){return ii},ds:function(){return Kt},fN:function(){return ea},fr:function(){return Ce},g4:function(){return Ne},gq:function(){return ae},hf:function(){return ht},i:function(){return Xt},i6:function(){return zi},i7:function(){return Hr},iE:function(){return A},ih:function(){return mi},jA:function(){return m},kW:function(){return ot},km:function(){return Yn},nP:function(){return M},nQ:function(){return Zt},nX:function(){return Ir},oM:function(){return tt},oR:function(){return Gi},o_:function(){return Jr},pf:function(){return At},pr:function(){return vi},pv:function(){return Oi},qB:function(){return Dt},r2:function(){return V},rS:function(){return ne},s:function(){return Zi},sK:function(){return x},sb:function(){return pe},sm:function(){return B},t1:function(){return ke},tB:function(){return Ta},tR:function(){return lr},td:function(){return Be},uh:function(){return Te},up:function(){return Vr},v2:function(){return I},vV:function(){return Nt},w9:function(){return Z},wR:function(){return Ai},yS:function(){return ze},yV:function(){return me},yd:function(){return wr},zg:function(){return Rt}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(we,nt,Je)=>nt in we?i(we,nt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):we[nt]=Je,h=(we,nt)=>{for(var Je in nt||(nt={}))c.call(nt,Je)&&o(we,Je,nt[Je]);if(l)for(var Je of l(nt))f.call(nt,Je)&&o(we,Je,nt[Je]);return we},u=(we,nt,Je)=>new Promise((Ct,lt)=>{var hr=zr=>{try{Tr(Je.next(zr))}catch(en){lt(en)}},pr=zr=>{try{Tr(Je.throw(zr))}catch(en){lt(en)}},Tr=zr=>zr.done?Ct(zr.value):Promise.resolve(zr.value).then(hr,pr);Tr((Je=Je.apply(we,nt)).next())});const a=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/update_group.json`,{method:"put",body:we})}),x=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/students.json`,{method:"Get",params:we})}),p=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/add_groups.json`,{method:"post",body:we})}),y=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/list_groups_by_settings.json`,{method:"post",body:we})}),m=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/groups.json`,{method:"Get",params:we})}),b=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/update_leader_permission.json`,{method:"put",body:we})}),S=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/update_group_settings`,{method:"put",body:we})}),k=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.coursesId}/group_homeworks/${we==null?void 0:we.categoryId}/group_settings.json`,{method:"Get",params:we})}),R=we=>u(void 0,null,function*(){return Fetch(`/api/homework_commons/${we==null?void 0:we.id}/test_result_setting.json`,{method:"post",body:we})}),A=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/course_videos/configs.json`,{method:"put",body:we})}),I=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/course_videos/list_for_config.json`,{method:"Get",params:we})}),M=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:we})}),B=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/batch_late_setting`,{method:"post",body:we})}),N=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:we})}),K=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:we})}),G=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:we})}),H=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:we})});function ae(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},we.permissions)})})}function ne(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.course_id}/assistant_permissions.json`,{method:"Get",params:h({},we)})})}function oe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/ai_status_query.json`,{method:"Get",params:we})})}function J(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},we)})})}function Q(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/get_user_portrait_config.json`,{method:"Get",params:we})})}function V(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_user_portrait_config.json?id=${we.coursesId}`,{method:"put",body:h({},we)})})}function se(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},we)})})}function ee(we){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},we)})})}function q(we){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},we)})})}function le(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/top_banner.json`,{method:"get",params:h({},we)})})}function Z(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id||we.coursesId}/left_banner.json`,{method:"get",params:h({},we)})})}function U(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons.json`,{method:"get",params:h({},we)})})}function ie(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons/list.json`,{method:"get",params:h({},we)})})}function me(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/graduation_topics.json`,{method:"get",params:h({},we)})})}function Se(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/graduation_tasks.json`,{method:"get",params:h({},we)})})}function Pe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${we.id}/exercises.json`,{method:"get",params:h({},we)})})}function Ge(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/polls.json`,{method:"get",params:h({},we)})})}function je(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons.json`,{method:"get",params:h({},we)})})}function Dt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_groups.json`,{method:"get",params:h({},we)})})}function ht(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/all_course_groups.json`,{method:"get",params:h({},we)})})}function Pt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/attendances.json`,{method:"get",params:h({},we)})})}function Wt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${we.coursesId}/attendances.json`,{method:"get",params:h({},we)})})}function Rt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${we.id}/edit.json`,{method:"get",params:h({},we)})})}function ar(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/informs.json`,{method:"get",params:h({},we)})})}function Ue(we){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},we)})})}function _t(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_videos.json`,{method:"get",params:h({},we)})})}function Mt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/live_links.json`,{method:"get",params:h({},we)})})}function et(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},we)})})}function ft(we){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${we.categoryId}/messages.json`,{method:"get",params:h({},we)})})}function ot(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_groups.json`,{method:"get",params:h({},we)})})}function qe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/students.json`,{method:"get",params:h({},we)})})}function Ne(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/statistics.json`,{method:"get",params:h({},we)})})}function ye(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/work_score.json`,{method:"get",params:h({},we)})})}function ke(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/act_score.json`,{method:"get",params:h({},we)})})}function $e(we){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},we)})})}function He(we){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},we)})})}function Qe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},we)})})}function ut(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},we)})})}function pt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},we)})})}function or(we){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},we)})})}function tr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},we)})})}function Me(we){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:we})})}function tt(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:we})})}function Yt(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:we})})}function Ot(we){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:we})})}function Zt(we){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:we})})}function Gt(we){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},we)})})}function lr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.identifier}/add_student_groups.json`,{method:"post",body:we})})}function Ht(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:we})})}function Te(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/add_teacher.json`,{method:"post",body:we})})}function ce(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/add_students_by_search.json`,{method:"post",body:we})})}function pe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/set_public_or_private.json`,{method:"post",body:we})})}function Tt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/set_invite_code_halt.json`,{method:"post",body:we})})}function Ae(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/duplicate_course.json`,{method:"post",body:we})})}function st(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_end_date.json`,{method:"put",body:we})})}function $t(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}.json`,{method:"delete",body:we})})}function bt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/settings.json`,{method:"get",params:h({},we)})})}function Ce(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}.json`,{method:"put",body:we})})}function yt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ze(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},we)})})}function xe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},we)})})}function dt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},we)})})}function It(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},we)})})}function Be(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},we)})})}function Or(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},we)})})}function mt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},we)})})}function Jr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},we)})})}function an(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},we)})})}function Nt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},we)})})}function Jt(we){return u(this,null,function*(){return Fetch(`/api/homework_commons/${we.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},we)})})}function Lt(we){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${we.id}.json`,{method:"delete",params:{export:!0}})})}function Xt(we){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${we.id}.json`,{method:"delete",params:{export:!0}})})}function wr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${we.id}/sticky_module.json`,{method:"get"})})}function Ir(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${we.id}/hidden_module.json`,{method:"get"})})}function At(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:we})})}function Kt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${we.id}.json`,{method:"get",params:we})})}function Bt(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:we})})}function qt(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:we})})}function br(we){return u(this,null,function*(){return Fetch(`/api/polls/${we.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},we)})})}function Qr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},we)})})}function Hr(we){return(0,r.ZP)(`/api/polls/${we.categoryId}/start_answer.json`,{method:"get",params:h({},we)})}function jn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${we.questionId}/poll_votes.json`,{method:"post",body:we})})}function En(we){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${we.categoryId}/commit_poll.json`,{method:"post",body:we})})}function Yn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.courseId}/tasks_list.json`,{method:"get",params:we})})}function St(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.courseId}/update_task_position.json`,{method:"post",body:we})})}function Vr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:we})})}function ii(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/all_course_groups.json`,{method:"get",params:we})})}function Bi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/polls/all_course_groups.json`,{method:"get",params:we})})}function $n(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/students.json`,{method:"get",params:we})})}function ci(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${we.categoryId}/rename_group.json`,{method:"POST",body:we})})}function Oi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${we.categoryId}.json`,{method:"delete",body:we})})}function zi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/join_course_group.json`,{method:"POST",body:we})})}function Ai(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/transfer_to_course_group.json`,{method:"post",body:we})})}function ji(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/delete_from_course.json`,{method:"post",body:we})})}function ha(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/join_course_group.json`,{method:"post",body:we})})}function ea(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/exit_course.json`,{method:"post"})})}function Yi(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},we)})})}function mi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users/${we.user_id}/edit.json`,{method:"get",params:we})})}function Zi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users.json`,{method:"post",body:we})})}function Ta(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users/${we.user_id}.json`,{method:"put",body:we})})}function xt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${we.id}/move_category.json`,{method:"post",body:we})})}function xa(we){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${we.id}/move_category.json`,{method:"post",body:we})})}function Wi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/courseware.json`,{method:"get",params:we})})}function vi(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we}/mark_wrong_topic.json`,{method:"get",params:nt})})}function Da(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we}/cancel_wrong_topic.json`,{method:"get",params:nt})})}function Gi(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we}/allow_end_group.json`,{method:"get",params:nt})})}function ei(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:nt})})}function zn(we,nt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${we}/get_content_for_commit_id.json`,{method:"get",params:nt})})}},30945:function(d,g,e){"use strict";e.d(g,{$M:function(){return Rt},$P:function(){return or},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Ne},JM:function(){return He},Ju:function(){return Wt},Mn:function(){return qe},Ni:function(){return ie},Pg:function(){return R},Pt:function(){return S},Qp:function(){return V},R9:function(){return ae},Ux:function(){return se},Vy:function(){return Ge},XJ:function(){return U},XR:function(){return ht},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return ye},ml:function(){return le},o3:function(){return Ue},pA:function(){return Mt},pS:function(){return $e},pU:function(){return Z},ps:function(){return G},q0:function(){return ft},qN:function(){return ot},qS:function(){return b},qj:function(){return Dt},qt:function(){return ut},rV:function(){return A},rZ:function(){return Qe},rk:function(){return Se},rm:function(){return Q},sK:function(){return J},sL:function(){return et},su:function(){return ke},tC:function(){return Pe},tO:function(){return je},u9:function(){return q},uZ:function(){return me},vV:function(){return K},xx:function(){return tr},y8:function(){return Pt},yS:function(){return N},zF:function(){return y},zc:function(){return ne},zj:function(){return I},zz:function(){return pt}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Me,tt,Yt)=>tt in Me?i(Me,tt,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Me[tt]=Yt,h=(Me,tt)=>{for(var Yt in tt||(tt={}))c.call(tt,Yt)&&o(Me,Yt,tt[Yt]);if(l)for(var Yt of l(tt))f.call(tt,Yt)&&o(Me,Yt,tt[Yt]);return Me},u=(Me,tt,Yt)=>new Promise((Ot,Zt)=>{var Gt=Te=>{try{Ht(Yt.next(Te))}catch(ce){Zt(ce)}},lr=Te=>{try{Ht(Yt.throw(Te))}catch(ce){Zt(ce)}},Ht=Te=>Te.done?Ot(Te.value):Promise.resolve(Te.value).then(Gt,lr);Ht((Yt=Yt.apply(Me,tt)).next())});const a=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/create_guide.json`,{method:"post",body:Me}),x=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/guides.json`,{method:"get",params:Me}),p=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.competition_team_id}/edit_info.json`,{method:"put",body:Me});function y(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_result.json`,{method:"post",body:Me})})}function m(Me){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Me)})})}function b(Me){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Me})})}function S(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post"})})}function k(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_staff.json`,{method:"get"})})}function R(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/common_header.json`,{method:"get"})})}function A(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/${Me.url}`,{method:"get",params:h({},Me)})})}function I(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_md_content.json`,{method:"post",body:Me})})}function M(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function B(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}/edit.json`,{method:"get",params:Me})})}function N(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}.json`,{method:"put",body:Me})})}function K(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}/leave.json`,{method:"post",body:Me})})}function G(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}.json`,{method:"delete"})})}function H(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post",body:Me})})}function ae(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/add_managers.json`,{method:"post",body:Me})})}function ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/join.json`,{method:"post",body:Me})})}function oe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/teachers.json`,{method:"get",params:Me})})}function J(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/students.json`,{method:"get",params:Me})})}function Q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/crud_team_members.json`,{method:"post",body:Me})})}function V(Me){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Me})})}function se(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/chart_rules.json`,{method:"get"})})}function ee(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/charts.json`,{method:"get",params:Me})})}function q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/results.json`,{method:"get",params:Me})})}function le(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/md_tab_rules.json`,{method:"get",params:Me})})}function Z(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize.json`,{method:"get",params:Me})})}function U(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.id}.json`,{method:"get",params:Me})})}function ie(Me){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Me})})}function me(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/phone_bind.json`,{method:"post",body:Me})})}function Se(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/email_bind.json`,{method:"post",body:Me})})}function Pe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/professional_auth_apply.json`,{method:"delete"})})}function Ge(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/authentication_apply.json`,{method:"delete"})})}function je(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize_leader_account.json`,{method:"put",body:Me})})}function Dt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/shixun_detail.json`,{method:"get"})})}function ht(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/course_detail.json`,{method:"get"})})}function Pt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Me.id}.json`,{method:"delete"})})}function Wt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/get_certificate_info.json`,{method:"get",params:Me})})}function Rt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/basic_setting.json`,{method:"post",body:Me})})}function ar(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ue(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/common_header.json`,{method:"get"})})}function _t(Me){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Me})})}function Mt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/search_managers.json`,{method:"get",params:Me})})}function et(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_managers.json`,{method:"get"})})}function ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/add_managers.json`,{method:"post",body:Me})})}function ot(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/delete_managers.json`,{method:"delete",body:Me})})}function qe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_picture.json`,{method:"get"})})}function Ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/identifier_exist.json`,{method:"post",body:Me})})}function ye(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_shixun_settings.json`,{method:"get"})})}function ke(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_add.json`,{method:"post",body:Me})})}function $e(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_delete.json`,{method:"delete",body:Me})})}function He(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_select.json`,{method:"post",body:Me})})}function Qe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/info_finish.json`,{method:"get"})})}function ut(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/competition_review.json`,{method:"post",body:h({},Me)})})}function pt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function or(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/all_team_members.json`,{method:"get",params:Me})})}function tr(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Me})})}},55510:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return I},ff:function(){return S},p1:function(){return k},_y:function(){return m},mK:function(){return K},gq:function(){return H},eM:function(){return N},BA:function(){return oe},bA:function(){return Q},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return G},No:function(){return ae},ay:function(){return V}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(se,ee,q)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:q}):se[ee]=q,a=(se,ee)=>{for(var q in ee||(ee={}))o.call(ee,q)&&u(se,q,ee[q]);if(f)for(var q of f(ee))h.call(ee,q)&&u(se,q,ee[q]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var q={};for(var le in se)o.call(se,le)&&ee.indexOf(le)<0&&(q[le]=se[le]);if(se!=null&&f)for(var le of f(se))ee.indexOf(le)<0&&h.call(se,le)&&(q[le]=se[le]);return q},y=(se,ee,q)=>new Promise((le,Z)=>{var U=Se=>{try{me(q.next(Se))}catch(Pe){Z(Pe)}},ie=Se=>{try{me(q.throw(Se))}catch(Pe){Z(Pe)}},me=Se=>Se.done?le(Se.value):Promise.resolve(Se.value).then(U,ie);me((q=q.apply(se,ee)).next())});const m=se=>y(void 0,null,function*(){var ee=se,{id:q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${q}/course_results.json`,{method:"get",params:le})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:q=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:q}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),I=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),K=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:se,formula_one:ee,formula_two:q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:q,formula_three_id:le}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=se=>{var ee=se,{ec_year_id:q,type:le,goal_value:Z}=ee,U=p(ee,["ec_year_id","type","goal_value"]);let ie=`?type=${le}`,me={method:"PUT"};return le==="all"&&(ie+=`&goal_value=${Z}`),le==="each"&&(me=x(a({},me),{body:U})),(0,r.ZP)(`/api/ec_years/${q}/ec_graduation_results/set_goal_value${ie}`,me)};var ne=(se,ee,q)=>new Promise((le,Z)=>{var U=Se=>{try{me(q.next(Se))}catch(Pe){Z(Pe)}},ie=Se=>{try{me(q.throw(Se))}catch(Pe){Z(Pe)}},me=Se=>Se.done?le(Se.value):Promise.resolve(Se.value).then(U,ie);me((q=q.apply(se,ee)).next())});const oe=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),J=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),Q=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),V=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},87513:function(d,g,e){"use strict";e.d(g,{$Q:function(){return I},$l:function(){return Hr},BJ:function(){return ot},CD:function(){return tt},Cd:function(){return ut},Cl:function(){return Be},Di:function(){return ar},Fl:function(){return Mt},G$:function(){return le},GK:function(){return _t},Ip:function(){return ye},J:function(){return Z},KE:function(){return et},L8:function(){return Ht},LP:function(){return ke},MK:function(){return Ue},Mb:function(){return Nt},N0:function(){return G},N3:function(){return je},OO:function(){return R},P8:function(){return Ir},PJ:function(){return ie},PT:function(){return Lt},Qc:function(){return ae},RK:function(){return q},Ty:function(){return xe},UH:function(){return st},UK:function(){return Dt},Uj:function(){return tr},Ul:function(){return Qe},VL:function(){return Zt},Vj:function(){return ce},W4:function(){return or},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ne},Xn:function(){return Jr},Xo:function(){return oe},YY:function(){return Rt},Ym:function(){return N},Yu:function(){return At},ZD:function(){return wr},Zg:function(){return Or},_B:function(){return Me},_F:function(){return Jt},_U:function(){return Q},_u:function(){return me},aU:function(){return K},ab:function(){return It},cC:function(){return ze},cV:function(){return V},ck:function(){return Xt},dp:function(){return H},eA:function(){return br},fG:function(){return S},gA:function(){return se},gG:function(){return an},gJ:function(){return Kt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return yt},kp:function(){return Gt},lL:function(){return A},lf:function(){return Ge},n$:function(){return Pe},n7:function(){return J},nF:function(){return Te},o3:function(){return Bt},oS:function(){return $e},oX:function(){return Ot},oy:function(){return dt},p7:function(){return B},pL:function(){return Yt},pu:function(){return qe},q6:function(){return lr},qf:function(){return Wt},qz:function(){return He},s:function(){return bt},sA:function(){return Tt},sS:function(){return qt},tX:function(){return $t},uR:function(){return ht},ux:function(){return ft},wy:function(){return Pt},xA:function(){return Ce},yE:function(){return ne},yu:function(){return Ae},zP:function(){return M},zR:function(){return Qr}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(St,Vr,ii)=>Vr in St?i(St,Vr,{enumerable:!0,configurable:!0,writable:!0,value:ii}):St[Vr]=ii,a=(St,Vr)=>{for(var ii in Vr||(Vr={}))o.call(Vr,ii)&&u(St,ii,Vr[ii]);if(f)for(var ii of f(Vr))h.call(Vr,ii)&&u(St,ii,Vr[ii]);return St},x=(St,Vr)=>l(St,c(Vr)),p=(St,Vr,ii)=>new Promise((Bi,$n)=>{var ci=Ai=>{try{zi(ii.next(Ai))}catch(ji){$n(ji)}},Oi=Ai=>{try{zi(ii.throw(Ai))}catch(ji){$n(ji)}},zi=Ai=>Ai.done?Bi(Ai.value):Promise.resolve(Ai.value).then(ci,Oi);zi((ii=ii.apply(St,Vr)).next())});const y=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:St}),m=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:St}),b=St=>(0,r.ZP)(`/api/exercises/${St.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:St}),S=St=>(0,r.ZP)(`/api/exercises/${St.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:St}),k=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:St}),R=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/list_student_score.json`,{method:"get",params:St}),A=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:St}),I=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/statistics/score_ranges.json`,{method:"get",params:St}),M=St=>(0,r.ZP)(`/api/exercises/${St.id}/sava_exam_summary.json`,{method:"post",body:St}),B=St=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:St}),N=St=>(0,r.ZP)(`/api/exercises/${St.id}/generate_exam_summary.json`,{method:"post",body:St}),K=St=>(0,r.ZP)(`/api/exercises/${St.id}/exam_summary_settings.json`,{method:"post",body:St}),G=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.exercise_id}/review_exercise_user.json`,{method:"post",body:St})}),H=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/code_check.json`,{method:"get",params:St}),ae=St=>(0,r.ZP)(`/api/exercises/${St.id}/reset_pwd.json`,{method:"post",body:St}),ne=St=>(0,r.ZP)(`/api/exercises/${St.id}/encrypt_or_decrypt.json`,{method:"post",body:St}),oe=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/delayed_time_or_force.json`,{method:"post",body:St})}),J=St=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/exercise_time.json`,{method:"Get",params:St})}),Q=St=>(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/exercise_question_result.json`,{method:"get",params:St}),V=St=>(0,r.ZP)(`/api/exercises/${St.id}/get_question_type_alias.json`,{method:"get",params:St});function se(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/teacher_update.json`,{method:"post",body:a({},St)})})}function ee(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/adjust_comment.json`,{method:"post",body:a({},St)})})}function q(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/edit_question_type_alias.json`,{method:"POST",body:St})})}function le(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_lists.json`,{method:"get",params:a({},St)})})}function Z(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},St)})})}function U(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/video_push_url.json`,{method:"get",params:a({},St)})})}function ie(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},St)})})}function me(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_result.json`,{method:"get",params:a({},St)})})}function Se(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},St)})})}function Pe(St){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},St)})})}function Ge(St){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},St)})})}function je(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},St)})})}function Dt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/common_header.json`,{method:"get",params:a({},St)})})}function ht(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises.json`,{method:"post",body:a({},St)})})}function Pt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}.json`,{method:"put",body:a({},St)})})}function Wt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}.json`,{method:"get",params:a({},St)})})}function Rt(St){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},St)})})}function ar(St){return p(this,null,function*(){const{id:Vr}=St;return delete St.id,(0,r.ZP)(`/api/exercise_questions/${Vr}.json`,{method:"put",body:a({},St)})})}function Ue(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_questions.json`,{method:"post",body:a({},St)})})}function _t(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/up_down.json`,{method:"post",body:a({},St)})})}function Mt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}.json`,{method:"delete"})})}function et(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},St)})})}function ft(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/publish_groups.json`,{method:"get",params:a({},St)})})}function ot(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},St)})})}function qe(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/consult_exercise.json`,{method:"post",body:a({},St)})})}function Ne(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},St)})})}function ye(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/adjust_score.json`,{method:"post",body:a({},St)})})}function ke(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.id}/batch_adjust_score.json`,{method:"post",body:a({},St)})})}function $e(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/adjust_score.json`,{method:"post",body:a({},St)})})}function He(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.id}/delayed_time.json`,{method:"post",body:a({},St)})})}function Qe(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_setting.json`,{method:"get",params:a({},St)})})}function ut(St){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${St.categoryId}/exercise_setting.json`,{method:"get",params:a({},St)})})}function pt(St){return p(this,null,function*(){return Fetch(`/api/exercises/${St.categoryId}/commit_setting.json`,{method:"post",body:a({},St)})})}function or(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},St)})})}function tr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},St),{export:!0})})})}function Me(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},St),{login:null})})}function tt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/start.json`,{method:"get",params:a({},St)})}function Yt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/start_unlock.json`,{method:"post",body:a({},St)})}function Ot(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.questionId}/exercise_answers.json`,{method:"post",body:St})})}function Zt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/commit_exercise.json`,{method:"post",body:St})})}function Gt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/simulate_commit_exercise.json`,{method:"post",body:St})})}function lr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/redo_exercise.json`,{method:"post",body:St})})}function Ht(St){return(0,r.ZP)(`/api/${St.url}`,{method:"get",params:a({},St)})}function Te(St){return(0,r.ZP)(`/api/problems/${St.id}/start.json`,{method:"get",params:a({},St)})}function ce(St){return(0,r.ZP)(`/api/exercises/${St.id}/begin_commit.json`,{method:"get",params:a({},St)})}function pe(St){return(0,r.ZP)(`/api/exercises/${St.id}/simulate_begin_commit.json`,{method:"get",params:a({},St)})}function Tt(St){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},St)})}function Ae(St){return console.log("params:",St),(0,r.ZP)(`/api/exercises/${St.categoryId}/edit.json`,{method:"get",params:a({},St)})}function st(St){return(0,r.ZP)(`/api/exercises/${St.id}/get_objective_scores.json`,{method:"get",params:a({},St)})}function $t(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/redo_modal.json`,{method:"get",params:a({},St)})}function bt(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/student_redo_lists.json`,{method:"get",params:a({},St)})}function Ce(St){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:St})}function yt(St){return(0,r.ZP)(`/api/exercises/${St.id}/exercise_header.json`,{method:"get",params:a({},St)})}function ze(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/allow_close_camera.json`,{method:"post",body:a({},St)})}function xe(St){return(0,r.ZP)(`/api/exercises/${St.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},St)})}function dt(St){return(0,r.ZP)(`/api/exercises/${St.id}/record_screen`,{method:"post",params:a({},St)})}function It(St){return(0,r.ZP)(`/api/exercises/${St.id}/unbind_ip.json`,{method:"post",body:a({},St)})}function Be(St){return(0,r.ZP)(`/api/exercises/${St.id}/check_ip.json`,{method:"get",params:a({},St)})}function Or(St){return(0,r.ZP)(`/api/exercises/${St==null?void 0:St.id}/check_user_exercise.json`,{method:"get",params:a({},St)})}function mt(St){return Fetch(`/api/exercises/${St.id}/make_up_students.json`,{method:"get",params:a({},St)})}function Jr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${St.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},St)})})}function an(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St.question_id}/adjust_score.json`,{method:"post",body:a({},St)})})}function Nt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${St.categoryId}/simulate_exercise.json`,{method:"post",body:a({},St)})})}function Jt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},St)})})}function Lt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/exercise_time.json`,{method:"get",params:a({},St)})})}function Xt(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St.categoryId}/commit_screen_at.json`,{method:"post",body:a({},St)})})}function wr(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/unlock_user`,{method:"post",body:Vr})})}function Ir(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/save_screen_record.json`,{method:"post",body:Vr})})}function At(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/screen_record_list.json`,{method:"get",params:Vr})})}function Kt(St){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},St)})})}function Bt(St){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:St})})}function qt(St,Vr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${St}/mark.json`,{method:"post",body:Vr})})}function br(St){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${St}/exit_delete_pod.json`,{method:"post",body:St})})}function Qr(St){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:St})})}function Hr(St){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${St==null?void 0:St.id}/send_to_item_bank.json`,{method:"post",body:a({},St)})})}function jn(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_details.json`,{method:"get",params:a({},St)})})}function En(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_question.json`,{method:"get",params:a({},St)})})}function Yn(St){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${St.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},St)})})}},16209:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return R},Sr:function(){return I},YP:function(){return A},b4:function(){return k},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return K}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,H,ae)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:ae}):G[H]=ae,h=(G,H)=>{for(var ae in H||(H={}))c.call(H,ae)&&o(G,ae,H[ae]);if(l)for(var ae of l(H))f.call(H,ae)&&o(G,ae,H[ae]);return G},u=(G,H,ae)=>new Promise((ne,oe)=>{var J=se=>{try{V(ae.next(se))}catch(ee){oe(ee)}},Q=se=>{try{V(ae.throw(se))}catch(ee){oe(ee)}},V=se=>se.done?ne(se.value):Promise.resolve(se.value).then(J,Q);V((ae=ae.apply(G,H)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function S(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function I(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},79274:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&o(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&o(y,b,m[b]);return y},u=(y,m,b)=>new Promise((S,k)=>{var R=M=>{try{I(b.next(M))}catch(B){k(B)}},A=M=>{try{I(b.throw(M))}catch(B){k(B)}},I=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);I((b=b.apply(y,m)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},66479:function(d,g,e){"use strict";e.d(g,{B6:function(){return p},Gr:function(){return N},Mf:function(){return I},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ne,oe,J)=>oe in ne?i(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ne[oe]=J,h=(ne,oe)=>{for(var J in oe||(oe={}))c.call(oe,J)&&o(ne,J,oe[J]);if(l)for(var J of l(oe))f.call(oe,J)&&o(ne,J,oe[J]);return ne},u=(ne,oe,J)=>new Promise((Q,V)=>{var se=le=>{try{q(J.next(le))}catch(Z){V(Z)}},ee=le=>{try{q(J.throw(le))}catch(Z){V(Z)}},q=le=>le.done?Q(le.value):Promise.resolve(le.value).then(se,ee);q((J=J.apply(ne,oe)).next())});function a(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function x(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function y(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function m(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function S(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function k(ne){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function R(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function A(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function I(ne){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function M(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function B(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function N(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function K(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function G(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function H(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ae(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},37090:function(d,g,e){"use strict";e.d(g,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return le},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return se},J3:function(){return o},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return Q},Ps:function(){return c},Rk:function(){return oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return H},Zd:function(){return q},bS:function(){return I},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return ae},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return V},zT:function(){return U}});var r=e(38147),i=(ie,me,Se)=>new Promise((Pe,Ge)=>{var je=Pt=>{try{ht(Se.next(Pt))}catch(Wt){Ge(Wt)}},Dt=Pt=>{try{ht(Se.throw(Pt))}catch(Wt){Ge(Wt)}},ht=Pt=>Pt.done?Pe(Pt.value):Promise.resolve(Pt.value).then(je,Dt);ht((Se=Se.apply(ie,me)).next())});function l(ie){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})}function c(ie){return(0,r.ZP)(`/api/schools/${ie.id}/departments/for_option.json`,{method:"get",params:ie})}function f(ie){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ie})}function o(ie){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ie})}function h(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/authorized_redelivery.json`,{method:"POST",body:ie})})}function u(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/submit.json`,{method:"POST",body:ie})})}function a(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_status.json`,{method:"get",params:ie})})}function x(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ie})})}function p(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.id}.json`,{method:"get",params:ie})})}function y(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/set_final_score.json`,{method:"POST",body:ie})})}function m(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/final_score.json`,{method:"get",params:ie})})}function b(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/set_novice_guide.json`,{method:"POST",body:ie})})}function S(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices/${ie.doid}/set_do.json`,{method:"POST",body:ie})})}function k(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"POST",body:ie})})}function R(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_students/${ie.id}/update_major.json`,{method:"PUT",body:ie})})}function A(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"POST",body:ie})})}function I(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers/search.json`,{method:"get",params:ie})})}function M(ie){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})})}function B(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students/search.json`,{method:"get",params:ie})})}function N(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"get",params:ie})})}function K(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"get",params:ie})})}function G(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks.json`,{method:"POST",body:ie})})}function H(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks/${ie.id}.json`,{method:"PUT",body:ie})})}function ae(ie){return i(this,null,function*(){var me;return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks/${(me=ie.ids)==null?void 0:me[0]}`,{method:"DELETE",body:{ids:ie.ids}})})}function ne(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks.json`,{method:"get",params:ie})})}function oe(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices.json`,{method:"get",params:ie})})}function J(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}.json`,{method:"get"})})}function Q(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie==null?void 0:ie.id}/common_header.json`,{method:"get"})})}function V(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/preview.json`,{method:"get"})})}function se(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/not_pass.json`,{method:"post",body:me})})}function ee(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/pass.json`,{method:"post",body:me})})}function q(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/not_pass.json`,{method:"post",body:me})})}function le(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/pass.json`,{method:"post",body:me})})}function Z(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/batch_delete`,{method:"delete",body:me})})}function U(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/batch_delete`,{method:"delete",body:me})})}},95707:function(d,g,e){"use strict";e.d(g,{LA:function(){return x},NX:function(){return m},Rm:function(){return f},S_:function(){return p},Tt:function(){return h},Yu:function(){return S},Zz:function(){return y},cR:function(){return u},eX:function(){return c},h$:function(){return o},su:function(){return b},vm:function(){return a}});var r=e(38147),i=(k,R,A)=>new Promise((I,M)=>{var B=G=>{try{K(A.next(G))}catch(H){M(H)}},N=G=>{try{K(A.throw(G))}catch(H){M(H)}},K=G=>G.done?I(G.value):Promise.resolve(G.value).then(B,N);K((A=A.apply(k,R)).next())});const l=k=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:k})}),c=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:k})}),f=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:k})}),o=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:k})});function h(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function u(k){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:k})})}function a(k){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:k})})}function x(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function p(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:k})})}const y=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:k})}),m=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:k})}),b=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:k})}),S=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:k})})},5664:function(d,g,e){"use strict";e.d(g,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,h=(R,A)=>{for(var I in A||(A={}))c.call(A,I)&&o(R,I,A[I]);if(l)for(var I of l(A))f.call(A,I)&&o(R,I,A[I]);return R},u=(R,A,I)=>new Promise((M,B)=>{var N=H=>{try{G(I.next(H))}catch(ae){B(ae)}},K=H=>{try{G(I.throw(H))}catch(ae){B(ae)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,K);G((I=I.apply(R,A)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function S(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},24514:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return I},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&o(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&o(N,G,K[G]);return N},u=(N,K,G)=>new Promise((H,ae)=>{var ne=Q=>{try{J(G.next(Q))}catch(V){ae(V)}},oe=Q=>{try{J(G.throw(Q))}catch(V){ae(V)}},J=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(ne,oe);J((G=G.apply(N,K)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function I(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},29297:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Se},Gd:function(){return m},Hb:function(){return Pe},Hm:function(){return H},ID:function(){return u},JP:function(){return me},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return G},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ne},kF:function(){return Ge},kp:function(){return I},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return V},w0:function(){return se},wX:function(){return Q},yE:function(){return f}});var r=e(38147),i=(je,Dt,ht)=>new Promise((Pt,Wt)=>{var Rt=_t=>{try{Ue(ht.next(_t))}catch(Mt){Wt(Mt)}},ar=_t=>{try{Ue(ht.throw(_t))}catch(Mt){Wt(Mt)}},Ue=_t=>_t.done?Pt(_t.value):Promise.resolve(_t.value).then(Rt,ar);Ue((ht=ht.apply(je,Dt)).next())});const l=je=>(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/code_check.json`,{method:"get",params:je}),c=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/reset_pwd.json`,{method:"post",body:je}),f=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/encrypt_or_decrypt.json`,{method:"post",body:je}),o=je=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:je}),h=je=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:je}),u=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/copy.json`,{method:"post",body:je}),a=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/get_question_type_alias.json`,{method:"get",params:je});function x(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_question_type_alias.json`,{method:"POST",body:je})})}function p(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:je})})}function y(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:je})})}function m(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:je})})}function b(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_public.json`,{method:"post"})})}function S(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_private.json`,{method:"post"})})}function k(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const A=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function I(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/send_to_course.json`,{method:"post",body:je})})}function M(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"get",params:je})})}function B(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_score`,{method:"post",body:je})})}function N(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_shixun_score.json`,{method:"post",body:je})})}function K(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}.json`,{method:"delete"})})}function G(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:je})})}function H(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:je})})}function ae(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/adjust_position.json`,{method:"post",body:je})})}function ne(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"put",body:je})})}function oe(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function J(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function Q(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/set_public.json`,{method:"post",body:je})})}function V(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function q(je,Dt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Dt})})}function le(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:je})})}function Z(je,Dt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Dt})})}function U(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.exam_id}/examination_banks_item_banks/${je.question_id}.json`,{method:"delete"})})}function ie(je,Dt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Dt})})}function me(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function Pe(je,Dt,ht){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Dt),Pt.append("sub_discipline_id",ht),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function Ge(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},49320:function(d,g,e){"use strict";e.d(g,{$D:function(){return Q},A2:function(){return ke},A7:function(){return bt},AQ:function(){return K},Ax:function(){return tt},Bn:function(){return ze},CI:function(){return ut},DQ:function(){return Tt},DU:function(){return et},EP:function(){return J},Ep:function(){return ye},Er:function(){return me},Ex:function(){return Zt},FD:function(){return Ae},F_:function(){return Mt},Fg:function(){return x},GY:function(){return Te},Go:function(){return Z},Gz:function(){return p},Hl:function(){return y},JS:function(){return Pt},KM:function(){return ee},M2:function(){return He},MO:function(){return Se},Mt:function(){return Qe},Mu:function(){return Yt},NV:function(){return yt},Q:function(){return Pe},Sp:function(){return N},VO:function(){return st},WD:function(){return Ht},WO:function(){return ie},WW:function(){return Gt},_C:function(){return Ce},_V:function(){return Me},bw:function(){return oe},bz:function(){return pe},c3:function(){return ht},eJ:function(){return le},ef:function(){return _t},fh:function(){return k},fj:function(){return U},hS:function(){return m},jT:function(){return $t},ke:function(){return lr},lk:function(){return B},mQ:function(){return M},ms:function(){return or},mx:function(){return je},nq:function(){return a},ol:function(){return ce},p:function(){return H},p4:function(){return Ge},pU:function(){return I},rS:function(){return Wt},rs:function(){return q},s0:function(){return $e},sm:function(){return Dt},tS:function(){return b},tu:function(){return A},ue:function(){return G},vf:function(){return qe},w4:function(){return ae},xG:function(){return Ne},xn:function(){return ot},yN:function(){return ne},yy:function(){return tr}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(xe,dt,It)=>dt in xe?i(xe,dt,{enumerable:!0,configurable:!0,writable:!0,value:It}):xe[dt]=It,h=(xe,dt)=>{for(var It in dt||(dt={}))c.call(dt,It)&&o(xe,It,dt[It]);if(l)for(var It of l(dt))f.call(dt,It)&&o(xe,It,dt[It]);return xe},u=(xe,dt,It)=>new Promise((Be,Or)=>{var mt=Nt=>{try{an(It.next(Nt))}catch(Jt){Or(Jt)}},Jr=Nt=>{try{an(It.throw(Nt))}catch(Jt){Or(Jt)}},an=Nt=>Nt.done?Be(Nt.value):Promise.resolve(Nt.value).then(mt,Jr);an((It=It.apply(xe,dt)).next())});const a=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:xe})}),x=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:xe})}),p=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:xe})}),y=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:xe})}),m=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:xe})});function b(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},xe)})})}function S(xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},xe)})})}function k(xe){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},xe)})})}function R(){return u(this,null,function*(){return Fetch("/api/paths/platform_systems.json",{method:"get"})})}function A(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"PUT",body:xe})})}function I(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:xe})})}function M(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/edit.json`,{method:"get"})})}function B(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function N(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function K(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/right_banner.json`,{method:"get",params:xe})})}function G(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"get",params:xe})})}const H=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:xe})}),ae=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${xe.id}/children.json`,{method:"Get",params:xe})});function ne(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:xe})})}function oe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/update_team_title.json`,{method:"post",body:xe})})}function J(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/delete_member.json`,{method:"Delete",body:xe})})}function Q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses/${xe==null?void 0:xe.courseid}.json`,{method:"Delete"})})}function V(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/up_member_position.json`,{method:"post",body:xe})})}function se(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/down_member_position.json`,{method:"post",body:xe})})}function ee(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:xe})})}function q(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:xe})})}function le(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"Delete",body:xe})})}function Z(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/publish.json`,{method:"post",body:xe})})}function U(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_publish.json`,{method:"post",body:xe})})}function ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/apply_public.json`,{method:"post",body:xe})})}function me(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_public.json`,{method:"post",body:xe})})}function Se(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/choose_course.json`,{method:"get",params:xe})})}function Pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function Ge(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/add_subject_members.json`,{method:"post",body:xe})})}function Dt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"post",body:xe})})}function ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/appointment.json`,{method:"post",body:xe})})}function Pt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/join_excellent_course.json`,{method:"post",body:xe})})}function Wt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:xe})})}function Rt(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/statistics_info.json`,{method:"get",params:xe})})}function ar(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/shixun_analyze.json`,{method:"get",params:xe})})}function Ue(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/learning_analyze.json`,{method:"get",params:xe})})}function _t(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/learning_statistics.json`,{method:"get",params:xe})})}function Mt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/shixun_statistics.json`,{method:"get",params:xe})})}function et(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/study_analyze/${xe.type}.json`,{method:"get",params:xe})})}function ft(xe){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:xe})})}function ot(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"put",body:xe})})}function qe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_shixun_to_stage.json`,{method:"post",body:xe})})}const Ne=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.stage_id}/select_challenge_to_stage.json`,{method:"post",body:xe})});function ye(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/select_shixun_to_stage.json`,{method:"post",body:xe})})}function ke(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_video_to_stage.json`,{method:"post",body:xe})})}function $e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_attachment_to_stage.json`,{method:"post",body:xe})})}function He(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe.id}.json`,{method:"put",body:xe})})}function Qe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_blank_to_stage.json`,{method:"post",body:xe})})}function ut(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:xe})})}function pt(xe){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:xe})})}function or(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/up_position.json`,{method:"get"})})}function tr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/down_position.json`,{method:"get"})})}function Me(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"delete"})})}function tt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.pathId}/discusses.json`,{method:"get",params:h({},xe)})})}function Yt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/excellent_discusses.json`,{method:"get",params:h({},xe)})})}function Ot(xe){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},xe)})})}function Zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/move_position`,{method:"post",body:h({},xe)})})}function Gt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/${xe.id}`,{method:"delete"})})}function lr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/excellent_discuss`,{method:"post",body:h({},xe)})})}function Ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/post_discuss`,{method:"post",body:h({},xe)})})}function Te(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:xe})})}function ce(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:xe})})}function pe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:xe})})}function Tt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/add_homework_to_stage.json`,{method:"post",body:xe})})}function Ae(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}/edit.json`,{method:"get",params:xe})})}function st(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}.json`,{method:"put",body:xe})})}function $t(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/subjects/subject_homework.json`,{method:"get",params:xe})})}function bt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/courses/course_homework.json`,{method:"get",params:xe})})}function Ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/batch_add_homework_to_stage.json`,{method:"post",body:xe})})}function yt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:xe})})}function ze(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_login}/subjects/cancel.json`,{method:"get",params:xe})})}},43150:function(d,g,e){"use strict";e.d(g,{Fd:function(){return se},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return q},MK:function(){return G},Q9:function(){return I},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return oe},iV:function(){return le},jy:function(){return H},kp:function(){return ne},lf:function(){return A},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return V},wh:function(){return ae},wo:function(){return ee},x$:function(){return Q}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(U,ie,me)=>ie in U?i(U,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):U[ie]=me,h=(U,ie)=>{for(var me in ie||(ie={}))c.call(ie,me)&&o(U,me,ie[me]);if(l)for(var me of l(ie))f.call(ie,me)&&o(U,me,ie[me]);return U},u=(U,ie,me)=>new Promise((Se,Pe)=>{var Ge=ht=>{try{Dt(me.next(ht))}catch(Pt){Pe(Pt)}},je=ht=>{try{Dt(me.throw(ht))}catch(Pt){Pe(Pt)}},Dt=ht=>ht.done?Se(ht.value):Promise.resolve(ht.value).then(Ge,je);Dt((me=me.apply(U,ie)).next())});const a=U=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${U==null?void 0:U.id}/commit_word_cloud.json`,{method:"Get",params:U})});function x(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.categoryId}/poll_lists.json`,{method:"get",params:h({},U)})})}function p(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.categoryId}/common_header.json`,{method:"get"})})}function y(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.categoryId}/poll_setting.json`,{method:"get"})})}function m(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.categoryId}/commit_setting.json`,{method:"post",body:h({},U)})})}function b(U){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${U.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},U)})})}function S(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.categoryId}/publish_groups.json`,{method:"get",params:h({},U)})})}function k(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.categoryId}/commit_result.json`,{method:"get",params:h({},U)})})}function R(U){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},U)})})}function A(U){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},U)})})}function I(U){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${U.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},U)})})}function M(U){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${U.coursesId}/polls.json`,{method:"POST",body:h({},U)})})}function B(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.categoryId}/edit.json`,{method:"get"})})}function N(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.pollsId}.json`,{method:"put",body:h({},U)})})}function K(U){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${U.pollsId}.json`,{method:"put",body:h({},U)})})}function G(U){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${U.pollsId}/poll_questions.json`,{method:"post",body:h({},U)})})}function H(U){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${U.pollsId}.json`,{method:"delete",body:h({},U)})})}function ae(U){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${U.pollsId}/up_down.json`,{method:"post",body:h({},U)})})}function ne(U){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${U.topicId}.json`,{method:"get"})})}function oe(U){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${U.topicId}.json`,{method:"put",body:h({},U)})})}function J(U){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${U.topicId}.json`,{method:"put",body:h({},U)})})}function Q(U){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${U.pollsId}.json`,{method:"delete",body:h({},U)})})}function V(U){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${U.pollsId}/up_down.json`,{method:"post",body:h({},U)})})}function se(U){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},U)})})}function ee(U){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${U.pollsId}.json`,{method:"put",body:h({},U)})})}function q(U){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${U.id}.json`,{method:"put",body:h({},U)})})}function le(U){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},U)})})}function Z(U){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${U.exerciseId}/up_down.json`,{method:"post",body:h({},U)})})}},11517:function(d,g,e){"use strict";e.d(g,{$c:function(){return ut},A1:function(){return He},Bd:function(){return I},Bo:function(){return J},Cc:function(){return se},Cn:function(){return le},DF:function(){return R},Dm:function(){return Ue},FG:function(){return oe},GW:function(){return _t},HF:function(){return G},Hm:function(){return U},IJ:function(){return $e},L5:function(){return ar},LS:function(){return et},MZ:function(){return ye},Mr:function(){return ne},NZ:function(){return Dt},Of:function(){return S},Pl:function(){return k},Qj:function(){return m},Qp:function(){return ot},RT:function(){return Me},Rp:function(){return ft},U6:function(){return H},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return pt},d1:function(){return y},dt:function(){return or},et:function(){return me},ex:function(){return b},fY:function(){return Se},fn:function(){return A},hI:function(){return ht},hg:function(){return Ne},iT:function(){return Q},lS:function(){return je},nD:function(){return Mt},qN:function(){return ie},rV:function(){return N},s:function(){return Ge},sD:function(){return ke},sS:function(){return Rt},ts:function(){return V},vi:function(){return Qe},wX:function(){return qe},x5:function(){return K},zh:function(){return Pe}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(tt,Yt,Ot)=>Yt in tt?i(tt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):tt[Yt]=Ot,a=(tt,Yt)=>{for(var Ot in Yt||(Yt={}))o.call(Yt,Ot)&&u(tt,Ot,Yt[Ot]);if(f)for(var Ot of f(Yt))h.call(Yt,Ot)&&u(tt,Ot,Yt[Ot]);return tt},x=(tt,Yt)=>l(tt,c(Yt)),p=(tt,Yt,Ot)=>new Promise((Zt,Gt)=>{var lr=ce=>{try{Te(Ot.next(ce))}catch(pe){Gt(pe)}},Ht=ce=>{try{Te(Ot.throw(ce))}catch(pe){Gt(pe)}},Te=ce=>ce.done?Zt(ce.value):Promise.resolve(ce.value).then(lr,Ht);Te((Ot=Ot.apply(tt,Yt)).next())});function y(tt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},tt),{clazz:"ItemBanksGroup"})})})}function m(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:tt})})}function b(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:tt})})}function S(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:tt})})}function k(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_private.json`,{method:"post"})})}function R(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_public.json`,{method:"post"})})}function A(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"delete"})})}function I(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/start.json`,{method:"get"})})}function M(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete",body:a({},tt)})})}function B(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:tt})})}function N(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function K(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:tt.type}})})}function G(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function H(tt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:tt})})}function ae(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"put",body:tt})})}function ne(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:tt})})}function oe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/edit.json`,{method:"get"})})}function J(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/edit.json`,{method:"get"})})}function Q(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:tt})})}function V(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_score.json`,{method:"post",body:tt})})}function se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_challenge_score.json`,{method:"post",body:tt})})}function ee(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function q(tt){return p(this,null,function*(){return Fetch(`/api/examination_banks//${tt.exerid}/examination_banks_item_banks/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete"})})}function Z(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:tt})})}function U(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:tt})})}function ie(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/adjust_position.json`,{method:"post",body:tt})})}function me(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:tt})})}function Se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.id}/revoke_item.json`,{method:"delete",body:tt})})}function Pe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.exam_id}/examination_banks_item_banks.json`,{method:"post",body:tt})})}function Ge(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/join_to_collection.json`,{method:"post",params:tt})})}function je(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/cancel_collection.json`,{method:"post",params:tt})})}function Dt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:tt})})}function ht(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:tt})})}function Pt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks/${tt.id}/join_to_group.json`,{method:"post",body:tt})})}function Wt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${tt.id}.json`,{method:"put",body:tt})})}function Rt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:tt})})}function ar(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/feedback.json`,{method:"post",body:tt})})}function Ue(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:tt})})}function _t(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:tt})})}function Mt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:tt})})}function et(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:tt})})}function ft(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:tt})})}function ot(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:tt})})}function qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt==null?void 0:tt.id}/set_public.json`,{method:"post",body:tt})})}function Ne(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:tt})})}function ye(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/publish.json`,{method:"post",body:tt})}function ke(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/cancel_publish.json`,{method:"post",body:tt})}function $e(tt){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...tt.id]}})}function He(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/up_position.json`,{method:"get",params:tt})})}function Qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/down_position.json`,{method:"get",params:tt})})}function ut(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${tt.id}/edit_hack.json`,{method:"get",params:tt})})}function pt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:tt})})}function or(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:tt})})}function tr(tt){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:tt})})}function Me(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},37822:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38147),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{m(u.next(b))}catch(S){x(S)}},y=b=>{try{m(u.throw(b))}catch(S){x(S)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},88761:function(d,g,e){"use strict";e.d(g,{Am:function(){return m},Ar:function(){return Ue},BD:function(){return Qe},Be:function(){return qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Rt},H1:function(){return ar},Hj:function(){return pt},JA:function(){return tr},JG:function(){return se},KE:function(){return Z},Lz:function(){return $e},Mf:function(){return Wt},NA:function(){return ht},PC:function(){return je},PP:function(){return Dt},PW:function(){return et},Q3:function(){return q},QC:function(){return Me},Qt:function(){return He},Qz:function(){return I},R$:function(){return Te},RP:function(){return oe},Ti:function(){return bt},Uc:function(){return Zt},Ul:function(){return Q},VB:function(){return st},Vs:function(){return Gt},Wr:function(){return R},Xn:function(){return J},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return Mt},cN:function(){return B},co:function(){return Ne},cz:function(){return Pe},fK:function(){return G},gG:function(){return Ge},gZ:function(){return Ot},h$:function(){return N},ku:function(){return ke},lf:function(){return ie},m7:function(){return V},mQ:function(){return M},mz:function(){return ot},n$:function(){return U},oK:function(){return y},oN:function(){return $t},pH:function(){return ut},pb:function(){return Ae},qP:function(){return tt},ql:function(){return Yt},rN:function(){return ye},sw:function(){return me},t1:function(){return Se},to:function(){return ne},ub:function(){return or},ux:function(){return le},wS:function(){return Tt},wT:function(){return A},yT:function(){return _t},yy:function(){return lr},z2:function(){return ft}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ce,yt,ze)=>yt in Ce?i(Ce,yt,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ce[yt]=ze,a=(Ce,yt)=>{for(var ze in yt||(yt={}))o.call(yt,ze)&&u(Ce,ze,yt[ze]);if(f)for(var ze of f(yt))h.call(yt,ze)&&u(Ce,ze,yt[ze]);return Ce},x=(Ce,yt)=>l(Ce,c(yt)),p=(Ce,yt,ze)=>new Promise((xe,dt)=>{var It=mt=>{try{Or(ze.next(mt))}catch(Jr){dt(Jr)}},Be=mt=>{try{Or(ze.throw(mt))}catch(Jr){dt(Jr)}},Or=mt=>mt.done?xe(mt.value):Promise.resolve(mt.value).then(It,Be);Or((ze=ze.apply(Ce,yt)).next())});const y=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.id}/update_journals.json`,{method:"post",body:Ce})}),m=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/change_score.json`,{method:"post",body:Ce})}),b=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/history_comment`,{method:"Get",params:Ce})}),S=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.homeworkId}/feedback_know`,{method:"Get",params:Ce})}),k=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.userId}/student_work_feedbacks.json`,{method:"POST",body:Ce})}),R=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.userId}/feedback_list.json`,{method:"Get",params:Ce})}),A=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce==null?void 0:Ce.userId}/histories.json`,{method:"Get",params:Ce})}),I=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/feedback_list`,{method:"Get",params:Ce})}),M=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ce})}),B=Ce=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce==null?void 0:Ce.homeworkId}/appeal_list`,{method:"Get",params:Ce})});function N(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/works_list.json`,{method:"post",body:a({},Ce)})})}function K(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ce.categoryId}/student_works.json`,{method:"get",params:a({},Ce)})})}function G(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ce.categoryId}/header_info.json`,{method:"get",params:a({},Ce)})})}function H(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce}/query_game_url.json`,{method:"get"})})}function ae(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}.json`,{method:"get"})})}function oe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/code_review_results.json`,{method:"get",params:a({},Ce)})})}function J(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ce)})})}function Q(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/settings.json`,{method:"get",params:a({},Ce)})})}function V(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_settings.json`,{method:"post",body:a({},Ce)})})}function se(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/group_list.json`,{method:"get",params:a({},Ce)})})}function ee(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ce)})})}function q(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.coursesId}/reference_answer.json`,{method:"get",params:a({},Ce)})})}function le(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/publish_groups.json`,{method:"get",params:a({},Ce)})})}function Z(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/end_groups.json`,{method:"get",params:a({},Ce)})})}function U(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ce)})})}function ie(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ce)})})}function me(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/shixun_work_report.json`,{method:"get",params:Ce})})}function Se(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ce})})}function Pe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ce),{id:Ce.categoryId})})})}function Ge(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ce)})})}function je(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/show_comment.json`,{method:"get",params:a({},Ce)})})}function Dt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ce)})})}function ht(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ce)})})}function Pt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ce)})})}function Wt(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ce)})})}function Rt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_explanation.json`,{method:"post",body:a({},Ce)})})}function ar(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons.json`,{method:"post",body:a({},Ce)})})}function Ue(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}.json`,{method:"put",body:a({},Ce)})})}function _t(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ce.id}.json`,{method:"put",body:a({},Ce)})})}function Mt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ce)})})}function et(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/edit.json`,{method:"get",params:a({},Ce)})})}function ft(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}.json`,{method:"put",body:a({},Ce)})})}function ot(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ce)})})}function qe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ce)})})}function Ne(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ce)})})}function ye(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function ke(Ce){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ce)})})}function $e(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ce)})})}function He(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ce)})})}function Qe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/edit.json`,{method:"get",params:a({},Ce)})})}function ut(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ce.id}.json`,{method:"get",params:a({},Ce)})})}function pt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}.json`,{method:"get",params:a({},Ce)})})}function or(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/supply_attachments.json`,{method:"get",params:a({},Ce)})})}function tr(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/comment_list.json`,{method:"get",params:a({},Ce)})})}function Me(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/destroy_score.json`,{method:"delete",body:a({},Ce)})})}function tt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/add_score_reply.json`,{method:"post",body:a({},Ce)})})}function Yt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/all_student_works.json`,{method:"get",params:a({},Ce)})})}function Ot(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ce)})})}function Zt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/score_status.json`,{method:"get",params:a({},Ce)})})}function Gt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ce.categoryId}/update_score.json`,{method:"get",params:a({},Ce)})})}function lr(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/add_score.json`,{method:"post",body:a({},Ce)})})}function Ht(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce.userId}/cancel_appeal.json`,{method:"post",body:a({},Ce)})})}function Te(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ce)})})}function ce(Ce){return p(this,null,function*(){return Fetch(`/api/student_works/${Ce.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ce)})})}function pe(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ce.id}/reset_my_game.json`,{method:"get",params:a({},Ce)})})}function Tt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/commit_des.json`,{method:"get",params:a({},Ce)})})}function Ae(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ce.homeworkId}/update_des.json`,{method:"post",body:a({},Ce)})})}function st(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ce)})})}function $t(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ce)})})}function bt(Ce){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ce.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ce)})})}},60979:function(d,g,e){"use strict";e.d(g,{$Q:function(){return Jt},AE:function(){return Gt},AQ:function(){return M},Ag:function(){return yt},Ar:function(){return le},At:function(){return Kt},BK:function(){return K},Bj:function(){return Mt},DC:function(){return Ue},Dz:function(){return Bt},E4:function(){return ar},EH:function(){return ie},Ee:function(){return Yn},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return Pe},Gr:function(){return ot},Gu:function(){return Se},Gz:function(){return b},HS:function(){return Ta},Hl:function(){return y},IT:function(){return bt},I_:function(){return A},Ir:function(){return G},Je:function(){return Be},K:function(){return br},K0:function(){return En},KM:function(){return J},K_:function(){return Xt},LK:function(){return Or},LP:function(){return Ge},Ne:function(){return se},OV:function(){return Dt},OW:function(){return U},Op:function(){return Nt},P2:function(){return Pt},Po:function(){return I},Ps:function(){return qe},Q:function(){return V},Q1:function(){return Qr},QA:function(){return ha},Ql:function(){return ye},Rs:function(){return Me},SG:function(){return Zi},Tn:function(){return Ht},Tr:function(){return ea},U0:function(){return Qe},U9:function(){return Ne},UQ:function(){return Ae},Ui:function(){return Lt},Vx:function(){return jn},WO:function(){return q},WT:function(){return Yi},Wi:function(){return et},Wl:function(){return ze},X$:function(){return Wt},Yn:function(){return ce},Z2:function(){return _t},ZO:function(){return ft},Zt:function(){return qt},_7:function(){return Q},_9:function(){return pe},aH:function(){return ke},al:function(){return or},b8:function(){return Z},bq:function(){return Te},dK:function(){return H},e:function(){return k},eX:function(){return me},eb:function(){return tt},fL:function(){return It},h4:function(){return Hr},hS:function(){return m},he:function(){return R},hn:function(){return ne},ii:function(){return tr},im:function(){return Tt},j8:function(){return je},jq:function(){return an},kF:function(){return Jr},km:function(){return pt},l3:function(){return ht},m7:function(){return He},mI:function(){return ji},n5:function(){return B},nu:function(){return mt},p0:function(){return $t},q0:function(){return Zt},q9:function(){return At},qA:function(){return Ir},rO:function(){return Ot},rs:function(){return oe},sr:function(){return st},t2:function(){return Ce},tX:function(){return St},uo:function(){return ut},v3:function(){return dt},w:function(){return xe},xK:function(){return lr},xg:function(){return Yt},xk:function(){return Rt},yE:function(){return $e},yx:function(){return Ai},zD:function(){return ae},zH:function(){return wr}});var r=e(38147),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(xt,xa,Wi)=>xa in xt?i(xt,xa,{enumerable:!0,configurable:!0,writable:!0,value:Wi}):xt[xa]=Wi,a=(xt,xa)=>{for(var Wi in xa||(xa={}))o.call(xa,Wi)&&u(xt,Wi,xa[Wi]);if(f)for(var Wi of f(xa))h.call(xa,Wi)&&u(xt,Wi,xa[Wi]);return xt},x=(xt,xa)=>l(xt,c(xa)),p=(xt,xa,Wi)=>new Promise((vi,Da)=>{var Gi=we=>{try{zn(Wi.next(we))}catch(nt){Da(nt)}},ei=we=>{try{zn(Wi.throw(we))}catch(nt){Da(nt)}},zn=we=>we.done?vi(we.value):Promise.resolve(we.value).then(Gi,ei);zn((Wi=Wi.apply(xt,xa)).next())});const y=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:xt})}),m=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:xt})}),b=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:xt})}),S=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:xt})}),k=xt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:xt})});function R(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},xt)})})}function A(xt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},xt||{})})})}function I(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"Get",params:xt})})}function M(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/show_right.json`,{method:"Get"})})}function B(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges.json`,{method:"Get"})})}function N(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:xt.save_type}})})}function K(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/jupyter_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function G(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_exec.json${xt.reset?`?reset=${xt.reset}`:""}`,{method:"Get",params:xt})})}function H(xt){return p(this,null,function*(){return(0,r.ZP)(xt.url,{method:"Get"})})}function ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_up.json`,{method:"Get"})})}function ne(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.shixun_identifier}/challenges/${xt.challenge_id}/index_down.json`,{method:"Get"})})}function oe(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function J(xt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:xt.container_id,container_type:xt.container_type}})})}function Q(xt){return p(this,null,function*(){const{id:xa}=xt||{};return(0,r.ZP)(`/api/shixuns/${xa}/search_user_courses.json`,{method:"Get",params:xt})})}function V(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt==null?void 0:xt.id}/send_to_course.json`,{method:"Post",body:a({},xt)})})}function se(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_publish.json`,{method:"Get"})})}function ee(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/cancel_apply_public.json`,{method:"Get"})})}function q(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/apply_public.json`,{method:"post",body:a({},xt)})})}function le(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/publish.json`,{method:"Get"})})}function Z(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function U(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${xt.id}.json`,{method:"delete"})})}function ie(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:xt})})}function me(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:xt})})}function Se(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:xt})})}function Pe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_newest_record.json`,{method:"Get"})})}function Ge(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/review_shixun.json`,{method:"post",body:xt})})}function je(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators.json`,{method:"Get",params:xt})})}function Dt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_members_added.json`,{method:"post",body:xt})})}function ht(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/add_members_group.json`,{method:"post",body:xt})})}function Pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"Get",params:xt})})}function Wt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/change_manager.json`,{method:"post",body:xt})})}function Rt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:xt.userId}})})}function ar(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/ranking_list.json`,{method:"Get"})})}function Ue(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/settings.json`,{method:"Get"})})}function _t(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:xt.mirror_id}})})}function Mt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_script_contents.json`,{method:"Get",params:xt})})}function et(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_custom_script.json`,{method:"Get",params:xt})})}function ft(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_for_jupyter.json`,{method:"put",body:xt})})}function ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/shixun_quotes.json`,{method:"Get"})})}function qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}.json`,{method:"delete"})})}function Ne(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/close.json`,{method:"post",body:xt})})}function ye(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:xt})})}function ke(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_permission_setting.json`,{method:"post",body:xt})})}function $e(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_learn_setting.json`,{method:"post",body:xt})})}function He(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_setting`,{method:"post",body:xt})})}function Qe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/get_data_sets.json`,{method:"Get",params:xt})})}function ut(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:xt.deleteId}})})}function pt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/new.json`,{method:"get"})})}function or(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/challenges.json`,{method:"post",body:a({},xt)})})}function tr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/edit.json`,{method:"get",params:{tab:xt.tab}})})}function Me(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"put",body:a({},xt)})})}function tt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_questions.json`,{method:"get"})})}function Yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/move_position.json`,{method:"post",body:a({},xt)})})}function Ot(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}.json`,{method:"delete",body:a({},xt)})})}function Zt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit.json`,{method:"get",params:a({},xt)})})}function Gt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/answer.json`,{method:"get",params:a({},xt)})})}function lr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengeId}/crud_answer.json`,{method:"post",body:a({},xt)})})}function Ht(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_choose_question.json`,{method:"post",body:a({},xt)});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_blank_question.json`,{method:"post",body:a({},xt)});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/create_judge_question.json`,{method:"post",body:a({},xt)})})}function Te(xt){return p(this,null,function*(){if(xt.type===1)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===2)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})});if(xt.type===3)return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},xt),{choose_id:xt.questionId})})})}function ce(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:xt.questionId}})})}function pe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Tt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:xt.questionId}})})}function Ae(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/challenges/${xt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},xt),{choose_id:xt.questionId})})})}function st(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function $t(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/delete_git_file.json`,{method:"Delete",body:xt})})}function bt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function Ce(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/mv_file.json`,{method:"post",body:xt})})}function yt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/repository.json`,{method:"post",body:xt})})}function ze(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/repository.json`,{method:"post",body:xt})})}function xe(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/secret_repository.json`,{method:"post",body:xt})})}function dt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/add_file.json`,{method:"post",body:xt})})}function It(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/add_file.json`,{method:"post",body:xt})})}function Be(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/commits.json`,{method:"post",body:xt})})}function Or(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/file_content.json`,{method:"post",body:xt})})}function mt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/file_content.json`,{method:"post",body:xt})})}function Jr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_file.json`,{method:"post",body:xt})})}function an(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/update_file.json`,{method:"post",body:xt})})}function Nt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/upload_git_folder.json`,{method:"post",body:{path:xt.path,secret_repository:xt.secret_repository}})})}function Jt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/${xt.url}`,{method:"Get"})})}function Lt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:xt})})}function Xt(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:xt})})}function wr(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:xt})})}function Ir(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:xt})})}function At(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:xt})})}function Kt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/fork_list.json`,{method:"Get",params:xt})})}function Bt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.identifier}/change_editable.json`,{method:"put",body:a({},xt)})})}function qt(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/set_secret_dir.json`,{method:"post",body:a({},xt)})})}function br(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:xt})})}function Qr(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:xt})})}function Hr(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function jn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xt.id}/init_repository.json`,{method:"post",body:a({},xt)})})}function En(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_secret_repository.json`,{method:"post",body:a({},xt)})})}function Yn(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/exist_exercise.json`,{method:"get",params:a({},xt)})})}function St(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${xt.id}.json`,{method:"get",params:a({},xt)})})}function Vr(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/publish.json`,{method:"post",body:a({},xt)})})}function ii(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_vnc.json`,{method:"post",params:a({},xt)})})}function Bi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/open_webssh.json`,{method:"post",params:a({},xt)})})}function $n(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/save_image.json`,{method:"post",body:a({},xt)})})}function ci(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/delete_image.json`,{method:"post",body:a({},xt)})})}function Oi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/extend_vnc.json`,{method:"post",body:a({},xt)})})}function zi(xt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xt.id}/reset_vnc_link.json`,{method:"post",body:a({},xt)})})}function Ai(xt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},xt)})})}function ji(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},xt)})})}function ha(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},xt)})})}function ea(xt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:xt})})}function Yi(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${xt}`,{method:"get",params:{is_initiative_study:1}})})}function mi(xt){return p(this,null,function*(){return Fetch(`/api/shixuns/${xt.id}/update_shixun_study_num.json`,{method:"post",body:a({},xt)})})}function Zi(xt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:xt})})}function Ta(xt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xt}/recommend_config.json`,{method:"get"})})}},93539:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return m},rM:function(){return I},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,ae,ne)=>ae in H?i(H,ae,{enumerable:!0,configurable:!0,writable:!0,value:ne}):H[ae]=ne,h=(H,ae)=>{for(var ne in ae||(ae={}))c.call(ae,ne)&&o(H,ne,ae[ne]);if(l)for(var ne of l(ae))f.call(ae,ne)&&o(H,ne,ae[ne]);return H},u=(H,ae,ne)=>new Promise((oe,J)=>{var Q=ee=>{try{se(ne.next(ee))}catch(q){J(q)}},V=ee=>{try{se(ne.throw(ee))}catch(q){J(q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(Q,V);se((ne=ne.apply(H,ae)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function I(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:ae})})}function K(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:ae})})}function G(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:ae})})}},89540:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return Q},DA:function(){return I},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Wt},FM:function(){return ne},Fn:function(){return q},Gq:function(){return ar},Ho:function(){return B},IU:function(){return me},JJ:function(){return le},Ol:function(){return je},Qx:function(){return ae},Tv:function(){return Z},V8:function(){return x},WS:function(){return V},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Rt},dE:function(){return ie},dt:function(){return U},gI:function(){return se},lO:function(){return oe},mW:function(){return G},n0:function(){return A},nV:function(){return Ge},o1:function(){return Dt},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return Pe},vR:function(){return S},w3:function(){return K},x4:function(){return R},z2:function(){return ht}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ue,_t,Mt)=>_t in Ue?i(Ue,_t,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ue[_t]=Mt,h=(Ue,_t)=>{for(var Mt in _t||(_t={}))c.call(_t,Mt)&&o(Ue,Mt,_t[Mt]);if(l)for(var Mt of l(_t))f.call(_t,Mt)&&o(Ue,Mt,_t[Mt]);return Ue},u=(Ue,_t,Mt)=>new Promise((et,ft)=>{var ot=ye=>{try{Ne(Mt.next(ye))}catch(ke){ft(ke)}},qe=ye=>{try{Ne(Mt.throw(ye))}catch(ke){ft(ke)}},Ne=ye=>ye.done?et(ye.value):Promise.resolve(ye.value).then(ot,qe);Ne((Mt=Mt.apply(Ue,_t)).next())});const a=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}/move.json`,{method:"post",body:Ue})}),x=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"delete",body:Ue})}),p=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"put",body:Ue})}),y=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ue})}),m=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ue})});function b(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ue)})})}function S(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ue)})})}function R(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ue)})})}function A(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function I(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/homepage_info.json`,{method:"get"})})}function M(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/courses.json`,{method:"get",params:Ue})})}function N(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/shixuns.json`,{method:"get",params:Ue})})}function K(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/subjects.json`,{method:"get",params:Ue})})}function G(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/projects.json`,{method:"get",params:Ue})})}function H(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos.json`,{method:"get",params:Ue})})}function ae(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/review.json`,{method:"get",params:Ue})})}function ne(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.id}.json`,{method:"delete"})})}function oe(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ue})})}function J(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ue})})}function Q(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ue})})}function V(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ue})})}function se(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ue})})}function ee(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ue})})}function q(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.object_id}/create_course_video.json`,{method:"post",body:Ue})})}function le(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ue.topicId}.json`,{method:"get",params:Ue})})}function Z(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ue)})})}function U(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/batch_publish.json`,{method:"post",body:Ue})})}function ie(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ue.identifier}/cancel.json`,{method:"delete",body:h({},Ue)})})}function me(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ue)})})}function Se(Ue){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ue)})})}function Pe(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function Ge(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Ue){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ue})}function Dt(Ue){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ue})}function ht(Ue){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ue)})}function Pt(Ue){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ue)})}function Wt(Ue){return(0,r.ZP)(`/api/users/accounts/${Ue.login}/password.json`,{method:"put",body:h({},Ue)})}function Rt(Ue){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ue)})}function ar(Ue){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ue)})}},54624:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ne},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return H}});var r=e(38147),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(J,Q,V)=>Q in J?i(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:V}):J[Q]=V,h=(J,Q)=>{for(var V in Q||(Q={}))c.call(Q,V)&&o(J,V,Q[V]);if(l)for(var V of l(Q))f.call(Q,V)&&o(J,V,Q[V]);return J},u=(J,Q,V)=>new Promise((se,ee)=>{var q=U=>{try{Z(V.next(U))}catch(ie){ee(ie)}},le=U=>{try{Z(V.throw(U))}catch(ie){ee(ie)}},Z=U=>U.done?se(U.value):Promise.resolve(U.value).then(q,le);Z((V=V.apply(J,Q)).next())});function a(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function m(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function S(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function A(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function I(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function K(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function G(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function ae(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function ne(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function oe(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},35965:function(d,g,e){"use strict";e.d(g,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return I},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(38147),i=(H,ae,ne)=>new Promise((oe,J)=>{var Q=ee=>{try{se(ne.next(ee))}catch(q){J(q)}},V=ee=>{try{se(ne.throw(ee))}catch(q){J(q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(Q,V);se((ne=ne.apply(H,ae)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function I(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:ae})})}function M(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:ae})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:ae})})}function K(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:ae})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},41867:function(d,g,e){"use strict";e.d(g,{$O:function(){return Q},EO:function(){return pt},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return ut},Jd:function(){return J},Ny:function(){return k},RV:function(){return ne},Rb:function(){return N},Rm:function(){return G},V9:function(){return ie},Yh:function(){return le},aN:function(){return b},aQ:function(){return u},ag:function(){return Qe},bg:function(){return tr},d8:function(){return B},dE:function(){return ae},eB:function(){return oe},eY:function(){return Me},fn:function(){return He},h:function(){return lr},j5:function(){return m},m$:function(){return tt},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Ot},y8:function(){return or}});var r=e(65582),i=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.CertifiedTeacher=5]="CertifiedTeacher",Ht[Ht.TrainingProduction=8]="TrainingProduction",Ht[Ht.UncertifiedTeacher=12]="UncertifiedTeacher",Ht[Ht.Student=15]="Student",Ht))(i||{}),l=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.Admin=5]="Admin",Ht[Ht.Teacher=8]="Teacher",Ht[Ht.Assistant=12]="Assistant",Ht[Ht.Student=15]="Student",Ht))(l||{}),c=(Ht=>(Ht[Ht.SuperAdmin=0]="SuperAdmin",Ht[Ht.Teacher=1]="Teacher",Ht[Ht.Student=2]="Student",Ht))(c||{});const f=Ht=>{const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return Ht.some(pe=>pe==(ce==null?void 0:ce.role))},o=Ht=>{const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return ce!=null&&ce.own?!0:Ht.some(pe=>{var Tt;return pe==((Tt=ce==null?void 0:ce.course)==null?void 0:Tt.course_role)})},h=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Te}=Ht;return Te.main_site},u=()=>{var Ht;const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return(Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_is_end},a=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Te}=Ht;return Te.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),m=()=>o([1]),b=()=>o([1,2,5]),S=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),I=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),K=()=>o([1,2,5,8]),G=()=>o([12]),H=()=>o([8]),ae=()=>o([15]),ne=()=>o([1,2,5,8,12,15]),oe=()=>o([1,2,5,8,12]),J=()=>{var Ht;const{user:Te}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Te;return((Ht=ce==null?void 0:ce.course)==null?void 0:Ht.course_role)===null},Q=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Te}=Ht;return Te==null?void 0:Te.has_big_model_permission},V=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Te}=Ht;return Te==null?void 0:Te.big_model_user_unlimited},se=(Ht=!0,Te=!1)=>f([1,2,5,8,12,15]),ee=(Ht=!0,Te=!1)=>Te||!Te&&f([1]),q=(Ht=!0,Te=!1)=>Te||!Te&&f([1,2]),le=()=>f([15]),Z=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),U=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),ie=(Ht=!0,Te=!1)=>{const{user:ce}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=ce;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},me=(Ht=!0,Te=!1)=>Ht?f([1]):Te||!Te&&f([1]),Se=(Ht=!0,Te=!1)=>Ht?f([1,2]):Te||!Te&&f([1,2]),Pe=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),Ge=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):Te||!Te&&f([1,2]),je=(Ht=!0,Te=!1)=>Ht?f([1,2,5]):Te||!Te&&f([1,2]),Dt=(Ht=!0,Te=!1)=>Ht?f([1]):!1,ht=(Ht=!0,Te=!1)=>f([1,2,5,8,12,15]),Pt=(Ht=!0,Te=!1)=>Ht?f([1]):Te||!Te&&f([1]),Wt=(Ht=!0,Te=!1)=>Ht?f([1,2]):Te||!Te&&f([1,2]),Rt=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12,15]):Te||!Te&&f([1,2]),ar=(Ht=!0,Te=!1)=>Ht?!1:Te||!Te&&f([1,2]),Ue=(Ht=!0,Te=!1)=>Ht?Te||!Te&&f([1,2]):!1,_t=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):!1,Mt=(Ht=!0,Te=!1)=>Ht?!Te&&f([1,2,5,8,12]):!1,et=(Ht=!0,Te=!1)=>Ht?f([1,2,5]):Te||!Te&&f([1,2]),ft=(Ht=!0,Te=!1)=>f([1,2,5,8,12]),ot=(Ht=!0,Te=!1)=>Ht?f([1]):Te||!Te&&f([1]),qe=(Ht=!0,Te=!1)=>Ht?f([1,2]):Te||!Te&&f([1,2]),Ne=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):Te||!Te&&f([1,2]),ye=(Ht=!0,Te=!1)=>Ht?Te||!Te&&f([1,2]):!1,ke=(Ht=!0,Te=!1)=>Ht?f([1,2,5,8,12]):Te||!Te&&f([1,2]),$e=(Ht=!0,Te=!1)=>o([8]),He=()=>f([1]),Qe=()=>f([1,2]),ut=()=>f([15]),pt=()=>f([1,2,5]),or=()=>f([1,2,5,12]),tr=()=>{var Ht;const{user:Te}=(0,r.getDvaApp)()._store.getState();return!!((Ht=Te.userInfo)!=null&&Ht.login)},Me=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState();return Ht.userInfo},tt=()=>{var Ht,Te;const{user:ce}=(0,r.getDvaApp)()._store.getState();return!!((Te=(Ht=ce.userInfo)==null?void 0:Ht.path)!=null&&Te.own)},Yt=Ht=>{const{graduations:Te}=(0,r.getDvaApp)()._store.getState(),{details:ce}=Te;return Ht.some(pe=>pe===(ce==null?void 0:ce.user_identity))},Ot=()=>Yt([0,1]),Zt=()=>Yt([0]),Gt=()=>Yt([1]),lr=()=>Yt([2])},2337:function(d,g,e){"use strict";e.d(g,{Fy:function(){return o},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(l||{}),c=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(c||{}),f=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(f||{}),o=(u=>(u[u.DEFAULT=0]="DEFAULT",u[u.THEMEONE=1]="THEMEONE",u[u.THEMETWO=2]="THEMETWO",u[u.THEMETHREE=3]="THEMETHREE",u))(o||{}),h=(u=>(u.All="",u.Shixun="shixun",u.VideoItem="video",u.Attachment="attachment",u.Group_count="group_homework",u.Normal_count="normal_homework",u.ExaminationBank="exercise",u.HomeworkCommon="hack_homework",u.Discusses="Discusses",u.Challenge="challenge",u))(h||{})},37142:function(d,g,e){"use strict";e.d(g,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},74128:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.113",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38147:function(d,g,e){"use strict";e.d(g,{IV:function(){return Z},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return le},rz:function(){return ne},v_:function(){return q}});var r=e(74128),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(65582),a=e(65862),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(U,ie,me)=>ie in U?y(U,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):U[ie]=me,I=(U,ie)=>{for(var me in ie||(ie={}))k.call(ie,me)&&A(U,me,ie[me]);if(S)for(var me of S(ie))R.call(ie,me)&&A(U,me,ie[me]);return U},M=(U,ie)=>m(U,b(ie)),B=(U,ie,me)=>new Promise((Se,Pe)=>{var Ge=ht=>{try{Dt(me.next(ht))}catch(Pt){Pe(Pt)}},je=ht=>{try{Dt(me.throw(ht))}catch(Pt){Pe(Pt)}},Dt=ht=>ht.done?Se(ht.value):Promise.resolve(ht.value).then(Ge,je);Dt((me=me.apply(U,ie)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=(U,ie)=>B(void 0,null,function*(){if(U.status>=200&&U.status<300)return U;const me=K[U.status]||U.statusText;let Se;var Pe=U.json();yield Pe.then((je,Dt)=>{setTimeout(()=>{let ht=(0,u.getDvaApp)()},400),Se=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${U.status}: ${U.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${U.status}: ${U.message}`,description:je.message?"":me})});const Ge=new Error(me);throw Ge.name=U.status,Ge.response=U,{data:U,code:U.status,message:Se||me}}),H=(U,ie)=>{const me=U.headers.get("Content-Type");return me&&me.match(/application\/json/i)&&U.clone().text().then(()=>{}),U};function ae(U){try{return decodeURIComponent(U),decodeURIComponent(encodeURIComponent(U))===U}catch(ie){return!1}}const ne=U=>{U=U||{};let ie="";for(let me in U)typeof U[me]=="object"?Array.isArray(U[me])&&U[me].forEach((Se,Pe)=>{ie+="&"+me+"[]="+Se}):U[me]!==void 0&&(ie+="&"+me+"="+(ae(U[me])?U[me]:encodeURIComponent(U[me])));return ie.substr(1)};function oe(U,ie,me,Se){ie.method||(ie.method="get"),ie.method=ie.method.toUpperCase(),ie.mode="cors";const Pe=I({},ie),{user:Ge}=(0,u.getDvaApp)()._store.getState(),{userInfo:je}=Ge,Dt=U+(Pe.body?JSON.stringify(Pe.body):""),ht=o().sha256().update(Dt).digest("hex"),Pt={credentials:"include",withCredentials:!0},Wt={};je!=null&&je.login&&(Wt.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(Wt.zzsud=je==null?void 0:je.school_id),Pe.params=I(I({},Pe.params||{}),Wt));let Rt=I(I({},Pt),(0,x.cloneDeep)(Pe));(Rt.method==="POST"||Rt.method==="PUT"||Rt.method==="PATCH"||Rt.method==="DELETE")&&(me?(Rt.headers=M(I({_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Rt.body=Pe.body):(Rt.headers=I({Accept:"application/json",_method:ie.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Rt.headers),Rt.body=JSON.stringify(Pe.body))),Rt.method=="GET"?(Rt.headers=M(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ie.method.toUpperCase()},Rt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Pe.params&&ne(Pe.params)&&(U+="?"+ne(Pe.params))):Wt.zzud&&(U+="?"+ne(I({},Wt)));const ar=Pe.expirys&&60;let Ue;(ft=>{ft.json="application/json;charset=UTF-8",ft.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ue||(Ue={}));let _t;(ft=>{ft.get="GET",ft.post="POST"})(_t||(_t={}));const Mt=ft=>B(this,null,function*(){const ot=yield ft.arrayBuffer();let qe;const Ne=new Blob([ot]);try{qe=ft.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(He){qe="userfiles.zip"}const ye=document.createElement("a"),ke=window.URL.createObjectURL(Ne),$e=qe;return ye.href=ke,ye.download=$e,ye.click(),window.URL.revokeObjectURL(ke),ot});let et=r.Z.API_SERVER;return(window.ENV==="dev"||U.startsWith("http"))&&(et=""),Rt.method=="GET"&&Rt.params&&Object.keys(Rt.params).map(ft=>{if(Rt.params[ft]&&!Array.isArray(Rt.params[ft]))try{Rt.params[ft]=encodeURIComponent(decodeURIComponent(Rt.params[ft]))}catch(ot){Rt.params[ft]=encodeURIComponent(Rt.params[ft])}}),(0,a.Ec)(Rt,U),Se&&(et=""),Rt.headers._method=Rt.method,Rt.headers["X-HTTP-Method-Override"]=Rt.method,Rt.method!=="GET"&&(Rt.method="POST"),fetch(et+U,Rt).then(ft=>G(ft,I({url:r.Z.API_SERVER+U},Rt))).then(ft=>H(ft,ht)).then(ft=>B(this,null,function*(){var ot,qe,Ne,ye;try{const $e=ft.headers.get("cs");$e&&(0,a.d8)("_educoder_session",$e,1)}catch($e){}if(ft.status===204)return ft.text();let ke;if(ft.headers.get("content-type").indexOf("application/json")>-1){ke=yield ft.json();try{const $e=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,He=/\"\/api\/attachments\/(\d+)\//g,Qe=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ut=/\/api\/attachments\/(\d+)/g,pt=/\/attachments\/download\/(\d+)/g;let or=JSON.stringify(ke).replace(ut,(tr,Me,tt,Yt)=>{const Ot=Me||tt||Yt;return"/api/attachments/"+(0,a.Jn)(Ot)}).replace(pt,(tr,Me,tt)=>{const Yt=Me||tt;return"/attachments/download/"+(0,a.Jn)(Yt)}).replace($e,(tr,Me,tt,Yt)=>{const Ot=Me||tt||Yt;return"(/api/attachments/"+(0,a.Jn)(Ot)}).replace(He,(tr,Me,tt)=>{const Yt=Me||tt;return'"/api/attachments/'+(0,a.Jn)(Yt)}).replace(Qe,(tr,Me,tt)=>{const Yt=Me||tt;return"(/files/uploads/"+(0,a.Jn)(Yt)}).replace(/\r\n/g,` +`);ke=JSON.parse(or)}catch($e){}}else Rt.headers["Content-Type"]==="application/xml"?ke=yield ft.text():(ot=Pe.body)!=null&&ot.autoDownload||(qe=Pe.params)!=null&&qe.autoDownload?ke=yield Mt(ft):ke=yield ft.arrayBuffer();try{ke.status===401&&(!((Ne=Rt.params)!=null&&Ne.hidePopLogin)||!((ye=Rt.body)!=null&&ye.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),ke.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch($e){console.log("fetcherr",$e)}return V(ke,U),ke})).catch(ft=>{try{const ot=ft.code;if(ft instanceof TypeError&&window.showNetworkErrorTip(`${U}${ft.message}`),ot){if(ot===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}V(ft,U)}else U.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Rt.body}}):ft.message!=="403"&&window.showNetworkErrorTip(`${U}${ft.message}`);return ft}catch(ot){}})}let J=!1,Q=!1;const V=(U,ie)=>{var me,Se,Pe;if(U.status==-6&&!Q){Q=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>Q=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:U.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(U.status==-7){Q=!0,setTimeout(()=>Q=!1,500);let je="";(me=U==null?void 0:U.data)!=null&&me.exercise_list&&((Pe=(Se=U==null?void 0:U.data)==null?void 0:Se.exercise_list)==null||Pe.map(Dt=>{je+=`\u300A${Dt.exercise_name}\u300B`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${je} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((U.status==-1||U.status==-2||U.status==-102||U.status>400)&&U.status!=403&&!Q){Q=!0,setTimeout(()=>Q=!1,500),c.ZP.warning({content:U.message,key:"message-key"});return}const Ge={403:"/403",404:"/404",500:"/500"};if(Ge[U.status]&&!J){const{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Dt}=je;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(J=!0),setTimeout(()=>J=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(U)),Object.values(Ge).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Ge[U.status]),new Error("403")}};function se(U,ie){return oe(`/api/${U}`,{method:"Get",params:ie||{}})}function ee(U,ie){return oe(`/${U}`,{method:"Get",params:ie})}function q(U,ie){return oe(`/api/${U}`,{method:"Post",body:I({},ie)})}function le(U,ie){return oe(`/api/${U}`,{method:"Put",body:I({},ie)})}function Z(U,ie){return oe(`/api/${U}`,{method:"delete",body:I({},ie||{})})}},73637:function(d,g,e){"use strict";e.d(g,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},49142:function(d,g,e){"use strict";e.d(g,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(ae,ne){const oe=ae.match(/^(\s+)(?:```)/);if(oe===null)return ne;const J=oe[1];return ne.split(` `).map(Q=>{const V=Q.match(/^\s+/);if(V===null)return Q;const[se]=V;return se.length>=J.length?Q.slice(J.length):Q}).join(` `)}let h=[],u=["