You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__MyProblem__index.39e422c...

90 lines
1.2 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

(self.webpackChunk=self.webpackChunk||[]).push([[6270],{72295:function($e,be,A){"use strict";A.d(be,{Z:function(){return o}});var D=A(5891),z=A(59301),e={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"},g=e,v=A(88853),c=function(u,i){return z.createElement(v.Z,(0,D.Z)({},u,{ref:i,icon:g}))},a=z.forwardRef(c),o=a},24566:function($e,be,A){"use strict";A.d(be,{Z:function(){return o}});var D=A(5891),z=A(59301),e={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"},g=e,v=A(88853),c=function(u,i){return z.createElement(v.Z,(0,D.Z)({},u,{ref:i,icon:g}))},a=z.forwardRef(c),o=a},86653:function($e,be){"use strict";be.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},7543:function(){"use strict"},27972:function($e,be,A){"use strict";var D=A(59301),z=Object.defineProperty,e=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(l,u,i)=>u in l?z(l,u,{enumerable:!0,configurable:!0,writable:!0,value:i}):l[u]=i,a=(l,u)=>{for(var i in u||(u={}))g.call(u,i)&&c(l,i,u[i]);if(e)for(var i of e(u))v.call(u,i)&&c(l,i,u[i]);return l};const o=l=>React.createElement("svg",a({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},l),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));be.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},15547:function($e,be,A){"use strict";var D=A(59301),z=Object.defineProperty,e=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(l,u,i)=>u in l?z(l,u,{enumerable:!0,configurable:!0,writable:!0,value:i}):l[u]=i,a=(l,u)=>{for(var i in u||(u={}))g.call(u,i)&&c(l,i,u[i]);if(e)for(var i of e(u))v.call(u,i)&&c(l,i,u[i]);return l};const o=l=>React.createElement("svg",a({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},l),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));be.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},3621:function($e,be,A){"use strict";A.d(be,{Z:function(){return R},U:function(){return C}});var D=A(59301),z=A(31797),e=A(43418),g=A(2595),v=A(39171),c=A(79124),a=A(61186),o=A.n(a),l={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ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8OY6WJBzIT2zr1cIlvqFY85A6p6jkP0ksAvh2SejsQjDAsXWPHihUMFX9IqArYoBKomv7HIoqzjiXVMlwzkoCupHr5Z1ElskhFpz05Dtw3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+vx6fy5//F98kX9HlCXiv6MVDL4Ill+h8mdv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",r=A(58130),t=A(42203),n=A(65034),s=A(59301),d=Object.defineProperty,m=Object.defineProperties,h=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,x=(k,P,L)=>P in k?d(k,P,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[P]=L,S=(k,P)=>{for(var L in P||(P={}))p.call(P,L)&&x(k,L,P[L]);if(y)for(var L of y(P))b.call(P,L)&&x(k,L,P[L]);return k},w=(k,P)=>m(k,h(P)),_=(k,P,L)=>new Promise((O,N)=>{var H=te=>{try{B(L.next(te))}catch(ee){N(ee)}},V=te=>{try{B(L.throw(te))}catch(ee){N(ee)}},B=te=>te.done?O(te.value):Promise.resolve(te.value).then(H,V);B((L=L.apply(k,P)).next())});const C=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:E}=z.default,T=({exercise:k,socket:P,dispatch:L,onStartScreenshot:O,onCloseScreenshot:N,handleToDetail:H})=>{const[V,B]=e.default.useModal(),te=(0,D.useRef)(),[ee,J]=(0,D.useState)(!0),Q=(0,D.useRef)(!1),re=(0,t.useParams)();(0,D.useEffect)(()=>{var W,K,oe;if(document.addEventListener((0,v.gH)(),U,!1),window.addEventListener("blur",ce,!1),(W=k.exerciseUserInfo)!=null&&W.screen_open&&(0,v.vp)()&&J(!1),(K=k.exerciseUserInfo)!=null&&K.screen_open&&!(0,v.vp)()){(0,r.RG)(" ",!0);const he=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?k.exerciseUserInfo.screen_sec+3:k.exerciseUserInfo.screen_sec+10+1;te.current=e.default.info({icon:null,centered:!0,width:444,title:(0,n._V)(n.CP.recordScreen1),keyboard:!1,content:s.createElement("div",null,(0,n._V)(n.CP.recordScreen2),s.createElement("span",{style:{color:"#FF9849"}},k.exerciseUserInfo.screen_num-k.exerciseUserInfo.used_screen_num),(0,n._V)(n.CP.recordScreen3)),okText:s.createElement("span",null,(0,n._V)(n.CP.recordScreen4),"\uFF08",s.createElement("span",{style:{display:"inline-block"}},s.createElement(E,{onFinish:()=>_(void 0,null,function*(){var ae;const le=yield ne();(ae=te.current)==null||ae.destroy(),le.used_screen_num&&F(le.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+he*1e3})),"S\uFF09"),onOk:()=>{var ae;(0,r.RG)(" ",!0),(ae=te.current)==null||ae.destroy(),J(!1),(0,v.Dj)(document.body),document.getElementById("root").addEventListener("click",X,!1)}})}return(oe=k.exerciseUserInfo)!=null&&oe.screen_open&&!(0,v.vp)()||document.getElementById("root").addEventListener("click",X,!1),()=>{document.getElementById("root").removeEventListener("click",X,!1),document.removeEventListener((0,v.gH)(),U,!1),window.removeEventListener("blur",ce,!1)}},[]),(0,D.useEffect)(()=>{setTimeout(()=>{k.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",X,!1),document.removeEventListener((0,v.gH)(),U,!1))},500),$()},[k.actionTabs]),(0,D.useEffect)(()=>{setTimeout(()=>{k.exerciseUserInfo.used_screen_num>k.exerciseUserInfo.screen_num&&Y()},500)},[k.exerciseUserInfo]);const Z=()=>_(void 0,null,function*(){const W=yield ne();setTimeout(()=>{var K,oe;(K=te.current)==null||K.destroy(),te.current=e.default.info({okText:s.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:s.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",s.createElement("span",{className:"c-red"},W.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",s.createElement("span",{className:"c-red"},(oe=k.exerciseUserInfo)==null?void 0:oe.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>_(void 0,null,function*(){(0,v.Dj)(document.body)})})},1e3)}),X=W=>{!(0,v.vp)()&&W.target.nodeName!=="A"&&W.target.nodeName!=="BUTTON"&&W.target.innerHTML!=="\u786E \u5B9A"&&(0,v.Dj)(document.body)},$=()=>_(void 0,null,function*(){const W=yield L({type:"exercise/getExerciseUserInfo",payload:S({},re)});return W==null?void 0:W.data}),ie=W=>_(void 0,null,function*(){var K;if((K=k.exerciseUserInfo)!=null&&K.screen_at){const he=yield(0,c.ck)(w(S({},re),{reset:!0}));if((he==null?void 0:he.status)===-6)return}const oe=yield(0,c.oy)({id:re.categoryId});if(oe!=null&&oe.is_commit){e.default.destroyAll(),yield de(),ue(!0);return}else F(W+1)}),de=()=>_(void 0,null,function*(){var W;const K=o()(),oe=k.exerciseUserInfo.screen_sec;if(I.current.length>0){const he=K.format("YYYY-MM-DD HH:mm:ss");let ae=Math.floor(K.diff(o()(I.current[0].start))/1e3);const le=I.current.length;ae/oe>>0>le&&(ae=(le+1)*oe-1),yield(0,c.P8)(re.categoryId,{exercise_user_id:(W=k.exerciseUserInfo)==null?void 0:W.exercise_user_id,time:he,time_long:ae,count:le})}I.current=[]}),pe=(0,D.useRef)(0),G=(0,D.useRef)(0),I=(0,D.useRef)([]),q=(0,D.useRef)(!1),F=W=>_(void 0,null,function*(){var K;Q.current||(O(),e.default.destroyAll(),pe.current=o()().valueOf(),q.current=!0,te.current=e.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:l.exitFullScreenModalWrapper,okText:s.createElement("span",null,(0,n._V)(n.CP.recordScreen8)),content:s.createElement("div",{className:l.exitFullScreenModal},s.createElement("img",{src:u,alt:"",className:l.warningIcon}),s.createElement("div",{className:l.warningText,style:{marginBottom:50,fontWeight:500}},(0,n._V)(n.CP.recordScreen9)),s.createElement("div",{style:{marginBottom:40}},(0,n._V)(n.CP.recordScreen10)),s.createElement("div",{style:{marginBottom:40}},(0,n._V)(n.CP.recordScreen11),s.createElement("span",{className:l.warningText},((K=k.exerciseUserInfo)==null?void 0:K.screen_num)+1),(0,n._V)(n.CP.recordScreen12),s.createElement("span",{className:l.warningText,style:{fontWeight:600}},(0,n._V)(n.CP.recordScreen13)),",",(0,n._V)(n.CP.recordScreen14),s.createElement("span",{className:l.warningText},W-1),(0,n._V)(n.CP.recordScreen15)),s.createElement("div",null,s.createElement("span",null,s.createElement(E,{className:l.countdownWrapper,onFinish:()=>{G.current=o()().valueOf(),I.current.push({start:pe.current,end:G.current}),ie(W)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(k.exerciseUserInfo.screen_sec+1)*1e3}),(0,n._V)(n.CP.recordScreen25)),(0,n._V)(n.CP.recordScreen16))),onOk:()=>{(0,r.RG)(" ",!0),de(),(0,v.Dj)(document.body),N(),te.current.destroy(),q.current=!1}}))}),Y=()=>_(void 0,null,function*(){e.default.destroyAll(),(yield(0,c.VL)({categoryId:re.categoryId,commit_method:1}))&&ue()}),ue=(W=!1)=>_(void 0,null,function*(){var K,oe;if(document.removeEventListener((0,v.gH)(),U,!1),(0,v.BU)(),e.default.destroyAll(),Q.current=!0,W){const he=yield(0,c.Yu)(re.categoryId,{exercise_user_id:(K=k.exerciseUserInfo)==null?void 0:K.exercise_user_id});V.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:l.forcedModalWrapper,centered:!0,content:s.createElement("div",{className:l.forcedModalContent},s.createElement("img",{src:i,alt:""}),s.createElement("div",{className:l.forcedText},(0,n._V)(n.CP.recordScreen17)),s.createElement("div",{className:l.screenNumText},(0,n._V)(n.CP.recordScreen18),(oe=k.exerciseUserInfo)==null?void 0:oe.screen_num,(0,n._V)(n.CP.recordScreen19)),s.createElement(g.default,{dataSource:he==null?void 0:he.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,n._V)(n.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,n._V)(n.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,n._V)(n.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{N(),H()},onOk:()=>{t.history.push(`/classrooms/${re.coursesId}/exercisenotice/${re.categoryId}/users/${re.login}?isShowApply=true`)}})}else V.info({content:s.createElement("div",{className:"tc font16"},(0,n._V)(n.CP.recordScreen23),s.createElement("br",null),(0,n._V)(n.CP.recordScreen24)),onOk:()=>{H()}})}),ce=W=>{(0,v.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!q.current&&(0,v.BU)()},ne=()=>_(void 0,null,function*(){var W;if((W=k.exerciseUserInfo)!=null&&W.screen_at){const he=yield(0,c.ck)(w(S({},re),{reset:!0}));if((he==null?void 0:he.status)===-6)return}const K=yield(0,c.oy)({id:re.categoryId});if(K!=null&&K.is_commit){ue();return}return yield $()}),U=()=>_(void 0,null,function*(){var W;if((0,r.RG)(" ",!0),(0,v.vp)()){if((W=k.exerciseUserInfo)!=null&&W.screen_at){var K=yield(0,c.ck)(w(S({},re),{reset:!0}));if((K==null?void 0:K.status)===-6)return}}else if(!q.current){var K=yield(0,c.ck)(S({},re));if((K==null?void 0:K.status)===-6)return;const he=yield $();F(he.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),M=()=>_(void 0,null,function*(){(0,c.ck)(S({},re));const W=yield $();F(W.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return s.createElement("div",null,B)};var R=(0,t.connect)(({exercise:k,globalSetting:P})=>({globalSetting:P,exercise:k}))(T)},31515:function($e,be,A){"use strict";A.d(be,{X:function(){return g},y:function(){return e}});var D=A(59301),z=A(8591);const e=v=>{(0,D.useEffect)(()=>{if(v){const c=o=>{o.key==="F12"&&(o.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},a=o=>{o.preventDefault()};return document.addEventListener("keydown",c),document.addEventListener("contextmenu",a),()=>{document.removeEventListener("keydown",c),document.removeEventListener("contextmenu",a)}}},[v])},g=()=>{const[v,c]=(0,D.useState)(!1),a=o=>{const{keyCode:l,ctrlKey:u,metaKey:i,type:r}=o;(r==="paste"||(l===67||l===86)&&(i||u))&&(z.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),o.preventDefault(),o.stopPropagation())};return(0,D.useEffect)(()=>(v&&(window.addEventListener("keydown",a,!0),window.addEventListener("paste",a,!0)),()=>{window.removeEventListener("keydown",a,!0),window.removeEventListener("paste",a,!0)}),[v]),{setOpenDisableCopyAndPaste:c,disableCopyAndPaste:v}}},26089:function($e,be,A){"use strict";A.d(be,{Z:function(){return g}});var D=A(42203),z={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},e=A(59301),g=({message:v,className:c,children:a,style:o={}})=>e.createElement("div",{className:`custom-spinner ${z.idsRingWrapper} ${c}`},e.createElement("div",{className:z.ldsRing},e.createElement("div",null),e.createElement("div",null),e.createElement("div",null),e.createElement("div",null)),v?e.createElement("p",{style:o},v):null,a,e.createElement(D.Outlet,null))},69003:function($e,be,A){"use strict";A.d(be,{Z:function(){return g}});var D=A(59301),z=A(86766),e=A(59301),g=({defaultX:v="40%",leftChild:c,rightChild:a,className:o,hideResize:l=!1})=>{const[u,i]=(0,D.useState)(v),r=(0,D.useRef)();function t(){r.current=!0}(0,D.useEffect)(()=>{function d(h){r.current&&(z.Z.publish("resize-move-bar",h),i(h.pageX))}function m(){r.current=!1}return window.addEventListener("mousemove",d),window.addEventListener("mouseup",m),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",m)}},[]);const n=typeof u=="number"&&u!==.01?`${u}px`:v,s=`calc(100% - ${l?"0px":"4px"} - ${n})`;return e.createElement("div",{className:`split-panel-container ${o}`},e.createElement("section",{style:{width:n,display:u===.01?"none":""}},c),e.createElement("section",{className:"resize-x-bar",onMouseDown:t},e.createElement("a",{className:"btn-resize"},e.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},e.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"})))),e.createElement("section",{style:{width:s}},a))}},44722:function($e,be,A){"use strict";A.d(be,{Z:function(){return c}});var D=A(59301),z={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_"},e=A(92310),g=A.n(e),c=({className:a,style:o={},leftNode:l,leftTitle:u="\u81EA\u6D4B\u8F93\u5165",rightNode:i,rightTitle:r="\u8FD0\u884C\u7ED3\u679C"})=>D.createElement("div",{className:g()(z.result,a),style:o},D.createElement("div",{className:z.left},D.createElement("div",{className:z.title},D.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),D.createElement("span",null,u)),D.createElement("div",{className:z.leftNode},l)),D.createElement("div",{className:z.right},D.createElement("div",{className:z.title},D.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),D.createElement("span",null,r)),D.createElement("div",{className:z.rightNode},i)))},5649:function($e,be,A){"use strict";var D=A(59301);const z=g=>String(g).length===1?`0${g}`:g,e=({className:g="",onChange:v,defaultValue:c=0})=>{const[a,o]=(0,D.useState)(c);(0,D.useEffect)(()=>{const r=setTimeout(()=>{o(a+1e3)},1e3);return v(a+1e3),()=>{clearInterval(r)}},[a]);const l=parseInt(a/(60*6e4))||"00",u=parseInt(a%(60*6e4)/6e4)||"00",i=parseInt(a%6e4/1e3)||"00";return D.createElement("div",{className:g},z(l),":",z(u),":",z(i))};be.Z=e},9168:function($e,be,A){"use strict";A.d(be,{cT:function(){return C},pe:function(){return S}});var D=A(59301),z=A(24645),e=A(8591),g=A(70635),v=A(28209),c=A.n(v),a=A(1012),o=A(42203),l=A(47257),u=A.n(l),i=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,m=(T,R,k)=>R in T?i(T,R,{enumerable:!0,configurable:!0,writable:!0,value:k}):T[R]=k,h=(T,R)=>{for(var k in R||(R={}))s.call(R,k)&&m(T,k,R[k]);if(n)for(var k of n(R))d.call(R,k)&&m(T,k,R[k]);return T},y=(T,R)=>r(T,t(R)),p=(T,R)=>{var k={};for(var P in T)s.call(T,P)&&R.indexOf(P)<0&&(k[P]=T[P]);if(T!=null&&n)for(var P of n(T))R.indexOf(P)<0&&d.call(T,P)&&(k[P]=T[P]);return k},b=(T,R,k)=>new Promise((P,L)=>{var O=V=>{try{H(k.next(V))}catch(B){L(B)}},N=V=>{try{H(k.throw(V))}catch(B){L(B)}},H=V=>V.done?P(V.value):Promise.resolve(V.value).then(O,N);H((k=k.apply(T,R)).next())});const{Dragger:x}=z.default,S=T=>{const R="bf3c199c2470cb477d907b1e0917c17b",k="5183666c72eec9e4";var P=c().enc.Utf8.parse(R);let L=c().enc.Utf8.parse(k);var O=c().AES.decrypt(T,P,{iv:L,mode:c().mode.CBC});return O.toString(c().enc.Utf8)};let w;const _=T=>b(void 0,[T],function*({identifier:R,oldFilename:k,newFilename:P}){var L,O,N,H,V,B;const te=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});te.data=JSON.parse(S(te.data));const ee=new OSS({endpoint:(L=te==null?void 0:te.data)==null?void 0:L.end_point,region:(O=te==null?void 0:te.data)==null?void 0:O.region,accessKeyId:(N=te==null?void 0:te.data)==null?void 0:N.access_key_id,accessKeySecret:(H=te==null?void 0:te.data)==null?void 0:H.access_key_secret,bucket:(V=te==null?void 0:te.data)==null?void 0:V.bucket,stsToken:(B=te==null?void 0:te.data)==null?void 0:B.security_token});return new Promise((J,Q)=>{console.log(11111,`${R}/${k}`,`${R}/${P}`,te.data),ee.copy(`/${R}/${k}`,`/${R}/${P}`).then(re=>{console.log("\u62F7\u8D1D\u6210\u529F",re)}).catch(re=>{console.log(re)})})}),C=(T,R,k)=>b(void 0,null,function*(){var P,L,O,N,H,V;R.file_name=T.name;const B=yield(0,g.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",S(B.data)),B.data=JSON.parse(S(B.data));const te=T.name.split(".");te.pop();const ee=R.realFileName?te.join(""):(0,a.Z)(),J=new(u())({endpoint:(P=B==null?void 0:B.data)==null?void 0:P.end_point,region:(L=B==null?void 0:B.data)==null?void 0:L.region,accessKeyId:(O=B==null?void 0:B.data)==null?void 0:O.access_key_id,accessKeySecret:(N=B==null?void 0:B.data)==null?void 0:N.access_key_secret,bucket:(H=B==null?void 0:B.data)==null?void 0:H.bucket,stsToken:(V=B==null?void 0:B.data)==null?void 0:V.security_token});return new Promise((Q,re)=>{var Z;J.multipartUpload(`${ee}`,new Blob([T],{type:T.type}),y(h({timeout:200*1e3,partSize:102400},k),{callback:{url:(Z=B==null?void 0:B.data)==null?void 0:Z.callback_url,host:B==null?void 0:B.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,g.rz)(R)}})).then(function(X){var $;T.response=($=X.data)==null?void 0:$.data,Q(X==null?void 0:X.data)}).catch(function(X){re(X),console.log("err:",X)})})}),E=T=>{var R=T,{user:k,cancelUpload:P}=R,L=p(R,["user","cancelUpload"]);const[O,N]=(0,D.useState)([]);let[H,V]=(0,D.useState)();const B={onRemove:ee=>{N([...O.filter(J=>J.name!==ee.name)]),L.onChange(O.filter(J=>J.name!==ee.name))},disabled:L.disabled,multiple:!0,fileList:O==null?void 0:O.map(ee=>ee.file),customRequest:()=>{},beforeUpload:ee=>b(void 0,null,function*(){let J=L.maxSize||1073741824;if(O.filter(Q=>Q.name===ee.name).length){e.ZP.info(`${ee.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(ee==null?void 0:ee.size)>J?(e.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${J/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(O.push({name:ee.name,file:ee}),N([...O]),L.onChange(O),!1)})},te=(ee,J)=>b(void 0,null,function*(){var Q,re,Z,X,$,ie;J.file_name=ee.name;const de=ee.name,pe=yield(0,g.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(pe.data=JSON.parse(S(pe.data)),(pe==null?void 0:pe.status)!==0){O[O.findIndex(q=>q.name===de)].status="error",O[O.findIndex(q=>q.name===de)].file.status="error",L.onChange(O),e.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}H=new(u())({endpoint:(Q=pe==null?void 0:pe.data)==null?void 0:Q.end_point,region:(re=pe==null?void 0:pe.data)==null?void 0:re.region,accessKeyId:(Z=pe==null?void 0:pe.data)==null?void 0:Z.access_key_id,accessKeySecret:(X=pe==null?void 0:pe.data)==null?void 0:X.access_key_secret,bucket:($=pe==null?void 0:pe.data)==null?void 0:$.bucket,stsToken:(ie=pe==null?void 0:pe.data)==null?void 0:ie.security_token}),console.log(ee,"file"),V(H);const G=ee.name.split(".");G.pop();const I=de.indexOf(".")>-1?J.realFileName?G.join("."):(0,a.Z)():de;return new Promise((q,F)=>{var Y;try{H.multipartUpload(`${L.identifier}/${I}${de.indexOf(".")>-1?"."+de.split(".").pop():""}`,new Blob([ee.file],{type:ee.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(ue,ce,ne)=>{try{console.log("\u8FDB\u5EA6",ue,ce,ne);const U=O.findIndex(M=>M.name===de);O[U].file.percent=ue*100,O[U].tempCheckpoint=ce,N([...O])}catch(U){}},checkpoint:O[O.findIndex(ue=>ue.name===de)].tempCheckpoint,callback:{customValue:{id:de+""},url:(Y=pe==null?void 0:pe.data)==null?void 0:Y.callback_url,host:pe==null?void 0:pe.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,g.rz)(J)}}).then(function(ue){var ce,ne,U;const M=O.findIndex(K=>K.name===de);let W="done";if(((ce=ue.data)==null?void 0:ce.status)===0){ee.response=(ne=ue.data)==null?void 0:ne.data;const K=O.findIndex(oe=>oe.name===de);O[K].status="done",O[K].file.status="done"}else e.ZP.warning((U=ue.data)==null?void 0:U.message),W="error";O[M].status=W,O[M].file.status=W,L.onChange(O),q(ue==null?void 0:ue.data)}).catch(function(ue){O[O.findIndex(ce=>ce.name===de)].status="error",O[O.findIndex(ce=>ce.name===de)].file.status="error",e.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),N([...O]),L.onChange(O),F(ue),console.log("err:",ue)})}catch(ue){}})});return(0,D.useEffect)(()=>{O.every(ee=>ee==="done"||ee==="error")&&L.onComplete(O)},[O]),(0,D.useEffect)(()=>{P&&(H==null||H.cancel())},[P]),(0,D.useEffect)(()=>{L.uploading&&O.map(ee=>b(void 0,null,function*(){var J;if((!ee.status||ee.status==="error")&&!P){ee.status="uploading",ee.file.status="uploading";const Q=yield te(ee,{login:(J=k==null?void 0:k.userInfo)==null?void 0:J.login,container_type:L.container_type,container_id:L.container_id,description:L.description,realFileName:L.realFileName})}}))},[L.uploading]),D.createElement(x,y(h({},B),{height:L.height,className:L.className}),D.createElement("p",{className:"ant-upload-hint"},L.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};be.ZP=(0,o.connect)(({loading:T,globalSetting:R,user:k})=>({globalSetting:R,loading:T.models.competitions,user:k}))(E)},2307:function($e,be,A){"use strict";A.d(be,{Z:function(){return fr}});var D=A(59301),z=A(86766),e=A(30631),g=A(92310),v=A.n(g),c=A(5891),a=A(57259),o=A(80962),l=A(29043),u=A(80665),i=A(19149),r=A(21783),t=A(35788),n=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],s=D.createContext(null),d=0;function m(Fe,Ae){var Ue=D.useState(function(){return d+=1,String(d)}),De=(0,l.Z)(Ue,1),tt=De[0],at=D.useContext(s),ve={data:Ae,canPreview:Fe};return D.useEffect(function(){if(at)return at.register(tt,ve)},[]),D.useEffect(function(){at&&at.register(tt,ve)},[Fe,Ae]),tt}function h(Fe){return new Promise(function(Ae){var Ue=document.createElement("img");Ue.onerror=function(){return Ae(!1)},Ue.onload=function(){return Ae(!0)},Ue.src=Fe})}function y(Fe){var Ae=Fe.src,Ue=Fe.isCustomPlaceholder,De=Fe.fallback,tt=(0,D.useState)(Ue?"loading":"normal"),at=(0,l.Z)(tt,2),ve=at[0],we=at[1],Ce=(0,D.useRef)(!1),Oe=ve==="error";(0,D.useEffect)(function(){h(Ae).then(function(Re){Re||we("error")})},[Ae]),(0,D.useEffect)(function(){Ue&&!Ce.current?we("loading"):Oe&&we("normal")},[Ae]);var Me=function(){we("normal")},Pe=function(Ve){Ce.current=!1,ve==="loading"&&Ve!=null&&Ve.complete&&(Ve.naturalWidth||Ve.naturalHeight)&&(Ce.current=!0,Me())},ke=Oe&&De?{src:De}:{onLoad:Me,src:Ae};return[Pe,ke,ve]}var p=A(86923),b=A(8178),x=A(85108),S=A(51395);function w(Fe,Ae,Ue,De){var tt=Ae+Ue,at=(Ue-De)/2;if(Ue>De){if(Ae>0)return(0,o.Z)({},Fe,at);if(Ae<0&&tt<De)return(0,o.Z)({},Fe,-at)}else if(Ae<0||tt>De)return(0,o.Z)({},Fe,Ae<0?at:-at);return{}}function _(Fe,Ae,Ue,De){var tt=(0,r.g1)(),at=tt.width,ve=tt.height,we=null;return Fe<=at&&Ae<=ve?we={x:0,y:0}:(Fe>at||Ae>ve)&&(we=(0,a.Z)((0,a.Z)({},w("x",Ue,Fe,at)),w("y",De,Ae,ve))),we}var C=A(51346),E=A(23073),T={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function R(Fe,Ae,Ue,De){var tt=(0,D.useRef)(null),at=(0,D.useRef)([]),ve=(0,D.useState)(T),we=(0,l.Z)(ve,2),Ce=we[0],Oe=we[1],Me=function(Ve){Oe(T),De&&!(0,C.Z)(T,Ce)&&De({transform:T,action:Ve})},Pe=function(Ve,rt){tt.current===null&&(at.current=[],tt.current=(0,E.Z)(function(){Oe(function(qe){var dt=qe;return at.current.forEach(function(ct){dt=(0,a.Z)((0,a.Z)({},dt),ct)}),tt.current=null,De==null||De({transform:dt,action:rt}),dt})})),at.current.push((0,a.Z)((0,a.Z)({},Ce),Ve))},ke=function(Ve,rt,qe,dt){var ct=Fe.current,Dt=ct.width,Wt=ct.height,Jt=ct.offsetWidth,lr=ct.offsetHeight,Lt=ct.offsetLeft,Ft=ct.offsetTop,er=Ve,zt=Ce.scale*Ve;zt>Ue?(er=Ue/Ce.scale,zt=Ue):zt<Ae&&(er=Ae/Ce.scale,zt=Ae);var Ot=qe!=null?qe:innerWidth/2,ir=dt!=null?dt:innerHeight/2,Ne=er-1,wr=Ne*Dt*.5,Cr=Ne*Wt*.5,mr=Ne*(Ot-Ce.x-Lt),Sr=Ne*(ir-Ce.y-Ft),gr=Ce.x-(mr-wr),Ar=Ce.y-(Sr-Cr);if(Ve<1&&zt===1){var br=Jt*zt,ht=lr*zt,At=(0,r.g1)(),Dr=At.width,kt=At.height;br<=Dr&&ht<=kt&&(gr=0,Ar=0)}Pe({x:gr,y:Ar,scale:zt},rt)};return{transform:Ce,resetTransform:Me,updateTransform:Pe,dispatchZoomChange:ke}}var k=A(43403),P=A(43469),L=function(Ae){var Ue=Ae.visible,De=Ae.maskTransitionName,tt=Ae.getContainer,at=Ae.prefixCls,ve=Ae.rootClassName,we=Ae.icons,Ce=Ae.countRender,Oe=Ae.showSwitch,Me=Ae.showProgress,Pe=Ae.current,ke=Ae.transform,Re=Ae.count,Ve=Ae.scale,rt=Ae.minScale,qe=Ae.maxScale,dt=Ae.closeIcon,ct=Ae.onSwitchLeft,Dt=Ae.onSwitchRight,Wt=Ae.onClose,Jt=Ae.onZoomIn,lr=Ae.onZoomOut,Lt=Ae.onRotateRight,Ft=Ae.onRotateLeft,er=Ae.onFlipX,zt=Ae.onFlipY,Ot=Ae.toolbarRender,ir=(0,D.useContext)(s),Ne=we.rotateLeft,wr=we.rotateRight,Cr=we.zoomIn,mr=we.zoomOut,Sr=we.close,gr=we.left,Ar=we.right,br=we.flipX,ht=we.flipY,At="".concat(at,"-operations-operation");D.useEffect(function(){var or=function(_r){_r.keyCode===x.Z.ESC&&Wt()};return Ue&&window.addEventListener("keydown",or),function(){window.removeEventListener("keydown",or)}},[Ue]);var Dr=[{icon:ht,onClick:zt,type:"flipY"},{icon:br,onClick:er,type:"flipX"},{icon:Ne,onClick:Ft,type:"rotateLeft"},{icon:wr,onClick:Lt,type:"rotateRight"},{icon:mr,onClick:lr,type:"zoomOut",disabled:Ve===rt},{icon:Cr,onClick:Jt,type:"zoomIn",disabled:Ve===qe}],kt=Dr.map(function(or){var tr,_r=or.icon,St=or.onClick,Pt=or.type,yr=or.disabled;return D.createElement("div",{className:v()(At,(tr={},(0,o.Z)(tr,"".concat(at,"-operations-operation-").concat(Pt),!0),(0,o.Z)(tr,"".concat(at,"-operations-operation-disabled"),!!yr),tr)),onClick:St,key:Pt},_r)}),Ir=D.createElement("div",{className:"".concat(at,"-operations")},kt);return D.createElement(P.default,{visible:Ue,motionName:De},function(or){var tr=or.className,_r=or.style;return D.createElement(k.Z,{open:!0,getContainer:tt!=null?tt:document.body},D.createElement("div",{className:v()("".concat(at,"-operations-wrapper"),tr,ve),style:_r},dt===null?null:D.createElement("button",{className:"".concat(at,"-close"),onClick:Wt},dt||Sr),Oe&&D.createElement(D.Fragment,null,D.createElement("div",{className:v()("".concat(at,"-switch-left"),(0,o.Z)({},"".concat(at,"-switch-left-disabled"),Pe===0)),onClick:ct},gr),D.createElement("div",{className:v()("".concat(at,"-switch-right"),(0,o.Z)({},"".concat(at,"-switch-right-disabled"),Pe===Re-1)),onClick:Dt},Ar)),D.createElement("div",{className:"".concat(at,"-footer")},Me&&D.createElement("div",{className:"".concat(at,"-progress")},Ce?Ce(Pe+1,Re):"".concat(Pe+1," / ").concat(Re)),Ot?Ot(Ir,(0,a.Z)({icons:{flipYIcon:kt[0],flipXIcon:kt[1],rotateLeftIcon:kt[2],rotateRightIcon:kt[3],zoomOutIcon:kt[4],zoomInIcon:kt[5]},actions:{onFlipY:zt,onFlipX:er,onRotateLeft:Ft,onRotateRight:Lt,onZoomOut:lr,onZoomIn:Jt},transform:ke},ir?{current:Pe,total:Re}:{})):Ir)))})},O=L,N=1,H=1,V=["fallback","src","imgRef"],B=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],te=function(Ae){var Ue=Ae.fallback,De=Ae.src,tt=Ae.imgRef,at=(0,i.Z)(Ae,V),ve=y({src:De,fallback:Ue}),we=(0,l.Z)(ve,2),Ce=we[0],Oe=we[1];return D.createElement("img",(0,c.Z)({ref:function(Pe){tt.current=Pe,Ce(Pe)}},at,Oe))},ee=function(Ae){var Ue=Ae.prefixCls,De=Ae.src,tt=Ae.alt,at=Ae.fallback,ve=Ae.movable,we=ve===void 0?!0:ve,Ce=Ae.onClose,Oe=Ae.visible,Me=Ae.icons,Pe=Me===void 0?{}:Me,ke=Ae.rootClassName,Re=Ae.closeIcon,Ve=Ae.getContainer,rt=Ae.current,qe=rt===void 0?0:rt,dt=Ae.count,ct=dt===void 0?1:dt,Dt=Ae.countRender,Wt=Ae.scaleStep,Jt=Wt===void 0?.5:Wt,lr=Ae.minScale,Lt=lr===void 0?1:lr,Ft=Ae.maxScale,er=Ft===void 0?50:Ft,zt=Ae.transitionName,Ot=zt===void 0?"zoom":zt,ir=Ae.maskTransitionName,Ne=ir===void 0?"fade":ir,wr=Ae.imageRender,Cr=Ae.imgCommonProps,mr=Ae.toolbarRender,Sr=Ae.onTransform,gr=Ae.onChange,Ar=(0,i.Z)(Ae,B),br=(0,D.useRef)(),ht=(0,D.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),At=(0,D.useState)(!1),Dr=(0,l.Z)(At,2),kt=Dr[0],Ir=Dr[1],or=(0,D.useContext)(s),tr=or&&ct>1,_r=or&&ct>=1,St=R(br,Lt,er,Sr),Pt=St.transform,yr=St.resetTransform,sr=St.updateTransform,Tr=St.dispatchZoomChange,_e=(0,D.useState)(!0),Ie=(0,l.Z)(_e,2),Be=Ie[0],Ke=Ie[1],Ye=Pt.rotate,Ze=Pt.scale,ft=Pt.x,Xe=Pt.y,Je=v()((0,o.Z)({},"".concat(Ue,"-moving"),kt));(0,D.useEffect)(function(){Be||Ke(!0)},[Be]);var mt=function(){yr("close")},Qe=function(){Tr(N+Jt,"zoomIn")},Gt=function(){Tr(N/(N+Jt),"zoomOut")},bt=function(){sr({rotate:Ye+90},"rotateRight")},Qt=function(){sr({rotate:Ye-90},"rotateLeft")},jt=function(){sr({flipX:!Pt.flipX},"flipX")},Yt=function(){sr({flipY:!Pt.flipY},"flipY")},dr=function(ot){ot==null||ot.preventDefault(),ot==null||ot.stopPropagation(),qe>0&&(Ke(!1),yr("prev"),gr==null||gr(qe-1,qe))},Rr=function(ot){ot==null||ot.preventDefault(),ot==null||ot.stopPropagation(),qe<ct-1&&(Ke(!1),yr("next"),gr==null||gr(qe+1,qe))},Pr=function(){if(Oe&&kt){Ir(!1);var ot=ht.current,hr=ot.transformX,vr=ot.transformY,cr=ft!==hr&&Xe!==vr;if(!cr)return;var ur=br.current.offsetWidth*Ze,Br=br.current.offsetHeight*Ze,Nr=br.current.getBoundingClientRect(),Wr=Nr.left,Gr=Nr.top,xr=Ye%180!==0,Tt=_(xr?Br:ur,xr?ur:Br,Wr,Gr);Tt&&sr((0,a.Z)({},Tt),"dragRebound")}},pr=function(ot){!we||ot.button!==0||(ot.preventDefault(),ot.stopPropagation(),ht.current={deltaX:ot.pageX-Pt.x,deltaY:ot.pageY-Pt.y,transformX:Pt.x,transformY:Pt.y},Ir(!0))},Mr=function(ot){Oe&&kt&&sr({x:ot.pageX-ht.current.deltaX,y:ot.pageY-ht.current.deltaY},"move")},xt=function(ot){if(!(!Oe||ot.deltaY==0)){var hr=Math.abs(ot.deltaY/100),vr=Math.min(hr,H),cr=N+vr*Jt;ot.deltaY>0&&(cr=N/cr),Tr(cr,"wheel",ot.clientX,ot.clientY)}},nt=function(ot){!Oe||!tr||(ot.keyCode===x.Z.LEFT?dr():ot.keyCode===x.Z.RIGHT&&Rr())},It=function(ot){Oe&&(Ze!==1?sr({x:0,y:0,scale:1},"doubleClick"):Tr(N+Jt,"doubleClick",ot.clientX,ot.clientY))};(0,D.useEffect)(function(){var it,ot,hr,vr;if(we){hr=(0,b.Z)(window,"mouseup",Pr,!1),vr=(0,b.Z)(window,"mousemove",Mr,!1);try{window.top!==window.self&&(it=(0,b.Z)(window.top,"mouseup",Pr,!1),ot=(0,b.Z)(window.top,"mousemove",Mr,!1))}catch(cr){(0,S.Kp)(!1,"[rc-image] ".concat(cr))}}return function(){var cr,ur,Br,Nr;(cr=hr)===null||cr===void 0||cr.remove(),(ur=vr)===null||ur===void 0||ur.remove(),(Br=it)===null||Br===void 0||Br.remove(),(Nr=ot)===null||Nr===void 0||Nr.remove()}},[Oe,kt,ft,Xe,Ye,we]),(0,D.useEffect)(function(){var it=(0,b.Z)(window,"keydown",nt,!1);return function(){it.remove()}},[Oe,tr,qe]);var Et=D.createElement(te,(0,c.Z)({},Cr,{width:Ae.width,height:Ae.height,imgRef:br,className:"".concat(Ue,"-img"),alt:tt,style:{transform:"translate3d(".concat(Pt.x,"px, ").concat(Pt.y,"px, 0) scale3d(").concat(Pt.flipX?"-":"").concat(Ze,", ").concat(Pt.flipY?"-":"").concat(Ze,", 1) rotate(").concat(Ye,"deg)"),transitionDuration:!Be&&"0s"},fallback:at,src:De,onWheel:xt,onMouseDown:pr,onDoubleClick:It}));return D.createElement(D.Fragment,null,D.createElement(p.Z,(0,c.Z)({transitionName:Ot,maskTransitionName:Ne,closable:!1,keyboard:!0,prefixCls:Ue,onClose:Ce,visible:Oe,wrapClassName:Je,rootClassName:ke,getContainer:Ve},Ar,{afterClose:mt}),D.createElement("div",{className:"".concat(Ue,"-img-wrapper")},wr?wr(Et,(0,a.Z)({transform:Pt},or?{current:qe}:{})):Et)),D.createElement(O,{visible:Oe,transform:Pt,maskTransitionName:Ne,closeIcon:Re,getContainer:Ve,prefixCls:Ue,rootClassName:ke,icons:Pe,countRender:Dt,showSwitch:tr,showProgress:_r,current:qe,count:ct,scale:Ze,minScale:Lt,maxScale:er,toolbarRender:mr,onSwitchLeft:dr,onSwitchRight:Rr,onZoomIn:Qe,onZoomOut:Gt,onRotateRight:bt,onRotateLeft:Qt,onFlipX:jt,onFlipY:Yt,onClose:Ce}))},J=ee,Q=A(26390);function re(Fe){var Ae=D.useState({}),Ue=(0,l.Z)(Ae,2),De=Ue[0],tt=Ue[1],at=D.useCallback(function(we,Ce){return tt(function(Oe){return(0,a.Z)((0,a.Z)({},Oe),{},(0,o.Z)({},we,Ce))}),function(){tt(function(Oe){var Me=(0,a.Z)({},Oe);return delete Me[we],Me})}},[]),ve=D.useMemo(function(){return Fe?Fe.map(function(we){if(typeof we=="string")return{data:{src:we}};var Ce={};return Object.keys(we).forEach(function(Oe){["src"].concat((0,Q.Z)(n)).includes(Oe)&&(Ce[Oe]=we[Oe])}),{data:Ce}}):Object.keys(De).reduce(function(we,Ce){var Oe=De[Ce],Me=Oe.canPreview,Pe=Oe.data;return Me&&we.push({data:Pe,id:Ce}),we},[])},[Fe,De]);return[ve,at]}var Z=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],X=["src"],$=function(Ae){var Ue,De=Ae.previewPrefixCls,tt=De===void 0?"rc-image-preview":De,at=Ae.children,ve=Ae.icons,we=ve===void 0?{}:ve,Ce=Ae.items,Oe=Ae.preview,Me=Ae.fallback,Pe=(0,u.Z)(Oe)==="object"?Oe:{},ke=Pe.visible,Re=Pe.onVisibleChange,Ve=Pe.getContainer,rt=Pe.current,qe=Pe.movable,dt=Pe.minScale,ct=Pe.maxScale,Dt=Pe.countRender,Wt=Pe.closeIcon,Jt=Pe.onChange,lr=Pe.onTransform,Lt=Pe.toolbarRender,Ft=Pe.imageRender,er=(0,i.Z)(Pe,Z),zt=re(Ce),Ot=(0,l.Z)(zt,2),ir=Ot[0],Ne=Ot[1],wr=(0,t.Z)(0,{value:rt}),Cr=(0,l.Z)(wr,2),mr=Cr[0],Sr=Cr[1],gr=(0,D.useState)(!1),Ar=(0,l.Z)(gr,2),br=Ar[0],ht=Ar[1],At=((Ue=ir[mr])===null||Ue===void 0?void 0:Ue.data)||{},Dr=At.src,kt=(0,i.Z)(At,X),Ir=(0,t.Z)(!!ke,{value:ke,onChange:function(Ye,Ze){Re==null||Re(Ye,Ze,mr)}}),or=(0,l.Z)(Ir,2),tr=or[0],_r=or[1],St=(0,D.useState)(null),Pt=(0,l.Z)(St,2),yr=Pt[0],sr=Pt[1],Tr=D.useCallback(function(Ke,Ye,Ze){var ft=ir.findIndex(function(Xe){return Xe.id===Ke});_r(!0),sr({x:Ye,y:Ze}),Sr(ft<0?0:ft),ht(!0)},[ir]);D.useEffect(function(){tr?br||Sr(0):ht(!1)},[tr]);var _e=function(Ye,Ze){Sr(Ye),Jt==null||Jt(Ye,Ze)},Ie=function(){_r(!1),sr(null)},Be=D.useMemo(function(){return{register:Ne,onPreview:Tr}},[Ne,Tr]);return D.createElement(s.Provider,{value:Be},at,D.createElement(J,(0,c.Z)({"aria-hidden":!tr,movable:qe,visible:tr,prefixCls:tt,closeIcon:Wt,onClose:Ie,mousePosition:yr,imgCommonProps:kt,src:Dr,fallback:Me,icons:we,minScale:dt,maxScale:ct,getContainer:Ve,current:mr,count:ir.length,countRender:Dt,onTransform:lr,toolbarRender:Lt,imageRender:Ft,onChange:_e},er)))},ie=$,de=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],pe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],G=function(Ae){var Ue=Ae.src,De=Ae.alt,tt=Ae.onPreviewClose,at=Ae.prefixCls,ve=at===void 0?"rc-image":at,we=Ae.previewPrefixCls,Ce=we===void 0?"".concat(ve,"-preview"):we,Oe=Ae.placeholder,Me=Ae.fallback,Pe=Ae.width,ke=Ae.height,Re=Ae.style,Ve=Ae.preview,rt=Ve===void 0?!0:Ve,qe=Ae.className,dt=Ae.onClick,ct=Ae.onError,Dt=Ae.wrapperClassName,Wt=Ae.wrapperStyle,Jt=Ae.rootClassName,lr=(0,i.Z)(Ae,de),Lt=Oe&&Oe!==!0,Ft=(0,u.Z)(rt)==="object"?rt:{},er=Ft.src,zt=Ft.visible,Ot=zt===void 0?void 0:zt,ir=Ft.onVisibleChange,Ne=ir===void 0?tt:ir,wr=Ft.getContainer,Cr=wr===void 0?void 0:wr,mr=Ft.mask,Sr=Ft.maskClassName,gr=Ft.movable,Ar=Ft.icons,br=Ft.scaleStep,ht=Ft.minScale,At=Ft.maxScale,Dr=Ft.imageRender,kt=Ft.toolbarRender,Ir=(0,i.Z)(Ft,pe),or=er!=null?er:Ue,tr=(0,t.Z)(!!Ot,{value:Ot,onChange:Ne}),_r=(0,l.Z)(tr,2),St=_r[0],Pt=_r[1],yr=y({src:Ue,isCustomPlaceholder:Lt,fallback:Me}),sr=(0,l.Z)(yr,3),Tr=sr[0],_e=sr[1],Ie=sr[2],Be=(0,D.useState)(null),Ke=(0,l.Z)(Be,2),Ye=Ke[0],Ze=Ke[1],ft=(0,D.useContext)(s),Xe=!!rt,Je=function(){Pt(!1),Ze(null)},mt=v()(ve,Dt,Jt,(0,o.Z)({},"".concat(ve,"-error"),Ie==="error")),Qe=(0,D.useMemo)(function(){var jt={};return n.forEach(function(Yt){Ae[Yt]!==void 0&&(jt[Yt]=Ae[Yt])}),jt},n.map(function(jt){return Ae[jt]})),Gt=(0,D.useMemo)(function(){return(0,a.Z)((0,a.Z)({},Qe),{},{src:or})},[or,Qe]),bt=m(Xe,Gt),Qt=function(Yt){var dr=(0,r.os)(Yt.target),Rr=dr.left,Pr=dr.top;ft?ft.onPreview(bt,Rr,Pr):(Ze({x:Rr,y:Pr}),Pt(!0)),dt==null||dt(Yt)};return D.createElement(D.Fragment,null,D.createElement("div",(0,c.Z)({},lr,{className:mt,onClick:Xe?Qt:dt,style:(0,a.Z)({width:Pe,height:ke},Wt)}),D.createElement("img",(0,c.Z)({},Qe,{className:v()("".concat(ve,"-img"),(0,o.Z)({},"".concat(ve,"-img-placeholder"),Oe===!0),qe),style:(0,a.Z)({height:ke},Re),ref:Tr},_e,{width:Pe,height:ke,onError:ct})),Ie==="loading"&&D.createElement("div",{"aria-hidden":"true",className:"".concat(ve,"-placeholder")},Oe),mr&&Xe&&D.createElement("div",{className:v()("".concat(ve,"-mask"),Sr),style:{display:(Re==null?void 0:Re.display)==="none"?"none":void 0}},mr)),!ft&&Xe&&D.createElement(J,(0,c.Z)({"aria-hidden":!St,visible:St,prefixCls:Ce,onClose:Je,mousePosition:Ye,src:or,alt:De,fallback:Me,getContainer:Cr,icons:Ar,movable:gr,scaleStep:br,minScale:ht,maxScale:At,rootClassName:Jt,imageRender:Dr,imgCommonProps:Qe,toolbarRender:kt},Ir)))};G.PreviewGroup=ie,G.displayName="Image";var I=G,q=I,F=A(62892),Y=A(36355),ue=A(31724),ce=A(72119),ne=A(16537),U=A(53878),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},W=M,K=A(88853),oe=function(Ae,Ue){return D.createElement(K.Z,(0,c.Z)({},Ae,{ref:Ue,icon:W}))},he=D.forwardRef(oe),ae=he,le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Se=le,ge=function(Ae,Ue){return D.createElement(K.Z,(0,c.Z)({},Ae,{ref:Ue,icon:Se}))},xe=D.forwardRef(ge),ye=xe,Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},se=Te,fe=function(Ae,Ue){return D.createElement(K.Z,(0,c.Z)({},Ae,{ref:Ue,icon:se}))},me=D.forwardRef(fe),Ee=me,je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Le=je,He=function(Ae,Ue){return D.createElement(K.Z,(0,c.Z)({},Ae,{ref:Ue,icon:Le}))},We=D.forwardRef(He),Ge=We,lt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},ze=lt,et=function(Ae,Ue){return D.createElement(K.Z,(0,c.Z)({},Ae,{ref:Ue,icon:ze}))},Ct=D.forwardRef(et),pt=Ct,yt=A(64993),_t=A(73819),gt=A(17313),Vt=A(29878),st=A(1950),wt=A(83116),ut=A(37613);const Xt=Fe=>({position:Fe||"absolute",inset:0}),$t=Fe=>{const{iconCls:Ae,motionDurationSlow:Ue,paddingXXS:De,marginXXS:tt,prefixCls:at,colorTextLightSolid:ve}=Fe;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ve,background:new yt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ue}`,[`.${at}-mask-info`]:Object.assign(Object.assign({},gt.vS),{padding:`0 ${De}px`,[Ae]:{marginInlineEnd:tt,svg:{verticalAlign:"baseline"}}})}},Ut=Fe=>{const{previewCls:Ae,modalMaskBg:Ue,paddingSM:De,marginXL:tt,margin:at,paddingLG:ve,previewOperationColorDisabled:we,previewOperationHoverColor:Ce,motionDurationSlow:Oe,iconCls:Me,colorTextLightSolid:Pe}=Fe,ke=new yt.C(Ue).setAlpha(.1),Re=ke.clone().setAlpha(.2);return{[`${Ae}-footer`]:{position:"fixed",bottom:tt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Fe.previewOperationColor},[`${Ae}-progress`]:{marginBottom:at},[`${Ae}-close`]:{position:"fixed",top:tt,right:{_skip_check_:!0,value:tt},display:"flex",color:Pe,backgroundColor:ke.toRgbString(),borderRadius:"50%",padding:De,outline:0,border:0,cursor:"pointer",transition:`all ${Oe}`,"&:hover":{backgroundColor:Re.toRgbString()},[`& > ${Me}`]:{fontSize:Fe.previewOperationSize}},[`${Ae}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${ve}px`,backgroundColor:ke.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:De,padding:De,cursor:"pointer",transition:`all ${Oe}`,userSelect:"none",[`&:not(${Ae}-operations-operation-disabled):hover > ${Me}`]:{color:Ce},"&-disabled":{color:we,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Me}`]:{fontSize:Fe.previewOperationSize}}}}},Ht=Fe=>{const{modalMaskBg:Ae,iconCls:Ue,previewOperationColorDisabled:De,previewCls:tt,zIndexPopup:at,motionDurationSlow:ve}=Fe,we=new yt.C(Ae).setAlpha(.1),Ce=we.clone().setAlpha(.2);return{[`${tt}-switch-left, ${tt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:at+1,display:"flex",alignItems:"center",justifyContent:"center",width:Fe.imagePreviewSwitchSize,height:Fe.imagePreviewSwitchSize,marginTop:-Fe.imagePreviewSwitchSize/2,color:Fe.previewOperationColor,background:we.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ve}`,userSelect:"none","&:hover":{background:Ce.toRgbString()},"&-disabled":{"&, &:hover":{color:De,background:"transparent",cursor:"not-allowed",[`> ${Ue}`]:{cursor:"not-allowed"}}},[`> ${Ue}`]:{fontSize:Fe.previewOperationSize}},[`${tt}-switch-left`]:{insetInlineStart:Fe.marginSM},[`${tt}-switch-right`]:{insetInlineEnd:Fe.marginSM}}},Mt=Fe=>{const{motionEaseOut:Ae,previewCls:Ue,motionDurationSlow:De,componentCls:tt}=Fe;return[{[`${tt}-preview-root`]:{[Ue]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ue}-body`]:Object.assign(Object.assign({},Xt()),{overflow:"hidden"}),[`${Ue}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${De} ${Ae} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Xt()),{transition:`transform ${De} ${Ae} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ue}-moving`]:{[`${Ue}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${tt}-preview-root`]:{[`${Ue}-wrap`]:{zIndex:Fe.zIndexPopup}}},{[`${tt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Fe.zIndexPopup+1},"&":[Ut(Fe),Ht(Fe)]}]},Rt=Fe=>{const{componentCls:Ae}=Fe;return{[Ae]:{position:"relative",display:"inline-block",[`${Ae}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Ae}-img-placeholder`]:{backgroundColor:Fe.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Ae}-mask`]:Object.assign({},$t(Fe)),[`${Ae}-mask:hover`]:{opacity:1},[`${Ae}-placeholder`]:Object.assign({},Xt())}}},nr=Fe=>{const{previewCls:Ae}=Fe;return{[`${Ae}-root`]:(0,Vt._y)(Fe,"zoom"),"&":(0,st.J$)(Fe,!0)}};var rr=(0,wt.Z)("Image",Fe=>{const Ae=`${Fe.componentCls}-preview`,Ue=(0,ut.TS)(Fe,{previewCls:Ae,modalMaskBg:new yt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Fe.controlHeightLG});return[Rt(Ue),Mt(Ue),(0,_t.QA)((0,ut.TS)(Ue,{componentCls:Ae})),nr(Ue)]},Fe=>({zIndexPopup:Fe.zIndexPopupBase+80,previewOperationColor:new yt.C(Fe.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new yt.C(Fe.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new yt.C(Fe.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Fe.fontSizeIcon*1.5})),Kt=function(Fe,Ae){var Ue={};for(var De in Fe)Object.prototype.hasOwnProperty.call(Fe,De)&&Ae.indexOf(De)<0&&(Ue[De]=Fe[De]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,De=Object.getOwnPropertySymbols(Fe);tt<De.length;tt++)Ae.indexOf(De[tt])<0&&Object.prototype.propertyIsEnumerable.call(Fe,De[tt])&&(Ue[De[tt]]=Fe[De[tt]]);return Ue};const Zt={rotateLeft:D.createElement(ae,null),rotateRight:D.createElement(ye,null),zoomIn:D.createElement(Ge,null),zoomOut:D.createElement(pt,null),close:D.createElement(ce.Z,null),left:D.createElement(ne.Z,null),right:D.createElement(U.Z,null),flipX:D.createElement(Ee,null),flipY:D.createElement(Ee,{rotate:90})};var qt=Fe=>{var{previewPrefixCls:Ae,preview:Ue}=Fe,De=Kt(Fe,["previewPrefixCls","preview"]);const{getPrefixCls:tt}=D.useContext(Y.E_),at=tt("image",Ae),ve=`${at}-preview`,we=tt(),[Ce,Oe]=rr(at),Me=D.useMemo(()=>{var Pe;if(Ue===!1)return Ue;const ke=typeof Ue=="object"?Ue:{},Re=v()(Oe,(Pe=ke.rootClassName)!==null&&Pe!==void 0?Pe:"");return Object.assign(Object.assign({},ke),{transitionName:(0,F.m)(we,"zoom",ke.transitionName),maskTransitionName:(0,F.m)(we,"fade",ke.maskTransitionName),rootClassName:Re})},[Ue]);return Ce(D.createElement(q.PreviewGroup,Object.assign({preview:Me,previewPrefixCls:ve,icons:Zt},De)))},Fr=function(Fe,Ae){var Ue={};for(var De in Fe)Object.prototype.hasOwnProperty.call(Fe,De)&&Ae.indexOf(De)<0&&(Ue[De]=Fe[De]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,De=Object.getOwnPropertySymbols(Fe);tt<De.length;tt++)Ae.indexOf(De[tt])<0&&Object.prototype.propertyIsEnumerable.call(Fe,De[tt])&&(Ue[De[tt]]=Fe[De[tt]]);return Ue};const Or=Fe=>{const{prefixCls:Ae,preview:Ue,className:De,rootClassName:tt,style:at}=Fe,ve=Fr(Fe,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:we,locale:Ce=ue.Z,getPopupContainer:Oe,image:Me}=D.useContext(Y.E_),Pe=we("image",Ae),ke=we(),Re=Ce.Image||ue.Z.Image,[Ve,rt]=rr(Pe),qe=v()(tt,rt),dt=v()(De,rt,Me==null?void 0:Me.className),ct=D.useMemo(()=>{if(Ue===!1)return Ue;const Wt=typeof Ue=="object"?Ue:{},{getContainer:Jt}=Wt,lr=Fr(Wt,["getContainer"]);return Object.assign(Object.assign({mask:D.createElement("div",{className:`${Pe}-mask-info`},D.createElement(e.Z,null),Re==null?void 0:Re.preview),icons:Zt},lr),{getContainer:Jt||Oe,transitionName:(0,F.m)(ke,"zoom",Wt.transitionName),maskTransitionName:(0,F.m)(ke,"fade",Wt.maskTransitionName)})},[Ue,Re]),Dt=Object.assign(Object.assign({},Me==null?void 0:Me.style),at);return Ve(D.createElement(q,Object.assign({prefixCls:Pe,preview:ct,rootClassName:qe,className:dt,style:Dt},ve)))};Or.PreviewGroup=qt;var ar=Or,fr=()=>{const[Fe,Ae]=(0,D.useState)(""),[Ue,De]=(0,D.useState)(0);let[tt,at]=(0,D.useState)(),[ve,we]=(0,D.useState)();const[Ce,Oe]=(0,D.useState)(!1),Me=(0,D.useRef)("");(0,D.useEffect)(()=>z.Z.subscribe("preview-image",Jt=>{Ae(Jt),console.log(ct.current),document.body.style.overflow="hidden"}),[]),(0,D.useEffect)(()=>(document.addEventListener("keydown",Pe),()=>{document.removeEventListener("keydown",Pe)}),[]),(0,D.useEffect)(()=>{Me.current=Fe},[Fe]);function Pe(Wt){Wt.keyCode==27&&Me.current&&ke()}function ke(){document.body.style.overflow="auto",at(void 0),we(void 0),De(0),Ae("")}function Re(){De(Ue+90)}function Ve(){tt=ct.current.width*1.1,ve=ct.current.height*1.1,we(ve),at(tt)}function rt(){tt=ct.current.width/1.1,ve=ct.current.height/1.1,we(ve),at(tt)}const qe=(0,D.useRef)(),dt=(0,D.useRef)(),ct=(0,D.useRef)(),Dt=Wt=>{(Wt.nativeEvent.target===qe.current||Wt.nativeEvent.target===dt.current)&&ke()};return D.createElement(D.Fragment,null,Fe?D.createElement("div",null,D.createElement("div",{className:"preview-wrp-group",ref:dt},D.createElement(ar,{className:"image-preview",src:Fe,style:{display:"none"},preview:{visible:!0,src:Fe,movable:!1,onVisibleChange:Wt=>{Ae("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},26403:function($e,be,A){"use strict";var D=A(7543),z=A(57809),e=A(78673),g=A(59301);const v=z.default.Option;be.Z=({isTheoretical:c,onFontSizeChange:a,cmFontSize:o,cmCodeMode:l,autoFormat:u,onCodeModeChange:i,onTabToSpace:r,onAutoFormat:t,formatDocument:n,className:s="",tabToSpace:d,children:m,code_editor:h,challenge:y})=>{const p={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return g.createElement("div",{className:`tpi-code-setting ${s}`},g.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),g.createElement("section",null,g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),g.createElement(z.default,{bordered:!1,size:"small",value:l,onChange:i},g.createElement(v,{value:"vs"},"\u767D\u8272\u80CC\u666F"),g.createElement(v,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!c&&g.createElement(g.Fragment,null,g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),g.createElement(z.default,{bordered:!1,size:"small",value:o,onChange:a},g.createElement(v,{value:12},"12px"),g.createElement(v,{value:14},"14px"),g.createElement(v,{value:16},"16px"),g.createElement(v,{value:18},"18px"),g.createElement(v,{value:20},"20px"),g.createElement(v,{value:22},"22px"))),g.createElement("div",{className:"file-item"},g.createElement("b",null,"Tab\u8F6C\u6362"),g.createElement(e.Z,{checked:d,onChange:r})),g.createElement("div",{className:"file-item",onClick:n},g.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!c&&g.createElement(g.Fragment,null,g.createElement("h3",null,"\u5FEB\u6377\u952E"),g.createElement("section",null,g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),g.createElement("span",null,"Ctrl + S")),g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),g.createElement("span",null,"F1 / Alt + F1")),g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),g.createElement("span",null,"Ctrl + ]/[")),g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),g.createElement("span",null,"Ctrl + Shift + \\")),g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),g.createElement("span",null,"Home")),g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),g.createElement("span",null,"End"))),m),!c&&g.createElement(g.Fragment,null,g.createElement("h3",null,"\u5FEB\u6377\u952E"),g.createElement("section",null,g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),g.createElement("span",null,p[y==null?void 0:y.difficulty])),g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),g.createElement("span",null,h==null?void 0:h.name)),g.createElement("div",{className:"file-item"},g.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),g.createElement("span",null,h!=null&&h.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},98445:function($e,be,A){"use strict";var D=A(59301),z=A(31797),e=A(88897),g=A(78241),v=A(43418),c=A(71418),a=A(2595),o=A(92832),l=A(95237),u=A(43604),i=A(3113),r=A(79124),t=A(61186),n=A.n(t),s=A(42203),d=A(58130),m=A(77066),h=A(2119),y=A(35427),p=A(59301),b=(_,C,E)=>new Promise((T,R)=>{var k=O=>{try{L(E.next(O))}catch(N){R(N)}},P=O=>{try{L(E.throw(O))}catch(N){R(N)}},L=O=>O.done?T(O.value):Promise.resolve(O.value).then(k,P);L((E=E.apply(_,C)).next())});const{Countdown:x}=z.default,S=({value:_,onChange:C,MaxMinutes:E})=>p.createElement(p.Fragment,null,p.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"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",p.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\u3002",p.createElement("br",null)),p.createElement(e.Z,{value:_,onChange:C,min:0,precision:0,max:E,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${E}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),w=({exercise:_,successCb:C,dispatch:E})=>{var T,R,k,P;const L=(0,s.useParams)(),[O]=g.default.useForm(),N=g.default.useWatch("time",O),[H,V]=(0,D.useState)(!1),B=(0,D.useRef)(),{actionTabs:te}=_,[ee,J]=(0,D.useState)(),[,Q,re,Z]=(0,y.U)(r.n7,{id:L.categoryId}),[,X,$]=(0,y.U)(r.Cd,{});(0,D.useEffect)(()=>{_.actionTabs.key==="student-unlock"&&(V(!1),O.resetFields())},[_.actionTabs.key]);const ie=()=>new Promise(ce=>b(void 0,null,function*(){var ne,U;return B.current=yield(0,m.y)({ip_limit:(ne=te==null?void 0:te.exerciseParams)==null?void 0:ne.ip_limit,ip_bind:(U=te==null?void 0:te.exerciseParams)==null?void 0:U.ip_bind_type}),ce()})),de=()=>b(void 0,null,function*(){var ce,ne,U,M,W;yield O.validateFields();const K=O.getFieldsValue();if(V(!0),(((ce=te==null?void 0:te.exerciseParams)==null?void 0:ce.ip_limit)!=="no"||(ne=te==null?void 0:te.exerciseParams)!=null&&ne.ip_bind_type)&&(yield ie()),(yield(0,r.ZD)((U=te==null?void 0:te.exerciseParams)==null?void 0:U.id,{exercise_user_id:(M=te==null?void 0:te.exerciseParams)==null?void 0:M.exercise_user_id,unlock_key:K.unlock_key,time:K.time,ip:B.current})).status===0){if(C){E({type:"exercise/setActionTabs",payload:{}}),C();return}const he=te==null?void 0:te.exerciseParams;(0,d.nr)({inner_ip:he.inner_ip,public_ip:he.public_ip,open_camera:he.open_camera,ip_limit:he.ip_limit,ip_bind:he.ip_bind,ip_bind_type:he.ip_bind_type,exercise_tips:he.exercise_tips,exerciseId:he.id,screen_open:he.screen_open,screen_num:he.screen_num,screen_sec:he.screen_sec,coursesId:L.coursesId,login:(W=(0,h.eY)())==null?void 0:W.login,history,identity_verify:he.identity_verify,open_phone_video_recording:he.open_phone_video_recording,current_status:he.current_status}),E({type:"exercise/setActionTabs",payload:{}})}V(!1)}),pe=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:ce=>p.createElement("span",{className:ce.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ce)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:ce=>p.createElement("span",{className:ce.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ce)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],G=((T=te==null?void 0:te.exerciseParams)==null?void 0:T.errorMessage)&&typeof((R=te==null?void 0:te.exerciseParams)==null?void 0:R.errorMessage)=="object";(0,D.useEffect)(()=>{_.actionTabs.key==="student-unlock"&&b(void 0,null,function*(){const ce=yield $(L);yield re({}),ce.status||J(ce)})},[_.actionTabs.key]);const{time:I,end_time:q}=(ee==null?void 0:ee.exercise)||{},F=Z!=null&&Z.user_end_time?n()(Z==null?void 0:Z.user_end_time).add(1,"minutes"):n()(),Y=n()(Z==null?void 0:Z.user_total_end_time)>F?Math.round(n().duration(n()(Z==null?void 0:Z.user_total_end_time).diff(F.startOf("minute"))).asMinutes()):0,ue=((Z==null?void 0:Z.student_left_minutes)||0)+(N||0);return p.createElement(p.Fragment,null,p.createElement(v.default,{width:514,centered:!0,closable:!!((k=te==null?void 0:te.exerciseParams)!=null&&k.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:_.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{E({type:"exercise/setActionTabs",payload:{}})}},p.createElement(c.Z,{spinning:Q||X},G&&p.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!G&&p.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),G&&p.createElement(a.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((P=te==null?void 0:te.exerciseParams)==null?void 0:P.errorMessage)||{}],columns:pe}),p.createElement("div",{className:""},p.createElement(g.default,{form:O,layout:"vertical",autoComplete:"off"},p.createElement(g.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},p.createElement(o.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),I!==-1?p.createElement(p.Fragment,null,p.createElement(g.default.Item,{name:"time",label:p.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",p.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",n()(Z==null?void 0:Z.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},p.createElement(S,{MaxMinutes:Y})),p.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",p.createElement("span",{className:"ml5"},Q||X?"--":ue),"\u5206\u949F",ue!==0&&(Z==null?void 0:Z.user_end_time)&&p.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",p.createElement("span",{className:"ml5"},n()(Z==null?void 0:Z.user_end_time).add(N||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):p.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",n()(q).format("YYYY-MM-DD HH:mm")))),p.createElement(l.Z,{justify:"space-between",align:"middle"},p.createElement(u.Z,null),p.createElement(u.Z,null,p.createElement(i.ZP,{loading:H,onClick:de},"\u8FDB\u5165\u8003\u8BD5"))))))};be.Z=(0,s.connect)(({exercise:_})=>({exercise:_}))(w)},70442:function($e,be,A){"use strict";A.d(be,{Z:function(){return s}});var D=A(59301),z=A(42203),e=A(43418),g=A(3113),v=A(71418),c=A(22267),a=A(90593),o=A(48551),l=A(24334),u=A(61186),i=A.n(u),r=A(81699),t=A(59301),n=(d,m,h)=>new Promise((y,p)=>{var b=w=>{try{S(h.next(w))}catch(_){p(_)}},x=w=>{try{S(h.throw(w))}catch(_){p(_)}},S=w=>w.done?y(w.value):Promise.resolve(w.value).then(b,x);S((h=h.apply(d,m)).next())}),s=({open:d,onClose:m})=>{const[h,y]=(0,D.useState)(void 0);console.log((0,z.useLocation)(),33);const p=(0,z.useLocation)();(0,D.useEffect)(()=>{d&&function(){return n(this,null,function*(){const J=yield(0,c.X6)(d);y(J.data)})}()},[d]);const{status:b,created_at:x,code:S,name:w,language:_,pass_sets_count:C,set_count:E,error_msg:T,output:R,input:k,expected_output:P,execute_memory:L,user:O,execute_time:N,input_file_url:H,output_file_url:V,is_file:B,expected_output_file_url:te}=h||{};return t.createElement(e.default,{open:d,width:1e3,onCancel:()=>m(!1),footer:t.createElement(g.ZP,{type:"primary",onClick:()=>m(!1)},"\u5173\u95ED"),centered:!0},t.createElement(v.Z,{spinning:!h,delay:500},t.createElement("div",{className:"record-detail-info"},h?t.createElement(t.Fragment,null,t.createElement("div",{className:"record-detail-body"},t.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),t.createElement("ul",{className:"record-info"},t.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",t.createElement("span",{className:b===0?"c-green":"c-red"},a.Im[b])," "),t.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",t.createElement("span",null,i()(x).format("YYYY-MM-DD HH:mm:ss"))," "),t.createElement("li",null," \u8BED\u8A00\uFF1A",t.createElement("span",null,_)," "),t.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",t.createElement("span",null,N*1e3,"ms")," "),t.createElement("li",null," ",`${b===r.h.HIDE_COMPILE_STATUS?"--":C} / ${E} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,a.gZ)({status:b,error_msg:T,execute_time:N,output:R,input:k,expected_output:P,input_file_url:H,output_file_url:V,is_file:B,expected_output_file_url:te}),t.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),t.createElement(o.ZP,{height:"200px",width:"100%",language:_==null?void 0:_.toLocaleLowerCase(),value:l.Base64.decode(S),options:{readOnly:!0}}))):null)))}},81298:function($e,be,A){"use strict";A.d(be,{Im:function(){return E},Y4:function(){return R}});var D=A(59301),z=A(92832),e=A(8591),g=A(3113),v=A(38600),c=A(24334),a=A.n(c),o=A(86653),l=A(26089),u=A(25711),i=A(58130),r=A(34376),t=A.n(r),n=A(70635),s=A(42203),d=A(70442),m=A(86766),h=A(22267),y=A(97655),p=A(79646),b=A(92310),x=A.n(b),S=A(39171),w=A(59301),_=(L,O,N)=>new Promise((H,V)=>{var B=J=>{try{ee(N.next(J))}catch(Q){V(Q)}},te=J=>{try{ee(N.throw(J))}catch(Q){V(Q)}},ee=J=>J.done?H(J.value):Promise.resolve(J.value).then(B,te);ee((N=N.apply(L,O)).next())});const{TextArea:C}=z.default,E={[v.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[v.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[v.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var T=(L=>(L[L.SET_VISIBLE=0]="SET_VISIBLE",L[L.SET_TABINDEX=1]="SET_TABINDEX",L))(T||{});function R(L){const{status:O,error_msg:N,output:H,input:V,expected_output:B,is_file:te,input_file_url:ee,output_file_url:J,expected_output_file_url:Q,setMonacoValue:re,setData:Z}=L,X=(0,D.useRef)(),$=(0,D.useRef)(),ie=(0,D.useRef)();let de=null;const pe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,D.useEffect)(()=>{if(H&&!te&&X.current){const G=new r.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});G.open(X.current);const I=(0,i.pp)(c.Base64.decode(H));G.write(I),G.setOption("theme",{background:"#1e1e1e"})}if(V&&!te&&$.current){const G=new r.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});G.open($.current),G.write((0,i.pp)(V)),G.setOption("theme",{background:"#1e1e1e"})}if(B&&!te&&ie.current){const G=new r.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});G.open(ie.current),G.write((0,i.pp)(c.Base64.decode(B))),G.setOption("theme",{background:"#1e1e1e"})}},[H]),O){case v.h.NOMATCH:de=w.createElement(w.Fragment,null,w.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!te&&w.createElement("div",{ref:X}),te&&w.createElement("div",{style:pe},w.createElement("a",{style:{fontSize:"16px"},onClick:()=>_(this,null,function*(){const G=yield(0,n.ZP)(J,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});re(G),setTimeout(()=>{Z(J)},200)})},H)),w.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!te&&w.createElement("div",{ref:ie}),te&&w.createElement("div",{style:pe},w.createElement("a",{style:{fontSize:"16px"},onClick:()=>_(this,null,function*(){const G=yield fetch(Q,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});re(yield G.text()),setTimeout(()=>{Z(Q)},200)})},B)));break;case v.h.EXECUTEFAILURE:de=w.createElement(w.Fragment,null,w.createElement("div",{style:{border:"1px #F6F7F9 solid"}},w.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!te&&w.createElement(u.Z,{value:V,style:pe}),te&&w.createElement("div",{style:pe},w.createElement("a",{onClick:()=>(0,i.LR)(ee,V)},V))),w.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},w.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),w.createElement("pre",{className:o.Z.error,style:{color:"#E30000",padding:"0 10px"}},c.Base64.decode(N),"111")));break;case v.h.COMPILEFAILURE:de=w.createElement(w.Fragment,null,w.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),w.createElement("pre",{className:o.Z.error},c.Base64.decode(N)));break;case v.h.PODFAILURE:de=w.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case v.h.TIMEOUT:de=w.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return w.createElement(w.Fragment,null," ",de," ")}function k(L){const{status:O,error_msg:N,execute_time:H,output:V,input:B,expected_output:te,is_file:ee,input_file_url:J,output_file_url:Q,expected_output_file_url:re}=L;let Z=null;switch(O){case v.h.OK:case v.h.NOMATCH:case v.h.EXECUTEFAILURE:case v.h.COMPILEFAILURE:Z=w.createElement("div",{id:"outputResultRef",className:"h100"});break;case v.h.PODFAILURE:Z=w.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case v.h.TIMEOUT:Z=w.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return w.createElement(w.Fragment,null," ",Z," ")}function P({value:L,className:O}){return w.createElement("span",{className:O},L)}be.ZP=({input:L,is_file:O,debuging:N,submitting:H,executingMessage:V,debugResult:B,onChangeInput:te,onDebugCode:ee,onSubmitCode:J,hack:Q,user:re,submitResult:Z,isWhiteTheme:X,topDispatch:$})=>{const[ie]=(0,s.useSearchParams)(),de=(0,s.useParams)(),[pe,G]=(0,D.useState)(!1),[I,q]=(0,D.useState)(!1),[F,Y]=(0,D.useState)(1),[ue,ce]=(0,D.useState)(!1),[ne,U]=(0,D.useState)(0),[M,W]=(0,D.useState)(!1),[K,oe]=(0,D.useState)(""),[he,ae]=(0,D.useState)(""),le=(0,D.useRef)(),Se=(0,D.useRef)(),ge=(0,D.useRef)(null),xe=(0,D.useRef)(null),ye=(0,D.useRef)(null);console.log(Z,"submitResult",de);const{status:Te,id:se,input:fe,output:me,expected_output:Ee,is_file:je,input_file_url:Le,output_file_url:He,expected_output_file_url:We,error_msg:Ge,hack_sets:lt}=Z||{};(0,D.useEffect)(()=>{Te===0&&(Y(1),U(0))},[Te,se]),(0,D.useEffect)(()=>{_(void 0,null,function*(){var wt;const ut=yield(0,h.rX)(de==null?void 0:de.id,"submit");(ut==null?void 0:ut.status)===0&&(ut!=null&&ut.data&&((wt=ut==null?void 0:ut.data)==null?void 0:wt.status)!==0?($({type:y.Types.SET_SUBMIT_RESULT,payload:{submitResult:ut==null?void 0:ut.data}}),Y(2),U(320)):(Y(1),U(0)))})},[de==null?void 0:de.id]),(0,D.useEffect)(()=>{if(le.current){let st=function(Rt){$t=Xt.offsetHeight,Ut=!0,Ht=Rt.pageY,ye.current.style.display="block"},wt=function(){Ut=!1,ye.current.style.display="none"},ut=function(Rt){if(Ut){ze();let nr=Ht-Rt.pageY,rr=$t+nr;if(rr<0&&(rr=0),rr>window.innerHeight-150&&(rr=window.innerHeight-150),F===1){rr<=34?U(0):U(rr);return}console.log(rr,"resizeH"),U(rr)}};const Xt=ge.current;let $t=0,Ut=!1,Ht=0;const Mt=document.getElementById("case-y-bar");return Mt==null||Mt.addEventListener("mousedown",st),document.addEventListener("mousemove",ut),document.addEventListener("mouseup",wt),()=>{const Rt=document.getElementById("case-y-bar");Rt==null||Rt.removeEventListener("mousedown",st),document.removeEventListener("mousemove",ut),document.removeEventListener("mouseup",wt)}}},[le,F]),(0,D.useEffect)(()=>{const st=m.Z.subscribe("resize-move-bar",ze);if(ie.get("type")!=="exercises")return document.addEventListener((0,S.gH)(),pt),()=>{document.removeEventListener((0,S.gH)(),pt),st()}},[]),(0,D.useEffect)(()=>{});function ze(){var st,wt,ut,Xt;const $t=document.getElementById("outputResultRef");if($t){let Ut=$t.dataset.text;Se.current.reset(),Se.current.writeln(Ut);const Ht=document.getElementById("outputResultRef").offsetWidth-20,Mt=((Xt=(ut=(wt=(st=Se.current)==null?void 0:st._core)==null?void 0:wt._renderService)==null?void 0:ut.dimensions)==null?void 0:Xt.actualCellWidth)||10,Rt=Math.ceil(Ht/Mt);Se.current.resize(Rt,Math.ceil($t.clientHeight/16))}}function et(){G(!pe),setTimeout(()=>{ze()},300),U(pe?320:window.innerHeight-150)}function Ct(){I?(q(!1),(0,S.BU)()):(q(!0),(0,S.Dj)(xe.current))}const pt=st=>{(0,S.vp)()||q(!1)},yt=(0,D.useMemo)(()=>{if(B){const{status:st,output:wt,error_msg:ut}=B;return setTimeout(()=>{let Xt="",$t=document.getElementById("outputResultRef");wt?Xt=c.Base64.decode(wt):ut&&(Xt=c.Base64.decode(ut)),Se.current=new r.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),Se.current.open($t),Se.current.onKey(function(Ut){var Ht;if(Ut.domEvent.key.toLocaleUpperCase()==="C"&&Ut.domEvent.ctrlKey){Ut.domEvent.preventDefault();let Mt=(Ht=Se.current)==null?void 0:Ht.getSelection();navigator.clipboard.writeText(Mt).then(()=>{})}}),$t.dataset.text=Xt,Se.current.setOption("convertEol",!0),ze()},300),w.createElement(w.Fragment,null,k(B))}return null},[B]);function _t(){var st,wt;if(!(Q!=null&&Q.code)||((st=Q==null?void 0:Q.code)==null?void 0:st.trim().length)===0){(wt=e.ZP)==null||wt.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Y(1),U(320),ee()}const gt=st=>_(void 0,null,function*(){let wt=yield(0,n.ZP)(`/api/problems/${st}/start.json`,{method:"get",params:{hack_user_id:re==null?void 0:re.user_id}});wt&&(window.location.href=`/myproblems/${wt==null?void 0:wt.identifier}${window.location.search}`)});function Vt(){je?navigator.clipboard.writeText(c.Base64.decode(Ge)).then(()=>{e.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(c.Base64.decode(me)).then(()=>{e.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return w.createElement(D.Fragment,null,w.createElement("div",{className:x()(o.Z.case,X&&o.Z.whiteCase),style:{height:ne},ref:ge},w.createElement("div",{className:o.Z.fullMask,ref:ye}),w.createElement("div",{className:o.Z["resize-y-bar"],id:"case-y-bar",ref:le,draggable:!1},F===2&&w.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),F===1&&(ne<=34?w.createElement("div",{onClick:()=>{U(320)},className:o.Z.unfoldBtn},"\u63A7\u5236\u53F0",w.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):w.createElement("div",{onClick:()=>{U(0)},className:o.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",w.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),w.createElement("div",null,w.createElement("div",{className:o.Z.caseHead},w.createElement("div",{className:o.Z.dot}),w.createElement("div",{className:o.Z.text},F===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),F===2&&!H&&typeof Te=="number"&&w.createElement(w.Fragment,null,Te===v.h.OK?w.createElement("div",{className:o.Z.pass},w.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):w.createElement("div",{className:o.Z.noPass},w.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),E[Te])),w.createElement("div",{className:o.Z.btns},F===2&&!H&&w.createElement(w.Fragment,null,Te!==v.h.OK&&w.createElement("div",{onClick:Vt},w.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),w.createElement("div",{onClick:()=>{W(se)}},w.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),ie.get("type")!=="exercises"&&w.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>et()},w.createElement("i",{className:`iconfont icon-${pe?"suoxiao1":"fangda"}`})))),w.createElement("div",{style:{display:F===1?"block":"none"}},N?w.createElement(l.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):w.createElement("div",{style:{height:ne-34}},w.createElement("div",{className:o.Z.result},w.createElement("div",{className:o.Z.left},w.createElement("div",{className:o.Z.title},w.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),w.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),w.createElement("div",{className:o.Z.leftNode},w.createElement(C,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:O?"":L,onChange:te}))),w.createElement("div",{className:o.Z.right},w.createElement("div",{className:o.Z.title},w.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),w.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),w.createElement("div",{className:o.Z.node},B?yt:w.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),w.createElement("div",{style:{display:F===2?"block":"none"}},H?w.createElement(l.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):w.createElement("div",{style:{height:ne-34,display:"flex",flexDirection:"column",overflow:"hidden"}},w.createElement("div",{ref:xe,className:o.Z.elseNode},w.createElement("div",{className:o.Z.nameWrap},w.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),w.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),w.createElement("div",{className:o.Z.scroll},w.createElement("pre",{className:o.Z.scrollBox,style:ue?{height:I?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!je&&w.createElement(P,{value:fe}),je&&w.createElement("a",{style:{fontSize:"16px"},onClick:()=>_(void 0,null,function*(){const st=yield fetch(Le,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ae(yield st.text()),setTimeout(()=>{oe(Le)},200)})},fe)),fe&&w.createElement("div",{className:o.Z.action},w.createElement("span",{onClick:()=>ce(!ue)},ue?"\u6536\u8D77":"\u5C55\u5F00"),ie.get("type")!=="exercises"&&w.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Ct(),className:`iconfont icon-${I?"suoxiao1":"fangda"}`})))),w.createElement("div",{className:o.Z.result,style:{flex:1,overflow:"hidden"}},w.createElement("div",{className:o.Z.left},w.createElement("div",{className:o.Z.title},w.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),w.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),w.createElement("div",{className:o.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},w.createElement("pre",null,!je&&w.createElement(P,{className:"mb10",value:Ee&&c.Base64.decode(Ee)||""}),je&&w.createElement("a",{style:{fontSize:"16px"},onClick:()=>_(void 0,null,function*(){const st=yield fetch(We,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ae(yield st.text()),setTimeout(()=>{oe(We)},200)})},Ee)))),w.createElement("div",{className:o.Z.right},w.createElement("div",{className:o.Z.title},w.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),w.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),w.createElement("div",{className:o.Z.node,style:{color:Te===v.h.OK?"#2ABD8C":"#FF2C29"}},w.createElement("pre",null,(Te===4||Te===5)&&w.createElement(P,{className:"mb10",value:Ge&&c.Base64.decode(Ge)||""}),Te!=4&&Te!=5&&(je?w.createElement("a",{style:{fontSize:"16px"},onClick:()=>_(void 0,null,function*(){const st=yield(0,n.ZP)(He,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{ae(st)}catch(wt){ae("")}setTimeout(()=>{oe(He)},200)})},me):w.createElement(P,{className:"mb10",value:me&&c.Base64.decode(me)||""})))))))))),w.createElement("div",{className:x()(o.Z.footer,X&&o.Z.whiteFooter),style:{zIndex:100}},(Q==null?void 0:Q.is_program)&&(Q==null?void 0:Q.above_question)&&w.createElement(g.ZP,{className:"mr10",type:"primary",onClick:()=>gt(Q==null?void 0:Q.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Q==null?void 0:Q.is_program)&&(Q==null?void 0:Q.under_question)&&w.createElement(g.ZP,{className:"mr10",type:"primary",onClick:()=>gt(Q==null?void 0:Q.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),w.createElement(g.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:N||H,loading:N,color:"#2ABD8C",className:"mr10",onClick:_t},"\u8C03\u8BD5\u4EE3\u7801"),ie.get("qtype")!=="8"&&w.createElement(g.ZP,{className:o.Z.disabled,type:"primary",icon:w.createElement("i",{className:"iconfont icon-bofang1"}),loading:H,disabled:N||H,onClick:()=>{var st,wt;if(!(Q!=null&&Q.code)||((st=Q==null?void 0:Q.code)==null?void 0:st.trim().length)===0){(wt=e.ZP)==null||wt.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Y(2),U(320),J()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),w.createElement(d.Z,{onClose:W,open:M}),w.createElement(p.Z,{close:!0,data:K,type:K.length?"txt":"",onClose:()=>oe(""),monacoEditor:{value:he,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},97655:function($e,be,A){"use strict";A.r(be),A.d(be,{Types:function(){return tr},default:function(){return yr}});var D=A(59301),z=A(42203),e=A(31797),g=A(43418),v=A(71418),c=A(3113),a=A(6848),o=A(95237),l=A(22267),u=A(79124),i=A(39171),r=A(69003),t=A(10148),n=A(80205),s=A(43428),d=A(48551),m=A(50474),h=A(49371),y=A(26403),p=A(59301),b=Object.defineProperty,x=Object.defineProperties,S=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,E=(_e,Ie,Be)=>Ie in _e?b(_e,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Be}):_e[Ie]=Be,T=(_e,Ie)=>{for(var Be in Ie||(Ie={}))_.call(Ie,Be)&&E(_e,Be,Ie[Be]);if(w)for(var Be of w(Ie))C.call(Ie,Be)&&E(_e,Be,Ie[Be]);return _e},R=(_e,Ie)=>x(_e,S(Ie));const k={theme:(0,h.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,h.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,h.G)("cmTabToSpace",!0)};var P=(_e=>(_e[_e.set_font_size=0]="set_font_size",_e[_e.set_theme=1]="set_theme",_e[_e.on_tab_to_space=2]="on_tab_to_space",_e[_e.set_show_editor_setting=3]="set_show_editor_setting",_e))(P||{});function L(_e,Ie){switch(Ie.type){case 3:return R(T({},_e),{showEditorSetting:Ie.payload});case 1:return R(T({},_e),{theme:Ie.payload});case 0:return R(T({},_e),{fontSize:Ie.payload});case 2:return R(T({},_e),{tabToSpace:Ie.payload});default:throw new Error}}var O=({isLoading:_e,value:Ie,onChange:Be,language:Ke,onUpdateCode:Ye,ActionBarRender:Ze,setIsWhiteTheme:ft})=>{const[Xe,Je]=(0,D.useReducer)(L,k),{theme:mt,fontSize:Qe,showEditorSetting:Gt,tabToSpace:bt}=Xe,Qt=(0,D.useRef)(),jt=(0,D.useRef)();(0,D.useEffect)(()=>{ft(mt==="vs")},[mt]);const Yt={onFontSizeChange:pr=>{Je({type:0,payload:pr}),(0,h.t)("cmFontSize",pr)},tabToSpace:bt,cmFontSize:Qe,className:"oj",cmCodeMode:mt,onTabToSpace:pr=>{Je({type:2,payload:pr}),(0,h.t)("cmTabToSpace",pr)},onCodeModeChange:pr=>{Je({type:1,payload:pr}),(0,h.t)("ProgrammingCodeMode",pr)}};function dr(){Je({type:3,payload:!1})}function Rr(){Je({type:3,payload:!0})}const Pr={value:Ie,language:Ke,theme:mt,options:{fontSize:Qe,insertSpaces:bt},onChange:pr=>{Be(pr),jt.current=pr,clearTimeout(Qt.current),Qt.current=setTimeout(()=>{Ye(jt.current)},1e4)},onEditBlur:pr=>{jt.current&&Ye(jt.current)}};return p.createElement(D.Fragment,null,Ze(Rr),p.createElement("div",{style:{flex:1,overflow:"hidden"}},!_e&&p.createElement(d.ZP,T({},Pr))),p.createElement(m.Z,null,p.createElement(s.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Gt,onClose:dr},p.createElement(y.Z,T({},Yt)))))},N=A(60141),H=A(24334),V=A(81298),B={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},te={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},ee=A(2595),J=A(25700),Q=A(50023),re=A(70442),Z=A(61186),X=A.n(Z),$=A(59301);const{Column:ie}=ee.default;var de=({submitResult:_e,submitting:Ie,submitRecords:Be,page:Ke,onPageChange:Ye,topicId:Ze})=>{const[ft]=(0,z.useSearchParams)(),{records:Xe,records_count:Je}=Be||{},[mt,Qe]=(0,D.useState)(!1),Gt=ft.get("type")==="1";return $.createElement(v.Z,{spinning:Ie,tip:"\u8BC4\u6D4B\u4E2D...",indicator:$.createElement(Q.Z,{style:{fontSize:24},spin:!0})},(Xe==null?void 0:Xe.length)>0?$.createElement(ee.default,{dataSource:Xe,rowKey:"id",pagination:!1},$.createElement(ie,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(bt,Qt)=>$.createElement("span",null," ",X()(bt).format("YYYY-MM-DD HH:mm:ss"))}),$.createElement(ie,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(bt,Qt)=>{var jt;return $.createElement("span",{className:`${bt===0?"c-green":"c-red"} current`,onClick:()=>{Qe(Qt.id)}},(jt=V.Im[bt])==null?void 0:jt.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),$.createElement(ie,{title:`\u6267\u884C\u7528\u65F6 (${Gt?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:bt=>bt?Gt?bt:bt/1e3:""}),$.createElement(ie,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Gt?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:bt=>bt?Gt?bt:parseFloat((bt/1024).toFixed(2)):""}),$.createElement(ie,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),$.createElement(ie,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(bt,Qt)=>$.createElement("span",{className:"c-light-primary current",onClick:()=>{Qe(Qt.id)}},"\u67E5\u770B")})):$.createElement("div",{style:{height:300,width:"100%"}}),$.createElement(re.Z,{onClose:Qe,open:mt}),Je>15?$.createElement(J.Z,{className:te.pagination,current:Ke,pageSize:15,total:Je,onChange:Ye}):null)},pe=A(97267),G=A(12563),I={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},q=A(25711),F=A(59301);const Y={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var ue=({hack:_e})=>{const{language:Ie,difficult:Be,time_limit:Ke,description:Ye}=_e,[Ze]=(0,z.useSearchParams)(),ft=Y[Be];return F.createElement(F.Fragment,null,F.createElement("ul",{className:I.info},F.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",F.createElement("b",{className:I.info_tag},Ie)),F.createElement("li",null,F.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",F.createElement(G.default,{color:ft==null?void 0:ft.color},ft==null?void 0:ft.name)),F.createElement("li",null,F.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",F.createElement("span",{style:{color:"#333333"}},Ke,"\u79D2"))),Ze.get("qtype")==="8"?F.createElement(q.Z,{value:Ye,showProgramFill:!0,className:I.desc}):F.createElement(q.Z,{value:Ye,className:I.desc}))},ce={},ne=A(59301),U=({hack:_e,current_user:Ie})=>ne.createElement("div",{className:ce.answer},_e!=null&&_e.answer_text?ne.createElement(q.Z,{style:{padding:"13px 0"},value:(_e==null?void 0:_e.answer_text)||""}):ne.createElement(pe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),M=A(86766),W=A(70635);function K(_e,Ie){return(0,W.U2)(`/problems/${_e}/comments.json`,{page:Ie,limit:10})}function oe(_e){return(0,W.v_)(`/discusses/${_e}/plus.json`,{container_type:"Discuss",type:1})}function he(_e,Ie,Be){return(0,W.v_)(`/problems/${_e}/comments/reply.json`,{comments:{content:Be,parent_id:Ie}})}function ae(_e,Ie){return(0,W.v_)(`/problems/${_e}/comments.json`,{comments:{content:Ie}})}function le(_e,Ie,Be){return(0,W.v_)(`/problems/${_e}/comments/${Ie}/hidden.json`,Be)}function Se(_e,Ie){return(0,W.IV)(`/problems/${_e}/comments/${Ie}`)}var ge=A(75584);function xe({author:_e}){return D.createElement("a",{href:`/users/${_e.login}`,target:"_blank"},D.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${t.Z.IMG_SERVER}/images/${_e.image_url}`,width:"50"}))}function ye({data:_e,index:Ie,parentDiscussIndex:Be,user:Ke,onSetActionType:Ye}){const{author:Ze,can_delete:ft,content:Xe,id:Je,time:mt}=_e;function Qe(){Ye({id:Je,index:Ie,type:"delete-discuss",parentDiscussIndex:Be,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Gt=Ke.admin||ft||Ze.user_id===Ke.user_id;return D.createElement("div",{className:"discuss-item-container second-discuss "},D.createElement(xe,{author:Ze}),D.createElement("section",null,D.createElement("div",{className:"discuss-info"},D.createElement("a",{href:`/users/${Ze.login}`,target:"_blank"},Ze.name),D.createElement("span",{className:"grey"},mt),D.createElement("div",{className:"btn-group",style:{marginBottom:0}},Gt?D.createElement("a",{onClick:Qe,title:"\u5220\u9664"},D.createElement("i",{className:"iconfont icon-shanchu"})):null)),D.createElement(q.Z,{className:"discuss-content",value:Xe})))}var Te=({user:_e,data:Ie,index:Be,onPlusDiscuss:Ke,onSetActionType:Ye,activeDiscussIndex:Ze,onReplyDiscuss:ft,onSetActiveDiscussIndex:Xe})=>{const{content:Je,children:mt,hidden:Qe,id:Gt,praise_count:bt,time:Qt,user_praise:jt,can_delete:Yt,author:dr}=Ie;function Rr(){Xe(Gt)}function Pr(){Ke(Gt,!jt,Be)}function pr(){Ye({id:Gt,index:Be,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Mr(){Ye({id:Gt,index:Be,params:{hidden:Qe?"0":"1"},type:"hidden-discuss",message:Qe?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const xt=_e.admin||_e.user_id===dr.user_id;return D.createElement("div",{className:"discuss-item-container",key:Gt},D.createElement(xe,{author:dr}),D.createElement("section",null,D.createElement("div",{className:"discuss-info"},D.createElement("a",{href:`/users/${dr.login}`,target:"_blank"}," ",dr.name," "),D.createElement("span",{className:"grey"},Qt)),D.createElement(q.Z,{className:"discuss-content",value:Je}),mt&&mt.length>0?D.createElement("div",{className:"reply-discuss-container"},mt.map((nt,It)=>D.createElement(ye,{key:nt.id,data:nt,index:It,user:_e,onSetActionType:Ye,parentDiscussIndex:Be}))):null,D.createElement("div",{className:"btn-group"},xt?D.createElement("a",{onClick:Mr,title:Qe?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},D.createElement("i",{className:Qe?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Yt&&(!mt||mt.length==0)?D.createElement("a",{onClick:pr,title:"\u5220\u9664"},D.createElement("i",{className:"iconfont icon-shanchu"})):null,D.createElement("a",{onClick:Rr,title:"\u56DE\u590D"}," ",D.createElement("i",{className:"iconfont icon-huifu1"})," "),D.createElement("a",{onClick:Pr,className:jt?"c-orange":""},D.createElement("i",{className:jt?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),D.createElement("span",null,bt||""))),D.createElement(ge.Z,{id:Gt,activeDiscussIndex:Ze,onReplyDiscuss:ft})))},se=A(2307),fe={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},me=A(23469),Ee=(_e,Ie,Be)=>new Promise((Ke,Ye)=>{var Ze=Je=>{try{Xe(Be.next(Je))}catch(mt){Ye(mt)}},ft=Je=>{try{Xe(Be.throw(Je))}catch(mt){Ye(mt)}},Xe=Je=>Je.done?Ke(Je.value):Promise.resolve(Je.value).then(Ze,ft);Xe((Be=Be.apply(_e,Ie)).next())}),je=({user_praise:_e,praise_count:Ie,praisePlus:Be,onCreateDiscuss:Ke,discuss_count:Ye})=>{const[Ze,ft]=(0,D.useState)(!1),[Xe,Je]=(0,D.useState)("");function mt(Qt){Je(Qt)}function Qe(){ft(!0)}function Gt(){ft(!1)}function bt(){return Ee(this,null,function*(){Ke(Xe),Je(""),ft(!1)})}return D.createElement("div",{className:`${fe["dis-input-editor-container"]} ${Ze?fe.active:""} `},D.createElement("div",{className:Ze?`hide ${fe["text-area"]}`:fe["text-area"]},D.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Qe}),D.createElement("a",null," ",D.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Ye," "),D.createElement("a",{className:"c-light-black",onClick:Be,title:_e?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},D.createElement("i",{className:`mr3 ${_e?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Ie?D.createElement("span",null,Ie):"")),Ze?D.createElement("div",{className:fe["input-mask"],onClick:Gt}):null,D.createElement("div",{className:Ze?fe["md-container"]:`${fe["md-container"]} hide`},D.createElement(me.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Xe,height:240,onChange:mt}),D.createElement("div",{className:fe["tip-container"],onClick:Gt},D.createElement("a",{className:fe["btn-send"],onClick:bt}," \u53D1\u9001 "))))},Le=A(59301),He=Object.defineProperty,We=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Ct=(_e,Ie,Be)=>Ie in _e?He(_e,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Be}):_e[Ie]=Be,pt=(_e,Ie)=>{for(var Be in Ie||(Ie={}))ze.call(Ie,Be)&&Ct(_e,Be,Ie[Be]);if(lt)for(var Be of lt(Ie))et.call(Ie,Be)&&Ct(_e,Be,Ie[Be]);return _e},yt=(_e,Ie)=>We(_e,Ge(Ie)),_t=(_e,Ie,Be)=>new Promise((Ke,Ye)=>{var Ze=Je=>{try{Xe(Be.next(Je))}catch(mt){Ye(mt)}},ft=Je=>{try{Xe(Be.throw(Je))}catch(mt){Ye(mt)}},Xe=Je=>Je.done?Ke(Je.value):Promise.resolve(Je.value).then(Ze,ft);Xe((Be=Be.apply(_e,Ie)).next())});const gt={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Vt=(_e=>(_e[_e.GET_DISCUSSES=0]="GET_DISCUSSES",_e[_e.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",_e[_e.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",_e[_e.PLUS_DISCUSS=3]="PLUS_DISCUSS",_e[_e.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",_e[_e.SET_PAGE=5]="SET_PAGE",_e[_e.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",_e))(Vt||{});function st(_e,Ie){switch(Ie.type){case 6:return yt(pt({},_e),{loading:!0});case 0:return pt(pt({},_e),Ie.payload);case 1:return pt(pt({},_e),Ie.payload);case 4:return pt(pt({},_e),Ie.payload);case 3:return pt(pt({},_e),Ie.payload);case 5:return yt(pt({},_e),{page:Ie.payload});case 2:return pt(pt({},_e),Ie.payload);default:throw new Error}}var wt=({user:_e,identifier:Ie,hack:Be,onTriggerPraise:Ke,activeIndex:Ye})=>{const[Ze,ft]=(0,D.useReducer)(st,gt),{loading:Xe,page:Je,data:mt,count:Qe,actionType:Gt,activeDiscussIndex:bt}=Ze,Qt=(0,D.useCallback)(()=>_t(void 0,null,function*(){ft({type:6});const nt=yield K(Ie,Je),{comments:It,disscuss_count:Et}=nt;ft({type:0,payload:{data:It,count:Et,loading:!1}})}),[Je,Ie]);(0,D.useEffect)(()=>{Ye==="2"&&Qt()},[Ie,Je,Ye]);function jt(nt){ft({type:5,payload:nt})}function Yt(nt){ft({type:4,payload:{actionType:nt}})}function dr(nt){ft(bt===nt?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:nt}})}function Rr(nt,It,Et){return _t(this,null,function*(){try{const it=yield oe(nt);mt[Et].user_praise=It,mt[Et].praise_count=it.praise_count,ft({type:3,payload:{data:[...mt]}})}catch(it){console.log(it)}})}function Pr(){return _t(this,null,function*(){const{id:nt,params:It,type:Et,index:it,parentDiscussIndex:ot}=Gt;if(Et==="hidden-discuss"&&(yield le(Ie,nt,It),ot?mt[ot].children[it].hidden=It.hidden==1:mt[it].hidden=It.hidden==1,ft({type:4,payload:{actionType:null,data:[...mt]}})),Et==="delete-discuss"){if(yield Se(Ie,nt),ot||ot===0){let hr=mt[ot].children;for(let vr=hr.length-1;vr>=0;vr--)if(hr[vr].id===nt){hr.splice(vr,1);break}mt[ot].children=hr}else for(let hr=mt.length-1;hr>=0;hr--)if(mt[hr].id===nt){mt.splice(hr,1);break}ft({type:4,payload:{actionType:null,data:[...mt]}})}})}function pr(){ft({type:4,payload:{actionType:null}})}function Mr(nt,It){return _t(this,null,function*(){try{yield he(Ie,nt,It),Qt()}catch(Et){console.log(Et)}})}function xt(nt){return _t(this,null,function*(){ft({type:6}),yield ae(Ie,nt),Qt()})}return Le.createElement(Le.Fragment,null,Le.createElement("div",{className:"discuss-panel"},mt.length===0?Le.createElement(pe.Z,null):mt.map((nt,It)=>Le.createElement(Te,{onReplyDiscuss:Mr,onPlusDiscuss:Rr,onSetActiveDiscussIndex:dr,onSetActionType:Yt,data:nt,index:It,user:_e,activeDiscussIndex:bt})),Qe>10?Le.createElement("div",{className:"pagination-container"},Le.createElement(J.Z,{showQuickJumper:!0,onChange:jt,current:Je,total:Qe})):null),Le.createElement(je,{user_praise:Be.user_praise,praise_count:Be.praises_count,praisePlus:Ke,discuss_count:Be.comments_count,onCreateDiscuss:xt}),Le.createElement(m.Z,null,Le.createElement(g.default,{centered:!0,title:"\u63D0\u793A",open:!!Gt,onOk:Pr,onCancel:pr},Le.createElement("p",null,Gt?Gt.message:"")),Le.createElement(se.Z,null)))},ut=A(57809),Xt=A(92832),$t=A(65615),Ut={},Ht=A(59301),Mt=({hack:_e,current_user:Ie})=>Ht.createElement("div",{className:Ut.answer},_e!=null&&_e.analysis?Ht.createElement(q.Z,{style:{padding:"13px 0"},value:(_e==null?void 0:_e.analysis)||""}):Ht.createElement(pe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),Rt={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},nr=A(36381),rr=A(43604),Kt=A(78241),Zt=A(88897),Er=A(31604),qt=A(59301);const{TextArea:Fr}=Xt.default,{Panel:Or}=nr.default;var ar=({data:_e,hack:Ie})=>(console.log(_e,Ie,"data"),Ie!=null&&Ie.is_file?qt.createElement(Er.Y2,{disabled:!0,className:Rt.uploadTableWrapper,showScore:!Ie.test_set_score,data:_e,isProgramHomework:!0}):qt.createElement("div",{className:Rt.hackSets},_e==null?void 0:_e.map((Be,Ke)=>qt.createElement(nr.default,{accordion:!0,bordered:!1,key:Ke,defaultActiveKey:Ke===0&&Be.id,className:Rt.collapseWrapper,expandIcon:({isActive:Ye})=>qt.createElement("i",{className:`iconfont icon-weizhankai ${Ye?Rt.open:Rt.close}`,style:{fontSize:14,transition:"all .2s"}})},qt.createElement(Or,{key:Be.id,header:qt.createElement(o.Z,{align:"middle",justify:"space-between",wrap:!1},qt.createElement(rr.Z,{className:Rt.panelHeader},qt.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Ke+1)),qt.createElement(rr.Z,{flex:1},qt.createElement(o.Z,{align:"middle",justify:"end",wrap:!1},!(Ie!=null&&Ie.test_set_score)&&qt.createElement(rr.Z,{className:Rt.rateInput},qt.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),qt.createElement("div",null,qt.createElement(Kt.default.Item,{noStyle:!0},qt.createElement(Zt.Z,{value:Be==null?void 0:Be.score,className:Rt.baseFormItem,min:0,max:100,disabled:!0}))),qt.createElement("span",{className:"ml10"},"%")))))},qt.createElement(Kt.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},qt.createElement(Fr,{readOnly:!0,value:Be==null?void 0:Be.input,rows:4})),qt.createElement(Kt.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},qt.createElement(Fr,{readOnly:!0,value:Be==null?void 0:Be.output,rows:4}))))))),fr={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Fe=A(59301),Ue=(0,D.forwardRef)(({data:_e=[]},Ie)=>{var Be;const[Ke,Ye]=(0,D.useState)(),Ze=_e.filter(Xe=>Xe.show);(0,D.useEffect)(()=>{Ze.length&&Ye(Ze[0].id)},[_e==null?void 0:_e.length]);const ft=((Be=Ze.find(Xe=>Xe.id===Ke))==null?void 0:Be.element)||null;return(0,D.useImperativeHandle)(Ie,()=>({setActiveTab:Xe=>Ye(Xe)})),Fe.createElement("div",{className:fr.tabs},Fe.createElement("div",{className:fr.tabWarp},Ze.map(Xe=>Fe.createElement("div",{onClick:()=>Ye(Xe.id),className:`${fr.tab} ${Xe.id===Ke?fr.active:""}`,key:Xe.id},Xe.name))),Fe.createElement("div",{className:fr.content},ft))}),De=A(59301),tt=Object.defineProperty,at=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Me=(_e,Ie,Be)=>Ie in _e?tt(_e,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Be}):_e[Ie]=Be,Pe=(_e,Ie)=>{for(var Be in Ie||(Ie={}))Ce.call(Ie,Be)&&Me(_e,Be,Ie[Be]);if(we)for(var Be of we(Ie))Oe.call(Ie,Be)&&Me(_e,Be,Ie[Be]);return _e},ke=(_e,Ie)=>at(_e,ve(Ie)),Re=(_e,Ie,Be)=>new Promise((Ke,Ye)=>{var Ze=Je=>{try{Xe(Be.next(Je))}catch(mt){Ye(mt)}},ft=Je=>{try{Xe(Be.throw(Je))}catch(mt){Ye(mt)}},Xe=Je=>Je.done?Ke(Je.value):Promise.resolve(Je.value).then(Ze,ft);Xe((Be=Be.apply(_e,Ie)).next())});const Ve={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},rt={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var qe=({hack:_e,onTriggerPraise:Ie,topicId:Be,page:Ke,onPageChange:Ye,user:Ze,current_user:ft,submitRecords:Xe,submitting:Je,submitResult:mt,setActiveIndex:Qe,hack_sets:Gt})=>{var bt,Qt;const[jt]=(0,z.useSearchParams)(),[Yt,dr]=(0,D.useState)("0"),Rr=(0,z.useLocation)(),[Pr,pr]=(0,D.useState)(!1),[Mr,xt]=(0,D.useState)(null),[nt,It]=(0,D.useState)([]),[Et,it]=(0,D.useState)([]),[ot,hr]=(0,D.useState)({page:1,limit:10}),vr=(0,D.useRef)(null),cr=(0,D.useRef)(null);console.log(Ze,"user");let[ur,Br]=(0,D.useState)(ke(Pe({},(0,z.useParams)()),{page:1,per_page:20,name:""}));(0,D.useEffect)(()=>{cr.current&&(_e==null?void 0:_e.is_close_tips)===!1&&Mr===null&&xt(!0)},[cr.current,_e==null?void 0:_e.is_close_tips,Mr]);function Nr(){return Re(this,null,function*(){yield(0,W.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,D.useEffect)(()=>{Qe(Yt)},[Yt]);function Wr(Bt){return Re(this,null,function*(){let Lr=Bt.target.id;if(Lr==="1"){let kr=yield(0,W.ZP)(`/api/myproblems/${ur.id}/redo_logs.json`,{method:"get",params:Pe({},ot)});(kr==null?void 0:kr.status)===0&&it(kr==null?void 0:kr.data)}dr(Lr)})}(0,D.useEffect)(()=>M.Z.subscribe("to-commit-info",()=>{dr("1"),vr.current&&vr.current.setActiveTab("1")}),[]),(0,D.useEffect)(()=>M.Z.subscribe("to-reset-info",()=>{Wr({target:{id:"1"}}),vr.current&&vr.current.setActiveTab("2")}),[]);function Gr(){dr("2")}function xr(){return Re(this,null,function*(){let Bt=yield(0,W.ZP)("/api/problems/my_hack_list.json",{method:"get",params:Pe({identifier:ur==null?void 0:ur.id},ur)});It(Bt)})}const Tt=[{title:null,description:De.createElement("div",null,De.createElement("b",{onClick:()=>{xt(!1),Nr(),pr(!0),xr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),De.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),De.createElement(c.ZP,{onClick:()=>{xt(!1),Nr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>cr.current}];return De.createElement("div",{className:B["left-panel"]},De.createElement("ul",{className:`${B["s-navs"]} ${B["bg-white"]} ${B.b1}`},(_e==null?void 0:_e.is_program)&&!jt.get("pageId")&&De.createElement(a.Z,{title:"\u9898\u76EE\u5217\u8868"},De.createElement("div",{onClick:()=>{xr(),pr(!0)},className:B.btns,ref:cr,style:Mr?{pointerEvents:"none"}:{}},De.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),De.createElement("li",{style:{marginLeft:20}},De.createElement("a",{className:Yt==="0"?B.active:"",id:"0",onClick:Wr},"\u9898\u76EE\u63CF\u8FF0")),De.createElement("li",null,De.createElement("a",{className:Yt==="1"?B.active:"",id:"1",onClick:Wr},"\u64CD\u4F5C\u8BB0\u5F55")),(jt.get("type")!=="exercises"&&(_e==null?void 0:_e.answer_text_show)||jt.get("type")!=="exercises"&&(_e==null?void 0:_e.analysis_show))&&De.createElement("li",null,De.createElement("a",{className:Yt==="4"?B.active:"",id:"4",onClick:Wr},"\u89E3\u7B54\u53C2\u8003")),jt.get("type")!=="exercises"&&De.createElement("li",null,De.createElement("a",{className:Yt==="2"?B.active:"",id:"2",onClick:Wr},"\u8BC4\u8BBA")),!!(Gt!=null&&Gt.length)&&jt.get("type")!=="exercises"&&jt.get("type")!=="1"&&De.createElement("li",null,De.createElement("a",{className:Yt==="5"?B.active:"",id:"5",onClick:Wr},"\u6D4B\u8BD5\u7528\u4F8B"))),De.createElement("div",{className:`${B["tab-panel-body"]} ${Yt==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},De.createElement(ue,{hack:_e,onTriggerPraise:Ie,toDiscuss:Gr})),De.createElement("div",{style:{padding:"12px"},className:`${B["tab-panel-body"]} ${Yt==="1"?"":"hide"}`},De.createElement(Ue,{ref:vr,data:[{id:"1",show:jt.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:De.createElement(De.Fragment,null,Xe!=null&&Xe.records_count||Je?De.createElement(de,{page:Ke,onPageChange:Ye,topicId:Be,submitting:Je,key:(mt==null?void 0:mt.id)||1,submitRecords:Xe,submitResult:mt}):De.createElement(pe.Z,null))},{id:"2",show:jt.get("type")==="exercises"||(_e==null?void 0:_e.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:De.createElement(De.Fragment,null,De.createElement(ee.default,{pagination:!1,dataSource:Et==null?void 0:Et.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Bt,Lr,kr)=>X()(Bt).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Bt,Lr,kr)=>{var Kr;return(Kr=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find($r=>$r.id===Bt))==null?void 0:Kr.name}}]}),De.createElement(J.Z,{style:{marginTop:10},current:ot.page,total:Et==null?void 0:Et.count,hideOnSinglePage:!0,onChange:Bt=>Re(void 0,null,function*(){ot.page=Bt,hr(ot);let Lr=yield(0,W.ZP)(`/api/myproblems/${ur.id}/redo_logs.json`,{method:"get",params:ke(Pe({},ot),{courseId:ur.courseId})});(Lr==null?void 0:Lr.status)===0&&it(Lr==null?void 0:Lr.data)})}))}]})),De.createElement("div",{style:{padding:"12px"},className:`${B["tab-panel-body"]} ${Yt==="4"?"":"hide"}`},De.createElement(Ue,{data:[{id:"1",show:jt.get("type")!=="exercises"&&(_e==null?void 0:_e.answer_text_show),name:"\u7B54\u6848",element:De.createElement(De.Fragment,null,De.createElement(U,{hack:_e,current_user:ft}))},{id:"2",show:jt.get("type")!=="exercises"&&(_e==null?void 0:_e.analysis_show),name:"\u89E3\u6790",element:De.createElement(De.Fragment,null,De.createElement(Mt,{hack:_e,current_user:ft}))}]})),De.createElement("div",{className:`${B["tab-panel-body"]} ${Yt==="2"?"":"hide"}`,style:{padding:0}},De.createElement(wt,{user:Ze,activeIndex:Yt,identifier:_e.identifier,hack:_e,onTriggerPraise:Ie})),De.createElement("div",{className:`${B["tab-panel-body"]} ${Yt==="5"?"":"hide"}`,style:{padding:12}},De.createElement(ar,{data:Gt||[],hack:_e})),De.createElement(s.Z,{rootClassName:B.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>pr(!1),open:Pr},De.createElement(o.Z,null,De.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),De.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",nt==null?void 0:nt.total_count,"\u9898\xA0[\xA0",nt==null?void 0:nt.total_score,"\u5206\xA0]\xA0"),!(Ze!=null&&Ze.hack_manager)&&De.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",nt==null?void 0:nt.work_score,"\u5206")),De.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),De.createElement(o.Z,{align:"middle",className:"mt10 mb10"},!(Ze!=null&&Ze.hack_manager)&&De.createElement(ut.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Bt=>{ur.page=1,ur.finish_status=Bt,Br(Pe({},ur)),xr()}},De.createElement(ut.default.Option,{value:""},"\u5168\u90E8"),De.createElement(ut.default.Option,{value:0},"\u672A\u5F00\u59CB"),De.createElement(ut.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),De.createElement(ut.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),De.createElement(ut.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Bt=>{ur.page=1,ur.difficult=Bt||null,Br(Pe({},ur)),xr()}},De.createElement(ut.default.Option,{value:0},"\u5168\u90E8"),De.createElement(ut.default.Option,{value:1},"\u7B80\u5355"),De.createElement(ut.default.Option,{value:2},"\u9002\u4E2D"),De.createElement(ut.default.Option,{value:3},"\u56F0\u96BE")),De.createElement(Xt.default.Search,{size:"large",onSearch:Bt=>{ur.name=Bt,ur.page=1,Br(Pe({},ur)),xr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),De.createElement("div",{className:B.list,style:{height:36,background:"#3D445C"}},!(Ze!=null&&Ze.hack_manager)&&De.createElement("span",null,"\u72B6\u6001"),De.createElement("span",null,"\u5E8F\u53F7"),De.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),De.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),De.createElement("div",{style:{overflow:"auto",flex:1}},(bt=nt==null?void 0:nt.data)!=null&&bt.length?(Qt=nt==null?void 0:nt.data)==null?void 0:Qt.map((Bt,Lr)=>De.createElement("div",{onClick:()=>Re(void 0,null,function*(){let kr=yield(0,W.ZP)(`/api/problems/${Bt==null?void 0:Bt.identifier}/start.json`,{method:"get",params:{hack_user_id:Ze==null?void 0:Ze.user_id}});kr&&(z.history.replace(`/myproblems/${kr==null?void 0:kr.identifier}${window.location.search}`),window.location.reload())}),className:`${B.list} ${Bt!=null&&Bt.checked?B.active:""}`},!(Ze!=null&&Ze.hack_manager)&&De.createElement(De.Fragment,null,!(Bt!=null&&Bt.opened)&&De.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Bt==null?void 0:Bt.opened)&&!(Bt!=null&&Bt.passed)&&De.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Bt==null?void 0:Bt.opened)&&(Bt==null?void 0:Bt.passed)&&De.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),De.createElement("span",null,(ur.page-1)*20+(Lr+1)),De.createElement("span",{style:{flex:1},title:Bt.name},`[${Bt==null?void 0:Bt.score}\u5206]`,"\xA0",Bt.name),De.createElement("span",{style:{flexBasis:48,paddingRight:0}},Ve[Bt.difficult]))):De.createElement(pe.Z,null)),De.createElement(J.Z,{current:ur.page,className:"mt20",hideOnSinglePage:!0,total:nt==null?void 0:nt.count,pageSize:ur.per_page,onChange:(Bt,Lr)=>{ur.page=Bt,ur.per_page=Lr,xr()}})),De.createElement($t.Z,{rootClassName:B.tour,closeIcon:!1,open:!!Mr,steps:Tt,gap:{offset:3,radius:2}}))},dt=A(62522),ct=A(77066),Dt=A(5649),Wt=A(98445),Jt=A(73821),lr=A(3621),Lt=A(86653),Ft=A(92310),er=A.n(Ft),zt=A(31515),Ot=A(27972),ir=A(15547),Ne=A(59301),wr=Object.defineProperty,Cr=Object.defineProperties,mr=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,br=(_e,Ie,Be)=>Ie in _e?wr(_e,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Be}):_e[Ie]=Be,ht=(_e,Ie)=>{for(var Be in Ie||(Ie={}))gr.call(Ie,Be)&&br(_e,Be,Ie[Be]);if(Sr)for(var Be of Sr(Ie))Ar.call(Ie,Be)&&br(_e,Be,Ie[Be]);return _e},At=(_e,Ie)=>Cr(_e,mr(Ie)),Dr=(_e,Ie)=>{var Be={};for(var Ke in _e)gr.call(_e,Ke)&&Ie.indexOf(Ke)<0&&(Be[Ke]=_e[Ke]);if(_e!=null&&Sr)for(var Ke of Sr(_e))Ie.indexOf(Ke)<0&&Ar.call(_e,Ke)&&(Be[Ke]=_e[Ke]);return Be},kt=(_e,Ie,Be)=>new Promise((Ke,Ye)=>{var Ze=Je=>{try{Xe(Be.next(Je))}catch(mt){Ye(mt)}},ft=Je=>{try{Xe(Be.throw(Je))}catch(mt){Ye(mt)}},Xe=Je=>Je.done?Ke(Je.value):Promise.resolve(Je.value).then(Ze,ft);Xe((Be=Be.apply(_e,Ie)).next())});const{Countdown:Ir}=e.default,or={Java:"java",C:"c",Python:"py","C++":"c"};var tr=(_e=>(_e[_e.SET_LOADING=0]="SET_LOADING",_e[_e.GET_DATA=1]="GET_DATA",_e[_e.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",_e[_e.SET_DATA=3]="SET_DATA",_e[_e.SET_DEBUGING=4]="SET_DEBUGING",_e[_e.SET_SUBMITING=5]="SET_SUBMITING",_e[_e.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",_e[_e.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",_e[_e.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",_e[_e.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",_e[_e.SET_PAGE=10]="SET_PAGE",_e))(tr||{});function _r(){return new Date().getTime()}const St={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Pt(_e,Ie){switch(Ie.type){case 1:return ht(ht({},_e),Ie.payload);case 3:return At(ht({},_e),{data:Ie.payload});case 0:return At(ht({},_e),{loading:Ie.payload});case 9:return At(ht({},_e),{showNote:Ie.payload});case 4:return At(ht({},_e),{debuging:Ie.payload});case 5:return At(ht({},_e),{submitting:Ie.payload});case 2:return At(ht({},_e),{submitRecords:Ie.payload});case 10:return At(ht({},_e),{submitRecordPage:Ie.payload});case 6:return At(ht({},_e),{executingMessage:Ie.payload});case 7:return ht(ht({},_e),Ie.payload);case 8:return ht(ht({},_e),Ie.payload);default:throw new Error}}var yr=({children:_e})=>{var Ie,Be,Ke,Ye,Ze;const[ft,Xe]=(0,D.useReducer)(Pt,St),{id:Je}=(0,z.useParams)(),mt=(0,z.useLocation)(),[Qe]=(0,z.useSearchParams)(),{loading:Gt,data:bt,debugResult:Qt,submitResult:jt,submitRecords:Yt,submitRecordPage:dr,showNote:Rr,debuging:Pr,submitting:pr,executingMessage:Mr}=ft,[xt,nt]=(0,D.useState)("#37AD83"),[It,Et]=(0,D.useState)(null),[it,ot]=(0,D.useState)({}),[hr,vr]=(0,D.useState)(!0),[cr,ur]=(0,D.useState)(!1),[Br,Nr]=(0,D.useState)(!1),Wr=(0,D.useRef)(null),Gr=(0,D.useRef)(0),xr=bt==null?void 0:bt.user,Tt=bt==null?void 0:bt.hack,[Bt,Lr]=(0,D.useState)(!1),kr=(0,D.useRef)(1),Kr=(0,D.useRef)(!1);(0,zt.y)(Qe.get("type")==="exercises");const{setOpenDisableCopyAndPaste:$r}=(0,zt.X)(),[en,nn]=(0,D.useState)(""),on=(0,Jt._)(it);(0,D.useEffect)(()=>{function vt(){return kt(this,null,function*(){var Nt,Ur,zr,Xr,Vr;vr(!0);const Hr=yield(0,l.fu)(Je,{exercise_id:Qe.get("exercisesId")});if(setTimeout(()=>{vr(!1)},800),Hr.status!==401){try{Hr.hack.code=H.Base64.decode(Hr.hack.code)}catch(jr){console.log(jr)}Hr.hack=At(ht({},Hr.hack),{is_program:Qe.get("type")==="1"}),Xe({type:1,payload:{loading:!1,data:Hr}})}if(Qe.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let jr;Qe.get("coursesId")=="coursesId"?jr=yield(0,u._F)({categoryId:Qe.get("exercisesId"),login:Qe.get("login")}):jr=yield(0,u._B)({categoryId:Qe.get("exercisesId"),login:Qe.get("login")}),ot(ht({},jr)),$r((Nt=jr==null?void 0:jr.exercise)==null?void 0:Nt.forbid_copy),typeof((Ur=jr==null?void 0:jr.exercise)==null?void 0:Ur.left_time)=="number"&&(Et(Date.now()+((zr=jr==null?void 0:jr.exercise)==null?void 0:zr.left_time)*1e3),setTimeout(()=>{nt("red")},(((Xr=jr==null?void 0:jr.exercise)==null?void 0:Xr.left_time)-300>0?((Vr=jr==null?void 0:jr.exercise)==null?void 0:Vr.left_time)-300:0)*1e3))}})}Je&&vt()},[Je]),(0,D.useEffect)(()=>{var vt;return Qe.get("type")==="exercises"&&((vt=it==null?void 0:it.exercise)!=null&&vt.screen_open)&&(window.removeEventListener("blur",Yr,!1),lr.U.forEach((Nt,Ur)=>{window.addEventListener(Nt,Yr,!1)}),window.addEventListener("blur",Yr,!1),window.focus()),()=>{document.removeEventListener((0,i.gH)(),Yr)}},[it]),(0,D.useEffect)(()=>{en==="1"&&Je&&Tt!=null&&Tt.language&&an()},[Je,dr,Tt==null?void 0:Tt.language,en]),(0,D.useEffect)(()=>(Tt!=null&&Tt.is_program&&(Gr.current=0,Wr.current=setInterval(()=>{sn()},15e3)),()=>{clearInterval(Wr.current)}),[Tt==null?void 0:Tt.is_program]);const sn=()=>kt(void 0,null,function*(){let vt=yield(0,W.ZP)(`/api/myproblems/${Je}/save_long_time.json`,{method:"get",params:{answer_long_time:Gr.current}})}),Yr=()=>{Kr.current||(0,i.BU)(),window.parent.postMessage("backExercise","*")};function an(){return kt(this,null,function*(){try{const vt=yield(0,l.zO)(Je,{limit:15,page:dr,language:Tt==null?void 0:Tt.language});Xe({type:2,payload:vt})}catch(vt){console.log(vt)}})}function ln(vt){Xe({type:10,payload:vt})}function Jr(vt){return kt(this,null,function*(){var Nt;let Ur;(Qe.get("ip_limit")==="inner"||Qe.get("ip_bind_type")==="true")&&(Ur=yield(0,ct.y)({ip_limit:Qe.get("ip_limit"),ip_bind:Qe.get("ip_bind_type")==="true"}));const zr=yield(0,l.n4)(Je,{code:H.Base64.encode(vt||Tt.code),language:Tt==null?void 0:Tt.language,exercise_id:Qe.get("exercisesId"),question_id:Qe.get("questionId"),ip:Ur});return zr.status===-5&&(0,z.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:At(ht({errorMessage:zr==null?void 0:zr.message},(it==null?void 0:it.exercise)||{}),{exercise_user_id:(Nt=it==null?void 0:it.exercise)==null?void 0:Nt.exercise_user_id,id:Qe.get("exercisesId")})}}),zr})}function tn(){return kt(this,null,function*(){if(kr.current=2,!pr){Xe({type:5,payload:!0});try{M.Z.publish("to-commit-info");const vt=yield Jr();if(console.log(vt,1),vt.status===0){let Hr=function(){return kt(this,null,function*(){const{status:jr,data:Zr}=yield(0,l.rX)(Je,"submit"),Qr=_r()-Vr>(zr*Xr+3)*1e3;if(jr!==0&&!Qr&&setTimeout(Hr,1e3),Qr){g.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Xe({type:5,payload:!1});return}if(jr===0){Zr.status===2&&g.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Zr==null?void 0:Zr.status)===0&&Qe.get("type")==="1"&&Nr(!0);const _n=yield(0,l.zO)(Je,{limit:15,page:dr,language:Tt==null?void 0:Tt.language});Xe({type:8,payload:At(ht({},ft),{submitResult:Zr,submitting:!1,submitRecords:_n})})}})},Nt={};if(Qe.get("type")==="exercises"&&(Nt.extras={exercise_id:Qe.get("exercisesId"),question_id:Qe.get("questionId")},(Qe.get("ip_limit")==="inner"||Qe.get("ip_bind_type")==="true")&&(Nt.extras.ip=yield(0,ct.y)({ip_limit:Qe.get("ip_limit"),ip_bind:Qe.get("ip_bind_type")==="true"}))),(yield(0,l.bM)(Je,Nt)).status===-1&&Qe.get("exercisesId")){window.parent.location.href=`/classrooms/${Qe.get("coursesId")}/exercise/${Qe.get("exercisesId")}/detail`;return}const{time_limit:zr,test_case_size:Xr}=Tt,Vr=_r();Hr()}else Xe({type:5,payload:!1})}catch(vt){console.log(vt),Xe({type:5,payload:!1})}Lr(!1)}})}function rn(){return kt(this,null,function*(){kr.current=1,ft.debuging=!0,Xe({type:4,payload:!0});try{if((yield Jr()).status===0){let Vr=function(){return kt(this,null,function*(){const{status:Hr,message:jr,data:Zr}=yield(0,l.rX)(Je,"debug"),Qr=_r()-Xr>(Nt+3)*1e3;if(Hr!==0&&!Qr&&(Xe({type:6,payload:jr}),setTimeout(Vr,1e3)),Qr){g.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Xe({type:4,payload:!1}),Xe({type:7,payload:At(ht({},ft),{debugResult:{status:2},debuging:!1})});return}Hr===0&&(Zr.status===2&&g.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Xe({type:4,payload:!1}),Xe({type:7,payload:At(ht({},ft),{debugResult:Zr,debuging:!1})}))})};const{time_limit:Nt}=Tt;let Ur={input:encodeURIComponent(bt.test_case.input)};if(Qe.get("type")==="exercises"&&(Ur.exercise_id=Qe.get("exercisesId")),(yield(0,l.MU)(Je,Ur)).status===-1&&Qe.get("exercisesId")){window.parent.location.href=`/classrooms/${Qe.get("coursesId")}/exercise/${Qe.get("exercisesId")}/detail`;return}const Xr=_r();Vr()}else Xe({type:4,payload:!1})}catch(vt){console.log(vt)}finally{}})}function qr(vt,Nt){const Ur=Nt?{modify_code:!1}:{};Xe({type:3,payload:At(ht({},bt),{hack:ht(At(ht({},Tt),{code:vt}),Ur)})}),Lr(!0)}const cn=vt=>kt(void 0,null,function*(){let Nt=yield(0,W.ZP)(`/api/problems/${Tt==null?void 0:Tt.identifier}/start.json`,{method:"get",params:{language:vt==="C++"||vt==="c++"?encodeURIComponent(vt):vt,hack_user_id:xr==null?void 0:xr.user_id}});Nt.status!==-1&&z.history.replace(`/myproblems/${Nt==null?void 0:Nt.identifier}${window.location.search}`)});function un(vt){let Nt=vt.target.value;Xe({type:3,payload:At(ht({},bt),{test_case:{input:Nt}})})}function fn(){return kt(this,null,function*(){try{let vt={};Qe.get("type")==="exercises"?vt.exercise_id=Qe.get("exercisesId"):Tt!=null&&Tt.homework_common_id&&(vt.homework_common_id=Tt==null?void 0:Tt.homework_common_id);const Nt=yield(0,l.H7)(Je,ht({},vt));Nt.status===401||(qr(H.Base64.decode(Nt.code)),(Qe.get("type")==="exercises"||Tt!=null&&Tt.homework_common_id)&&M.Z.publish("to-reset-info"))}catch(vt){console.log(vt)}})}function dn(){g.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Ne.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Ne.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return kt(this,null,function*(){const vt=yield(0,l.fi)(Je);vt.status===401||qr(H.Base64.decode(vt.code),!0)})}})}function pn(){Xe({type:9,payload:!0})}function hn(){Xe({type:9,payload:!1})}function mn(vt){return kt(this,null,function*(){yield(0,l.MK)(Je,vt),Xe({type:1,payload:{showNote:!1,data:At(ht({},bt),{hack:At(ht({},Tt),{notes:vt.notes})})}})})}const vn={hack:Tt,isLoading:hr,input:(Ie=bt==null?void 0:bt.test_case)==null?void 0:Ie.input,is_file:(Be=bt==null?void 0:bt.test_case)==null?void 0:Be.is_file,language:Tt==null?void 0:Tt.language,code:Tt==null?void 0:Tt.code,title:"main."+or[Tt==null?void 0:Tt.language],modify_code:Tt==null?void 0:Tt.modify_code,notes:Tt==null?void 0:Tt.notes,debugResult:Qt,debuging:Pr,submitting:pr,submitResult:jt,executingMessage:Mr,onCancelNote:hn,onAddNote:mn,showNote:Rr,user:xr,onShowNote:pn,onSubmitCode:tn,onChangeCode:qr,onChangeInput:un,onDebugCode:rn,onResetCode:fn,onSyncCode:dn,onUpdateCode:Jr,onChangeLanguage:cn,isWhiteTheme:cr,setIsWhiteTheme:ur,topDispatch:Xe};function yn(){return kt(this,null,function*(){const{praise_count:vt}=yield(0,l.vl)(Tt.id,{container_type:"Hack",type:1});let Nt=At(ht({},bt),{hack:At(ht({},Tt),{praises_count:vt,user_praise:!Tt.user_praise})});Xe({type:3,payload:Nt})})}const gn={topicId:Je,submitResult:jt,submitRecords:Yt,submitting:pr,page:dr,onPageChange:ln,hack:Tt,user:bt==null?void 0:bt.user,hack_sets:bt==null?void 0:bt.hack_sets,current_user:bt==null?void 0:bt.current_user,onTriggerPraise:yn,setActiveIndex:nn};return console.log(it),Ne.createElement(Ne.Fragment,null,Ne.createElement(v.Z,{spinning:Gt,delay:500},bt?Ne.createElement(Ne.Fragment,null,Ne.createElement("header",{className:er()(Lt.Z.header,cr&&Lt.Z.whiteHeader)},Qe.get("type")!=="exercises"&&Ne.createElement("div",null,Ne.createElement("img",{src:`${t.Z.IMG_SERVER}/images/${xr==null?void 0:xr.image_url}`,alt:"user",width:36}),Ne.createElement("span",{style:{color:cr?"#333":"#B2BACB",fontSize:16}},xr==null?void 0:xr.name)),Qe.get("type")==="exercises"&&Ne.createElement("div",null,Ne.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Ne.createElement("span",{className:"ml10"},(Ke=it==null?void 0:it.exercise)==null?void 0:Ke.user_name)),Ne.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Ne.createElement("span",{className:"ml10"},(Ye=it==null?void 0:it.exercise)==null?void 0:Ye.student_id))),Ne.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Ne.createElement("div",null,Tt.name)),(Tt==null?void 0:Tt.is_program)&&Ne.createElement(Dt.Z,{defaultValue:Tt==null?void 0:Tt.answer_long_time,onChange:vt=>{Gr.current=vt},className:Lt.Z.timepiece}),xr!=null&&xr.hack_manager?Ne.createElement(z.Link,{className:Lt.Z.btn_edit,to:Qe.get("type")==="1"?Qe.get("pageId")?`/problems/newedit/${Tt.identifier}?type=1&pageId=${Qe.get("pageId")}&backUrl=${Qe.get("backUrl")}`:`/problems/newedit/${Tt.identifier}?type=1`:`/problems/newedit/${Tt.identifier}`}," ",Ne.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((Ze=it==null?void 0:it.exercise)==null?void 0:Ze.left_time)&&Ne.createElement(Ne.Fragment,null,Ne.createElement("span",{style:{color:xt,marginRight:6},className:`iconfont icon-daojishi ${Lt.Z.djs}`}),Ne.createElement("span",{className:"c-white mr20"},Ne.createElement(Ir,{valueStyle:{color:xt,fontSize:20,fontWeight:500},title:Ne.createElement("span",{style:{color:xt,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:It,onFinish:()=>kt(void 0,null,function*(){const vt=yield(0,u.VL)({categoryId:Qe.get("exercisesId"),commit_method:2});if((vt==null?void 0:vt.status)===0&&(Jr(),g.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Ne.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Ne.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>kt(void 0,null,function*(){window.parent.location.href=`/classrooms/${Qe.get("coursesId")}/exercise/${Qe.get("exercisesId")}/detail`})})),(vt==null?void 0:vt.status)===-3){const Nt=parseInt(vt==null?void 0:vt.message);Et(Date.now()+Nt*1e3)}})}))),Qe.get("type")==="exercises"?Ne.createElement(c.ZP,{type:"primary",onClick:()=>{const vt=()=>kt(void 0,null,function*(){yield Jr(),Lr(!1),on(),Kr.current=!0,Yr()});if(!(Yt!=null&&Yt.records_count)||Bt){g.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Ne.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:vt});return}vt()}},Ne.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Ne.createElement("span",{onClick:()=>{var vt;if(Qe.get("backUrl"))z.history.push(Qe.get("backUrl"));else if(Qe.get("type")==="1"){let Nt=(vt=localStorage.getItem("program_homework"))==null?void 0:vt.split(",");z.history.push(`/classrooms/${Nt==null?void 0:Nt[0]}/program_homework/${Nt==null?void 0:Nt[1]}/detail`)}else z.history.push("/problemset")}},Ne.createElement(a.Z,{title:"\u5173\u95ED"},Ne.createElement("i",{style:{color:cr?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Ne.createElement(v.Z,{size:"large",spinning:hr},Ne.createElement(r.Z,{className:er()(Lt.Z.myProblems,cr&&Lt.Z.whiteMyProblems),leftChild:Ne.createElement(qe,ht({},gn)),rightChild:Ne.createElement(Tr,ht({},vn))}))):null,Ne.createElement(g.default,{centered:!0,closable:!1,width:680,footer:null,open:Br,className:"oj-modal"},Ne.createElement("section",{className:"oj-modal-content"},Ne.createElement("div",{className:"oj-modal-head"},Ne.createElement("img",{src:dt,alt:""}),Ne.createElement("i",{onClick:()=>Nr(!1),className:"iconfont icon-guanbi1"})),Ne.createElement("aside",null,Ne.createElement("img",{className:"mr30",src:ir.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Ne.createElement("span",{style:{color:"#75d6ba",marginRight:100}},jt==null?void 0:jt.execute_time,"ms"),"\u4F18\u4E8E",Ne.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(jt==null?void 0:jt.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Ne.createElement("aside",{className:"mb50"},Ne.createElement("img",{src:Ot.Z,className:"mr30"}),Ne.createElement("span",{className:"oj-modal-tt"},Ne.createElement("span",null,Ne.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Ne.createElement("span",{className:"c-light-primary"},jt==null?void 0:jt.execute_memory,"kb")),Ne.createElement("span",null,Ne.createElement("span",null))),"\u4F18\u4E8E",Ne.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(jt==null?void 0:jt.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Ne.createElement("div",{id:"oj-modal-next",onClick:()=>kt(void 0,null,function*(){var vt;if(jt!=null&&jt.next_identifier){let Nt=yield(0,W.ZP)(`/api/problems/${jt==null?void 0:jt.next_identifier}/start.json`,{method:"get",params:{hack_user_id:xr==null?void 0:xr.user_id}});Nt&&(z.history.replace(`/myproblems/${Nt==null?void 0:Nt.identifier}${window.location.search}`),window.location.reload())}else{let Nt=(vt=localStorage.getItem("program_homework"))==null?void 0:vt.split(",");z.history.push(`/classrooms/${Nt==null?void 0:Nt[0]}/program_homework/${Nt==null?void 0:Nt[1]}/detail`)}}),className:"oj-modal-btn"},jt!=null&&jt.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875")))),Ne.createElement(Wt.Z,{successCb:()=>{kr.current===1?rn():tn()}}))};function sr({title:_e,modify_code:Ie,onSyncCode:Be,onShowCodeSetting:Ke,onResetCode:Ye,hack:Ze,onChangeLanguage:ft,isWhiteTheme:Xe}){var Je;const mt=()=>{g.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Ne.createElement(n.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Ye})},[Qe]=(0,z.useSearchParams)(),Gt=Qe.get("language"),bt=Qt=>Qt==="1"?"c++":Qt==="2"?"C++":Qt;return(0,D.useEffect)(()=>{Gt&&ft(bt(Gt))},[]),(0,D.useEffect)(()=>{Ze!=null&&Ze.tpm_code_modified&&g.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Ne.createElement(n.Z,null),content:Ne.createElement("div",null,Ne.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Ne.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Ne.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ye()})},[Ze==null?void 0:Ze.language]),console.log(Ze,Xe,"hack"),Ne.createElement("div",{className:`${Lt.Z.codeHead} ${Xe?Lt.Z.whiteCodeHead:""}`},Ne.createElement("div",{className:Lt.Z.navWrap},(Je=Ze==null?void 0:Ze.all_language)==null?void 0:Je.map(Qt=>Ne.createElement("div",{className:`${Lt.Z.nav} ${Qt===(Ze==null?void 0:Ze.language)?Lt.Z.active:""}`,key:Qt,onClick:()=>ft(Qt)},Ne.createElement(a.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Ne.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Ne.createElement("span",null,Qt)))),Ne.createElement(o.Z,{align:"middle",style:{marginLeft:"auto"}},Ie?Ne.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Be},Ne.createElement("img",{src:N,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Ne.createElement("a",{onClick:mt},Ne.createElement(a.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Ne.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Ne.createElement("a",{onClick:Ke},Ne.createElement(a.Z,{title:"\u8BBE\u7F6E"},Ne.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function Tr(_e){var Ie=_e,{input:Be,is_file:Ke,showNote:Ye,onShowNote:Ze,notes:ft,onCancelNote:Xe,onAddNote:Je,debugResult:mt,language:Qe,debuging:Gt,submitting:bt,executingMessage:Qt,code:jt,onSubmitCode:Yt,onDebugCode:dr,onChangeCode:Rr,onChangeInput:Pr,onUpdateCode:pr,user:Mr,isLoading:xt,submitResult:nt}=Ie,It=Dr(Ie,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Et(ot){return Ne.createElement(sr,At(ht({},It),{onShowCodeSetting:ot}))}const it=ht({input:Be,is_file:Ke,debugResult:mt,debuging:Gt,submitting:bt,executingMessage:Qt,onDebugCode:dr,onChangeCode:Rr,onSubmitCode:Yt,onChangeInput:Pr,user:Mr,submitResult:nt},It);return Ne.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Ne.createElement(O,{setIsWhiteTheme:It==null?void 0:It.setIsWhiteTheme,isLoading:xt,language:Qe,value:jt,onChange:Rr,onUpdateCode:pr,ActionBarRender:Et}),Ne.createElement(V.ZP,ht({},it)))}},90593:function($e,be,A){"use strict";A.d(be,{Im:function(){return E},ZP:function(){return O},gZ:function(){return P}});var D=A(59301),z=A(92832),e=A(3113),g=A(18290),v=A(88551),c=A(81699),a=A(24334),o=A(26089),l=A(25711),u=A(58130),i=A(44722),r=A(34376),t=A(92310),n=A.n(t),s=A(59301),d=Object.defineProperty,m=Object.defineProperties,h=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,x=(N,H,V)=>H in N?d(N,H,{enumerable:!0,configurable:!0,writable:!0,value:V}):N[H]=V,S=(N,H)=>{for(var V in H||(H={}))p.call(H,V)&&x(N,V,H[V]);if(y)for(var V of y(H))b.call(H,V)&&x(N,V,H[V]);return N},w=(N,H)=>m(N,h(H));const{TextArea:_}=z.default,C={visible:!1,tabIndex:"0"},E={[c.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[c.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[c.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var T=(N=>(N[N.SET_VISIBLE=0]="SET_VISIBLE",N[N.SET_TABINDEX=1]="SET_TABINDEX",N))(T||{});function R(N,H){switch(H.type){case 0:return w(S({},N),{visible:H.payload});case 1:return w(S({},N),{tabIndex:H.payload});default:throw new Error}}function k({value:N,className:H}){const[V,B]=(0,D.useState)(!1),te=(0,D.useRef)(),ee=(0,D.useRef)();return(0,D.useEffect)(()=>{V&&(ee.current.reset(),ee.current.write((0,u.pp)(N||"")))},[N,V]),(0,D.useEffect)(()=>{var J,Q,re,Z;if(te.current){ee.current=new r.Terminal({fontSize:14,disableStdin:!0}),ee.current.open(te.current);const X=te.current.offsetWidth-14,$=((Z=(re=(Q=(J=ee.current)==null?void 0:J._core)==null?void 0:Q._renderService)==null?void 0:re.dimensions)==null?void 0:Z.actualCellWidth)||9.5,ie=Math.ceil(X/$);ee.current.resize(ie,8),B(!0)}},[]),s.createElement("div",{ref:te,className:n()("XtermText-valueRef",H)})}function P(N){const{status:H,error_msg:V,output:B,input:te,expected_output:ee,is_file:J,input_file_url:Q,output_file_url:re,expected_output_file_url:Z}=N;let X=null;const $={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(H){case c.h.NOMATCH:X=s.createElement(s.Fragment,null,s.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!J&&s.createElement(k,{className:"mb10",value:te}),J&&s.createElement("div",{style:$},s.createElement("a",{onClick:()=>(0,u.LR)(Q,te)},te)),s.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!J&&s.createElement(k,{className:"mb10",value:B&&a.Base64.decode(B)||""}),J&&s.createElement("div",{style:$},s.createElement("a",{onClick:()=>(0,u.LR)(re,B)},B)),s.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!J&&s.createElement(k,{className:"mb10",value:ee&&a.Base64.decode(ee)||""}),J&&s.createElement("div",{style:$},s.createElement("a",{onClick:()=>(0,u.LR)(Z,ee)},ee)));break;case c.h.EXECUTEFAILURE:X=s.createElement(s.Fragment,null,s.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!J&&s.createElement(l.Z,{value:te,style:$}),J&&s.createElement("div",{style:$},s.createElement("a",{onClick:()=>(0,u.LR)(Q,te)},te)),s.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),s.createElement("pre",{className:"error"},a.Base64.decode(V)));break;case c.h.COMPILEFAILURE:X=s.createElement(s.Fragment,null,s.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!J&&s.createElement(l.Z,{value:te,style:$}),J&&s.createElement("div",{style:$},s.createElement("a",{onClick:()=>(0,u.LR)(Q,te)},te)),s.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),s.createElement("pre",{className:"error"},a.Base64.decode(V)));break;case c.h.PODFAILURE:X=s.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case c.h.TIMEOUT:X=s.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return s.createElement(s.Fragment,null," ",X," ")}function L(N){const{status:H,error_msg:V,execute_time:B,output:te,input:ee,expected_output:J,is_file:Q,input_file_url:re,output_file_url:Z,expected_output_file_url:X}=N;let $=null;switch(H){case c.h.OK:$=s.createElement(s.Fragment,null,s.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",B,"\u79D2"),s.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),s.createElement("pre",null,a.Base64.decode(te)));break;case c.h.NOMATCH:$=s.createElement(s.Fragment,null,s.createElement("p",null,"\u8F93\u5165\uFF1A",s.createElement("pre",null,ee)),s.createElement("p",null,"\u8F93\u51FA\uFF1A",te&&a.Base64.decode(te)),s.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",J&&a.Base64.decode(J)));break;case c.h.EXECUTEFAILURE:$=s.createElement(s.Fragment,null,s.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",s.createElement("pre",null,ee)),s.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),s.createElement("pre",{className:"error"},a.Base64.decode(V)));break;case c.h.COMPILEFAILURE:$=s.createElement(s.Fragment,null,s.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",s.createElement("pre",null,ee)),s.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),s.createElement("pre",{className:"error"},a.Base64.decode(V)));break;case c.h.PODFAILURE:$=s.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case c.h.TIMEOUT:$=s.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return s.createElement(s.Fragment,null," ",$," ")}var O=({id:N,is_file:H,input:V,debuging:B,submitting:te,executingMessage:ee,debugResult:J,onChangeInput:Q,onDebugCode:re,onSubmitCode:Z})=>{const[X,$]=(0,D.useReducer)(R,C),{visible:ie,tabIndex:de}=X;(0,D.useEffect)(()=>{$({type:0,payload:!1})},[N]);function pe(F){let Y=F.target.id;$({type:1,payload:Y})}function G(){$({type:0,payload:!ie})}const I=(0,D.useMemo)(()=>{if(J){const{status:F}=J;return s.createElement(s.Fragment,null,L(J))}return null},[J]);function q(){$({type:0,payload:!0}),$({type:1,payload:"1"}),re()}return s.createElement("div",{className:"test-case-panel"},s.createElement("div",{className:`test-case-panel-body ${ie?"active":""}`},s.createElement("ul",{className:"s-navs"},s.createElement("li",null,s.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),s.createElement(i.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:s.createElement(_,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:H?"":V,onChange:Q}),rightNode:B?s.createElement(o.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):J?I:s.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),s.createElement("a",{className:`btn-collapse ${ie?"up":""}`,onClick:G},ie?s.createElement(g.Z,null):s.createElement(v.Z,null)),s.createElement("footer",{className:"footer"},s.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),s.createElement("div",{className:"flex-container"},s.createElement(e.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),s.createElement(e.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),s.createElement(e.ZP,{className:"btn-green",type:"ghost",loading:B,onClick:q},"\u8C03\u8BD5\u4EE3\u7801"),s.createElement(e.ZP,{type:"primary",className:"custom-ant-disabled",loading:te,disabled:te,onClick:()=>{$({type:0,payload:!1}),Z()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},81699:function($e,be,A){"use strict";A.d(be,{h:function(){return D}});var D=(z=>(z[z.NOMATCH=-1]="NOMATCH",z[z.OK=0]="OK",z[z.TIMEOUT=2]="TIMEOUT",z[z.PODFAILURE=3]="PODFAILURE",z[z.COMPILEFAILURE=4]="COMPILEFAILURE",z[z.EXECUTEFAILURE=5]="EXECUTEFAILURE",z[z.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",z))(D||{})},31604:function($e,be,A){"use strict";A.d(be,{Y2:function(){return N},ZP:function(){return H}});var D=A(59301),z=A(24645),e=A(8591),g=A(43418),v=A(95237),c=A(5112),a=A(3113),o=A(24905),l=A(6848),u=A(92832),i={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYa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7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",t=A(47257),n=A.n(t),s=A(9168),d=A(70635),m=A(1012),h=A(58130),y=A(79646),p=A(59301),b=Object.defineProperty,x=Object.defineProperties,S=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,E=(V,B,te)=>B in V?b(V,B,{enumerable:!0,configurable:!0,writable:!0,value:te}):V[B]=te,T=(V,B)=>{for(var te in B||(B={}))_.call(B,te)&&E(V,te,B[te]);if(w)for(var te of w(B))C.call(B,te)&&E(V,te,B[te]);return V},R=(V,B)=>x(V,S(B)),k=(V,B,te)=>new Promise((ee,J)=>{var Q=X=>{try{Z(te.next(X))}catch($){J($)}},re=X=>{try{Z(te.throw(X))}catch($){J($)}},Z=X=>X.done?ee(X.value):Promise.resolve(X.value).then(Q,re);Z((te=te.apply(V,B)).next())});const{Dragger:P}=z.default,L=V=>{const B=$=>$&&$.substring(0,$.lastIndexOf("."));for(var te=[...V],ee=0,J=[],Q=0;Q<te.length;Q++){for(var re="",Z=0;Z<J.length;Z++)if(B(J[Z][0].name)==B(te[Q].name)){ee=1,re=Z;break}if(ee==1)J[re].push(te[Q]),ee=0;else if(ee==0){let $=new Array;$.push(te[Q]),J.push($)}}return J.map($=>{if($.forEach(ie=>{let de=ie.name.split(/\.(?=[^\.]+$)/);ie.name=`${de[0]}.${de[1].toLowerCase()}`}),$[0].name.includes(".in"))return $.length===2?$:[$[0],{}];if($[0].name.includes(".out"))return $.length===2?$.reverse():[{},$[0]]})},O=({onClose:V,onOK:B,visible:te,wrapClassName:ee,rootIdentifier:J,multiple:Q=!1,defaultMultipleValue:re=!0})=>{const[Z,X]=(0,D.useState)([]),[$,ie]=(0,D.useState)({}),[de,pe]=(0,D.useState)(!1),[G,I]=(0,D.useState)(!0),q=(0,D.useRef)([]),F=(0,D.useRef)(0),Y=()=>{V()};(0,D.useEffect)(()=>{ue()},[]),(0,D.useEffect)(()=>{te&&(q.current=[],F.current=0,X([]),I(re))},[te]);const ue=()=>k(void 0,null,function*(){try{const he=yield(0,d.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),ae=JSON.parse((0,s.pe)(he.data));ie(ae)}catch(he){}}),ce=he=>he&&he.substring(0,he.lastIndexOf(".")),ne=he=>{var ae,le;const Se=ce((ae=he[0])==null?void 0:ae.name)||ce((le=he[1])==null?void 0:le.name),ge=Z.filter(xe=>ce(xe.name)!==Se);q.current=[...ge],X([...ge])},U=he=>{if(!G){const ye=new FormData;ye.append("file",he.file),(0,d.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ye},!0).then(se=>{if(se.status===0){F.current=F.current+1;const fe=q.current.map(me=>{var Ee;if(me.name===he.name){const je=T({},me);return(Ee=he==null?void 0:he.name)!=null&&Ee.includes(".in")?je.input=se==null?void 0:se.content:je.output=se==null?void 0:se.content,je}return me});if(q.current=[...fe],X([...fe]),F.current>0&&F.current===Z.length){pe(!1);let me=L(fe);me=me.filter(Ee=>{var je,Le;return!!((je=Ee[0])!=null&&je.name&&((Le=Ee[1])!=null&&Le.name))}),me=me.map(Ee=>R(T(T({},Ee[0]),Ee[1]),{is_file:!1})),B(me),V()}}else pe(!1),V()});return}const ae=new(n())({endpoint:$.end_point,region:$.region,accessKeyId:$.access_key_id,accessKeySecret:$.access_key_secret,bucket:$.bucket,stsToken:$.security_token}),le=he.name,Se={container_type:"TestSet",file_name:le},ge=(0,m.Z)();let xe=`testsets/${J}/${ge}${le.indexOf(".")>-1?"."+le.split(".").pop():""}`;J===null&&(xe=`testsets/${ge}${le.indexOf(".")>-1?"."+le.split(".").pop():""}`),ae.multipartUpload(xe,new Blob([he.file],{type:he.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:le+""},url:$==null?void 0:$.callback_url,host:$==null?void 0:$.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,d.rz)(Se)}}).then(function(ye){if(ye.data.status===0){F.current=F.current+1;const Te=q.current.map(se=>{var fe,me,Ee,je,Le,He,We,Ge,lt,ze,et,Ct,pt,yt,_t,gt,Vt;if(se.name===((me=(fe=ye.data)==null?void 0:fe.data)==null?void 0:me.file_name)){const st=T({},se);return(Le=(je=(Ee=ye.data)==null?void 0:Ee.data)==null?void 0:je.file_name)!=null&&Le.includes(".in")?(st.in_object_key=(We=(He=ye.data)==null?void 0:He.data)==null?void 0:We.object,st.in_object_size=(lt=(Ge=ye.data)==null?void 0:Ge.data)==null?void 0:lt.size,st.input=(et=(ze=ye.data)==null?void 0:ze.data)==null?void 0:et.file_name,st.in_file=he):(st.out_object_key=(pt=(Ct=ye.data)==null?void 0:Ct.data)==null?void 0:pt.object,st.out_object_size=(_t=(yt=ye.data)==null?void 0:yt.data)==null?void 0:_t.size,st.output=(Vt=(gt=ye.data)==null?void 0:gt.data)==null?void 0:Vt.file_name,st.out_file=he),st}return se});if(q.current=[...Te],X([...Te]),F.current>0&&F.current===Z.length){pe(!1);let se=L(Te);se=se.filter(fe=>{var me,Ee;return!!((me=fe[0])!=null&&me.name&&((Ee=fe[1])!=null&&Ee.name))}),se=se.map(fe=>R(T(T({},fe[0]),fe[1]),{is_file:!0})),B(se),V()}}})},M=he=>new Promise((ae,le)=>{let Se=0,ge=[];for(let xe=0;xe<he.length;xe++)he[xe].file.slice(0,1).arrayBuffer().then(()=>{Se++,Se===he.length&&(ge.length?(e.ZP.warning(`${ge.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),le()):ae(he))}).catch(ye=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ye),Se++,ge.push(he[xe].name),Se===he.length&&(ge.length?(e.ZP.warning(`${ge.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),le()):ae(he))})}),W=()=>k(void 0,null,function*(){if(Z.length===0){e.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield M(Z),pe(!0),L(Z).some(ae=>{var le,Se;return!((le=ae[0])!=null&&le.name&&((Se=ae[1])!=null&&Se.name))})){g.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>k(void 0,null,function*(){Z.map(ae=>k(void 0,null,function*(){U(ae)}))}),onCancel:()=>{pe(!1)}});return}Z.map(ae=>k(void 0,null,function*(){U(ae)}))}),K={name:"file",fileList:Z,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:he=>{if(Z!=null&&Z.some(le=>le.name===he.name))return e.ZP.info(`${he.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(he.size/1024/1024>100)return e.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(he.name))return e.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const ae={name:he.name,uid:he.uid,file:he,percent:0};return Z.push(ae),q.current=[...Z],X([...Z]),!1}},oe=L(Z);return console.log(Z,oe,"fileList"),p.createElement(g.default,{open:te,wrapClassName:ee,onOk:W,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:de},onCancel:Y,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},p.createElement("div",{className:i.wrap},Z.length?p.createElement("div",null,p.createElement(v.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},p.createElement("div",{style:{visibility:Q?"visible":"hidden"}},p.createElement("span",{className:i.greyText},"\u7528\u4F8B\u7C7B\u578B"),p.createElement(c.ZP.Group,{className:`ml20 ${i.testCaseRadio}`,optionType:"button",value:G,onChange:he=>I(he.target.value)},p.createElement(c.ZP,{value:!1},"\u6587\u672C"),p.createElement(c.ZP,{value:!0},"\u6587\u4EF6"))),p.createElement(z.default,T({},K),p.createElement(a.ZP,{type:"primary",className:i.btnS},p.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),p.createElement(N,{data:oe,onRemove:ne})):p.createElement("div",{className:`${i.noData} mb30`},p.createElement(z.default.Dragger,R(T({},K),{className:i.dragger}),p.createElement("img",{src:r,alt:"",className:"mb20"}),p.createElement("div",null,p.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),p.createElement("span",{className:i.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),p.createElement("div",{className:i.text},p.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),p.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",p.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",p.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",p.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",p.createElement("br",null))))},N=({data:V=[],onRemove:B,width:te="auto",showScore:ee=!1,disabled:J=!1,inputChange:Q,onEvaluatingChange:re,onSelectAll:Z,checkAll1:X,checkAll2:$,checkAll3:ie,checkAll4:de,checkAll5:pe,showEvaluatingSetting:G=!1,className:I="",isProgramHomework:q=!1})=>{const F={value:"",filename:"",dataUrl:""},[Y,ue]=(0,D.useState)(T({},F)),ce=M=>{let W=document.createElement("a");document.body.appendChild(W);let K=URL.createObjectURL(M.file);W.href=K,W.download=M.name,W.click(),URL.revokeObjectURL(K),document.body.removeChild(W)},ne=(M,W)=>{(0,h.LR)(M,W)},U=(M,W)=>{g.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:p.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{B(M,W)},onCancel:()=>{}})};return V.length?p.createElement("div",{className:I,style:{width:te}},p.createElement("div",{className:`${q?i.headProgram:i.head}`},G&&p.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},p.createElement(o.default,{checked:X,onChange:M=>{Z(M.target.checked,"hidden")}}),p.createElement(l.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},p.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),p.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),p.createElement("div",{style:{width:q?"25%":"15%"}},"\u7528\u4F8B"),p.createElement("div",{style:{width:ee?q?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),p.createElement("div",{style:{width:ee?q?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),ee&&p.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),G&&p.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},p.createElement(o.default,{checked:de,onChange:M=>{Z(M.target.checked,"input_visible")}}),p.createElement(l.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},p.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),p.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),G&&p.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},p.createElement(o.default,{checked:$,onChange:M=>{Z(M.target.checked,"is_invisible")}}),p.createElement(l.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},p.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),p.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),G&&p.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},p.createElement(o.default,{checked:pe,onChange:M=>{Z(M.target.checked,"actual_output_visible")}}),p.createElement(l.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},p.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),p.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),G&&p.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},p.createElement(o.default,{checked:ie,onChange:M=>{Z(M.target.checked,"last_match_rule")}}),p.createElement(l.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},p.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),p.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),p.createElement("div",{className:i.operation,style:q?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),p.createElement("div",{className:i.listWrapper,style:{boxShadow:q?"0px 2px 4px 0px #EAEEF4":"unset"}},V.map((M,W)=>{var K,oe,he,ae;return p.createElement("div",{key:W,className:i.list,style:q?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},G&&p.createElement("div",{style:{width:"15%"}},p.createElement(o.default,{checked:!!M.hidden,onChange:le=>{re(le.target.checked,W,"hidden")}})),p.createElement("div",{style:{width:q?"25%":"15%",paddingLeft:q?"5px":"0px",paddingRight:q?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",W+1),p.createElement("div",{className:i.info,style:{width:ee?q?"20%":"15%":"25%"}},p.createElement("span",{title:M.input||((K=M[0])==null?void 0:K.name),onClick:()=>k(void 0,null,function*(){let le;M.input?M.input_file_url?le=M.input_file_url:le=M.in_file:le=M[0];let Se;typeof le=="string"?(Se=yield fetch(le,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),ue({value:yield Se.text(),filename:"",dataUrl:le})):(Se=yield(0,h.db)(le.file),ue({value:Se.text,filename:le.name,dataUrl:Se.link}))})},M.input||((oe=M[0])==null?void 0:oe.name))),p.createElement("div",{className:i.info,style:{width:ee?q?"20%":"15%":"25%"}},p.createElement("span",{title:M.output||((he=M[1])==null?void 0:he.name),onClick:()=>k(void 0,null,function*(){let le;M.input?M.output_file_url?le=M.output_file_url:le=M.out_file:le=M[1];let Se;typeof le=="string"?(Se=yield fetch(le,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),ue({value:yield Se.text(),filename:"",dataUrl:le})):(Se=yield(0,h.db)(le.file),ue({value:Se.text,filename:le.name,dataUrl:Se.link}))})},M.output||((ae=M[1])==null?void 0:ae.name))),ee&&p.createElement("div",{style:{width:"20%"}},p.createElement(u.default,{size:"large",addonAfter:q?"%":null,disabled:J,style:{width:"80%"},onChange:le=>Q(le,W),value:M.score}),!q&&p.createElement("span",null,"\xA0%")),G&&p.createElement("div",{style:{width:"20%"}},p.createElement(o.default,{checked:M.input_visible||!1,onChange:le=>{re(le.target.checked,W,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),G&&p.createElement("div",{style:{width:"20%"}},p.createElement(o.default,{checked:M.is_invisible||!1,onChange:le=>{re(le.target.checked,W,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),G&&p.createElement("div",{style:{width:"20%"}},p.createElement(o.default,{checked:M.actual_output_visible||!1,onChange:le=>{re(le.target.checked,W,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),G&&p.createElement("div",{style:{width:"20%"}},p.createElement(o.default,{checked:M.last_match_rule||!1,onChange:le=>{re(le.target.checked,W,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),p.createElement("div",{onClick:()=>U(M,W),style:q?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},p.createElement("span",{className:i.del},"\u5220\u9664")))})),p.createElement(y.Z,{close:!0,data:Y.dataUrl,filename:Y.filename,type:Y.dataUrl.length?"txt":"",onClose:()=>ue(T({},F)),monacoEditor:{value:Y.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):p.createElement(p.Fragment,null)};var H=O},75584:function($e,be,A){"use strict";A.d(be,{Z:function(){return t}});var D=A(59301),z=A(8591),e=A(6848),g=A(71418),v=A(95237),c=A(43604),a=A(25700),o=A(3113),l=A(23469),u=A(70635),i=A(25711),r=(s,d,m)=>new Promise((h,y)=>{var p=S=>{try{x(m.next(S))}catch(w){y(w)}},b=S=>{try{x(m.throw(S))}catch(w){y(w)}},x=S=>S.done?h(S.value):Promise.resolve(S.value).then(p,b);x((m=m.apply(s,d)).next())}),t=({id:s,activeDiscussIndex:d,onReplyDiscuss:m,adminOrOperator:h})=>{const[y,p]=(0,D.useState)(""),[b,x]=(0,D.useState)(!1);function S(_){p(_)}function w(){if(!y){z.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}m(s,y),p("")}return(0,D.useEffect)(()=>{d!=s&&x(!1)},[d]),D.createElement("div",{key:s,className:"discuss-item-editor",style:{display:d===s?"block":"none",width:"100%"}},D.createElement(l.Z,{miniToolbar:!0,startInit:d===s,defaultValue:y,id:s,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:S,extraUse:h&&D.createElement(e.Z,{color:"#fff",open:b,destroyTooltipOnHide:!0,title:n({id:s,isOpen:b,activeDiscussIndex:d,onChange:S,setIsOpen:x}),overlayStyle:{maxWidth:600}},D.createElement("a",{title:b?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>x(!b)},D.createElement("i",{className:"iconfont icon-dianzan11"})))}),D.createElement("a",{onClick:w,className:"btn-send"},"\u53D1\u9001"))};const n=s=>{const[d,m]=(0,D.useState)(!1),[h,y]=(0,D.useState)([]),[p,b]=(0,D.useState)(1);(0,D.useEffect)(()=>{s!=null&&s.isOpen?x():(b(1),y([]))},[s==null?void 0:s.isOpen]);const x=()=>r(void 0,null,function*(){m(!0);const S=yield(0,u.ZP)(`/api/discusses/${s==null?void 0:s.id}/recommend_answer.json`,{method:"get"});(S==null?void 0:S.status)==0&&y(S==null?void 0:S.answer),m(!1)});return D.createElement(g.Z,{spinning:d},D.createElement("div",{style:{color:"#000"}},D.createElement(i.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(h==null?void 0:h[p-1])||""}),D.createElement(v.Z,{justify:"end",align:"middle"},D.createElement(c.Z,null,D.createElement(a.Z,{simple:!0,current:p,pageSize:1,total:(h==null?void 0:h.length)||0,onChange:S=>{b(S)}})),D.createElement(c.Z,null,D.createElement(o.ZP,{onClick:()=>r(void 0,null,function*(){s==null||s.onChange(h==null?void 0:h[p-1]),s==null||s.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},65034:function($e,be,A){"use strict";A.d(be,{CP:function(){return e},_V:function(){return c}});var D=A(28209),z=A.n(D);const e={secret:D.enc.Utf8.parse("0a18e199b87f1a8d"),iv:D.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},g={exam:e};function v(a="",o="exam"){const{secret:l,iv:u}=g[o];return AES.encrypt(a,l,{iv:u,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function c(a="",o="exam"){const{secret:l,iv:u}=g[o];return D.AES.decrypt(a,l,{iv:u,mode:z().mode.CBC,padding:z().pad.Pkcs7}).toString(D.enc.Utf8)}},39171:function($e,be,A){"use strict";A.d(be,{BU:function(){return z},Dj:function(){return D},gH:function(){return e},vp:function(){return g}});function D(v){try{v.mozRequestFullScreen?v.mozRequestFullScreen():v.webkitRequestFullScreen&&v.webkitRequestFullScreen()}catch(c){console.log(c,":e")}}function z(){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 e=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function g(){var v=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,c=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",v),window.isFullScreen?window.isFullScreen:v!=null}},35427:function($e,be,A){"use strict";A.d(be,{U:function(){return l}});var D=A(59301),z=Object.defineProperty,e=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(u,i,r)=>i in u?z(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,a=(u,i)=>{for(var r in i||(i={}))g.call(i,r)&&c(u,r,i[r]);if(e)for(var r of e(i))v.call(i,r)&&c(u,r,i[r]);return u},o=(u,i,r)=>new Promise((t,n)=>{var s=h=>{try{m(r.next(h))}catch(y){n(y)}},d=h=>{try{m(r.throw(h))}catch(y){n(y)}},m=h=>h.done?t(h.value):Promise.resolve(h.value).then(s,d);m((r=r.apply(u,i)).next())});function l(u,i){const[r,t]=(0,D.useState)(i),[n,s]=(0,D.useState)(!1),[d,m]=(0,D.useState)();return[r,n,(y,p=!1)=>o(this,null,function*(){const b=p?i:a(a({},r),y);s(!0),t(b);const x=yield u(b);return s(!1),m(x),x}),d]}},73821:function($e,be,A){"use strict";A.d(be,{_:function(){return e}});var D=A(59301),z=A(43418);const e=g=>{var v,c;const a=(0,D.useRef)([]),o=()=>{for(const l of a.current)clearTimeout(l);a.current=[]};return(0,D.useEffect)(()=>{var l,u,i,r,t,n;if(o(),(l=g==null?void 0:g.exercise)!=null&&l.left_time&&((i=(u=g==null?void 0:g.exercise)==null?void 0:u.exercise_events)==null?void 0:i.length)>0){for(const s of(r=g==null?void 0:g.exercise)==null?void 0:r.exercise_events)if(((t=g==null?void 0:g.exercise)==null?void 0:t.left_time)>(s==null?void 0:s.reminder_time)*60){let d=(((n=g==null?void 0:g.exercise)==null?void 0:n.left_time)-(s==null?void 0:s.reminder_time)*60)*1e3;d=d>2147483647?2147483647:d;const m=setTimeout(()=>{z.default.info({content:`${s==null?void 0:s.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},d);a.current.push(m)}}},[(v=g==null?void 0:g.exercise)==null?void 0:v.left_time,(c=g==null?void 0:g.exercise)==null?void 0:c.exercise_events]),o}},49371:function($e,be,A){"use strict";A.d(be,{G:function(){return v},t:function(){return g}});var D=A(7062),z=A.n(D);const e=null;function g(c,a){let o=z().get("__ec");o||(o={}),o[c]=a,z().set("__ec",o)}function v(c,a){let o=z().get("__ec");return o?o[c]===void 0?a:o[c]:a}},47257:function($e){(function(be){(function(A){if(1)$e.exports=A();else var D})(function(){var A,D,z;return function(){function e(g,v,c){function a(u,i){if(!v[u]){if(!g[u]){var r=void 0;if(!i&&r)return require(u,!0);if(o)return o(u,!0);var t=new Error("Cannot find module '"+u+"'");throw t.code="MODULE_NOT_FOUND",t}var n=v[u]={exports:{}};g[u][0].call(n.exports,function(s){var d=g[u][1][s];return a(d||s)},n,n.exports,e,g,v,c)}return v[u].exports}for(var o=void 0,l=0;l<c.length;l++)a(c[l]);return a}return e}()({1:[function(e,g,v){"use strict";var c=e("./browser/client");c.Buffer=e("buffer").Buffer,c.urllib=e("../shims/xhr"),c.version=e("./browser/version").version,g.exports=c},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator"));e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.slice.js");var l=e("assert"),u=e("../common/utils/checkBucketName"),i=u.checkBucketName,r=v;function t(s){return Array.isArray?Array.isArray(s):Object.prototype.toString.call(s)==="[object Array]"}function n(s){return s?t(s)?s:[s]:[]}r.useBucket=function(d){return i(d),this.options.bucket=d,this},r.setBucket=function(d){return i(d),this.options.bucket=d,this},r.getBucket=function(){return this.options.bucket},r.deleteBucket=function(){var s=(0,o.default)(a.default.mark(function m(h,y){var p,b;return a.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return p=this._bucketRequestParams("DELETE",h,"",y),S.next=3,this.request(p);case 3:if(b=S.sent,!(b.status===200||b.status===204)){S.next=6;break}return S.abrupt("return",{res:b.res});case 6:return S.next=8,this.requestError(b);case 8:throw S.sent;case 9:case"end":return S.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r.putBucketACL=function(){var s=(0,o.default)(a.default.mark(function m(h,y,p){var b,x;return a.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return b=this._bucketRequestParams("PUT",h,"acl",p),b.headers={"x-oss-acl":y},b.successStatuses=[200],w.next=5,this.request(b);case 5:return x=w.sent,w.abrupt("return",{bucket:x.headers.location&&x.headers.location.substring(1)||null,res:x.res});case 7:case"end":return w.stop()}},m,this)}));function d(m,h,y){return s.apply(this,arguments)}return d}(),r.getBucketACL=function(){var s=(0,o.default)(a.default.mark(function m(h,y){var p,b;return a.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return p=this._bucketRequestParams("GET",h,"acl",y),p.successStatuses=[200],p.xmlResponse=!0,S.next=5,this.request(p);case 5:return b=S.sent,S.abrupt("return",{acl:b.data.AccessControlList.Grant,owner:{id:b.data.Owner.ID,displayName:b.data.Owner.DisplayName},res:b.res});case 7:case"end":return S.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r.putBucketLogging=function(){var s=(0,o.default)(a.default.mark(function m(h,y,p){var b,x,S;return a.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return b=this._bucketRequestParams("PUT",h,"logging",p),x=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(h,`</TargetBucket>
`),y&&(x+="<TargetPrefix>".concat(y,`</TargetPrefix>
`)),x+=`</LoggingEnabled>
</BucketLoggingStatus>`,b.content=x,b.mime="xml",b.successStatuses=[200],_.next=9,this.request(b);case 9:return S=_.sent,_.abrupt("return",{res:S.res});case 11:case"end":return _.stop()}},m,this)}));function d(m,h,y){return s.apply(this,arguments)}return d}(),r.getBucketLogging=function(){var s=(0,o.default)(a.default.mark(function m(h,y){var p,b,x;return a.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return p=this._bucketRequestParams("GET",h,"logging",y),p.successStatuses=[200],p.xmlResponse=!0,w.next=5,this.request(p);case 5:return b=w.sent,x=b.data.LoggingEnabled,w.abrupt("return",{enable:!!x,prefix:x&&x.TargetPrefix||null,res:b.res});case 8:case"end":return w.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r.deleteBucketLogging=function(){var s=(0,o.default)(a.default.mark(function m(h,y){var p,b;return a.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return p=this._bucketRequestParams("DELETE",h,"logging",y),p.successStatuses=[204,200],S.next=4,this.request(p);case 4:return b=S.sent,S.abrupt("return",{res:b.res});case 6:case"end":return S.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r.putBucketCORS=function(){var s=(0,o.default)(a.default.mark(function m(h,y,p){var b,x,S,w,_,C,E,T,R,k;return a.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:for(y=y||[],l(y.length,"rules is required"),y.forEach(function(O){l(O.allowedOrigin,"allowedOrigin is required"),l(O.allowedMethod,"allowedMethod is required")}),b=this._bucketRequestParams("PUT",h,"cors",p),x=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,S=function(N){x+="<AllowedOrigin>".concat(N,"</AllowedOrigin>")},w=function(N){x+="<AllowedMethod>".concat(N,"</AllowedMethod>")},_=function(N){x+="<AllowedHeader>".concat(N,"</AllowedHeader>")},C=function(N){x+="<ExposeHeader>".concat(N,"</ExposeHeader>")},E=0,T=y.length;E<T;E++)R=y[E],x+="<CORSRule>",n(R.allowedOrigin).forEach(S),n(R.allowedMethod).forEach(w),n(R.allowedHeader).forEach(_),n(R.exposeHeader).forEach(C),R.maxAgeSeconds&&(x+="<MaxAgeSeconds>".concat(R.maxAgeSeconds,"</MaxAgeSeconds>")),x+="</CORSRule>";return x+="</CORSConfiguration>",b.content=x,b.mime="xml",b.successStatuses=[200],L.next=16,this.request(b);case 16:return k=L.sent,L.abrupt("return",{res:k.res});case 18:case"end":return L.stop()}},m,this)}));function d(m,h,y){return s.apply(this,arguments)}return d}(),r.getBucketCORS=function(){var s=(0,o.default)(a.default.mark(function m(h,y){var p,b,x,S;return a.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return p=this._bucketRequestParams("GET",h,"cors",y),p.successStatuses=[200],p.xmlResponse=!0,_.next=5,this.request(p);case 5:return b=_.sent,x=[],b.data&&b.data.CORSRule&&(S=b.data.CORSRule,t(S)||(S=[S]),S.forEach(function(C){var E={};Object.keys(C).forEach(function(T){E[T.slice(0,1).toLowerCase()+T.slice(1,T.length)]=C[T]}),x.push(E)})),_.abrupt("return",{rules:x,res:b.res});case 9:case"end":return _.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r.deleteBucketCORS=function(){var s=(0,o.default)(a.default.mark(function m(h,y){var p,b;return a.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return p=this._bucketRequestParams("DELETE",h,"cors",y),p.successStatuses=[204],S.next=4,this.request(p);case 4:return b=S.sent,S.abrupt("return",{res:b.res});case 6:case"end":return S.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r.putBucketReferer=function(){var s=(0,o.default)(a.default.mark(function m(h,y,p,b){var x,S,w,_;return a.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(x=this._bucketRequestParams("PUT",h,"referer",b),S=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,S+=" <AllowEmptyReferer>".concat(y?"true":"false",`</AllowEmptyReferer>
`),p&&p.length>0){for(S+=` <RefererList>
`,w=0;w<p.length;w++)S+=" <Referer>".concat(p[w],`</Referer>
`);S+=` </RefererList>
`}else S+=` <RefererList />
`;return S+="</RefererConfiguration>",x.content=S,x.mime="xml",x.successStatuses=[200],E.next=10,this.request(x);case 10:return _=E.sent,E.abrupt("return",{res:_.res});case 12:case"end":return E.stop()}},m,this)}));function d(m,h,y,p){return s.apply(this,arguments)}return d}(),r.getBucketReferer=function(){var s=(0,o.default)(a.default.mark(function m(h,y){var p,b,x;return a.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return p=this._bucketRequestParams("GET",h,"referer",y),p.successStatuses=[200],p.xmlResponse=!0,w.next=5,this.request(p);case 5:return b=w.sent,x=b.data.RefererList.Referer||null,x&&(t(x)||(x=[x])),w.abrupt("return",{allowEmpty:b.data.AllowEmptyReferer==="true",referers:x,res:b.res});case 9:case"end":return w.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r.deleteBucketReferer=function(){var s=(0,o.default)(a.default.mark(function m(h,y){return a.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,this.putBucketReferer(h,!0,null,y);case 2:return b.abrupt("return",b.sent);case 3:case"end":return b.stop()}},m,this)}));function d(m,h){return s.apply(this,arguments)}return d}(),r._bucketRequestParams=function(d,m,h,y){return{method:d,bucket:m,subres:h,timeout:y&&y.timeout,ctx:y&&y.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(e,g,v){(function(c,a){(function(){"use strict";var o=e("@babel/runtime/helpers/interopRequireDefault"),l=o(e("@babel/runtime/regenerator")),u=o(e("@babel/runtime/helpers/asyncToGenerator"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.regexp.to-string.js");var i=e("debug")("ali-oss"),r=e("xml2js"),t=e("agentkeepalive"),n=e("merge-descriptors"),s=e("platform"),d=e("utility"),m=e("urllib"),h=e("./version"),y=e("bowser"),p=e("../common/signUtils"),b=e("../common/client/initOptions"),x=e("../common/utils/createRequest"),S=x.createRequest,w=e("../common/utils/encoder"),_=w.encoder,C=e("../common/client/getReqUrl"),E=C.getReqUrl,T=e("../common/utils/setSTSToken"),R=T.setSTSToken,k=e("../common/utils/retry"),P=k.retry,L=e("../common/utils/isFunction"),O=L.isFunction,N=new t;function H(){var Q=s.name,re=s.version;Q&&Q.toLowerCase&&Q.toLowerCase()==="ie"&&re.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function V(){return location&&location.protocol==="https:"}function B(Q,re){if(H(),!(this instanceof B))return new B(Q,re);Q&&Q.inited?this.options=Q:this.options=B.initOptions(Q),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=m,this.agent=this.options.agent||N),this.ctx=re,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}g.exports=B,B.initOptions=function(re){re.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Z=Object.assign({secure:V(),useFetch:!1},re);return b(Z)};var te=B.prototype;te.debug=i,n(te,e("./object")),n(te,e("./bucket")),n(te,e("../common/bucket/getBucketWebsite")),n(te,e("../common/bucket/putBucketWebsite")),n(te,e("../common/bucket/deleteBucketWebsite")),n(te,e("../common/bucket/getBucketLifecycle")),n(te,e("../common/bucket/putBucketLifecycle")),n(te,e("../common/bucket/deleteBucketLifecycle")),n(te,e("../common/bucket/putBucketVersioning")),n(te,e("../common/bucket/getBucketVersioning")),n(te,e("../common/bucket/getBucketInventory")),n(te,e("../common/bucket/deleteBucketInventory")),n(te,e("../common/bucket/listBucketInventory")),n(te,e("../common/bucket/putBucketInventory")),n(te,e("../common/bucket/abortBucketWorm")),n(te,e("../common/bucket/completeBucketWorm")),n(te,e("../common/bucket/extendBucketWorm")),n(te,e("../common/bucket/getBucketWorm")),n(te,e("../common/bucket/initiateBucketWorm")),n(te,e("./managed-upload")),n(te,e("../common/multipart-copy")),n(te,e("../common/multipart")),n(te,e("../common/parallel")),te.signature=function(re){return this.debug("authorization stringToSign: %s",re,"info"),p.computeSignature(this.options.accessKeySecret,re,this.options.headerEncoding)},te._getReqUrl=E,te.authorization=function(re,Z,X,$){var ie=p.buildCanonicalString(re.toUpperCase(),Z,{headers:$,parameters:X});return p.authorization(this.options.accessKeyId,this.options.accessKeySecret,ie,this.options.headerEncoding)},te.request=function(){var Q=(0,u.default)(l.default.mark(function re(Z){var X=this;return l.default.wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:if(!this.options.retryMax){ie.next=6;break}return ie.next=3,P(ee.bind(this),this.options.retryMax,{errorHandler:function(pe){var G=function(q){if(Z.stream)return!1;var F=[-1,-2].includes(q.status),Y=X.options.requestErrorRetryHandle||function(){return!0};return F&&Y(q)};return!!G(pe)}})(Z);case 3:return ie.abrupt("return",ie.sent);case 6:return ie.abrupt("return",ee.call(this,Z));case 7:case"end":return ie.stop()}},re,this)}));return function(re){return Q.apply(this,arguments)}}();function ee(Q){return J.apply(this,arguments)}function J(){return J=(0,u.default)(l.default.mark(function Q(re){var Z,X,$,ie,de,pe;return l.default.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(!(this.options.stsToken&&O(this.options.refreshSTSToken))){I.next=3;break}return I.next=3,R.call(this);case 3:return Z=S.call(this,re),this.options.useFetch||(Z.params.mode="disable-fetch"),ie=!!re.stream,I.prev=6,I.next=9,this.urllib.request(Z.url,Z.params);case 9:X=I.sent,this.debug("response %s %s, got %s, headers: %j",re.method,Z.url,X.status,X.headers,"info"),I.next=16;break;case 13:I.prev=13,I.t0=I.catch(6),$=I.t0;case 16:if(!(X&&re.successStatuses&&re.successStatuses.indexOf(X.status)===-1)){I.next=28;break}return I.next=19,this.requestError(X);case 19:if(de=I.sent,!(de.code==="RequestTimeTooSkewed"&&!ie)){I.next=25;break}return this.options.amendTimeSkewed=+new Date(de.serverTime)-new Date,I.next=24,this.request(re);case 24:return I.abrupt("return",I.sent);case 25:de.params=re,I.next=32;break;case 28:if(!$){I.next=32;break}return I.next=31,this.requestError($);case 31:de=I.sent;case 32:if(!de){I.next=34;break}throw de;case 34:if(!re.xmlResponse){I.next=39;break}return I.next=37,this.parseXML(X.data);case 37:pe=I.sent,X.data=pe;case 39:return I.abrupt("return",X);case 40:case"end":return I.stop()}},Q,this,[[6,13]])})),J.apply(this,arguments)}te._getResource=function(re){var Z="/";return re.bucket&&(Z+="".concat(re.bucket,"/")),re.object&&(Z+=_(re.object,this.options.headerEncoding)),Z},te._escape=function(re){return d.encodeURIComponent(re).replace(/%2F/g,"/")},te._getUserAgent=function(){var re=a&&a.browser?"js":"nodejs",Z="aliyun-sdk-".concat(re,"/").concat(h.version),X=s.description;return!X&&a&&(X="Node.js ".concat(a.version.slice(1)," on ").concat(a.platform," ").concat(a.arch)),this._checkUserAgent("".concat(Z," ").concat(X))},te._checkUserAgent=function(re){var Z=re.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Z},te.checkBrowserAndVersion=function(re,Z){return y.name===re&&y.version.split(".")[0]===Z},te.parseXML=function(re){return new Promise(function(Z,X){c.isBuffer(re)&&(re=re.toString()),r.parseString(re,{explicitRoot:!1,explicitArray:!1},function($,ie){$?X($):Z(ie)})})},te.requestError=function(){var Q=(0,u.default)(l.default.mark(function Z(X){var $,ie,de,pe;return l.default.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if($=null,!(!X.data||!X.data.length)){I.next=5;break}X.status===-1||X.status===-2?($=new Error(X.message),$.name=X.name,$.status=X.status,$.code=X.name):(X.status===404?($=new Error("Object not exists"),$.name="NoSuchKeyError",$.status=404,$.code="NoSuchKey"):X.status===412?($=new Error("Pre condition failed"),$.name="PreconditionFailedError",$.status=412,$.code="PreconditionFailed"):($=new Error("Unknow error, status: ".concat(X.status)),$.name="UnknownError",$.status=X.status),$.requestId=X.headers["x-oss-request-id"],$.host=""),I.next=32;break;case 5:return ie=String(X.data),this.debug("request response error data: %s",ie,"error"),I.prev=7,I.next=10,this.parseXML(ie);case 10:if(I.t0=I.sent,I.t0){I.next=13;break}I.t0={};case 13:de=I.t0,I.next=23;break;case 16:return I.prev=16,I.t1=I.catch(7),this.debug(ie,"error"),I.t1.message+=`
raw xml: `.concat(ie),I.t1.status=X.status,I.t1.requestId=X.headers["x-oss-request-id"],I.abrupt("return",I.t1);case 23:pe=de.Message||"unknow request error, status: ".concat(X.status),de.Condition&&(pe+=" (condition: ".concat(de.Condition,")")),$=new Error(pe),$.name=de.Code?"".concat(de.Code,"Error"):"UnknownError",$.status=X.status,$.code=de.Code,$.requestId=de.RequestId,$.hostId=de.HostId,$.serverTime=de.ServerTime;case 32:return this.debug("generate error %j",$,"error"),I.abrupt("return",$);case 34:case"end":return I.stop()}},Z,this,[[7,16]])}));function re(Z){return Q.apply(this,arguments)}return re}()}).call(this)}).call(this,{isBuffer:e("../../node_modules/is-buffer/index.js")},e("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(e,g,v){(function(c){(function(){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault"),o=a(e("@babel/runtime/regenerator"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array.from.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.array.filter.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.typed-array.uint8-array.js"),e("core-js/modules/es.typed-array.copy-within.js"),e("core-js/modules/es.typed-array.every.js"),e("core-js/modules/es.typed-array.fill.js"),e("core-js/modules/es.typed-array.filter.js"),e("core-js/modules/es.typed-array.find.js"),e("core-js/modules/es.typed-array.find-index.js"),e("core-js/modules/es.typed-array.for-each.js"),e("core-js/modules/es.typed-array.includes.js"),e("core-js/modules/es.typed-array.index-of.js"),e("core-js/modules/es.typed-array.iterator.js"),e("core-js/modules/es.typed-array.join.js"),e("core-js/modules/es.typed-array.last-index-of.js"),e("core-js/modules/es.typed-array.map.js"),e("core-js/modules/es.typed-array.reduce.js"),e("core-js/modules/es.typed-array.reduce-right.js"),e("core-js/modules/es.typed-array.reverse.js"),e("core-js/modules/es.typed-array.set.js"),e("core-js/modules/es.typed-array.slice.js"),e("core-js/modules/es.typed-array.some.js"),e("core-js/modules/es.typed-array.sort.js"),e("core-js/modules/es.typed-array.subarray.js"),e("core-js/modules/es.typed-array.to-locale-string.js"),e("core-js/modules/es.typed-array.to-string.js");var l=a(e("@babel/runtime/helpers/asyncToGenerator")),u=e("util"),i=e("path"),r=e("mime"),t=e("copy-to"),n=e("../common/utils/isBlob"),s=n.isBlob,d=e("../common/utils/isFile"),m=d.isFile,h=e("../common/utils/isBuffer"),y=h.isBuffer,p=v;p.multipartUpload=function(){var _=(0,l.default)(o.default.mark(function E(T,R){var k,P,L,O,N,H,V,B,te,ee=arguments;return o.default.wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:if(k=ee.length>2&&ee[2]!==void 0?ee[2]:{},this.resetCancelFlag(),k.disabledMD5=k.disabledMD5===void 0?!0:!!k.disabledMD5,!(k.checkpoint&&k.checkpoint.uploadId)){Q.next=8;break}return R&&m(R)&&(k.checkpoint.file=R),Q.next=7,this._resumeMultipart(k.checkpoint,k);case 7:return Q.abrupt("return",Q.sent);case 8:return P=102400,k.mime||(m(R)?k.mime=r.getType(i.extname(R.name)):s(R)?k.mime=R.type:y(R)?k.mime="":k.mime=r.getType(i.extname(R))),k.headers=k.headers||{},this._convertMetaToHeaders(k.meta,k.headers),Q.next=14,this._getFileSize(R);case 14:if(L=Q.sent,!(L<P)){Q.next=26;break}return k.contentLength=L,Q.next=19,this.put(T,R,k);case 19:if(O=Q.sent,!(k&&k.progress)){Q.next=23;break}return Q.next=23,k.progress(1);case 23:return N={res:O.res,bucket:this.options.bucket,name:T,etag:O.res.headers.etag},(k.headers&&k.headers["x-oss-callback"]||k.callback)&&(N.data=O.data),Q.abrupt("return",N);case 26:if(!(k.partSize&&parseInt(k.partSize,10)!==k.partSize)){Q.next=28;break}throw new Error("partSize must be int number");case 28:if(!(k.partSize&&k.partSize<P)){Q.next=30;break}throw new Error("partSize must not be smaller than ".concat(P));case 30:return Q.next=32,this.initMultipartUpload(T,k);case 32:if(H=Q.sent,V=H.uploadId,B=this._getPartSize(L,k.partSize),te={file:R,name:T,fileSize:L,partSize:B,uploadId:V,doneParts:[]},!(k&&k.progress)){Q.next=39;break}return Q.next=39,k.progress(0,te,H.res);case 39:return Q.next=41,this._resumeMultipart(te,k);case 41:return Q.abrupt("return",Q.sent);case 42:case"end":return Q.stop()}},E,this)}));function C(E,T){return _.apply(this,arguments)}return C}(),p._resumeMultipart=function(){var _=(0,l.default)(o.default.mark(function E(T,R){var k,P,L,O,N,H,V,B,te,ee,J,Q,re,Z,X,$,ie,de,pe;return o.default.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(k=this,!this.isCancel()){I.next=3;break}throw this._makeCancelEvent();case 3:return P=T.file,L=T.fileSize,O=T.partSize,N=T.uploadId,H=T.doneParts,V=T.name,B=[],H.length>0&&t(H).to(B),te=this._divideParts(L,O),ee=te.length,J=!1,Q=function(F,Y){return new Promise(function(){var ue=(0,l.default)(o.default.mark(function ce(ne,U){var M,W,K,oe,he;return o.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(le.prev=0,F.isCancel()){le.next=29;break}return M=te[Y-1],le.next=5,F._createBuffer(P,M.start,M.end);case 5:return W=le.sent,K={content:W,size:M.end-M.start},le.prev=7,le.next=10,F._uploadPart(V,N,Y,K,R);case 10:oe=le.sent,le.next=18;break;case 13:if(le.prev=13,le.t0=le.catch(7),le.t0.status!==404){le.next=17;break}throw F._makeAbortEvent();case 17:throw le.t0;case 18:if(!(!F.isCancel()&&!J)){le.next=26;break}if(T.doneParts.push({number:Y,etag:oe.res.headers.etag}),!R.progress){le.next=23;break}return le.next=23,R.progress(H.length/(ee+1),T,oe.res);case 23:ne({number:Y,etag:oe.res.headers.etag}),le.next=27;break;case 26:ne();case 27:le.next=30;break;case 29:ne();case 30:le.next=41;break;case 32:le.prev=32,le.t1=le.catch(0),he=new Error,he.name=le.t1.name,he.message=le.t1.message,he.stack=le.t1.stack,he.partNum=Y,t(le.t1).to(he),U(he);case 41:case"end":return le.stop()}},ce,null,[[0,32],[7,13]])}));return function(ce,ne){return ue.apply(this,arguments)}}())},re=Array.from(new Array(ee),function(q,F){return F+1}),Z=B.map(function(q){return q.number}),X=re.filter(function(q){return Z.indexOf(q)<0}),$=5,ie=R.parallel||$,I.next=17,this._parallel(X,ie,function(q){return new Promise(function(F,Y){Q(k,q).then(function(ue){ue&&B.push(ue),F()}).catch(function(ue){Y(ue)})})});case 17:if(de=I.sent,J=!0,pe=de.find(function(q){return q.name==="abort"}),!pe){I.next=22;break}throw pe;case 22:if(!this.isCancel()){I.next=25;break}throw Q=null,this._makeCancelEvent();case 25:if(!(de&&de.length>0)){I.next=28;break}throw de[0].message="Failed to upload some parts with error: ".concat(de[0].toString()," part_num: ").concat(de[0].partNum),de[0];case 28:return I.next=30,this.completeMultipartUpload(V,N,B,R);case 30:return I.abrupt("return",I.sent);case 31:case"end":return I.stop()}},E,this)}));function C(E,T){return _.apply(this,arguments)}return C}(),p._getFileSize=function(){var _=(0,l.default)(o.default.mark(function E(T){return o.default.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(!y(T)){k.next=4;break}return k.abrupt("return",T.length);case 4:if(!(s(T)||m(T))){k.next=6;break}return k.abrupt("return",T.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return k.stop()}},E)}));function C(E){return _.apply(this,arguments)}return C}();var b=e("stream"),x=b.Readable;function S(_,C){if(!(this instanceof S))return new S(_,C);x.call(this,C),this.file=_,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}u.inherits(S,x),S.prototype.readFileAndPush=function(C){if(this.fileBuffer)for(var E=!0;E&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,R=T+C;R=R>this.fileBuffer.length?this.fileBuffer.length:R,this.start=R,E=this.push(this.fileBuffer.slice(T,R))}},S.prototype._read=function(C){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var E=16*1024;C=C||E;var T=this;this.reader.onload=function(k){T.fileBuffer=c.from(new Uint8Array(k.target.result)),T.file=null,T.readFileAndPush(C)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(C)};function w(_){return _.arrayBuffer?_.arrayBuffer():new Promise(function(C,E){var T=new FileReader;T.onload=function(R){C(R.target.result)},T.onerror=function(R){E(R)},T.readAsArrayBuffer(_)})}p._createBuffer=function(){var _=(0,l.default)(o.default.mark(function E(T,R,k){var P,L;return o.default.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!(s(T)||m(T))){N.next=8;break}return P=T.slice(R,k),N.next=4,w(P);case 4:return L=N.sent,N.abrupt("return",c.from(L));case 8:if(!y(T)){N.next=12;break}return N.abrupt("return",T.subarray(R,k));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return N.stop()}},E)}));function C(E,T,R){return _.apply(this,arguments)}return C}(),p._getPartSize=function(C,E){var T=1e4,R=1*1024*1024;E||(E=R);var k=Math.ceil(C/T);return E<k&&(E=k,console.warn("partSize has been set to ".concat(E,", because the partSize you provided causes partNumber to be greater than 10,000"))),E},p._divideParts=function(C,E){for(var T=Math.ceil(C/E),R=[],k=0;k<T;k++){var P=E*k,L=Math.min(P+E,C);R.push({start:P,end:L})}return R}}).call(this)}).call(this,e("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.number.constructor.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.promise.js");var a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("fs"),u=e("copy-to"),i=e("path"),r=e("mime"),t=e("../common/callback"),n=e("merge-descriptors"),s=e("../common/utils/isBlob"),d=s.isBlob,m=e("../common/utils/isFile"),h=m.isFile,y=e("../common/utils/isBuffer"),p=y.isBuffer,b=e("../common/utils/obj2xml"),x=b.obj2xml,S=v;S.append=function(){var w=(0,o.default)(a.default.mark(function C(E,T,R){var k;return a.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return R=R||{},R.position===void 0&&(R.position="0"),R.subres={append:"",position:R.position},R.method="POST",L.next=6,this.put(E,T,R);case 6:return k=L.sent,k.nextAppendPosition=k.res.headers["x-oss-next-append-position"],L.abrupt("return",k);case 9:case"end":return L.stop()}},C,this)}));function _(C,E,T){return w.apply(this,arguments)}return _}(),S.put=function(){var w=(0,o.default)(a.default.mark(function C(E,T,R){var k,P,L,O,N;return a.default.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(R=R||{},R.disabledMD5=R.disabledMD5===void 0?!0:!!R.disabledMD5,R.headers=R.headers||{},E=this._objectName(E),!p(T)){V.next=8;break}k=T,V.next=19;break;case 8:if(!(d(T)||h(T))){V.next=18;break}return R.mime||(h(T)?R.mime=r.getType(i.extname(T.name)):R.mime=T.type),V.next=12,this._createBuffer(T,0,T.size);case 12:return k=V.sent,V.next=15,this._getFileSize(T);case 15:R.contentLength=V.sent,V.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(R.meta,R.headers),P=R.method||"PUT",L=this._objectRequestParams(P,E,R),t.encodeCallback(L,R),L.mime=R.mime,L.disabledMD5=R.disabledMD5,L.content=k,L.successStatuses=[200],V.next=29,this.request(L);case 29:return O=V.sent,N={name:E,url:this._objectUrl(E),res:O.res},L.headers&&L.headers["x-oss-callback"]&&(N.data=JSON.parse(O.data.toString())),V.abrupt("return",N);case 33:case"end":return V.stop()}},C,this)}));function _(C,E,T){return w.apply(this,arguments)}return _}(),S.putStream=function(){var w=(0,o.default)(a.default.mark(function C(E,T,R){var k,P,L,O;return a.default.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return R=R||{},R.headers=R.headers||{},E=this._objectName(E),R.contentLength?R.headers["Content-Length"]=R.contentLength:R.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(R.meta,R.headers),k=R.method||"PUT",P=this._objectRequestParams(k,E,R),t.encodeCallback(P,R),P.mime=R.mime,P.stream=T,P.successStatuses=[200],H.next=13,this.request(P);case 13:return L=H.sent,O={name:E,url:this._objectUrl(E),res:L.res},P.headers&&P.headers["x-oss-callback"]&&(O.data=JSON.parse(L.data.toString())),H.abrupt("return",O);case 17:case"end":return H.stop()}},C,this)}));function _(C,E,T){return w.apply(this,arguments)}return _}(),n(S,e("../common/object/copyObject")),n(S,e("../common/object/getObjectTagging")),n(S,e("../common/object/putObjectTagging")),n(S,e("../common/object/deleteObjectTagging")),n(S,e("../common/image")),n(S,e("../common/object/getBucketVersions")),n(S,e("../common/object/getACL")),n(S,e("../common/object/putACL")),n(S,e("../common/object/head")),n(S,e("../common/object/delete")),n(S,e("../common/object/get")),n(S,e("../common/object/putSymlink")),n(S,e("../common/object/getSymlink")),n(S,e("../common/object/deleteMulti")),n(S,e("../common/object/getObjectMeta")),n(S,e("../common/object/getObjectUrl")),n(S,e("../common/object/generateObjectUrl")),n(S,e("../common/object/signatureUrl")),n(S,e("../common/object/asyncSignatureUrl")),S.putMeta=function(){var w=(0,o.default)(a.default.mark(function C(E,T,R){var k;return a.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.copy(E,E,{meta:T||{},timeout:R&&R.timeout,ctx:R&&R.ctx});case 2:return k=L.sent,L.abrupt("return",k);case 4:case"end":return L.stop()}},C,this)}));function _(C,E,T){return w.apply(this,arguments)}return _}(),S.list=function(){var w=(0,o.default)(a.default.mark(function C(E,T){var R,k,P,L,O;return a.default.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return R=this._objectRequestParams("GET","",T),R.query=E,R.xmlResponse=!0,R.successStatuses=[200],H.next=6,this.request(R);case 6:return k=H.sent,P=k.data.Contents||[],L=this,P&&(Array.isArray(P)||(P=[P]),P=P.map(function(V){return{name:V.Key,url:L._objectUrl(V.Key),lastModified:V.LastModified,etag:V.ETag,type:V.Type,size:Number(V.Size),storageClass:V.StorageClass,owner:{id:V.Owner.ID,displayName:V.Owner.DisplayName}}})),O=k.data.CommonPrefixes||null,O&&(Array.isArray(O)||(O=[O]),O=O.map(function(V){return V.Prefix})),H.abrupt("return",{res:k.res,objects:P,prefixes:O,nextMarker:k.data.NextMarker||null,isTruncated:k.data.IsTruncated==="true"});case 13:case"end":return H.stop()}},C,this)}));function _(C,E){return w.apply(this,arguments)}return _}(),S.listV2=function(){var w=(0,o.default)(a.default.mark(function C(E){var T,R,k,P,L,O,N,H=arguments;return a.default.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return T=H.length>1&&H[1]!==void 0?H[1]:{},R=E["continuation-token"]||E.continuationToken,R&&(T.subres=Object.assign({"continuation-token":R},T.subres)),k=this._objectRequestParams("GET","",T),k.query=Object.assign({"list-type":2},E),delete k.query["continuation-token"],delete k.query.continuationToken,k.xmlResponse=!0,k.successStatuses=[200],B.next=11,this.request(k);case 11:return P=B.sent,L=P.data.Contents||[],O=this,L&&(Array.isArray(L)||(L=[L]),L=L.map(function(te){var ee=null;return te.Owner&&(ee={id:te.Owner.ID,displayName:te.Owner.DisplayName}),{name:te.Key,url:O._objectUrl(te.Key),lastModified:te.LastModified,etag:te.ETag,type:te.Type,size:Number(te.Size),storageClass:te.StorageClass,owner:ee}})),N=P.data.CommonPrefixes||null,N&&(Array.isArray(N)||(N=[N]),N=N.map(function(te){return te.Prefix})),B.abrupt("return",{res:P.res,objects:L,prefixes:N,isTruncated:P.data.IsTruncated==="true",keyCount:+P.data.KeyCount,continuationToken:P.data.ContinuationToken||null,nextContinuationToken:P.data.NextContinuationToken||null});case 18:case"end":return B.stop()}},C,this)}));function _(C){return w.apply(this,arguments)}return _}(),S.restore=function(){var w=(0,o.default)(a.default.mark(function C(E){var T,R,k,P,L=arguments;return a.default.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return T=L.length>1&&L[1]!==void 0?L[1]:{type:"Archive"},T=T||{},T.subres=Object.assign({restore:""},T.subres),T.versionId&&(T.subres.versionId=T.versionId),R=this._objectRequestParams("POST",E,T),T.type==="ColdArchive"&&(k={RestoreRequest:{Days:T.Days?T.Days:2,JobParameters:{Tier:T.JobParameters?T.JobParameters:"Standard"}}},R.content=x(k,{headers:!0}),R.mime="xml"),R.successStatuses=[202],N.next=9,this.request(R);case 9:return P=N.sent,N.abrupt("return",{res:P.res});case 11:case"end":return N.stop()}},C,this)}));function _(C){return w.apply(this,arguments)}return _}(),S._objectUrl=function(_){return this._getReqUrl({bucket:this.options.bucket,object:_})},S._objectRequestParams=function(_,C,E){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");E=E||{},C=this._objectName(C);var T={object:C,bucket:this.options.bucket,method:_,subres:E&&E.subres,timeout:E&&E.timeout,ctx:E&&E.ctx};return E.headers&&(T.headers={},u(E.headers).to(T.headers)),T},S._objectName=function(_){return _.replace(/^\/+/,"")},S._convertMetaToHeaders=function(_,C){_&&Object.keys(_).forEach(function(E){C["x-oss-meta-".concat(E)]=_[E]})},S._deleteFileSafe=function(_){var C=this;return new Promise(function(E){l.exists(_,function(T){T?l.unlink(_,function(R){R&&C.debug("unlink %j error: %s",_,R,"error"),E()}):E()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(e,g,v){"use strict";v.version="6.18.1"},{}],7:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.abortBucketWorm=void 0;var l=e("../utils/checkBucketName");function u(r,t){return i.apply(this,arguments)}function i(){return i=(0,o.default)(a.default.mark(function r(t,n){var s,d;return a.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return l.checkBucketName(t),s=this._bucketRequestParams("DELETE",t,"worm",n),h.next=4,this.request(s);case 4:return d=h.sent,h.abrupt("return",{res:d.res,status:d.status});case 6:case"end":return h.stop()}},r,this)})),i.apply(this,arguments)}v.abortBucketWorm=u},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.completeBucketWorm=void 0;var l=e("../utils/checkBucketName");function u(r,t,n){return i.apply(this,arguments)}function i(){return i=(0,o.default)(a.default.mark(function r(t,n,s){var d,m;return a.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return l.checkBucketName(t),d=this._bucketRequestParams("POST",t,{wormId:n},s),y.next=4,this.request(d);case 4:return m=y.sent,y.abrupt("return",{res:m.res,status:m.status});case 6:case"end":return y.stop()}},r,this)})),i.apply(this,arguments)}v.completeBucketWorm=u},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.deleteBucketInventory=void 0;var l=e("../utils/checkBucketName");function u(r,t){return i.apply(this,arguments)}function i(){return i=(0,o.default)(a.default.mark(function r(t,n){var s,d,m,h,y=arguments;return a.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return s=y.length>2&&y[2]!==void 0?y[2]:{},d=Object.assign({inventory:"",inventoryId:n},s.subres),l.checkBucketName(t),m=this._bucketRequestParams("DELETE",t,d,s),m.successStatuses=[204],b.next=7,this.request(m);case 7:return h=b.sent,b.abrupt("return",{status:h.status,res:h.res});case 9:case"end":return b.stop()}},r,this)})),i.apply(this,arguments)}v.deleteBucketInventory=u},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=v;i.deleteBucketLifecycle=function(){var r=(0,o.default)(a.default.mark(function n(s,d){var m,h;return a.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return u(s),m=this._bucketRequestParams("DELETE",s,"lifecycle",d),m.successStatuses=[204],p.next=5,this.request(m);case 5:return h=p.sent,p.abrupt("return",{res:h.res});case 7:case"end":return p.stop()}},n,this)}));function t(n,s){return r.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=v;i.deleteBucketWebsite=function(){var r=(0,o.default)(a.default.mark(function n(s,d){var m,h;return a.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return u(s),m=this._bucketRequestParams("DELETE",s,"website",d),m.successStatuses=[204],p.next=5,this.request(m);case 5:return h=p.sent,p.abrupt("return",{res:h.res});case 7:case"end":return p.stop()}},n,this)}));function t(n,s){return r.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.extendBucketWorm=void 0;var l=e("../utils/checkBucketName"),u=e("../utils/obj2xml");function i(t,n,s,d){return r.apply(this,arguments)}function r(){return r=(0,o.default)(a.default.mark(function t(n,s,d,m){var h,y,p;return a.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return l.checkBucketName(n),h=this._bucketRequestParams("POST",n,{wormExtend:"",wormId:s},m),y={ExtendWormConfiguration:{RetentionPeriodInDays:d}},h.mime="xml",h.content=u.obj2xml(y,{headers:!0}),h.successStatuses=[200],x.next=8,this.request(h);case 8:return p=x.sent,x.abrupt("return",{res:p.res,status:p.status});case 10:case"end":return x.stop()}},t,this)})),r.apply(this,arguments)}v.extendBucketWorm=i},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.getBucketInventory=void 0;var l=e("../utils/checkBucketName"),u=e("../utils/formatInventoryConfig");function i(t,n){return r.apply(this,arguments)}function r(){return r=(0,o.default)(a.default.mark(function t(n,s){var d,m,h,y,p=arguments;return a.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return d=p.length>2&&p[2]!==void 0?p[2]:{},m=Object.assign({inventory:"",inventoryId:s},d.subres),l.checkBucketName(n),h=this._bucketRequestParams("GET",n,m,d),h.successStatuses=[200],h.xmlResponse=!0,x.next=8,this.request(h);case 8:return y=x.sent,x.abrupt("return",{status:y.status,res:y.res,inventory:u.formatInventoryConfig(y.data)});case 10:case"end":return x.stop()}},t,this)})),r.apply(this,arguments)}v.getBucketInventory=i},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.map.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=e("../utils/isArray"),r=i.isArray,t=e("../utils/formatObjKey"),n=t.formatObjKey,s=v;s.getBucketLifecycle=function(){var d=(0,o.default)(a.default.mark(function h(y,p){var b,x,S;return a.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return u(y),b=this._bucketRequestParams("GET",y,"lifecycle",p),b.successStatuses=[200],b.xmlResponse=!0,_.next=6,this.request(b);case 6:return x=_.sent,S=x.data.Rule||null,S&&(r(S)||(S=[S]),S=S.map(function(C){return C.ID&&(C.id=C.ID,delete C.ID),C.Tag&&!r(C.Tag)&&(C.Tag=[C.Tag]),n(C,"firstLowerCase")})),_.abrupt("return",{rules:S,res:x.res});case 10:case"end":return _.stop()}},h,this)}));function m(h,y){return d.apply(this,arguments)}return m}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=v;i.getBucketVersioning=function(){var r=(0,o.default)(a.default.mark(function n(s,d){var m,h,y;return a.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return u(s),m=this._bucketRequestParams("GET",s,"versioning",d),m.xmlResponse=!0,m.successStatuses=[200],b.next=6,this.request(m);case 6:return h=b.sent,y=h.data.Status,b.abrupt("return",{status:h.status,versionStatus:y,res:h.res});case 9:case"end":return b.stop()}},n,this)}));function t(n,s){return r.apply(this,arguments)}return t}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=e("../utils/isObject"),r=i.isObject,t=v;t.getBucketWebsite=function(){var n=(0,o.default)(a.default.mark(function d(m,h){var y,p,b;return a.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return u(m),y=this._bucketRequestParams("GET",m,"website",h),y.successStatuses=[200],y.xmlResponse=!0,S.next=6,this.request(y);case 6:return p=S.sent,b=[],p.data.RoutingRules&&p.data.RoutingRules.RoutingRule&&(r(p.data.RoutingRules.RoutingRule)?b=[p.data.RoutingRules.RoutingRule]:b=p.data.RoutingRules.RoutingRule),S.abrupt("return",{index:p.data.IndexDocument&&p.data.IndexDocument.Suffix||"",supportSubDir:p.data.IndexDocument&&p.data.IndexDocument.SupportSubDir||"false",type:p.data.IndexDocument&&p.data.IndexDocument.Type,routingRules:b,error:p.data.ErrorDocument&&p.data.ErrorDocument.Key||null,res:p.res});case 10:case"end":return S.stop()}},d,this)}));function s(d,m){return n.apply(this,arguments)}return s}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.getBucketWorm=void 0;var l=e("../utils/checkBucketName"),u=e("../utils/dataFix");function i(t,n){return r.apply(this,arguments)}function r(){return r=(0,o.default)(a.default.mark(function t(n,s){var d,m;return a.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return l.checkBucketName(n),d=this._bucketRequestParams("GET",n,"worm",s),d.successStatuses=[200],d.xmlResponse=!0,y.next=6,this.request(d);case 6:return m=y.sent,u.dataFix(m.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),y.abrupt("return",Object.assign(Object.assign({},m.data),{res:m.res,status:m.status}));case 9:case"end":return y.stop()}},t,this)})),r.apply(this,arguments)}v.getBucketWorm=i},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.initiateBucketWorm=void 0;var l=e("../utils/obj2xml"),u=e("../utils/checkBucketName");function i(t,n,s){return r.apply(this,arguments)}function r(){return r=(0,o.default)(a.default.mark(function t(n,s,d){var m,h,y;return a.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return u.checkBucketName(n),m=this._bucketRequestParams("POST",n,"worm",d),h={InitiateWormConfiguration:{RetentionPeriodInDays:s}},m.mime="xml",m.content=l.obj2xml(h,{headers:!0}),m.successStatuses=[200],b.next=8,this.request(m);case 8:return y=b.sent,b.abrupt("return",{res:y.res,wormId:y.res.headers["x-oss-worm-id"],status:y.status});case 10:case"end":return b.stop()}},t,this)})),r.apply(this,arguments)}v.initiateBucketWorm=i},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.listBucketInventory=void 0;var l=e("../utils/checkBucketName"),u=e("../utils/formatInventoryConfig");function i(t){return r.apply(this,arguments)}function r(){return r=(0,o.default)(a.default.mark(function t(n){var s,d,m,h,y,p,b,x,S=arguments;return a.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return s=S.length>1&&S[1]!==void 0?S[1]:{},d=s.continuationToken,m=Object.assign({inventory:""},d&&{"continuation-token":d},s.subres),l.checkBucketName(n),h=this._bucketRequestParams("GET",n,m,s),h.successStatuses=[200],h.xmlResponse=!0,_.next=9,this.request(h);case 9:return y=_.sent,p=y.data,b=y.res,x=y.status,_.abrupt("return",{isTruncated:p.IsTruncated==="true",nextContinuationToken:p.NextContinuationToken,inventoryList:u.formatInventoryConfig(p.InventoryConfiguration,!0),status:x,res:b});case 12:case"end":return _.stop()}},t,this)})),r.apply(this,arguments)}v.listBucketInventory=i},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.concat.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.putBucketInventory=void 0;var l=e("../utils/checkBucketName"),u=e("../utils/obj2xml");function i(t,n){return r.apply(this,arguments)}function r(){return r=(0,o.default)(a.default.mark(function t(n,s){var d,m,h,y,p,b,x,S,w,_,C,E=arguments;return a.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return d=E.length>2&&E[2]!==void 0?E[2]:{},m=Object.assign({inventory:"",inventoryId:s.id},d.subres),l.checkBucketName(n),h=s.OSSBucketDestination,y=s.optionalFields,p=s.includedObjectVersions,b="acs:oss:::",x="acs:ram::".concat(h.accountId,":role/"),S={InventoryConfiguration:{Id:s.id,IsEnabled:s.isEnabled,Filter:{Prefix:s.prefix||""},Destination:{OSSBucketDestination:{Format:h.format,AccountId:h.accountId,RoleArn:"".concat(x).concat(h.rolename),Bucket:"".concat(b).concat(h.bucket),Prefix:h.prefix||"",Encryption:h.encryption||""}},Schedule:{Frequency:s.frequency},IncludedObjectVersions:p,OptionalFields:{Field:(y==null?void 0:y.field)||[]}}},w=u.obj2xml(S,{headers:!0,firstUpperCase:!0}),_=this._bucketRequestParams("PUT",n,m,d),_.successStatuses=[200],_.mime="xml",_.content=w,R.next=14,this.request(_);case 14:return C=R.sent,R.abrupt("return",{status:C.status,res:C.res});case 16:case"end":return R.stop()}},t,this)})),r.apply(this,arguments)}v.putBucketInventory=i},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.array.includes.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=e("../utils/isArray"),r=i.isArray,t=e("../utils/deepCopy"),n=t.deepCopy,s=e("../utils/isObject"),d=s.isObject,m=e("../utils/obj2xml"),h=m.obj2xml,y=e("../utils/checkObjectTag"),p=y.checkObjectTag,b=e("../utils/getStrBytesCount"),x=b.getStrBytesCount,S=v;S.putBucketLifecycle=function(){var T=(0,o.default)(a.default.mark(function k(P,L,O){var N,H,V,B,te;return a.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(u(P),r(L)){J.next=3;break}throw new Error("rules must be Array");case 3:return N=this._bucketRequestParams("PUT",P,"lifecycle",O),H=[],V={LifecycleConfiguration:{Rule:H}},L.forEach(function(Q){w(Q),E(Q),Q.id&&(Q.ID=Q.id,delete Q.id),H.push(Q)}),B=h(V,{headers:!0,firstUpperCase:!0}),N.content=B,N.mime="xml",N.successStatuses=[200],J.next=13,this.request(N);case 13:return te=J.sent,J.abrupt("return",{res:te.res});case 15:case"end":return J.stop()}},k,this)}));function R(k,P,L){return T.apply(this,arguments)}return R}();function w(T){T.days&&(T.expiration={days:T.days}),T.date&&(T.expiration={createdBeforeDate:T.date})}function _(T,R){var k=T.days,P=T.createdBeforeDate;if(!k&&!P)throw new Error("".concat(R," must includes days or createdBeforeDate"));if(k&&!/^[1-9][0-9]*$/.test(k))throw new Error("days must be a positive integer");if(P&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(P))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function C(T){if(!r(T)&&!d(T))throw new Error("tag must be Object or Array");T=d(T)?[T]:T;var R={},k=n(T);k.forEach(function(P){R[P.key]=P.value}),p(R)}function E(T){if(T.id&&x(T.id)>255)throw new Error("ID is composed of 255 bytes at most");if(T.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(T.status))throw new Error("Status must be Enabled or Disabled");if(T.transition){if(!["IA","Archive"].includes(T.transition.storageClass))throw new Error("StorageClass must be IA or Archive");_(T.transition,"Transition")}if(T.expiration){if(!T.expiration.expiredObjectDeleteMarker)_(T.expiration,"Expiration");else if(T.expiration.days||T.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(T.abortMultipartUpload&&_(T.abortMultipartUpload,"AbortMultipartUpload"),!T.expiration&&!T.abortMultipartUpload&&!T.transition&&!T.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(T.tag){if(T.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");C(T.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.includes.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=e("../utils/obj2xml"),r=i.obj2xml,t=v;t.putBucketVersioning=function(){var n=(0,o.default)(a.default.mark(function d(m,h){var y,p,b,x,S=arguments;return a.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(y=S.length>2&&S[2]!==void 0?S[2]:{},u(m),["Enabled","Suspended"].includes(h)){_.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return p=this._bucketRequestParams("PUT",m,"versioning",y),b={VersioningConfiguration:{Status:h}},p.mime="xml",p.content=r(b,{headers:!0}),_.next=10,this.request(p);case 10:return x=_.sent,_.abrupt("return",{res:x.res,status:x.status});case 12:case"end":return _.stop()}},d,this)}));function s(d,m){return n.apply(this,arguments)}return s}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=e("../utils/obj2xml"),r=i.obj2xml,t=e("../utils/isArray"),n=t.isArray,s=v;s.putBucketWebsite=function(){var d=(0,o.default)(a.default.mark(function h(y){var p,b,x,S,w,_,C,E=arguments;return a.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(p=E.length>1&&E[1]!==void 0?E[1]:{},b=E.length>2?E[2]:void 0,u(y),x=this._bucketRequestParams("PUT",y,"website",b),S={Suffix:p.index||"index.html"},w={IndexDocument:S},_={WebsiteConfiguration:w},p.supportSubDir&&(S.SupportSubDir=p.supportSubDir),p.type&&(S.Type=p.type),p.error&&(w.ErrorDocument={Key:p.error}),p.routingRules===void 0){R.next=14;break}if(n(p.routingRules)){R.next=13;break}throw new Error("RoutingRules must be Array");case 13:w.RoutingRules={RoutingRule:p.routingRules};case 14:return _=r(_),x.content=_,x.mime="xml",x.successStatuses=[200],R.next=20,this.request(x);case 20:return C=R.sent,R.abrupt("return",{res:C.res});case 22:case"end":return R.stop()}},h,this)}));function m(h){return d.apply(this,arguments)}return m}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(e,g,v){(function(c){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),v.encodeCallback=function(o,l){if(o.headers=o.headers||{},!Object.prototype.hasOwnProperty.call(o.headers,"x-oss-callback")&&l.callback){var u={callbackUrl:encodeURI(l.callback.url),callbackBody:l.callback.body};l.callback.host&&(u.callbackHost=l.callback.host),l.callback.contentType&&(u.callbackBodyType=l.callback.contentType);var i=c.from(JSON.stringify(u)).toString("base64");if(o.headers["x-oss-callback"]=i,l.callback.customValue){var r={};Object.keys(l.callback.customValue).forEach(function(t){r["x:".concat(t)]=l.callback.customValue[t].toString()}),o.headers["x-oss-callback-var"]=c.from(JSON.stringify(r)).toString("base64")}}}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(e,g,v){"use strict";e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js");var c=function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(v,"__esModule",{value:!0}),v.getReqUrl=void 0;var a=c(e("copy-to")),o=c(e("url")),l=c(e("merge-descriptors")),u=c(e("is-type-of")),i=e("../utils/isIP"),r=e("../utils/checkConfigValid");function t(n){var s={},d=this.options.cname;r.checkConfigValid(this.options.endpoint,"endpoint"),a.default(this.options.endpoint,!1).to(s),n.bucket&&!d&&!i.isIP(s.hostname)&&!this.options.sldEnable&&(s.host="".concat(n.bucket,".").concat(s.host));var m="/";n.bucket&&this.options.sldEnable&&(m+="".concat(n.bucket,"/")),n.object&&(m+=this._escape(n.object).replace(/\+/g,"%2B")),s.pathname=m;var h={};if(n.query&&l.default(h,n.query),n.subres){var y={};u.default.string(n.subres)?y[n.subres]="":u.default.array(n.subres)?n.subres.forEach(function(p){y[p]=""}):y=n.subres,l.default(h,y)}return s.query=h,o.default.format(s)}v.getReqUrl=t},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(e,g,v){"use strict";e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.string.trim.js");var c=e("humanize-ms"),a=e("url"),o=e("../utils/checkBucketName"),l=o.checkBucketName,u=e("../utils/setRegion"),i=u.setRegion,r=e("../utils/checkConfigValid"),t=r.checkConfigValid;function n(s,d){t(s,"endpoint");var m=a.parse(s);if(m.protocol||(m=a.parse("http".concat(d?"s":"","://").concat(s))),m.protocol!=="http:"&&m.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return m}g.exports=function(s){if(!s||!s.accessKeyId||!s.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");s.stsToken&&!s.refreshSTSToken&&!s.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),s.bucket&&l(s.bucket);var d=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},s);if(d.accessKeyId=d.accessKeyId.trim(),d.accessKeySecret=d.accessKeySecret.trim(),d.timeout&&(d.timeout=c(d.timeout)),d.endpoint)d.endpoint=n(d.endpoint,d.secure);else if(d.region)d.endpoint=i(d.region,d.internal,d.secure);else throw new Error("require options.endpoint or options.region");return d.inited=!0,d}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(e,g,v){"use strict";var c=e("merge-descriptors"),a=v;c(a,e("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.concat.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkBucketName"),u=l.checkBucketName,i=e("querystring"),r=e("js-base64"),t=r.Base64.encode,n=v;n.processObjectSave=function(){var d=(0,o.default)(a.default.mark(function h(y,p,b,x){var S,w,_,C;return a.default.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return s(y,"sourceObject"),s(p,"targetObject"),s(b,"process"),p=this._objectName(p),x&&u(x),S=this._objectRequestParams("POST",y,{subres:"x-oss-process"}),w=x?",b_".concat(t(x)):"",p=t(p),_={"x-oss-process":"".concat(b,"|sys/saveas,o_").concat(p).concat(w)},S.content=i.stringify(_),T.next=12,this.request(S);case 12:return C=T.sent,T.abrupt("return",{res:C.res,status:C.res.status});case 14:case"end":return T.stop()}},h,this)}));function m(h,y,p,b){return d.apply(this,arguments)}return m}();function s(d,m){if(!d)throw new Error("".concat(m," is required"));if(typeof d!="string")throw new Error("".concat(m," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array.from.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.array.filter.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.regexp.to-string.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("debug")("ali-oss:multipart-copy"),u=e("copy-to"),i=v;i.uploadPartCopy=function(){var r=(0,o.default)(a.default.mark(function n(s,d,m,h,y){var p,b,x,S,w,_=arguments;return a.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return p=_.length>5&&_[5]!==void 0?_[5]:{},p.headers=p.headers||{},b=p.versionId||p.subres&&p.subres.versionId||null,b?x="/".concat(y.sourceBucketName,"/").concat(encodeURIComponent(y.sourceKey),"?versionId=").concat(b):x="/".concat(y.sourceBucketName,"/").concat(encodeURIComponent(y.sourceKey)),p.headers["x-oss-copy-source"]=x,h&&(p.headers["x-oss-copy-source-range"]="bytes=".concat(h)),p.subres={partNumber:m,uploadId:d},S=this._objectRequestParams("PUT",s,p),S.mime=p.mime,S.successStatuses=[200],E.next=12,this.request(S);case 12:return w=E.sent,E.abrupt("return",{name:s,etag:w.res.headers.etag,res:w.res});case 14:case"end":return E.stop()}},n,this)}));function t(n,s,d,m,h){return r.apply(this,arguments)}return t}(),i.multipartUploadCopy=function(){var r=(0,o.default)(a.default.mark(function n(s,d){var m,h,y,p,b,x,S,w,_,C,E,T,R=arguments;return a.default.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return m=R.length>2&&R[2]!==void 0?R[2]:{},this.resetCancelFlag(),h=m.versionId,y=h===void 0?null:h,p={versionId:y},P.next=6,this._getObjectMeta(d.sourceBucketName,d.sourceKey,p);case 6:if(b=P.sent,x=b.res.headers["content-length"],d.startOffset=d.startOffset||0,d.endOffset=d.endOffset||x,!(m.checkpoint&&m.checkpoint.uploadId)){P.next=14;break}return P.next=13,this._resumeMultipartCopy(m.checkpoint,d,m);case 13:return P.abrupt("return",P.sent);case 14:if(S=102400,w=d.endOffset-d.startOffset,!(w<S)){P.next=18;break}throw new Error("copySize must not be smaller than ".concat(S));case 18:if(!(m.partSize&&m.partSize<S)){P.next=20;break}throw new Error("partSize must not be smaller than ".concat(S));case 20:return P.next=22,this.initMultipartUpload(s,m);case 22:if(_=P.sent,C=_.uploadId,E=this._getPartSize(w,m.partSize),T={name:s,copySize:w,partSize:E,uploadId:C,doneParts:[]},!(m&&m.progress)){P.next=29;break}return P.next=29,m.progress(0,T,_.res);case 29:return P.next=31,this._resumeMultipartCopy(T,d,m);case 31:return P.abrupt("return",P.sent);case 32:case"end":return P.stop()}},n,this)}));function t(n,s){return r.apply(this,arguments)}return t}(),i._resumeMultipartCopy=function(){var r=(0,o.default)(a.default.mark(function n(s,d,m){var h,y,p,b,x,S,w,_,C,E,T,R,k,P,L,O,N,H,V,B,te;return a.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(!this.isCancel()){J.next=2;break}throw this._makeCancelEvent();case 2:if(h=m.versionId,y=h===void 0?null:h,p={versionId:y},b=s.copySize,x=s.partSize,S=s.uploadId,w=s.doneParts,_=s.name,C=this._divideMultipartCopyParts(b,x,d.startOffset),E=C.length,T={headers:{}},m.copyheaders&&u(m.copyheaders).to(T.headers),y&&u(p).to(T),R=function(re,Z,X){return new Promise(function(){var $=(0,o.default)(a.default.mark(function ie(de,pe){var G,I,q;return a.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(Y.prev=0,re.isCancel()){Y.next=22;break}return G=C[Z-1],I="".concat(G.start,"-").concat(G.end-1),Y.prev=4,Y.next=7,re.uploadPartCopy(_,S,Z,I,X,T);case 7:q=Y.sent,Y.next=15;break;case 10:if(Y.prev=10,Y.t0=Y.catch(4),Y.t0.status!==404){Y.next=14;break}throw re._makeAbortEvent();case 14:throw Y.t0;case 15:if(re.isCancel()){Y.next=22;break}if(l("content-range ".concat(q.res.headers["content-range"])),w.push({number:Z,etag:q.res.headers.etag}),s.doneParts=w,!(m&&m.progress)){Y.next=22;break}return Y.next=22,m.progress(w.length/E,s,q.res);case 22:de(),Y.next=29;break;case 25:Y.prev=25,Y.t1=Y.catch(0),Y.t1.partNum=Z,pe(Y.t1);case 29:case"end":return Y.stop()}},ie,null,[[0,25],[4,10]])}));return function(ie,de){return $.apply(this,arguments)}}())},k=Array.from(new Array(E),function(Q,re){return re+1}),P=w.map(function(Q){return Q.number}),L=k.filter(function(Q){return P.indexOf(Q)<0}),O=5,N=m.parallel||O,!(this.checkBrowserAndVersion("Internet Explorer","10")||N===1)){J.next=28;break}H=0;case 18:if(!(H<L.length)){J.next=26;break}if(!this.isCancel()){J.next=21;break}throw this._makeCancelEvent();case 21:return J.next=23,R(this,L[H],d);case 23:H++,J.next=18;break;case 26:J.next=40;break;case 28:return J.next=30,this._parallelNode(L,N,R,d);case 30:if(V=J.sent,B=V.find(function(Q){return Q.name==="abort"}),!B){J.next=34;break}throw B;case 34:if(!this.isCancel()){J.next=36;break}throw this._makeCancelEvent();case 36:if(!(V&&V.length>0)){J.next=40;break}throw te=V[0],te.message="Failed to copy some parts with error: ".concat(te.toString()," part_num: ").concat(te.partNum),te;case 40:return J.next=42,this.completeMultipartUpload(_,S,w,m);case 42:return J.abrupt("return",J.sent);case 43:case"end":return J.stop()}},n,this)}));function t(n,s,d){return r.apply(this,arguments)}return t}(),i._divideMultipartCopyParts=function(t,n,s){for(var d=Math.ceil(t/n),m=[],h=0;h<d;h++){var y=n*h+s,p=Math.min(y+n,t+s);m.push({start:y,end:p})}return m},i._getObjectMeta=function(){var r=(0,o.default)(a.default.mark(function n(s,d,m){var h,y;return a.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return h=this.getBucket(),this.setBucket(s),b.next=4,this.head(d,m);case 4:return y=b.sent,this.setBucket(h),b.abrupt("return",y);case 7:case"end":return b.stop()}},n,this)}));function t(n,s,d){return r.apply(this,arguments)}return t}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(e,g,v){(function(c){(function(){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault"),o=a(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.map.js"),e("core-js/modules/es.array.filter.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.array.sort.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.to-string.js");var l=a(e("@babel/runtime/helpers/asyncToGenerator")),u=e("copy-to"),i=e("./callback"),r=e("./utils/deepCopy"),t=r.deepCopyWith,n=e("./utils/isBuffer"),s=n.isBuffer,d=e("./utils/omit"),m=d.omit,h=v;h.listUploads=function(){var y=(0,l.default)(o.default.mark(function b(x,S){var w,_,C,E;return o.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return S=S||{},w={},u(S).to(w),w.subres="uploads",_=this._objectRequestParams("GET","",w),_.query=x,_.xmlResponse=!0,_.successStatuses=[200],R.next=10,this.request(_);case 10:return C=R.sent,E=C.data.Upload||[],Array.isArray(E)||(E=[E]),E=E.map(function(k){return{name:k.Key,uploadId:k.UploadId,initiated:k.Initiated}}),R.abrupt("return",{res:C.res,uploads:E,bucket:C.data.Bucket,nextKeyMarker:C.data.NextKeyMarker,nextUploadIdMarker:C.data.NextUploadIdMarker,isTruncated:C.data.IsTruncated==="true"});case 15:case"end":return R.stop()}},b,this)}));function p(b,x){return y.apply(this,arguments)}return p}(),h.listParts=function(){var y=(0,l.default)(o.default.mark(function b(x,S,w,_){var C,E,T;return o.default.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return _=_||{},C={},u(_).to(C),C.subres={uploadId:S},E=this._objectRequestParams("GET",x,C),E.query=w,E.xmlResponse=!0,E.successStatuses=[200],k.next=10,this.request(E);case 10:return T=k.sent,k.abrupt("return",{res:T.res,uploadId:T.data.UploadId,bucket:T.data.Bucket,name:T.data.Key,partNumberMarker:T.data.PartNumberMarker,nextPartNumberMarker:T.data.NextPartNumberMarker,maxParts:T.data.MaxParts,isTruncated:T.data.IsTruncated,parts:T.data.Part||[]});case 12:case"end":return k.stop()}},b,this)}));function p(b,x,S,w){return y.apply(this,arguments)}return p}(),h.abortMultipartUpload=function(){var y=(0,l.default)(o.default.mark(function b(x,S,w){var _,C,E;return o.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return this._stop(),w=w||{},_={},u(w).to(_),_.subres={uploadId:S},C=this._objectRequestParams("DELETE",x,_),C.successStatuses=[204],R.next=9,this.request(C);case 9:return E=R.sent,R.abrupt("return",{res:E.res});case 11:case"end":return R.stop()}},b,this)}));function p(b,x,S){return y.apply(this,arguments)}return p}(),h.initMultipartUpload=function(){var y=(0,l.default)(o.default.mark(function b(x,S){var w,_,C;return o.default.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return S=S||{},w={},u(S).to(w),w.headers=w.headers||{},this._convertMetaToHeaders(S.meta,w.headers),w.subres="uploads",_=this._objectRequestParams("POST",x,w),_.mime=S.mime,_.xmlResponse=!0,_.successStatuses=[200],T.next=12,this.request(_);case 12:return C=T.sent,T.abrupt("return",{res:C.res,bucket:C.data.Bucket,name:C.data.Key,uploadId:C.data.UploadId});case 14:case"end":return T.stop()}},b,this)}));function p(b,x){return y.apply(this,arguments)}return p}(),h.uploadPart=function(){var y=(0,l.default)(o.default.mark(function b(x,S,w,_,C,E,T){var R,k;return o.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(R={size:E-C},k=c&&c.browser,!k){L.next=8;break}return L.next=5,this._createBuffer(_,C,E);case 5:R.content=L.sent,L.next=11;break;case 8:return L.next=10,this._createStream(_,C,E);case 10:R.stream=L.sent;case 11:return L.next=13,this._uploadPart(x,S,w,R,T);case 13:return L.abrupt("return",L.sent);case 14:case"end":return L.stop()}},b,this)}));function p(b,x,S,w,_,C,E){return y.apply(this,arguments)}return p}(),h.completeMultipartUpload=function(){var y=(0,l.default)(o.default.mark(function b(x,S,w,_){var C,E,T,R,k,P,L,O;return o.default.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:for(C=w.concat().sort(function(V,B){return V.number-B.number}).filter(function(V,B,te){return!B||V.number!==te[B-1].number}),E=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,T=0;T<C.length;T++)R=C[T],E+=`<Part>
`,E+="<PartNumber>".concat(R.number,`</PartNumber>
`),E+="<ETag>".concat(R.etag,`</ETag>
`),E+=`</Part>
`;return E+="</CompleteMultipartUpload>",_=_||{},k={},k=t(_,function(V){if(s(V))return null}),k.subres={uploadId:S},k.headers=m(k.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),P=this._objectRequestParams("POST",x,k),i.encodeCallback(P,k),P.mime="xml",P.content=E,P.headers&&P.headers["x-oss-callback"]||(P.xmlResponse=!0),P.successStatuses=[200],H.next=17,this.request(P);case 17:if(L=H.sent,!_.progress){H.next=21;break}return H.next=21,_.progress(1,null,L.res);case 21:return O={res:L.res,bucket:P.bucket,name:x,etag:L.res.headers.etag},P.headers&&P.headers["x-oss-callback"]&&(O.data=JSON.parse(L.data.toString())),H.abrupt("return",O);case 24:case"end":return H.stop()}},b,this)}));function p(b,x,S,w){return y.apply(this,arguments)}return p}(),h._uploadPart=function(){var y=(0,l.default)(o.default.mark(function b(x,S,w,_,C){var E,T,R,k;return o.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return C=C||{},E={},u(C).to(E),E.headers=E.headers||{},E.headers["Content-Length"]=_.size,E.headers=m(E.headers,["x-oss-server-side-encryption"]),E.subres={partNumber:w,uploadId:S},T=this._objectRequestParams("PUT",x,E),T.mime=E.mime,R=c&&c.browser,R?T.content=_.content:T.stream=_.stream,T.successStatuses=[200],T.disabledMD5=C.disabledMD5,L.next=15,this.request(T);case 15:if(k=L.sent,k.res.headers.etag){L.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return _.stream&&(_.stream=null,T.stream=null),L.abrupt("return",{name:x,etag:k.res.headers.etag,res:k.res});case 20:case"end":return L.stop()}},b,this)}));function p(b,x,S,w,_){return y.apply(this,arguments)}return p}()}).call(this)}).call(this,e("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator")),o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("url"),u=e("utility"),i=e("copy-to"),r=e("../../common/signUtils"),t=e("../utils/isIP"),n=t.isIP,s=e("../utils/setSTSToken"),d=s.setSTSToken,m=e("../utils/isFunction"),h=m.isFunction,y=v;y.asyncSignatureUrl=function(){var p=(0,o.default)(a.default.mark(function x(S,w){var _,C,E,T,R;return a.default.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(!n(this.options.endpoint.hostname)){P.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(w=w||{},S=this._objectName(S),w.method=w.method||"GET",_=u.timestamp()+(w.expires||1800),C={bucket:this.options.bucket,object:S},E=this._getResource(C),!(this.options.stsToken&&h(this.options.refreshSTSToken))){P.next=11;break}return P.next=11,d.call(this);case 11:return this.options.stsToken&&(w["security-token"]=this.options.stsToken),T=r._signatureForURL(this.options.accessKeySecret,w,E,_),R=l.parse(this._getReqUrl(C)),R.query={OSSAccessKeyId:this.options.accessKeyId,Expires:_,Signature:T.Signature},i(T.subResource).to(R.query),P.abrupt("return",R.format());case 17:case"end":return P.stop()}},x,this)}));function b(x,S){return p.apply(this,arguments)}return b}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js");var o=c(e("@babel/runtime/helpers/typeof")),l=c(e("@babel/runtime/helpers/asyncToGenerator")),u=e("../utils/checkBucketName"),i=u.checkBucketName,r=v,t=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];r.copy=function(){var n=(0,l.default)(a.default.mark(function d(m,h,y,p){var b,x,S;return a.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return(0,o.default)(y)==="object"&&(p=y),p=p||{},p.headers=p.headers||{},Object.keys(p.headers).forEach(function(C){p.headers["x-oss-copy-source-".concat(C.toLowerCase())]=p.headers[C]}),(p.meta||Object.keys(p.headers).find(function(C){return t.includes(C.toLowerCase())}))&&(p.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(p.meta,p.headers),h=this._getSourceName(h,y),p.versionId&&(h="".concat(h,"?versionId=").concat(p.versionId)),p.headers["x-oss-copy-source"]=h,b=this._objectRequestParams("PUT",m,p),b.xmlResponse=!0,b.successStatuses=[200,304],_.next=14,this.request(b);case 14:return x=_.sent,S=x.data,S&&(S={etag:S.ETag,lastModified:S.LastModified}),_.abrupt("return",{data:S,res:x.res});case 18:case"end":return _.stop()}},d,this)}));function s(d,m,h,y){return n.apply(this,arguments)}return s}(),r._getSourceName=function(s,d){return typeof d=="string"?s=this._objectName(s):s[0]!=="/"?d=this.options.bucket:(d=s.replace(/\/(.+?)(\/.*)/,"$1"),s=s.replace(/(\/.+?\/)(.*)/,"$2")),i(d),s=encodeURIComponent(s),s="/".concat(d,"/").concat(s),s}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v;l.delete=function(){var u=(0,o.default)(a.default.mark(function r(t){var n,s,d,m=arguments;return a.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return n=m.length>1&&m[1]!==void 0?m[1]:{},n.subres=Object.assign({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),s=this._objectRequestParams("DELETE",t,n),s.successStatuses=[204],y.next=7,this.request(s);case 7:return d=y.sent,y.abrupt("return",{res:d.res});case 9:case"end":return y.stop()}},r,this)}));function i(r){return u.apply(this,arguments)}return i}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("utility"),u=e("../utils/obj2xml"),i=u.obj2xml,r=v;r.deleteMulti=function(){var t=(0,o.default)(a.default.mark(function s(d){var m,h,y,p,b,x,S,w,_,C,E,T,R,k=arguments;return a.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(m=k.length>1&&k[1]!==void 0?k[1]:{},h=[],!(!d||!d.length)){L.next=4;break}throw new Error("names is required");case 4:for(y=0;y<d.length;y++)p={},typeof d[y]=="string"?p.Key=l.escape(this._objectName(d[y])):(b=d[y],x=b.key,S=b.versionId,p.Key=l.escape(this._objectName(x)),p.VersionId=S),h.push(p);return w={Delete:{Quiet:!!m.quiet,Object:h}},_=i(w,{headers:!0}),m.subres=Object.assign({delete:""},m.subres),m.versionId&&(m.subres.versionId=m.versionId),C=this._objectRequestParams("POST","",m),C.mime="xml",C.content=_,C.xmlResponse=!0,C.successStatuses=[200],L.next=16,this.request(C);case 16:return E=L.sent,T=E.data,R=T&&T.Deleted||null,R&&(Array.isArray(R)||(R=[R])),L.abrupt("return",{res:E.res,deleted:R||[]});case 21:case"end":return L.stop()}},s,this)}));function n(s){return t.apply(this,arguments)}return n}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v;l.deleteObjectTagging=function(){var u=(0,o.default)(a.default.mark(function r(t){var n,s,d,m=arguments;return a.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return n=m.length>1&&m[1]!==void 0?m[1]:{},n.subres=Object.assign({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),s=this._objectRequestParams("DELETE",t,n),s.successStatuses=[204],y.next=8,this.request(s);case 8:return d=y.sent,y.abrupt("return",{status:d.status,res:d.res});case 10:case"end":return y.stop()}},r,this)}));function i(r){return u.apply(this,arguments)}return i}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(e,g,v){"use strict";e("core-js/modules/es.array.concat.js");var c=e("url"),a=e("../utils/isIP"),o=a.isIP,l=v;l.generateObjectUrl=function(i,r){if(o(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(r)r[r.length-1]!=="/"&&(r+="/");else{r=this.options.endpoint.format();var t=c.parse(r),n=this.options.bucket;t.hostname="".concat(n,".").concat(t.hostname),t.host="".concat(n,".").concat(t.host),r=t.format()}return r+this._escape(this._objectName(i))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(e,g,v){(function(c){(function(){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault"),o=a(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var l=a(e("@babel/runtime/helpers/asyncToGenerator")),u=e("fs"),i=e("is-type-of"),r=v;r.get=function(){var t=(0,l.default)(o.default.mark(function s(d,m){var h,y,p,b,x,S,w,_,C=arguments;return o.default.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return h=C.length>2&&C[2]!==void 0?C[2]:{},y=null,p=!1,i.writableStream(m)?y=m:i.string(m)?(y=u.createWriteStream(m),p=!0):h=m,h=h||{},b=c&&c.browser,x=h.responseCacheControl===null?"":"no-cache",S=b&&x?{"response-cache-control":x}:{},h.subres=Object.assign(S,h.subres),h.versionId&&(h.subres.versionId=h.versionId),h.process&&(h.subres["x-oss-process"]=h.process),T.prev=11,_=this._objectRequestParams("GET",d,h),_.writeStream=y,_.successStatuses=[200,206,304],T.next=17,this.request(_);case 17:w=T.sent,p&&y.destroy(),T.next=28;break;case 21:if(T.prev=21,T.t0=T.catch(11),!p){T.next=27;break}return y.destroy(),T.next=27,this._deleteFileSafe(m);case 27:throw T.t0;case 28:return T.abrupt("return",{res:w.res,content:w.data});case 29:case"end":return T.stop()}},s,this,[[11,21]])}));function n(s,d){return t.apply(this,arguments)}return n}()}).call(this)}).call(this,e("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v;l.getACL=function(){var u=(0,o.default)(a.default.mark(function r(t){var n,s,d,m=arguments;return a.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return n=m.length>1&&m[1]!==void 0?m[1]:{},n.subres=Object.assign({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),s=this._objectRequestParams("GET",t,n),s.successStatuses=[200],s.xmlResponse=!0,y.next=9,this.request(s);case 9:return d=y.sent,y.abrupt("return",{acl:d.data.AccessControlList.Grant,owner:{id:d.data.Owner.ID,displayName:d.data.Owner.DisplayName},res:d.res});case 11:case"end":return y.stop()}},r,this)}));function i(r){return u.apply(this,arguments)}return i}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.number.constructor.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v,u=e("../utils/isObject"),i=u.isObject,r=e("../utils/isArray"),t=r.isArray;l.getBucketVersions=n,l.listObjectVersions=n;function n(){return s.apply(this,arguments)}function s(){return s=(0,o.default)(a.default.mark(function h(){var y,p,b,x,S,w,_,C,E=arguments;return a.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(y=E.length>0&&E[0]!==void 0?E[0]:{},p=E.length>1&&E[1]!==void 0?E[1]:{},!(y.versionIdMarker&&y.keyMarker===void 0)){R.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return p.subres=Object.assign({versions:""},p.subres),p.versionId&&(p.subres.versionId=p.versionId),b=this._objectRequestParams("GET","",p),b.xmlResponse=!0,b.successStatuses=[200],b.query=m(y),R.next=12,this.request(b);case 12:return x=R.sent,S=x.data.Version||[],w=x.data.DeleteMarker||[],_=this,S&&(Array.isArray(S)||(S=[S]),S=S.map(function(k){return{name:k.Key,url:_._objectUrl(k.Key),lastModified:k.LastModified,isLatest:k.IsLatest==="true",versionId:k.VersionId,etag:k.ETag,type:k.Type,size:Number(k.Size),storageClass:k.StorageClass,owner:{id:k.Owner.ID,displayName:k.Owner.DisplayName}}})),w&&(t(w)||(w=[w]),w=w.map(function(k){return{name:k.Key,lastModified:k.LastModified,versionId:k.VersionId,owner:{id:k.Owner.ID,displayName:k.Owner.DisplayName}}})),C=x.data.CommonPrefixes||null,C&&(t(C)||(C=[C]),C=C.map(function(k){return k.Prefix})),R.abrupt("return",{res:x.res,objects:S,deleteMarker:w,prefixes:C,nextMarker:x.data.NextKeyMarker||null,NextVersionIdMarker:x.data.NextVersionIdMarker||null,nextKeyMarker:x.data.NextKeyMarker||null,nextVersionIdMarker:x.data.NextVersionIdMarker||null,isTruncated:x.data.IsTruncated==="true"});case 21:case"end":return R.stop()}},h,this)})),s.apply(this,arguments)}function d(h){return h.replace(/([A-Z])/g,"-$1").toLowerCase()}function m(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y={};return i(h)&&Object.keys(h).forEach(function(p){y[d(p)]=h[p]}),y}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v;l.getObjectMeta=function(){var u=(0,o.default)(a.default.mark(function r(t,n){var s,d;return a.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return n=n||{},t=this._objectName(t),n.subres=Object.assign({objectMeta:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),s=this._objectRequestParams("HEAD",t,n),s.successStatuses=[200],h.next=8,this.request(s);case 8:return d=h.sent,h.abrupt("return",{status:d.status,res:d.res});case 10:case"end":return h.stop()}},r,this)}));function i(r,t){return u.apply(this,arguments)}return i}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v,u=e("../utils/isObject"),i=u.isObject;l.getObjectTagging=function(){var r=(0,o.default)(a.default.mark(function n(s){var d,m,h,y,p,b,x=arguments;return a.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return d=x.length>1&&x[1]!==void 0?x[1]:{},d.subres=Object.assign({tagging:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),s=this._objectName(s),m=this._objectRequestParams("GET",s,d),m.successStatuses=[200],w.next=8,this.request(m);case 8:return h=w.sent,w.next=11,this.parseXML(h.data);case 11:return y=w.sent,p=y.TagSet.Tag,p=p&&i(p)?[p]:p||[],b={},p.forEach(function(_){b[_.Key]=_.Value}),w.abrupt("return",{status:h.status,res:h.res,tag:b});case 17:case"end":return w.stop()}},n,this)}));function t(n){return r.apply(this,arguments)}return t}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(e,g,v){"use strict";var c=e("../utils/isIP"),a=c.isIP,o=v;o.getObjectUrl=function(u,i){if(a(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return i?i[i.length-1]!=="/"&&(i+="/"):i=this.options.endpoint.format(),i+this._escape(this._objectName(u))}},{"../utils/isIP":69}],43:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v;l.getSymlink=function(){var u=(0,o.default)(a.default.mark(function r(t){var n,s,d,m,h=arguments;return a.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return n=h.length>1&&h[1]!==void 0?h[1]:{},n.subres=Object.assign({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectName(t),s=this._objectRequestParams("GET",t,n),s.successStatuses=[200],p.next=8,this.request(s);case 8:return d=p.sent,m=d.res.headers["x-oss-symlink-target"],p.abrupt("return",{targetName:decodeURIComponent(m),res:d.res});case 11:case"end":return p.stop()}},r,this)}));function i(r){return u.apply(this,arguments)}return i}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/checkEnv"),u=l.checkEnv,i=v;i.head=function(){var r=(0,o.default)(a.default.mark(function n(s){var d,m,h,y,p=arguments;return a.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return d=p.length>1&&p[1]!==void 0?p[1]:{},u("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),d.subres=Object.assign({},d.subres),d.versionId&&(d.subres.versionId=d.versionId),m=this._objectRequestParams("HEAD",s,d),m.successStatuses=[200,304],x.next=8,this.request(m);case 8:return h=x.sent,y={meta:null,res:h.res,status:h.status},h.status===200&&Object.keys(h.headers).forEach(function(S){S.indexOf("x-oss-meta-")===0&&(y.meta||(y.meta={}),y.meta[S.substring(11)]=h.headers[S])}),x.abrupt("return",y);case 12:case"end":return x.stop()}},n,this)}));function t(n){return r.apply(this,arguments)}return t}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v;l.putACL=function(){var u=(0,o.default)(a.default.mark(function r(t,n,s){var d,m;return a.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return s=s||{},s.subres=Object.assign({acl:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),s.headers=s.headers||{},s.headers["x-oss-object-acl"]=n,t=this._objectName(t),d=this._objectRequestParams("PUT",t,s),d.successStatuses=[200],y.next=10,this.request(d);case 10:return m=y.sent,y.abrupt("return",{res:m.res});case 12:case"end":return y.stop()}},r,this)}));function i(r,t,n){return u.apply(this,arguments)}return i}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.object.keys.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("../utils/obj2xml"),u=l.obj2xml,i=e("../utils/checkObjectTag"),r=i.checkObjectTag,t=v;t.putObjectTagging=function(){var n=(0,o.default)(a.default.mark(function d(m,h){var y,p,b,x,S=arguments;return a.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return y=S.length>2&&S[2]!==void 0?S[2]:{},r(h),y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),m=this._objectName(m),p=this._objectRequestParams("PUT",m,y),p.successStatuses=[200],h=Object.keys(h).map(function(C){return{Key:C,Value:h[C]}}),b={Tagging:{TagSet:{Tag:h}}},p.mime="xml",p.content=u(b),_.next=13,this.request(p);case 13:return x=_.sent,_.abrupt("return",{res:x.res,status:x.status});case 15:case"end":return _.stop()}},d,this)}));function s(d,m){return n.apply(this,arguments)}return s}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=v;l.putSymlink=function(){var u=(0,o.default)(a.default.mark(function r(t,n,s){var d,m;return a.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return s=s||{},s.headers=s.headers||{},n=this._escape(this._objectName(n)),this._convertMetaToHeaders(s.meta,s.headers),s.headers["x-oss-symlink-target"]=n,s.subres=Object.assign({symlink:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),s.storageClass&&(s.headers["x-oss-storage-class"]=s.storageClass),t=this._objectName(t),d=this._objectRequestParams("PUT",t,s),d.successStatuses=[200],y.next=13,this.request(d);case 13:return m=y.sent,y.abrupt("return",{res:m.res});case 15:case"end":return y.stop()}},r,this)}));function i(r,t,n){return u.apply(this,arguments)}return i}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(e,g,v){"use strict";var c=e("url"),a=e("utility"),o=e("copy-to"),l=e("../../common/signUtils"),u=e("../utils/isIP"),i=u.isIP,r=v;r.signatureUrl=function(n,s){if(i(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");s=s||{},n=this._objectName(n),s.method=s.method||"GET";var d=a.timestamp()+(s.expires||1800),m={bucket:this.options.bucket,object:n},h=this._getResource(m);this.options.stsToken&&(s["security-token"]=this.options.stsToken);var y=l._signatureForURL(this.options.accessKeySecret,s,h,d),p=c.parse(this._getReqUrl(m));return p.query={OSSAccessKeyId:this.options.accessKeyId,Expires:d,Signature:y.Signature},o(y.subResource).to(p.query),p.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.function.name.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator")),l=e("./utils/isArray"),u=l.isArray,i=v;i._parallelNode=function(){var r=(0,o.default)(a.default.mark(function n(s,d,m,h){var y,p,b,x,S,w,_,C;return a.default.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:y=this,p=[],b=[],x=s.length/d,S=s.length%d,w=S===0?x:(s.length-S)/d+1,_=1,C=0;case 8:if(!(C<s.length)){T.next=26;break}if(!y.isCancel()){T.next=11;break}return T.abrupt("break",26);case 11:if(h?b.push(m(y,s[C],h)):b.push(m(y,s[C])),!(b.length===d||_===w&&C===s.length-1)){T.next=23;break}return T.prev=13,_+=1,T.next=17,Promise.all(b);case 17:T.next=22;break;case 19:T.prev=19,T.t0=T.catch(13),p.push(T.t0);case 22:b=[];case 23:C++,T.next=8;break;case 26:return T.abrupt("return",p);case 27:case"end":return T.stop()}},n,this,[[13,19]])}));function t(n,s,d,m){return r.apply(this,arguments)}return t}(),i._parallel=function(t,n,s){var d=this;return new Promise(function(m){var h=[];if(n<=0||!t){m(h);return}function y(T){return function(){if(T===null)throw new Error("Callback was already called.");var R=T;T=null;for(var k=arguments.length,P=new Array(k),L=0;L<k;L++)P[L]=arguments[L];R.apply(this,P)}}function p(T){var R=-1,k=T.length;return function(){return++R<k&&!d.isCancel()?{value:T[R],key:R}:null}}var b=p(t),x=!1,S=0,w=!1;function _(T){S-=1,T?(x=!0,h.push(T),m(h)):x&&S<=0?(x=!0,m(h)):w||(d.isCancel()?m(h):E())}function C(T,R){s(T).then(function(k){R(null,k)}).catch(function(k){R(k)})}function E(){for(w=!0;S<n&&!x&&!d.isCancel();){var T=b();if(T===null||h.length>0){x=!0,S<=0&&m(h);return}S+=1,C(T.value,y(_))}w=!1}E()})},i.cancel=function(t){this.options.cancelFlag=!0,u(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(n){if(n.destroyed===!1){var s={name:"cancel",message:"cancel"};n.destroy(s)}}),this.multipartUploadStreams=[],t&&this.abortMultipartUpload(t.name,t.uploadId,t.options)},i.isCancel=function(){return this.options.cancelFlag},i.resetCancelFlag=function(){this.options.cancelFlag=!1},i._stop=function(){this.options.cancelFlag=!0},i._makeCancelEvent=function(){var t={status:0,name:"cancel"};return t},i._makeAbortEvent=function(){var t={status:0,name:"abort",message:"upload task has been abort"};return t}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(e,g,v){(function(c){(function(){"use strict";e("core-js/modules/es.string.trim.js"),e("core-js/modules/es.array.sort.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.regexp.to-string.js");var a=e("./../../shims/crypto/crypto.js"),o=e("is-type-of"),l=e("./utils/lowercaseKeyHeader"),u=l.lowercaseKeyHeader;v.buildCanonicalizedResource=function(r,t){var n="".concat(r),s="?";if(o.string(t)&&t.trim()!=="")n+=s+t;else if(o.array(t))t.sort(),n+=s+t.join("&");else if(t){var d=function(y,p){return y[0]>p[0]?1:y[0]<p[0]?-1:0},m=function(y){n+=s+y,(t[y]||t[y]===0)&&(n+="=".concat(t[y])),s="&"};Object.keys(t).sort(d).forEach(m)}return n},v.buildCanonicalString=function(r,t,n,s){n=n||{};var d=u(n.headers),m="x-oss-",h=[],y={},p=[r.toUpperCase(),d["content-md5"]||"",d["content-type"],s||d["x-oss-date"]];return Object.keys(d).forEach(function(b){var x=b.toLowerCase();x.indexOf(m)===0&&(y[x]=String(d[b]).trim())}),Object.keys(y).sort().forEach(function(b){h.push("".concat(b,":").concat(y[b]))}),p=p.concat(h),p.push(this.buildCanonicalizedResource(t,n.parameters)),p.join(`
`)},v.computeSignature=function(r,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",s=a.createHmac("sha1",r);return s.update(c.from(t,n)).digest("base64")},v.authorization=function(r,t,n,s){return"OSS ".concat(r,":").concat(this.computeSignature(t,n,s))},v._signatureForURL=function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0,d=arguments.length>4?arguments[4]:void 0,m={},h=t.subResource,y=h===void 0?{}:h;if(t.process){var p="x-oss-process";y[p]=t.process}if(t.trafficLimit){var b="x-oss-traffic-limit";y[b]=t.trafficLimit}if(t.response&&Object.keys(t.response).forEach(function(_){var C="response-".concat(_.toLowerCase());y[C]=t.response[_]}),Object.keys(t).forEach(function(_){var C=_.toLowerCase(),E=t[_];C.indexOf("x-oss-")===0?m[C]=E:(C.indexOf("content-md5")===0||C.indexOf("content-type")===0)&&(m[_]=E)}),Object.prototype.hasOwnProperty.call(t,"security-token")&&(y["security-token"]=t["security-token"]),Object.prototype.hasOwnProperty.call(t,"callback")){var x={callbackUrl:encodeURI(t.callback.url),callbackBody:t.callback.body};if(t.callback.host&&(x.callbackHost=t.callback.host),t.callback.contentType&&(x.callbackBodyType=t.callback.contentType),y.callback=c.from(JSON.stringify(x)).toString("base64"),t.callback.customValue){var S={};Object.keys(t.callback.customValue).forEach(function(_){S["x:".concat(_)]=t.callback.customValue[_]}),y["callback-var"]=c.from(JSON.stringify(S)).toString("base64")}}var w=this.buildCanonicalString(t.method,n,{headers:m,parameters:y},s.toString());return{Signature:this.computeSignature(r,w,d),subResource:y}}}).call(this)}).call(this,e("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(e,g,v){"use strict";e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.checkBucketName=void 0,v.checkBucketName=function(c){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=a?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!o.test(c))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(e,g,v){"use strict";e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.checkConfigValid=void 0;var c={endpoint:a,region:/^[a-zA-Z0-9\-_]+$/};function a(o){return typeof o=="string"?/^[a-zA-Z0-9._:/-]+$/.test(o):o.host?/^[a-zA-Z0-9._:/-]+$/.test(o.host):!1}v.checkConfigValid=function(o,l){if(c[l]){var u=!0;if(c[l]instanceof Function?u=c[l](o):u=c[l].test(o),!u)throw new Error("The ".concat(l," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(e,g,v){(function(c){(function(){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.checkEnv=void 0;function a(o){c.browser&&console.warn(o)}v.checkEnv=a}).call(this)}).call(this,e("_process"))},{_process:467}],54:[function(e,g,v){"use strict";e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.object.entries.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.checkObjectTag=void 0;var c=e("./checkValid"),a=c.checkValid,o=e("./isObject"),l=o.isObject,u=[{validator:function(n){if(typeof n!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],i={key:[].concat(u,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(u,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function r(t){if(!l(t))throw new Error("tag must be Object");var n=Object.entries(t);if(n.length>10)throw new Error("maximum of 10 tags for a object");var s=["key","value"];n.forEach(function(d){d.forEach(function(m,h){a(m,i[s[h]])})})}v.checkObjectTag=r},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(e,g,v){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.checkValid=void 0;function c(a,o){o.forEach(function(l){if(l.validator)l.validator(a);else if(l.pattern&&!l.pattern.test(a))throw new Error(l.msg)})}v.checkValid=c},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(e,g,v){(function(c){(function(){"use strict";e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.includes.js"),e("core-js/modules/es.object.assign.js"),e("core-js/modules/es.array.concat.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.createRequest=void 0;var a=e("./../../../shims/crypto/crypto.js"),o=e("debug")("ali-oss"),l=e("mime"),u=e("dateformat"),i=e("copy-to"),r=e("path"),t=e("./encoder"),n=t.encoder,s=e("./isIP"),d=s.isIP,m=e("./setRegion"),h=m.setRegion,y=e("../client/getReqUrl"),p=y.getReqUrl,b=e("./isDingTalk"),x=b.isDingTalk;function S(C,E){return C[E]||C[E.toLowerCase()]}function w(C,E){delete C[E],delete C[E.toLowerCase()]}function _(C){var E=new Date;this.options.amendTimeSkewed&&(E=+new Date+this.options.amendTimeSkewed);var T={"x-oss-date":u(E,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(T["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(T["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(T,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(T["x-oss-security-token"]=this.options.stsToken),i(C.headers).to(T),S(T,"Content-Type")||(C.mime&&C.mime.indexOf("/")>0?T["Content-Type"]=C.mime:x()?T["Content-Type"]="application/octet-stream":T["Content-Type"]=l.getType(C.mime||r.extname(C.object||""))),S(T,"Content-Type")||w(T,"Content-Type"),C.content&&(C.disabledMD5||(!C.headers||!C.headers["Content-MD5"]?T["Content-MD5"]=a.createHash("md5").update(c.from(C.content,"utf8")).digest("base64"):T["Content-MD5"]=C.headers["Content-MD5"]),T["Content-Length"]||(T["Content-Length"]=C.content.length));var R=Object.prototype.hasOwnProperty;for(var k in T)T[k]&&R.call(T,k)&&(T[k]=n(String(T[k]),this.options.headerEncoding));var P=this._getResource(C);if(T.authorization=this.authorization(C.method,P,C.subres,T,this.options.headerEncoding),d(this.options.endpoint.hostname)){var L=this.options,O=L.region,N=L.internal,H=L.secure,V=h(O,N,H);T.host="".concat(C.bucket,".").concat(V.host)}var B=p.bind(this)(C);o("request %s %s, with headers %j, !!stream: %s",C.method,B,T,!!C.stream);var te=C.timeout||this.options.timeout,ee={method:C.method,content:C.content,stream:C.stream,headers:T,timeout:te,writeStream:C.writeStream,customResponse:C.customResponse,ctx:C.ctx||this.ctx};return this.agent&&(ee.agent=this.agent),this.httpsAgent&&(ee.httpsAgent=this.httpsAgent),ee.enableProxy=!!this.options.enableProxy,ee.proxy=this.options.proxy?this.options.proxy:null,{url:B,params:ee}}v.createRequest=_}).call(this)}).call(this,e("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(e,g,v){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.entries.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.object.keys.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.dataFix=void 0;var c=e("./isObject"),a=["true","TRUE","1",1],o=["false","FALSE","0",0];function l(r,t,n){if(c.isObject(r)){var s=t.remove,d=s===void 0?[]:s,m=t.rename,h=m===void 0?{}:m,y=t.camel,p=y===void 0?[]:y,b=t.bool,x=b===void 0?[]:b,S=t.lowerFirst,w=S===void 0?!1:S;return d.forEach(function(_){return delete r[_]}),Object.entries(h).forEach(function(_){r[_[0]]&&(r[_[1]]||(r[_[1]]=r[_[0]],delete r[_[0]]))}),p.forEach(function(_){if(r[_]){var C=_.replace(/^(.)/,function(E){return E.toLowerCase()}).replace(/-(\w)/g,function(E,T){return T.toUpperCase()});r[C]||(r[C]=r[_])}}),x.forEach(function(_){r[_]=u(r[_])}),typeof n=="function"&&n(r),i(r,w),l}}v.dataFix=l;function u(r){return r?a.includes(r)?!0:o.includes(r)?!1:r:!1}function i(r,t){t&&Object.keys(r).forEach(function(n){var s=n.replace(/^\w/,function(d){return d.toLowerCase()});typeof r[s]=="undefined"&&(r[s]=r[n],delete r[n])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js");var a=c(e("@babel/runtime/helpers/typeof"));Object.defineProperty(v,"__esModule",{value:!0}),v.deepCopyWith=v.deepCopy=void 0;var o=e("./isBuffer");v.deepCopy=function(l){if(l===null||(0,a.default)(l)!=="object")return l;if(o.isBuffer(l))return l.slice();var u=Array.isArray(l)?[]:{};return Object.keys(l).forEach(function(i){u[i]=v.deepCopy(l[i])}),u},v.deepCopyWith=function(l,u){function i(r,t,n){var s=u(r,t,n);if(s!==void 0)return s;if(r===null||(0,a.default)(r)!=="object")return r;if(o.isBuffer(r))return r.slice();var d=Array.isArray(r)?[]:{};return Object.keys(r).forEach(function(m){d[m]=i(r[m],m,r)}),d}return u?i(l,"",null):v.deepCopy(l)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(e,g,v){(function(c){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.encoder=void 0;function a(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return l==="utf-8"?o:c.from(o).toString("latin1")}v.encoder=a}).call(this)}).call(this,e("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(e,g,v){"use strict";e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.formatInventoryConfig=void 0;var c=e("../utils/dataFix"),a=e("../utils/isObject"),o=e("../utils/isArray"),l=e("../utils/formatObjKey");function u(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return t&&a.isObject(r)&&(r=[r]),o.isArray(r)?r=r.map(i):r=i(r),r}v.formatInventoryConfig=u;function i(r){return c.dataFix(r,{bool:["IsEnabled"]},function(t){var n,s;t.prefix=t.Filter.Prefix,delete t.Filter,t.OSSBucketDestination=t.Destination.OSSBucketDestination,t.OSSBucketDestination.rolename=t.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete t.OSSBucketDestination.RoleArn,t.OSSBucketDestination.bucket=t.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete t.OSSBucketDestination.Bucket,delete t.Destination,t.frequency=t.Schedule.Frequency,delete t.Schedule.Frequency,!((n=t==null?void 0:t.OptionalFields)===null||n===void 0)&&n.Field&&!o.isArray((s=t.OptionalFields)===null||s===void 0?void 0:s.Field)&&(t.OptionalFields.Field=[t.OptionalFields.Field])}),r=l.formatObjKey(r,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),r}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault");e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.includes.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js");var a=c(e("@babel/runtime/helpers/typeof"));Object.defineProperty(v,"__esModule",{value:!0}),v.formatObjKey=void 0;function o(u,i,r){if(u===null||(0,a.default)(u)!=="object")return u;var t;if(Array.isArray(u)){t=[];for(var n=0;n<u.length;n++)t.push(o(u[n],i,r))}else t={},Object.keys(u).forEach(function(s){t[l(s,i,r)]=o(u[s],i,r)});return t}v.formatObjKey=o;function l(u,i,r){return r&&r.exclude&&r.exclude.includes(u)||(i==="firstUpperCase"?u=u.replace(/^./,function(t){return t.toUpperCase()}):i==="firstLowerCase"&&(u=u.replace(/^./,function(t){return t.toLowerCase()}))),u}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(e,g,v){"use strict";e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.getStrBytesCount=void 0;function c(a){for(var o=0,l=0;l<a.length;l++){var u=a.charAt(l);/^[\u00-\uff]$/.test(u)?o+=1:o+=2}return o}v.getStrBytesCount=c},{"core-js/modules/es.regexp.exec.js":300}],63:[function(e,g,v){"use strict";e("core-js/modules/es.object.to-string.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.isArray=void 0,v.isArray=function(c){return Object.prototype.toString.call(c)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(e,g,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.isBlob=void 0;function c(a){return typeof Blob!="undefined"&&a instanceof Blob}v.isBlob=c},{}],65:[function(e,g,v){(function(c){(function(){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.isBuffer=void 0;function a(o){return c.isBuffer(o)}v.isBuffer=a}).call(this)}).call(this,{isBuffer:e("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(e,g,v){(function(c){(function(){"use strict";e("core-js/modules/es.array.includes.js"),e("core-js/modules/es.string.includes.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.isDingTalk=void 0;function a(){return!!(c.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}v.isDingTalk=a}).call(this)}).call(this,e("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(e,g,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.isFile=void 0,v.isFile=function(c){return typeof File!="undefined"&&c instanceof File}},{}],68:[function(e,g,v){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.isFunction=void 0,v.isFunction=function(c){return typeof c=="function"}},{}],69:[function(e,g,v){"use strict";e("core-js/modules/es.regexp.exec.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.isIP=void 0,v.isIP=function(c){var a=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,o=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return a.test(c)||o.test(c)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(e,g,v){"use strict";e("core-js/modules/es.object.to-string.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.isObject=void 0,v.isObject=function(c){return Object.prototype.toString.call(c)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(e,g,v){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.lowercaseKeyHeader=void 0;var c=e("./isObject");function a(o){var l={};return c.isObject(o)&&Object.keys(o).forEach(function(u){l[u.toLowerCase()]=o[u]}),l}v.lowercaseKeyHeader=a},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(e,g,v){"use strict";e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.obj2xml=void 0;var c=e("./formatObjKey");function a(l){return Object.prototype.toString.call(l).replace(/(.*? |])/g,"").toLowerCase()}function o(l,u){var i="";return u&&u.headers&&(i=`<?xml version="1.0" encoding="UTF-8"?>
`),u&&u.firstUpperCase&&(l=c.formatObjKey(l,"firstUpperCase")),a(l)==="object"?Object.keys(l).forEach(function(r){a(l[r])!=="undefined"&&a(l[r])!=="null"&&(a(l[r])==="string"||a(l[r])==="number"?i+="<".concat(r,">").concat(l[r],"</").concat(r,">"):a(l[r])==="object"?i+="<".concat(r,">").concat(o(l[r]),"</").concat(r,">"):a(l[r])==="array"?i+=l[r].map(function(t){return"<".concat(r,">").concat(o(t),"</").concat(r,">")}).join(""):i+="<".concat(r,">").concat(l[r].toString(),"</").concat(r,">"))}):i+=l.toString(),i}v.obj2xml=o},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(e,g,v){"use strict";e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.array.from.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.symbol.iterator.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/es.object.assign.js");function c(u,i){var r=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(!r){if(Array.isArray(u)||(r=a(u))||i&&u&&typeof u.length=="number"){r&&(u=r);var t=0,n=function(){};return{s:n,n:function(){return t>=u.length?{done:!0}:{done:!1,value:u[t++]}},e:function(y){throw y},f:n}}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 s=!0,d=!1,m;return{s:function(){r=r.call(u)},n:function(){var y=r.next();return s=y.done,y},e:function(y){d=!0,m=y},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(d)throw m}}}}function a(u,i){if(u){if(typeof u=="string")return o(u,i);var r=Object.prototype.toString.call(u).slice(8,-1);if(r==="Object"&&u.constructor&&(r=u.constructor.name),r==="Map"||r==="Set")return Array.from(u);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(u,i)}}function o(u,i){(i==null||i>u.length)&&(i=u.length);for(var r=0,t=new Array(i);r<i;r++)t[r]=u[r];return t}Object.defineProperty(v,"__esModule",{value:!0}),v.omit=void 0;function l(u,i){var r=Object.assign({},u),t=c(i),n;try{for(t.s();!(n=t.n()).done;){var s=n.value;delete r[s]}}catch(d){t.e(d)}finally{t.f()}return r}v.omit=l},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(e,g,v){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),Object.defineProperty(v,"__esModule",{value:!0}),v.retry=void 0;function c(a,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=0,i=l.retryDelay,r=i===void 0?500:i,t=l.errorHandler,n=t===void 0?function(){return!0}:t,s=function d(){for(var m=arguments.length,h=new Array(m),y=0;y<m;y++)h[y]=arguments[y];return new Promise(function(p,b){a.apply(void 0,h).then(function(x){u=0,p(x)}).catch(function(x){u<o&&n(x)?(u++,setTimeout(function(){p(d.apply(void 0,h))},r)):(u=0,b(x))})})};return s}v.retry=c},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(e,g,v){"use strict";var c=function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(v,"__esModule",{value:!0}),v.setRegion=void 0;var a=c(e("url")),o=e("./checkConfigValid");function l(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;o.checkConfigValid(u,"region");var t=r?"https://":"http://",n=i?"-internal.aliyuncs.com":".aliyuncs.com",s="vpc100-oss-cn-";return u.substr(0,s.length)===s&&(n=".aliyuncs.com"),a.default.parse(t+u+n)}v.setRegion=l},{"./checkConfigValid":52,url:472}],76:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/regenerator"));e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.array.find.js"),e("core-js/modules/es.object.assign.js");var o=c(e("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(v,"__esModule",{value:!0}),v.checkCredentials=v.setSTSToken=void 0;var l=e("./formatObjKey");function u(){return i.apply(this,arguments)}function i(){return i=(0,o.default)(a.default.mark(function t(){var n,s;return a.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(this.options||(this.options={}),n=new Date,!this.stsTokenFreshTime){m.next=14;break}if(!(+n-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){m.next=12;break}return this.stsTokenFreshTime=n,m.next=7,this.options.refreshSTSToken();case 7:s=m.sent,s=l.formatObjKey(s,"firstLowerCase"),s.securityToken&&(s.stsToken=s.securityToken),r(s),Object.assign(this.options,s);case 12:m.next=15;break;case 14:this.stsTokenFreshTime=n;case 15:return m.abrupt("return",null);case 16:case"end":return m.stop()}},t,this)})),i.apply(this,arguments)}v.setSTSToken=u;function r(t){var n=["accessKeySecret","accessKeyId","stsToken"],s=Object.keys(t);n.forEach(function(d){if(!s.find(function(m){return m===d}))throw Error("refreshSTSToken must return contains ".concat(d))})}v.checkCredentials=r},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(e,g,v){function c(o,l,u,i,r,t,n){try{var s=o[t](n),d=s.value}catch(m){u(m);return}s.done?l(d):Promise.resolve(d).then(i,r)}function a(o){return function(){var l=this,u=arguments;return new Promise(function(i,r){var t=o.apply(l,u);function n(d){c(t,i,r,n,s,"next",d)}function s(d){c(t,i,r,n,s,"throw",d)}n(void 0)})}}g.exports=a,g.exports.__esModule=!0,g.exports.default=g.exports},{}],78:[function(e,g,v){function c(a){return a&&a.__esModule?a:{default:a}}g.exports=c,g.exports.__esModule=!0,g.exports.default=g.exports},{}],79:[function(e,g,v){function c(a){"@babel/helpers - typeof";return g.exports=c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},g.exports.__esModule=!0,g.exports.default=g.exports,c(a)}g.exports=c,g.exports.__esModule=!0,g.exports.default=g.exports},{}],80:[function(e,g,v){g.exports=e("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(e,g,v){g.exports=c,g.exports.HttpsAgent=c;function c(){}},{}],82:[function(e,g,v){(function(c){(function(){"use strict";var a=e("object-assign");function o(O,N){if(O===N)return 0;for(var H=O.length,V=N.length,B=0,te=Math.min(H,V);B<te;++B)if(O[B]!==N[B]){H=O[B],V=N[B];break}return H<V?-1:V<H?1:0}function l(O){return c.Buffer&&typeof c.Buffer.isBuffer=="function"?c.Buffer.isBuffer(O):!!(O!=null&&O._isBuffer)}var u=e("util/"),i=Object.prototype.hasOwnProperty,r=Array.prototype.slice,t=function(){return function(){}.name==="foo"}();function n(O){return Object.prototype.toString.call(O)}function s(O){return l(O)||typeof c.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(O):O?!!(O instanceof DataView||O.buffer&&O.buffer instanceof ArrayBuffer):!1}var d=g.exports=S,m=/\s*function\s+([^\(\s]*)\s*/;function h(O){if(u.isFunction(O)){if(t)return O.name;var N=O.toString(),H=N.match(m);return H&&H[1]}}d.AssertionError=function(N){this.name="AssertionError",this.actual=N.actual,this.expected=N.expected,this.operator=N.operator,N.message?(this.message=N.message,this.generatedMessage=!1):(this.message=b(this),this.generatedMessage=!0);var H=N.stackStartFunction||x;if(Error.captureStackTrace)Error.captureStackTrace(this,H);else{var V=new Error;if(V.stack){var B=V.stack,te=h(H),ee=B.indexOf(`
`+te);if(ee>=0){var J=B.indexOf(`
`,ee+1);B=B.substring(J+1)}this.stack=B}}},u.inherits(d.AssertionError,Error);function y(O,N){return typeof O=="string"?O.length<N?O:O.slice(0,N):O}function p(O){if(t||!u.isFunction(O))return u.inspect(O);var N=h(O),H=N?": "+N:"";return"[Function"+H+"]"}function b(O){return y(p(O.actual),128)+" "+O.operator+" "+y(p(O.expected),128)}function x(O,N,H,V,B){throw new d.AssertionError({message:H,actual:O,expected:N,operator:V,stackStartFunction:B})}d.fail=x;function S(O,N){O||x(O,!0,N,"==",d.ok)}d.ok=S,d.equal=function(N,H,V){N!=H&&x(N,H,V,"==",d.equal)},d.notEqual=function(N,H,V){N==H&&x(N,H,V,"!=",d.notEqual)},d.deepEqual=function(N,H,V){w(N,H,!1)||x(N,H,V,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(N,H,V){w(N,H,!0)||x(N,H,V,"deepStrictEqual",d.deepStrictEqual)};function w(O,N,H,V){if(O===N)return!0;if(l(O)&&l(N))return o(O,N)===0;if(u.isDate(O)&&u.isDate(N))return O.getTime()===N.getTime();if(u.isRegExp(O)&&u.isRegExp(N))return O.source===N.source&&O.global===N.global&&O.multiline===N.multiline&&O.lastIndex===N.lastIndex&&O.ignoreCase===N.ignoreCase;if((O===null||typeof O!="object")&&(N===null||typeof N!="object"))return H?O===N:O==N;if(s(O)&&s(N)&&n(O)===n(N)&&!(O instanceof Float32Array||O instanceof Float64Array))return o(new Uint8Array(O.buffer),new Uint8Array(N.buffer))===0;if(l(O)!==l(N))return!1;V=V||{actual:[],expected:[]};var B=V.actual.indexOf(O);return B!==-1&&B===V.expected.indexOf(N)?!0:(V.actual.push(O),V.expected.push(N),C(O,N,H,V))}function _(O){return Object.prototype.toString.call(O)=="[object Arguments]"}function C(O,N,H,V){if(O==null||N===null||N===void 0)return!1;if(u.isPrimitive(O)||u.isPrimitive(N))return O===N;if(H&&Object.getPrototypeOf(O)!==Object.getPrototypeOf(N))return!1;var B=_(O),te=_(N);if(B&&!te||!B&&te)return!1;if(B)return O=r.call(O),N=r.call(N),w(O,N,H);var ee=L(O),J=L(N),Q,re;if(ee.length!==J.length)return!1;for(ee.sort(),J.sort(),re=ee.length-1;re>=0;re--)if(ee[re]!==J[re])return!1;for(re=ee.length-1;re>=0;re--)if(Q=ee[re],!w(O[Q],N[Q],H,V))return!1;return!0}d.notDeepEqual=function(N,H,V){w(N,H,!1)&&x(N,H,V,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=E;function E(O,N,H){w(O,N,!0)&&x(O,N,H,"notDeepStrictEqual",E)}d.strictEqual=function(N,H,V){N!==H&&x(N,H,V,"===",d.strictEqual)},d.notStrictEqual=function(N,H,V){N===H&&x(N,H,V,"!==",d.notStrictEqual)};function T(O,N){if(!O||!N)return!1;if(Object.prototype.toString.call(N)=="[object RegExp]")return N.test(O);try{if(O instanceof N)return!0}catch(H){}return Error.isPrototypeOf(N)?!1:N.call({},O)===!0}function R(O){var N;try{O()}catch(H){N=H}return N}function k(O,N,H,V){var B;if(typeof N!="function")throw new TypeError('"block" argument must be a function');typeof H=="string"&&(V=H,H=null),B=R(N),V=(H&&H.name?" ("+H.name+").":".")+(V?" "+V:"."),O&&!B&&x(B,H,"Missing expected exception"+V);var te=typeof V=="string",ee=!O&&u.isError(B),J=!O&&B&&!H;if((ee&&te&&T(B,H)||J)&&x(B,H,"Got unwanted exception"+V),O&&B&&H&&!T(B,H)||!O&&B)throw B}d.throws=function(O,N,H){k(!0,O,N,H)},d.doesNotThrow=function(O,N,H){k(!1,O,N,H)},d.ifError=function(O){if(O)throw O};function P(O,N){O||x(O,!0,N,"==",P)}d.strict=a(P,d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var L=Object.keys||function(O){var N=[];for(var H in O)i.call(O,H)&&N.push(H);return N}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(e,g,v){typeof Object.create=="function"?g.exports=function(a,o){a.super_=o,a.prototype=Object.create(o.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:g.exports=function(a,o){a.super_=o;var l=function(){};l.prototype=o.prototype,a.prototype=new l,a.prototype.constructor=a}},{}],84:[function(e,g,v){g.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],85:[function(e,g,v){(function(c,a){(function(){var o=/%[sdj%]/g;v.format=function(J){if(!C(J)){for(var Q=[],re=0;re<arguments.length;re++)Q.push(i(arguments[re]));return Q.join(" ")}for(var re=1,Z=arguments,X=Z.length,$=String(J).replace(o,function(de){if(de==="%%")return"%";if(re>=X)return de;switch(de){case"%s":return String(Z[re++]);case"%d":return Number(Z[re++]);case"%j":try{return JSON.stringify(Z[re++])}catch(pe){return"[Circular]"}default:return de}}),ie=Z[re];re<X;ie=Z[++re])S(ie)||!k(ie)?$+=" "+ie:$+=" "+i(ie);return $},v.deprecate=function(J,Q){if(T(a.process))return function(){return v.deprecate(J,Q).apply(this,arguments)};if(c.noDeprecation===!0)return J;var re=!1;function Z(){if(!re){if(c.throwDeprecation)throw new Error(Q);c.traceDeprecation?console.trace(Q):console.error(Q),re=!0}return J.apply(this,arguments)}return Z};var l={},u;v.debuglog=function(J){if(T(u)&&(u=c.env.NODE_DEBUG||""),J=J.toUpperCase(),!l[J])if(new RegExp("\\b"+J+"\\b","i").test(u)){var Q=c.pid;l[J]=function(){var re=v.format.apply(v,arguments);console.error("%s %d: %s",J,Q,re)}}else l[J]=function(){};return l[J]};function i(J,Q){var re={seen:[],stylize:t};return arguments.length>=3&&(re.depth=arguments[2]),arguments.length>=4&&(re.colors=arguments[3]),x(Q)?re.showHidden=Q:Q&&v._extend(re,Q),T(re.showHidden)&&(re.showHidden=!1),T(re.depth)&&(re.depth=2),T(re.colors)&&(re.colors=!1),T(re.customInspect)&&(re.customInspect=!0),re.colors&&(re.stylize=r),s(re,J,re.depth)}v.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function r(J,Q){var re=i.styles[Q];return re?"\x1B["+i.colors[re][0]+"m"+J+"\x1B["+i.colors[re][1]+"m":J}function t(J,Q){return J}function n(J){var Q={};return J.forEach(function(re,Z){Q[re]=!0}),Q}function s(J,Q,re){if(J.customInspect&&Q&&O(Q.inspect)&&Q.inspect!==v.inspect&&!(Q.constructor&&Q.constructor.prototype===Q)){var Z=Q.inspect(re,J);return C(Z)||(Z=s(J,Z,re)),Z}var X=d(J,Q);if(X)return X;var $=Object.keys(Q),ie=n($);if(J.showHidden&&($=Object.getOwnPropertyNames(Q)),L(Q)&&($.indexOf("message")>=0||$.indexOf("description")>=0))return m(Q);if($.length===0){if(O(Q)){var de=Q.name?": "+Q.name:"";return J.stylize("[Function"+de+"]","special")}if(R(Q))return J.stylize(RegExp.prototype.toString.call(Q),"regexp");if(P(Q))return J.stylize(Date.prototype.toString.call(Q),"date");if(L(Q))return m(Q)}var pe="",G=!1,I=["{","}"];if(b(Q)&&(G=!0,I=["[","]"]),O(Q)){var q=Q.name?": "+Q.name:"";pe=" [Function"+q+"]"}if(R(Q)&&(pe=" "+RegExp.prototype.toString.call(Q)),P(Q)&&(pe=" "+Date.prototype.toUTCString.call(Q)),L(Q)&&(pe=" "+m(Q)),$.length===0&&(!G||Q.length==0))return I[0]+pe+I[1];if(re<0)return R(Q)?J.stylize(RegExp.prototype.toString.call(Q),"regexp"):J.stylize("[Object]","special");J.seen.push(Q);var F;return G?F=h(J,Q,re,ie,$):F=$.map(function(Y){return y(J,Q,re,ie,Y,G)}),J.seen.pop(),p(F,pe,I)}function d(J,Q){if(T(Q))return J.stylize("undefined","undefined");if(C(Q)){var re="'"+JSON.stringify(Q).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return J.stylize(re,"string")}if(_(Q))return J.stylize(""+Q,"number");if(x(Q))return J.stylize(""+Q,"boolean");if(S(Q))return J.stylize("null","null")}function m(J){return"["+Error.prototype.toString.call(J)+"]"}function h(J,Q,re,Z,X){for(var $=[],ie=0,de=Q.length;ie<de;++ie)ee(Q,String(ie))?$.push(y(J,Q,re,Z,String(ie),!0)):$.push("");return X.forEach(function(pe){pe.match(/^\d+$/)||$.push(y(J,Q,re,Z,pe,!0))}),$}function y(J,Q,re,Z,X,$){var ie,de,pe;if(pe=Object.getOwnPropertyDescriptor(Q,X)||{value:Q[X]},pe.get?pe.set?de=J.stylize("[Getter/Setter]","special"):de=J.stylize("[Getter]","special"):pe.set&&(de=J.stylize("[Setter]","special")),ee(Z,X)||(ie="["+X+"]"),de||(J.seen.indexOf(pe.value)<0?(S(re)?de=s(J,pe.value,null):de=s(J,pe.value,re-1),de.indexOf(`
`)>-1&&($?de=de.split(`
`).map(function(G){return" "+G}).join(`
`).substr(2):de=`
`+de.split(`
`).map(function(G){return" "+G}).join(`
`))):de=J.stylize("[Circular]","special")),T(ie)){if($&&X.match(/^\d+$/))return de;ie=JSON.stringify(""+X),ie.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ie=ie.substr(1,ie.length-2),ie=J.stylize(ie,"name")):(ie=ie.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ie=J.stylize(ie,"string"))}return ie+": "+de}function p(J,Q,re){var Z=0,X=J.reduce(function($,ie){return Z++,ie.indexOf(`
`)>=0&&Z++,$+ie.replace(/\u001b\[\d\d?m/g,"").length+1},0);return X>60?re[0]+(Q===""?"":Q+`
`)+" "+J.join(`,
`)+" "+re[1]:re[0]+Q+" "+J.join(", ")+" "+re[1]}function b(J){return Array.isArray(J)}v.isArray=b;function x(J){return typeof J=="boolean"}v.isBoolean=x;function S(J){return J===null}v.isNull=S;function w(J){return J==null}v.isNullOrUndefined=w;function _(J){return typeof J=="number"}v.isNumber=_;function C(J){return typeof J=="string"}v.isString=C;function E(J){return typeof J=="symbol"}v.isSymbol=E;function T(J){return J===void 0}v.isUndefined=T;function R(J){return k(J)&&H(J)==="[object RegExp]"}v.isRegExp=R;function k(J){return typeof J=="object"&&J!==null}v.isObject=k;function P(J){return k(J)&&H(J)==="[object Date]"}v.isDate=P;function L(J){return k(J)&&(H(J)==="[object Error]"||J instanceof Error)}v.isError=L;function O(J){return typeof J=="function"}v.isFunction=O;function N(J){return J===null||typeof J=="boolean"||typeof J=="number"||typeof J=="string"||typeof J=="symbol"||typeof J=="undefined"}v.isPrimitive=N,v.isBuffer=e("./support/isBuffer");function H(J){return Object.prototype.toString.call(J)}function V(J){return J<10?"0"+J.toString(10):J.toString(10)}var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function te(){var J=new Date,Q=[V(J.getHours()),V(J.getMinutes()),V(J.getSeconds())].join(":");return[J.getDate(),B[J.getMonth()],Q].join(" ")}v.log=function(){console.log("%s - %s",te(),v.format.apply(v,arguments))},v.inherits=e("inherits"),v._extend=function(J,Q){if(!Q||!k(Q))return J;for(var re=Object.keys(Q),Z=re.length;Z--;)J[re[Z]]=Q[re[Z]];return J};function ee(J,Q){return Object.prototype.hasOwnProperty.call(J,Q)}}).call(this)}).call(this,e("_process"),typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(e,g,v){(function(c){(function(){"use strict";var a=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o=typeof globalThis=="undefined"?c:globalThis;g.exports=function(){for(var u=[],i=0;i<a.length;i++)typeof o[a[i]]=="function"&&(u[u.length]=a[i]);return u}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(e,g,v){"use strict";v.byteLength=t,v.toByteArray=s,v.fromByteArray=h;for(var c=[],a=[],o=typeof Uint8Array!="undefined"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,i=l.length;u<i;++u)c[u]=l[u],a[l.charCodeAt(u)]=u;a[45]=62,a[95]=63;function r(y){var p=y.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=y.indexOf("=");b===-1&&(b=p);var x=b===p?0:4-b%4;return[b,x]}function t(y){var p=r(y),b=p[0],x=p[1];return(b+x)*3/4-x}function n(y,p,b){return(p+b)*3/4-b}function s(y){var p,b=r(y),x=b[0],S=b[1],w=new o(n(y,x,S)),_=0,C=S>0?x-4:x,E;for(E=0;E<C;E+=4)p=a[y.charCodeAt(E)]<<18|a[y.charCodeAt(E+1)]<<12|a[y.charCodeAt(E+2)]<<6|a[y.charCodeAt(E+3)],w[_++]=p>>16&255,w[_++]=p>>8&255,w[_++]=p&255;return S===2&&(p=a[y.charCodeAt(E)]<<2|a[y.charCodeAt(E+1)]>>4,w[_++]=p&255),S===1&&(p=a[y.charCodeAt(E)]<<10|a[y.charCodeAt(E+1)]<<4|a[y.charCodeAt(E+2)]>>2,w[_++]=p>>8&255,w[_++]=p&255),w}function d(y){return c[y>>18&63]+c[y>>12&63]+c[y>>6&63]+c[y&63]}function m(y,p,b){for(var x,S=[],w=p;w<b;w+=3)x=(y[w]<<16&16711680)+(y[w+1]<<8&65280)+(y[w+2]&255),S.push(d(x));return S.join("")}function h(y){for(var p,b=y.length,x=b%3,S=[],w=16383,_=0,C=b-x;_<C;_+=w)S.push(m(y,_,_+w>C?C:_+w));return x===1?(p=y[b-1],S.push(c[p>>2]+c[p<<4&63]+"==")):x===2&&(p=(y[b-2]<<8)+y[b-1],S.push(c[p>>10]+c[p>>4&63]+c[p<<2&63]+"=")),S.join("")}},{}],88:[function(e,g,v){(function(c,a,o){typeof g!="undefined"&&g.exports?g.exports=o():typeof A=="function"&&A.amd?A(a,o):c[a]=o()})(this,"bowser",function(){var c=!0;function a(n){function s(Q){var re=n.match(Q);return re&&re.length>1&&re[1]||""}function d(Q){var re=n.match(Q);return re&&re.length>1&&re[2]||""}var m=s(/(ipod|iphone|ipad)/i).toLowerCase(),h=/like android/i.test(n),y=!h&&/android/i.test(n),p=/nexus\s*[0-6]\s*/i.test(n),b=!p&&/nexus\s*[0-9]+/i.test(n),x=/CrOS/.test(n),S=/silk/i.test(n),w=/sailfish/i.test(n),_=/tizen/i.test(n),C=/(web|hpw)(o|0)s/i.test(n),E=/windows phone/i.test(n),T=/SamsungBrowser/i.test(n),R=!E&&/windows/i.test(n),k=!m&&!S&&/macintosh/i.test(n),P=!y&&!w&&!_&&!C&&/linux/i.test(n),L=d(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),O=s(/version\/(\d+(\.\d+)?)/i),N=/tablet/i.test(n)&&!/tablet pc/i.test(n),H=!N&&/[^-]mobi/i.test(n),V=/xbox/i.test(n),B;/opera/i.test(n)?B={name:"Opera",opera:c,version:O||s(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(n)?B={name:"Opera",opera:c,version:s(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||O}:/SamsungBrowser/i.test(n)?B={name:"Samsung Internet for Android",samsungBrowser:c,version:O||s(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(n)?B={name:"NAVER Whale browser",whale:c,version:s(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(n)?B={name:"MZ Browser",mzbrowser:c,version:s(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(n)?B={name:"Opera Coast",coast:c,version:O||s(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(n)?B={name:"Focus",focus:c,version:s(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(n)?B={name:"Yandex Browser",yandexbrowser:c,version:O||s(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(n)?B={name:"UC Browser",ucbrowser:c,version:s(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(n)?B={name:"Maxthon",maxthon:c,version:s(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(n)?B={name:"Epiphany",epiphany:c,version:s(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(n)?B={name:"Puffin",puffin:c,version:s(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(n)?B={name:"Sleipnir",sleipnir:c,version:s(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(n)?B={name:"K-Meleon",kMeleon:c,version:s(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:E?(B={name:"Windows Phone",osname:"Windows Phone",windowsphone:c},L?(B.msedge=c,B.version=L):(B.msie=c,B.version=s(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(n)?B={name:"Internet Explorer",msie:c,version:s(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:x?B={name:"Chrome",osname:"Chrome OS",chromeos:c,chromeBook:c,chrome:c,version:s(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(n)?B={name:"Microsoft Edge",msedge:c,version:L}:/vivaldi/i.test(n)?B={name:"Vivaldi",vivaldi:c,version:s(/vivaldi\/(\d+(\.\d+)?)/i)||O}:w?B={name:"Sailfish",osname:"Sailfish OS",sailfish:c,version:s(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(n)?B={name:"SeaMonkey",seamonkey:c,version:s(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(n)?(B={name:"Firefox",firefox:c,version:s(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(n)&&(B.firefoxos=c,B.osname="Firefox OS")):S?B={name:"Amazon Silk",silk:c,version:s(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(n)?B={name:"PhantomJS",phantom:c,version:s(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(n)?B={name:"SlimerJS",slimer:c,version:s(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(n)||/rim\stablet/i.test(n)?B={name:"BlackBerry",osname:"BlackBerry OS",blackberry:c,version:O||s(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:C?(B={name:"WebOS",osname:"WebOS",webos:c,version:O||s(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(n)&&(B.touchpad=c)):/bada/i.test(n)?B={name:"Bada",osname:"Bada",bada:c,version:s(/dolfin\/(\d+(\.\d+)?)/i)}:_?B={name:"Tizen",osname:"Tizen",tizen:c,version:s(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O}:/qupzilla/i.test(n)?B={name:"QupZilla",qupzilla:c,version:s(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||O}:/chromium/i.test(n)?B={name:"Chromium",chromium:c,version:s(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||O}:/chrome|crios|crmo/i.test(n)?B={name:"Chrome",chrome:c,version:s(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:y?B={name:"Android",version:O}:/safari|applewebkit/i.test(n)?(B={name:"Safari",safari:c},O&&(B.version=O)):m?(B={name:m=="iphone"?"iPhone":m=="ipad"?"iPad":"iPod"},O&&(B.version=O)):/googlebot/i.test(n)?B={name:"Googlebot",googlebot:c,version:s(/googlebot\/(\d+(\.\d+))/i)||O}:B={name:s(/^(.*)\/(.*) /),version:d(/^(.*)\/(.*) /)},!B.msedge&&/(apple)?webkit/i.test(n)?(/(apple)?webkit\/537\.36/i.test(n)?(B.name=B.name||"Blink",B.blink=c):(B.name=B.name||"Webkit",B.webkit=c),!B.version&&O&&(B.version=O)):!B.opera&&/gecko\//i.test(n)&&(B.name=B.name||"Gecko",B.gecko=c,B.version=B.version||s(/gecko\/(\d+(\.\d+)?)/i)),!B.windowsphone&&(y||B.silk)?(B.android=c,B.osname="Android"):!B.windowsphone&&m?(B[m]=c,B.ios=c,B.osname="iOS"):k?(B.mac=c,B.osname="macOS"):V?(B.xbox=c,B.osname="Xbox"):R?(B.windows=c,B.osname="Windows"):P&&(B.linux=c,B.osname="Linux");function te(Q){switch(Q){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var ee="";B.windows?ee=te(s(/Windows ((NT|XP)( \d\d?.\d)?)/i)):B.windowsphone?ee=s(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):B.mac?(ee=s(/Mac OS X (\d+([_\.\s]\d+)*)/i),ee=ee.replace(/[_\s]/g,".")):m?(ee=s(/os (\d+([_\s]\d+)*) like mac os x/i),ee=ee.replace(/[_\s]/g,".")):y?ee=s(/android[ \/-](\d+(\.\d+)*)/i):B.webos?ee=s(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):B.blackberry?ee=s(/rim\stablet\sos\s(\d+(\.\d+)*)/i):B.bada?ee=s(/bada\/(\d+(\.\d+)*)/i):B.tizen&&(ee=s(/tizen[\/\s](\d+(\.\d+)*)/i)),ee&&(B.osversion=ee);var J=!B.windows&&ee.split(".")[0];return N||b||m=="ipad"||y&&(J==3||J>=4&&!H)||B.silk?B.tablet=c:(H||m=="iphone"||m=="ipod"||y||p||B.blackberry||B.webos||B.bada)&&(B.mobile=c),B.msedge||B.msie&&B.version>=10||B.yandexbrowser&&B.version>=15||B.vivaldi&&B.version>=1||B.chrome&&B.version>=20||B.samsungBrowser&&B.version>=4||B.whale&&i([B.version,"1.0"])===1||B.mzbrowser&&i([B.version,"6.0"])===1||B.focus&&i([B.version,"1.0"])===1||B.firefox&&B.version>=20||B.safari&&B.version>=6||B.opera&&B.version>=10||B.ios&&B.osversion&&B.osversion.split(".")[0]>=6||B.blackberry&&B.version>=10.1||B.chromium&&B.version>=20?B.a=c:B.msie&&B.version<10||B.chrome&&B.version<20||B.firefox&&B.version<20||B.safari&&B.version<6||B.opera&&B.version<10||B.ios&&B.osversion&&B.osversion.split(".")[0]<6||B.chromium&&B.version<20?B.c=c:B.x=c,B}var o=a(typeof navigator!="undefined"&&navigator.userAgent||"");o.test=function(n){for(var s=0;s<n.length;++s){var d=n[s];if(typeof d=="string"&&d in o)return!0}return!1};function l(n){return n.split(".").length}function u(n,s){var d=[],m;if(Array.prototype.map)return Array.prototype.map.call(n,s);for(m=0;m<n.length;m++)d.push(s(n[m]));return d}function i(n){for(var s=Math.max(l(n[0]),l(n[1])),d=u(n,function(m){var h=s-l(m);return m=m+new Array(h+1).join(".0"),u(m.split("."),function(y){return new Array(20-y.length).join("0")+y}).reverse()});--s>=0;){if(d[0][s]>d[1][s])return 1;if(d[0][s]===d[1][s]){if(s===0)return 0}else return-1}}function r(n,s,d){var m=o;typeof s=="string"&&(d=s,s=void 0),s===void 0&&(s=!1),d&&(m=a(d));var h=""+m.version;for(var y in n)if(n.hasOwnProperty(y)&&m[y]){if(typeof n[y]!="string")throw new Error("Browser version in the minVersion map should be a string: "+y+": "+String(n));return i([h,n[y]])<0}return s}function t(n,s,d){return!r(n,s,d)}return o.isUnsupportedBrowser=r,o.compareVersions=i,o.check=t,o._detect=a,o.detect=a,o})},{}],89:[function(e,g,v){},{}],90:[function(e,g,v){(function(c){(function(){"use strict";var a=e("base64-js"),o=e("ieee754");v.Buffer=r,v.SlowBuffer=x,v.INSPECT_MAX_BYTES=50;var l=2147483647;v.kMaxLength=l,r.TYPED_ARRAY_SUPPORT=u(),!r.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function u(){try{var U=new Uint8Array(1);return U.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},U.foo()===42}catch(M){return!1}}Object.defineProperty(r.prototype,"parent",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.buffer}}),Object.defineProperty(r.prototype,"offset",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.byteOffset}});function i(U){if(U>l)throw new RangeError('The value "'+U+'" is invalid for option "size"');var M=new Uint8Array(U);return M.__proto__=r.prototype,M}function r(U,M,W){if(typeof U=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(U)}return t(U,M,W)}typeof Symbol!="undefined"&&Symbol.species!=null&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),r.poolSize=8192;function t(U,M,W){if(typeof U=="string")return m(U,M);if(ArrayBuffer.isView(U))return h(U);if(U==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(ce(U,ArrayBuffer)||U&&ce(U.buffer,ArrayBuffer))return y(U,M,W);if(typeof U=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var K=U.valueOf&&U.valueOf();if(K!=null&&K!==U)return r.from(K,M,W);var oe=p(U);if(oe)return oe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]=="function")return r.from(U[Symbol.toPrimitive]("string"),M,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}r.from=function(U,M,W){return t(U,M,W)},r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array;function n(U){if(typeof U!="number")throw new TypeError('"size" argument must be of type number');if(U<0)throw new RangeError('The value "'+U+'" is invalid for option "size"')}function s(U,M,W){return n(U),U<=0?i(U):M!==void 0?typeof W=="string"?i(U).fill(M,W):i(U).fill(M):i(U)}r.alloc=function(U,M,W){return s(U,M,W)};function d(U){return n(U),i(U<0?0:b(U)|0)}r.allocUnsafe=function(U){return d(U)},r.allocUnsafeSlow=function(U){return d(U)};function m(U,M){if((typeof M!="string"||M==="")&&(M="utf8"),!r.isEncoding(M))throw new TypeError("Unknown encoding: "+M);var W=S(U,M)|0,K=i(W),oe=K.write(U,M);return oe!==W&&(K=K.slice(0,oe)),K}function h(U){for(var M=U.length<0?0:b(U.length)|0,W=i(M),K=0;K<M;K+=1)W[K]=U[K]&255;return W}function y(U,M,W){if(M<0||U.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if(U.byteLength<M+(W||0))throw new RangeError('"length" is outside of buffer bounds');var K;return M===void 0&&W===void 0?K=new Uint8Array(U):W===void 0?K=new Uint8Array(U,M):K=new Uint8Array(U,M,W),K.__proto__=r.prototype,K}function p(U){if(r.isBuffer(U)){var M=b(U.length)|0,W=i(M);return W.length===0||U.copy(W,0,0,M),W}if(U.length!==void 0)return typeof U.length!="number"||ne(U.length)?i(0):h(U);if(U.type==="Buffer"&&Array.isArray(U.data))return h(U.data)}function b(U){if(U>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return U|0}function x(U){return+U!=U&&(U=0),r.alloc(+U)}r.isBuffer=function(M){return M!=null&&M._isBuffer===!0&&M!==r.prototype},r.compare=function(M,W){if(ce(M,Uint8Array)&&(M=r.from(M,M.offset,M.byteLength)),ce(W,Uint8Array)&&(W=r.from(W,W.offset,W.byteLength)),!r.isBuffer(M)||!r.isBuffer(W))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(M===W)return 0;for(var K=M.length,oe=W.length,he=0,ae=Math.min(K,oe);he<ae;++he)if(M[he]!==W[he]){K=M[he],oe=W[he];break}return K<oe?-1:oe<K?1:0},r.isEncoding=function(M){switch(String(M).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},r.concat=function(M,W){if(!Array.isArray(M))throw new TypeError('"list" argument must be an Array of Buffers');if(M.length===0)return r.alloc(0);var K;if(W===void 0)for(W=0,K=0;K<M.length;++K)W+=M[K].length;var oe=r.allocUnsafe(W),he=0;for(K=0;K<M.length;++K){var ae=M[K];if(ce(ae,Uint8Array)&&(ae=r.from(ae)),!r.isBuffer(ae))throw new TypeError('"list" argument must be an Array of Buffers');ae.copy(oe,he),he+=ae.length}return oe};function S(U,M){if(r.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||ce(U,ArrayBuffer))return U.byteLength;if(typeof U!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);var W=U.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&W===0)return 0;for(var oe=!1;;)switch(M){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return I(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W*2;case"hex":return W>>>1;case"base64":return Y(U).length;default:if(oe)return K?-1:I(U).length;M=(""+M).toLowerCase(),oe=!0}}r.byteLength=S;function w(U,M,W){var K=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0,M>>>=0,W<=M))return"";for(U||(U="utf8");;)switch(U){case"hex":return J(this,M,W);case"utf8":case"utf-8":return H(this,M,W);case"ascii":return te(this,M,W);case"latin1":case"binary":return ee(this,M,W);case"base64":return N(this,M,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,M,W);default:if(K)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),K=!0}}r.prototype._isBuffer=!0;function _(U,M,W){var K=U[M];U[M]=U[W],U[W]=K}r.prototype.swap16=function(){var M=this.length;if(M%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var W=0;W<M;W+=2)_(this,W,W+1);return this},r.prototype.swap32=function(){var M=this.length;if(M%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var W=0;W<M;W+=4)_(this,W,W+3),_(this,W+1,W+2);return this},r.prototype.swap64=function(){var M=this.length;if(M%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var W=0;W<M;W+=8)_(this,W,W+7),_(this,W+1,W+6),_(this,W+2,W+5),_(this,W+3,W+4);return this},r.prototype.toString=function(){var M=this.length;return M===0?"":arguments.length===0?H(this,0,M):w.apply(this,arguments)},r.prototype.toLocaleString=r.prototype.toString,r.prototype.equals=function(M){if(!r.isBuffer(M))throw new TypeError("Argument must be a Buffer");return this===M?!0:r.compare(this,M)===0},r.prototype.inspect=function(){var M="",W=v.INSPECT_MAX_BYTES;return M=this.toString("hex",0,W).replace(/(.{2})/g,"$1 ").trim(),this.length>W&&(M+=" ... "),"<Buffer "+M+">"},r.prototype.compare=function(M,W,K,oe,he){if(ce(M,Uint8Array)&&(M=r.from(M,M.offset,M.byteLength)),!r.isBuffer(M))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof M);if(W===void 0&&(W=0),K===void 0&&(K=M?M.length:0),oe===void 0&&(oe=0),he===void 0&&(he=this.length),W<0||K>M.length||oe<0||he>this.length)throw new RangeError("out of range index");if(oe>=he&&W>=K)return 0;if(oe>=he)return-1;if(W>=K)return 1;if(W>>>=0,K>>>=0,oe>>>=0,he>>>=0,this===M)return 0;for(var ae=he-oe,le=K-W,Se=Math.min(ae,le),ge=this.slice(oe,he),xe=M.slice(W,K),ye=0;ye<Se;++ye)if(ge[ye]!==xe[ye]){ae=ge[ye],le=xe[ye];break}return ae<le?-1:le<ae?1:0};function C(U,M,W,K,oe){if(U.length===0)return-1;if(typeof W=="string"?(K=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),W=+W,ne(W)&&(W=oe?0:U.length-1),W<0&&(W=U.length+W),W>=U.length){if(oe)return-1;W=U.length-1}else if(W<0)if(oe)W=0;else return-1;if(typeof M=="string"&&(M=r.from(M,K)),r.isBuffer(M))return M.length===0?-1:E(U,M,W,K,oe);if(typeof M=="number")return M=M&255,typeof Uint8Array.prototype.indexOf=="function"?oe?Uint8Array.prototype.indexOf.call(U,M,W):Uint8Array.prototype.lastIndexOf.call(U,M,W):E(U,[M],W,K,oe);throw new TypeError("val must be string, number or Buffer")}function E(U,M,W,K,oe){var he=1,ae=U.length,le=M.length;if(K!==void 0&&(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le")){if(U.length<2||M.length<2)return-1;he=2,ae/=2,le/=2,W/=2}function Se(se,fe){return he===1?se[fe]:se.readUInt16BE(fe*he)}var ge;if(oe){var xe=-1;for(ge=W;ge<ae;ge++)if(Se(U,ge)===Se(M,xe===-1?0:ge-xe)){if(xe===-1&&(xe=ge),ge-xe+1===le)return xe*he}else xe!==-1&&(ge-=ge-xe),xe=-1}else for(W+le>ae&&(W=ae-le),ge=W;ge>=0;ge--){for(var ye=!0,Te=0;Te<le;Te++)if(Se(U,ge+Te)!==Se(M,Te)){ye=!1;break}if(ye)return ge}return-1}r.prototype.includes=function(M,W,K){return this.indexOf(M,W,K)!==-1},r.prototype.indexOf=function(M,W,K){return C(this,M,W,K,!0)},r.prototype.lastIndexOf=function(M,W,K){return C(this,M,W,K,!1)};function T(U,M,W,K){W=Number(W)||0;var oe=U.length-W;K?(K=Number(K),K>oe&&(K=oe)):K=oe;var he=M.length;K>he/2&&(K=he/2);for(var ae=0;ae<K;++ae){var le=parseInt(M.substr(ae*2,2),16);if(ne(le))return ae;U[W+ae]=le}return ae}function R(U,M,W,K){return ue(I(M,U.length-W),U,W,K)}function k(U,M,W,K){return ue(q(M),U,W,K)}function P(U,M,W,K){return k(U,M,W,K)}function L(U,M,W,K){return ue(Y(M),U,W,K)}function O(U,M,W,K){return ue(F(M,U.length-W),U,W,K)}r.prototype.write=function(M,W,K,oe){if(W===void 0)oe="utf8",K=this.length,W=0;else if(K===void 0&&typeof W=="string")oe=W,K=this.length,W=0;else if(isFinite(W))W=W>>>0,isFinite(K)?(K=K>>>0,oe===void 0&&(oe="utf8")):(oe=K,K=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var he=this.length-W;if((K===void 0||K>he)&&(K=he),M.length>0&&(K<0||W<0)||W>this.length)throw new RangeError("Attempt to write outside buffer bounds");oe||(oe="utf8");for(var ae=!1;;)switch(oe){case"hex":return T(this,M,W,K);case"utf8":case"utf-8":return R(this,M,W,K);case"ascii":return k(this,M,W,K);case"latin1":case"binary":return P(this,M,W,K);case"base64":return L(this,M,W,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,M,W,K);default:if(ae)throw new TypeError("Unknown encoding: "+oe);oe=(""+oe).toLowerCase(),ae=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function N(U,M,W){return M===0&&W===U.length?a.fromByteArray(U):a.fromByteArray(U.slice(M,W))}function H(U,M,W){W=Math.min(U.length,W);for(var K=[],oe=M;oe<W;){var he=U[oe],ae=null,le=he>239?4:he>223?3:he>191?2:1;if(oe+le<=W){var Se,ge,xe,ye;switch(le){case 1:he<128&&(ae=he);break;case 2:Se=U[oe+1],(Se&192)===128&&(ye=(he&31)<<6|Se&63,ye>127&&(ae=ye));break;case 3:Se=U[oe+1],ge=U[oe+2],(Se&192)===128&&(ge&192)===128&&(ye=(he&15)<<12|(Se&63)<<6|ge&63,ye>2047&&(ye<55296||ye>57343)&&(ae=ye));break;case 4:Se=U[oe+1],ge=U[oe+2],xe=U[oe+3],(Se&192)===128&&(ge&192)===128&&(xe&192)===128&&(ye=(he&15)<<18|(Se&63)<<12|(ge&63)<<6|xe&63,ye>65535&&ye<1114112&&(ae=ye))}}ae===null?(ae=65533,le=1):ae>65535&&(ae-=65536,K.push(ae>>>10&1023|55296),ae=56320|ae&1023),K.push(ae),oe+=le}return B(K)}var V=4096;function B(U){var M=U.length;if(M<=V)return String.fromCharCode.apply(String,U);for(var W="",K=0;K<M;)W+=String.fromCharCode.apply(String,U.slice(K,K+=V));return W}function te(U,M,W){var K="";W=Math.min(U.length,W);for(var oe=M;oe<W;++oe)K+=String.fromCharCode(U[oe]&127);return K}function ee(U,M,W){var K="";W=Math.min(U.length,W);for(var oe=M;oe<W;++oe)K+=String.fromCharCode(U[oe]);return K}function J(U,M,W){var K=U.length;(!M||M<0)&&(M=0),(!W||W<0||W>K)&&(W=K);for(var oe="",he=M;he<W;++he)oe+=G(U[he]);return oe}function Q(U,M,W){for(var K=U.slice(M,W),oe="",he=0;he<K.length;he+=2)oe+=String.fromCharCode(K[he]+K[he+1]*256);return oe}r.prototype.slice=function(M,W){var K=this.length;M=~~M,W=W===void 0?K:~~W,M<0?(M+=K,M<0&&(M=0)):M>K&&(M=K),W<0?(W+=K,W<0&&(W=0)):W>K&&(W=K),W<M&&(W=M);var oe=this.subarray(M,W);return oe.__proto__=r.prototype,oe};function re(U,M,W){if(U%1!==0||U<0)throw new RangeError("offset is not uint");if(U+M>W)throw new RangeError("Trying to access beyond buffer length")}r.prototype.readUIntLE=function(M,W,K){M=M>>>0,W=W>>>0,K||re(M,W,this.length);for(var oe=this[M],he=1,ae=0;++ae<W&&(he*=256);)oe+=this[M+ae]*he;return oe},r.prototype.readUIntBE=function(M,W,K){M=M>>>0,W=W>>>0,K||re(M,W,this.length);for(var oe=this[M+--W],he=1;W>0&&(he*=256);)oe+=this[M+--W]*he;return oe},r.prototype.readUInt8=function(M,W){return M=M>>>0,W||re(M,1,this.length),this[M]},r.prototype.readUInt16LE=function(M,W){return M=M>>>0,W||re(M,2,this.length),this[M]|this[M+1]<<8},r.prototype.readUInt16BE=function(M,W){return M=M>>>0,W||re(M,2,this.length),this[M]<<8|this[M+1]},r.prototype.readUInt32LE=function(M,W){return M=M>>>0,W||re(M,4,this.length),(this[M]|this[M+1]<<8|this[M+2]<<16)+this[M+3]*16777216},r.prototype.readUInt32BE=function(M,W){return M=M>>>0,W||re(M,4,this.length),this[M]*16777216+(this[M+1]<<16|this[M+2]<<8|this[M+3])},r.prototype.readIntLE=function(M,W,K){M=M>>>0,W=W>>>0,K||re(M,W,this.length);for(var oe=this[M],he=1,ae=0;++ae<W&&(he*=256);)oe+=this[M+ae]*he;return he*=128,oe>=he&&(oe-=Math.pow(2,8*W)),oe},r.prototype.readIntBE=function(M,W,K){M=M>>>0,W=W>>>0,K||re(M,W,this.length);for(var oe=W,he=1,ae=this[M+--oe];oe>0&&(he*=256);)ae+=this[M+--oe]*he;return he*=128,ae>=he&&(ae-=Math.pow(2,8*W)),ae},r.prototype.readInt8=function(M,W){return M=M>>>0,W||re(M,1,this.length),this[M]&128?(255-this[M]+1)*-1:this[M]},r.prototype.readInt16LE=function(M,W){M=M>>>0,W||re(M,2,this.length);var K=this[M]|this[M+1]<<8;return K&32768?K|4294901760:K},r.prototype.readInt16BE=function(M,W){M=M>>>0,W||re(M,2,this.length);var K=this[M+1]|this[M]<<8;return K&32768?K|4294901760:K},r.prototype.readInt32LE=function(M,W){return M=M>>>0,W||re(M,4,this.length),this[M]|this[M+1]<<8|this[M+2]<<16|this[M+3]<<24},r.prototype.readInt32BE=function(M,W){return M=M>>>0,W||re(M,4,this.length),this[M]<<24|this[M+1]<<16|this[M+2]<<8|this[M+3]},r.prototype.readFloatLE=function(M,W){return M=M>>>0,W||re(M,4,this.length),o.read(this,M,!0,23,4)},r.prototype.readFloatBE=function(M,W){return M=M>>>0,W||re(M,4,this.length),o.read(this,M,!1,23,4)},r.prototype.readDoubleLE=function(M,W){return M=M>>>0,W||re(M,8,this.length),o.read(this,M,!0,52,8)},r.prototype.readDoubleBE=function(M,W){return M=M>>>0,W||re(M,8,this.length),o.read(this,M,!1,52,8)};function Z(U,M,W,K,oe,he){if(!r.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>oe||M<he)throw new RangeError('"value" argument is out of bounds');if(W+K>U.length)throw new RangeError("Index out of range")}r.prototype.writeUIntLE=function(M,W,K,oe){if(M=+M,W=W>>>0,K=K>>>0,!oe){var he=Math.pow(2,8*K)-1;Z(this,M,W,K,he,0)}var ae=1,le=0;for(this[W]=M&255;++le<K&&(ae*=256);)this[W+le]=M/ae&255;return W+K},r.prototype.writeUIntBE=function(M,W,K,oe){if(M=+M,W=W>>>0,K=K>>>0,!oe){var he=Math.pow(2,8*K)-1;Z(this,M,W,K,he,0)}var ae=K-1,le=1;for(this[W+ae]=M&255;--ae>=0&&(le*=256);)this[W+ae]=M/le&255;return W+K},r.prototype.writeUInt8=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,1,255,0),this[W]=M&255,W+1},r.prototype.writeUInt16LE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,2,65535,0),this[W]=M&255,this[W+1]=M>>>8,W+2},r.prototype.writeUInt16BE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,2,65535,0),this[W]=M>>>8,this[W+1]=M&255,W+2},r.prototype.writeUInt32LE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,4,4294967295,0),this[W+3]=M>>>24,this[W+2]=M>>>16,this[W+1]=M>>>8,this[W]=M&255,W+4},r.prototype.writeUInt32BE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,4,4294967295,0),this[W]=M>>>24,this[W+1]=M>>>16,this[W+2]=M>>>8,this[W+3]=M&255,W+4},r.prototype.writeIntLE=function(M,W,K,oe){if(M=+M,W=W>>>0,!oe){var he=Math.pow(2,8*K-1);Z(this,M,W,K,he-1,-he)}var ae=0,le=1,Se=0;for(this[W]=M&255;++ae<K&&(le*=256);)M<0&&Se===0&&this[W+ae-1]!==0&&(Se=1),this[W+ae]=(M/le>>0)-Se&255;return W+K},r.prototype.writeIntBE=function(M,W,K,oe){if(M=+M,W=W>>>0,!oe){var he=Math.pow(2,8*K-1);Z(this,M,W,K,he-1,-he)}var ae=K-1,le=1,Se=0;for(this[W+ae]=M&255;--ae>=0&&(le*=256);)M<0&&Se===0&&this[W+ae+1]!==0&&(Se=1),this[W+ae]=(M/le>>0)-Se&255;return W+K},r.prototype.writeInt8=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,1,127,-128),M<0&&(M=255+M+1),this[W]=M&255,W+1},r.prototype.writeInt16LE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,2,32767,-32768),this[W]=M&255,this[W+1]=M>>>8,W+2},r.prototype.writeInt16BE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,2,32767,-32768),this[W]=M>>>8,this[W+1]=M&255,W+2},r.prototype.writeInt32LE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,4,2147483647,-2147483648),this[W]=M&255,this[W+1]=M>>>8,this[W+2]=M>>>16,this[W+3]=M>>>24,W+4},r.prototype.writeInt32BE=function(M,W,K){return M=+M,W=W>>>0,K||Z(this,M,W,4,2147483647,-2147483648),M<0&&(M=4294967295+M+1),this[W]=M>>>24,this[W+1]=M>>>16,this[W+2]=M>>>8,this[W+3]=M&255,W+4};function X(U,M,W,K,oe,he){if(W+K>U.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function $(U,M,W,K,oe){return M=+M,W=W>>>0,oe||X(U,M,W,4,34028234663852886e22,-34028234663852886e22),o.write(U,M,W,K,23,4),W+4}r.prototype.writeFloatLE=function(M,W,K){return $(this,M,W,!0,K)},r.prototype.writeFloatBE=function(M,W,K){return $(this,M,W,!1,K)};function ie(U,M,W,K,oe){return M=+M,W=W>>>0,oe||X(U,M,W,8,17976931348623157e292,-17976931348623157e292),o.write(U,M,W,K,52,8),W+8}r.prototype.writeDoubleLE=function(M,W,K){return ie(this,M,W,!0,K)},r.prototype.writeDoubleBE=function(M,W,K){return ie(this,M,W,!1,K)},r.prototype.copy=function(M,W,K,oe){if(!r.isBuffer(M))throw new TypeError("argument should be a Buffer");if(K||(K=0),!oe&&oe!==0&&(oe=this.length),W>=M.length&&(W=M.length),W||(W=0),oe>0&&oe<K&&(oe=K),oe===K||M.length===0||this.length===0)return 0;if(W<0)throw new RangeError("targetStart out of bounds");if(K<0||K>=this.length)throw new RangeError("Index out of range");if(oe<0)throw new RangeError("sourceEnd out of bounds");oe>this.length&&(oe=this.length),M.length-W<oe-K&&(oe=M.length-W+K);var he=oe-K;if(this===M&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(W,K,oe);else if(this===M&&K<W&&W<oe)for(var ae=he-1;ae>=0;--ae)M[ae+W]=this[ae+K];else Uint8Array.prototype.set.call(M,this.subarray(K,oe),W);return he},r.prototype.fill=function(M,W,K,oe){if(typeof M=="string"){if(typeof W=="string"?(oe=W,W=0,K=this.length):typeof K=="string"&&(oe=K,K=this.length),oe!==void 0&&typeof oe!="string")throw new TypeError("encoding must be a string");if(typeof oe=="string"&&!r.isEncoding(oe))throw new TypeError("Unknown encoding: "+oe);if(M.length===1){var he=M.charCodeAt(0);(oe==="utf8"&&he<128||oe==="latin1")&&(M=he)}}else typeof M=="number"&&(M=M&255);if(W<0||this.length<W||this.length<K)throw new RangeError("Out of range index");if(K<=W)return this;W=W>>>0,K=K===void 0?this.length:K>>>0,M||(M=0);var ae;if(typeof M=="number")for(ae=W;ae<K;++ae)this[ae]=M;else{var le=r.isBuffer(M)?M:r.from(M,oe),Se=le.length;if(Se===0)throw new TypeError('The value "'+M+'" is invalid for argument "value"');for(ae=0;ae<K-W;++ae)this[ae+W]=le[ae%Se]}return this};var de=/[^+/0-9A-Za-z-_]/g;function pe(U){if(U=U.split("=")[0],U=U.trim().replace(de,""),U.length<2)return"";for(;U.length%4!==0;)U=U+"=";return U}function G(U){return U<16?"0"+U.toString(16):U.toString(16)}function I(U,M){M=M||1/0;for(var W,K=U.length,oe=null,he=[],ae=0;ae<K;++ae){if(W=U.charCodeAt(ae),W>55295&&W<57344){if(!oe){if(W>56319){(M-=3)>-1&&he.push(239,191,189);continue}else if(ae+1===K){(M-=3)>-1&&he.push(239,191,189);continue}oe=W;continue}if(W<56320){(M-=3)>-1&&he.push(239,191,189),oe=W;continue}W=(oe-55296<<10|W-56320)+65536}else oe&&(M-=3)>-1&&he.push(239,191,189);if(oe=null,W<128){if((M-=1)<0)break;he.push(W)}else if(W<2048){if((M-=2)<0)break;he.push(W>>6|192,W&63|128)}else if(W<65536){if((M-=3)<0)break;he.push(W>>12|224,W>>6&63|128,W&63|128)}else if(W<1114112){if((M-=4)<0)break;he.push(W>>18|240,W>>12&63|128,W>>6&63|128,W&63|128)}else throw new Error("Invalid code point")}return he}function q(U){for(var M=[],W=0;W<U.length;++W)M.push(U.charCodeAt(W)&255);return M}function F(U,M){for(var W,K,oe,he=[],ae=0;ae<U.length&&!((M-=2)<0);++ae)W=U.charCodeAt(ae),K=W>>8,oe=W%256,he.push(oe),he.push(K);return he}function Y(U){return a.toByteArray(pe(U))}function ue(U,M,W,K){for(var oe=0;oe<K&&!(oe+W>=M.length||oe>=U.length);++oe)M[oe+W]=U[oe];return oe}function ce(U,M){return U instanceof M||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===M.name}function ne(U){return U!==U}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(e,g,v){g.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(e,g,v){"use strict";var c=e("get-intrinsic"),a=e("./"),o=a(c("String.prototype.indexOf"));g.exports=function(u,i){var r=c(u,!!i);return typeof r=="function"&&o(u,".prototype.")>-1?a(r):r}},{"./":93,"get-intrinsic":348}],93:[function(e,g,v){"use strict";var c=e("function-bind"),a=e("get-intrinsic"),o=a("%Function.prototype.apply%"),l=a("%Function.prototype.call%"),u=a("%Reflect.apply%",!0)||c.call(l,o),i=a("%Object.getOwnPropertyDescriptor%",!0),r=a("%Object.defineProperty%",!0),t=a("%Math.max%");if(r)try{r({},"a",{value:1})}catch(s){r=null}g.exports=function(d){var m=u(c,l,arguments);if(i&&r){var h=i(m,"length");h.configurable&&r(m,"length",{value:1+t(0,d.length-(arguments.length-1))})}return m};var n=function(){return u(c,o,arguments)};r?r(g.exports,"apply",{value:n}):g.exports.apply=n},{"function-bind":347,"get-intrinsic":348}],94:[function(e,g,v){"use strict";var c=Array.prototype.slice;g.exports=a;function a(l,u){if(!(this instanceof a))return new a(l,u);this.src=l,this._withAccess=u}a.prototype.withAccess=function(l){return this._withAccess=l!==!1,this},a.prototype.pick=function(l){return Array.isArray(l)||(l=c.call(arguments)),l.length&&(this.keys=l),this},a.prototype.to=function(l){if(l=l||{},!this.src)return l;var u=this.keys||Object.keys(this.src);if(!this._withAccess){for(var i=0;i<u.length;i++)r=u[i],l[r]===void 0&&(l[r]=this.src[r]);return l}for(var i=0;i<u.length;i++){var r=u[i];if(o(l,r)){var t=this.src.__lookupGetter__(r),n=this.src.__lookupSetter__(r);t&&l.__defineGetter__(r,t),n&&l.__defineSetter__(r,n),!t&&!n&&(l[r]=this.src[r])}}return l},a.prototype.toCover=function(l){for(var u=this.keys||Object.keys(this.src),i=0;i<u.length;i++){var r=u[i];delete l[r];var t=this.src.__lookupGetter__(r),n=this.src.__lookupSetter__(r);t&&l.__defineGetter__(r,t),n&&l.__defineSetter__(r,n),!t&&!n&&(l[r]=this.src[r])}},a.prototype.override=a.prototype.toCover,a.prototype.and=function(l){var u={};return this.to(u),this.src=l,this.to(u),this.src=u,this};function o(l,u){return l[u]===void 0&&l.__lookupGetter__(u)===void 0&&l.__lookupSetter__(u)===void 0}},{}],95:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-callable"),o=e("../internals/try-to-string"),l=c.TypeError;g.exports=function(u){if(a(u))return u;throw l(o(u)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-constructor"),o=e("../internals/try-to-string"),l=c.TypeError;g.exports=function(u){if(a(u))return u;throw l(o(u)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-callable"),o=c.String,l=c.TypeError;g.exports=function(u){if(typeof u=="object"||a(u))return u;throw l("Can't set "+o(u)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(e,g,v){var c=e("../internals/well-known-symbol"),a=e("../internals/object-create"),o=e("../internals/object-define-property"),l=c("unscopables"),u=Array.prototype;u[l]==null&&o.f(u,l,{configurable:!0,value:a(null)}),g.exports=function(i){u[l][i]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(e,g,v){"use strict";var c=e("../internals/string-multibyte").charAt;g.exports=function(a,o,l){return o+(l?c(a,o).length:1)}},{"../internals/string-multibyte":239}],100:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/object-is-prototype-of"),o=c.TypeError;g.exports=function(l,u){if(a(u,l))return l;throw o("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-object"),o=c.String,l=c.TypeError;g.exports=function(u){if(a(u))return u;throw l(o(u)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(e,g,v){g.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-native"),a=e("../internals/descriptors"),o=e("../internals/global"),l=e("../internals/is-callable"),u=e("../internals/is-object"),i=e("../internals/has-own-property"),r=e("../internals/classof"),t=e("../internals/try-to-string"),n=e("../internals/create-non-enumerable-property"),s=e("../internals/redefine"),d=e("../internals/object-define-property").f,m=e("../internals/object-is-prototype-of"),h=e("../internals/object-get-prototype-of"),y=e("../internals/object-set-prototype-of"),p=e("../internals/well-known-symbol"),b=e("../internals/uid"),x=o.Int8Array,S=x&&x.prototype,w=o.Uint8ClampedArray,_=w&&w.prototype,C=x&&h(x),E=S&&h(S),T=Object.prototype,R=o.TypeError,k=p("toStringTag"),P=b("TYPED_ARRAY_TAG"),L=b("TYPED_ARRAY_CONSTRUCTOR"),O=c&&!!y&&r(o.opera)!=="Opera",N=!1,H,V,B,te={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ee={BigInt64Array:8,BigUint64Array:8},J=function(de){if(!u(de))return!1;var pe=r(de);return pe==="DataView"||i(te,pe)||i(ee,pe)},Q=function(ie){if(!u(ie))return!1;var de=r(ie);return i(te,de)||i(ee,de)},re=function(ie){if(Q(ie))return ie;throw R("Target is not a typed array")},Z=function(ie){if(l(ie)&&(!y||m(C,ie)))return ie;throw R(t(ie)+" is not a typed array constructor")},X=function(ie,de,pe,G){if(a){if(pe)for(var I in te){var q=o[I];if(q&&i(q.prototype,ie))try{delete q.prototype[ie]}catch(F){try{q.prototype[ie]=de}catch(Y){}}}(!E[ie]||pe)&&s(E,ie,pe?de:O&&S[ie]||de,G)}},$=function(ie,de,pe){var G,I;if(a){if(y){if(pe){for(G in te)if(I=o[G],I&&i(I,ie))try{delete I[ie]}catch(q){}}if(!C[ie]||pe)try{return s(C,ie,pe?de:O&&C[ie]||de)}catch(q){}else return}for(G in te)I=o[G],I&&(!I[ie]||pe)&&s(I,ie,de)}};for(H in te)V=o[H],B=V&&V.prototype,B?n(B,L,V):O=!1;for(H in ee)V=o[H],B=V&&V.prototype,B&&n(B,L,V);if((!O||!l(C)||C===Function.prototype)&&(C=function(){throw R("Incorrect invocation")},O))for(H in te)o[H]&&y(o[H],C);if((!O||!E||E===T)&&(E=C.prototype,O))for(H in te)o[H]&&y(o[H].prototype,E);if(O&&h(_)!==E&&y(_,E),a&&!i(E,k)){N=!0,d(E,k,{get:function(){return u(this)?this[P]:void 0}});for(H in te)o[H]&&n(o[H],P,H)}g.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_CONSTRUCTOR:L,TYPED_ARRAY_TAG:N&&P,aTypedArray:re,aTypedArrayConstructor:Z,exportTypedArrayMethod:X,exportTypedArrayStaticMethod:$,isView:J,isTypedArray:Q,TypedArray:C,TypedArrayPrototype:E}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(e,g,v){"use strict";var c=e("../internals/global"),a=e("../internals/function-uncurry-this"),o=e("../internals/descriptors"),l=e("../internals/array-buffer-native"),u=e("../internals/function-name"),i=e("../internals/create-non-enumerable-property"),r=e("../internals/redefine-all"),t=e("../internals/fails"),n=e("../internals/an-instance"),s=e("../internals/to-integer-or-infinity"),d=e("../internals/to-length"),m=e("../internals/to-index"),h=e("../internals/ieee754"),y=e("../internals/object-get-prototype-of"),p=e("../internals/object-set-prototype-of"),b=e("../internals/object-get-own-property-names").f,x=e("../internals/object-define-property").f,S=e("../internals/array-fill"),w=e("../internals/array-slice-simple"),_=e("../internals/set-to-string-tag"),C=e("../internals/internal-state"),E=u.PROPER,T=u.CONFIGURABLE,R=C.get,k=C.set,P="ArrayBuffer",L="DataView",O="prototype",N="Wrong length",H="Wrong index",V=c[P],B=V,te=B&&B[O],ee=c[L],J=ee&&ee[O],Q=Object.prototype,re=c.Array,Z=c.RangeError,X=a(S),$=a([].reverse),ie=h.pack,de=h.unpack,pe=function(ae){return[ae&255]},G=function(ae){return[ae&255,ae>>8&255]},I=function(ae){return[ae&255,ae>>8&255,ae>>16&255,ae>>24&255]},q=function(ae){return ae[3]<<24|ae[2]<<16|ae[1]<<8|ae[0]},F=function(ae){return ie(ae,23,4)},Y=function(ae){return ie(ae,52,8)},ue=function(ae,le){x(ae[O],le,{get:function(){return R(this)[le]}})},ce=function(ae,le,Se,ge){var xe=m(Se),ye=R(ae);if(xe+le>ye.byteLength)throw Z(H);var Te=R(ye.buffer).bytes,se=xe+ye.byteOffset,fe=w(Te,se,se+le);return ge?fe:$(fe)},ne=function(ae,le,Se,ge,xe,ye){var Te=m(Se),se=R(ae);if(Te+le>se.byteLength)throw Z(H);for(var fe=R(se.buffer).bytes,me=Te+se.byteOffset,Ee=ge(+xe),je=0;je<le;je++)fe[me+je]=Ee[ye?je:le-je-1]};if(!l)B=function(le){n(this,te);var Se=m(le);k(this,{bytes:X(re(Se),0),byteLength:Se}),o||(this.byteLength=Se)},te=B[O],ee=function(le,Se,ge){n(this,J),n(le,te);var xe=R(le).byteLength,ye=s(Se);if(ye<0||ye>xe)throw Z("Wrong offset");if(ge=ge===void 0?xe-ye:d(ge),ye+ge>xe)throw Z(N);k(this,{buffer:le,byteLength:ge,byteOffset:ye}),o||(this.buffer=le,this.byteLength=ge,this.byteOffset=ye)},J=ee[O],o&&(ue(B,"byteLength"),ue(ee,"buffer"),ue(ee,"byteLength"),ue(ee,"byteOffset")),r(J,{getInt8:function(le){return ce(this,1,le)[0]<<24>>24},getUint8:function(le){return ce(this,1,le)[0]},getInt16:function(le){var Se=ce(this,2,le,arguments.length>1?arguments[1]:void 0);return(Se[1]<<8|Se[0])<<16>>16},getUint16:function(le){var Se=ce(this,2,le,arguments.length>1?arguments[1]:void 0);return Se[1]<<8|Se[0]},getInt32:function(le){return q(ce(this,4,le,arguments.length>1?arguments[1]:void 0))},getUint32:function(le){return q(ce(this,4,le,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(le){return de(ce(this,4,le,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(le){return de(ce(this,8,le,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(le,Se){ne(this,1,le,pe,Se)},setUint8:function(le,Se){ne(this,1,le,pe,Se)},setInt16:function(le,Se){ne(this,2,le,G,Se,arguments.length>2?arguments[2]:void 0)},setUint16:function(le,Se){ne(this,2,le,G,Se,arguments.length>2?arguments[2]:void 0)},setInt32:function(le,Se){ne(this,4,le,I,Se,arguments.length>2?arguments[2]:void 0)},setUint32:function(le,Se){ne(this,4,le,I,Se,arguments.length>2?arguments[2]:void 0)},setFloat32:function(le,Se){ne(this,4,le,F,Se,arguments.length>2?arguments[2]:void 0)},setFloat64:function(le,Se){ne(this,8,le,Y,Se,arguments.length>2?arguments[2]:void 0)}});else{var U=E&&V.name!==P;if(!t(function(){V(1)})||!t(function(){new V(-1)})||t(function(){return new V,new V(1.5),new V(NaN),U&&!T})){B=function(le){return n(this,te),new V(m(le))},B[O]=te;for(var M=b(V),W=0,K;M.length>W;)(K=M[W++])in B||i(B,K,V[K]);te.constructor=B}else U&&T&&i(V,"name",P);p&&y(J)!==Q&&p(J,Q);var oe=new ee(new B(2)),he=a(J.setInt8);oe.setInt8(0,2147483648),oe.setInt8(1,2147483649),(oe.getInt8(0)||!oe.getInt8(1))&&r(J,{setInt8:function(le,Se){he(this,le,Se<<24>>24)},setUint8:function(le,Se){he(this,le,Se<<24>>24)}},{unsafe:!0})}_(B,P),_(ee,L),g.exports={ArrayBuffer:B,DataView:ee}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(e,g,v){"use strict";var c=e("../internals/to-object"),a=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),l=Math.min;g.exports=[].copyWithin||function(i,r){var t=c(this),n=o(t),s=a(i,n),d=a(r,n),m=arguments.length>2?arguments[2]:void 0,h=l((m===void 0?n:a(m,n))-d,n-s),y=1;for(d<s&&s<d+h&&(y=-1,d+=h-1,s+=h-1);h-- >0;)d in t?t[s]=t[d]:delete t[s],s+=y,d+=y;return t}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(e,g,v){"use strict";var c=e("../internals/to-object"),a=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like");g.exports=function(u){for(var i=c(this),r=o(i),t=arguments.length,n=a(t>1?arguments[1]:void 0,r),s=t>2?arguments[2]:void 0,d=s===void 0?r:a(s,r);d>n;)i[n++]=u;return i}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(e,g,v){"use strict";var c=e("../internals/array-iteration").forEach,a=e("../internals/array-method-is-strict"),o=a("forEach");g.exports=o?[].forEach:function(u){return c(this,u,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(e,g,v){var c=e("../internals/length-of-array-like");g.exports=function(a,o){for(var l=0,u=c(o),i=new a(u);u>l;)i[l]=o[l++];return i}},{"../internals/length-of-array-like":188}],109:[function(e,g,v){"use strict";var c=e("../internals/global"),a=e("../internals/function-bind-context"),o=e("../internals/function-call"),l=e("../internals/to-object"),u=e("../internals/call-with-safe-iteration-closing"),i=e("../internals/is-array-iterator-method"),r=e("../internals/is-constructor"),t=e("../internals/length-of-array-like"),n=e("../internals/create-property"),s=e("../internals/get-iterator"),d=e("../internals/get-iterator-method"),m=c.Array;g.exports=function(y){var p=l(y),b=r(this),x=arguments.length,S=x>1?arguments[1]:void 0,w=S!==void 0;w&&(S=a(S,x>2?arguments[2]:void 0));var _=d(p),C=0,E,T,R,k,P,L;if(_&&!(this==m&&i(_)))for(k=s(p,_),P=k.next,T=b?new this:[];!(R=o(P,k)).done;C++)L=w?u(k,S,[R.value,C],!0):R.value,n(T,C,L);else for(E=t(p),T=b?new this(E):m(E);E>C;C++)L=w?S(p[C],C):p[C],n(T,C,L);return T.length=C,T}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(e,g,v){var c=e("../internals/to-indexed-object"),a=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),l=function(u){return function(i,r,t){var n=c(i),s=o(n),d=a(t,s),m;if(u&&r!=r){for(;s>d;)if(m=n[d++],m!=m)return!0}else for(;s>d;d++)if((u||d in n)&&n[d]===r)return u||d||0;return!u&&-1}};g.exports={includes:l(!0),indexOf:l(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(e,g,v){var c=e("../internals/function-bind-context"),a=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),l=e("../internals/to-object"),u=e("../internals/length-of-array-like"),i=e("../internals/array-species-create"),r=a([].push),t=function(n){var s=n==1,d=n==2,m=n==3,h=n==4,y=n==6,p=n==7,b=n==5||y;return function(x,S,w,_){for(var C=l(x),E=o(C),T=c(S,w),R=u(E),k=0,P=_||i,L=s?P(x,R):d||p?P(x,0):void 0,O,N;R>k;k++)if((b||k in E)&&(O=E[k],N=T(O,k,C),n))if(s)L[k]=N;else if(N)switch(n){case 3:return!0;case 5:return O;case 6:return k;case 2:r(L,O)}else switch(n){case 4:return!1;case 7:r(L,O)}return y?-1:m||h?h:L}};g.exports={forEach:t(0),map:t(1),filter:t(2),some:t(3),every:t(4),find:t(5),findIndex:t(6),filterReject:t(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(e,g,v){"use strict";var c=e("../internals/function-apply"),a=e("../internals/to-indexed-object"),o=e("../internals/to-integer-or-infinity"),l=e("../internals/length-of-array-like"),u=e("../internals/array-method-is-strict"),i=Math.min,r=[].lastIndexOf,t=!!r&&1/[1].lastIndexOf(1,-0)<0,n=u("lastIndexOf"),s=t||!n;g.exports=s?function(m){if(t)return c(r,this,arguments)||0;var h=a(this),y=l(h),p=y-1;for(arguments.length>1&&(p=i(p,o(arguments[1]))),p<0&&(p=y+p);p>=0;p--)if(p in h&&h[p]===m)return p||0;return-1}:r},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(e,g,v){var c=e("../internals/fails"),a=e("../internals/well-known-symbol"),o=e("../internals/engine-v8-version"),l=a("species");g.exports=function(u){return o>=51||!c(function(){var i=[],r=i.constructor={};return r[l]=function(){return{foo:1}},i[u](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(e,g,v){"use strict";var c=e("../internals/fails");g.exports=function(a,o){var l=[][a];return!!l&&c(function(){l.call(null,o||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/a-callable"),o=e("../internals/to-object"),l=e("../internals/indexed-object"),u=e("../internals/length-of-array-like"),i=c.TypeError,r=function(t){return function(n,s,d,m){a(s);var h=o(n),y=l(h),p=u(h),b=t?p-1:0,x=t?-1:1;if(d<2)for(;;){if(b in y){m=y[b],b+=x;break}if(b+=x,t?b<0:p<=b)throw i("Reduce of empty array with no initial value")}for(;t?b>=0:p>b;b+=x)b in y&&(m=s(m,y[b],b,h));return m}};g.exports={left:r(!1),right:r(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),l=e("../internals/create-property"),u=c.Array,i=Math.max;g.exports=function(r,t,n){for(var s=o(r),d=a(t,s),m=a(n===void 0?s:n,s),h=u(i(m-d,0)),y=0;d<m;d++,y++)l(h,y,r[d]);return h.length=y,h}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(e,g,v){var c=e("../internals/function-uncurry-this");g.exports=c([].slice)},{"../internals/function-uncurry-this":157}],118:[function(e,g,v){var c=e("../internals/array-slice-simple"),a=Math.floor,o=function(i,r){var t=i.length,n=a(t/2);return t<8?l(i,r):u(i,o(c(i,0,n),r),o(c(i,n),r),r)},l=function(i,r){for(var t=i.length,n=1,s,d;n<t;){for(d=n,s=i[n];d&&r(i[d-1],s)>0;)i[d]=i[--d];d!==n++&&(i[d]=s)}return i},u=function(i,r,t,n){for(var s=r.length,d=t.length,m=0,h=0;m<s||h<d;)i[m+h]=m<s&&h<d?n(r[m],t[h])<=0?r[m++]:t[h++]:m<s?r[m++]:t[h++];return i};g.exports=o},{"../internals/array-slice-simple":116}],119:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-array"),o=e("../internals/is-constructor"),l=e("../internals/is-object"),u=e("../internals/well-known-symbol"),i=u("species"),r=c.Array;g.exports=function(t){var n;return a(t)&&(n=t.constructor,o(n)&&(n===r||a(n.prototype))?n=void 0:l(n)&&(n=n[i],n===null&&(n=void 0))),n===void 0?r:n}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(e,g,v){var c=e("../internals/array-species-constructor");g.exports=function(a,o){return new(c(a))(o===0?0:o)}},{"../internals/array-species-constructor":119}],121:[function(e,g,v){var c=e("../internals/an-object"),a=e("../internals/iterator-close");g.exports=function(o,l,u,i){try{return i?l(c(u)[0],u[1]):l(u)}catch(r){a(o,"throw",r)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(e,g,v){var c=e("../internals/well-known-symbol"),a=c("iterator"),o=!1;try{var l=0,u={next:function(){return{done:!!l++}},return:function(){o=!0}};u[a]=function(){return this},Array.from(u,function(){throw 2})}catch(i){}g.exports=function(i,r){if(!r&&!o)return!1;var t=!1;try{var n={};n[a]=function(){return{next:function(){return{done:t=!0}}}},i(n)}catch(s){}return t}},{"../internals/well-known-symbol":268}],123:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=c({}.toString),o=c("".slice);g.exports=function(l){return o(a(l),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/to-string-tag-support"),o=e("../internals/is-callable"),l=e("../internals/classof-raw"),u=e("../internals/well-known-symbol"),i=u("toStringTag"),r=c.Object,t=l(function(){return arguments}())=="Arguments",n=function(s,d){try{return s[d]}catch(m){}};g.exports=a?l:function(s){var d,m,h;return s===void 0?"Undefined":s===null?"Null":typeof(m=n(d=r(s),i))=="string"?m:t?l(d):(h=l(d))=="Object"&&o(d.callee)?"Arguments":h}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(e,g,v){var c=e("../internals/has-own-property"),a=e("../internals/own-keys"),o=e("../internals/object-get-own-property-descriptor"),l=e("../internals/object-define-property");g.exports=function(u,i,r){for(var t=a(i),n=l.f,s=o.f,d=0;d<t.length;d++){var m=t[d];!c(u,m)&&!(r&&c(r,m))&&n(u,m,s(i,m))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(e,g,v){var c=e("../internals/well-known-symbol"),a=c("match");g.exports=function(o){var l=/./;try{"/./"[o](l)}catch(u){try{return l[a]=!1,"/./"[o](l)}catch(i){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(e,g,v){var c=e("../internals/fails");g.exports=!c(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},{"../internals/fails":150}],128:[function(e,g,v){"use strict";var c=e("../internals/iterators-core").IteratorPrototype,a=e("../internals/object-create"),o=e("../internals/create-property-descriptor"),l=e("../internals/set-to-string-tag"),u=e("../internals/iterators"),i=function(){return this};g.exports=function(r,t,n,s){var d=t+" Iterator";return r.prototype=a(c,{next:o(+!s,n)}),l(r,d,!1,!0),u[d]=i,r}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");g.exports=c?function(l,u,i){return a.f(l,u,o(1,i))}:function(l,u,i){return l[u]=i,l}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(e,g,v){g.exports=function(c,a){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:a}}},{}],131:[function(e,g,v){"use strict";var c=e("../internals/to-property-key"),a=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");g.exports=function(l,u,i){var r=c(u);r in l?a.f(l,r,o(0,i)):l[r]=i}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-call"),o=e("../internals/is-pure"),l=e("../internals/function-name"),u=e("../internals/is-callable"),i=e("../internals/create-iterator-constructor"),r=e("../internals/object-get-prototype-of"),t=e("../internals/object-set-prototype-of"),n=e("../internals/set-to-string-tag"),s=e("../internals/create-non-enumerable-property"),d=e("../internals/redefine"),m=e("../internals/well-known-symbol"),h=e("../internals/iterators"),y=e("../internals/iterators-core"),p=l.PROPER,b=l.CONFIGURABLE,x=y.IteratorPrototype,S=y.BUGGY_SAFARI_ITERATORS,w=m("iterator"),_="keys",C="values",E="entries",T=function(){return this};g.exports=function(R,k,P,L,O,N,H){i(P,k,L);var V=function(ie){if(ie===O&&Q)return Q;if(!S&&ie in ee)return ee[ie];switch(ie){case _:return function(){return new P(this,ie)};case C:return function(){return new P(this,ie)};case E:return function(){return new P(this,ie)}}return function(){return new P(this)}},B=k+" Iterator",te=!1,ee=R.prototype,J=ee[w]||ee["@@iterator"]||O&&ee[O],Q=!S&&J||V(O),re=k=="Array"&&ee.entries||J,Z,X,$;if(re&&(Z=r(re.call(new R)),Z!==Object.prototype&&Z.next&&(!o&&r(Z)!==x&&(t?t(Z,x):u(Z[w])||d(Z,w,T)),n(Z,B,!0,!0),o&&(h[B]=T))),p&&O==C&&J&&J.name!==C&&(!o&&b?s(ee,"name",C):(te=!0,Q=function(){return a(J,this)})),O)if(X={values:V(C),keys:N?Q:V(_),entries:V(E)},H)for($ in X)(S||te||!($ in ee))&&d(ee,$,X[$]);else c({target:k,proto:!0,forced:S||te},X);return(!o||H)&&ee[w]!==Q&&d(ee,w,Q,{name:O}),h[k]=Q,X}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(e,g,v){var c=e("../internals/path"),a=e("../internals/has-own-property"),o=e("../internals/well-known-symbol-wrapped"),l=e("../internals/object-define-property").f;g.exports=function(u){var i=c.Symbol||(c.Symbol={});a(i,u)||l(i,u,{value:o.f(u)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(e,g,v){var c=e("../internals/fails");g.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-object"),o=c.document,l=a(o)&&a(o.createElement);g.exports=function(u){return l?o.createElement(u):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(e,g,v){g.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(e,g,v){var c=e("../internals/document-create-element"),a=c("span").classList,o=a&&a.constructor&&a.constructor.prototype;g.exports=o===Object.prototype?void 0:o},{"../internals/document-create-element":135}],138:[function(e,g,v){var c=e("../internals/engine-user-agent"),a=c.match(/firefox\/(\d+)/i);g.exports=!!a&&+a[1]},{"../internals/engine-user-agent":145}],139:[function(e,g,v){g.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(e,g,v){var c=e("../internals/engine-user-agent");g.exports=/MSIE|Trident/.test(c)},{"../internals/engine-user-agent":145}],141:[function(e,g,v){var c=e("../internals/engine-user-agent"),a=e("../internals/global");g.exports=/ipad|iphone|ipod/i.test(c)&&a.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(e,g,v){var c=e("../internals/engine-user-agent");g.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(c)},{"../internals/engine-user-agent":145}],143:[function(e,g,v){var c=e("../internals/classof-raw"),a=e("../internals/global");g.exports=c(a.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(e,g,v){var c=e("../internals/engine-user-agent");g.exports=/web0s(?!.*chrome)/i.test(c)},{"../internals/engine-user-agent":145}],145:[function(e,g,v){var c=e("../internals/get-built-in");g.exports=c("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/engine-user-agent"),o=c.process,l=c.Deno,u=o&&o.versions||l&&l.version,i=u&&u.v8,r,t;i&&(r=i.split("."),t=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(t=+r[1]))),g.exports=t},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(e,g,v){var c=e("../internals/engine-user-agent"),a=c.match(/AppleWebKit\/(\d+)\./);g.exports=!!a&&+a[1]},{"../internals/engine-user-agent":145}],148:[function(e,g,v){g.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/create-non-enumerable-property"),l=e("../internals/redefine"),u=e("../internals/set-global"),i=e("../internals/copy-constructor-properties"),r=e("../internals/is-forced");g.exports=function(t,n){var s=t.target,d=t.global,m=t.stat,h,y,p,b,x,S;if(d?y=c:m?y=c[s]||u(s,{}):y=(c[s]||{}).prototype,y)for(p in n){if(x=n[p],t.noTargetGet?(S=a(y,p),b=S&&S.value):b=y[p],h=r(d?p:s+(m?".":"#")+p,t.forced),!h&&b!==void 0){if(typeof x==typeof b)continue;i(x,b)}(t.sham||b&&b.sham)&&o(x,"sham",!0),l(y,p,x,t)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(e,g,v){g.exports=function(c){try{return!!c()}catch(a){return!0}}},{}],151:[function(e,g,v){"use strict";e("../modules/es.regexp.exec");var c=e("../internals/function-uncurry-this"),a=e("../internals/redefine"),o=e("../internals/regexp-exec"),l=e("../internals/fails"),u=e("../internals/well-known-symbol"),i=e("../internals/create-non-enumerable-property"),r=u("species"),t=RegExp.prototype;g.exports=function(n,s,d,m){var h=u(n),y=!l(function(){var S={};return S[h]=function(){return 7},""[n](S)!=7}),p=y&&!l(function(){var S=!1,w=/a/;return n==="split"&&(w={},w.constructor={},w.constructor[r]=function(){return w},w.flags="",w[h]=/./[h]),w.exec=function(){return S=!0,null},w[h](""),!S});if(!y||!p||d){var b=c(/./[h]),x=s(h,""[n],function(S,w,_,C,E){var T=c(S),R=w.exec;return R===o||R===t.exec?y&&!E?{done:!0,value:b(w,_,C)}:{done:!0,value:T(_,w,C)}:{done:!1}});a(String.prototype,n,x[0]),a(t,h,x[1])}m&&i(t[h],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(e,g,v){var c=e("../internals/function-bind-native"),a=Function.prototype,o=a.apply,l=a.call;g.exports=typeof Reflect=="object"&&Reflect.apply||(c?l.bind(o):function(){return l.apply(o,arguments)})},{"../internals/function-bind-native":154}],153:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/a-callable"),o=e("../internals/function-bind-native"),l=c(c.bind);g.exports=function(u,i){return a(u),i===void 0?u:o?l(u,i):function(){return u.apply(i,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(e,g,v){var c=e("../internals/fails");g.exports=!c(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(e,g,v){var c=e("../internals/function-bind-native"),a=Function.prototype.call;g.exports=c?a.bind(a):function(){return a.apply(a,arguments)}},{"../internals/function-bind-native":154}],156:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/has-own-property"),o=Function.prototype,l=c&&Object.getOwnPropertyDescriptor,u=a(o,"name"),i=u&&function(){}.name==="something",r=u&&(!c||c&&l(o,"name").configurable);g.exports={EXISTS:u,PROPER:i,CONFIGURABLE:r}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(e,g,v){var c=e("../internals/function-bind-native"),a=Function.prototype,o=a.bind,l=a.call,u=c&&o.bind(l,l);g.exports=c?function(i){return i&&u(i)}:function(i){return i&&function(){return l.apply(i,arguments)}}},{"../internals/function-bind-native":154}],158:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-callable"),o=function(l){return a(l)?l:void 0};g.exports=function(l,u){return arguments.length<2?o(c[l]):c[l]&&c[l][u]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(e,g,v){var c=e("../internals/classof"),a=e("../internals/get-method"),o=e("../internals/iterators"),l=e("../internals/well-known-symbol"),u=l("iterator");g.exports=function(i){if(i!=null)return a(i,u)||a(i,"@@iterator")||o[c(i)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-call"),o=e("../internals/a-callable"),l=e("../internals/an-object"),u=e("../internals/try-to-string"),i=e("../internals/get-iterator-method"),r=c.TypeError;g.exports=function(t,n){var s=arguments.length<2?i(t):n;if(o(s))return l(a(s,t));throw r(u(t)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(e,g,v){var c=e("../internals/a-callable");g.exports=function(a,o){var l=a[o];return l==null?void 0:c(l)}},{"../internals/a-callable":95}],162:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/to-object"),o=Math.floor,l=c("".charAt),u=c("".replace),i=c("".slice),r=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,t=/\$([$&'`]|\d{1,2})/g;g.exports=function(n,s,d,m,h,y){var p=d+n.length,b=m.length,x=t;return h!==void 0&&(h=a(h),x=r),u(y,x,function(S,w){var _;switch(l(w,0)){case"$":return"$";case"&":return n;case"`":return i(s,0,d);case"'":return i(s,p);case"<":_=h[i(w,1,-1)];break;default:var C=+w;if(C===0)return S;if(C>b){var E=o(C/10);return E===0?S:E<=b?m[E-1]===void 0?l(w,1):m[E-1]+l(w,1):S}_=m[C-1]}return _===void 0?"":_})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(e,g,v){(function(c){(function(){var a=function(o){return o&&o.Math==Math&&o};g.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof c=="object"&&c)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/to-object"),o=c({}.hasOwnProperty);g.exports=Object.hasOwn||function(u,i){return o(a(u),i)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(e,g,v){g.exports={}},{}],166:[function(e,g,v){var c=e("../internals/global");g.exports=function(a,o){var l=c.console;l&&l.error&&(arguments.length==1?l.error(a):l.error(a,o))}},{"../internals/global":163}],167:[function(e,g,v){var c=e("../internals/get-built-in");g.exports=c("document","documentElement")},{"../internals/get-built-in":158}],168:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/fails"),o=e("../internals/document-create-element");g.exports=!c&&!a(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(e,g,v){var c=e("../internals/global"),a=c.Array,o=Math.abs,l=Math.pow,u=Math.floor,i=Math.log,r=Math.LN2,t=function(s,d,m){var h=a(m),y=m*8-d-1,p=(1<<y)-1,b=p>>1,x=d===23?l(2,-24)-l(2,-77):0,S=s<0||s===0&&1/s<0?1:0,w=0,_,C,E;for(s=o(s),s!=s||s===1/0?(C=s!=s?1:0,_=p):(_=u(i(s)/r),E=l(2,-_),s*E<1&&(_--,E*=2),_+b>=1?s+=x/E:s+=x*l(2,1-b),s*E>=2&&(_++,E/=2),_+b>=p?(C=0,_=p):_+b>=1?(C=(s*E-1)*l(2,d),_=_+b):(C=s*l(2,b-1)*l(2,d),_=0));d>=8;)h[w++]=C&255,C/=256,d-=8;for(_=_<<d|C,y+=d;y>0;)h[w++]=_&255,_/=256,y-=8;return h[--w]|=S*128,h},n=function(s,d){var m=s.length,h=m*8-d-1,y=(1<<h)-1,p=y>>1,b=h-7,x=m-1,S=s[x--],w=S&127,_;for(S>>=7;b>0;)w=w*256+s[x--],b-=8;for(_=w&(1<<-b)-1,w>>=-b,b+=d;b>0;)_=_*256+s[x--],b-=8;if(w===0)w=1-p;else{if(w===y)return _?NaN:S?-1/0:1/0;_=_+l(2,d),w=w-p}return(S?-1:1)*_*l(2,w-d)};g.exports={pack:t,unpack:n}},{"../internals/global":163}],170:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-uncurry-this"),o=e("../internals/fails"),l=e("../internals/classof-raw"),u=c.Object,i=a("".split);g.exports=o(function(){return!u("z").propertyIsEnumerable(0)})?function(r){return l(r)=="String"?i(r,""):u(r)}:u},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(e,g,v){var c=e("../internals/is-callable"),a=e("../internals/is-object"),o=e("../internals/object-set-prototype-of");g.exports=function(l,u,i){var r,t;return o&&c(r=u.constructor)&&r!==i&&a(t=r.prototype)&&t!==i.prototype&&o(l,t),l}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/is-callable"),o=e("../internals/shared-store"),l=c(Function.toString);a(o.inspectSource)||(o.inspectSource=function(u){return l(u)}),g.exports=o.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(e,g,v){var c=e("../internals/native-weak-map"),a=e("../internals/global"),o=e("../internals/function-uncurry-this"),l=e("../internals/is-object"),u=e("../internals/create-non-enumerable-property"),i=e("../internals/has-own-property"),r=e("../internals/shared-store"),t=e("../internals/shared-key"),n=e("../internals/hidden-keys"),s="Object already initialized",d=a.TypeError,m=a.WeakMap,h,y,p,b=function(T){return p(T)?y(T):h(T,{})},x=function(T){return function(R){var k;if(!l(R)||(k=y(R)).type!==T)throw d("Incompatible receiver, "+T+" required");return k}};if(c||r.state){var S=r.state||(r.state=new m),w=o(S.get),_=o(S.has),C=o(S.set);h=function(T,R){if(_(S,T))throw new d(s);return R.facade=T,C(S,T,R),R},y=function(T){return w(S,T)||{}},p=function(T){return _(S,T)}}else{var E=t("state");n[E]=!0,h=function(T,R){if(i(T,E))throw new d(s);return R.facade=T,u(T,E,R),R},y=function(T){return i(T,E)?T[E]:{}},p=function(T){return i(T,E)}}g.exports={set:h,get:y,has:p,enforce:b,getterFor:x}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(e,g,v){var c=e("../internals/well-known-symbol"),a=e("../internals/iterators"),o=c("iterator"),l=Array.prototype;g.exports=function(u){return u!==void 0&&(a.Array===u||l[o]===u)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(e,g,v){var c=e("../internals/classof-raw");g.exports=Array.isArray||function(o){return c(o)=="Array"}},{"../internals/classof-raw":123}],176:[function(e,g,v){g.exports=function(c){return typeof c=="function"}},{}],177:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/fails"),o=e("../internals/is-callable"),l=e("../internals/classof"),u=e("../internals/get-built-in"),i=e("../internals/inspect-source"),r=function(){},t=[],n=u("Reflect","construct"),s=/^\s*(?:class|function)\b/,d=c(s.exec),m=!s.exec(r),h=function(b){if(!o(b))return!1;try{return n(r,t,b),!0}catch(x){return!1}},y=function(b){if(!o(b))return!1;switch(l(b)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(s,i(b))}catch(x){return!0}};y.sham=!0,g.exports=!n||a(function(){var p;return h(h.call)||!h(Object)||!h(function(){p=!0})||p})?y:h},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(e,g,v){var c=e("../internals/fails"),a=e("../internals/is-callable"),o=/#|\.prototype\./,l=function(n,s){var d=i[u(n)];return d==t?!0:d==r?!1:a(s)?c(s):!!s},u=l.normalize=function(n){return String(n).replace(o,".").toLowerCase()},i=l.data={},r=l.NATIVE="N",t=l.POLYFILL="P";g.exports=l},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(e,g,v){var c=e("../internals/is-object"),a=Math.floor;g.exports=Number.isInteger||function(l){return!c(l)&&isFinite(l)&&a(l)===l}},{"../internals/is-object":180}],180:[function(e,g,v){var c=e("../internals/is-callable");g.exports=function(a){return typeof a=="object"?a!==null:c(a)}},{"../internals/is-callable":176}],181:[function(e,g,v){g.exports=!1},{}],182:[function(e,g,v){var c=e("../internals/is-object"),a=e("../internals/classof-raw"),o=e("../internals/well-known-symbol"),l=o("match");g.exports=function(u){var i;return c(u)&&((i=u[l])!==void 0?!!i:a(u)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/get-built-in"),o=e("../internals/is-callable"),l=e("../internals/object-is-prototype-of"),u=e("../internals/use-symbol-as-uid"),i=c.Object;g.exports=u?function(r){return typeof r=="symbol"}:function(r){var t=a("Symbol");return o(t)&&l(t.prototype,i(r))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-bind-context"),o=e("../internals/function-call"),l=e("../internals/an-object"),u=e("../internals/try-to-string"),i=e("../internals/is-array-iterator-method"),r=e("../internals/length-of-array-like"),t=e("../internals/object-is-prototype-of"),n=e("../internals/get-iterator"),s=e("../internals/get-iterator-method"),d=e("../internals/iterator-close"),m=c.TypeError,h=function(p,b){this.stopped=p,this.result=b},y=h.prototype;g.exports=function(p,b,x){var S=x&&x.that,w=!!(x&&x.AS_ENTRIES),_=!!(x&&x.IS_ITERATOR),C=!!(x&&x.INTERRUPTED),E=a(b,S),T,R,k,P,L,O,N,H=function(B){return T&&d(T,"normal",B),new h(!0,B)},V=function(B){return w?(l(B),C?E(B[0],B[1],H):E(B[0],B[1])):C?E(B,H):E(B)};if(_)T=p;else{if(R=s(p),!R)throw m(u(p)+" is not iterable");if(i(R)){for(k=0,P=r(p);P>k;k++)if(L=V(p[k]),L&&t(y,L))return L;return new h(!1)}T=n(p,R)}for(O=T.next;!(N=o(O,T)).done;){try{L=V(N.value)}catch(B){d(T,"throw",B)}if(typeof L=="object"&&L&&t(y,L))return L}return new h(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(e,g,v){var c=e("../internals/function-call"),a=e("../internals/an-object"),o=e("../internals/get-method");g.exports=function(l,u,i){var r,t;a(l);try{if(r=o(l,"return"),!r){if(u==="throw")throw i;return i}r=c(r,l)}catch(n){t=!0,r=n}if(u==="throw")throw i;if(t)throw r;return a(r),i}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(e,g,v){"use strict";var c=e("../internals/fails"),a=e("../internals/is-callable"),o=e("../internals/object-create"),l=e("../internals/object-get-prototype-of"),u=e("../internals/redefine"),i=e("../internals/well-known-symbol"),r=e("../internals/is-pure"),t=i("iterator"),n=!1,s,d,m;[].keys&&(m=[].keys(),"next"in m?(d=l(l(m)),d!==Object.prototype&&(s=d)):n=!0);var h=s==null||c(function(){var y={};return s[t].call(y)!==y});h?s={}:r&&(s=o(s)),a(s[t])||u(s,t,function(){return this}),g.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:n}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(e,g,v){arguments[4][165][0].apply(v,arguments)},{dup:165}],188:[function(e,g,v){var c=e("../internals/to-length");g.exports=function(a){return c(a.length)}},{"../internals/to-length":249}],189:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-bind-context"),o=e("../internals/object-get-own-property-descriptor").f,l=e("../internals/task").set,u=e("../internals/engine-is-ios"),i=e("../internals/engine-is-ios-pebble"),r=e("../internals/engine-is-webos-webkit"),t=e("../internals/engine-is-node"),n=c.MutationObserver||c.WebKitMutationObserver,s=c.document,d=c.process,m=c.Promise,h=o(c,"queueMicrotask"),y=h&&h.value,p,b,x,S,w,_,C,E;y||(p=function(){var T,R;for(t&&(T=d.domain)&&T.exit();b;){R=b.fn,b=b.next;try{R()}catch(k){throw b?S():x=void 0,k}}x=void 0,T&&T.enter()},!u&&!t&&!r&&n&&s?(w=!0,_=s.createTextNode(""),new n(p).observe(_,{characterData:!0}),S=function(){_.data=w=!w}):!i&&m&&m.resolve?(C=m.resolve(void 0),C.constructor=m,E=a(C.then,C),S=function(){E(p)}):t?S=function(){d.nextTick(p)}:(l=a(l,c),S=function(){l(p)})),g.exports=y||function(T){var R={fn:T,next:void 0};x&&(x.next=R),b||(b=R,S()),x=R}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(e,g,v){var c=e("../internals/native-symbol");g.exports=c&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(e,g,v){var c=e("../internals/engine-v8-version"),a=e("../internals/fails");g.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol();return!String(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&c&&c<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-callable"),o=e("../internals/inspect-source"),l=c.WeakMap;g.exports=a(l)&&/native code/.test(o(l))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(e,g,v){"use strict";var c=e("../internals/a-callable"),a=function(o){var l,u;this.promise=new o(function(i,r){if(l!==void 0||u!==void 0)throw TypeError("Bad Promise constructor");l=i,u=r}),this.resolve=c(l),this.reject=c(u)};g.exports.f=function(o){return new a(o)}},{"../internals/a-callable":95}],194:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-regexp"),o=c.TypeError;g.exports=function(l){if(a(l))throw o("The method doesn't accept regular expressions");return l}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(e,g,v){"use strict";var c=e("../internals/descriptors"),a=e("../internals/function-uncurry-this"),o=e("../internals/function-call"),l=e("../internals/fails"),u=e("../internals/object-keys"),i=e("../internals/object-get-own-property-symbols"),r=e("../internals/object-property-is-enumerable"),t=e("../internals/to-object"),n=e("../internals/indexed-object"),s=Object.assign,d=Object.defineProperty,m=a([].concat);g.exports=!s||l(function(){if(c&&s({b:1},s(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var h={},y={},p=Symbol(),b="abcdefghijklmnopqrst";return h[p]=7,b.split("").forEach(function(x){y[x]=x}),s({},h)[p]!=7||u(s({},y)).join("")!=b})?function(y,p){for(var b=t(y),x=arguments.length,S=1,w=i.f,_=r.f;x>S;)for(var C=n(arguments[S++]),E=w?m(u(C),w(C)):u(C),T=E.length,R=0,k;T>R;)k=E[R++],(!c||o(_,C,k))&&(b[k]=C[k]);return b}:s},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(e,g,v){var c=e("../internals/an-object"),a=e("../internals/object-define-properties"),o=e("../internals/enum-bug-keys"),l=e("../internals/hidden-keys"),u=e("../internals/html"),i=e("../internals/document-create-element"),r=e("../internals/shared-key"),t=">",n="<",s="prototype",d="script",m=r("IE_PROTO"),h=function(){},y=function(w){return n+d+t+w+n+"/"+d+t},p=function(w){w.write(y("")),w.close();var _=w.parentWindow.Object;return w=null,_},b=function(){var w=i("iframe"),_="java"+d+":",C;return w.style.display="none",u.appendChild(w),w.src=String(_),C=w.contentWindow.document,C.open(),C.write(y("document.F=Object")),C.close(),C.F},x,S=function(){try{x=new ActiveXObject("htmlfile")}catch(_){}S=typeof document!="undefined"?document.domain&&x?p(x):b():p(x);for(var w=o.length;w--;)delete S[s][o[w]];return S()};l[m]=!0,g.exports=Object.create||function(_,C){var E;return _!==null?(h[s]=c(_),E=new h,h[s]=null,E[m]=_):E=S(),C===void 0?E:a.f(E,C)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/v8-prototype-define-bug"),o=e("../internals/object-define-property"),l=e("../internals/an-object"),u=e("../internals/to-indexed-object"),i=e("../internals/object-keys");v.f=c&&!a?Object.defineProperties:function(t,n){l(t);for(var s=u(n),d=i(n),m=d.length,h=0,y;m>h;)o.f(t,y=d[h++],s[y]);return t}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/descriptors"),o=e("../internals/ie8-dom-define"),l=e("../internals/v8-prototype-define-bug"),u=e("../internals/an-object"),i=e("../internals/to-property-key"),r=c.TypeError,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s="enumerable",d="configurable",m="writable";v.f=a?l?function(y,p,b){if(u(y),p=i(p),u(b),typeof y=="function"&&p==="prototype"&&"value"in b&&m in b&&!b[m]){var x=n(y,p);x&&x[m]&&(y[p]=b.value,b={configurable:d in b?b[d]:x[d],enumerable:s in b?b[s]:x[s],writable:!1})}return t(y,p,b)}:t:function(y,p,b){if(u(y),p=i(p),u(b),o)try{return t(y,p,b)}catch(x){}if("get"in b||"set"in b)throw r("Accessors not supported");return"value"in b&&(y[p]=b.value),y}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/function-call"),o=e("../internals/object-property-is-enumerable"),l=e("../internals/create-property-descriptor"),u=e("../internals/to-indexed-object"),i=e("../internals/to-property-key"),r=e("../internals/has-own-property"),t=e("../internals/ie8-dom-define"),n=Object.getOwnPropertyDescriptor;v.f=c?n:function(d,m){if(d=u(d),m=i(m),t)try{return n(d,m)}catch(h){}if(r(d,m))return l(!a(o.f,d,m),d[m])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(e,g,v){var c=e("../internals/classof-raw"),a=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-names").f,l=e("../internals/array-slice-simple"),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(r){try{return o(r)}catch(t){return l(u)}};g.exports.f=function(t){return u&&c(t)=="Window"?i(t):o(a(t))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(e,g,v){var c=e("../internals/object-keys-internal"),a=e("../internals/enum-bug-keys"),o=a.concat("length","prototype");v.f=Object.getOwnPropertyNames||function(u){return c(u,o)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(e,g,v){v.f=Object.getOwnPropertySymbols},{}],203:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/has-own-property"),o=e("../internals/is-callable"),l=e("../internals/to-object"),u=e("../internals/shared-key"),i=e("../internals/correct-prototype-getter"),r=u("IE_PROTO"),t=c.Object,n=t.prototype;g.exports=i?t.getPrototypeOf:function(s){var d=l(s);if(a(d,r))return d[r];var m=d.constructor;return o(m)&&d instanceof m?m.prototype:d instanceof t?n:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(e,g,v){var c=e("../internals/function-uncurry-this");g.exports=c({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/has-own-property"),o=e("../internals/to-indexed-object"),l=e("../internals/array-includes").indexOf,u=e("../internals/hidden-keys"),i=c([].push);g.exports=function(r,t){var n=o(r),s=0,d=[],m;for(m in n)!a(u,m)&&a(n,m)&&i(d,m);for(;t.length>s;)a(n,m=t[s++])&&(~l(d,m)||i(d,m));return d}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(e,g,v){var c=e("../internals/object-keys-internal"),a=e("../internals/enum-bug-keys");g.exports=Object.keys||function(l){return c(l,a)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(e,g,v){"use strict";var c={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!c.call({1:2},1);v.f=o?function(u){var i=a(this,u);return!!i&&i.enumerable}:c},{}],208:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/an-object"),o=e("../internals/a-possible-prototype");g.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var l=!1,u={},i;try{i=c(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),i(u,[]),l=u instanceof Array}catch(r){}return function(t,n){return a(t),o(n),l?i(t,n):t.__proto__=n,t}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/function-uncurry-this"),o=e("../internals/object-keys"),l=e("../internals/to-indexed-object"),u=e("../internals/object-property-is-enumerable").f,i=a(u),r=a([].push),t=function(n){return function(s){for(var d=l(s),m=o(d),h=m.length,y=0,p=[],b;h>y;)b=m[y++],(!c||i(d,b))&&r(p,n?[b,d[b]]:d[b]);return p}};g.exports={entries:t(!0),values:t(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(e,g,v){"use strict";var c=e("../internals/to-string-tag-support"),a=e("../internals/classof");g.exports=c?{}.toString:function(){return"[object "+a(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-call"),o=e("../internals/is-callable"),l=e("../internals/is-object"),u=c.TypeError;g.exports=function(i,r){var t,n;if(r==="string"&&o(t=i.toString)&&!l(n=a(t,i))||o(t=i.valueOf)&&!l(n=a(t,i))||r!=="string"&&o(t=i.toString)&&!l(n=a(t,i)))return n;throw u("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(e,g,v){var c=e("../internals/get-built-in"),a=e("../internals/function-uncurry-this"),o=e("../internals/object-get-own-property-names"),l=e("../internals/object-get-own-property-symbols"),u=e("../internals/an-object"),i=a([].concat);g.exports=c("Reflect","ownKeys")||function(t){var n=o.f(u(t)),s=l.f;return s?i(n,s(t)):n}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(e,g,v){var c=e("../internals/global");g.exports=c},{"../internals/global":163}],214:[function(e,g,v){g.exports=function(c){try{return{error:!1,value:c()}}catch(a){return{error:!0,value:a}}}},{}],215:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/promise-native-constructor"),o=e("../internals/is-callable"),l=e("../internals/is-forced"),u=e("../internals/inspect-source"),i=e("../internals/well-known-symbol"),r=e("../internals/engine-is-browser"),t=e("../internals/is-pure"),n=e("../internals/engine-v8-version"),s=a&&a.prototype,d=i("species"),m=!1,h=o(c.PromiseRejectionEvent),y=l("Promise",function(){var p=u(a),b=p!==String(a);if(!b&&n===66||t&&!(s.catch&&s.finally))return!0;if(n>=51&&/native code/.test(p))return!1;var x=new a(function(_){_(1)}),S=function(_){_(function(){},function(){})},w=x.constructor={};return w[d]=S,m=x.then(function(){})instanceof S,m?!b&&r&&!h:!0});g.exports={CONSTRUCTOR:y,REJECTION_EVENT:h,SUBCLASSING:m}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(e,g,v){var c=e("../internals/global");g.exports=c.Promise},{"../internals/global":163}],217:[function(e,g,v){var c=e("../internals/an-object"),a=e("../internals/is-object"),o=e("../internals/new-promise-capability");g.exports=function(l,u){if(c(l),a(u)&&u.constructor===l)return u;var i=o.f(l),r=i.resolve;return r(u),i.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(e,g,v){var c=e("../internals/promise-native-constructor"),a=e("../internals/check-correctness-of-iteration"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR;g.exports=o||!a(function(l){c.all(l).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(e,g,v){var c=e("../internals/object-define-property").f;g.exports=function(a,o,l){l in a||c(a,l,{configurable:!0,get:function(){return o[l]},set:function(u){o[l]=u}})}},{"../internals/object-define-property":198}],220:[function(e,g,v){var c=function(){this.head=null,this.tail=null};c.prototype={add:function(a){var o={item:a,next:null};this.head?this.tail.next=o:this.head=o,this.tail=o},get:function(){var a=this.head;if(a)return this.head=a.next,this.tail===a&&(this.tail=null),a.item}},g.exports=c},{}],221:[function(e,g,v){var c=e("../internals/redefine");g.exports=function(a,o,l){for(var u in o)c(a,u,o[u],l);return a}},{"../internals/redefine":222}],222:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/is-callable"),o=e("../internals/has-own-property"),l=e("../internals/create-non-enumerable-property"),u=e("../internals/set-global"),i=e("../internals/inspect-source"),r=e("../internals/internal-state"),t=e("../internals/function-name").CONFIGURABLE,n=r.get,s=r.enforce,d=String(String).split("String");(g.exports=function(m,h,y,p){var b=p?!!p.unsafe:!1,x=p?!!p.enumerable:!1,S=p?!!p.noTargetGet:!1,w=p&&p.name!==void 0?p.name:h,_;if(a(y)&&(String(w).slice(0,7)==="Symbol("&&(w="["+String(w).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(y,"name")||t&&y.name!==w)&&l(y,"name",w),_=s(y),_.source||(_.source=d.join(typeof w=="string"?w:""))),m===c){x?m[h]=y:u(h,y);return}else b?!S&&m[h]&&(x=!0):delete m[h];x?m[h]=y:l(m,h,y)})(Function.prototype,"toString",function(){return a(this)&&n(this).source||i(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-call"),o=e("../internals/an-object"),l=e("../internals/is-callable"),u=e("../internals/classof-raw"),i=e("../internals/regexp-exec"),r=c.TypeError;g.exports=function(t,n){var s=t.exec;if(l(s)){var d=a(s,t,n);return d!==null&&o(d),d}if(u(t)==="RegExp")return a(i,t,n);throw r("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(e,g,v){"use strict";var c=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),o=e("../internals/to-string"),l=e("../internals/regexp-flags"),u=e("../internals/regexp-sticky-helpers"),i=e("../internals/shared"),r=e("../internals/object-create"),t=e("../internals/internal-state").get,n=e("../internals/regexp-unsupported-dot-all"),s=e("../internals/regexp-unsupported-ncg"),d=i("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,h=m,y=a("".charAt),p=a("".indexOf),b=a("".replace),x=a("".slice),S=function(){var E=/a/,T=/b*/g;return c(m,E,"a"),c(m,T,"a"),E.lastIndex!==0||T.lastIndex!==0}(),w=u.BROKEN_CARET,_=/()??/.exec("")[1]!==void 0,C=S||_||w||n||s;C&&(h=function(T){var R=this,k=t(R),P=o(T),L=k.raw,O,N,H,V,B,te,ee;if(L)return L.lastIndex=R.lastIndex,O=c(h,L,P),R.lastIndex=L.lastIndex,O;var J=k.groups,Q=w&&R.sticky,re=c(l,R),Z=R.source,X=0,$=P;if(Q&&(re=b(re,"y",""),p(re,"g")===-1&&(re+="g"),$=x(P,R.lastIndex),R.lastIndex>0&&(!R.multiline||R.multiline&&y(P,R.lastIndex-1)!==`
`)&&(Z="(?: "+Z+")",$=" "+$,X++),N=new RegExp("^(?:"+Z+")",re)),_&&(N=new RegExp("^"+Z+"$(?!\\s)",re)),S&&(H=R.lastIndex),V=c(m,Q?N:R,$),Q?V?(V.input=x(V.input,X),V[0]=x(V[0],X),V.index=R.lastIndex,R.lastIndex+=V[0].length):R.lastIndex=0:S&&V&&(R.lastIndex=R.global?V.index+V[0].length:H),_&&V&&V.length>1&&c(d,V[0],N,function(){for(B=1;B<arguments.length-2;B++)arguments[B]===void 0&&(V[B]=void 0)}),V&&J)for(V.groups=te=r(null),B=0;B<J.length;B++)ee=J[B],te[ee[0]]=V[ee[1]];return V}),g.exports=h},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(e,g,v){"use strict";var c=e("../internals/an-object");g.exports=function(){var a=c(this),o="";return a.hasIndices&&(o+="d"),a.global&&(o+="g"),a.ignoreCase&&(o+="i"),a.multiline&&(o+="m"),a.dotAll&&(o+="s"),a.unicode&&(o+="u"),a.sticky&&(o+="y"),o}},{"../internals/an-object":101}],226:[function(e,g,v){var c=e("../internals/function-call"),a=e("../internals/has-own-property"),o=e("../internals/object-is-prototype-of"),l=e("../internals/regexp-flags"),u=RegExp.prototype;g.exports=function(i){var r=i.flags;return r===void 0&&!("flags"in u)&&!a(i,"flags")&&o(u,i)?c(l,i):r}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(e,g,v){var c=e("../internals/fails"),a=e("../internals/global"),o=a.RegExp,l=c(function(){var r=o("a","y");return r.lastIndex=2,r.exec("abcd")!=null}),u=l||c(function(){return!o("a","y").sticky}),i=l||c(function(){var r=o("^r","gy");return r.lastIndex=2,r.exec("str")!=null});g.exports={BROKEN_CARET:i,MISSED_STICKY:u,UNSUPPORTED_Y:l}},{"../internals/fails":150,"../internals/global":163}],228:[function(e,g,v){var c=e("../internals/fails"),a=e("../internals/global"),o=a.RegExp;g.exports=c(function(){var l=o(".","s");return!(l.dotAll&&l.exec(`
`)&&l.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(e,g,v){var c=e("../internals/fails"),a=e("../internals/global"),o=a.RegExp;g.exports=c(function(){var l=o("(?<a>b)","g");return l.exec("b").groups.a!=="b"||"b".replace(l,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(e,g,v){var c=e("../internals/global"),a=c.TypeError;g.exports=function(o){if(o==null)throw a("Can't call method on "+o);return o}},{"../internals/global":163}],231:[function(e,g,v){g.exports=Object.is||function(a,o){return a===o?a!==0||1/a===1/o:a!=a&&o!=o}},{}],232:[function(e,g,v){var c=e("../internals/global"),a=Object.defineProperty;g.exports=function(o,l){try{a(c,o,{value:l,configurable:!0,writable:!0})}catch(u){c[o]=l}return l}},{"../internals/global":163}],233:[function(e,g,v){"use strict";var c=e("../internals/get-built-in"),a=e("../internals/object-define-property"),o=e("../internals/well-known-symbol"),l=e("../internals/descriptors"),u=o("species");g.exports=function(i){var r=c(i),t=a.f;l&&r&&!r[u]&&t(r,u,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(e,g,v){var c=e("../internals/object-define-property").f,a=e("../internals/has-own-property"),o=e("../internals/well-known-symbol"),l=o("toStringTag");g.exports=function(u,i,r){u&&!r&&(u=u.prototype),u&&!a(u,l)&&c(u,l,{configurable:!0,value:i})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(e,g,v){var c=e("../internals/shared"),a=e("../internals/uid"),o=c("keys");g.exports=function(l){return o[l]||(o[l]=a(l))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/set-global"),o="__core-js_shared__",l=c[o]||a(o,{});g.exports=l},{"../internals/global":163,"../internals/set-global":232}],237:[function(e,g,v){var c=e("../internals/is-pure"),a=e("../internals/shared-store");(g.exports=function(o,l){return a[o]||(a[o]=l!==void 0?l:{})})("versions",[]).push({version:"3.22.1",mode:c?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(e,g,v){var c=e("../internals/an-object"),a=e("../internals/a-constructor"),o=e("../internals/well-known-symbol"),l=o("species");g.exports=function(u,i){var r=c(u).constructor,t;return r===void 0||(t=c(r)[l])==null?i:a(t)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/to-integer-or-infinity"),o=e("../internals/to-string"),l=e("../internals/require-object-coercible"),u=c("".charAt),i=c("".charCodeAt),r=c("".slice),t=function(n){return function(s,d){var m=o(l(s)),h=a(d),y=m.length,p,b;return h<0||h>=y?n?"":void 0:(p=i(m,h),p<55296||p>56319||h+1===y||(b=i(m,h+1))<56320||b>57343?n?u(m,h):p:n?r(m,h,h+2):(p-55296<<10)+(b-56320)+65536)}};g.exports={codeAt:t(!1),charAt:t(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(e,g,v){var c=e("../internals/function-name").PROPER,a=e("../internals/fails"),o=e("../internals/whitespaces"),l="\u200B\x85\u180E";g.exports=function(u){return a(function(){return!!o[u]()||l[u]()!==l||c&&o[u].name!==u})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=e("../internals/require-object-coercible"),o=e("../internals/to-string"),l=e("../internals/whitespaces"),u=c("".replace),i="["+l+"]",r=RegExp("^"+i+i+"*"),t=RegExp(i+i+"*$"),n=function(s){return function(d){var m=o(a(d));return s&1&&(m=u(m,r,"")),s&2&&(m=u(m,t,"")),m}};g.exports={start:n(1),end:n(2),trim:n(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(e,g,v){var c=e("../internals/function-call"),a=e("../internals/get-built-in"),o=e("../internals/well-known-symbol"),l=e("../internals/redefine");g.exports=function(){var u=a("Symbol"),i=u&&u.prototype,r=i&&i.valueOf,t=o("toPrimitive");i&&!i[t]&&l(i,t,function(n){return c(r,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-apply"),o=e("../internals/function-bind-context"),l=e("../internals/is-callable"),u=e("../internals/has-own-property"),i=e("../internals/fails"),r=e("../internals/html"),t=e("../internals/array-slice"),n=e("../internals/document-create-element"),s=e("../internals/validate-arguments-length"),d=e("../internals/engine-is-ios"),m=e("../internals/engine-is-node"),h=c.setImmediate,y=c.clearImmediate,p=c.process,b=c.Dispatch,x=c.Function,S=c.MessageChannel,w=c.String,_=0,C={},E="onreadystatechange",T,R,k,P;try{T=c.location}catch(V){}var L=function(V){if(u(C,V)){var B=C[V];delete C[V],B()}},O=function(V){return function(){L(V)}},N=function(V){L(V.data)},H=function(V){c.postMessage(w(V),T.protocol+"//"+T.host)};(!h||!y)&&(h=function(B){s(arguments.length,1);var te=l(B)?B:x(B),ee=t(arguments,1);return C[++_]=function(){a(te,void 0,ee)},R(_),_},y=function(B){delete C[B]},m?R=function(V){p.nextTick(O(V))}:b&&b.now?R=function(V){b.now(O(V))}:S&&!d?(k=new S,P=k.port2,k.port1.onmessage=N,R=o(P.postMessage,P)):c.addEventListener&&l(c.postMessage)&&!c.importScripts&&T&&T.protocol!=="file:"&&!i(H)?(R=H,c.addEventListener("message",N,!1)):E in n("script")?R=function(V){r.appendChild(n("script"))[E]=function(){r.removeChild(this),L(V)}}:R=function(V){setTimeout(O(V),0)}),g.exports={set:h,clear:y}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(e,g,v){var c=e("../internals/function-uncurry-this");g.exports=c(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(e,g,v){var c=e("../internals/to-integer-or-infinity"),a=Math.max,o=Math.min;g.exports=function(l,u){var i=c(l);return i<0?a(i+u,0):o(i,u)}},{"../internals/to-integer-or-infinity":248}],246:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/to-integer-or-infinity"),o=e("../internals/to-length"),l=c.RangeError;g.exports=function(u){if(u===void 0)return 0;var i=a(u),r=o(i);if(i!==r)throw l("Wrong length or index");return r}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(e,g,v){var c=e("../internals/indexed-object"),a=e("../internals/require-object-coercible");g.exports=function(o){return c(a(o))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(e,g,v){var c=Math.ceil,a=Math.floor;g.exports=function(o){var l=+o;return l!==l||l===0?0:(l>0?a:c)(l)}},{}],249:[function(e,g,v){var c=e("../internals/to-integer-or-infinity"),a=Math.min;g.exports=function(o){return o>0?a(c(o),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/require-object-coercible"),o=c.Object;g.exports=function(l){return o(a(l))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/to-positive-integer"),o=c.RangeError;g.exports=function(l,u){var i=a(l);if(i%u)throw o("Wrong offset");return i}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/to-integer-or-infinity"),o=c.RangeError;g.exports=function(l){var u=a(l);if(u<0)throw o("The argument can't be less than 0");return u}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/function-call"),o=e("../internals/is-object"),l=e("../internals/is-symbol"),u=e("../internals/get-method"),i=e("../internals/ordinary-to-primitive"),r=e("../internals/well-known-symbol"),t=c.TypeError,n=r("toPrimitive");g.exports=function(s,d){if(!o(s)||l(s))return s;var m=u(s,n),h;if(m){if(d===void 0&&(d="default"),h=a(m,s,d),!o(h)||l(h))return h;throw t("Can't convert object to primitive value")}return d===void 0&&(d="number"),i(s,d)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(e,g,v){var c=e("../internals/to-primitive"),a=e("../internals/is-symbol");g.exports=function(o){var l=c(o,"string");return a(l)?l:l+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(e,g,v){var c=e("../internals/well-known-symbol"),a=c("toStringTag"),o={};o[a]="z",g.exports=String(o)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/classof"),o=c.String;g.exports=function(l){if(a(l)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return o(l)}},{"../internals/classof":124,"../internals/global":163}],257:[function(e,g,v){var c=e("../internals/global"),a=c.String;g.exports=function(o){try{return a(o)}catch(l){return"Object"}}},{"../internals/global":163}],258:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/global"),o=e("../internals/function-call"),l=e("../internals/descriptors"),u=e("../internals/typed-array-constructors-require-wrappers"),i=e("../internals/array-buffer-view-core"),r=e("../internals/array-buffer"),t=e("../internals/an-instance"),n=e("../internals/create-property-descriptor"),s=e("../internals/create-non-enumerable-property"),d=e("../internals/is-integral-number"),m=e("../internals/to-length"),h=e("../internals/to-index"),y=e("../internals/to-offset"),p=e("../internals/to-property-key"),b=e("../internals/has-own-property"),x=e("../internals/classof"),S=e("../internals/is-object"),w=e("../internals/is-symbol"),_=e("../internals/object-create"),C=e("../internals/object-is-prototype-of"),E=e("../internals/object-set-prototype-of"),T=e("../internals/object-get-own-property-names").f,R=e("../internals/typed-array-from"),k=e("../internals/array-iteration").forEach,P=e("../internals/set-species"),L=e("../internals/object-define-property"),O=e("../internals/object-get-own-property-descriptor"),N=e("../internals/internal-state"),H=e("../internals/inherit-if-required"),V=N.get,B=N.set,te=L.f,ee=O.f,J=Math.round,Q=a.RangeError,re=r.ArrayBuffer,Z=re.prototype,X=r.DataView,$=i.NATIVE_ARRAY_BUFFER_VIEWS,ie=i.TYPED_ARRAY_CONSTRUCTOR,de=i.TYPED_ARRAY_TAG,pe=i.TypedArray,G=i.TypedArrayPrototype,I=i.aTypedArrayConstructor,q=i.isTypedArray,F="BYTES_PER_ELEMENT",Y="Wrong length",ue=function(K,oe){I(K);for(var he=0,ae=oe.length,le=new K(ae);ae>he;)le[he]=oe[he++];return le},ce=function(K,oe){te(K,oe,{get:function(){return V(this)[oe]}})},ne=function(K){var oe;return C(Z,K)||(oe=x(K))=="ArrayBuffer"||oe=="SharedArrayBuffer"},U=function(K,oe){return q(K)&&!w(oe)&&oe in K&&d(+oe)&&oe>=0},M=function(oe,he){return he=p(he),U(oe,he)?n(2,oe[he]):ee(oe,he)},W=function(oe,he,ae){return he=p(he),U(oe,he)&&S(ae)&&b(ae,"value")&&!b(ae,"get")&&!b(ae,"set")&&!ae.configurable&&(!b(ae,"writable")||ae.writable)&&(!b(ae,"enumerable")||ae.enumerable)?(oe[he]=ae.value,oe):te(oe,he,ae)};l?($||(O.f=M,L.f=W,ce(G,"buffer"),ce(G,"byteOffset"),ce(G,"byteLength"),ce(G,"length")),c({target:"Object",stat:!0,forced:!$},{getOwnPropertyDescriptor:M,defineProperty:W}),g.exports=function(K,oe,he){var ae=K.match(/\d+$/)[0]/8,le=K+(he?"Clamped":"")+"Array",Se="get"+K,ge="set"+K,xe=a[le],ye=xe,Te=ye&&ye.prototype,se={},fe=function(je,Le){var He=V(je);return He.view[Se](Le*ae+He.byteOffset,!0)},me=function(je,Le,He){var We=V(je);he&&(He=(He=J(He))<0?0:He>255?255:He&255),We.view[ge](Le*ae+We.byteOffset,He,!0)},Ee=function(je,Le){te(je,Le,{get:function(){return fe(this,Le)},set:function(He){return me(this,Le,He)},enumerable:!0})};$?u&&(ye=oe(function(je,Le,He,We){return t(je,Te),H(function(){return S(Le)?ne(Le)?We!==void 0?new xe(Le,y(He,ae),We):He!==void 0?new xe(Le,y(He,ae)):new xe(Le):q(Le)?ue(ye,Le):o(R,ye,Le):new xe(h(Le))}(),je,ye)}),E&&E(ye,pe),k(T(xe),function(je){je in ye||s(ye,je,xe[je])}),ye.prototype=Te):(ye=oe(function(je,Le,He,We){t(je,Te);var Ge=0,lt=0,ze,et,Ct;if(!S(Le))Ct=h(Le),et=Ct*ae,ze=new re(et);else if(ne(Le)){ze=Le,lt=y(He,ae);var pt=Le.byteLength;if(We===void 0){if(pt%ae||(et=pt-lt,et<0))throw Q(Y)}else if(et=m(We)*ae,et+lt>pt)throw Q(Y);Ct=et/ae}else return q(Le)?ue(ye,Le):o(R,ye,Le);for(B(je,{buffer:ze,byteOffset:lt,byteLength:et,length:Ct,view:new X(ze)});Ge<Ct;)Ee(je,Ge++)}),E&&E(ye,pe),Te=ye.prototype=_(G)),Te.constructor!==ye&&s(Te,"constructor",ye),s(Te,ie,ye),de&&s(Te,de,le),se[le]=ye,c({global:!0,forced:ye!=xe,sham:!$},se),F in ye||s(ye,F,ae),F in Te||s(Te,F,ae),P(le)}):g.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/fails"),o=e("../internals/check-correctness-of-iteration"),l=e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,u=c.ArrayBuffer,i=c.Int8Array;g.exports=!l||!a(function(){i(1)})||!a(function(){new i(-1)})||!o(function(r){new i,new i(null),new i(1.5),new i(r)},!0)||a(function(){return new i(new u(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(e,g,v){var c=e("../internals/array-from-constructor-and-list"),a=e("../internals/typed-array-species-constructor");g.exports=function(o,l){return c(a(o),l)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(e,g,v){var c=e("../internals/function-bind-context"),a=e("../internals/function-call"),o=e("../internals/a-constructor"),l=e("../internals/to-object"),u=e("../internals/length-of-array-like"),i=e("../internals/get-iterator"),r=e("../internals/get-iterator-method"),t=e("../internals/is-array-iterator-method"),n=e("../internals/array-buffer-view-core").aTypedArrayConstructor;g.exports=function(d){var m=o(this),h=l(d),y=arguments.length,p=y>1?arguments[1]:void 0,b=p!==void 0,x=r(h),S,w,_,C,E,T;if(x&&!t(x))for(E=i(h,x),T=E.next,h=[];!(C=a(T,E)).done;)h.push(C.value);for(b&&y>2&&(p=c(p,arguments[2])),w=u(h),_=new(n(m))(w),S=0;w>S;S++)_[S]=b?p(h[S],S):h[S];return _}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(e,g,v){var c=e("../internals/array-buffer-view-core"),a=e("../internals/species-constructor"),o=c.TYPED_ARRAY_CONSTRUCTOR,l=c.aTypedArrayConstructor;g.exports=function(u){return l(a(u,u[o]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(e,g,v){var c=e("../internals/function-uncurry-this"),a=0,o=Math.random(),l=c(1 .toString);g.exports=function(u){return"Symbol("+(u===void 0?"":u)+")_"+l(++a+o,36)}},{"../internals/function-uncurry-this":157}],264:[function(e,g,v){var c=e("../internals/native-symbol");g.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/fails");g.exports=c&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(e,g,v){var c=e("../internals/global"),a=c.TypeError;g.exports=function(o,l){if(o<l)throw a("Not enough arguments");return o}},{"../internals/global":163}],267:[function(e,g,v){var c=e("../internals/well-known-symbol");v.f=c},{"../internals/well-known-symbol":268}],268:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/shared"),o=e("../internals/has-own-property"),l=e("../internals/uid"),u=e("../internals/native-symbol"),i=e("../internals/use-symbol-as-uid"),r=a("wks"),t=c.Symbol,n=t&&t.for,s=i?t:t&&t.withoutSetter||l;g.exports=function(d){if(!o(r,d)||!(u||typeof r[d]=="string")){var m="Symbol."+d;u&&o(t,d)?r[d]=t[d]:i&&n?r[d]=n(m):r[d]=s(m)}return r[d]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(e,g,v){g.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/global"),o=e("../internals/array-buffer"),l=e("../internals/set-species"),u="ArrayBuffer",i=o[u],r=a[u];c({global:!0,forced:r!==i},{ArrayBuffer:i}),l(u)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-uncurry-this"),o=e("../internals/fails"),l=e("../internals/array-buffer"),u=e("../internals/an-object"),i=e("../internals/to-absolute-index"),r=e("../internals/to-length"),t=e("../internals/species-constructor"),n=l.ArrayBuffer,s=l.DataView,d=s.prototype,m=a(n.prototype.slice),h=a(d.getUint8),y=a(d.setUint8),p=o(function(){return!new n(2).slice(1,void 0).byteLength});c({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:p},{slice:function(x,S){if(m&&S===void 0)return m(u(this),x);for(var w=u(this).byteLength,_=i(x,w),C=i(S===void 0?w:S,w),E=new(t(this,n))(r(C-_)),T=new s(this),R=new s(E),k=0;_<C;)y(R,k++,h(T,_++));return E}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/global"),o=e("../internals/fails"),l=e("../internals/is-array"),u=e("../internals/is-object"),i=e("../internals/to-object"),r=e("../internals/length-of-array-like"),t=e("../internals/create-property"),n=e("../internals/array-species-create"),s=e("../internals/array-method-has-species-support"),d=e("../internals/well-known-symbol"),m=e("../internals/engine-v8-version"),h=d("isConcatSpreadable"),y=9007199254740991,p="Maximum allowed index exceeded",b=a.TypeError,x=m>=51||!o(function(){var C=[];return C[h]=!1,C.concat()[0]!==C}),S=s("concat"),w=function(C){if(!u(C))return!1;var E=C[h];return E!==void 0?!!E:l(C)},_=!x||!S;c({target:"Array",proto:!0,forced:_},{concat:function(E){var T=i(this),R=n(T,0),k=0,P,L,O,N,H;for(P=-1,O=arguments.length;P<O;P++)if(H=P===-1?T:arguments[P],w(H)){if(N=r(H),k+N>y)throw b(p);for(L=0;L<N;L++,k++)L in H&&t(R,k,H[L])}else{if(k>=y)throw b(p);t(R,k++,H)}return R.length=k,R}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/array-fill"),o=e("../internals/add-to-unscopables");c({target:"Array",proto:!0},{fill:a}),o("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/array-iteration").filter,o=e("../internals/array-method-has-species-support"),l=o("filter");c({target:"Array",proto:!0,forced:!l},{filter:function(i){return a(this,i,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/array-iteration").find,o=e("../internals/add-to-unscopables"),l="find",u=!0;l in[]&&Array(1)[l](function(){u=!1}),c({target:"Array",proto:!0,forced:u},{find:function(r){return a(this,r,arguments.length>1?arguments[1]:void 0)}}),o(l)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/array-from"),o=e("../internals/check-correctness-of-iteration"),l=!o(function(u){Array.from(u)});c({target:"Array",stat:!0,forced:l},{from:a})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/array-includes").includes,o=e("../internals/add-to-unscopables");c({target:"Array",proto:!0},{includes:function(u){return a(this,u,arguments.length>1?arguments[1]:void 0)}}),o("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(e,g,v){"use strict";var c=e("../internals/to-indexed-object"),a=e("../internals/add-to-unscopables"),o=e("../internals/iterators"),l=e("../internals/internal-state"),u=e("../internals/object-define-property").f,i=e("../internals/define-iterator"),r=e("../internals/is-pure"),t=e("../internals/descriptors"),n="Array Iterator",s=l.set,d=l.getterFor(n);g.exports=i(Array,"Array",function(h,y){s(this,{type:n,target:c(h),index:0,kind:y})},function(){var h=d(this),y=h.target,p=h.kind,b=h.index++;return!y||b>=y.length?(h.target=void 0,{value:void 0,done:!0}):p=="keys"?{value:b,done:!1}:p=="values"?{value:y[b],done:!1}:{value:[b,y[b]],done:!1}},"values");var m=o.Arguments=o.Array;if(a("keys"),a("values"),a("entries"),!r&&t&&m.name!=="values")try{u(m,"name",{value:"values"})}catch(h){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),l=e("../internals/to-indexed-object"),u=e("../internals/array-method-is-strict"),i=a([].join),r=o!=Object,t=u("join",",");c({target:"Array",proto:!0,forced:r||!t},{join:function(s){return i(l(this),s===void 0?",":s)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/array-iteration").map,o=e("../internals/array-method-has-species-support"),l=o("map");c({target:"Array",proto:!0,forced:!l},{map:function(i){return a(this,i,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/global"),o=e("../internals/is-array"),l=e("../internals/is-constructor"),u=e("../internals/is-object"),i=e("../internals/to-absolute-index"),r=e("../internals/length-of-array-like"),t=e("../internals/to-indexed-object"),n=e("../internals/create-property"),s=e("../internals/well-known-symbol"),d=e("../internals/array-method-has-species-support"),m=e("../internals/array-slice"),h=d("slice"),y=s("species"),p=a.Array,b=Math.max;c({target:"Array",proto:!0,forced:!h},{slice:function(S,w){var _=t(this),C=r(_),E=i(S,C),T=i(w===void 0?C:w,C),R,k,P;if(o(_)&&(R=_.constructor,l(R)&&(R===p||o(R.prototype))?R=void 0:u(R)&&(R=R[y],R===null&&(R=void 0)),R===p||R===void 0))return m(_,E,T);for(k=new(R===void 0?p:R)(b(T-E,0)),P=0;E<T;E++,P++)E in _&&n(k,P,_[E]);return k.length=P,k}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-uncurry-this"),o=e("../internals/a-callable"),l=e("../internals/to-object"),u=e("../internals/length-of-array-like"),i=e("../internals/to-string"),r=e("../internals/fails"),t=e("../internals/array-sort"),n=e("../internals/array-method-is-strict"),s=e("../internals/engine-ff-version"),d=e("../internals/engine-is-ie-or-edge"),m=e("../internals/engine-v8-version"),h=e("../internals/engine-webkit-version"),y=[],p=a(y.sort),b=a(y.push),x=r(function(){y.sort(void 0)}),S=r(function(){y.sort(null)}),w=n("sort"),_=!r(function(){if(m)return m<70;if(!(s&&s>3)){if(d)return!0;if(h)return h<603;var T="",R,k,P,L;for(R=65;R<76;R++){switch(k=String.fromCharCode(R),R){case 66:case 69:case 70:case 72:P=3;break;case 68:case 71:P=4;break;default:P=2}for(L=0;L<47;L++)y.push({k:k+L,v:P})}for(y.sort(function(O,N){return N.v-O.v}),L=0;L<y.length;L++)k=y[L].k.charAt(0),T.charAt(T.length-1)!==k&&(T+=k);return T!=="DGBEFHACIJK"}}),C=x||!S||!w||!_,E=function(T){return function(R,k){return k===void 0?-1:R===void 0?1:T!==void 0?+T(R,k)||0:i(R)>i(k)?1:-1}};c({target:"Array",proto:!0,forced:C},{sort:function(R){R!==void 0&&o(R);var k=l(this);if(_)return R===void 0?p(k):p(k,R);var P=[],L=u(k),O,N;for(N=0;N<L;N++)N in k&&b(P,k[N]);for(t(P,E(R)),O=P.length,N=0;N<O;)k[N]=P[N++];for(;N<L;)delete k[N++];return k}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/global"),o=e("../internals/to-absolute-index"),l=e("../internals/to-integer-or-infinity"),u=e("../internals/length-of-array-like"),i=e("../internals/to-object"),r=e("../internals/array-species-create"),t=e("../internals/create-property"),n=e("../internals/array-method-has-species-support"),s=n("splice"),d=a.TypeError,m=Math.max,h=Math.min,y=9007199254740991,p="Maximum allowed length exceeded";c({target:"Array",proto:!0,forced:!s},{splice:function(x,S){var w=i(this),_=u(w),C=o(x,_),E=arguments.length,T,R,k,P,L,O;if(E===0?T=R=0:E===1?(T=0,R=_-C):(T=E-2,R=h(m(l(S),0),_-C)),_+T-R>y)throw d(p);for(k=r(w,R),P=0;P<R;P++)L=C+P,L in w&&t(k,P,w[L]);if(k.length=R,T<R){for(P=C;P<_-R;P++)L=P+R,O=P+T,L in w?w[O]=w[L]:delete w[O];for(P=_;P>_-R+T;P--)delete w[P-1]}else if(T>R)for(P=_-R;P>C;P--)L=P+R-1,O=P+T-1,L in w?w[O]=w[L]:delete w[O];for(P=0;P<T;P++)w[P+C]=arguments[P+2];return w.length=_-R+T,k}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/function-name").EXISTS,o=e("../internals/function-uncurry-this"),l=e("../internals/object-define-property").f,u=Function.prototype,i=o(u.toString),r=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,t=o(r.exec),n="name";c&&!a&&l(u,n,{configurable:!0,get:function(){try{return t(r,i(this))[1]}catch(s){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/get-built-in"),o=e("../internals/function-apply"),l=e("../internals/function-call"),u=e("../internals/function-uncurry-this"),i=e("../internals/fails"),r=e("../internals/is-array"),t=e("../internals/is-callable"),n=e("../internals/is-object"),s=e("../internals/is-symbol"),d=e("../internals/array-slice"),m=e("../internals/native-symbol"),h=a("JSON","stringify"),y=u(/./.exec),p=u("".charAt),b=u("".charCodeAt),x=u("".replace),S=u(1 .toString),w=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,C=/^[\uDC00-\uDFFF]$/,E=!m||i(function(){var P=a("Symbol")();return h([P])!="[null]"||h({a:P})!="{}"||h(Object(P))!="{}"}),T=i(function(){return h("\uDF06\uD834")!=='"\\udf06\\ud834"'||h("\uDEAD")!=='"\\udead"'}),R=function(P,L){var O=d(arguments),N=L;if(!(!n(L)&&P===void 0||s(P)))return r(L)||(L=function(H,V){if(t(N)&&(V=l(N,this,H,V)),!s(V))return V}),O[1]=L,o(h,null,O)},k=function(P,L,O){var N=p(O,L-1),H=p(O,L+1);return y(_,P)&&!y(C,H)||y(C,P)&&!y(_,N)?"\\u"+S(b(P,0),16):P};h&&c({target:"JSON",stat:!0,forced:E||T},{stringify:function(L,O,N){var H=d(arguments),V=o(E?R:h,null,H);return T&&typeof V=="string"?x(V,w,k):V}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(e,g,v){"use strict";var c=e("../internals/descriptors"),a=e("../internals/global"),o=e("../internals/function-uncurry-this"),l=e("../internals/is-forced"),u=e("../internals/redefine"),i=e("../internals/has-own-property"),r=e("../internals/inherit-if-required"),t=e("../internals/object-is-prototype-of"),n=e("../internals/is-symbol"),s=e("../internals/to-primitive"),d=e("../internals/fails"),m=e("../internals/object-get-own-property-names").f,h=e("../internals/object-get-own-property-descriptor").f,y=e("../internals/object-define-property").f,p=e("../internals/this-number-value"),b=e("../internals/string-trim").trim,x="Number",S=a[x],w=S.prototype,_=a.TypeError,C=o("".slice),E=o("".charCodeAt),T=function(N){var H=s(N,"number");return typeof H=="bigint"?H:R(H)},R=function(N){var H=s(N,"number"),V,B,te,ee,J,Q,re,Z;if(n(H))throw _("Cannot convert a Symbol value to a number");if(typeof H=="string"&&H.length>2){if(H=b(H),V=E(H,0),V===43||V===45){if(B=E(H,2),B===88||B===120)return NaN}else if(V===48){switch(E(H,1)){case 66:case 98:te=2,ee=49;break;case 79:case 111:te=8,ee=55;break;default:return+H}for(J=C(H,2),Q=J.length,re=0;re<Q;re++)if(Z=E(J,re),Z<48||Z>ee)return NaN;return parseInt(J,te)}}return+H};if(l(x,!S(" 0o1")||!S("0b1")||S("+0x1"))){for(var k=function(H){var V=arguments.length<1?0:S(T(H)),B=this;return t(w,B)&&d(function(){p(B)})?r(Object(V),B,k):V},P=c?m(S):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),L=0,O;P.length>L;L++)i(S,O=P[L])&&!i(k,O)&&y(k,O,h(S,O));k.prototype=w,w.constructor=k,u(a,x,k)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/object-assign");c({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/object-to-array").entries;c({target:"Object",stat:!0},{entries:function(l){return a(l)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/native-symbol"),o=e("../internals/fails"),l=e("../internals/object-get-own-property-symbols"),u=e("../internals/to-object"),i=!a||o(function(){l.f(1)});c({target:"Object",stat:!0,forced:i},{getOwnPropertySymbols:function(t){var n=l.f;return n?n(u(t)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/to-object"),o=e("../internals/object-keys"),l=e("../internals/fails"),u=l(function(){o(1)});c({target:"Object",stat:!0,forced:u},{keys:function(r){return o(a(r))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(e,g,v){var c=e("../internals/to-string-tag-support"),a=e("../internals/redefine"),o=e("../internals/object-to-string");c||a(Object.prototype,"toString",o,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-call"),o=e("../internals/a-callable"),l=e("../internals/new-promise-capability"),u=e("../internals/perform"),i=e("../internals/iterate"),r=e("../internals/promise-statics-incorrect-iteration");c({target:"Promise",stat:!0,forced:r},{all:function(n){var s=this,d=l.f(s),m=d.resolve,h=d.reject,y=u(function(){var p=o(s.resolve),b=[],x=0,S=1;i(n,function(w){var _=x++,C=!1;S++,a(p,s,w).then(function(E){C||(C=!0,b[_]=E,--S||m(b))},h)}),--S||m(b)});return y.error&&h(y.value),d.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/is-pure"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR,l=e("../internals/promise-native-constructor"),u=e("../internals/get-built-in"),i=e("../internals/is-callable"),r=e("../internals/redefine"),t=l&&l.prototype;if(c({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(s){return this.then(void 0,s)}}),!a&&i(l)){var n=u("Promise").prototype.catch;t.catch!==n&&r(t,"catch",n,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/is-pure"),o=e("../internals/engine-is-node"),l=e("../internals/global"),u=e("../internals/function-call"),i=e("../internals/redefine"),r=e("../internals/redefine-all"),t=e("../internals/object-set-prototype-of"),n=e("../internals/set-to-string-tag"),s=e("../internals/set-species"),d=e("../internals/a-callable"),m=e("../internals/is-callable"),h=e("../internals/is-object"),y=e("../internals/an-instance"),p=e("../internals/species-constructor"),b=e("../internals/task").set,x=e("../internals/microtask"),S=e("../internals/host-report-errors"),w=e("../internals/perform"),_=e("../internals/queue"),C=e("../internals/internal-state"),E=e("../internals/promise-native-constructor"),T=e("../internals/promise-constructor-detection"),R=e("../internals/new-promise-capability"),k="Promise",P=T.CONSTRUCTOR,L=T.REJECTION_EVENT,O=T.SUBCLASSING,N=C.getterFor(k),H=C.set,V=E&&E.prototype,B=E,te=V,ee=l.TypeError,J=l.document,Q=l.process,re=R.f,Z=re,X=!!(J&&J.createEvent&&l.dispatchEvent),$="unhandledrejection",ie="rejectionhandled",de=0,pe=1,G=2,I=1,q=2,F,Y,ue,ce,ne=function(ge){var xe;return h(ge)&&m(xe=ge.then)?xe:!1},U=function(ge,xe){var ye=xe.value,Te=xe.state==pe,se=Te?ge.ok:ge.fail,fe=ge.resolve,me=ge.reject,Ee=ge.domain,je,Le,He;try{se?(Te||(xe.rejection===q&&he(xe),xe.rejection=I),se===!0?je=ye:(Ee&&Ee.enter(),je=se(ye),Ee&&(Ee.exit(),He=!0)),je===ge.promise?me(ee("Promise-chain cycle")):(Le=ne(je))?u(Le,je,fe,me):fe(je)):me(ye)}catch(We){Ee&&!He&&Ee.exit(),me(We)}},M=function(ge,xe){ge.notified||(ge.notified=!0,x(function(){for(var ye=ge.reactions,Te;Te=ye.get();)U(Te,ge);ge.notified=!1,xe&&!ge.rejection&&K(ge)}))},W=function(ge,xe,ye){var Te,se;X?(Te=J.createEvent("Event"),Te.promise=xe,Te.reason=ye,Te.initEvent(ge,!1,!0),l.dispatchEvent(Te)):Te={promise:xe,reason:ye},!L&&(se=l["on"+ge])?se(Te):ge===$&&S("Unhandled promise rejection",ye)},K=function(ge){u(b,l,function(){var xe=ge.facade,ye=ge.value,Te=oe(ge),se;if(Te&&(se=w(function(){o?Q.emit("unhandledRejection",ye,xe):W($,xe,ye)}),ge.rejection=o||oe(ge)?q:I,se.error))throw se.value})},oe=function(ge){return ge.rejection!==I&&!ge.parent},he=function(ge){u(b,l,function(){var xe=ge.facade;o?Q.emit("rejectionHandled",xe):W(ie,xe,ge.value)})},ae=function(ge,xe,ye){return function(Te){ge(xe,Te,ye)}},le=function(ge,xe,ye){ge.done||(ge.done=!0,ye&&(ge=ye),ge.value=xe,ge.state=G,M(ge,!0))},Se=function(ge,xe,ye){if(!ge.done){ge.done=!0,ye&&(ge=ye);try{if(ge.facade===xe)throw ee("Promise can't be resolved itself");var Te=ne(xe);Te?x(function(){var se={done:!1};try{u(Te,xe,ae(Se,se,ge),ae(le,se,ge))}catch(fe){le(se,fe,ge)}}):(ge.value=xe,ge.state=pe,M(ge,!1))}catch(se){le({done:!1},se,ge)}}};if(P&&(B=function(xe){y(this,te),d(xe),u(F,this);var ye=N(this);try{xe(ae(Se,ye),ae(le,ye))}catch(Te){le(ye,Te)}},te=B.prototype,F=function(xe){H(this,{type:k,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:de,value:void 0})},F.prototype=r(te,{then:function(xe,ye){var Te=N(this),se=re(p(this,B));return Te.parent=!0,se.ok=m(xe)?xe:!0,se.fail=m(ye)&&ye,se.domain=o?Q.domain:void 0,Te.state==de?Te.reactions.add(se):x(function(){U(se,Te)}),se.promise}}),Y=function(){var ge=new F,xe=N(ge);this.promise=ge,this.resolve=ae(Se,xe),this.reject=ae(le,xe)},R.f=re=function(ge){return ge===B||ge===ue?new Y(ge):Z(ge)},!a&&m(E)&&V!==Object.prototype)){ce=V.then,O||i(V,"then",function(xe,ye){var Te=this;return new B(function(se,fe){u(ce,Te,se,fe)}).then(xe,ye)},{unsafe:!0});try{delete V.constructor}catch(ge){}t&&t(V,te)}c({global:!0,wrap:!0,forced:P},{Promise:B}),n(B,k,!1,!0),s(k)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(e,g,v){e("../modules/es.promise.constructor"),e("../modules/es.promise.all"),e("../modules/es.promise.catch"),e("../modules/es.promise.race"),e("../modules/es.promise.reject"),e("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-call"),o=e("../internals/a-callable"),l=e("../internals/new-promise-capability"),u=e("../internals/perform"),i=e("../internals/iterate"),r=e("../internals/promise-statics-incorrect-iteration");c({target:"Promise",stat:!0,forced:r},{race:function(n){var s=this,d=l.f(s),m=d.reject,h=u(function(){var y=o(s.resolve);i(n,function(p){a(y,s,p).then(d.resolve,m)})});return h.error&&m(h.value),d.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-call"),o=e("../internals/new-promise-capability"),l=e("../internals/promise-constructor-detection").CONSTRUCTOR;c({target:"Promise",stat:!0,forced:l},{reject:function(i){var r=o.f(this);return a(r.reject,void 0,i),r.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/get-built-in"),o=e("../internals/is-pure"),l=e("../internals/promise-native-constructor"),u=e("../internals/promise-constructor-detection").CONSTRUCTOR,i=e("../internals/promise-resolve"),r=a("Promise"),t=o&&!u;c({target:"Promise",stat:!0,forced:o||u},{resolve:function(s){return i(t&&this===r?l:this,s)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(e,g,v){var c=e("../internals/descriptors"),a=e("../internals/global"),o=e("../internals/function-uncurry-this"),l=e("../internals/is-forced"),u=e("../internals/inherit-if-required"),i=e("../internals/create-non-enumerable-property"),r=e("../internals/object-get-own-property-names").f,t=e("../internals/object-is-prototype-of"),n=e("../internals/is-regexp"),s=e("../internals/to-string"),d=e("../internals/regexp-get-flags"),m=e("../internals/regexp-sticky-helpers"),h=e("../internals/proxy-accessor"),y=e("../internals/redefine"),p=e("../internals/fails"),b=e("../internals/has-own-property"),x=e("../internals/internal-state").enforce,S=e("../internals/set-species"),w=e("../internals/well-known-symbol"),_=e("../internals/regexp-unsupported-dot-all"),C=e("../internals/regexp-unsupported-ncg"),E=w("match"),T=a.RegExp,R=T.prototype,k=a.SyntaxError,P=o(R.exec),L=o("".charAt),O=o("".replace),N=o("".indexOf),H=o("".slice),V=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,te=/a/g,ee=new T(B)!==B,J=m.MISSED_STICKY,Q=m.UNSUPPORTED_Y,re=c&&(!ee||J||_||C||p(function(){return te[E]=!1,T(B)!=B||T(te)==te||T(B,"i")!="/a/i"})),Z=function(pe){for(var G=pe.length,I=0,q="",F=!1,Y;I<=G;I++){if(Y=L(pe,I),Y==="\\"){q+=Y+L(pe,++I);continue}!F&&Y==="."?q+="[\\s\\S]":(Y==="["?F=!0:Y==="]"&&(F=!1),q+=Y)}return q},X=function(pe){for(var G=pe.length,I=0,q="",F=[],Y={},ue=!1,ce=!1,ne=0,U="",M;I<=G;I++){if(M=L(pe,I),M==="\\")M=M+L(pe,++I);else if(M==="]")ue=!1;else if(!ue)switch(!0){case M==="[":ue=!0;break;case M==="(":P(V,H(pe,I+1))&&(I+=2,ce=!0),q+=M,ne++;continue;case(M===">"&&ce):if(U===""||b(Y,U))throw new k("Invalid capture group name");Y[U]=!0,F[F.length]=[U,ne],ce=!1,U="";continue}ce?U+=M:q+=M}return[q,F]};if(l("RegExp",re)){for(var $=function(G,I){var q=t(R,this),F=n(G),Y=I===void 0,ue=[],ce=G,ne,U,M,W,K,oe;if(!q&&F&&Y&&G.constructor===$)return G;if((F||t(R,G))&&(G=G.source,Y&&(I=d(ce))),G=G===void 0?"":s(G),I=I===void 0?"":s(I),ce=G,_&&"dotAll"in B&&(U=!!I&&N(I,"s")>-1,U&&(I=O(I,/s/g,""))),ne=I,J&&"sticky"in B&&(M=!!I&&N(I,"y")>-1,M&&Q&&(I=O(I,/y/g,""))),C&&(W=X(G),G=W[0],ue=W[1]),K=u(T(G,I),q?this:R,$),(U||M||ue.length)&&(oe=x(K),U&&(oe.dotAll=!0,oe.raw=$(Z(G),ne)),M&&(oe.sticky=!0),ue.length&&(oe.groups=ue)),G!==ce)try{i(K,"source",ce===""?"(?:)":ce)}catch(he){}return K},ie=r(T),de=0;ie.length>de;)h($,T,ie[de++]);R.constructor=$,$.prototype=R,y(a,"RegExp",$)}S("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/regexp-exec");c({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(e,g,v){"use strict";var c=e("../internals/function-name").PROPER,a=e("../internals/redefine"),o=e("../internals/an-object"),l=e("../internals/to-string"),u=e("../internals/fails"),i=e("../internals/regexp-get-flags"),r="toString",t=RegExp.prototype,n=t[r],s=u(function(){return n.call({source:"a",flags:"b"})!="/a/b"}),d=c&&n.name!=r;(s||d)&&a(RegExp.prototype,r,function(){var h=o(this),y=l(h.source),p=l(i(h));return"/"+y+"/"+p},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/function-uncurry-this"),o=e("../internals/not-a-regexp"),l=e("../internals/require-object-coercible"),u=e("../internals/to-string"),i=e("../internals/correct-is-regexp-logic"),r=a("".indexOf);c({target:"String",proto:!0,forced:!i("includes")},{includes:function(n){return!!~r(u(l(this)),u(o(n)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(e,g,v){"use strict";var c=e("../internals/string-multibyte").charAt,a=e("../internals/to-string"),o=e("../internals/internal-state"),l=e("../internals/define-iterator"),u="String Iterator",i=o.set,r=o.getterFor(u);l(String,"String",function(t){i(this,{type:u,string:a(t),index:0})},function(){var n=r(this),s=n.string,d=n.index,m;return d>=s.length?{value:void 0,done:!0}:(m=c(s,d),n.index+=m.length,{value:m,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(e,g,v){"use strict";var c=e("../internals/function-call"),a=e("../internals/fix-regexp-well-known-symbol-logic"),o=e("../internals/an-object"),l=e("../internals/to-length"),u=e("../internals/to-string"),i=e("../internals/require-object-coercible"),r=e("../internals/get-method"),t=e("../internals/advance-string-index"),n=e("../internals/regexp-exec-abstract");a("match",function(s,d,m){return[function(y){var p=i(this),b=y==null?void 0:r(y,s);return b?c(b,y,p):new RegExp(y)[s](u(p))},function(h){var y=o(this),p=u(h),b=m(d,y,p);if(b.done)return b.value;if(!y.global)return n(y,p);var x=y.unicode;y.lastIndex=0;for(var S=[],w=0,_;(_=n(y,p))!==null;){var C=u(_[0]);S[w]=C,C===""&&(y.lastIndex=t(p,l(y.lastIndex),x)),w++}return w===0?null:S}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(e,g,v){"use strict";var c=e("../internals/function-apply"),a=e("../internals/function-call"),o=e("../internals/function-uncurry-this"),l=e("../internals/fix-regexp-well-known-symbol-logic"),u=e("../internals/fails"),i=e("../internals/an-object"),r=e("../internals/is-callable"),t=e("../internals/to-integer-or-infinity"),n=e("../internals/to-length"),s=e("../internals/to-string"),d=e("../internals/require-object-coercible"),m=e("../internals/advance-string-index"),h=e("../internals/get-method"),y=e("../internals/get-substitution"),p=e("../internals/regexp-exec-abstract"),b=e("../internals/well-known-symbol"),x=b("replace"),S=Math.max,w=Math.min,_=o([].concat),C=o([].push),E=o("".indexOf),T=o("".slice),R=function(O){return O===void 0?O:String(O)},k=function(){return"a".replace(/./,"$0")==="$0"}(),P=function(){return/./[x]?/./[x]("a","$0")==="":!1}(),L=!u(function(){var O=/./;return O.exec=function(){var N=[];return N.groups={a:"7"},N},"".replace(O,"$<a>")!=="7"});l("replace",function(O,N,H){var V=P?"$":"$0";return[function(te,ee){var J=d(this),Q=te==null?void 0:h(te,x);return Q?a(Q,te,J,ee):a(N,s(J),te,ee)},function(B,te){var ee=i(this),J=s(B);if(typeof te=="string"&&E(te,V)===-1&&E(te,"$<")===-1){var Q=H(N,ee,J,te);if(Q.done)return Q.value}var re=r(te);re||(te=s(te));var Z=ee.global;if(Z){var X=ee.unicode;ee.lastIndex=0}for(var $=[];;){var ie=p(ee,J);if(ie===null||(C($,ie),!Z))break;var de=s(ie[0]);de===""&&(ee.lastIndex=m(J,n(ee.lastIndex),X))}for(var pe="",G=0,I=0;I<$.length;I++){ie=$[I];for(var q=s(ie[0]),F=S(w(t(ie.index),J.length),0),Y=[],ue=1;ue<ie.length;ue++)C(Y,R(ie[ue]));var ce=ie.groups;if(re){var ne=_([q],Y,F,J);ce!==void 0&&C(ne,ce);var U=s(c(te,void 0,ne))}else U=y(q,J,F,Y,ce,te);F>=G&&(pe+=T(J,G,F)+U,G=F+q.length)}return pe+T(J,G)}]},!L||!k||P)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(e,g,v){"use strict";var c=e("../internals/function-call"),a=e("../internals/fix-regexp-well-known-symbol-logic"),o=e("../internals/an-object"),l=e("../internals/require-object-coercible"),u=e("../internals/same-value"),i=e("../internals/to-string"),r=e("../internals/get-method"),t=e("../internals/regexp-exec-abstract");a("search",function(n,s,d){return[function(h){var y=l(this),p=h==null?void 0:r(h,n);return p?c(p,h,y):new RegExp(h)[n](i(y))},function(m){var h=o(this),y=i(m),p=d(s,h,y);if(p.done)return p.value;var b=h.lastIndex;u(b,0)||(h.lastIndex=0);var x=t(h,y);return u(h.lastIndex,b)||(h.lastIndex=b),x===null?-1:x.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(e,g,v){"use strict";var c=e("../internals/function-apply"),a=e("../internals/function-call"),o=e("../internals/function-uncurry-this"),l=e("../internals/fix-regexp-well-known-symbol-logic"),u=e("../internals/is-regexp"),i=e("../internals/an-object"),r=e("../internals/require-object-coercible"),t=e("../internals/species-constructor"),n=e("../internals/advance-string-index"),s=e("../internals/to-length"),d=e("../internals/to-string"),m=e("../internals/get-method"),h=e("../internals/array-slice-simple"),y=e("../internals/regexp-exec-abstract"),p=e("../internals/regexp-exec"),b=e("../internals/regexp-sticky-helpers"),x=e("../internals/fails"),S=b.UNSUPPORTED_Y,w=4294967295,_=Math.min,C=[].push,E=o(/./.exec),T=o(C),R=o("".slice),k=!x(function(){var P=/(?:)/,L=P.exec;P.exec=function(){return L.apply(this,arguments)};var O="ab".split(P);return O.length!==2||O[0]!=="a"||O[1]!=="b"});l("split",function(P,L,O){var N;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?N=function(H,V){var B=d(r(this)),te=V===void 0?w:V>>>0;if(te===0)return[];if(H===void 0)return[B];if(!u(H))return a(L,B,H,te);for(var ee=[],J=(H.ignoreCase?"i":"")+(H.multiline?"m":"")+(H.unicode?"u":"")+(H.sticky?"y":""),Q=0,re=new RegExp(H.source,J+"g"),Z,X,$;(Z=a(p,re,B))&&(X=re.lastIndex,!(X>Q&&(T(ee,R(B,Q,Z.index)),Z.length>1&&Z.index<B.length&&c(C,ee,h(Z,1)),$=Z[0].length,Q=X,ee.length>=te)));)re.lastIndex===Z.index&&re.lastIndex++;return Q===B.length?($||!E(re,""))&&T(ee,""):T(ee,R(B,Q)),ee.length>te?h(ee,0,te):ee}:"0".split(void 0,0).length?N=function(H,V){return H===void 0&&V===0?[]:a(L,this,H,V)}:N=L,[function(V,B){var te=r(this),ee=V==null?void 0:m(V,P);return ee?a(ee,V,te,B):a(N,d(te),V,B)},function(H,V){var B=i(this),te=d(H),ee=O(N,B,te,V,N!==L);if(ee.done)return ee.value;var J=t(B,RegExp),Q=B.unicode,re=(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")+(S?"g":"y"),Z=new J(S?"^(?:"+B.source+")":B,re),X=V===void 0?w:V>>>0;if(X===0)return[];if(te.length===0)return y(Z,te)===null?[te]:[];for(var $=0,ie=0,de=[];ie<te.length;){Z.lastIndex=S?0:ie;var pe=y(Z,S?R(te,ie):te),G;if(pe===null||(G=_(s(Z.lastIndex+(S?ie:0)),te.length))===$)ie=n(te,ie,Q);else{if(T(de,R(te,$,ie)),de.length===X)return de;for(var I=1;I<=pe.length-1;I++)if(T(de,pe[I]),de.length===X)return de;ie=$=G}}return T(de,R(te,$)),de}]},!k,S)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/string-trim").trim,o=e("../internals/string-trim-forced");c({target:"String",proto:!0,forced:o("trim")},{trim:function(){return a(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/global"),o=e("../internals/function-call"),l=e("../internals/function-uncurry-this"),u=e("../internals/is-pure"),i=e("../internals/descriptors"),r=e("../internals/native-symbol"),t=e("../internals/fails"),n=e("../internals/has-own-property"),s=e("../internals/object-is-prototype-of"),d=e("../internals/an-object"),m=e("../internals/to-indexed-object"),h=e("../internals/to-property-key"),y=e("../internals/to-string"),p=e("../internals/create-property-descriptor"),b=e("../internals/object-create"),x=e("../internals/object-keys"),S=e("../internals/object-get-own-property-names"),w=e("../internals/object-get-own-property-names-external"),_=e("../internals/object-get-own-property-symbols"),C=e("../internals/object-get-own-property-descriptor"),E=e("../internals/object-define-property"),T=e("../internals/object-define-properties"),R=e("../internals/object-property-is-enumerable"),k=e("../internals/redefine"),P=e("../internals/shared"),L=e("../internals/shared-key"),O=e("../internals/hidden-keys"),N=e("../internals/uid"),H=e("../internals/well-known-symbol"),V=e("../internals/well-known-symbol-wrapped"),B=e("../internals/define-well-known-symbol"),te=e("../internals/symbol-define-to-primitive"),ee=e("../internals/set-to-string-tag"),J=e("../internals/internal-state"),Q=e("../internals/array-iteration").forEach,re=L("hidden"),Z="Symbol",X="prototype",$=J.set,ie=J.getterFor(Z),de=Object[X],pe=a.Symbol,G=pe&&pe[X],I=a.TypeError,q=a.QObject,F=C.f,Y=E.f,ue=w.f,ce=R.f,ne=l([].push),U=P("symbols"),M=P("op-symbols"),W=P("wks"),K=!q||!q[X]||!q[X].findChild,oe=i&&t(function(){return b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a!=7})?function(se,fe,me){var Ee=F(de,fe);Ee&&delete de[fe],Y(se,fe,me),Ee&&se!==de&&Y(de,fe,Ee)}:Y,he=function(se,fe){var me=U[se]=b(G);return $(me,{type:Z,tag:se,description:fe}),i||(me.description=fe),me},ae=function(fe,me,Ee){fe===de&&ae(M,me,Ee),d(fe);var je=h(me);return d(Ee),n(U,je)?(Ee.enumerable?(n(fe,re)&&fe[re][je]&&(fe[re][je]=!1),Ee=b(Ee,{enumerable:p(0,!1)})):(n(fe,re)||Y(fe,re,p(1,{})),fe[re][je]=!0),oe(fe,je,Ee)):Y(fe,je,Ee)},le=function(fe,me){d(fe);var Ee=m(me),je=x(Ee).concat(Te(Ee));return Q(je,function(Le){(!i||o(ge,Ee,Le))&&ae(fe,Le,Ee[Le])}),fe},Se=function(fe,me){return me===void 0?b(fe):le(b(fe),me)},ge=function(fe){var me=h(fe),Ee=o(ce,this,me);return this===de&&n(U,me)&&!n(M,me)?!1:Ee||!n(this,me)||!n(U,me)||n(this,re)&&this[re][me]?Ee:!0},xe=function(fe,me){var Ee=m(fe),je=h(me);if(!(Ee===de&&n(U,je)&&!n(M,je))){var Le=F(Ee,je);return Le&&n(U,je)&&!(n(Ee,re)&&Ee[re][je])&&(Le.enumerable=!0),Le}},ye=function(fe){var me=ue(m(fe)),Ee=[];return Q(me,function(je){!n(U,je)&&!n(O,je)&&ne(Ee,je)}),Ee},Te=function(se){var fe=se===de,me=ue(fe?M:m(se)),Ee=[];return Q(me,function(je){n(U,je)&&(!fe||n(de,je))&&ne(Ee,U[je])}),Ee};r||(pe=function(){if(s(G,this))throw I("Symbol is not a constructor");var fe=!arguments.length||arguments[0]===void 0?void 0:y(arguments[0]),me=N(fe),Ee=function(je){this===de&&o(Ee,M,je),n(this,re)&&n(this[re],me)&&(this[re][me]=!1),oe(this,me,p(1,je))};return i&&K&&oe(de,me,{configurable:!0,set:Ee}),he(me,fe)},G=pe[X],k(G,"toString",function(){return ie(this).tag}),k(pe,"withoutSetter",function(se){return he(N(se),se)}),R.f=ge,E.f=ae,T.f=le,C.f=xe,S.f=w.f=ye,_.f=Te,V.f=function(se){return he(H(se),se)},i&&(Y(G,"description",{configurable:!0,get:function(){return ie(this).description}}),u||k(de,"propertyIsEnumerable",ge,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!r,sham:!r},{Symbol:pe}),Q(x(W),function(se){B(se)}),c({target:Z,stat:!0,forced:!r},{useSetter:function(){K=!0},useSimple:function(){K=!1}}),c({target:"Object",stat:!0,forced:!r,sham:!i},{create:Se,defineProperty:ae,defineProperties:le,getOwnPropertyDescriptor:xe}),c({target:"Object",stat:!0,forced:!r},{getOwnPropertyNames:ye}),te(),ee(pe,Z),O[re]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(e,g,v){"use strict";var c=e("../internals/export"),a=e("../internals/descriptors"),o=e("../internals/global"),l=e("../internals/function-uncurry-this"),u=e("../internals/has-own-property"),i=e("../internals/is-callable"),r=e("../internals/object-is-prototype-of"),t=e("../internals/to-string"),n=e("../internals/object-define-property").f,s=e("../internals/copy-constructor-properties"),d=o.Symbol,m=d&&d.prototype;if(a&&i(d)&&(!("description"in m)||d().description!==void 0)){var h={},y=function(){var E=arguments.length<1||arguments[0]===void 0?void 0:t(arguments[0]),T=r(m,this)?new d(E):E===void 0?d():d(E);return E===""&&(h[T]=!0),T};s(y,d),y.prototype=m,m.constructor=y;var p=String(d("test"))=="Symbol(test)",b=l(m.toString),x=l(m.valueOf),S=/^Symbol\((.*)\)[^)]+$/,w=l("".replace),_=l("".slice);n(m,"description",{configurable:!0,get:function(){var E=x(this),T=b(E);if(u(h,E))return"";var R=p?_(T,7,-1):w(T,S,"$1");return R===""?void 0:R}}),c({global:!0,forced:!0},{Symbol:y})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/get-built-in"),o=e("../internals/has-own-property"),l=e("../internals/to-string"),u=e("../internals/shared"),i=e("../internals/native-symbol-registry"),r=u("string-to-symbol-registry"),t=u("symbol-to-string-registry");c({target:"Symbol",stat:!0,forced:!i},{for:function(n){var s=l(n);if(o(r,s))return r[s];var d=a("Symbol")(s);return r[s]=d,t[d]=s,d}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(e,g,v){var c=e("../internals/define-well-known-symbol");c("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(e,g,v){e("../modules/es.symbol.constructor"),e("../modules/es.symbol.for"),e("../modules/es.symbol.key-for"),e("../modules/es.json.stringify"),e("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(e,g,v){var c=e("../internals/export"),a=e("../internals/has-own-property"),o=e("../internals/is-symbol"),l=e("../internals/try-to-string"),u=e("../internals/shared"),i=e("../internals/native-symbol-registry"),r=u("symbol-to-string-registry");c({target:"Symbol",stat:!0,forced:!i},{keyFor:function(n){if(!o(n))throw TypeError(l(n)+" is not a symbol");if(a(r,n))return r[n]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(e,g,v){"use strict";var c=e("../internals/function-uncurry-this"),a=e("../internals/array-buffer-view-core"),o=e("../internals/array-copy-within"),l=c(o),u=a.aTypedArray,i=a.exportTypedArrayMethod;i("copyWithin",function(t,n){return l(u(this),t,n,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-iteration").every,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("every",function(i){return a(o(this),i,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/function-call"),o=e("../internals/array-fill"),l=c.aTypedArray,u=c.exportTypedArrayMethod;u("fill",function(r){var t=arguments.length;return a(o,l(this),r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-iteration").filter,o=e("../internals/typed-array-from-species-and-list"),l=c.aTypedArray,u=c.exportTypedArrayMethod;u("filter",function(r){var t=a(l(this),r,arguments.length>1?arguments[1]:void 0);return o(this,t)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-iteration").findIndex,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("findIndex",function(i){return a(o(this),i,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-iteration").find,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("find",function(i){return a(o(this),i,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-iteration").forEach,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("forEach",function(i){a(o(this),i,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-includes").includes,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("includes",function(i){return a(o(this),i,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-includes").indexOf,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("indexOf",function(i){return a(o(this),i,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(e,g,v){"use strict";var c=e("../internals/global"),a=e("../internals/fails"),o=e("../internals/function-uncurry-this"),l=e("../internals/array-buffer-view-core"),u=e("../modules/es.array.iterator"),i=e("../internals/well-known-symbol"),r=i("iterator"),t=c.Uint8Array,n=o(u.values),s=o(u.keys),d=o(u.entries),m=l.aTypedArray,h=l.exportTypedArrayMethod,y=t&&t.prototype,p=!a(function(){y[r].call([1])}),b=!!y&&y.values&&y[r]===y.values&&y.values.name==="values",x=function(){return n(m(this))};h("entries",function(){return d(m(this))},p),h("keys",function(){return s(m(this))},p),h("values",x,p||!b,{name:"values"}),h(r,x,p||!b,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/function-uncurry-this"),o=c.aTypedArray,l=c.exportTypedArrayMethod,u=a([].join);l("join",function(r){return u(o(this),r)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/function-apply"),o=e("../internals/array-last-index-of"),l=c.aTypedArray,u=c.exportTypedArrayMethod;u("lastIndexOf",function(r){var t=arguments.length;return a(o,l(this),t>1?[r,arguments[1]]:[r])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-iteration").map,o=e("../internals/typed-array-species-constructor"),l=c.aTypedArray,u=c.exportTypedArrayMethod;u("map",function(r){return a(l(this),r,arguments.length>1?arguments[1]:void 0,function(t,n){return new(o(t))(n)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-reduce").right,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("reduceRight",function(i){var r=arguments.length;return a(o(this),i,r,r>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-reduce").left,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("reduce",function(i){var r=arguments.length;return a(o(this),i,r,r>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=c.aTypedArray,o=c.exportTypedArrayMethod,l=Math.floor;o("reverse",function(){for(var i=this,r=a(i).length,t=l(r/2),n=0,s;n<t;)s=i[n],i[n++]=i[--r],i[r]=s;return i})},{"../internals/array-buffer-view-core":103}],331:[function(e,g,v){"use strict";var c=e("../internals/global"),a=e("../internals/function-call"),o=e("../internals/array-buffer-view-core"),l=e("../internals/length-of-array-like"),u=e("../internals/to-offset"),i=e("../internals/to-object"),r=e("../internals/fails"),t=c.RangeError,n=c.Int8Array,s=n&&n.prototype,d=s&&s.set,m=o.aTypedArray,h=o.exportTypedArrayMethod,y=!r(function(){var b=new Uint8ClampedArray(2);return a(d,b,{length:1,0:3},1),b[1]!==3}),p=y&&o.NATIVE_ARRAY_BUFFER_VIEWS&&r(function(){var b=new n(2);return b.set(1),b.set("2",1),b[0]!==0||b[1]!==2});h("set",function(x){m(this);var S=u(arguments.length>1?arguments[1]:void 0,1),w=i(x);if(y)return a(d,this,w,S);var _=this.length,C=l(w),E=0;if(C+S>_)throw t("Wrong length");for(;E<C;)this[S+E]=w[E++]},!y||p)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/typed-array-species-constructor"),o=e("../internals/fails"),l=e("../internals/array-slice"),u=c.aTypedArray,i=c.exportTypedArrayMethod,r=o(function(){new Int8Array(1).slice()});i("slice",function(n,s){for(var d=l(u(this),n,s),m=a(this),h=0,y=d.length,p=new m(y);y>h;)p[h]=d[h++];return p},r)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/array-iteration").some,o=c.aTypedArray,l=c.exportTypedArrayMethod;l("some",function(i){return a(o(this),i,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(e,g,v){"use strict";var c=e("../internals/global"),a=e("../internals/function-uncurry-this"),o=e("../internals/fails"),l=e("../internals/a-callable"),u=e("../internals/array-sort"),i=e("../internals/array-buffer-view-core"),r=e("../internals/engine-ff-version"),t=e("../internals/engine-is-ie-or-edge"),n=e("../internals/engine-v8-version"),s=e("../internals/engine-webkit-version"),d=i.aTypedArray,m=i.exportTypedArrayMethod,h=c.Uint16Array,y=h&&a(h.prototype.sort),p=!!y&&!(o(function(){y(new h(2),null)})&&o(function(){y(new h(2),{})})),b=!!y&&!o(function(){if(n)return n<74;if(r)return r<67;if(t)return!0;if(s)return s<602;var S=new h(516),w=Array(516),_,C;for(_=0;_<516;_++)C=_%4,S[_]=515-_,w[_]=_-2*C+3;for(y(S,function(E,T){return(E/4|0)-(T/4|0)}),_=0;_<516;_++)if(S[_]!==w[_])return!0}),x=function(S){return function(w,_){return S!==void 0?+S(w,_)||0:_!==_?-1:w!==w?1:w===0&&_===0?1/w>0&&1/_<0?1:-1:w>_}};m("sort",function(w){return w!==void 0&&l(w),b?y(this,w):u(d(this),x(w))},!b||p)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core"),a=e("../internals/to-length"),o=e("../internals/to-absolute-index"),l=e("../internals/typed-array-species-constructor"),u=c.aTypedArray,i=c.exportTypedArrayMethod;i("subarray",function(t,n){var s=u(this),d=s.length,m=o(t,d),h=l(s);return new h(s.buffer,s.byteOffset+m*s.BYTES_PER_ELEMENT,a((n===void 0?d:o(n,d))-m))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(e,g,v){"use strict";var c=e("../internals/global"),a=e("../internals/function-apply"),o=e("../internals/array-buffer-view-core"),l=e("../internals/fails"),u=e("../internals/array-slice"),i=c.Int8Array,r=o.aTypedArray,t=o.exportTypedArrayMethod,n=[].toLocaleString,s=!!i&&l(function(){n.call(new i(1))}),d=l(function(){return[1,2].toLocaleString()!=new i([1,2]).toLocaleString()})||!l(function(){i.prototype.toLocaleString.call([1,2])});t("toLocaleString",function(){return a(n,s?u(r(this)):r(this),u(arguments))},d)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(e,g,v){"use strict";var c=e("../internals/array-buffer-view-core").exportTypedArrayMethod,a=e("../internals/fails"),o=e("../internals/global"),l=e("../internals/function-uncurry-this"),u=o.Uint8Array,i=u&&u.prototype||{},r=[].toString,t=l([].join);a(function(){r.call({})})&&(r=function(){return t(this)});var n=i.toString!=r;c("toString",r,n)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(e,g,v){var c=e("../internals/typed-array-constructor");c("Uint8",function(a){return function(l,u,i){return a(this,l,u,i)}})},{"../internals/typed-array-constructor":258}],339:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),l=e("../internals/array-for-each"),u=e("../internals/create-non-enumerable-property"),i=function(t){if(t&&t.forEach!==l)try{u(t,"forEach",l)}catch(n){t.forEach=l}};for(var r in a)a[r]&&i(c[r]&&c[r].prototype);i(o)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(e,g,v){var c=e("../internals/global"),a=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),l=e("../modules/es.array.iterator"),u=e("../internals/create-non-enumerable-property"),i=e("../internals/well-known-symbol"),r=i("iterator"),t=i("toStringTag"),n=l.values,s=function(m,h){if(m){if(m[r]!==n)try{u(m,r,n)}catch(p){m[r]=n}if(m[t]||u(m,t,h),a[h]){for(var y in l)if(m[y]!==l[y])try{u(m,y,l[y])}catch(p){m[y]=l[y]}}}};for(var d in a)s(c[d]&&c[d].prototype,d);s(o,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(e,g,v){function c(b){return Array.isArray?Array.isArray(b):p(b)==="[object Array]"}v.isArray=c;function a(b){return typeof b=="boolean"}v.isBoolean=a;function o(b){return b===null}v.isNull=o;function l(b){return b==null}v.isNullOrUndefined=l;function u(b){return typeof b=="number"}v.isNumber=u;function i(b){return typeof b=="string"}v.isString=i;function r(b){return typeof b=="symbol"}v.isSymbol=r;function t(b){return b===void 0}v.isUndefined=t;function n(b){return p(b)==="[object RegExp]"}v.isRegExp=n;function s(b){return typeof b=="object"&&b!==null}v.isObject=s;function d(b){return p(b)==="[object Date]"}v.isDate=d;function m(b){return p(b)==="[object Error]"||b instanceof Error}v.isError=m;function h(b){return typeof b=="function"}v.isFunction=h;function y(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||typeof b=="symbol"||typeof b=="undefined"}v.isPrimitive=y,v.isBuffer=e("buffer").Buffer.isBuffer;function p(b){return Object.prototype.toString.call(b)}},{buffer:90}],342:[function(e,g,v){(function(c){"use strict";var a=function(){var r=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g;return function(s,d,m,h){if(arguments.length===1&&i(s)==="string"&&!/\d/.test(s)&&(d=s,s=void 0),s=s||new Date,s instanceof Date||(s=new Date(s)),isNaN(s))throw TypeError("Invalid date");d=String(a.masks[d]||d||a.masks.default);var y=d.slice(0,4);(y==="UTC:"||y==="GMT:")&&(d=d.slice(4),m=!0,y==="GMT:"&&(h=!0));var p=m?"getUTC":"get",b=s[p+"Date"](),x=s[p+"Day"](),S=s[p+"Month"](),w=s[p+"FullYear"](),_=s[p+"Hours"](),C=s[p+"Minutes"](),E=s[p+"Seconds"](),T=s[p+"Milliseconds"](),R=m?0:s.getTimezoneOffset(),k=l(s),P=u(s),L={d:b,dd:o(b),ddd:a.i18n.dayNames[x],dddd:a.i18n.dayNames[x+7],m:S+1,mm:o(S+1),mmm:a.i18n.monthNames[S],mmmm:a.i18n.monthNames[S+12],yy:String(w).slice(2),yyyy:w,h:_%12||12,hh:o(_%12||12),H:_,HH:o(_),M:C,MM:o(C),s:E,ss:o(E),l:o(T,3),L:o(Math.round(T/10)),t:_<12?"a":"p",tt:_<12?"am":"pm",T:_<12?"A":"P",TT:_<12?"AM":"PM",Z:h?"GMT":m?"UTC":(String(s).match(t)||[""]).pop().replace(n,""),o:(R>0?"-":"+")+o(Math.floor(Math.abs(R)/60)*100+Math.abs(R)%60,4),S:["th","st","nd","rd"][b%10>3?0:(b%100-b%10!=10)*b%10],W:k,N:P};return d.replace(r,function(O){return O in L?L[O]:O.slice(1,O.length-1)})}}();a.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},a.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function o(r,t){for(r=String(r),t=t||2;r.length<t;)r="0"+r;return r}function l(r){var t=new Date(r.getFullYear(),r.getMonth(),r.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var s=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-s);var d=(t-n)/(864e5*7);return 1+Math.floor(d)}function u(r){var t=r.getDay();return t===0&&(t=7),t}function i(r){return r===null?"null":r===void 0?"undefined":typeof r!="object"?typeof r:Array.isArray(r)?"array":{}.toString.call(r).slice(8,-1).toLowerCase()}typeof A=="function"&&A.amd?A(function(){return a}):typeof v=="object"?g.exports=a:c.dateFormat=a})(this)},{}],343:[function(e,g,v){"use strict";var c=/["'&<>]/;g.exports=a;function a(o){var l=""+o,u=c.exec(l);if(!u)return l;var i,r="",t=0,n=0;for(t=u.index;t<l.length;t++){switch(l.charCodeAt(t)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 39:i="&#39;";break;case 60:i="&lt;";break;case 62:i="&gt;";break;default:continue}n!==t&&(r+=l.substring(n,t)),n=t+1,r+=i}return n!==t?r+l.substring(n,t):r}},{}],344:[function(e,g,v){"use strict";var c=typeof Reflect=="object"?Reflect:null,a=c&&typeof c.apply=="function"?c.apply:function(E,T,R){return Function.prototype.apply.call(E,T,R)},o;c&&typeof c.ownKeys=="function"?o=c.ownKeys:Object.getOwnPropertySymbols?o=function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:o=function(E){return Object.getOwnPropertyNames(E)};function l(C){console&&console.warn&&console.warn(C)}var u=Number.isNaN||function(E){return E!==E};function i(){i.init.call(this)}g.exports=i,g.exports.once=S,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var r=10;function t(C){if(typeof C!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof C)}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(C){if(typeof C!="number"||C<0||u(C))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+C+".");r=C}}),i.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},i.prototype.setMaxListeners=function(E){if(typeof E!="number"||E<0||u(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this};function n(C){return C._maxListeners===void 0?i.defaultMaxListeners:C._maxListeners}i.prototype.getMaxListeners=function(){return n(this)},i.prototype.emit=function(E){for(var T=[],R=1;R<arguments.length;R++)T.push(arguments[R]);var k=E==="error",P=this._events;if(P!==void 0)k=k&&P.error===void 0;else if(!k)return!1;if(k){var L;if(T.length>0&&(L=T[0]),L instanceof Error)throw L;var O=new Error("Unhandled error."+(L?" ("+L.message+")":""));throw O.context=L,O}var N=P[E];if(N===void 0)return!1;if(typeof N=="function")a(N,this,T);else for(var H=N.length,V=p(N,H),R=0;R<H;++R)a(V[R],this,T);return!0};function s(C,E,T,R){var k,P,L;if(t(T),P=C._events,P===void 0?(P=C._events=Object.create(null),C._eventsCount=0):(P.newListener!==void 0&&(C.emit("newListener",E,T.listener?T.listener:T),P=C._events),L=P[E]),L===void 0)L=P[E]=T,++C._eventsCount;else if(typeof L=="function"?L=P[E]=R?[T,L]:[L,T]:R?L.unshift(T):L.push(T),k=n(C),k>0&&L.length>k&&!L.warned){L.warned=!0;var O=new Error("Possible EventEmitter memory leak detected. "+L.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");O.name="MaxListenersExceededWarning",O.emitter=C,O.type=E,O.count=L.length,l(O)}return C}i.prototype.addListener=function(E,T){return s(this,E,T,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(E,T){return s(this,E,T,!0)};function d(){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 m(C,E,T){var R={fired:!1,wrapFn:void 0,target:C,type:E,listener:T},k=d.bind(R);return k.listener=T,R.wrapFn=k,k}i.prototype.once=function(E,T){return t(T),this.on(E,m(this,E,T)),this},i.prototype.prependOnceListener=function(E,T){return t(T),this.prependListener(E,m(this,E,T)),this},i.prototype.removeListener=function(E,T){var R,k,P,L,O;if(t(T),k=this._events,k===void 0)return this;if(R=k[E],R===void 0)return this;if(R===T||R.listener===T)--this._eventsCount===0?this._events=Object.create(null):(delete k[E],k.removeListener&&this.emit("removeListener",E,R.listener||T));else if(typeof R!="function"){for(P=-1,L=R.length-1;L>=0;L--)if(R[L]===T||R[L].listener===T){O=R[L].listener,P=L;break}if(P<0)return this;P===0?R.shift():b(R,P),R.length===1&&(k[E]=R[0]),k.removeListener!==void 0&&this.emit("removeListener",E,O||T)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(E){var T,R,k;if(R=this._events,R===void 0)return this;if(R.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):R[E]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete R[E]),this;if(arguments.length===0){var P=Object.keys(R),L;for(k=0;k<P.length;++k)L=P[k],L!=="removeListener"&&this.removeAllListeners(L);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(T=R[E],typeof T=="function")this.removeListener(E,T);else if(T!==void 0)for(k=T.length-1;k>=0;k--)this.removeListener(E,T[k]);return this};function h(C,E,T){var R=C._events;if(R===void 0)return[];var k=R[E];return k===void 0?[]:typeof k=="function"?T?[k.listener||k]:[k]:T?x(k):p(k,k.length)}i.prototype.listeners=function(E){return h(this,E,!0)},i.prototype.rawListeners=function(E){return h(this,E,!1)},i.listenerCount=function(C,E){return typeof C.listenerCount=="function"?C.listenerCount(E):y.call(C,E)},i.prototype.listenerCount=y;function y(C){var E=this._events;if(E!==void 0){var T=E[C];if(typeof T=="function")return 1;if(T!==void 0)return T.length}return 0}i.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]};function p(C,E){for(var T=new Array(E),R=0;R<E;++R)T[R]=C[R];return T}function b(C,E){for(;E+1<C.length;E++)C[E]=C[E+1];C.pop()}function x(C){for(var E=new Array(C.length),T=0;T<E.length;++T)E[T]=C[T].listener||C[T];return E}function S(C,E){return new Promise(function(T,R){function k(L){C.removeListener(E,P),R(L)}function P(){typeof C.removeListener=="function"&&C.removeListener("error",k),T([].slice.call(arguments))}_(C,E,P,{once:!0}),E!=="error"&&w(C,k,{once:!0})})}function w(C,E,T){typeof C.on=="function"&&_(C,"error",E,T)}function _(C,E,T,R){if(typeof C.on=="function")R.once?C.once(E,T):C.on(E,T);else if(typeof C.addEventListener=="function")C.addEventListener(E,function k(P){R.once&&C.removeEventListener(E,k),T(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof C)}},{}],345:[function(e,g,v){"use strict";var c=e("is-callable"),a=Object.prototype.toString,o=Object.prototype.hasOwnProperty,l=function(n,s,d){for(var m=0,h=n.length;m<h;m++)o.call(n,m)&&(d==null?s(n[m],m,n):s.call(d,n[m],m,n))},u=function(n,s,d){for(var m=0,h=n.length;m<h;m++)d==null?s(n.charAt(m),m,n):s.call(d,n.charAt(m),m,n)},i=function(n,s,d){for(var m in n)o.call(n,m)&&(d==null?s(n[m],m,n):s.call(d,n[m],m,n))},r=function(n,s,d){if(!c(s))throw new TypeError("iterator must be a function");var m;arguments.length>=3&&(m=d),a.call(n)==="[object Array]"?l(n,s,m):typeof n=="string"?u(n,s,m):i(n,s,m)};g.exports=r},{"is-callable":367}],346:[function(e,g,v){"use strict";var c="Function.prototype.bind called on incompatible ",a=Array.prototype.slice,o=Object.prototype.toString,l="[object Function]";g.exports=function(i){var r=this;if(typeof r!="function"||o.call(r)!==l)throw new TypeError(c+r);for(var t=a.call(arguments,1),n,s=function(){if(this instanceof n){var p=r.apply(this,t.concat(a.call(arguments)));return Object(p)===p?p:this}else return r.apply(i,t.concat(a.call(arguments)))},d=Math.max(0,r.length-t.length),m=[],h=0;h<d;h++)m.push("$"+h);if(n=Function("binder","return function ("+m.join(",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var y=function(){};y.prototype=r.prototype,n.prototype=new y,y.prototype=null}return n}},{}],347:[function(e,g,v){"use strict";var c=e("./implementation");g.exports=Function.prototype.bind||c},{"./implementation":346}],348:[function(e,g,v){"use strict";var c,a=SyntaxError,o=Function,l=TypeError,u=function(N){try{return o('"use strict"; return ('+N+").constructor;")()}catch(H){}},i=Object.getOwnPropertyDescriptor;if(i)try{i({},"")}catch(N){i=null}var r=function(){throw new l},t=i?function(){try{return arguments.callee,r}catch(N){try{return i(arguments,"callee").get}catch(H){return r}}}():r,n=e("has-symbols")(),s=e("has-proto")(),d=Object.getPrototypeOf||(s?function(N){return N.__proto__}:null),m={},h=typeof Uint8Array=="undefined"||!d?c:d(Uint8Array),y={"%AggregateError%":typeof AggregateError=="undefined"?c:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?c:ArrayBuffer,"%ArrayIteratorPrototype%":n&&d?d([][Symbol.iterator]()):c,"%AsyncFromSyncIteratorPrototype%":c,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics=="undefined"?c:Atomics,"%BigInt%":typeof BigInt=="undefined"?c:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?c:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?c:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?c:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?c:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?c:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?c:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array=="undefined"?c:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?c:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?c:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":n&&d?d(d([][Symbol.iterator]())):c,"%JSON%":typeof JSON=="object"?JSON:c,"%Map%":typeof Map=="undefined"?c:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!n||!d?c:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?c:Promise,"%Proxy%":typeof Proxy=="undefined"?c:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?c:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?c:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!n||!d?c:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?c:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":n&&d?d(""[Symbol.iterator]()):c,"%Symbol%":n?Symbol:c,"%SyntaxError%":a,"%ThrowTypeError%":t,"%TypedArray%":h,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array=="undefined"?c:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?c:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?c:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?c:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?c:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?c:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?c:WeakSet};if(d)try{null.error}catch(N){var p=d(d(N));y["%Error.prototype%"]=p}var b=function N(H){var V;if(H==="%AsyncFunction%")V=u("async function () {}");else if(H==="%GeneratorFunction%")V=u("function* () {}");else if(H==="%AsyncGeneratorFunction%")V=u("async function* () {}");else if(H==="%AsyncGenerator%"){var B=N("%AsyncGeneratorFunction%");B&&(V=B.prototype)}else if(H==="%AsyncIteratorPrototype%"){var te=N("%AsyncGenerator%");te&&d&&(V=d(te.prototype))}return y[H]=V,V},x={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=e("function-bind"),w=e("has"),_=S.call(Function.call,Array.prototype.concat),C=S.call(Function.apply,Array.prototype.splice),E=S.call(Function.call,String.prototype.replace),T=S.call(Function.call,String.prototype.slice),R=S.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,L=function(H){var V=T(H,0,1),B=T(H,-1);if(V==="%"&&B!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&V!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var te=[];return E(H,k,function(ee,J,Q,re){te[te.length]=Q?E(re,P,"$1"):J||ee}),te},O=function(H,V){var B=H,te;if(w(x,B)&&(te=x[B],B="%"+te[0]+"%"),w(y,B)){var ee=y[B];if(ee===m&&(ee=b(B)),typeof ee=="undefined"&&!V)throw new l("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:te,name:B,value:ee}}throw new a("intrinsic "+H+" does not exist!")};g.exports=function(H,V){if(typeof H!="string"||H.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new l('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,H)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=L(H),te=B.length>0?B[0]:"",ee=O("%"+te+"%",V),J=ee.name,Q=ee.value,re=!1,Z=ee.alias;Z&&(te=Z[0],C(B,_([0,1],Z)));for(var X=1,$=!0;X<B.length;X+=1){var ie=B[X],de=T(ie,0,1),pe=T(ie,-1);if((de==='"'||de==="'"||de==="`"||pe==='"'||pe==="'"||pe==="`")&&de!==pe)throw new a("property names with quotes must have matching quotes");if((ie==="constructor"||!$)&&(re=!0),te+="."+ie,J="%"+te+"%",w(y,J))Q=y[J];else if(Q!=null){if(!(ie in Q)){if(!V)throw new l("base intrinsic for "+H+" exists, but the property is not available.");return}if(i&&X+1>=B.length){var G=i(Q,ie);$=!!G,$&&"get"in G&&!("originalValue"in G.get)?Q=G.get:Q=Q[ie]}else $=w(Q,ie),Q=Q[ie];$&&!re&&(y[J]=Q)}}return Q}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(e,g,v){"use strict";var c=e("get-intrinsic"),a=c("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(o){a=null}g.exports=a},{"get-intrinsic":348}],350:[function(e,g,v){"use strict";var c={foo:{}},a=Object;g.exports=function(){return{__proto__:c}.foo===c.foo&&!({__proto__:null}instanceof a)}},{}],351:[function(e,g,v){"use strict";var c=typeof Symbol!="undefined"&&Symbol,a=e("./shams");g.exports=function(){return typeof c!="function"||typeof Symbol!="function"||typeof c("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:a()}},{"./shams":352}],352:[function(e,g,v){"use strict";g.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var a={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var u=42;a[o]=u;for(o in a)return!1;if(typeof Object.keys=="function"&&Object.keys(a).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(a).length!==0)return!1;var i=Object.getOwnPropertySymbols(a);if(i.length!==1||i[0]!==o||!Object.prototype.propertyIsEnumerable.call(a,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var r=Object.getOwnPropertyDescriptor(a,o);if(r.value!==u||r.enumerable!==!0)return!1}return!0}},{}],353:[function(e,g,v){"use strict";var c=e("has-symbols/shams");g.exports=function(){return c()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(e,g,v){"use strict";var c=e("function-bind");g.exports=c.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(e,g,v){var c=e("http"),a=e("url"),o=g.exports;for(var l in c)c.hasOwnProperty(l)&&(o[l]=c[l]);o.request=function(i,r){return i=u(i),c.request.call(this,i,r)},o.get=function(i,r){return i=u(i),c.get.call(this,i,r)};function u(i){if(typeof i=="string"&&(i=a.parse(i)),i.protocol||(i.protocol="https:"),i.protocol!=="https:")throw new Error('Protocol "'+i.protocol+'" not supported. Expected "https:"');return i}},{http:468,url:472}],356:[function(e,g,v){"use strict";var c=e("util"),a=e("ms");g.exports=function(o){if(typeof o=="number")return o;var l=a(o);if(l===void 0){var u=new Error(c.format("humanize-ms(%j) result undefined",o));console.warn(u.stack)}return l}},{ms:376,util:419}],357:[function(e,g,v){v.read=function(c,a,o,l,u){var i,r,t=u*8-l-1,n=(1<<t)-1,s=n>>1,d=-7,m=o?u-1:0,h=o?-1:1,y=c[a+m];for(m+=h,i=y&(1<<-d)-1,y>>=-d,d+=t;d>0;i=i*256+c[a+m],m+=h,d-=8);for(r=i&(1<<-d)-1,i>>=-d,d+=l;d>0;r=r*256+c[a+m],m+=h,d-=8);if(i===0)i=1-s;else{if(i===n)return r?NaN:(y?-1:1)*(1/0);r=r+Math.pow(2,l),i=i-s}return(y?-1:1)*r*Math.pow(2,i-l)},v.write=function(c,a,o,l,u,i){var r,t,n,s=i*8-u-1,d=(1<<s)-1,m=d>>1,h=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=l?0:i-1,p=l?1:-1,b=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(t=isNaN(a)?1:0,r=d):(r=Math.floor(Math.log(a)/Math.LN2),a*(n=Math.pow(2,-r))<1&&(r--,n*=2),r+m>=1?a+=h/n:a+=h*Math.pow(2,1-m),a*n>=2&&(r++,n/=2),r+m>=d?(t=0,r=d):r+m>=1?(t=(a*n-1)*Math.pow(2,u),r=r+m):(t=a*Math.pow(2,m-1)*Math.pow(2,u),r=0));u>=8;c[o+y]=t&255,y+=p,t/=256,u-=8);for(r=r<<u|t,s+=u;s>0;c[o+y]=r&255,y+=p,r/=256,s-=8);c[o+y-p]|=b*128}},{}],358:[function(e,g,v){"use strict";var c=[e("./nextTick"),e("./queueMicrotask"),e("./mutation.js"),e("./messageChannel"),e("./stateChange"),e("./timeout")],a,o,l=-1,u=[],i=!1;function r(){!a||!o||(a=!1,o.length?u=o.concat(u):l=-1,u.length&&t())}function t(){if(!a){i=!1,a=!0;for(var y=u.length,p=setTimeout(r);y;){for(o=u,u=[];o&&++l<y;)o[l].run();l=-1,y=u.length}o=null,l=-1,a=!1,clearTimeout(p)}}for(var n,s=-1,d=c.length;++s<d;)if(c[s]&&c[s].test&&c[s].test()){n=c[s].install(t);break}function m(y,p){this.fun=y,this.array=p}m.prototype.run=function(){var y=this.fun,p=this.array;switch(p.length){case 0:return y();case 1:return y(p[0]);case 2:return y(p[0],p[1]);case 3:return y(p[0],p[1],p[2]);default:return y.apply(null,p)}},g.exports=h;function h(y){var p=new Array(arguments.length-1);if(arguments.length>1)for(var b=1;b<arguments.length;b++)p[b-1]=arguments[b];u.push(new m(y,p)),!i&&!a&&(i=!0,n())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(e,g,v){(function(c){(function(){"use strict";v.test=function(){return c.setImmediate?!1:typeof c.MessageChannel!="undefined"},v.install=function(a){var o=new c.MessageChannel;return o.port1.onmessage=a,function(){o.port2.postMessage(0)}}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(e,g,v){(function(c){(function(){"use strict";var a=c.MutationObserver||c.WebKitMutationObserver;v.test=function(){return a},v.install=function(o){var l=0,u=new a(o),i=c.document.createTextNode("");return u.observe(i,{characterData:!0}),function(){i.data=l=++l%2}}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(e,g,v){(function(c){(function(){"use strict";v.test=function(){return typeof c.queueMicrotask=="function"},v.install=function(a){return function(){c.queueMicrotask(a)}}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(e,g,v){(function(c){(function(){"use strict";v.test=function(){return"document"in c&&"onreadystatechange"in c.document.createElement("script")},v.install=function(a){return function(){var o=c.document.createElement("script");return o.onreadystatechange=function(){a(),o.onreadystatechange=null,o.parentNode.removeChild(o),o=null},c.document.documentElement.appendChild(o),a}}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(e,g,v){"use strict";v.test=function(){return!0},v.install=function(c){return function(){setTimeout(c,0)}}},{}],364:[function(e,g,v){typeof Object.create=="function"?g.exports=function(a,o){o&&(a.super_=o,a.prototype=Object.create(o.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}))}:g.exports=function(a,o){if(o){a.super_=o;var l=function(){};l.prototype=o.prototype,a.prototype=new l,a.prototype.constructor=a}}},{}],365:[function(e,g,v){"use strict";var c=e("has-tostringtag/shams")(),a=e("call-bind/callBound"),o=a("Object.prototype.toString"),l=function(t){return c&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:o(t)==="[object Arguments]"},u=function(t){return l(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&o(t)!=="[object Array]"&&o(t.callee)==="[object Function]"},i=function(){return l(arguments)}();l.isLegacyArguments=u,g.exports=i?l:u},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(e,g,v){g.exports=function(o){return o!=null&&(c(o)||a(o)||!!o._isBuffer)};function c(o){return!!o.constructor&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}function a(o){return typeof o.readFloatLE=="function"&&typeof o.slice=="function"&&c(o.slice(0,0))}},{}],367:[function(e,g,v){"use strict";var c=Function.prototype.toString,a=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,o,l;if(typeof a=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw l}}),l={},a(function(){throw 42},null,o)}catch(w){w!==l&&(a=null)}else a=null;var u=/^\s*class\b/,i=function(_){try{var C=c.call(_);return u.test(C)}catch(E){return!1}},r=function(_){try{return i(_)?!1:(c.call(_),!0)}catch(C){return!1}},t=Object.prototype.toString,n="[object Object]",s="[object Function]",d="[object GeneratorFunction]",m="[object HTMLAllCollection]",h="[object HTML document.all class]",y="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,b=!(0 in[,]),x=function(){return!1};if(typeof document=="object"){var S=document.all;t.call(S)===t.call(document.all)&&(x=function(_){if((b||!_)&&(typeof _=="undefined"||typeof _=="object"))try{var C=t.call(_);return(C===m||C===h||C===y||C===n)&&_("")==null}catch(E){}return!1})}g.exports=a?function(_){if(x(_))return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;try{a(_,null,o)}catch(C){if(C!==l)return!1}return!i(_)&&r(_)}:function(_){if(x(_))return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;if(p)return r(_);if(i(_))return!1;var C=t.call(_);return C!==s&&C!==d&&!/^\[object HTML/.test(C)?!1:r(_)}},{}],368:[function(e,g,v){"use strict";var c=Object.prototype.toString,a=Function.prototype.toString,o=/^\s*(?:function)?\*/,l=e("has-tostringtag/shams")(),u=Object.getPrototypeOf,i=function(){if(!l)return!1;try{return Function("return function*() {}")()}catch(t){}},r;g.exports=function(n){if(typeof n!="function")return!1;if(o.test(a.call(n)))return!0;if(!l){var s=c.call(n);return s==="[object GeneratorFunction]"}if(!u)return!1;if(typeof r=="undefined"){var d=i();r=d?u(d):!1}return u(n)===r}},{"has-tostringtag/shams":353}],369:[function(e,g,v){"use strict";var c=e("which-typed-array");g.exports=function(o){return!!c(o)}},{"which-typed-array":420}],370:[function(e,g,v){var c={}.toString;g.exports=Array.isArray||function(a){return c.call(a)=="[object Array]"}},{}],371:[function(e,g,v){(function(c){(function(){(function(a,o){typeof v=="object"&&typeof g!="undefined"?g.exports=o(a):typeof A=="function"&&A.amd?A(o):o(a)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof c!="undefined"?c:this,function(a){"use strict";a=a||{};var o=a.Base64,l="2.6.4",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=function(H){for(var V={},B=0,te=H.length;B<te;B++)V[H.charAt(B)]=B;return V}(u),r=String.fromCharCode,t=function(H){if(H.length<2){var V=H.charCodeAt(0);return V<128?H:V<2048?r(192|V>>>6)+r(128|V&63):r(224|V>>>12&15)+r(128|V>>>6&63)+r(128|V&63)}else{var V=65536+(H.charCodeAt(0)-55296)*1024+(H.charCodeAt(1)-56320);return r(240|V>>>18&7)+r(128|V>>>12&63)+r(128|V>>>6&63)+r(128|V&63)}},n=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,s=function(H){return H.replace(n,t)},d=function(H){var V=[0,2,1][H.length%3],B=H.charCodeAt(0)<<16|(H.length>1?H.charCodeAt(1):0)<<8|(H.length>2?H.charCodeAt(2):0),te=[u.charAt(B>>>18),u.charAt(B>>>12&63),V>=2?"=":u.charAt(B>>>6&63),V>=1?"=":u.charAt(B&63)];return te.join("")},m=a.btoa&&typeof a.btoa=="function"?function(H){return a.btoa(H)}:function(H){if(H.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return H.replace(/[\s\S]{1,3}/g,d)},h=function(H){return m(s(String(H)))},y=function(H){return H.replace(/[+\/]/g,function(V){return V=="+"?"-":"_"}).replace(/=/g,"")},p=function(H,V){return V?y(h(H)):h(H)},b=function(H){return p(H,!0)},x;a.Uint8Array&&(x=function(H,V){for(var B="",te=0,ee=H.length;te<ee;te+=3){var J=H[te],Q=H[te+1],re=H[te+2],Z=J<<16|Q<<8|re;B+=u.charAt(Z>>>18)+u.charAt(Z>>>12&63)+(typeof Q!="undefined"?u.charAt(Z>>>6&63):"=")+(typeof re!="undefined"?u.charAt(Z&63):"=")}return V?y(B):B});var S=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(H){switch(H.length){case 4:var V=(7&H.charCodeAt(0))<<18|(63&H.charCodeAt(1))<<12|(63&H.charCodeAt(2))<<6|63&H.charCodeAt(3),B=V-65536;return r((B>>>10)+55296)+r((B&1023)+56320);case 3:return r((15&H.charCodeAt(0))<<12|(63&H.charCodeAt(1))<<6|63&H.charCodeAt(2));default:return r((31&H.charCodeAt(0))<<6|63&H.charCodeAt(1))}},_=function(H){return H.replace(S,w)},C=function(H){var V=H.length,B=V%4,te=(V>0?i[H.charAt(0)]<<18:0)|(V>1?i[H.charAt(1)]<<12:0)|(V>2?i[H.charAt(2)]<<6:0)|(V>3?i[H.charAt(3)]:0),ee=[r(te>>>16),r(te>>>8&255),r(te&255)];return ee.length-=[0,0,2,1][B],ee.join("")},E=a.atob&&typeof a.atob=="function"?function(H){return a.atob(H)}:function(H){return H.replace(/\S{1,4}/g,C)},T=function(H){return E(String(H).replace(/[^A-Za-z0-9\+\/]/g,""))},R=function(H){return _(E(H))},k=function(H){return String(H).replace(/[-_]/g,function(V){return V=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},P=function(H){return R(k(H))},L;a.Uint8Array&&(L=function(H){return Uint8Array.from(T(k(H)),function(V){return V.charCodeAt(0)})});var O=function(){var H=a.Base64;return a.Base64=o,H};if(a.Base64={VERSION:l,atob:T,btoa:m,fromBase64:P,toBase64:p,utob:s,encode:p,encodeURI:b,btou:_,decode:P,noConflict:O,fromUint8Array:x,toUint8Array:L},typeof Object.defineProperty=="function"){var N=function(H){return{value:H,enumerable:!1,writable:!0,configurable:!0}};a.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N(function(){return P(this)})),Object.defineProperty(String.prototype,"toBase64",N(function(H){return p(this,H)})),Object.defineProperty(String.prototype,"toBase64URI",N(function(){return p(this,!0)}))}}return a.Meteor&&(Base64=a.Base64),typeof g!="undefined"&&g.exports?g.exports.Base64=a.Base64:typeof A=="function"&&A.amd&&A([],function(){return a.Base64}),{Base64:a.Base64}})}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(e,g,v){"use strict";g.exports=a;var c=Object.prototype.hasOwnProperty;function a(o,l,u){if(!o)throw new TypeError("argument dest is required");if(!l)throw new TypeError("argument src is required");return u===void 0&&(u=!0),Object.getOwnPropertyNames(l).forEach(function(r){if(!(!u&&c.call(o,r))){var t=Object.getOwnPropertyDescriptor(l,r);Object.defineProperty(o,r,t)}}),o}},{}],373:[function(e,g,v){"use strict";e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.regexp.constructor.js"),e("core-js/modules/es.regexp.to-string.js");function c(){this._types=Object.create(null),this._extensions=Object.create(null);for(var a=0;a<arguments.length;a++)this.define(arguments[a]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}c.prototype.define=function(a,o){for(var l in a){var u=a[l].map(function(n){return n.toLowerCase()});l=l.toLowerCase();for(var i=0;i<u.length;i++){var r=u[i];if(r[0]!=="*"){if(!o&&r in this._types)throw new Error('Attempt to change mapping for "'+r+'" extension from "'+this._types[r]+'" to "'+l+'". Pass `force=true` to allow this, otherwise remove "'+r+'" from the list of extensions for "'+l+'".');this._types[r]=l}}if(o||!this._extensions[l]){var t=u[0];this._extensions[l]=t[0]!=="*"?t:t.substr(1)}}},c.prototype.getType=function(a){a=String(a);var o=a.replace(/^.*[/\\]/,"").toLowerCase(),l=o.replace(/^.*\./,"").toLowerCase(),u=o.length<a.length,i=l.length<o.length-1;return(i||!u)&&this._types[l]||null},c.prototype.getExtension=function(a){return a=/^\s*([^;\s]*)/.test(a)&&RegExp.$1,a&&this._extensions[a.toLowerCase()]||null},g.exports=c},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(e,g,v){"use strict";var c=e("./Mime");g.exports=new c(e("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(e,g,v){"use strict";g.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(e,g,v){var c=1e3,a=c*60,o=a*60,l=o*24,u=l*7,i=l*365.25;g.exports=function(d,m){m=m||{};var h=typeof d;if(h==="string"&&d.length>0)return r(d);if(h==="number"&&isFinite(d))return m.long?n(d):t(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function r(d){if(d=String(d),!(d.length>100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(m){var h=parseFloat(m[1]),y=(m[2]||"ms").toLowerCase();switch(y){case"years":case"year":case"yrs":case"yr":case"y":return h*i;case"weeks":case"week":case"w":return h*u;case"days":case"day":case"d":return h*l;case"hours":case"hour":case"hrs":case"hr":case"h":return h*o;case"minutes":case"minute":case"mins":case"min":case"m":return h*a;case"seconds":case"second":case"secs":case"sec":case"s":return h*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}}}function t(d){var m=Math.abs(d);return m>=l?Math.round(d/l)+"d":m>=o?Math.round(d/o)+"h":m>=a?Math.round(d/a)+"m":m>=c?Math.round(d/c)+"s":d+"ms"}function n(d){var m=Math.abs(d);return m>=l?s(d,m,l,"day"):m>=o?s(d,m,o,"hour"):m>=a?s(d,m,a,"minute"):m>=c?s(d,m,c,"second"):d+" ms"}function s(d,m,h,y){var p=m>=h*1.5;return Math.round(d/h)+" "+y+(p?"s":"")}},{}],377:[function(e,g,v){"use strict";var c=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function l(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function u(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;var n=Object.getOwnPropertyNames(r).map(function(d){return r[d]});if(n.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(d){s[d]=d}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}g.exports=u()?Object.assign:function(i,r){for(var t,n=l(i),s,d=1;d<arguments.length;d++){t=Object(arguments[d]);for(var m in t)a.call(t,m)&&(n[m]=t[m]);if(c){s=c(t);for(var h=0;h<s.length;h++)o.call(t,s[h])&&(n[s[h]]=t[s[h]])}}return n}},{}],378:[function(e,g,v){(function(c){(function(){"use strict";function a(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function o(i,r){for(var t="",n=0,s=-1,d=0,m,h=0;h<=i.length;++h){if(h<i.length)m=i.charCodeAt(h);else{if(m===47)break;m=47}if(m===47){if(!(s===h-1||d===1))if(s!==h-1&&d===2){if(t.length<2||n!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){var y=t.lastIndexOf("/");if(y!==t.length-1){y===-1?(t="",n=0):(t=t.slice(0,y),n=t.length-1-t.lastIndexOf("/")),s=h,d=0;continue}}else if(t.length===2||t.length===1){t="",n=0,s=h,d=0;continue}}r&&(t.length>0?t+="/..":t="..",n=2)}else t.length>0?t+="/"+i.slice(s+1,h):t=i.slice(s+1,h),n=h-s-1;s=h,d=0}else m===46&&d!==-1?++d:d=-1}return t}function l(i,r){var t=r.dir||r.root,n=r.base||(r.name||"")+(r.ext||"");return t?t===r.root?t+n:t+i+n:n}var u={resolve:function(){for(var r="",t=!1,n,s=arguments.length-1;s>=-1&&!t;s--){var d;s>=0?d=arguments[s]:(n===void 0&&(n=c.cwd()),d=n),a(d),d.length!==0&&(r=d+"/"+r,t=d.charCodeAt(0)===47)}return r=o(r,!t),t?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(r){if(a(r),r.length===0)return".";var t=r.charCodeAt(0)===47,n=r.charCodeAt(r.length-1)===47;return r=o(r,!t),r.length===0&&!t&&(r="."),r.length>0&&n&&(r+="/"),t?"/"+r:r},isAbsolute:function(r){return a(r),r.length>0&&r.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var r,t=0;t<arguments.length;++t){var n=arguments[t];a(n),n.length>0&&(r===void 0?r=n:r+="/"+n)}return r===void 0?".":u.normalize(r)},relative:function(r,t){if(a(r),a(t),r===t||(r=u.resolve(r),t=u.resolve(t),r===t))return"";for(var n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var s=r.length,d=s-n,m=1;m<t.length&&t.charCodeAt(m)===47;++m);for(var h=t.length,y=h-m,p=d<y?d:y,b=-1,x=0;x<=p;++x){if(x===p){if(y>p){if(t.charCodeAt(m+x)===47)return t.slice(m+x+1);if(x===0)return t.slice(m+x)}else d>p&&(r.charCodeAt(n+x)===47?b=x:x===0&&(b=0));break}var S=r.charCodeAt(n+x),w=t.charCodeAt(m+x);if(S!==w)break;S===47&&(b=x)}var _="";for(x=n+b+1;x<=s;++x)(x===s||r.charCodeAt(x)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+t.slice(m+b):(m+=b,t.charCodeAt(m)===47&&++m,t.slice(m))},_makeLong:function(r){return r},dirname:function(r){if(a(r),r.length===0)return".";for(var t=r.charCodeAt(0),n=t===47,s=-1,d=!0,m=r.length-1;m>=1;--m)if(t=r.charCodeAt(m),t===47){if(!d){s=m;break}}else d=!1;return s===-1?n?"/":".":n&&s===1?"//":r.slice(0,s)},basename:function(r,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');a(r);var n=0,s=-1,d=!0,m;if(t!==void 0&&t.length>0&&t.length<=r.length){if(t.length===r.length&&t===r)return"";var h=t.length-1,y=-1;for(m=r.length-1;m>=0;--m){var p=r.charCodeAt(m);if(p===47){if(!d){n=m+1;break}}else y===-1&&(d=!1,y=m+1),h>=0&&(p===t.charCodeAt(h)?--h===-1&&(s=m):(h=-1,s=y))}return n===s?s=y:s===-1&&(s=r.length),r.slice(n,s)}else{for(m=r.length-1;m>=0;--m)if(r.charCodeAt(m)===47){if(!d){n=m+1;break}}else s===-1&&(d=!1,s=m+1);return s===-1?"":r.slice(n,s)}},extname:function(r){a(r);for(var t=-1,n=0,s=-1,d=!0,m=0,h=r.length-1;h>=0;--h){var y=r.charCodeAt(h);if(y===47){if(!d){n=h+1;break}continue}s===-1&&(d=!1,s=h+1),y===46?t===-1?t=h:m!==1&&(m=1):t!==-1&&(m=-1)}return t===-1||s===-1||m===0||m===1&&t===s-1&&t===n+1?"":r.slice(t,s)},format:function(r){if(r===null||typeof r!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof r);return l("/",r)},parse:function(r){a(r);var t={root:"",dir:"",base:"",ext:"",name:""};if(r.length===0)return t;var n=r.charCodeAt(0),s=n===47,d;s?(t.root="/",d=1):d=0;for(var m=-1,h=0,y=-1,p=!0,b=r.length-1,x=0;b>=d;--b){if(n=r.charCodeAt(b),n===47){if(!p){h=b+1;break}continue}y===-1&&(p=!1,y=b+1),n===46?m===-1?m=b:x!==1&&(x=1):m!==-1&&(x=-1)}return m===-1||y===-1||x===0||x===1&&m===y-1&&m===h+1?y!==-1&&(h===0&&s?t.base=t.name=r.slice(1,y):t.base=t.name=r.slice(h,y)):(h===0&&s?(t.name=r.slice(1,m),t.base=r.slice(1,y)):(t.name=r.slice(h,m),t.base=r.slice(h,y)),t.ext=r.slice(m,y)),h>0?t.dir=r.slice(0,h-1):s&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};u.posix=u,g.exports=u}).call(this)}).call(this,e("_process"))},{_process:467}],379:[function(e,g,v){(function(c){(function(){(function(){"use strict";var a={function:!0,object:!0},o=a[typeof window]&&window||this,l=o,u=a[typeof v]&&v,i=a[typeof g]&&g&&!g.nodeType&&g,r=u&&i&&typeof c=="object"&&c;r&&(r.global===r||r.window===r||r.self===r)&&(o=r);var t=Math.pow(2,53)-1,n=/\bOpera/,s=this,d=Object.prototype,m=d.hasOwnProperty,h=d.toString;function y(P){return P=String(P),P.charAt(0).toUpperCase()+P.slice(1)}function p(P,L,O){var N={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return L&&O&&/^Win/i.test(P)&&!/^Windows Phone /i.test(P)&&(N=N[/[\d.]+$/.exec(P)])&&(P="Windows "+N),P=String(P),L&&O&&(P=P.replace(RegExp(L,"i"),O)),P=x(P.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),P}function b(P,L){var O=-1,N=P?P.length:0;if(typeof N=="number"&&N>-1&&N<=t)for(;++O<N;)L(P[O],O,P);else S(P,L)}function x(P){return P=T(P),/^(?:webOS|i(?:OS|P))/.test(P)?P:y(P)}function S(P,L){for(var O in P)m.call(P,O)&&L(P[O],O,P)}function w(P){return P==null?y(P):h.call(P).slice(8,-1)}function _(P,L){var O=P!=null?typeof P[L]:"number";return!/^(?:boolean|number|string|undefined)$/.test(O)&&(O=="object"?!!P[L]:!0)}function C(P){return String(P).replace(/([ -])(?!$)/g,"$1?")}function E(P,L){var O=null;return b(P,function(N,H){O=L(O,N,H,P)}),O}function T(P){return String(P).replace(/^ +| +$/g,"")}function R(P){var L=o,O=P&&typeof P=="object"&&w(P)!="String";O&&(L=P,P=null);var N=L.navigator||{},H=N.userAgent||"";P||(P=H);var V=O||s==l,B=O?!!N.likeChrome:/\bChrome\b/.test(P)&&!/internal|\n/i.test(h.toString()),te="Object",ee=O?te:"ScriptBridgingProxyObject",J=O?te:"Environment",Q=O&&L.java?"JavaPackage":w(L.java),re=O?te:"RuntimeObject",Z=/\bJava/.test(Q)&&L.java,X=Z&&w(L.environment)==J,$=Z?"a":"\u03B1",ie=Z?"b":"\u03B2",de=L.document||{},pe=L.operamini||L.opera,G=n.test(G=O&&pe?pe["[[Class]]"]:w(pe))?G:pe=null,I,q=P,F=[],Y=null,ue=P==H,ce=ue&&pe&&typeof pe.version=="function"&&pe.version(),ne,U=he([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),M=le(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),W=ge([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),K=ae({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),oe=Se(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function he(se){return E(se,function(fe,me){return fe||RegExp("\\b"+(me.pattern||C(me))+"\\b","i").exec(P)&&(me.label||me)})}function ae(se){return E(se,function(fe,me,Ee){return fe||(me[W]||me[/^[a-z]+(?: +[a-z]+\b)*/i.exec(W)]||RegExp("\\b"+C(Ee)+"(?:\\b|\\w*\\d)","i").exec(P))&&Ee})}function le(se){return E(se,function(fe,me){return fe||RegExp("\\b"+(me.pattern||C(me))+"\\b","i").exec(P)&&(me.label||me)})}function Se(se){return E(se,function(fe,me){var Ee=me.pattern||C(me);return!fe&&(fe=RegExp("\\b"+Ee+"(?:/[\\d.]+|[ \\w.]*)","i").exec(P))&&(fe=p(fe,Ee,me.label||me)),fe})}function ge(se){return E(se,function(fe,me){var Ee=me.pattern||C(me);return!fe&&(fe=RegExp("\\b"+Ee+" *\\d+[.\\w_]*","i").exec(P)||RegExp("\\b"+Ee+" *\\w+-[\\w]*","i").exec(P)||RegExp("\\b"+Ee+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(P))&&((fe=String(me.label&&!RegExp(Ee,"i").test(me.label)?me.label:fe).split("/"))[1]&&!/[\d.]+/.test(fe[0])&&(fe[0]+=" "+fe[1]),me=me.label||me,fe=x(fe[0].replace(RegExp(Ee,"i"),me).replace(RegExp("; *(?:"+me+"[_-])?","i")," ").replace(RegExp("("+me+")[-_.]?(\\w)","i"),"$1 $2"))),fe})}function xe(se){return E(se,function(fe,me){return fe||(RegExp(me+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(P)||0)[1]||null})}function ye(){return this.description||""}if(U&&(U=[U]),/\bAndroid\b/.test(oe)&&!W&&(I=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(P))&&(W=T(I[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),K&&!W?W=ge([K]):K&&W&&(W=W.replace(RegExp("^("+C(K)+")[-_.\\s]","i"),K+" ").replace(RegExp("^("+C(K)+")[-_.]?(\\w)","i"),K+" $2")),(I=/\bGoogle TV\b/.exec(W))&&(W=I[0]),/\bSimulator\b/i.test(P)&&(W=(W?W+" ":"")+"Simulator"),M=="Opera Mini"&&/\bOPiOS\b/.test(P)&&F.push("running in Turbo/Uncompressed mode"),M=="IE"&&/\blike iPhone OS\b/.test(P)?(I=R(P.replace(/like iPhone OS/,"")),K=I.manufacturer,W=I.product):/^iP/.test(W)?(M||(M="Safari"),oe="iOS"+((I=/ OS ([\d_]+)/i.exec(P))?" "+I[1].replace(/_/g,"."):"")):M=="Konqueror"&&/^Linux\b/i.test(oe)?oe="Kubuntu":K&&K!="Google"&&(/Chrome/.test(M)&&!/\bMobile Safari\b/i.test(P)||/\bVita\b/.test(W))||/\bAndroid\b/.test(oe)&&/^Chrome/.test(M)&&/\bVersion\//i.test(P)?(M="Android Browser",oe=/\bAndroid\b/.test(oe)?oe:"Android"):M=="Silk"?(/\bMobi/i.test(P)||(oe="Android",F.unshift("desktop mode")),/Accelerated *= *true/i.test(P)&&F.unshift("accelerated")):M=="UC Browser"&&/\bUCWEB\b/.test(P)?F.push("speed mode"):M=="PaleMoon"&&(I=/\bFirefox\/([\d.]+)\b/.exec(P))?F.push("identifying as Firefox "+I[1]):M=="Firefox"&&(I=/\b(Mobile|Tablet|TV)\b/i.exec(P))?(oe||(oe="Firefox OS"),W||(W=I[1])):!M||(I=!/\bMinefield\b/i.test(P)&&/\b(?:Firefox|Safari)\b/.exec(M))?(M&&!W&&/[\/,]|^[^(]+?\)/.test(P.slice(P.indexOf(I+"/")+8))&&(M=null),(I=W||K||oe)&&(W||K||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(oe))&&(M=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(oe)?oe:I)+" Browser")):M=="Electron"&&(I=(/\bChrome\/([\d.]+)\b/.exec(P)||0)[1])&&F.push("Chromium "+I),ce||(ce=xe(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",C(M),"(?:Firefox|Minefield|NetFront)"])),(I=U=="iCab"&&parseFloat(ce)>3&&"WebKit"||/\bOpera\b/.test(M)&&(/\bOPR\b/.test(P)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(P)&&!/^(?:Trident|EdgeHTML)$/.test(U)&&"WebKit"||!U&&/\bMSIE\b/i.test(P)&&(oe=="Mac OS"?"Tasman":"Trident")||U=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(M)&&"NetFront")&&(U=[I]),M=="IE"&&(I=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(P)||0)[1])?(M+=" Mobile",oe="Windows Phone "+(/\+$/.test(I)?I:I+".x"),F.unshift("desktop mode")):/\bWPDesktop\b/i.test(P)?(M="IE Mobile",oe="Windows Phone 8.x",F.unshift("desktop mode"),ce||(ce=(/\brv:([\d.]+)/.exec(P)||0)[1])):M!="IE"&&U=="Trident"&&(I=/\brv:([\d.]+)/.exec(P))&&(M&&F.push("identifying as "+M+(ce?" "+ce:"")),M="IE",ce=I[1]),ue){if(_(L,"global"))if(Z&&(I=Z.lang.System,q=I.getProperty("os.arch"),oe=oe||I.getProperty("os.name")+" "+I.getProperty("os.version")),X){try{ce=L.require("ringo/engine").version.join("."),M="RingoJS"}catch(se){(I=L.system)&&I.global.system==L.system&&(M="Narwhal",oe||(oe=I[0].os||null))}M||(M="Rhino")}else typeof L.process=="object"&&!L.process.browser&&(I=L.process)&&(typeof I.versions=="object"&&(typeof I.versions.electron=="string"?(F.push("Node "+I.versions.node),M="Electron",ce=I.versions.electron):typeof I.versions.nw=="string"&&(F.push("Chromium "+ce,"Node "+I.versions.node),M="NW.js",ce=I.versions.nw)),M||(M="Node.js",q=I.arch,oe=I.platform,ce=/[\d.]+/.exec(I.version),ce=ce?ce[0]:null));else w(I=L.runtime)==ee?(M="Adobe AIR",oe=I.flash.system.Capabilities.os):w(I=L.phantom)==re?(M="PhantomJS",ce=(I=I.version||null)&&I.major+"."+I.minor+"."+I.patch):typeof de.documentMode=="number"&&(I=/\bTrident\/(\d+)/i.exec(P))?(ce=[ce,de.documentMode],(I=+I[1]+4)!=ce[1]&&(F.push("IE "+ce[1]+" mode"),U&&(U[1]=""),ce[1]=I),ce=M=="IE"?String(ce[1].toFixed(1)):ce[0]):typeof de.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(M)&&(F.push("masking as "+M+" "+ce),M="IE",ce="11.0",U=["Trident"],oe="Windows");oe=oe&&x(oe)}if(ce&&(I=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ce)||/(?:alpha|beta)(?: ?\d)?/i.exec(P+";"+(ue&&N.appMinorVersion))||/\bMinefield\b/i.test(P)&&"a")&&(Y=/b/i.test(I)?"beta":"alpha",ce=ce.replace(RegExp(I+"\\+?$"),"")+(Y=="beta"?ie:$)+(/\d+\+?/.exec(I)||"")),M=="Fennec"||M=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(oe))M="Firefox Mobile";else if(M=="Maxthon"&&ce)ce=ce.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(W))W=="Xbox 360"&&(oe=null),W=="Xbox 360"&&/\bIEMobile\b/.test(P)&&F.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(M)||M&&!W&&!/Browser|Mobi/.test(M))&&(oe=="Windows CE"||/Mobi/i.test(P)))M+=" Mobile";else if(M=="IE"&&ue)try{L.external===null&&F.unshift("platform preview")}catch(se){F.unshift("embedded")}else(/\bBlackBerry\b/.test(W)||/\bBB10\b/.test(P))&&(I=(RegExp(W.replace(/ +/g," *")+"/([.\\d]+)","i").exec(P)||0)[1]||ce)?(I=[I,/BB10/.test(P)],oe=(I[1]?(W=null,K="BlackBerry"):"Device Software")+" "+I[0],ce=null):this!=S&&W!="Wii"&&(ue&&pe||/Opera/.test(M)&&/\b(?:MSIE|Firefox)\b/i.test(P)||M=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(oe)||M=="IE"&&(oe&&!/^Win/.test(oe)&&ce>5.5||/\bWindows XP\b/.test(oe)&&ce>8||ce==8&&!/\bTrident\b/.test(P)))&&!n.test(I=R.call(S,P.replace(n,"")+";"))&&I.name&&(I="ing as "+I.name+((I=I.version)?" "+I:""),n.test(M)?(/\bIE\b/.test(I)&&oe=="Mac OS"&&(oe=null),I="identify"+I):(I="mask"+I,G?M=x(G.replace(/([a-z])([A-Z])/g,"$1 $2")):M="Opera",/\bIE\b/.test(I)&&(oe=null),ue||(ce=null)),U=["Presto"],F.push(I));(I=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(P)||0)[1])&&(I=[parseFloat(I.replace(/\.(\d)$/,".0$1")),I],M=="Safari"&&I[1].slice(-1)=="+"?(M="WebKit Nightly",Y="alpha",ce=I[1].slice(0,-1)):(ce==I[1]||ce==(I[2]=(/\bSafari\/([\d.]+\+?)/i.exec(P)||0)[1]))&&(ce=null),I[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(P)||0)[1],I[0]==537.36&&I[2]==537.36&&parseFloat(I[1])>=28&&U=="WebKit"&&(U=["Blink"]),!ue||!B&&!I[1]?(U&&(U[1]="like Safari"),I=(I=I[0],I<400?1:I<500?2:I<526?3:I<533?4:I<534?"4+":I<535?5:I<537?6:I<538?7:I<601?8:I<602?9:I<604?10:I<606?11:I<608?12:"12")):(U&&(U[1]="like Chrome"),I=I[1]||(I=I[0],I<530?1:I<532?2:I<532.05?3:I<533?4:I<534.03?5:I<534.07?6:I<534.1?7:I<534.13?8:I<534.16?9:I<534.24?10:I<534.3?11:I<535.01?12:I<535.02?"13+":I<535.07?15:I<535.11?16:I<535.19?17:I<536.05?18:I<536.1?19:I<537.01?20:I<537.11?"21+":I<537.13?23:I<537.18?24:I<537.24?25:I<537.36?26:U!="Blink"?"27":"28")),U&&(U[1]+=" "+(I+=typeof I=="number"?".x":/[.+]/.test(I)?"":"+")),M=="Safari"&&(!ce||parseInt(ce)>45)?ce=I:M=="Chrome"&&/\bHeadlessChrome/i.test(P)&&F.unshift("headless")),M=="Opera"&&(I=/\bzbov|zvav$/.exec(oe))?(M+=" ",F.unshift("desktop mode"),I=="zvav"?(M+="Mini",ce=null):M+="Mobile",oe=oe.replace(RegExp(" *"+I+"$"),"")):M=="Safari"&&/\bChrome\b/.exec(U&&U[1])?(F.unshift("desktop mode"),M="Chrome Mobile",ce=null,/\bOS X\b/.test(oe)?(K="Apple",oe="iOS 4.3+"):oe=null):/\bSRWare Iron\b/.test(M)&&!ce&&(ce=xe("Chrome")),ce&&ce.indexOf(I=/[\d.]+$/.exec(oe))==0&&P.indexOf("/"+I+"-")>-1&&(oe=T(oe.replace(I,""))),oe&&oe.indexOf(M)!=-1&&!RegExp(M+" OS").test(oe)&&(oe=oe.replace(RegExp(" *"+C(M)+" *"),"")),U&&!/\b(?:Avant|Nook)\b/.test(M)&&(/Browser|Lunascape|Maxthon/.test(M)||M!="Safari"&&/^iOS/.test(oe)&&/\bSafari\b/.test(U[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(M)&&U[1])&&(I=U[U.length-1])&&F.push(I),F.length&&(F=["("+F.join("; ")+")"]),K&&W&&W.indexOf(K)<0&&F.push("on "+K),W&&F.push((/^on /.test(F[F.length-1])?"":"on ")+W),oe&&(I=/ ([\d.+]+)$/.exec(oe),ne=I&&oe.charAt(oe.length-I[0].length-1)=="/",oe={architecture:32,family:I&&!ne?oe.replace(I[0],""):oe,version:I?I[1]:null,toString:function(){var se=this.version;return this.family+(se&&!ne?" "+se:"")+(this.architecture==64?" 64-bit":"")}}),(I=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(q))&&!/\bi686\b/i.test(q)?(oe&&(oe.architecture=64,oe.family=oe.family.replace(RegExp(" *"+I),"")),M&&(/\bWOW64\b/i.test(P)||ue&&/\w(?:86|32)$/.test(N.cpuClass||N.platform)&&!/\bWin64; x64\b/i.test(P))&&F.unshift("32-bit")):oe&&/^OS X/.test(oe.family)&&M=="Chrome"&&parseFloat(ce)>=39&&(oe.architecture=64),P||(P=null);var Te={};return Te.description=P,Te.layout=U&&U[0],Te.manufacturer=K,Te.name=M,Te.prerelease=Y,Te.product=W,Te.ua=P,Te.version=M&&ce,Te.os=oe||{architecture:null,family:null,version:null,toString:function(){return"null"}},Te.parse=R,Te.toString=ye,Te.version&&F.unshift(ce),Te.name&&F.unshift(M),oe&&M&&!(oe==String(oe).split(" ")[0]&&(oe==M.split(" ")[0]||W))&&F.push(W?"("+oe+")":"on "+oe),F.length&&(Te.description=F.join(" ")),Te}var k=R();typeof A=="function"&&typeof A.amd=="object"&&A.amd?(o.platform=k,A(function(){return k})):u&&i?S(k,function(P,L){u[L]=P}):o.platform=k}).call(this)}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(e,g,v){(function(c){(function(){"use strict";typeof c=="undefined"||!c.version||c.version.indexOf("v0.")===0||c.version.indexOf("v1.")===0&&c.version.indexOf("v1.8.")!==0?g.exports={nextTick:a}:g.exports=c;function a(o,l,u,i){if(typeof o!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,t,n;switch(r){case 0:case 1:return c.nextTick(o);case 2:return c.nextTick(function(){o.call(null,l)});case 3:return c.nextTick(function(){o.call(null,l,u)});case 4:return c.nextTick(function(){o.call(null,l,u,i)});default:for(t=new Array(r-1),n=0;n<t.length;)t[n++]=arguments[n];return c.nextTick(function(){o.apply(null,t)})}}}).call(this)}).call(this,e("_process"))},{_process:467}],381:[function(e,g,v){var c=g.exports={},a,o;function l(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?a=setTimeout:a=l}catch(b){a=l}try{typeof clearTimeout=="function"?o=clearTimeout:o=u}catch(b){o=u}})();function i(b){if(a===setTimeout)return setTimeout(b,0);if((a===l||!a)&&setTimeout)return a=setTimeout,setTimeout(b,0);try{return a(b,0)}catch(x){try{return a.call(null,b,0)}catch(S){return a.call(this,b,0)}}}function r(b){if(o===clearTimeout)return clearTimeout(b);if((o===u||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(b);try{return o(b)}catch(x){try{return o.call(null,b)}catch(S){return o.call(this,b)}}}var t=[],n=!1,s,d=-1;function m(){!n||!s||(n=!1,s.length?t=s.concat(t):d=-1,t.length&&h())}function h(){if(!n){var b=i(m);n=!0;for(var x=t.length;x;){for(s=t,t=[];++d<x;)s&&s[d].run();d=-1,x=t.length}s=null,n=!1,r(b)}}c.nextTick=function(b){var x=new Array(arguments.length-1);if(arguments.length>1)for(var S=1;S<arguments.length;S++)x[S-1]=arguments[S];t.push(new y(b,x)),t.length===1&&!n&&i(h)};function y(b,x){this.fun=b,this.array=x}y.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={};function p(){}c.on=p,c.addListener=p,c.once=p,c.off=p,c.removeListener=p,c.removeAllListeners=p,c.emit=p,c.prependListener=p,c.prependOnceListener=p,c.listeners=function(b){return[]},c.binding=function(b){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(b){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},{}],382:[function(e,g,v){(function(c){(function(){(function(a){var o=typeof v=="object"&&v&&!v.nodeType&&v,l=typeof g=="object"&&g&&!g.nodeType&&g,u=typeof c=="object"&&c;(u.global===u||u.window===u||u.self===u)&&(a=u);var i,r=2147483647,t=36,n=1,s=26,d=38,m=700,h=72,y=128,p="-",b=/^xn--/,x=/[^\x20-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=t-n,C=Math.floor,E=String.fromCharCode,T;function R(Q){throw new RangeError(w[Q])}function k(Q,re){for(var Z=Q.length,X=[];Z--;)X[Z]=re(Q[Z]);return X}function P(Q,re){var Z=Q.split("@"),X="";Z.length>1&&(X=Z[0]+"@",Q=Z[1]),Q=Q.replace(S,".");var $=Q.split("."),ie=k($,re).join(".");return X+ie}function L(Q){for(var re=[],Z=0,X=Q.length,$,ie;Z<X;)$=Q.charCodeAt(Z++),$>=55296&&$<=56319&&Z<X?(ie=Q.charCodeAt(Z++),(ie&64512)==56320?re.push((($&1023)<<10)+(ie&1023)+65536):(re.push($),Z--)):re.push($);return re}function O(Q){return k(Q,function(re){var Z="";return re>65535&&(re-=65536,Z+=E(re>>>10&1023|55296),re=56320|re&1023),Z+=E(re),Z}).join("")}function N(Q){return Q-48<10?Q-22:Q-65<26?Q-65:Q-97<26?Q-97:t}function H(Q,re){return Q+22+75*(Q<26)-((re!=0)<<5)}function V(Q,re,Z){var X=0;for(Q=Z?C(Q/m):Q>>1,Q+=C(Q/re);Q>_*s>>1;X+=t)Q=C(Q/_);return C(X+(_+1)*Q/(Q+d))}function B(Q){var re=[],Z=Q.length,X,$=0,ie=y,de=h,pe,G,I,q,F,Y,ue,ce,ne;for(pe=Q.lastIndexOf(p),pe<0&&(pe=0),G=0;G<pe;++G)Q.charCodeAt(G)>=128&&R("not-basic"),re.push(Q.charCodeAt(G));for(I=pe>0?pe+1:0;I<Z;){for(q=$,F=1,Y=t;I>=Z&&R("invalid-input"),ue=N(Q.charCodeAt(I++)),(ue>=t||ue>C((r-$)/F))&&R("overflow"),$+=ue*F,ce=Y<=de?n:Y>=de+s?s:Y-de,!(ue<ce);Y+=t)ne=t-ce,F>C(r/ne)&&R("overflow"),F*=ne;X=re.length+1,de=V($-q,X,q==0),C($/X)>r-ie&&R("overflow"),ie+=C($/X),$%=X,re.splice($++,0,ie)}return O(re)}function te(Q){var re,Z,X,$,ie,de,pe,G,I,q,F,Y=[],ue,ce,ne,U;for(Q=L(Q),ue=Q.length,re=y,Z=0,ie=h,de=0;de<ue;++de)F=Q[de],F<128&&Y.push(E(F));for(X=$=Y.length,$&&Y.push(p);X<ue;){for(pe=r,de=0;de<ue;++de)F=Q[de],F>=re&&F<pe&&(pe=F);for(ce=X+1,pe-re>C((r-Z)/ce)&&R("overflow"),Z+=(pe-re)*ce,re=pe,de=0;de<ue;++de)if(F=Q[de],F<re&&++Z>r&&R("overflow"),F==re){for(G=Z,I=t;q=I<=ie?n:I>=ie+s?s:I-ie,!(G<q);I+=t)U=G-q,ne=t-q,Y.push(E(H(q+U%ne,0))),G=C(U/ne);Y.push(E(H(G,0))),ie=V(Z,ce,X==$),Z=0,++X}++Z,++re}return Y.join("")}function ee(Q){return P(Q,function(re){return b.test(re)?B(re.slice(4).toLowerCase()):re})}function J(Q){return P(Q,function(re){return x.test(re)?"xn--"+te(re):re})}if(i={version:"1.4.1",ucs2:{decode:L,encode:O},decode:B,encode:te,toASCII:J,toUnicode:ee},typeof A=="function"&&typeof A.amd=="object"&&A.amd)A("punycode",function(){return i});else if(o&&l)if(g.exports==o)l.exports=i;else for(T in i)i.hasOwnProperty(T)&&(o[T]=i[T]);else a.punycode=i})(this)}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(e,g,v){"use strict";function c(o,l){return Object.prototype.hasOwnProperty.call(o,l)}g.exports=function(o,l,u,i){l=l||"&",u=u||"=";var r={};if(typeof o!="string"||o.length===0)return r;var t=/\+/g;o=o.split(l);var n=1e3;i&&typeof i.maxKeys=="number"&&(n=i.maxKeys);var s=o.length;n>0&&s>n&&(s=n);for(var d=0;d<s;++d){var m=o[d].replace(t,"%20"),h=m.indexOf(u),y,p,b,x;h>=0?(y=m.substr(0,h),p=m.substr(h+1)):(y=m,p=""),b=decodeURIComponent(y),x=decodeURIComponent(p),c(r,b)?a(r[b])?r[b].push(x):r[b]=[r[b],x]:r[b]=x}return r};var a=Array.isArray||function(o){return Object.prototype.toString.call(o)==="[object Array]"}},{}],384:[function(e,g,v){"use strict";var c=function(u){switch(typeof u){case"string":return u;case"boolean":return u?"true":"false";case"number":return isFinite(u)?u:"";default:return""}};g.exports=function(u,i,r,t){return i=i||"&",r=r||"=",u===null&&(u=void 0),typeof u=="object"?o(l(u),function(n){var s=encodeURIComponent(c(n))+r;return a(u[n])?o(u[n],function(d){return s+encodeURIComponent(c(d))}).join(i):s+encodeURIComponent(c(u[n]))}).join(i):t?encodeURIComponent(c(t))+r+encodeURIComponent(c(u)):""};var a=Array.isArray||function(u){return Object.prototype.toString.call(u)==="[object Array]"};function o(u,i){if(u.map)return u.map(i);for(var r=[],t=0;t<u.length;t++)r.push(i(u[t],t));return r}var l=Object.keys||function(u){var i=[];for(var r in u)Object.prototype.hasOwnProperty.call(u,r)&&i.push(r);return i}},{}],385:[function(e,g,v){"use strict";v.decode=v.parse=e("./decode"),v.encode=v.stringify=e("./encode")},{"./decode":383,"./encode":384}],386:[function(e,g,v){"use strict";var c=e("process-nextick-args"),a=Object.keys||function(m){var h=[];for(var y in m)h.push(y);return h};g.exports=n;var o=Object.create(e("core-util-is"));o.inherits=e("inherits");var l=e("./_stream_readable"),u=e("./_stream_writable");o.inherits(n,l);for(var i=a(u.prototype),r=0;r<i.length;r++){var t=i[r];n.prototype[t]||(n.prototype[t]=u.prototype[t])}function n(m){if(!(this instanceof n))return new n(m);l.call(this,m),u.call(this,m),m&&m.readable===!1&&(this.readable=!1),m&&m.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,m&&m.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",s)}Object.defineProperty(n.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function s(){this.allowHalfOpen||this._writableState.ended||c.nextTick(d,this)}function d(m){m.end()}Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(m){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=m,this._writableState.destroyed=m)}}),n.prototype._destroy=function(m,h){this.push(null),this.end(),c.nextTick(h,m)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(e,g,v){"use strict";g.exports=o;var c=e("./_stream_transform"),a=Object.create(e("core-util-is"));a.inherits=e("inherits"),a.inherits(o,c);function o(l){if(!(this instanceof o))return new o(l);c.call(this,l)}o.prototype._transform=function(l,u,i){i(null,l)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(e,g,v){(function(c,a){(function(){"use strict";var o=e("process-nextick-args");g.exports=E;var l=e("isarray"),u;E.ReadableState=C;var i=e("events").EventEmitter,r=function(F,Y){return F.listeners(Y).length},t=e("./internal/streams/stream"),n=e("safe-buffer").Buffer,s=a.Uint8Array||function(){};function d(F){return n.from(F)}function m(F){return n.isBuffer(F)||F instanceof s}var h=Object.create(e("core-util-is"));h.inherits=e("inherits");var y=e("util"),p=void 0;y&&y.debuglog?p=y.debuglog("stream"):p=function(){};var b=e("./internal/streams/BufferList"),x=e("./internal/streams/destroy"),S;h.inherits(E,t);var w=["error","close","destroy","pause","resume"];function _(F,Y,ue){if(typeof F.prependListener=="function")return F.prependListener(Y,ue);!F._events||!F._events[Y]?F.on(Y,ue):l(F._events[Y])?F._events[Y].unshift(ue):F._events[Y]=[ue,F._events[Y]]}function C(F,Y){u=u||e("./_stream_duplex"),F=F||{};var ue=Y instanceof u;this.objectMode=!!F.objectMode,ue&&(this.objectMode=this.objectMode||!!F.readableObjectMode);var ce=F.highWaterMark,ne=F.readableHighWaterMark,U=this.objectMode?16:16*1024;ce||ce===0?this.highWaterMark=ce:ue&&(ne||ne===0)?this.highWaterMark=ne:this.highWaterMark=U,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=F.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,F.encoding&&(S||(S=e("string_decoder/").StringDecoder),this.decoder=new S(F.encoding),this.encoding=F.encoding)}function E(F){if(u=u||e("./_stream_duplex"),!(this instanceof E))return new E(F);this._readableState=new C(F,this),this.readable=!0,F&&(typeof F.read=="function"&&(this._read=F.read),typeof F.destroy=="function"&&(this._destroy=F.destroy)),t.call(this)}Object.defineProperty(E.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(F){this._readableState&&(this._readableState.destroyed=F)}}),E.prototype.destroy=x.destroy,E.prototype._undestroy=x.undestroy,E.prototype._destroy=function(F,Y){this.push(null),Y(F)},E.prototype.push=function(F,Y){var ue=this._readableState,ce;return ue.objectMode?ce=!0:typeof F=="string"&&(Y=Y||ue.defaultEncoding,Y!==ue.encoding&&(F=n.from(F,Y),Y=""),ce=!0),T(this,F,Y,!1,ce)},E.prototype.unshift=function(F){return T(this,F,null,!0,!1)};function T(F,Y,ue,ce,ne){var U=F._readableState;if(Y===null)U.reading=!1,H(F,U);else{var M;ne||(M=k(U,Y)),M?F.emit("error",M):U.objectMode||Y&&Y.length>0?(typeof Y!="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==n.prototype&&(Y=d(Y)),ce?U.endEmitted?F.emit("error",new Error("stream.unshift() after end event")):R(F,U,Y,!0):U.ended?F.emit("error",new Error("stream.push() after EOF")):(U.reading=!1,U.decoder&&!ue?(Y=U.decoder.write(Y),U.objectMode||Y.length!==0?R(F,U,Y,!1):te(F,U)):R(F,U,Y,!1))):ce||(U.reading=!1)}return P(U)}function R(F,Y,ue,ce){Y.flowing&&Y.length===0&&!Y.sync?(F.emit("data",ue),F.read(0)):(Y.length+=Y.objectMode?1:ue.length,ce?Y.buffer.unshift(ue):Y.buffer.push(ue),Y.needReadable&&V(F)),te(F,Y)}function k(F,Y){var ue;return!m(Y)&&typeof Y!="string"&&Y!==void 0&&!F.objectMode&&(ue=new TypeError("Invalid non-string/buffer chunk")),ue}function P(F){return!F.ended&&(F.needReadable||F.length<F.highWaterMark||F.length===0)}E.prototype.isPaused=function(){return this._readableState.flowing===!1},E.prototype.setEncoding=function(F){return S||(S=e("string_decoder/").StringDecoder),this._readableState.decoder=new S(F),this._readableState.encoding=F,this};var L=8388608;function O(F){return F>=L?F=L:(F--,F|=F>>>1,F|=F>>>2,F|=F>>>4,F|=F>>>8,F|=F>>>16,F++),F}function N(F,Y){return F<=0||Y.length===0&&Y.ended?0:Y.objectMode?1:F!==F?Y.flowing&&Y.length?Y.buffer.head.data.length:Y.length:(F>Y.highWaterMark&&(Y.highWaterMark=O(F)),F<=Y.length?F:Y.ended?Y.length:(Y.needReadable=!0,0))}E.prototype.read=function(F){p("read",F),F=parseInt(F,10);var Y=this._readableState,ue=F;if(F!==0&&(Y.emittedReadable=!1),F===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended))return p("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended?G(this):V(this),null;if(F=N(F,Y),F===0&&Y.ended)return Y.length===0&&G(this),null;var ce=Y.needReadable;p("need readable",ce),(Y.length===0||Y.length-F<Y.highWaterMark)&&(ce=!0,p("length less than watermark",ce)),Y.ended||Y.reading?(ce=!1,p("reading or ended",ce)):ce&&(p("do read"),Y.reading=!0,Y.sync=!0,Y.length===0&&(Y.needReadable=!0),this._read(Y.highWaterMark),Y.sync=!1,Y.reading||(F=N(ue,Y)));var ne;return F>0?ne=$(F,Y):ne=null,ne===null?(Y.needReadable=!0,F=0):Y.length-=F,Y.length===0&&(Y.ended||(Y.needReadable=!0),ue!==F&&Y.ended&&G(this)),ne!==null&&this.emit("data",ne),ne};function H(F,Y){if(!Y.ended){if(Y.decoder){var ue=Y.decoder.end();ue&&ue.length&&(Y.buffer.push(ue),Y.length+=Y.objectMode?1:ue.length)}Y.ended=!0,V(F)}}function V(F){var Y=F._readableState;Y.needReadable=!1,Y.emittedReadable||(p("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync?o.nextTick(B,F):B(F))}function B(F){p("emit readable"),F.emit("readable"),X(F)}function te(F,Y){Y.readingMore||(Y.readingMore=!0,o.nextTick(ee,F,Y))}function ee(F,Y){for(var ue=Y.length;!Y.reading&&!Y.flowing&&!Y.ended&&Y.length<Y.highWaterMark&&(p("maybeReadMore read 0"),F.read(0),ue!==Y.length);)ue=Y.length;Y.readingMore=!1}E.prototype._read=function(F){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(F,Y){var ue=this,ce=this._readableState;switch(ce.pipesCount){case 0:ce.pipes=F;break;case 1:ce.pipes=[ce.pipes,F];break;default:ce.pipes.push(F);break}ce.pipesCount+=1,p("pipe count=%d opts=%j",ce.pipesCount,Y);var ne=(!Y||Y.end!==!1)&&F!==c.stdout&&F!==c.stderr,U=ne?W:ye;ce.endEmitted?o.nextTick(U):ue.once("end",U),F.on("unpipe",M);function M(Te,se){p("onunpipe"),Te===ue&&se&&se.hasUnpiped===!1&&(se.hasUnpiped=!0,he())}function W(){p("onend"),F.end()}var K=J(ue);F.on("drain",K);var oe=!1;function he(){p("cleanup"),F.removeListener("close",ge),F.removeListener("finish",xe),F.removeListener("drain",K),F.removeListener("error",Se),F.removeListener("unpipe",M),ue.removeListener("end",W),ue.removeListener("end",ye),ue.removeListener("data",le),oe=!0,ce.awaitDrain&&(!F._writableState||F._writableState.needDrain)&&K()}var ae=!1;ue.on("data",le);function le(Te){p("ondata"),ae=!1;var se=F.write(Te);se===!1&&!ae&&((ce.pipesCount===1&&ce.pipes===F||ce.pipesCount>1&&q(ce.pipes,F)!==-1)&&!oe&&(p("false write response, pause",ue._readableState.awaitDrain),ue._readableState.awaitDrain++,ae=!0),ue.pause())}function Se(Te){p("onerror",Te),ye(),F.removeListener("error",Se),r(F,"error")===0&&F.emit("error",Te)}_(F,"error",Se);function ge(){F.removeListener("finish",xe),ye()}F.once("close",ge);function xe(){p("onfinish"),F.removeListener("close",ge),ye()}F.once("finish",xe);function ye(){p("unpipe"),ue.unpipe(F)}return F.emit("pipe",ue),ce.flowing||(p("pipe resume"),ue.resume()),F};function J(F){return function(){var Y=F._readableState;p("pipeOnDrain",Y.awaitDrain),Y.awaitDrain&&Y.awaitDrain--,Y.awaitDrain===0&&r(F,"data")&&(Y.flowing=!0,X(F))}}E.prototype.unpipe=function(F){var Y=this._readableState,ue={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1)return F&&F!==Y.pipes?this:(F||(F=Y.pipes),Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,F&&F.emit("unpipe",this,ue),this);if(!F){var ce=Y.pipes,ne=Y.pipesCount;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<ne;U++)ce[U].emit("unpipe",this,ue);return this}var M=q(Y.pipes,F);return M===-1?this:(Y.pipes.splice(M,1),Y.pipesCount-=1,Y.pipesCount===1&&(Y.pipes=Y.pipes[0]),F.emit("unpipe",this,ue),this)},E.prototype.on=function(F,Y){var ue=t.prototype.on.call(this,F,Y);if(F==="data")this._readableState.flowing!==!1&&this.resume();else if(F==="readable"){var ce=this._readableState;!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.emittedReadable=!1,ce.reading?ce.length&&V(this):o.nextTick(Q,this))}return ue},E.prototype.addListener=E.prototype.on;function Q(F){p("readable nexttick read 0"),F.read(0)}E.prototype.resume=function(){var F=this._readableState;return F.flowing||(p("resume"),F.flowing=!0,re(this,F)),this};function re(F,Y){Y.resumeScheduled||(Y.resumeScheduled=!0,o.nextTick(Z,F,Y))}function Z(F,Y){Y.reading||(p("resume read 0"),F.read(0)),Y.resumeScheduled=!1,Y.awaitDrain=0,F.emit("resume"),X(F),Y.flowing&&!Y.reading&&F.read(0)}E.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function X(F){var Y=F._readableState;for(p("flow",Y.flowing);Y.flowing&&F.read()!==null;);}E.prototype.wrap=function(F){var Y=this,ue=this._readableState,ce=!1;F.on("end",function(){if(p("wrapped end"),ue.decoder&&!ue.ended){var M=ue.decoder.end();M&&M.length&&Y.push(M)}Y.push(null)}),F.on("data",function(M){if(p("wrapped data"),ue.decoder&&(M=ue.decoder.write(M)),!(ue.objectMode&&M==null)&&!(!ue.objectMode&&(!M||!M.length))){var W=Y.push(M);W||(ce=!0,F.pause())}});for(var ne in F)this[ne]===void 0&&typeof F[ne]=="function"&&(this[ne]=function(M){return function(){return F[M].apply(F,arguments)}}(ne));for(var U=0;U<w.length;U++)F.on(w[U],this.emit.bind(this,w[U]));return this._read=function(M){p("wrapped _read",M),ce&&(ce=!1,F.resume())},this},Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),E._fromList=$;function $(F,Y){if(Y.length===0)return null;var ue;return Y.objectMode?ue=Y.buffer.shift():!F||F>=Y.length?(Y.decoder?ue=Y.buffer.join(""):Y.buffer.length===1?ue=Y.buffer.head.data:ue=Y.buffer.concat(Y.length),Y.buffer.clear()):ue=ie(F,Y.buffer,Y.decoder),ue}function ie(F,Y,ue){var ce;return F<Y.head.data.length?(ce=Y.head.data.slice(0,F),Y.head.data=Y.head.data.slice(F)):F===Y.head.data.length?ce=Y.shift():ce=ue?de(F,Y):pe(F,Y),ce}function de(F,Y){var ue=Y.head,ce=1,ne=ue.data;for(F-=ne.length;ue=ue.next;){var U=ue.data,M=F>U.length?U.length:F;if(M===U.length?ne+=U:ne+=U.slice(0,F),F-=M,F===0){M===U.length?(++ce,ue.next?Y.head=ue.next:Y.head=Y.tail=null):(Y.head=ue,ue.data=U.slice(M));break}++ce}return Y.length-=ce,ne}function pe(F,Y){var ue=n.allocUnsafe(F),ce=Y.head,ne=1;for(ce.data.copy(ue),F-=ce.data.length;ce=ce.next;){var U=ce.data,M=F>U.length?U.length:F;if(U.copy(ue,ue.length-F,0,M),F-=M,F===0){M===U.length?(++ne,ce.next?Y.head=ce.next:Y.head=Y.tail=null):(Y.head=ce,ce.data=U.slice(M));break}++ne}return Y.length-=ne,ue}function G(F){var Y=F._readableState;if(Y.length>0)throw new Error('"endReadable()" called on non-empty stream');Y.endEmitted||(Y.ended=!0,o.nextTick(I,Y,F))}function I(F,Y){!F.endEmitted&&F.length===0&&(F.endEmitted=!0,Y.readable=!1,Y.emit("end"))}function q(F,Y){for(var ue=0,ce=F.length;ue<ce;ue++)if(F[ue]===Y)return ue;return-1}}).call(this)}).call(this,e("_process"),typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(e,g,v){"use strict";g.exports=l;var c=e("./_stream_duplex"),a=Object.create(e("core-util-is"));a.inherits=e("inherits"),a.inherits(l,c);function o(r,t){var n=this._transformState;n.transforming=!1;var s=n.writecb;if(!s)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,t!=null&&this.push(t),s(r);var d=this._readableState;d.reading=!1,(d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}function l(r){if(!(this instanceof l))return new l(r);c.call(this,r),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,r&&(typeof r.transform=="function"&&(this._transform=r.transform),typeof r.flush=="function"&&(this._flush=r.flush)),this.on("prefinish",u)}function u(){var r=this;typeof this._flush=="function"?this._flush(function(t,n){i(r,t,n)}):i(this,null,null)}l.prototype.push=function(r,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,r,t)},l.prototype._transform=function(r,t,n){throw new Error("_transform() is not implemented")},l.prototype._write=function(r,t,n){var s=this._transformState;if(s.writecb=n,s.writechunk=r,s.writeencoding=t,!s.transforming){var d=this._readableState;(s.needTransform||d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}},l.prototype._read=function(r){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},l.prototype._destroy=function(r,t){var n=this;c.prototype._destroy.call(this,r,function(s){t(s),n.emit("close")})};function i(r,t,n){if(t)return r.emit("error",t);if(n!=null&&r.push(n),r._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(r._transformState.transforming)throw new Error("Calling transform done when still transforming");return r.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(e,g,v){(function(c,a,o){(function(){"use strict";var l=e("process-nextick-args");g.exports=_;function u(Z,X,$){this.chunk=Z,this.encoding=X,this.callback=$,this.next=null}function i(Z){var X=this;this.next=null,this.entry=null,this.finish=function(){re(X,Z)}}var r=!c.browser&&["v0.10","v0.9."].indexOf(c.version.slice(0,5))>-1?o:l.nextTick,t;_.WritableState=S;var n=Object.create(e("core-util-is"));n.inherits=e("inherits");var s={deprecate:e("util-deprecate")},d=e("./internal/streams/stream"),m=e("safe-buffer").Buffer,h=a.Uint8Array||function(){};function y(Z){return m.from(Z)}function p(Z){return m.isBuffer(Z)||Z instanceof h}var b=e("./internal/streams/destroy");n.inherits(_,d);function x(){}function S(Z,X){t=t||e("./_stream_duplex"),Z=Z||{};var $=X instanceof t;this.objectMode=!!Z.objectMode,$&&(this.objectMode=this.objectMode||!!Z.writableObjectMode);var ie=Z.highWaterMark,de=Z.writableHighWaterMark,pe=this.objectMode?16:16*1024;ie||ie===0?this.highWaterMark=ie:$&&(de||de===0)?this.highWaterMark=de:this.highWaterMark=pe,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var G=Z.decodeStrings===!1;this.decodeStrings=!G,this.defaultEncoding=Z.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(I){O(X,I)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}S.prototype.getBuffer=function(){for(var X=this.bufferedRequest,$=[];X;)$.push(X),X=X.next;return $},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Z){}}();var w;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(w=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(Z){return w.call(this,Z)?!0:this!==_?!1:Z&&Z._writableState instanceof S}})):w=function(Z){return Z instanceof this};function _(Z){if(t=t||e("./_stream_duplex"),!w.call(_,this)&&!(this instanceof t))return new _(Z);this._writableState=new S(Z,this),this.writable=!0,Z&&(typeof Z.write=="function"&&(this._write=Z.write),typeof Z.writev=="function"&&(this._writev=Z.writev),typeof Z.destroy=="function"&&(this._destroy=Z.destroy),typeof Z.final=="function"&&(this._final=Z.final)),d.call(this)}_.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function C(Z,X){var $=new Error("write after end");Z.emit("error",$),l.nextTick(X,$)}function E(Z,X,$,ie){var de=!0,pe=!1;return $===null?pe=new TypeError("May not write null values to stream"):typeof $!="string"&&$!==void 0&&!X.objectMode&&(pe=new TypeError("Invalid non-string/buffer chunk")),pe&&(Z.emit("error",pe),l.nextTick(ie,pe),de=!1),de}_.prototype.write=function(Z,X,$){var ie=this._writableState,de=!1,pe=!ie.objectMode&&p(Z);return pe&&!m.isBuffer(Z)&&(Z=y(Z)),typeof X=="function"&&($=X,X=null),pe?X="buffer":X||(X=ie.defaultEncoding),typeof $!="function"&&($=x),ie.ended?C(this,$):(pe||E(this,ie,Z,$))&&(ie.pendingcb++,de=R(this,ie,pe,Z,X,$)),de},_.prototype.cork=function(){var Z=this._writableState;Z.corked++},_.prototype.uncork=function(){var Z=this._writableState;Z.corked&&(Z.corked--,!Z.writing&&!Z.corked&&!Z.finished&&!Z.bufferProcessing&&Z.bufferedRequest&&V(this,Z))},_.prototype.setDefaultEncoding=function(X){if(typeof X=="string"&&(X=X.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((X+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+X);return this._writableState.defaultEncoding=X,this};function T(Z,X,$){return!Z.objectMode&&Z.decodeStrings!==!1&&typeof X=="string"&&(X=m.from(X,$)),X}Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function R(Z,X,$,ie,de,pe){if(!$){var G=T(X,ie,de);ie!==G&&($=!0,de="buffer",ie=G)}var I=X.objectMode?1:ie.length;X.length+=I;var q=X.length<X.highWaterMark;if(q||(X.needDrain=!0),X.writing||X.corked){var F=X.lastBufferedRequest;X.lastBufferedRequest={chunk:ie,encoding:de,isBuf:$,callback:pe,next:null},F?F.next=X.lastBufferedRequest:X.bufferedRequest=X.lastBufferedRequest,X.bufferedRequestCount+=1}else k(Z,X,!1,I,ie,de,pe);return q}function k(Z,X,$,ie,de,pe,G){X.writelen=ie,X.writecb=G,X.writing=!0,X.sync=!0,$?Z._writev(de,X.onwrite):Z._write(de,pe,X.onwrite),X.sync=!1}function P(Z,X,$,ie,de){--X.pendingcb,$?(l.nextTick(de,ie),l.nextTick(J,Z,X),Z._writableState.errorEmitted=!0,Z.emit("error",ie)):(de(ie),Z._writableState.errorEmitted=!0,Z.emit("error",ie),J(Z,X))}function L(Z){Z.writing=!1,Z.writecb=null,Z.length-=Z.writelen,Z.writelen=0}function O(Z,X){var $=Z._writableState,ie=$.sync,de=$.writecb;if(L($),X)P(Z,$,ie,X,de);else{var pe=B($);!pe&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest&&V(Z,$),ie?r(N,Z,$,pe,de):N(Z,$,pe,de)}}function N(Z,X,$,ie){$||H(Z,X),X.pendingcb--,ie(),J(Z,X)}function H(Z,X){X.length===0&&X.needDrain&&(X.needDrain=!1,Z.emit("drain"))}function V(Z,X){X.bufferProcessing=!0;var $=X.bufferedRequest;if(Z._writev&&$&&$.next){var ie=X.bufferedRequestCount,de=new Array(ie),pe=X.corkedRequestsFree;pe.entry=$;for(var G=0,I=!0;$;)de[G]=$,$.isBuf||(I=!1),$=$.next,G+=1;de.allBuffers=I,k(Z,X,!0,X.length,de,"",pe.finish),X.pendingcb++,X.lastBufferedRequest=null,pe.next?(X.corkedRequestsFree=pe.next,pe.next=null):X.corkedRequestsFree=new i(X),X.bufferedRequestCount=0}else{for(;$;){var q=$.chunk,F=$.encoding,Y=$.callback,ue=X.objectMode?1:q.length;if(k(Z,X,!1,ue,q,F,Y),$=$.next,X.bufferedRequestCount--,X.writing)break}$===null&&(X.lastBufferedRequest=null)}X.bufferedRequest=$,X.bufferProcessing=!1}_.prototype._write=function(Z,X,$){$(new Error("_write() is not implemented"))},_.prototype._writev=null,_.prototype.end=function(Z,X,$){var ie=this._writableState;typeof Z=="function"?($=Z,Z=null,X=null):typeof X=="function"&&($=X,X=null),Z!=null&&this.write(Z,X),ie.corked&&(ie.corked=1,this.uncork()),!ie.ending&&!ie.finished&&Q(this,ie,$)};function B(Z){return Z.ending&&Z.length===0&&Z.bufferedRequest===null&&!Z.finished&&!Z.writing}function te(Z,X){Z._final(function($){X.pendingcb--,$&&Z.emit("error",$),X.prefinished=!0,Z.emit("prefinish"),J(Z,X)})}function ee(Z,X){!X.prefinished&&!X.finalCalled&&(typeof Z._final=="function"?(X.pendingcb++,X.finalCalled=!0,l.nextTick(te,Z,X)):(X.prefinished=!0,Z.emit("prefinish")))}function J(Z,X){var $=B(X);return $&&(ee(Z,X),X.pendingcb===0&&(X.finished=!0,Z.emit("finish"))),$}function Q(Z,X,$){X.ending=!0,J(Z,X),$&&(X.finished?l.nextTick($):Z.once("finish",$)),X.ended=!0,Z.writable=!1}function re(Z,X,$){var ie=Z.entry;for(Z.entry=null;ie;){var de=ie.callback;X.pendingcb--,de($),ie=ie.next}X.corkedRequestsFree?X.corkedRequestsFree.next=Z:X.corkedRequestsFree=Z}Object.defineProperty(_.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Z){this._writableState&&(this._writableState.destroyed=Z)}}),_.prototype.destroy=b.destroy,_.prototype._undestroy=b.undestroy,_.prototype._destroy=function(Z,X){this.end(),X(Z)}}).call(this)}).call(this,e("_process"),typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{},e("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(e,g,v){"use strict";function c(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}var a=e("safe-buffer").Buffer,o=e("util");function l(u,i,r){u.copy(i,r)}g.exports=function(){function u(){c(this,u),this.head=null,this.tail=null,this.length=0}return u.prototype.push=function(r){var t={data:r,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},u.prototype.unshift=function(r){var t={data:r,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},u.prototype.shift=function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},u.prototype.clear=function(){this.head=this.tail=null,this.length=0},u.prototype.join=function(r){if(this.length===0)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=r+t.data;return n},u.prototype.concat=function(r){if(this.length===0)return a.alloc(0);if(this.length===1)return this.head.data;for(var t=a.allocUnsafe(r>>>0),n=this.head,s=0;n;)l(n.data,t,s),s+=n.data.length,n=n.next;return t},u}(),o&&o.inspect&&o.inspect.custom&&(g.exports.prototype[o.inspect.custom]=function(){var u=o.inspect({length:this.length});return this.constructor.name+" "+u})},{"safe-buffer":396,util:89}],392:[function(e,g,v){"use strict";var c=e("process-nextick-args");function a(u,i){var r=this,t=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return t||n?(i?i(u):u&&(!this._writableState||!this._writableState.errorEmitted)&&c.nextTick(l,this,u),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(u||null,function(s){!i&&s?(c.nextTick(l,r,s),r._writableState&&(r._writableState.errorEmitted=!0)):i&&i(s)}),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function l(u,i){u.emit("error",i)}g.exports={destroy:a,undestroy:o}},{"process-nextick-args":380}],393:[function(e,g,v){g.exports=e("events").EventEmitter},{events:344}],394:[function(e,g,v){v=g.exports=e("./lib/_stream_readable.js"),v.Stream=v,v.Readable=v,v.Writable=e("./lib/_stream_writable.js"),v.Duplex=e("./lib/_stream_duplex.js"),v.Transform=e("./lib/_stream_transform.js"),v.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(e,g,v){var c=function(a){"use strict";var o=Object.prototype,l=o.hasOwnProperty,u,i=typeof Symbol=="function"?Symbol:{},r=i.iterator||"@@iterator",t=i.asyncIterator||"@@asyncIterator",n=i.toStringTag||"@@toStringTag";function s(ee,J,Q){return Object.defineProperty(ee,J,{value:Q,enumerable:!0,configurable:!0,writable:!0}),ee[J]}try{s({},"")}catch(ee){s=function(J,Q,re){return J[Q]=re}}function d(ee,J,Q,re){var Z=J&&J.prototype instanceof S?J:S,X=Object.create(Z.prototype),$=new V(re||[]);return X._invoke=L(ee,Q,$),X}a.wrap=d;function m(ee,J,Q){try{return{type:"normal",arg:ee.call(J,Q)}}catch(re){return{type:"throw",arg:re}}}var h="suspendedStart",y="suspendedYield",p="executing",b="completed",x={};function S(){}function w(){}function _(){}var C={};s(C,r,function(){return this});var E=Object.getPrototypeOf,T=E&&E(E(B([])));T&&T!==o&&l.call(T,r)&&(C=T);var R=_.prototype=S.prototype=Object.create(C);w.prototype=_,s(R,"constructor",_),s(_,"constructor",w),w.displayName=s(_,n,"GeneratorFunction");function k(ee){["next","throw","return"].forEach(function(J){s(ee,J,function(Q){return this._invoke(J,Q)})})}a.isGeneratorFunction=function(ee){var J=typeof ee=="function"&&ee.constructor;return J?J===w||(J.displayName||J.name)==="GeneratorFunction":!1},a.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,_):(ee.__proto__=_,s(ee,n,"GeneratorFunction")),ee.prototype=Object.create(R),ee},a.awrap=function(ee){return{__await:ee}};function P(ee,J){function Q(X,$,ie,de){var pe=m(ee[X],ee,$);if(pe.type==="throw")de(pe.arg);else{var G=pe.arg,I=G.value;return I&&typeof I=="object"&&l.call(I,"__await")?J.resolve(I.__await).then(function(q){Q("next",q,ie,de)},function(q){Q("throw",q,ie,de)}):J.resolve(I).then(function(q){G.value=q,ie(G)},function(q){return Q("throw",q,ie,de)})}}var re;function Z(X,$){function ie(){return new J(function(de,pe){Q(X,$,de,pe)})}return re=re?re.then(ie,ie):ie()}this._invoke=Z}k(P.prototype),s(P.prototype,t,function(){return this}),a.AsyncIterator=P,a.async=function(ee,J,Q,re,Z){Z===void 0&&(Z=Promise);var X=new P(d(ee,J,Q,re),Z);return a.isGeneratorFunction(J)?X:X.next().then(function($){return $.done?$.value:X.next()})};function L(ee,J,Q){var re=h;return function(X,$){if(re===p)throw new Error("Generator is already running");if(re===b){if(X==="throw")throw $;return te()}for(Q.method=X,Q.arg=$;;){var ie=Q.delegate;if(ie){var de=O(ie,Q);if(de){if(de===x)continue;return de}}if(Q.method==="next")Q.sent=Q._sent=Q.arg;else if(Q.method==="throw"){if(re===h)throw re=b,Q.arg;Q.dispatchException(Q.arg)}else Q.method==="return"&&Q.abrupt("return",Q.arg);re=p;var pe=m(ee,J,Q);if(pe.type==="normal"){if(re=Q.done?b:y,pe.arg===x)continue;return{value:pe.arg,done:Q.done}}else pe.type==="throw"&&(re=b,Q.method="throw",Q.arg=pe.arg)}}}function O(ee,J){var Q=ee.iterator[J.method];if(Q===u){if(J.delegate=null,J.method==="throw"){if(ee.iterator.return&&(J.method="return",J.arg=u,O(ee,J),J.method==="throw"))return x;J.method="throw",J.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var re=m(Q,ee.iterator,J.arg);if(re.type==="throw")return J.method="throw",J.arg=re.arg,J.delegate=null,x;var Z=re.arg;if(!Z)return J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,x;if(Z.done)J[ee.resultName]=Z.value,J.next=ee.nextLoc,J.method!=="return"&&(J.method="next",J.arg=u);else return Z;return J.delegate=null,x}k(R),s(R,n,"Generator"),s(R,r,function(){return this}),s(R,"toString",function(){return"[object Generator]"});function N(ee){var J={tryLoc:ee[0]};1 in ee&&(J.catchLoc=ee[1]),2 in ee&&(J.finallyLoc=ee[2],J.afterLoc=ee[3]),this.tryEntries.push(J)}function H(ee){var J=ee.completion||{};J.type="normal",delete J.arg,ee.completion=J}function V(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(N,this),this.reset(!0)}a.keys=function(ee){var J=[];for(var Q in ee)J.push(Q);return J.reverse(),function re(){for(;J.length;){var Z=J.pop();if(Z in ee)return re.value=Z,re.done=!1,re}return re.done=!0,re}};function B(ee){if(ee){var J=ee[r];if(J)return J.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var Q=-1,re=function Z(){for(;++Q<ee.length;)if(l.call(ee,Q))return Z.value=ee[Q],Z.done=!1,Z;return Z.value=u,Z.done=!0,Z};return re.next=re}}return{next:te}}a.values=B;function te(){return{value:u,done:!0}}return V.prototype={constructor:V,reset:function(ee){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(H),!ee)for(var J in this)J.charAt(0)==="t"&&l.call(this,J)&&!isNaN(+J.slice(1))&&(this[J]=u)},stop:function(){this.done=!0;var ee=this.tryEntries[0],J=ee.completion;if(J.type==="throw")throw J.arg;return this.rval},dispatchException:function(ee){if(this.done)throw ee;var J=this;function Q(de,pe){return X.type="throw",X.arg=ee,J.next=de,pe&&(J.method="next",J.arg=u),!!pe}for(var re=this.tryEntries.length-1;re>=0;--re){var Z=this.tryEntries[re],X=Z.completion;if(Z.tryLoc==="root")return Q("end");if(Z.tryLoc<=this.prev){var $=l.call(Z,"catchLoc"),ie=l.call(Z,"finallyLoc");if($&&ie){if(this.prev<Z.catchLoc)return Q(Z.catchLoc,!0);if(this.prev<Z.finallyLoc)return Q(Z.finallyLoc)}else if($){if(this.prev<Z.catchLoc)return Q(Z.catchLoc,!0)}else if(ie){if(this.prev<Z.finallyLoc)return Q(Z.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ee,J){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var re=this.tryEntries[Q];if(re.tryLoc<=this.prev&&l.call(re,"finallyLoc")&&this.prev<re.finallyLoc){var Z=re;break}}Z&&(ee==="break"||ee==="continue")&&Z.tryLoc<=J&&J<=Z.finallyLoc&&(Z=null);var X=Z?Z.completion:{};return X.type=ee,X.arg=J,Z?(this.method="next",this.next=Z.finallyLoc,x):this.complete(X)},complete:function(ee,J){if(ee.type==="throw")throw ee.arg;return ee.type==="break"||ee.type==="continue"?this.next=ee.arg:ee.type==="return"?(this.rval=this.arg=ee.arg,this.method="return",this.next="end"):ee.type==="normal"&&J&&(this.next=J),x},finish:function(ee){for(var J=this.tryEntries.length-1;J>=0;--J){var Q=this.tryEntries[J];if(Q.finallyLoc===ee)return this.complete(Q.completion,Q.afterLoc),H(Q),x}},catch:function(ee){for(var J=this.tryEntries.length-1;J>=0;--J){var Q=this.tryEntries[J];if(Q.tryLoc===ee){var re=Q.completion;if(re.type==="throw"){var Z=re.arg;H(Q)}return Z}}throw new Error("illegal catch attempt")},delegateYield:function(ee,J,Q){return this.delegate={iterator:B(ee),resultName:J,nextLoc:Q},this.method==="next"&&(this.arg=u),x}},a}(typeof g=="object"?g.exports:{});try{regeneratorRuntime=c}catch(a){typeof globalThis=="object"?globalThis.regeneratorRuntime=c:Function("r","regeneratorRuntime = r")(c)}},{}],396:[function(e,g,v){var c=e("buffer"),a=c.Buffer;function o(u,i){for(var r in u)i[r]=u[r]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?g.exports=c:(o(c,v),v.Buffer=l);function l(u,i,r){return a(u,i,r)}o(a,l),l.from=function(u,i,r){if(typeof u=="number")throw new TypeError("Argument must not be a number");return a(u,i,r)},l.alloc=function(u,i,r){if(typeof u!="number")throw new TypeError("Argument must be a number");var t=a(u);return i!==void 0?typeof r=="string"?t.fill(i,r):t.fill(i):t.fill(0),t},l.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return a(u)},l.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return c.SlowBuffer(u)}},{buffer:90}],397:[function(e,g,v){(function(c){(function(){(function(a){a.parser=function(G,I){return new l(G,I)},a.SAXParser=l,a.SAXStream=d,a.createStream=s,a.MAX_BUFFER_LENGTH=64*1024;var o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];a.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function l(G,I){if(!(this instanceof l))return new l(G,I);var q=this;i(q),q.q=q.c="",q.bufferCheckPosition=a.MAX_BUFFER_LENGTH,q.opt=I||{},q.opt.lowercase=q.opt.lowercase||q.opt.lowercasetags,q.looseCase=q.opt.lowercase?"toLowerCase":"toUpperCase",q.tags=[],q.closed=q.closedRoot=q.sawRoot=!1,q.tag=q.error=null,q.strict=!!G,q.noscript=!!(G||q.opt.noscript),q.state=P.BEGIN,q.strictEntities=q.opt.strictEntities,q.ENTITIES=q.strictEntities?Object.create(a.XML_ENTITIES):Object.create(a.ENTITIES),q.attribList=[],q.opt.xmlns&&(q.ns=Object.create(b)),q.trackPosition=q.opt.position!==!1,q.trackPosition&&(q.position=q.line=q.column=0),O(q,"onready")}Object.create||(Object.create=function(G){function I(){}I.prototype=G;var q=new I;return q}),Object.keys||(Object.keys=function(G){var I=[];for(var q in G)G.hasOwnProperty(q)&&I.push(q);return I});function u(G){for(var I=Math.max(a.MAX_BUFFER_LENGTH,10),q=0,F=0,Y=o.length;F<Y;F++){var ue=G[o[F]].length;if(ue>I)switch(o[F]){case"textNode":H(G);break;case"cdata":N(G,"oncdata",G.cdata),G.cdata="";break;case"script":N(G,"onscript",G.script),G.script="";break;default:B(G,"Max buffer length exceeded: "+o[F])}q=Math.max(q,ue)}var ce=a.MAX_BUFFER_LENGTH-q;G.bufferCheckPosition=ce+G.position}function i(G){for(var I=0,q=o.length;I<q;I++)G[o[I]]=""}function r(G){H(G),G.cdata!==""&&(N(G,"oncdata",G.cdata),G.cdata=""),G.script!==""&&(N(G,"onscript",G.script),G.script="")}l.prototype={end:function(){te(this)},write:pe,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){r(this)}};var t;try{t=e("stream").Stream}catch(G){t=function(){}}var n=a.EVENTS.filter(function(G){return G!=="error"&&G!=="end"});function s(G,I){return new d(G,I)}function d(G,I){if(!(this instanceof d))return new d(G,I);t.apply(this),this._parser=new l(G,I),this.writable=!0,this.readable=!0;var q=this;this._parser.onend=function(){q.emit("end")},this._parser.onerror=function(F){q.emit("error",F),q._parser.error=null},this._decoder=null,n.forEach(function(F){Object.defineProperty(q,"on"+F,{get:function(){return q._parser["on"+F]},set:function(Y){if(!Y)return q.removeAllListeners(F),q._parser["on"+F]=Y,Y;q.on(F,Y)},enumerable:!0,configurable:!1})})}d.prototype=Object.create(t.prototype,{constructor:{value:d}}),d.prototype.write=function(G){if(typeof c=="function"&&typeof c.isBuffer=="function"&&c.isBuffer(G)){if(!this._decoder){var I=e("string_decoder").StringDecoder;this._decoder=new I("utf8")}G=this._decoder.write(G)}return this._parser.write(G.toString()),this.emit("data",G),!0},d.prototype.end=function(G){return G&&G.length&&this.write(G),this._parser.end(),!0},d.prototype.on=function(G,I){var q=this;return!q._parser["on"+G]&&n.indexOf(G)!==-1&&(q._parser["on"+G]=function(){var F=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);F.splice(0,0,G),q.emit.apply(q,F)}),t.prototype.on.call(q,G,I)};var m="[CDATA[",h="DOCTYPE",y="http://www.w3.org/XML/1998/namespace",p="http://www.w3.org/2000/xmlns/",b={xml:y,xmlns:p},x=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,S=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,w=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,_=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function C(G){return G===" "||G===`
`||G==="\r"||G===" "}function E(G){return G==='"'||G==="'"}function T(G){return G===">"||C(G)}function R(G,I){return G.test(I)}function k(G,I){return!R(G,I)}var P=0;a.STATE={BEGIN:P++,BEGIN_WHITESPACE:P++,TEXT:P++,TEXT_ENTITY:P++,OPEN_WAKA:P++,SGML_DECL:P++,SGML_DECL_QUOTED:P++,DOCTYPE:P++,DOCTYPE_QUOTED:P++,DOCTYPE_DTD:P++,DOCTYPE_DTD_QUOTED:P++,COMMENT_STARTING:P++,COMMENT:P++,COMMENT_ENDING:P++,COMMENT_ENDED:P++,CDATA:P++,CDATA_ENDING:P++,CDATA_ENDING_2:P++,PROC_INST:P++,PROC_INST_BODY:P++,PROC_INST_ENDING:P++,OPEN_TAG:P++,OPEN_TAG_SLASH:P++,ATTRIB:P++,ATTRIB_NAME:P++,ATTRIB_NAME_SAW_WHITE:P++,ATTRIB_VALUE:P++,ATTRIB_VALUE_QUOTED:P++,ATTRIB_VALUE_CLOSED:P++,ATTRIB_VALUE_UNQUOTED:P++,ATTRIB_VALUE_ENTITY_Q:P++,ATTRIB_VALUE_ENTITY_U:P++,CLOSE_TAG:P++,CLOSE_TAG_SAW_WHITE:P++,SCRIPT:P++,SCRIPT_ENDING:P++},a.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},a.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(a.ENTITIES).forEach(function(G){var I=a.ENTITIES[G],q=typeof I=="number"?String.fromCharCode(I):I;a.ENTITIES[G]=q});for(var L in a.STATE)a.STATE[a.STATE[L]]=L;P=a.STATE;function O(G,I,q){G[I]&&G[I](q)}function N(G,I,q){G.textNode&&H(G),O(G,I,q)}function H(G){G.textNode=V(G.opt,G.textNode),G.textNode&&O(G,"ontext",G.textNode),G.textNode=""}function V(G,I){return G.trim&&(I=I.trim()),G.normalize&&(I=I.replace(/\s+/g," ")),I}function B(G,I){return H(G),G.trackPosition&&(I+=`
Line: `+G.line+`
Column: `+G.column+`
Char: `+G.c),I=new Error(I),G.error=I,O(G,"onerror",I),G}function te(G){return G.sawRoot&&!G.closedRoot&&ee(G,"Unclosed root tag"),G.state!==P.BEGIN&&G.state!==P.BEGIN_WHITESPACE&&G.state!==P.TEXT&&B(G,"Unexpected end"),H(G),G.c="",G.closed=!0,O(G,"onend"),l.call(G,G.strict,G.opt),G}function ee(G,I){if(typeof G!="object"||!(G instanceof l))throw new Error("bad call to strictFail");G.strict&&B(G,I)}function J(G){G.strict||(G.tagName=G.tagName[G.looseCase]());var I=G.tags[G.tags.length-1]||G,q=G.tag={name:G.tagName,attributes:{}};G.opt.xmlns&&(q.ns=I.ns),G.attribList.length=0,N(G,"onopentagstart",q)}function Q(G,I){var q=G.indexOf(":"),F=q<0?["",G]:G.split(":"),Y=F[0],ue=F[1];return I&&G==="xmlns"&&(Y="xmlns",ue=""),{prefix:Y,local:ue}}function re(G){if(G.strict||(G.attribName=G.attribName[G.looseCase]()),G.attribList.indexOf(G.attribName)!==-1||G.tag.attributes.hasOwnProperty(G.attribName)){G.attribName=G.attribValue="";return}if(G.opt.xmlns){var I=Q(G.attribName,!0),q=I.prefix,F=I.local;if(q==="xmlns")if(F==="xml"&&G.attribValue!==y)ee(G,"xml: prefix must be bound to "+y+`
Actual: `+G.attribValue);else if(F==="xmlns"&&G.attribValue!==p)ee(G,"xmlns: prefix must be bound to "+p+`
Actual: `+G.attribValue);else{var Y=G.tag,ue=G.tags[G.tags.length-1]||G;Y.ns===ue.ns&&(Y.ns=Object.create(ue.ns)),Y.ns[F]=G.attribValue}G.attribList.push([G.attribName,G.attribValue])}else G.tag.attributes[G.attribName]=G.attribValue,N(G,"onattribute",{name:G.attribName,value:G.attribValue});G.attribName=G.attribValue=""}function Z(G,I){if(G.opt.xmlns){var q=G.tag,F=Q(G.tagName);q.prefix=F.prefix,q.local=F.local,q.uri=q.ns[F.prefix]||"",q.prefix&&!q.uri&&(ee(G,"Unbound namespace prefix: "+JSON.stringify(G.tagName)),q.uri=F.prefix);var Y=G.tags[G.tags.length-1]||G;q.ns&&Y.ns!==q.ns&&Object.keys(q.ns).forEach(function(le){N(G,"onopennamespace",{prefix:le,uri:q.ns[le]})});for(var ue=0,ce=G.attribList.length;ue<ce;ue++){var ne=G.attribList[ue],U=ne[0],M=ne[1],W=Q(U,!0),K=W.prefix,oe=W.local,he=K===""?"":q.ns[K]||"",ae={name:U,value:M,prefix:K,local:oe,uri:he};K&&K!=="xmlns"&&!he&&(ee(G,"Unbound namespace prefix: "+JSON.stringify(K)),ae.uri=K),G.tag.attributes[U]=ae,N(G,"onattribute",ae)}G.attribList.length=0}G.tag.isSelfClosing=!!I,G.sawRoot=!0,G.tags.push(G.tag),N(G,"onopentag",G.tag),I||(!G.noscript&&G.tagName.toLowerCase()==="script"?G.state=P.SCRIPT:G.state=P.TEXT,G.tag=null,G.tagName=""),G.attribName=G.attribValue="",G.attribList.length=0}function X(G){if(!G.tagName){ee(G,"Weird empty close tag."),G.textNode+="</>",G.state=P.TEXT;return}if(G.script){if(G.tagName!=="script"){G.script+="</"+G.tagName+">",G.tagName="",G.state=P.SCRIPT;return}N(G,"onscript",G.script),G.script=""}var I=G.tags.length,q=G.tagName;G.strict||(q=q[G.looseCase]());for(var F=q;I--;){var Y=G.tags[I];if(Y.name!==F)ee(G,"Unexpected close tag");else break}if(I<0){ee(G,"Unmatched closing tag: "+G.tagName),G.textNode+="</"+G.tagName+">",G.state=P.TEXT;return}G.tagName=q;for(var ue=G.tags.length;ue-- >I;){var ce=G.tag=G.tags.pop();G.tagName=G.tag.name,N(G,"onclosetag",G.tagName);var ne={};for(var U in ce.ns)ne[U]=ce.ns[U];var M=G.tags[G.tags.length-1]||G;G.opt.xmlns&&ce.ns!==M.ns&&Object.keys(ce.ns).forEach(function(W){var K=ce.ns[W];N(G,"onclosenamespace",{prefix:W,uri:K})})}I===0&&(G.closedRoot=!0),G.tagName=G.attribValue=G.attribName="",G.attribList.length=0,G.state=P.TEXT}function $(G){var I=G.entity,q=I.toLowerCase(),F,Y="";return G.ENTITIES[I]?G.ENTITIES[I]:G.ENTITIES[q]?G.ENTITIES[q]:(I=q,I.charAt(0)==="#"&&(I.charAt(1)==="x"?(I=I.slice(2),F=parseInt(I,16),Y=F.toString(16)):(I=I.slice(1),F=parseInt(I,10),Y=F.toString(10))),I=I.replace(/^0+/,""),isNaN(F)||Y.toLowerCase()!==I?(ee(G,"Invalid character entity"),"&"+G.entity+";"):String.fromCodePoint(F))}function ie(G,I){I==="<"?(G.state=P.OPEN_WAKA,G.startTagPosition=G.position):C(I)||(ee(G,"Non-whitespace before first tag."),G.textNode=I,G.state=P.TEXT)}function de(G,I){var q="";return I<G.length&&(q=G.charAt(I)),q}function pe(G){var I=this;if(this.error)throw this.error;if(I.closed)return B(I,"Cannot write after close. Assign an onready handler.");if(G===null)return te(I);typeof G=="object"&&(G=G.toString());for(var q=0,F="";F=de(G,q++),I.c=F,!!F;)switch(I.trackPosition&&(I.position++,F===`
`?(I.line++,I.column=0):I.column++),I.state){case P.BEGIN:if(I.state=P.BEGIN_WHITESPACE,F==="\uFEFF")continue;ie(I,F);continue;case P.BEGIN_WHITESPACE:ie(I,F);continue;case P.TEXT:if(I.sawRoot&&!I.closedRoot){for(var Y=q-1;F&&F!=="<"&&F!=="&";)F=de(G,q++),F&&I.trackPosition&&(I.position++,F===`
`?(I.line++,I.column=0):I.column++);I.textNode+=G.substring(Y,q-1)}F==="<"&&!(I.sawRoot&&I.closedRoot&&!I.strict)?(I.state=P.OPEN_WAKA,I.startTagPosition=I.position):(!C(F)&&(!I.sawRoot||I.closedRoot)&&ee(I,"Text data outside of root node."),F==="&"?I.state=P.TEXT_ENTITY:I.textNode+=F);continue;case P.SCRIPT:F==="<"?I.state=P.SCRIPT_ENDING:I.script+=F;continue;case P.SCRIPT_ENDING:F==="/"?I.state=P.CLOSE_TAG:(I.script+="<"+F,I.state=P.SCRIPT);continue;case P.OPEN_WAKA:if(F==="!")I.state=P.SGML_DECL,I.sgmlDecl="";else if(!C(F))if(R(x,F))I.state=P.OPEN_TAG,I.tagName=F;else if(F==="/")I.state=P.CLOSE_TAG,I.tagName="";else if(F==="?")I.state=P.PROC_INST,I.procInstName=I.procInstBody="";else{if(ee(I,"Unencoded <"),I.startTagPosition+1<I.position){var ue=I.position-I.startTagPosition;F=new Array(ue).join(" ")+F}I.textNode+="<"+F,I.state=P.TEXT}continue;case P.SGML_DECL:(I.sgmlDecl+F).toUpperCase()===m?(N(I,"onopencdata"),I.state=P.CDATA,I.sgmlDecl="",I.cdata=""):I.sgmlDecl+F==="--"?(I.state=P.COMMENT,I.comment="",I.sgmlDecl=""):(I.sgmlDecl+F).toUpperCase()===h?(I.state=P.DOCTYPE,(I.doctype||I.sawRoot)&&ee(I,"Inappropriately located doctype declaration"),I.doctype="",I.sgmlDecl=""):F===">"?(N(I,"onsgmldeclaration",I.sgmlDecl),I.sgmlDecl="",I.state=P.TEXT):(E(F)&&(I.state=P.SGML_DECL_QUOTED),I.sgmlDecl+=F);continue;case P.SGML_DECL_QUOTED:F===I.q&&(I.state=P.SGML_DECL,I.q=""),I.sgmlDecl+=F;continue;case P.DOCTYPE:F===">"?(I.state=P.TEXT,N(I,"ondoctype",I.doctype),I.doctype=!0):(I.doctype+=F,F==="["?I.state=P.DOCTYPE_DTD:E(F)&&(I.state=P.DOCTYPE_QUOTED,I.q=F));continue;case P.DOCTYPE_QUOTED:I.doctype+=F,F===I.q&&(I.q="",I.state=P.DOCTYPE);continue;case P.DOCTYPE_DTD:I.doctype+=F,F==="]"?I.state=P.DOCTYPE:E(F)&&(I.state=P.DOCTYPE_DTD_QUOTED,I.q=F);continue;case P.DOCTYPE_DTD_QUOTED:I.doctype+=F,F===I.q&&(I.state=P.DOCTYPE_DTD,I.q="");continue;case P.COMMENT:F==="-"?I.state=P.COMMENT_ENDING:I.comment+=F;continue;case P.COMMENT_ENDING:F==="-"?(I.state=P.COMMENT_ENDED,I.comment=V(I.opt,I.comment),I.comment&&N(I,"oncomment",I.comment),I.comment=""):(I.comment+="-"+F,I.state=P.COMMENT);continue;case P.COMMENT_ENDED:F!==">"?(ee(I,"Malformed comment"),I.comment+="--"+F,I.state=P.COMMENT):I.state=P.TEXT;continue;case P.CDATA:F==="]"?I.state=P.CDATA_ENDING:I.cdata+=F;continue;case P.CDATA_ENDING:F==="]"?I.state=P.CDATA_ENDING_2:(I.cdata+="]"+F,I.state=P.CDATA);continue;case P.CDATA_ENDING_2:F===">"?(I.cdata&&N(I,"oncdata",I.cdata),N(I,"onclosecdata"),I.cdata="",I.state=P.TEXT):F==="]"?I.cdata+="]":(I.cdata+="]]"+F,I.state=P.CDATA);continue;case P.PROC_INST:F==="?"?I.state=P.PROC_INST_ENDING:C(F)?I.state=P.PROC_INST_BODY:I.procInstName+=F;continue;case P.PROC_INST_BODY:if(!I.procInstBody&&C(F))continue;F==="?"?I.state=P.PROC_INST_ENDING:I.procInstBody+=F;continue;case P.PROC_INST_ENDING:F===">"?(N(I,"onprocessinginstruction",{name:I.procInstName,body:I.procInstBody}),I.procInstName=I.procInstBody="",I.state=P.TEXT):(I.procInstBody+="?"+F,I.state=P.PROC_INST_BODY);continue;case P.OPEN_TAG:R(S,F)?I.tagName+=F:(J(I),F===">"?Z(I):F==="/"?I.state=P.OPEN_TAG_SLASH:(C(F)||ee(I,"Invalid character in tag name"),I.state=P.ATTRIB));continue;case P.OPEN_TAG_SLASH:F===">"?(Z(I,!0),X(I)):(ee(I,"Forward-slash in opening tag not followed by >"),I.state=P.ATTRIB);continue;case P.ATTRIB:if(C(F))continue;F===">"?Z(I):F==="/"?I.state=P.OPEN_TAG_SLASH:R(x,F)?(I.attribName=F,I.attribValue="",I.state=P.ATTRIB_NAME):ee(I,"Invalid attribute name");continue;case P.ATTRIB_NAME:F==="="?I.state=P.ATTRIB_VALUE:F===">"?(ee(I,"Attribute without value"),I.attribValue=I.attribName,re(I),Z(I)):C(F)?I.state=P.ATTRIB_NAME_SAW_WHITE:R(S,F)?I.attribName+=F:ee(I,"Invalid attribute name");continue;case P.ATTRIB_NAME_SAW_WHITE:if(F==="=")I.state=P.ATTRIB_VALUE;else{if(C(F))continue;ee(I,"Attribute without value"),I.tag.attributes[I.attribName]="",I.attribValue="",N(I,"onattribute",{name:I.attribName,value:""}),I.attribName="",F===">"?Z(I):R(x,F)?(I.attribName=F,I.state=P.ATTRIB_NAME):(ee(I,"Invalid attribute name"),I.state=P.ATTRIB)}continue;case P.ATTRIB_VALUE:if(C(F))continue;E(F)?(I.q=F,I.state=P.ATTRIB_VALUE_QUOTED):(ee(I,"Unquoted attribute value"),I.state=P.ATTRIB_VALUE_UNQUOTED,I.attribValue=F);continue;case P.ATTRIB_VALUE_QUOTED:if(F!==I.q){F==="&"?I.state=P.ATTRIB_VALUE_ENTITY_Q:I.attribValue+=F;continue}re(I),I.q="",I.state=P.ATTRIB_VALUE_CLOSED;continue;case P.ATTRIB_VALUE_CLOSED:C(F)?I.state=P.ATTRIB:F===">"?Z(I):F==="/"?I.state=P.OPEN_TAG_SLASH:R(x,F)?(ee(I,"No whitespace between attributes"),I.attribName=F,I.attribValue="",I.state=P.ATTRIB_NAME):ee(I,"Invalid attribute name");continue;case P.ATTRIB_VALUE_UNQUOTED:if(!T(F)){F==="&"?I.state=P.ATTRIB_VALUE_ENTITY_U:I.attribValue+=F;continue}re(I),F===">"?Z(I):I.state=P.ATTRIB;continue;case P.CLOSE_TAG:if(I.tagName)F===">"?X(I):R(S,F)?I.tagName+=F:I.script?(I.script+="</"+I.tagName,I.tagName="",I.state=P.SCRIPT):(C(F)||ee(I,"Invalid tagname in closing tag"),I.state=P.CLOSE_TAG_SAW_WHITE);else{if(C(F))continue;k(x,F)?I.script?(I.script+="</"+F,I.state=P.SCRIPT):ee(I,"Invalid tagname in closing tag."):I.tagName=F}continue;case P.CLOSE_TAG_SAW_WHITE:if(C(F))continue;F===">"?X(I):ee(I,"Invalid characters in closing tag");continue;case P.TEXT_ENTITY:case P.ATTRIB_VALUE_ENTITY_Q:case P.ATTRIB_VALUE_ENTITY_U:var ce,ne;switch(I.state){case P.TEXT_ENTITY:ce=P.TEXT,ne="textNode";break;case P.ATTRIB_VALUE_ENTITY_Q:ce=P.ATTRIB_VALUE_QUOTED,ne="attribValue";break;case P.ATTRIB_VALUE_ENTITY_U:ce=P.ATTRIB_VALUE_UNQUOTED,ne="attribValue";break}F===";"?(I[ne]+=$(I),I.entity="",I.state=ce):R(I.entity.length?_:w,F)?I.entity+=F:(ee(I,"Invalid character in entity name"),I[ne]+="&"+I.entity+F,I.entity="",I.state=ce);continue;default:throw new Error(I,"Unknown state: "+I.state)}return I.position>=I.bufferCheckPosition&&u(I),I}String.fromCodePoint||function(){var G=String.fromCharCode,I=Math.floor,q=function(){var F=16384,Y=[],ue,ce,ne=-1,U=arguments.length;if(!U)return"";for(var M="";++ne<U;){var W=Number(arguments[ne]);if(!isFinite(W)||W<0||W>1114111||I(W)!==W)throw RangeError("Invalid code point: "+W);W<=65535?Y.push(W):(W-=65536,ue=(W>>10)+55296,ce=W%1024+56320,Y.push(ue,ce)),(ne+1===U||Y.length>F)&&(M+=G.apply(null,Y),Y.length=0)}return M};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:q,configurable:!0,writable:!0}):String.fromCodePoint=q}()})(typeof v=="undefined"?this.sax={}:v)}).call(this)}).call(this,e("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(e,g,v){g.exports=o;var c=e("events").EventEmitter,a=e("inherits");a(o,c),o.Readable=e("readable-stream/lib/_stream_readable.js"),o.Writable=e("readable-stream/lib/_stream_writable.js"),o.Duplex=e("readable-stream/lib/_stream_duplex.js"),o.Transform=e("readable-stream/lib/_stream_transform.js"),o.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),o.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),o.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),o.Stream=o;function o(){c.call(this)}o.prototype.pipe=function(l,u){var i=this;function r(y){l.writable&&l.write(y)===!1&&i.pause&&i.pause()}i.on("data",r);function t(){i.readable&&i.resume&&i.resume()}l.on("drain",t),!l._isStdio&&(!u||u.end!==!1)&&(i.on("end",s),i.on("close",d));var n=!1;function s(){n||(n=!0,l.end())}function d(){n||(n=!0,typeof l.destroy=="function"&&l.destroy())}function m(y){if(h(),c.listenerCount(this,"error")===0)throw y}i.on("error",m),l.on("error",m);function h(){i.removeListener("data",r),l.removeListener("drain",t),i.removeListener("end",s),i.removeListener("close",d),i.removeListener("error",m),l.removeListener("error",m),i.removeListener("end",h),i.removeListener("close",h),l.removeListener("close",h)}return i.on("end",h),i.on("close",h),l.on("close",h),l.emit("pipe",i),l}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(e,g,v){"use strict";function c(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var a={};function o(t,n,s){s||(s=Error);function d(h,y,p){return typeof n=="string"?n:n(h,y,p)}var m=function(h){c(y,h);function y(p,b,x){return h.call(this,d(p,b,x))||this}return y}(s);m.prototype.name=s.name,m.prototype.code=t,a[t]=m}function l(t,n){if(Array.isArray(t)){var s=t.length;return t=t.map(function(d){return String(d)}),s>2?"one of ".concat(n," ").concat(t.slice(0,s-1).join(", "),", or ")+t[s-1]:s===2?"one of ".concat(n," ").concat(t[0]," or ").concat(t[1]):"of ".concat(n," ").concat(t[0])}else return"of ".concat(n," ").concat(String(t))}function u(t,n,s){return t.substr(!s||s<0?0:+s,n.length)===n}function i(t,n,s){return(s===void 0||s>t.length)&&(s=t.length),t.substring(s-n.length,s)===n}function r(t,n,s){return typeof s!="number"&&(s=0),s+n.length>t.length?!1:t.indexOf(n,s)!==-1}o("ERR_INVALID_OPT_VALUE",function(t,n){return'The value "'+n+'" is invalid for option "'+t+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(t,n,s){var d;typeof n=="string"&&u(n,"not ")?(d="must not be",n=n.replace(/^not /,"")):d="must be";var m;if(i(t," argument"))m="The ".concat(t," ").concat(d," ").concat(l(n,"type"));else{var h=r(t,".")?"property":"argument";m='The "'.concat(t,'" ').concat(h," ").concat(d," ").concat(l(n,"type"))}return m+=". Received type ".concat(typeof s),m},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),g.exports.codes=a},{}],400:[function(e,g,v){(function(c){(function(){"use strict";var a=Object.keys||function(d){var m=[];for(var h in d)m.push(h);return m};g.exports=t;var o=e("./_stream_readable"),l=e("./_stream_writable");e("inherits")(t,o);for(var u=a(l.prototype),i=0;i<u.length;i++){var r=u[i];t.prototype[r]||(t.prototype[r]=l.prototype[r])}function t(d){if(!(this instanceof t))return new t(d);o.call(this,d),l.call(this,d),this.allowHalfOpen=!0,d&&(d.readable===!1&&(this.readable=!1),d.writable===!1&&(this.writable=!1),d.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",n)))}Object.defineProperty(t.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(t.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(t.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function n(){this._writableState.ended||c.nextTick(s,this)}function s(d){d.end()}Object.defineProperty(t.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(m){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=m,this._writableState.destroyed=m)}})}).call(this)}).call(this,e("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(e,g,v){"use strict";g.exports=a;var c=e("./_stream_transform");e("inherits")(a,c);function a(o){if(!(this instanceof a))return new a(o);c.call(this,o)}a.prototype._transform=function(o,l,u){u(null,o)}},{"./_stream_transform":403,inherits:364}],402:[function(e,g,v){(function(c,a){(function(){"use strict";g.exports=N;var o;N.ReadableState=O;var l=e("events").EventEmitter,u=function(U,M){return U.listeners(M).length},i=e("./internal/streams/stream"),r=e("buffer").Buffer,t=(typeof a!="undefined"?a:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function n(ne){return r.from(ne)}function s(ne){return r.isBuffer(ne)||ne instanceof t}var d=e("util"),m;d&&d.debuglog?m=d.debuglog("stream"):m=function(){};var h=e("./internal/streams/buffer_list"),y=e("./internal/streams/destroy"),p=e("./internal/streams/state"),b=p.getHighWaterMark,x=e("../errors").codes,S=x.ERR_INVALID_ARG_TYPE,w=x.ERR_STREAM_PUSH_AFTER_EOF,_=x.ERR_METHOD_NOT_IMPLEMENTED,C=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,E,T,R;e("inherits")(N,i);var k=y.errorOrDestroy,P=["error","close","destroy","pause","resume"];function L(ne,U,M){if(typeof ne.prependListener=="function")return ne.prependListener(U,M);!ne._events||!ne._events[U]?ne.on(U,M):Array.isArray(ne._events[U])?ne._events[U].unshift(M):ne._events[U]=[M,ne._events[U]]}function O(ne,U,M){o=o||e("./_stream_duplex"),ne=ne||{},typeof M!="boolean"&&(M=U instanceof o),this.objectMode=!!ne.objectMode,M&&(this.objectMode=this.objectMode||!!ne.readableObjectMode),this.highWaterMark=b(this,ne,"readableHighWaterMark",M),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=ne.emitClose!==!1,this.autoDestroy=!!ne.autoDestroy,this.destroyed=!1,this.defaultEncoding=ne.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ne.encoding&&(E||(E=e("string_decoder/").StringDecoder),this.decoder=new E(ne.encoding),this.encoding=ne.encoding)}function N(ne){if(o=o||e("./_stream_duplex"),!(this instanceof N))return new N(ne);var U=this instanceof o;this._readableState=new O(ne,this,U),this.readable=!0,ne&&(typeof ne.read=="function"&&(this._read=ne.read),typeof ne.destroy=="function"&&(this._destroy=ne.destroy)),i.call(this)}Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(U){this._readableState&&(this._readableState.destroyed=U)}}),N.prototype.destroy=y.destroy,N.prototype._undestroy=y.undestroy,N.prototype._destroy=function(ne,U){U(ne)},N.prototype.push=function(ne,U){var M=this._readableState,W;return M.objectMode?W=!0:typeof ne=="string"&&(U=U||M.defaultEncoding,U!==M.encoding&&(ne=r.from(ne,U),U=""),W=!0),H(this,ne,U,!1,W)},N.prototype.unshift=function(ne){return H(this,ne,null,!0,!1)};function H(ne,U,M,W,K){m("readableAddChunk",U);var oe=ne._readableState;if(U===null)oe.reading=!1,Q(ne,oe);else{var he;if(K||(he=B(oe,U)),he)k(ne,he);else if(oe.objectMode||U&&U.length>0)if(typeof U!="string"&&!oe.objectMode&&Object.getPrototypeOf(U)!==r.prototype&&(U=n(U)),W)oe.endEmitted?k(ne,new C):V(ne,oe,U,!0);else if(oe.ended)k(ne,new w);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!M?(U=oe.decoder.write(U),oe.objectMode||U.length!==0?V(ne,oe,U,!1):X(ne,oe)):V(ne,oe,U,!1)}else W||(oe.reading=!1,X(ne,oe))}return!oe.ended&&(oe.length<oe.highWaterMark||oe.length===0)}function V(ne,U,M,W){U.flowing&&U.length===0&&!U.sync?(U.awaitDrain=0,ne.emit("data",M)):(U.length+=U.objectMode?1:M.length,W?U.buffer.unshift(M):U.buffer.push(M),U.needReadable&&re(ne)),X(ne,U)}function B(ne,U){var M;return!s(U)&&typeof U!="string"&&U!==void 0&&!ne.objectMode&&(M=new S("chunk",["string","Buffer","Uint8Array"],U)),M}N.prototype.isPaused=function(){return this._readableState.flowing===!1},N.prototype.setEncoding=function(ne){E||(E=e("string_decoder/").StringDecoder);var U=new E(ne);this._readableState.decoder=U,this._readableState.encoding=this._readableState.decoder.encoding;for(var M=this._readableState.buffer.head,W="";M!==null;)W+=U.write(M.data),M=M.next;return this._readableState.buffer.clear(),W!==""&&this._readableState.buffer.push(W),this._readableState.length=W.length,this};var te=1073741824;function ee(ne){return ne>=te?ne=te:(ne--,ne|=ne>>>1,ne|=ne>>>2,ne|=ne>>>4,ne|=ne>>>8,ne|=ne>>>16,ne++),ne}function J(ne,U){return ne<=0||U.length===0&&U.ended?0:U.objectMode?1:ne!==ne?U.flowing&&U.length?U.buffer.head.data.length:U.length:(ne>U.highWaterMark&&(U.highWaterMark=ee(ne)),ne<=U.length?ne:U.ended?U.length:(U.needReadable=!0,0))}N.prototype.read=function(ne){m("read",ne),ne=parseInt(ne,10);var U=this._readableState,M=ne;if(ne!==0&&(U.emittedReadable=!1),ne===0&&U.needReadable&&((U.highWaterMark!==0?U.length>=U.highWaterMark:U.length>0)||U.ended))return m("read: emitReadable",U.length,U.ended),U.length===0&&U.ended?Y(this):re(this),null;if(ne=J(ne,U),ne===0&&U.ended)return U.length===0&&Y(this),null;var W=U.needReadable;m("need readable",W),(U.length===0||U.length-ne<U.highWaterMark)&&(W=!0,m("length less than watermark",W)),U.ended||U.reading?(W=!1,m("reading or ended",W)):W&&(m("do read"),U.reading=!0,U.sync=!0,U.length===0&&(U.needReadable=!0),this._read(U.highWaterMark),U.sync=!1,U.reading||(ne=J(M,U)));var K;return ne>0?K=F(ne,U):K=null,K===null?(U.needReadable=U.length<=U.highWaterMark,ne=0):(U.length-=ne,U.awaitDrain=0),U.length===0&&(U.ended||(U.needReadable=!0),M!==ne&&U.ended&&Y(this)),K!==null&&this.emit("data",K),K};function Q(ne,U){if(m("onEofChunk"),!U.ended){if(U.decoder){var M=U.decoder.end();M&&M.length&&(U.buffer.push(M),U.length+=U.objectMode?1:M.length)}U.ended=!0,U.sync?re(ne):(U.needReadable=!1,U.emittedReadable||(U.emittedReadable=!0,Z(ne)))}}function re(ne){var U=ne._readableState;m("emitReadable",U.needReadable,U.emittedReadable),U.needReadable=!1,U.emittedReadable||(m("emitReadable",U.flowing),U.emittedReadable=!0,c.nextTick(Z,ne))}function Z(ne){var U=ne._readableState;m("emitReadable_",U.destroyed,U.length,U.ended),!U.destroyed&&(U.length||U.ended)&&(ne.emit("readable"),U.emittedReadable=!1),U.needReadable=!U.flowing&&!U.ended&&U.length<=U.highWaterMark,q(ne)}function X(ne,U){U.readingMore||(U.readingMore=!0,c.nextTick($,ne,U))}function $(ne,U){for(;!U.reading&&!U.ended&&(U.length<U.highWaterMark||U.flowing&&U.length===0);){var M=U.length;if(m("maybeReadMore read 0"),ne.read(0),M===U.length)break}U.readingMore=!1}N.prototype._read=function(ne){k(this,new _("_read()"))},N.prototype.pipe=function(ne,U){var M=this,W=this._readableState;switch(W.pipesCount){case 0:W.pipes=ne;break;case 1:W.pipes=[W.pipes,ne];break;default:W.pipes.push(ne);break}W.pipesCount+=1,m("pipe count=%d opts=%j",W.pipesCount,U);var K=(!U||U.end!==!1)&&ne!==c.stdout&&ne!==c.stderr,oe=K?ae:fe;W.endEmitted?c.nextTick(oe):M.once("end",oe),ne.on("unpipe",he);function he(me,Ee){m("onunpipe"),me===M&&Ee&&Ee.hasUnpiped===!1&&(Ee.hasUnpiped=!0,ge())}function ae(){m("onend"),ne.end()}var le=ie(M);ne.on("drain",le);var Se=!1;function ge(){m("cleanup"),ne.removeListener("close",Te),ne.removeListener("finish",se),ne.removeListener("drain",le),ne.removeListener("error",ye),ne.removeListener("unpipe",he),M.removeListener("end",ae),M.removeListener("end",fe),M.removeListener("data",xe),Se=!0,W.awaitDrain&&(!ne._writableState||ne._writableState.needDrain)&&le()}M.on("data",xe);function xe(me){m("ondata");var Ee=ne.write(me);m("dest.write",Ee),Ee===!1&&((W.pipesCount===1&&W.pipes===ne||W.pipesCount>1&&ce(W.pipes,ne)!==-1)&&!Se&&(m("false write response, pause",W.awaitDrain),W.awaitDrain++),M.pause())}function ye(me){m("onerror",me),fe(),ne.removeListener("error",ye),u(ne,"error")===0&&k(ne,me)}L(ne,"error",ye);function Te(){ne.removeListener("finish",se),fe()}ne.once("close",Te);function se(){m("onfinish"),ne.removeListener("close",Te),fe()}ne.once("finish",se);function fe(){m("unpipe"),M.unpipe(ne)}return ne.emit("pipe",M),W.flowing||(m("pipe resume"),M.resume()),ne};function ie(ne){return function(){var M=ne._readableState;m("pipeOnDrain",M.awaitDrain),M.awaitDrain&&M.awaitDrain--,M.awaitDrain===0&&u(ne,"data")&&(M.flowing=!0,q(ne))}}N.prototype.unpipe=function(ne){var U=this._readableState,M={hasUnpiped:!1};if(U.pipesCount===0)return this;if(U.pipesCount===1)return ne&&ne!==U.pipes?this:(ne||(ne=U.pipes),U.pipes=null,U.pipesCount=0,U.flowing=!1,ne&&ne.emit("unpipe",this,M),this);if(!ne){var W=U.pipes,K=U.pipesCount;U.pipes=null,U.pipesCount=0,U.flowing=!1;for(var oe=0;oe<K;oe++)W[oe].emit("unpipe",this,{hasUnpiped:!1});return this}var he=ce(U.pipes,ne);return he===-1?this:(U.pipes.splice(he,1),U.pipesCount-=1,U.pipesCount===1&&(U.pipes=U.pipes[0]),ne.emit("unpipe",this,M),this)},N.prototype.on=function(ne,U){var M=i.prototype.on.call(this,ne,U),W=this._readableState;return ne==="data"?(W.readableListening=this.listenerCount("readable")>0,W.flowing!==!1&&this.resume()):ne==="readable"&&!W.endEmitted&&!W.readableListening&&(W.readableListening=W.needReadable=!0,W.flowing=!1,W.emittedReadable=!1,m("on readable",W.length,W.reading),W.length?re(this):W.reading||c.nextTick(pe,this)),M},N.prototype.addListener=N.prototype.on,N.prototype.removeListener=function(ne,U){var M=i.prototype.removeListener.call(this,ne,U);return ne==="readable"&&c.nextTick(de,this),M},N.prototype.removeAllListeners=function(ne){var U=i.prototype.removeAllListeners.apply(this,arguments);return(ne==="readable"||ne===void 0)&&c.nextTick(de,this),U};function de(ne){var U=ne._readableState;U.readableListening=ne.listenerCount("readable")>0,U.resumeScheduled&&!U.paused?U.flowing=!0:ne.listenerCount("data")>0&&ne.resume()}function pe(ne){m("readable nexttick read 0"),ne.read(0)}N.prototype.resume=function(){var ne=this._readableState;return ne.flowing||(m("resume"),ne.flowing=!ne.readableListening,G(this,ne)),ne.paused=!1,this};function G(ne,U){U.resumeScheduled||(U.resumeScheduled=!0,c.nextTick(I,ne,U))}function I(ne,U){m("resume",U.reading),U.reading||ne.read(0),U.resumeScheduled=!1,ne.emit("resume"),q(ne),U.flowing&&!U.reading&&ne.read(0)}N.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function q(ne){var U=ne._readableState;for(m("flow",U.flowing);U.flowing&&ne.read()!==null;);}N.prototype.wrap=function(ne){var U=this,M=this._readableState,W=!1;ne.on("end",function(){if(m("wrapped end"),M.decoder&&!M.ended){var he=M.decoder.end();he&&he.length&&U.push(he)}U.push(null)}),ne.on("data",function(he){if(m("wrapped data"),M.decoder&&(he=M.decoder.write(he)),!(M.objectMode&&he==null)&&!(!M.objectMode&&(!he||!he.length))){var ae=U.push(he);ae||(W=!0,ne.pause())}});for(var K in ne)this[K]===void 0&&typeof ne[K]=="function"&&(this[K]=function(ae){return function(){return ne[ae].apply(ne,arguments)}}(K));for(var oe=0;oe<P.length;oe++)ne.on(P[oe],this.emit.bind(this,P[oe]));return this._read=function(he){m("wrapped _read",he),W&&(W=!1,ne.resume())},this},typeof Symbol=="function"&&(N.prototype[Symbol.asyncIterator]=function(){return T===void 0&&(T=e("./internal/streams/async_iterator")),T(this)}),Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(N.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(N.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(U){this._readableState&&(this._readableState.flowing=U)}}),N._fromList=F,Object.defineProperty(N.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function F(ne,U){if(U.length===0)return null;var M;return U.objectMode?M=U.buffer.shift():!ne||ne>=U.length?(U.decoder?M=U.buffer.join(""):U.buffer.length===1?M=U.buffer.first():M=U.buffer.concat(U.length),U.buffer.clear()):M=U.buffer.consume(ne,U.decoder),M}function Y(ne){var U=ne._readableState;m("endReadable",U.endEmitted),U.endEmitted||(U.ended=!0,c.nextTick(ue,U,ne))}function ue(ne,U){if(m("endReadableNT",ne.endEmitted,ne.length),!ne.endEmitted&&ne.length===0&&(ne.endEmitted=!0,U.readable=!1,U.emit("end"),ne.autoDestroy)){var M=U._writableState;(!M||M.autoDestroy&&M.finished)&&U.destroy()}}typeof Symbol=="function"&&(N.from=function(ne,U){return R===void 0&&(R=e("./internal/streams/from")),R(N,ne,U)});function ce(ne,U){for(var M=0,W=ne.length;M<W;M++)if(ne[M]===U)return M;return-1}}).call(this)}).call(this,e("_process"),typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(e,g,v){"use strict";g.exports=t;var c=e("../errors").codes,a=c.ERR_METHOD_NOT_IMPLEMENTED,o=c.ERR_MULTIPLE_CALLBACK,l=c.ERR_TRANSFORM_ALREADY_TRANSFORMING,u=c.ERR_TRANSFORM_WITH_LENGTH_0,i=e("./_stream_duplex");e("inherits")(t,i);function r(d,m){var h=this._transformState;h.transforming=!1;var y=h.writecb;if(y===null)return this.emit("error",new o);h.writechunk=null,h.writecb=null,m!=null&&this.push(m),y(d);var p=this._readableState;p.reading=!1,(p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}function t(d){if(!(this instanceof t))return new t(d);i.call(this,d),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",n)}function n(){var d=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(m,h){s(d,m,h)}):s(this,null,null)}t.prototype.push=function(d,m){return this._transformState.needTransform=!1,i.prototype.push.call(this,d,m)},t.prototype._transform=function(d,m,h){h(new a("_transform()"))},t.prototype._write=function(d,m,h){var y=this._transformState;if(y.writecb=h,y.writechunk=d,y.writeencoding=m,!y.transforming){var p=this._readableState;(y.needTransform||p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}},t.prototype._read=function(d){var m=this._transformState;m.writechunk!==null&&!m.transforming?(m.transforming=!0,this._transform(m.writechunk,m.writeencoding,m.afterTransform)):m.needTransform=!0},t.prototype._destroy=function(d,m){i.prototype._destroy.call(this,d,function(h){m(h)})};function s(d,m,h){if(m)return d.emit("error",m);if(h!=null&&d.push(h),d._writableState.length)throw new u;if(d._transformState.transforming)throw new l;return d.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(e,g,v){(function(c,a){(function(){"use strict";g.exports=O;function o(q,F,Y){this.chunk=q,this.encoding=F,this.callback=Y,this.next=null}function l(q){var F=this;this.next=null,this.entry=null,this.finish=function(){I(F,q)}}var u;O.WritableState=P;var i={deprecate:e("util-deprecate")},r=e("./internal/streams/stream"),t=e("buffer").Buffer,n=(typeof a!="undefined"?a:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function s(q){return t.from(q)}function d(q){return t.isBuffer(q)||q instanceof n}var m=e("./internal/streams/destroy"),h=e("./internal/streams/state"),y=h.getHighWaterMark,p=e("../errors").codes,b=p.ERR_INVALID_ARG_TYPE,x=p.ERR_METHOD_NOT_IMPLEMENTED,S=p.ERR_MULTIPLE_CALLBACK,w=p.ERR_STREAM_CANNOT_PIPE,_=p.ERR_STREAM_DESTROYED,C=p.ERR_STREAM_NULL_VALUES,E=p.ERR_STREAM_WRITE_AFTER_END,T=p.ERR_UNKNOWN_ENCODING,R=m.errorOrDestroy;e("inherits")(O,r);function k(){}function P(q,F,Y){u=u||e("./_stream_duplex"),q=q||{},typeof Y!="boolean"&&(Y=F instanceof u),this.objectMode=!!q.objectMode,Y&&(this.objectMode=this.objectMode||!!q.writableObjectMode),this.highWaterMark=y(this,q,"writableHighWaterMark",Y),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ue=q.decodeStrings===!1;this.decodeStrings=!ue,this.defaultEncoding=q.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){Q(F,ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=q.emitClose!==!1,this.autoDestroy=!!q.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new l(this)}P.prototype.getBuffer=function(){for(var F=this.bufferedRequest,Y=[];F;)Y.push(F),F=F.next;return Y},function(){try{Object.defineProperty(P.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(q){}}();var L;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(L=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(F){return L.call(this,F)?!0:this!==O?!1:F&&F._writableState instanceof P}})):L=function(F){return F instanceof this};function O(q){u=u||e("./_stream_duplex");var F=this instanceof u;if(!F&&!L.call(O,this))return new O(q);this._writableState=new P(q,this,F),this.writable=!0,q&&(typeof q.write=="function"&&(this._write=q.write),typeof q.writev=="function"&&(this._writev=q.writev),typeof q.destroy=="function"&&(this._destroy=q.destroy),typeof q.final=="function"&&(this._final=q.final)),r.call(this)}O.prototype.pipe=function(){R(this,new w)};function N(q,F){var Y=new E;R(q,Y),c.nextTick(F,Y)}function H(q,F,Y,ue){var ce;return Y===null?ce=new C:typeof Y!="string"&&!F.objectMode&&(ce=new b("chunk",["string","Buffer"],Y)),ce?(R(q,ce),c.nextTick(ue,ce),!1):!0}O.prototype.write=function(q,F,Y){var ue=this._writableState,ce=!1,ne=!ue.objectMode&&d(q);return ne&&!t.isBuffer(q)&&(q=s(q)),typeof F=="function"&&(Y=F,F=null),ne?F="buffer":F||(F=ue.defaultEncoding),typeof Y!="function"&&(Y=k),ue.ending?N(this,Y):(ne||H(this,ue,q,Y))&&(ue.pendingcb++,ce=B(this,ue,ne,q,F,Y)),ce},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var q=this._writableState;q.corked&&(q.corked--,!q.writing&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest&&X(this,q))},O.prototype.setDefaultEncoding=function(F){if(typeof F=="string"&&(F=F.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((F+"").toLowerCase())>-1))throw new T(F);return this._writableState.defaultEncoding=F,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function V(q,F,Y){return!q.objectMode&&q.decodeStrings!==!1&&typeof F=="string"&&(F=t.from(F,Y)),F}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function B(q,F,Y,ue,ce,ne){if(!Y){var U=V(F,ue,ce);ue!==U&&(Y=!0,ce="buffer",ue=U)}var M=F.objectMode?1:ue.length;F.length+=M;var W=F.length<F.highWaterMark;if(W||(F.needDrain=!0),F.writing||F.corked){var K=F.lastBufferedRequest;F.lastBufferedRequest={chunk:ue,encoding:ce,isBuf:Y,callback:ne,next:null},K?K.next=F.lastBufferedRequest:F.bufferedRequest=F.lastBufferedRequest,F.bufferedRequestCount+=1}else te(q,F,!1,M,ue,ce,ne);return W}function te(q,F,Y,ue,ce,ne,U){F.writelen=ue,F.writecb=U,F.writing=!0,F.sync=!0,F.destroyed?F.onwrite(new _("write")):Y?q._writev(ce,F.onwrite):q._write(ce,ne,F.onwrite),F.sync=!1}function ee(q,F,Y,ue,ce){--F.pendingcb,Y?(c.nextTick(ce,ue),c.nextTick(pe,q,F),q._writableState.errorEmitted=!0,R(q,ue)):(ce(ue),q._writableState.errorEmitted=!0,R(q,ue),pe(q,F))}function J(q){q.writing=!1,q.writecb=null,q.length-=q.writelen,q.writelen=0}function Q(q,F){var Y=q._writableState,ue=Y.sync,ce=Y.writecb;if(typeof ce!="function")throw new S;if(J(Y),F)ee(q,Y,ue,F,ce);else{var ne=$(Y)||q.destroyed;!ne&&!Y.corked&&!Y.bufferProcessing&&Y.bufferedRequest&&X(q,Y),ue?c.nextTick(re,q,Y,ne,ce):re(q,Y,ne,ce)}}function re(q,F,Y,ue){Y||Z(q,F),F.pendingcb--,ue(),pe(q,F)}function Z(q,F){F.length===0&&F.needDrain&&(F.needDrain=!1,q.emit("drain"))}function X(q,F){F.bufferProcessing=!0;var Y=F.bufferedRequest;if(q._writev&&Y&&Y.next){var ue=F.bufferedRequestCount,ce=new Array(ue),ne=F.corkedRequestsFree;ne.entry=Y;for(var U=0,M=!0;Y;)ce[U]=Y,Y.isBuf||(M=!1),Y=Y.next,U+=1;ce.allBuffers=M,te(q,F,!0,F.length,ce,"",ne.finish),F.pendingcb++,F.lastBufferedRequest=null,ne.next?(F.corkedRequestsFree=ne.next,ne.next=null):F.corkedRequestsFree=new l(F),F.bufferedRequestCount=0}else{for(;Y;){var W=Y.chunk,K=Y.encoding,oe=Y.callback,he=F.objectMode?1:W.length;if(te(q,F,!1,he,W,K,oe),Y=Y.next,F.bufferedRequestCount--,F.writing)break}Y===null&&(F.lastBufferedRequest=null)}F.bufferedRequest=Y,F.bufferProcessing=!1}O.prototype._write=function(q,F,Y){Y(new x("_write()"))},O.prototype._writev=null,O.prototype.end=function(q,F,Y){var ue=this._writableState;return typeof q=="function"?(Y=q,q=null,F=null):typeof F=="function"&&(Y=F,F=null),q!=null&&this.write(q,F),ue.corked&&(ue.corked=1,this.uncork()),ue.ending||G(this,ue,Y),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function $(q){return q.ending&&q.length===0&&q.bufferedRequest===null&&!q.finished&&!q.writing}function ie(q,F){q._final(function(Y){F.pendingcb--,Y&&R(q,Y),F.prefinished=!0,q.emit("prefinish"),pe(q,F)})}function de(q,F){!F.prefinished&&!F.finalCalled&&(typeof q._final=="function"&&!F.destroyed?(F.pendingcb++,F.finalCalled=!0,c.nextTick(ie,q,F)):(F.prefinished=!0,q.emit("prefinish")))}function pe(q,F){var Y=$(F);if(Y&&(de(q,F),F.pendingcb===0&&(F.finished=!0,q.emit("finish"),F.autoDestroy))){var ue=q._readableState;(!ue||ue.autoDestroy&&ue.endEmitted)&&q.destroy()}return Y}function G(q,F,Y){F.ending=!0,pe(q,F),Y&&(F.finished?c.nextTick(Y):q.once("finish",Y)),F.ended=!0,q.writable=!1}function I(q,F,Y){var ue=q.entry;for(q.entry=null;ue;){var ce=ue.callback;F.pendingcb--,ce(Y),ue=ue.next}F.corkedRequestsFree.next=q}Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(F){this._writableState&&(this._writableState.destroyed=F)}}),O.prototype.destroy=m.destroy,O.prototype._undestroy=m.undestroy,O.prototype._destroy=function(q,F){F(q)}}).call(this)}).call(this,e("_process"),typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(e,g,v){(function(c){(function(){"use strict";var a;function o(C,E,T){return E=l(E),E in C?Object.defineProperty(C,E,{value:T,enumerable:!0,configurable:!0,writable:!0}):C[E]=T,C}function l(C){var E=u(C,"string");return typeof E=="symbol"?E:String(E)}function u(C,E){if(typeof C!="object"||C===null)return C;var T=C[Symbol.toPrimitive];if(T!==void 0){var R=T.call(C,E||"default");if(typeof R!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(C)}var i=e("./end-of-stream"),r=Symbol("lastResolve"),t=Symbol("lastReject"),n=Symbol("error"),s=Symbol("ended"),d=Symbol("lastPromise"),m=Symbol("handlePromise"),h=Symbol("stream");function y(C,E){return{value:C,done:E}}function p(C){var E=C[r];if(E!==null){var T=C[h].read();T!==null&&(C[d]=null,C[r]=null,C[t]=null,E(y(T,!1)))}}function b(C){c.nextTick(p,C)}function x(C,E){return function(T,R){C.then(function(){if(E[s]){T(y(void 0,!0));return}E[m](T,R)},R)}}var S=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((a={get stream(){return this[h]},next:function(){var E=this,T=this[n];if(T!==null)return Promise.reject(T);if(this[s])return Promise.resolve(y(void 0,!0));if(this[h].destroyed)return new Promise(function(L,O){c.nextTick(function(){E[n]?O(E[n]):L(y(void 0,!0))})});var R=this[d],k;if(R)k=new Promise(x(R,this));else{var P=this[h].read();if(P!==null)return Promise.resolve(y(P,!1));k=new Promise(this[m])}return this[d]=k,k}},o(a,Symbol.asyncIterator,function(){return this}),o(a,"return",function(){var E=this;return new Promise(function(T,R){E[h].destroy(null,function(k){if(k){R(k);return}T(y(void 0,!0))})})}),a),S),_=function(E){var T,R=Object.create(w,(T={},o(T,h,{value:E,writable:!0}),o(T,r,{value:null,writable:!0}),o(T,t,{value:null,writable:!0}),o(T,n,{value:null,writable:!0}),o(T,s,{value:E._readableState.endEmitted,writable:!0}),o(T,m,{value:function(P,L){var O=R[h].read();O?(R[d]=null,R[r]=null,R[t]=null,P(y(O,!1))):(R[r]=P,R[t]=L)},writable:!0}),T));return R[d]=null,i(E,function(k){if(k&&k.code!=="ERR_STREAM_PREMATURE_CLOSE"){var P=R[t];P!==null&&(R[d]=null,R[r]=null,R[t]=null,P(k)),R[n]=k;return}var L=R[r];L!==null&&(R[d]=null,R[r]=null,R[t]=null,L(y(void 0,!0))),R[s]=!0}),E.on("readable",b.bind(null,R)),R};g.exports=_}).call(this)}).call(this,e("_process"))},{"./end-of-stream":408,_process:467}],406:[function(e,g,v){"use strict";function c(p,b){var x=Object.keys(p);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(p);b&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(p,w).enumerable})),x.push.apply(x,S)}return x}function a(p){for(var b=1;b<arguments.length;b++){var x=arguments[b]!=null?arguments[b]:{};b%2?c(Object(x),!0).forEach(function(S){o(p,S,x[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(x)):c(Object(x)).forEach(function(S){Object.defineProperty(p,S,Object.getOwnPropertyDescriptor(x,S))})}return p}function o(p,b,x){return b=r(b),b in p?Object.defineProperty(p,b,{value:x,enumerable:!0,configurable:!0,writable:!0}):p[b]=x,p}function l(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}function u(p,b){for(var x=0;x<b.length;x++){var S=b[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(p,r(S.key),S)}}function i(p,b,x){return b&&u(p.prototype,b),x&&u(p,x),Object.defineProperty(p,"prototype",{writable:!1}),p}function r(p){var b=t(p,"string");return typeof b=="symbol"?b:String(b)}function t(p,b){if(typeof p!="object"||p===null)return p;var x=p[Symbol.toPrimitive];if(x!==void 0){var S=x.call(p,b||"default");if(typeof S!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(p)}var n=e("buffer"),s=n.Buffer,d=e("util"),m=d.inspect,h=m&&m.custom||"inspect";function y(p,b,x){s.prototype.copy.call(p,b,x)}g.exports=function(){function p(){l(this,p),this.head=null,this.tail=null,this.length=0}return i(p,[{key:"push",value:function(x){var S={data:x,next:null};this.length>0?this.tail.next=S:this.head=S,this.tail=S,++this.length}},{key:"unshift",value:function(x){var S={data:x,next:this.head};this.length===0&&(this.tail=S),this.head=S,++this.length}},{key:"shift",value:function(){if(this.length!==0){var x=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,x}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(x){if(this.length===0)return"";for(var S=this.head,w=""+S.data;S=S.next;)w+=x+S.data;return w}},{key:"concat",value:function(x){if(this.length===0)return s.alloc(0);for(var S=s.allocUnsafe(x>>>0),w=this.head,_=0;w;)y(w.data,S,_),_+=w.data.length,w=w.next;return S}},{key:"consume",value:function(x,S){var w;return x<this.head.data.length?(w=this.head.data.slice(0,x),this.head.data=this.head.data.slice(x)):x===this.head.data.length?w=this.shift():w=S?this._getString(x):this._getBuffer(x),w}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(x){var S=this.head,w=1,_=S.data;for(x-=_.length;S=S.next;){var C=S.data,E=x>C.length?C.length:x;if(E===C.length?_+=C:_+=C.slice(0,x),x-=E,x===0){E===C.length?(++w,S.next?this.head=S.next:this.head=this.tail=null):(this.head=S,S.data=C.slice(E));break}++w}return this.length-=w,_}},{key:"_getBuffer",value:function(x){var S=s.allocUnsafe(x),w=this.head,_=1;for(w.data.copy(S),x-=w.data.length;w=w.next;){var C=w.data,E=x>C.length?C.length:x;if(C.copy(S,S.length-x,0,E),x-=E,x===0){E===C.length?(++_,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=C.slice(E));break}++_}return this.length-=_,S}},{key:h,value:function(x,S){return m(this,a(a({},S),{},{depth:0,customInspect:!1}))}}]),p}()},{buffer:90,util:89}],407:[function(e,g,v){(function(c){(function(){"use strict";function a(t,n){var s=this,d=this._readableState&&this._readableState.destroyed,m=this._writableState&&this._writableState.destroyed;return d||m?(n?n(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,c.nextTick(i,this,t)):c.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(h){!n&&h?s._writableState?s._writableState.errorEmitted?c.nextTick(l,s):(s._writableState.errorEmitted=!0,c.nextTick(o,s,h)):c.nextTick(o,s,h):n?(c.nextTick(l,s),n(h)):c.nextTick(l,s)}),this)}function o(t,n){i(t,n),l(t)}function l(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function u(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(t,n){t.emit("error",n)}function r(t,n){var s=t._readableState,d=t._writableState;s&&s.autoDestroy||d&&d.autoDestroy?t.destroy(n):t.emit("error",n)}g.exports={destroy:a,undestroy:u,errorOrDestroy:r}}).call(this)}).call(this,e("_process"))},{_process:467}],408:[function(e,g,v){"use strict";var c=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function a(i){var r=!1;return function(){if(!r){r=!0;for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];i.apply(this,n)}}}function o(){}function l(i){return i.setHeader&&typeof i.abort=="function"}function u(i,r,t){if(typeof r=="function")return u(i,null,r);r||(r={}),t=a(t||o);var n=r.readable||r.readable!==!1&&i.readable,s=r.writable||r.writable!==!1&&i.writable,d=function(){i.writable||h()},m=i._writableState&&i._writableState.finished,h=function(){s=!1,m=!0,n||t.call(i)},y=i._readableState&&i._readableState.endEmitted,p=function(){n=!1,y=!0,s||t.call(i)},b=function(_){t.call(i,_)},x=function(){var _;if(n&&!y)return(!i._readableState||!i._readableState.ended)&&(_=new c),t.call(i,_);if(s&&!m)return(!i._writableState||!i._writableState.ended)&&(_=new c),t.call(i,_)},S=function(){i.req.on("finish",h)};return l(i)?(i.on("complete",h),i.on("abort",x),i.req?S():i.on("request",S)):s&&!i._writableState&&(i.on("end",d),i.on("close",d)),i.on("end",p),i.on("finish",h),r.error!==!1&&i.on("error",b),i.on("close",x),function(){i.removeListener("complete",h),i.removeListener("abort",x),i.removeListener("request",S),i.req&&i.req.removeListener("finish",h),i.removeListener("end",d),i.removeListener("close",d),i.removeListener("finish",h),i.removeListener("end",p),i.removeListener("error",b),i.removeListener("close",x)}}g.exports=u},{"../../../errors":399}],409:[function(e,g,v){g.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(e,g,v){"use strict";var c;function a(h){var y=!1;return function(){y||(y=!0,h.apply(void 0,arguments))}}var o=e("../../../errors").codes,l=o.ERR_MISSING_ARGS,u=o.ERR_STREAM_DESTROYED;function i(h){if(h)throw h}function r(h){return h.setHeader&&typeof h.abort=="function"}function t(h,y,p,b){b=a(b);var x=!1;h.on("close",function(){x=!0}),c===void 0&&(c=e("./end-of-stream")),c(h,{readable:y,writable:p},function(w){if(w)return b(w);x=!0,b()});var S=!1;return function(w){if(!x&&!S){if(S=!0,r(h))return h.abort();if(typeof h.destroy=="function")return h.destroy();b(w||new u("pipe"))}}}function n(h){h()}function s(h,y){return h.pipe(y)}function d(h){return!h.length||typeof h[h.length-1]!="function"?i:h.pop()}function m(){for(var h=arguments.length,y=new Array(h),p=0;p<h;p++)y[p]=arguments[p];var b=d(y);if(Array.isArray(y[0])&&(y=y[0]),y.length<2)throw new l("streams");var x,S=y.map(function(w,_){var C=_<y.length-1,E=_>0;return t(w,C,E,function(T){x||(x=T),T&&S.forEach(n),!C&&(S.forEach(n),b(x))})});return y.reduce(s)}g.exports=m},{"../../../errors":399,"./end-of-stream":408}],411:[function(e,g,v){"use strict";var c=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;function a(l,u,i){return l.highWaterMark!=null?l.highWaterMark:u?l[i]:null}function o(l,u,i,r){var t=a(u,r,i);if(t!=null){if(!(isFinite(t)&&Math.floor(t)===t)||t<0){var n=r?i:"highWaterMark";throw new c(n,t)}return Math.floor(t)}return l.objectMode?16:16*1024}g.exports={getHighWaterMark:o}},{"../../../errors":399}],412:[function(e,g,v){arguments[4][393][0].apply(v,arguments)},{dup:393,events:344}],413:[function(e,g,v){"use strict";var c=e("safe-buffer").Buffer,a=c.isEncoding||function(S){switch(S=""+S,S&&S.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(S){if(!S)return"utf8";for(var w;;)switch(S){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return S;default:if(w)return;S=(""+S).toLowerCase(),w=!0}}function l(S){var w=o(S);if(typeof w!="string"&&(c.isEncoding===a||!a(S)))throw new Error("Unknown encoding: "+S);return w||S}v.StringDecoder=u;function u(S){this.encoding=l(S);var w;switch(this.encoding){case"utf16le":this.text=m,this.end=h,w=4;break;case"utf8":this.fillLast=n,w=4;break;case"base64":this.text=y,this.end=p,w=3;break;default:this.write=b,this.end=x;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=c.allocUnsafe(w)}u.prototype.write=function(S){if(S.length===0)return"";var w,_;if(this.lastNeed){if(w=this.fillLast(S),w===void 0)return"";_=this.lastNeed,this.lastNeed=0}else _=0;return _<S.length?w?w+this.text(S,_):this.text(S,_):w||""},u.prototype.end=d,u.prototype.text=s,u.prototype.fillLast=function(S){if(this.lastNeed<=S.length)return S.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);S.copy(this.lastChar,this.lastTotal-this.lastNeed,0,S.length),this.lastNeed-=S.length};function i(S){return S<=127?0:S>>5===6?2:S>>4===14?3:S>>3===30?4:S>>6===2?-1:-2}function r(S,w,_){var C=w.length-1;if(C<_)return 0;var E=i(w[C]);return E>=0?(E>0&&(S.lastNeed=E-1),E):--C<_||E===-2?0:(E=i(w[C]),E>=0?(E>0&&(S.lastNeed=E-2),E):--C<_||E===-2?0:(E=i(w[C]),E>=0?(E>0&&(E===2?E=0:S.lastNeed=E-3),E):0))}function t(S,w,_){if((w[0]&192)!==128)return S.lastNeed=0,"\uFFFD";if(S.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return S.lastNeed=1,"\uFFFD";if(S.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return S.lastNeed=2,"\uFFFD"}}function n(S){var w=this.lastTotal-this.lastNeed,_=t(this,S,w);if(_!==void 0)return _;if(this.lastNeed<=S.length)return S.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);S.copy(this.lastChar,w,0,S.length),this.lastNeed-=S.length}function s(S,w){var _=r(this,S,w);if(!this.lastNeed)return S.toString("utf8",w);this.lastTotal=_;var C=S.length-(_-this.lastNeed);return S.copy(this.lastChar,0,C),S.toString("utf8",w,C)}function d(S){var w=S&&S.length?this.write(S):"";return this.lastNeed?w+"\uFFFD":w}function m(S,w){if((S.length-w)%2===0){var _=S.toString("utf16le",w);if(_){var C=_.charCodeAt(_.length-1);if(C>=55296&&C<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=S[S.length-2],this.lastChar[1]=S[S.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=S[S.length-1],S.toString("utf16le",w,S.length-1)}function h(S){var w=S&&S.length?this.write(S):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,_)}return w}function y(S,w){var _=(S.length-w)%3;return _===0?S.toString("base64",w):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=S[S.length-1]:(this.lastChar[0]=S[S.length-2],this.lastChar[1]=S[S.length-1]),S.toString("base64",w,S.length-_))}function p(S){var w=S&&S.length?this.write(S):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}function b(S){return S.toString(this.encoding)}function x(S){return S&&S.length?this.write(S):""}},{"safe-buffer":396}],414:[function(e,g,v){(function(c,a){(function(){var o=e("process/browser.js").nextTick,l=Function.prototype.apply,u=Array.prototype.slice,i={},r=0;v.setTimeout=function(){return new t(l.call(setTimeout,window,arguments),clearTimeout)},v.setInterval=function(){return new t(l.call(setInterval,window,arguments),clearInterval)},v.clearTimeout=v.clearInterval=function(n){n.close()};function t(n,s){this._id=n,this._clearFn=s}t.prototype.unref=t.prototype.ref=function(){},t.prototype.close=function(){this._clearFn.call(window,this._id)},v.enroll=function(n,s){clearTimeout(n._idleTimeoutId),n._idleTimeout=s},v.unenroll=function(n){clearTimeout(n._idleTimeoutId),n._idleTimeout=-1},v._unrefActive=v.active=function(n){clearTimeout(n._idleTimeoutId);var s=n._idleTimeout;s>=0&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},s))},v.setImmediate=typeof c=="function"?c:function(n){var s=r++,d=arguments.length<2?!1:u.call(arguments,1);return i[s]=!0,o(function(){i[s]&&(d?n.apply(null,d):n.call(null),v.clearImmediate(s))}),s},v.clearImmediate=typeof a=="function"?a:function(n){delete i[n]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(e,g,v){var c=e("buffer").Buffer;g.exports=function(a){if(a instanceof Uint8Array){if(a.byteOffset===0&&a.byteLength===a.buffer.byteLength)return a.buffer;if(typeof a.buffer.slice=="function")return a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength)}if(c.isBuffer(a)){for(var o=new Uint8Array(a.length),l=a.length,u=0;u<l;u++)o[u]=a[u];return o.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(e,g,v){(function(c){(function(){g.exports=a;function a(l,u){if(o("noDeprecation"))return l;var i=!1;function r(){if(!i){if(o("throwDeprecation"))throw new Error(u);o("traceDeprecation")?console.trace(u):console.warn(u),i=!0}return l.apply(this,arguments)}return r}function o(l){try{if(!c.localStorage)return!1}catch(i){return!1}var u=c.localStorage[l];return u==null?!1:String(u).toLowerCase()==="true"}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(e,g,v){arguments[4][84][0].apply(v,arguments)},{dup:84}],418:[function(e,g,v){"use strict";var c=e("is-arguments"),a=e("is-generator-function"),o=e("which-typed-array"),l=e("is-typed-array");function u(K){return K.call.bind(K)}var i=typeof BigInt!="undefined",r=typeof Symbol!="undefined",t=u(Object.prototype.toString),n=u(Number.prototype.valueOf),s=u(String.prototype.valueOf),d=u(Boolean.prototype.valueOf);if(i)var m=u(BigInt.prototype.valueOf);if(r)var h=u(Symbol.prototype.valueOf);function y(K,oe){if(typeof K!="object")return!1;try{return oe(K),!0}catch(he){return!1}}v.isArgumentsObject=c,v.isGeneratorFunction=a,v.isTypedArray=l;function p(K){return typeof Promise!="undefined"&&K instanceof Promise||K!==null&&typeof K=="object"&&typeof K.then=="function"&&typeof K.catch=="function"}v.isPromise=p;function b(K){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(K):l(K)||X(K)}v.isArrayBufferView=b;function x(K){return o(K)==="Uint8Array"}v.isUint8Array=x;function S(K){return o(K)==="Uint8ClampedArray"}v.isUint8ClampedArray=S;function w(K){return o(K)==="Uint16Array"}v.isUint16Array=w;function _(K){return o(K)==="Uint32Array"}v.isUint32Array=_;function C(K){return o(K)==="Int8Array"}v.isInt8Array=C;function E(K){return o(K)==="Int16Array"}v.isInt16Array=E;function T(K){return o(K)==="Int32Array"}v.isInt32Array=T;function R(K){return o(K)==="Float32Array"}v.isFloat32Array=R;function k(K){return o(K)==="Float64Array"}v.isFloat64Array=k;function P(K){return o(K)==="BigInt64Array"}v.isBigInt64Array=P;function L(K){return o(K)==="BigUint64Array"}v.isBigUint64Array=L;function O(K){return t(K)==="[object Map]"}O.working=typeof Map!="undefined"&&O(new Map);function N(K){return typeof Map=="undefined"?!1:O.working?O(K):K instanceof Map}v.isMap=N;function H(K){return t(K)==="[object Set]"}H.working=typeof Set!="undefined"&&H(new Set);function V(K){return typeof Set=="undefined"?!1:H.working?H(K):K instanceof Set}v.isSet=V;function B(K){return t(K)==="[object WeakMap]"}B.working=typeof WeakMap!="undefined"&&B(new WeakMap);function te(K){return typeof WeakMap=="undefined"?!1:B.working?B(K):K instanceof WeakMap}v.isWeakMap=te;function ee(K){return t(K)==="[object WeakSet]"}ee.working=typeof WeakSet!="undefined"&&ee(new WeakSet);function J(K){return ee(K)}v.isWeakSet=J;function Q(K){return t(K)==="[object ArrayBuffer]"}Q.working=typeof ArrayBuffer!="undefined"&&Q(new ArrayBuffer);function re(K){return typeof ArrayBuffer=="undefined"?!1:Q.working?Q(K):K instanceof ArrayBuffer}v.isArrayBuffer=re;function Z(K){return t(K)==="[object DataView]"}Z.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&Z(new DataView(new ArrayBuffer(1),0,1));function X(K){return typeof DataView=="undefined"?!1:Z.working?Z(K):K instanceof DataView}v.isDataView=X;var $=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function ie(K){return t(K)==="[object SharedArrayBuffer]"}function de(K){return typeof $=="undefined"?!1:(typeof ie.working=="undefined"&&(ie.working=ie(new $)),ie.working?ie(K):K instanceof $)}v.isSharedArrayBuffer=de;function pe(K){return t(K)==="[object AsyncFunction]"}v.isAsyncFunction=pe;function G(K){return t(K)==="[object Map Iterator]"}v.isMapIterator=G;function I(K){return t(K)==="[object Set Iterator]"}v.isSetIterator=I;function q(K){return t(K)==="[object Generator]"}v.isGeneratorObject=q;function F(K){return t(K)==="[object WebAssembly.Module]"}v.isWebAssemblyCompiledModule=F;function Y(K){return y(K,n)}v.isNumberObject=Y;function ue(K){return y(K,s)}v.isStringObject=ue;function ce(K){return y(K,d)}v.isBooleanObject=ce;function ne(K){return i&&y(K,m)}v.isBigIntObject=ne;function U(K){return r&&y(K,h)}v.isSymbolObject=U;function M(K){return Y(K)||ue(K)||ce(K)||ne(K)||U(K)}v.isBoxedPrimitive=M;function W(K){return typeof Uint8Array!="undefined"&&(re(K)||de(K))}v.isAnyArrayBuffer=W,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(K){Object.defineProperty(v,K,{enumerable:!1,value:function(){throw new Error(K+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(e,g,v){(function(c){(function(){var a=Object.getOwnPropertyDescriptors||function($){for(var ie=Object.keys($),de={},pe=0;pe<ie.length;pe++)de[ie[pe]]=Object.getOwnPropertyDescriptor($,ie[pe]);return de},o=/%[sdj%]/g;v.format=function(X){if(!E(X)){for(var $=[],ie=0;ie<arguments.length;ie++)$.push(r(arguments[ie]));return $.join(" ")}for(var ie=1,de=arguments,pe=de.length,G=String(X).replace(o,function(q){if(q==="%%")return"%";if(ie>=pe)return q;switch(q){case"%s":return String(de[ie++]);case"%d":return Number(de[ie++]);case"%j":try{return JSON.stringify(de[ie++])}catch(F){return"[Circular]"}default:return q}}),I=de[ie];ie<pe;I=de[++ie])w(I)||!P(I)?G+=" "+I:G+=" "+r(I);return G},v.deprecate=function(X,$){if(typeof c!="undefined"&&c.noDeprecation===!0)return X;if(typeof c=="undefined")return function(){return v.deprecate(X,$).apply(this,arguments)};var ie=!1;function de(){if(!ie){if(c.throwDeprecation)throw new Error($);c.traceDeprecation?console.trace($):console.error($),ie=!0}return X.apply(this,arguments)}return de};var l={},u=/^$/;if(c.env.NODE_DEBUG){var i=c.env.NODE_DEBUG;i=i.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+i+"$","i")}v.debuglog=function(X){if(X=X.toUpperCase(),!l[X])if(u.test(X)){var $=c.pid;l[X]=function(){var ie=v.format.apply(v,arguments);console.error("%s %d: %s",X,$,ie)}}else l[X]=function(){};return l[X]};function r(X,$){var ie={seen:[],stylize:n};return arguments.length>=3&&(ie.depth=arguments[2]),arguments.length>=4&&(ie.colors=arguments[3]),S($)?ie.showHidden=$:$&&v._extend(ie,$),R(ie.showHidden)&&(ie.showHidden=!1),R(ie.depth)&&(ie.depth=2),R(ie.colors)&&(ie.colors=!1),R(ie.customInspect)&&(ie.customInspect=!0),ie.colors&&(ie.stylize=t),d(ie,X,ie.depth)}v.inspect=r,r.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},r.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function t(X,$){var ie=r.styles[$];return ie?"\x1B["+r.colors[ie][0]+"m"+X+"\x1B["+r.colors[ie][1]+"m":X}function n(X,$){return X}function s(X){var $={};return X.forEach(function(ie,de){$[ie]=!0}),$}function d(X,$,ie){if(X.customInspect&&$&&N($.inspect)&&$.inspect!==v.inspect&&!($.constructor&&$.constructor.prototype===$)){var de=$.inspect(ie,X);return E(de)||(de=d(X,de,ie)),de}var pe=m(X,$);if(pe)return pe;var G=Object.keys($),I=s(G);if(X.showHidden&&(G=Object.getOwnPropertyNames($)),O($)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return h($);if(G.length===0){if(N($)){var q=$.name?": "+$.name:"";return X.stylize("[Function"+q+"]","special")}if(k($))return X.stylize(RegExp.prototype.toString.call($),"regexp");if(L($))return X.stylize(Date.prototype.toString.call($),"date");if(O($))return h($)}var F="",Y=!1,ue=["{","}"];if(x($)&&(Y=!0,ue=["[","]"]),N($)){var ce=$.name?": "+$.name:"";F=" [Function"+ce+"]"}if(k($)&&(F=" "+RegExp.prototype.toString.call($)),L($)&&(F=" "+Date.prototype.toUTCString.call($)),O($)&&(F=" "+h($)),G.length===0&&(!Y||$.length==0))return ue[0]+F+ue[1];if(ie<0)return k($)?X.stylize(RegExp.prototype.toString.call($),"regexp"):X.stylize("[Object]","special");X.seen.push($);var ne;return Y?ne=y(X,$,ie,I,G):ne=G.map(function(U){return p(X,$,ie,I,U,Y)}),X.seen.pop(),b(ne,F,ue)}function m(X,$){if(R($))return X.stylize("undefined","undefined");if(E($)){var ie="'"+JSON.stringify($).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return X.stylize(ie,"string")}if(C($))return X.stylize(""+$,"number");if(S($))return X.stylize(""+$,"boolean");if(w($))return X.stylize("null","null")}function h(X){return"["+Error.prototype.toString.call(X)+"]"}function y(X,$,ie,de,pe){for(var G=[],I=0,q=$.length;I<q;++I)J($,String(I))?G.push(p(X,$,ie,de,String(I),!0)):G.push("");return pe.forEach(function(F){F.match(/^\d+$/)||G.push(p(X,$,ie,de,F,!0))}),G}function p(X,$,ie,de,pe,G){var I,q,F;if(F=Object.getOwnPropertyDescriptor($,pe)||{value:$[pe]},F.get?F.set?q=X.stylize("[Getter/Setter]","special"):q=X.stylize("[Getter]","special"):F.set&&(q=X.stylize("[Setter]","special")),J(de,pe)||(I="["+pe+"]"),q||(X.seen.indexOf(F.value)<0?(w(ie)?q=d(X,F.value,null):q=d(X,F.value,ie-1),q.indexOf(`
`)>-1&&(G?q=q.split(`
`).map(function(Y){return" "+Y}).join(`
`).slice(2):q=`
`+q.split(`
`).map(function(Y){return" "+Y}).join(`
`))):q=X.stylize("[Circular]","special")),R(I)){if(G&&pe.match(/^\d+$/))return q;I=JSON.stringify(""+pe),I.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(I=I.slice(1,-1),I=X.stylize(I,"name")):(I=I.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),I=X.stylize(I,"string"))}return I+": "+q}function b(X,$,ie){var de=0,pe=X.reduce(function(G,I){return de++,I.indexOf(`
`)>=0&&de++,G+I.replace(/\u001b\[\d\d?m/g,"").length+1},0);return pe>60?ie[0]+($===""?"":$+`
`)+" "+X.join(`,
`)+" "+ie[1]:ie[0]+$+" "+X.join(", ")+" "+ie[1]}v.types=e("./support/types");function x(X){return Array.isArray(X)}v.isArray=x;function S(X){return typeof X=="boolean"}v.isBoolean=S;function w(X){return X===null}v.isNull=w;function _(X){return X==null}v.isNullOrUndefined=_;function C(X){return typeof X=="number"}v.isNumber=C;function E(X){return typeof X=="string"}v.isString=E;function T(X){return typeof X=="symbol"}v.isSymbol=T;function R(X){return X===void 0}v.isUndefined=R;function k(X){return P(X)&&V(X)==="[object RegExp]"}v.isRegExp=k,v.types.isRegExp=k;function P(X){return typeof X=="object"&&X!==null}v.isObject=P;function L(X){return P(X)&&V(X)==="[object Date]"}v.isDate=L,v.types.isDate=L;function O(X){return P(X)&&(V(X)==="[object Error]"||X instanceof Error)}v.isError=O,v.types.isNativeError=O;function N(X){return typeof X=="function"}v.isFunction=N;function H(X){return X===null||typeof X=="boolean"||typeof X=="number"||typeof X=="string"||typeof X=="symbol"||typeof X=="undefined"}v.isPrimitive=H,v.isBuffer=e("./support/isBuffer");function V(X){return Object.prototype.toString.call(X)}function B(X){return X<10?"0"+X.toString(10):X.toString(10)}var te=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ee(){var X=new Date,$=[B(X.getHours()),B(X.getMinutes()),B(X.getSeconds())].join(":");return[X.getDate(),te[X.getMonth()],$].join(" ")}v.log=function(){console.log("%s - %s",ee(),v.format.apply(v,arguments))},v.inherits=e("inherits"),v._extend=function(X,$){if(!$||!P($))return X;for(var ie=Object.keys($),de=ie.length;de--;)X[ie[de]]=$[ie[de]];return X};function J(X,$){return Object.prototype.hasOwnProperty.call(X,$)}var Q=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;v.promisify=function($){if(typeof $!="function")throw new TypeError('The "original" argument must be of type Function');if(Q&&$[Q]){var ie=$[Q];if(typeof ie!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(ie,Q,{value:ie,enumerable:!1,writable:!1,configurable:!0}),ie}function ie(){for(var de,pe,G=new Promise(function(F,Y){de=F,pe=Y}),I=[],q=0;q<arguments.length;q++)I.push(arguments[q]);I.push(function(F,Y){F?pe(F):de(Y)});try{$.apply(this,I)}catch(F){pe(F)}return G}return Object.setPrototypeOf(ie,Object.getPrototypeOf($)),Q&&Object.defineProperty(ie,Q,{value:ie,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(ie,a($))},v.promisify.custom=Q;function re(X,$){if(!X){var ie=new Error("Promise was rejected with a falsy value");ie.reason=X,X=ie}return $(X)}function Z(X){if(typeof X!="function")throw new TypeError('The "original" argument must be of type Function');function $(){for(var ie=[],de=0;de<arguments.length;de++)ie.push(arguments[de]);var pe=ie.pop();if(typeof pe!="function")throw new TypeError("The last argument must be of type Function");var G=this,I=function(){return pe.apply(G,arguments)};X.apply(this,ie).then(function(q){c.nextTick(I.bind(null,null,q))},function(q){c.nextTick(re.bind(null,q,I))})}return Object.setPrototypeOf($,Object.getPrototypeOf(X)),Object.defineProperties($,a(X)),$}v.callbackify=Z}).call(this)}).call(this,e("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(e,g,v){(function(c){(function(){"use strict";var a=e("for-each"),o=e("available-typed-arrays"),l=e("call-bind"),u=e("call-bind/callBound"),i=e("gopd"),r=u("Object.prototype.toString"),t=e("has-tostringtag/shams")(),n=typeof globalThis=="undefined"?c:globalThis,s=o(),d=u("String.prototype.slice"),m=Object.getPrototypeOf,h=u("Array.prototype.indexOf",!0)||function(S,w){for(var _=0;_<S.length;_+=1)if(S[_]===w)return _;return-1},y={__proto__:null};t&&i&&m?a(s,function(x){var S=new n[x];if(Symbol.toStringTag in S){var w=m(S),_=i(w,Symbol.toStringTag);if(!_){var C=m(w);_=i(C,Symbol.toStringTag)}y["$"+x]=l(_.get)}}):a(s,function(x){var S=new n[x];y["$"+x]=l(S.slice)});var p=function(S){var w=!1;return a(y,function(_,C){if(!w)try{"$"+_(S)===C&&(w=d(C,1))}catch(E){}}),w},b=function(S){var w=!1;return a(y,function(_,C){if(!w)try{_(S),w=d(C,1)}catch(E){}}),w};g.exports=function(S){if(!S||typeof S!="object")return!1;if(!t){var w=d(r(S),8,-1);return h(s,w)>-1?w:w!=="Object"?!1:b(S)}return i?p(S):null}}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(e,g,v){(function(){"use strict";v.stripBOM=function(c){return c[0]==="\uFEFF"?c.substring(1):c}}).call(this)},{}],422:[function(e,g,v){(function(){"use strict";var c,a,o,l,u,i={}.hasOwnProperty;c=e("xmlbuilder"),a=e("./defaults").defaults,l=function(r){return typeof r=="string"&&(r.indexOf("&")>=0||r.indexOf(">")>=0||r.indexOf("<")>=0)},u=function(r){return"<![CDATA["+o(r)+"]]>"},o=function(r){return r.replace("]]>","]]]]><![CDATA[>")},v.Builder=function(){function r(t){var n,s,d;this.options={},s=a["0.2"];for(n in s)i.call(s,n)&&(d=s[n],this.options[n]=d);for(n in t)i.call(t,n)&&(d=t[n],this.options[n]=d)}return r.prototype.buildObject=function(t){var n,s,d,m,h;return n=this.options.attrkey,s=this.options.charkey,Object.keys(t).length===1&&this.options.rootName===a["0.2"].rootName?(h=Object.keys(t)[0],t=t[h]):h=this.options.rootName,d=function(y){return function(p,b){var x,S,w,_,C,E;if(typeof b!="object")y.options.cdata&&l(b)?p.raw(u(b)):p.txt(b);else if(Array.isArray(b)){for(_ in b)if(i.call(b,_)){S=b[_];for(C in S)w=S[C],p=d(p.ele(C),w).up()}}else for(C in b)if(i.call(b,C))if(S=b[C],C===n){if(typeof S=="object")for(x in S)E=S[x],p=p.att(x,E)}else if(C===s)y.options.cdata&&l(S)?p=p.raw(u(S)):p=p.txt(S);else if(Array.isArray(S))for(_ in S)i.call(S,_)&&(w=S[_],typeof w=="string"?y.options.cdata&&l(w)?p=p.ele(C).raw(u(w)).up():p=p.ele(C,w).up():p=d(p.ele(C),w).up());else typeof S=="object"?p=d(p.ele(C),S).up():typeof S=="string"&&y.options.cdata&&l(S)?p=p.ele(C).raw(u(S)).up():(S==null&&(S=""),p=p.ele(C,S.toString()).up());return p}}(this),m=c.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),d(m,t).end(this.options.renderOpts)},r}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(e,g,v){(function(){v.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(e,g,v){(function(){"use strict";var c,a,o,l,u,i,r,t,n,s=function(h,y){return function(){return h.apply(y,arguments)}},d=function(h,y){for(var p in y)m.call(y,p)&&(h[p]=y[p]);function b(){this.constructor=h}return b.prototype=y.prototype,h.prototype=new b,h.__super__=y.prototype,h},m={}.hasOwnProperty;t=e("sax"),l=e("events"),c=e("./bom"),r=e("./processors"),n=e("timers").setImmediate,a=e("./defaults").defaults,u=function(h){return typeof h=="object"&&h!=null&&Object.keys(h).length===0},i=function(h,y,p){var b,x,S;for(b=0,x=h.length;b<x;b++)S=h[b],y=S(y,p);return y},o=function(h,y,p){var b;return b=Object.create(null),b.value=p,b.writable=!0,b.enumerable=!0,b.configurable=!0,Object.defineProperty(h,y,b)},v.Parser=function(h){d(y,h);function y(p){this.parseStringPromise=s(this.parseStringPromise,this),this.parseString=s(this.parseString,this),this.reset=s(this.reset,this),this.assignOrPush=s(this.assignOrPush,this),this.processAsync=s(this.processAsync,this);var b,x,S;if(!(this instanceof v.Parser))return new v.Parser(p);this.options={},x=a["0.2"];for(b in x)m.call(x,b)&&(S=x[b],this.options[b]=S);for(b in p)m.call(p,b)&&(S=p[b],this.options[b]=S);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(r.normalize)),this.reset()}return y.prototype.processAsync=function(){var p,b;try{return this.remaining.length<=this.options.chunkSize?(p=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(p),this.saxParser.close()):(p=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(p),n(this.processAsync))}catch(x){if(b=x,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(b)}},y.prototype.assignOrPush=function(p,b,x){return b in p?(p[b]instanceof Array||o(p,b,[p[b]]),p[b].push(x)):this.options.explicitArray?o(p,b,[x]):o(p,b,x)},y.prototype.reset=function(){var p,b,x,S;return this.removeAllListeners(),this.saxParser=t.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(w){return function(_){if(w.saxParser.resume(),!w.saxParser.errThrown)return w.saxParser.errThrown=!0,w.emit("error",_)}}(this),this.saxParser.onend=function(w){return function(){if(!w.saxParser.ended)return w.saxParser.ended=!0,w.emit("end",w.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,S=[],p=this.options.attrkey,b=this.options.charkey,this.saxParser.onopentag=function(w){return function(_){var C,E,T,R,k;if(T={},T[b]="",!w.options.ignoreAttrs){k=_.attributes;for(C in k)m.call(k,C)&&(!(p in T)&&!w.options.mergeAttrs&&(T[p]={}),E=w.options.attrValueProcessors?i(w.options.attrValueProcessors,_.attributes[C],C):_.attributes[C],R=w.options.attrNameProcessors?i(w.options.attrNameProcessors,C):C,w.options.mergeAttrs?w.assignOrPush(T,R,E):o(T[p],R,E))}return T["#name"]=w.options.tagNameProcessors?i(w.options.tagNameProcessors,_.name):_.name,w.options.xmlns&&(T[w.options.xmlnskey]={uri:_.uri,local:_.local}),S.push(T)}}(this),this.saxParser.onclosetag=function(w){return function(){var _,C,E,T,R,k,P,L,O,N;if(k=S.pop(),R=k["#name"],(!w.options.explicitChildren||!w.options.preserveChildrenOrder)&&delete k["#name"],k.cdata===!0&&(_=k.cdata,delete k.cdata),O=S[S.length-1],k[b].match(/^\s*$/)&&!_?(C=k[b],delete k[b]):(w.options.trim&&(k[b]=k[b].trim()),w.options.normalize&&(k[b]=k[b].replace(/\s{2,}/g," ").trim()),k[b]=w.options.valueProcessors?i(w.options.valueProcessors,k[b],R):k[b],Object.keys(k).length===1&&b in k&&!w.EXPLICIT_CHARKEY&&(k=k[b])),u(k)&&(typeof w.options.emptyTag=="function"?k=w.options.emptyTag():k=w.options.emptyTag!==""?w.options.emptyTag:C),w.options.validator!=null&&(N="/"+function(){var H,V,B;for(B=[],H=0,V=S.length;H<V;H++)T=S[H],B.push(T["#name"]);return B}().concat(R).join("/"),function(){var H;try{return k=w.options.validator(N,O&&O[R],k)}catch(V){return H=V,w.emit("error",H)}}()),w.options.explicitChildren&&!w.options.mergeAttrs&&typeof k=="object"){if(!w.options.preserveChildrenOrder)T={},w.options.attrkey in k&&(T[w.options.attrkey]=k[w.options.attrkey],delete k[w.options.attrkey]),!w.options.charsAsChildren&&w.options.charkey in k&&(T[w.options.charkey]=k[w.options.charkey],delete k[w.options.charkey]),Object.getOwnPropertyNames(k).length>0&&(T[w.options.childkey]=k),k=T;else if(O){O[w.options.childkey]=O[w.options.childkey]||[],P={};for(E in k)m.call(k,E)&&o(P,E,k[E]);O[w.options.childkey].push(P),delete k["#name"],Object.keys(k).length===1&&b in k&&!w.EXPLICIT_CHARKEY&&(k=k[b])}}return S.length>0?w.assignOrPush(O,R,k):(w.options.explicitRoot&&(L=k,k={},o(k,R,L)),w.resultObject=k,w.saxParser.ended=!0,w.emit("end",w.resultObject))}}(this),x=function(w){return function(_){var C,E;if(E=S[S.length-1],E)return E[b]+=_,w.options.explicitChildren&&w.options.preserveChildrenOrder&&w.options.charsAsChildren&&(w.options.includeWhiteChars||_.replace(/\\n/g,"").trim()!=="")&&(E[w.options.childkey]=E[w.options.childkey]||[],C={"#name":"__text__"},C[b]=_,w.options.normalize&&(C[b]=C[b].replace(/\s{2,}/g," ").trim()),E[w.options.childkey].push(C)),E}}(this),this.saxParser.ontext=x,this.saxParser.oncdata=function(w){return function(_){var C;if(C=x(_),C)return C.cdata=!0}}(this)},y.prototype.parseString=function(p,b){var x;b!=null&&typeof b=="function"&&(this.on("end",function(S){return this.reset(),b(null,S)}),this.on("error",function(S){return this.reset(),b(S)}));try{return p=p.toString(),p.trim()===""?(this.emit("end",null),!0):(p=c.stripBOM(p),this.options.async?(this.remaining=p,n(this.processAsync),this.saxParser):this.saxParser.write(p).close())}catch(S){if(x=S,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw x}else return this.emit("error",x),this.saxParser.errThrown=!0}},y.prototype.parseStringPromise=function(p){return new Promise(function(b){return function(x,S){return b.parseString(p,function(w,_){return w?S(w):x(_)})}}(this))},y}(l),v.parseString=function(h,y,p){var b,x,S;return p!=null?(typeof p=="function"&&(b=p),typeof y=="object"&&(x=y)):(typeof y=="function"&&(b=y),x={}),S=new v.Parser(x),S.parseString(h,b)},v.parseStringPromise=function(h,y){var p,b;return typeof y=="object"&&(p=y),b=new v.Parser(p),b.parseStringPromise(h)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(e,g,v){(function(){"use strict";var c;c=new RegExp(/(?!xmlns)^.*:/),v.normalize=function(a){return a.toLowerCase()},v.firstCharLowerCase=function(a){return a.charAt(0).toLowerCase()+a.slice(1)},v.stripPrefix=function(a){return a.replace(c,"")},v.parseNumbers=function(a){return isNaN(a)||(a=a%1===0?parseInt(a,10):parseFloat(a)),a},v.parseBooleans=function(a){return/^(?:true|false)$/i.test(a)&&(a=a.toLowerCase()==="true"),a}}).call(this)},{}],426:[function(e,g,v){(function(){"use strict";var c,a,o,l,u=function(r,t){for(var n in t)i.call(t,n)&&(r[n]=t[n]);function s(){this.constructor=r}return s.prototype=t.prototype,r.prototype=new s,r.__super__=t.prototype,r},i={}.hasOwnProperty;a=e("./defaults"),c=e("./builder"),o=e("./parser"),l=e("./processors"),v.defaults=a.defaults,v.processors=l,v.ValidationError=function(r){u(t,r);function t(n){this.message=n}return t}(Error),v.Builder=c.Builder,v.Parser=o.Parser,v.parseString=o.parseString,v.parseStringPromise=o.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(e,g,v){(function(){g.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(e,g,v){(function(){g.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t=[].slice,n={}.hasOwnProperty;c=function(){var s,d,m,h,y,p;if(p=arguments[0],y=2<=arguments.length?t.call(arguments,1):[],u(Object.assign))Object.assign.apply(null,arguments);else for(s=0,m=y.length;s<m;s++)if(h=y[s],h!=null)for(d in h)n.call(h,d)&&(p[d]=h[d]);return p},u=function(s){return!!s&&Object.prototype.toString.call(s)==="[object Function]"},i=function(s){var d;return!!s&&((d=typeof s)=="function"||d==="object")},o=function(s){return u(Array.isArray)?Array.isArray(s):Object.prototype.toString.call(s)==="[object Array]"},l=function(s){var d;if(o(s))return!s.length;for(d in s)if(n.call(s,d))return!1;return!0},r=function(s){var d,m;return i(s)&&(m=Object.getPrototypeOf(s))&&(d=m.constructor)&&typeof d=="function"&&d instanceof d&&Function.prototype.toString.call(d)===Function.prototype.toString.call(Object)},a=function(s){return u(s.valueOf)?s.valueOf():s},g.exports.assign=c,g.exports.isFunction=u,g.exports.isObject=i,g.exports.isArray=o,g.exports.isEmpty=l,g.exports.isPlainObject=r,g.exports.getValue=a}).call(this)},{}],430:[function(e,g,v){(function(){g.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(e,g,v){(function(){var c,a,o;c=e("./NodeType"),o=e("./XMLNode"),g.exports=a=function(){function l(u,i,r){if(this.parent=u,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),i==null)throw new Error("Missing attribute name. "+this.debugInfo(i));this.name=this.stringify.name(i),this.value=this.stringify.attValue(r),this.type=c.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(l.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(l.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return this.value},set:function(u){return this.value=u||""}}),Object.defineProperty(l.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(l.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(l.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(l.prototype,"specified",{get:function(){return!0}}),l.prototype.clone=function(){return Object.create(this)},l.prototype.toString=function(u){return this.options.writer.attribute(this,this.options.writer.filterOptions(u))},l.prototype.debugInfo=function(u){return u=u||this.name,u==null?"parent: <"+this.parent.name+">":"attribute: {"+u+"}, parent: <"+this.parent.name+">"},l.prototype.isEqualNode=function(u){return!(u.namespaceURI!==this.namespaceURI||u.prefix!==this.prefix||u.localName!==this.localName||u.value!==this.value)},l}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;c=e("./NodeType"),o=e("./XMLCharacterData"),g.exports=a=function(i){l(r,i);function r(t,n){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=c.CData,this.value=this.stringify.cdata(n)}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(t){return this.options.writer.cdata(this,this.options.writer.filterOptions(t))},r}(o)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(e,g,v){(function(){var c,a,o=function(u,i){for(var r in i)l.call(i,r)&&(u[r]=i[r]);function t(){this.constructor=u}return t.prototype=i.prototype,u.prototype=new t,u.__super__=i.prototype,u},l={}.hasOwnProperty;a=e("./XMLNode"),g.exports=c=function(u){o(i,u);function i(r){i.__super__.constructor.call(this,r),this.value=""}return Object.defineProperty(i.prototype,"data",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(i.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),i.prototype.clone=function(){return Object.create(this)},i.prototype.substringData=function(r,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.appendData=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.insertData=function(r,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.deleteData=function(r,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.replaceData=function(r,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.isEqualNode=function(r){return!(!i.__super__.isEqualNode.apply(this,arguments).isEqualNode(r)||r.data!==this.data)},i}(a)}).call(this)},{"./XMLNode":450}],434:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;c=e("./NodeType"),a=e("./XMLCharacterData"),g.exports=o=function(i){l(r,i);function r(t,n){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=c.Comment,this.value=this.stringify.comment(n)}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(t){return this.options.writer.comment(this,this.options.writer.filterOptions(t))},r}(a)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(e,g,v){(function(){var c,a,o;a=e("./XMLDOMErrorHandler"),o=e("./XMLDOMStringList"),g.exports=c=function(){function l(){var u;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new a,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=u=Object.create(this.defaultParams)}return Object.defineProperty(l.prototype,"parameterNames",{get:function(){return new o(Object.keys(this.defaultParams))}}),l.prototype.getParameter=function(u){return this.params.hasOwnProperty(u)?this.params[u]:null},l.prototype.canSetParameter=function(u,i){return!0},l.prototype.setParameter=function(u,i){return i!=null?this.params[u]=i:delete this.params[u]},l}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(e,g,v){(function(){var c;g.exports=c=function(){function a(){}return a.prototype.handleError=function(o){throw new Error(o)},a}()}).call(this)},{}],437:[function(e,g,v){(function(){var c;g.exports=c=function(){function a(){}return a.prototype.hasFeature=function(o,l){return!0},a.prototype.createDocumentType=function(o,l,u){throw new Error("This DOM method is not implemented.")},a.prototype.createDocument=function(o,l,u){throw new Error("This DOM method is not implemented.")},a.prototype.createHTMLDocument=function(o){throw new Error("This DOM method is not implemented.")},a.prototype.getFeature=function(o,l){throw new Error("This DOM method is not implemented.")},a}()}).call(this)},{}],438:[function(e,g,v){(function(){var c;g.exports=c=function(){function a(o){this.arr=o||[]}return Object.defineProperty(a.prototype,"length",{get:function(){return this.arr.length}}),a.prototype.item=function(o){return this.arr[o]||null},a.prototype.contains=function(o){return this.arr.indexOf(o)!==-1},a}()}).call(this)},{}],439:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;o=e("./XMLNode"),c=e("./NodeType"),g.exports=a=function(i){l(r,i);function r(t,n,s,d,m,h){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(s==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!d)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!m)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));if(m.indexOf("#")!==0&&(m="#"+m),!m.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(h&&!m.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=c.AttributeDeclaration,this.attributeName=this.stringify.name(s),this.attributeType=this.stringify.dtdAttType(d),h&&(this.defaultValue=this.stringify.dtdAttDefault(h)),this.defaultValueType=m}return r.prototype.toString=function(t){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(t))},r}(o)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;o=e("./XMLNode"),c=e("./NodeType"),g.exports=a=function(i){l(r,i);function r(t,n,s){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());s||(s="(#PCDATA)"),Array.isArray(s)&&(s="("+s.join(",")+")"),this.name=this.stringify.name(n),this.type=c.ElementDeclaration,this.value=this.stringify.dtdElementValue(s)}return r.prototype.toString=function(t){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(t))},r}(o)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(e,g,v){(function(){var c,a,o,l,u=function(r,t){for(var n in t)i.call(t,n)&&(r[n]=t[n]);function s(){this.constructor=r}return s.prototype=t.prototype,r.prototype=new s,r.__super__=t.prototype,r},i={}.hasOwnProperty;l=e("./Utility").isObject,o=e("./XMLNode"),c=e("./NodeType"),g.exports=a=function(r){u(t,r);function t(n,s,d,m){if(t.__super__.constructor.call(this,n),d==null)throw new Error("Missing DTD entity name. "+this.debugInfo(d));if(m==null)throw new Error("Missing DTD entity value. "+this.debugInfo(d));if(this.pe=!!s,this.name=this.stringify.name(d),this.type=c.EntityDeclaration,!l(m))this.value=this.stringify.dtdEntityValue(m),this.internal=!0;else{if(!m.pubID&&!m.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(d));if(m.pubID&&!m.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(d));if(this.internal=!1,m.pubID!=null&&(this.pubID=this.stringify.dtdPubID(m.pubID)),m.sysID!=null&&(this.sysID=this.stringify.dtdSysID(m.sysID)),m.nData!=null&&(this.nData=this.stringify.dtdNData(m.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(d))}}return Object.defineProperty(t.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(t.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(t.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(t.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(t.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(t.prototype,"xmlVersion",{get:function(){return null}}),t.prototype.toString=function(n){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(n))},t}(o)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;o=e("./XMLNode"),c=e("./NodeType"),g.exports=a=function(i){l(r,i);function r(t,n,s){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!s.pubID&&!s.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=c.NotationDeclaration,s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID))}return Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),r.prototype.toString=function(t){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(t))},r}(o)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(e,g,v){(function(){var c,a,o,l,u=function(r,t){for(var n in t)i.call(t,n)&&(r[n]=t[n]);function s(){this.constructor=r}return s.prototype=t.prototype,r.prototype=new s,r.__super__=t.prototype,r},i={}.hasOwnProperty;l=e("./Utility").isObject,o=e("./XMLNode"),c=e("./NodeType"),g.exports=a=function(r){u(t,r);function t(n,s,d,m){var h;t.__super__.constructor.call(this,n),l(s)&&(h=s,s=h.version,d=h.encoding,m=h.standalone),s||(s="1.0"),this.type=c.Declaration,this.version=this.stringify.xmlVersion(s),d!=null&&(this.encoding=this.stringify.xmlEncoding(d)),m!=null&&(this.standalone=this.stringify.xmlStandalone(m))}return t.prototype.toString=function(n){return this.options.writer.declaration(this,this.options.writer.filterOptions(n))},t}(o)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t,n,s=function(m,h){for(var y in h)d.call(h,y)&&(m[y]=h[y]);function p(){this.constructor=m}return p.prototype=h.prototype,m.prototype=new p,m.__super__=h.prototype,m},d={}.hasOwnProperty;n=e("./Utility").isObject,t=e("./XMLNode"),c=e("./NodeType"),a=e("./XMLDTDAttList"),l=e("./XMLDTDEntity"),o=e("./XMLDTDElement"),u=e("./XMLDTDNotation"),r=e("./XMLNamedNodeMap"),g.exports=i=function(m){s(h,m);function h(y,p,b){var x,S,w,_,C,E;if(h.__super__.constructor.call(this,y),this.type=c.DocType,y.children){for(_=y.children,S=0,w=_.length;S<w;S++)if(x=_[S],x.type===c.Element){this.name=x.name;break}}this.documentObject=y,n(p)&&(C=p,p=C.pubID,b=C.sysID),b==null&&(E=[p,b],b=E[0],p=E[1]),p!=null&&(this.pubID=this.stringify.dtdPubID(p)),b!=null&&(this.sysID=this.stringify.dtdSysID(b))}return Object.defineProperty(h.prototype,"entities",{get:function(){var y,p,b,x,S;for(x={},S=this.children,p=0,b=S.length;p<b;p++)y=S[p],y.type===c.EntityDeclaration&&!y.pe&&(x[y.name]=y);return new r(x)}}),Object.defineProperty(h.prototype,"notations",{get:function(){var y,p,b,x,S;for(x={},S=this.children,p=0,b=S.length;p<b;p++)y=S[p],y.type===c.NotationDeclaration&&(x[y.name]=y);return new r(x)}}),Object.defineProperty(h.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(h.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(h.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),h.prototype.element=function(y,p){var b;return b=new o(this,y,p),this.children.push(b),this},h.prototype.attList=function(y,p,b,x,S){var w;return w=new a(this,y,p,b,x,S),this.children.push(w),this},h.prototype.entity=function(y,p){var b;return b=new l(this,!1,y,p),this.children.push(b),this},h.prototype.pEntity=function(y,p){var b;return b=new l(this,!0,y,p),this.children.push(b),this},h.prototype.notation=function(y,p){var b;return b=new u(this,y,p),this.children.push(b),this},h.prototype.toString=function(y){return this.options.writer.docType(this,this.options.writer.filterOptions(y))},h.prototype.ele=function(y,p){return this.element(y,p)},h.prototype.att=function(y,p,b,x,S){return this.attList(y,p,b,x,S)},h.prototype.ent=function(y,p){return this.entity(y,p)},h.prototype.pent=function(y,p){return this.pEntity(y,p)},h.prototype.not=function(y,p){return this.notation(y,p)},h.prototype.up=function(){return this.root()||this.documentObject},h.prototype.isEqualNode=function(y){return!(!h.__super__.isEqualNode.apply(this,arguments).isEqualNode(y)||y.name!==this.name||y.publicId!==this.publicId||y.systemId!==this.systemId)},h}(t)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t,n=function(d,m){for(var h in m)s.call(m,h)&&(d[h]=m[h]);function y(){this.constructor=d}return y.prototype=m.prototype,d.prototype=new y,d.__super__=m.prototype,d},s={}.hasOwnProperty;t=e("./Utility").isPlainObject,o=e("./XMLDOMImplementation"),a=e("./XMLDOMConfiguration"),u=e("./XMLNode"),c=e("./NodeType"),r=e("./XMLStringifier"),i=e("./XMLStringWriter"),g.exports=l=function(d){n(m,d);function m(h){m.__super__.constructor.call(this,null),this.name="#document",this.type=c.Document,this.documentURI=null,this.domConfig=new a,h||(h={}),h.writer||(h.writer=new i),this.options=h,this.stringify=new r(h)}return Object.defineProperty(m.prototype,"implementation",{value:new o}),Object.defineProperty(m.prototype,"doctype",{get:function(){var h,y,p,b;for(b=this.children,y=0,p=b.length;y<p;y++)if(h=b[y],h.type===c.DocType)return h;return null}}),Object.defineProperty(m.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(m.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(m.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(m.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===c.Declaration?this.children[0].encoding:null}}),Object.defineProperty(m.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===c.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(m.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===c.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(m.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(m.prototype,"origin",{get:function(){return null}}),Object.defineProperty(m.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(m.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(m.prototype,"contentType",{get:function(){return null}}),m.prototype.end=function(h){var y;return y={},h?t(h)&&(y=h,h=this.options.writer):h=this.options.writer,h.document(this,h.filterOptions(y))},m.prototype.toString=function(h){return this.options.writer.document(this,this.options.writer.filterOptions(h))},m.prototype.createElement=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createTextNode=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createComment=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createCDATASection=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createProcessingInstruction=function(h,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createAttribute=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createEntityReference=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementsByTagName=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.importNode=function(h,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createElementNS=function(h,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createAttributeNS=function(h,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementsByTagNameNS=function(h,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementById=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.adoptNode=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.renameNode=function(h,y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementsByClassName=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createEvent=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createNodeIterator=function(h,y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createTreeWalker=function(h,y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},m}(u)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t,n,s,d,m,h,y,p,b,x,S,w,_,C,E,T,R,k={}.hasOwnProperty;R=e("./Utility"),E=R.isObject,C=R.isFunction,T=R.isPlainObject,_=R.getValue,c=e("./NodeType"),m=e("./XMLDocument"),y=e("./XMLElement"),l=e("./XMLCData"),u=e("./XMLComment"),b=e("./XMLRaw"),w=e("./XMLText"),p=e("./XMLProcessingInstruction"),s=e("./XMLDeclaration"),d=e("./XMLDocType"),i=e("./XMLDTDAttList"),t=e("./XMLDTDEntity"),r=e("./XMLDTDElement"),n=e("./XMLDTDNotation"),o=e("./XMLAttribute"),S=e("./XMLStringifier"),x=e("./XMLStringWriter"),a=e("./WriterState"),g.exports=h=function(){function P(L,O,N){var H;this.name="?xml",this.type=c.Document,L||(L={}),H={},L.writer?T(L.writer)&&(H=L.writer,L.writer=new x):L.writer=new x,this.options=L,this.writer=L.writer,this.writerOptions=this.writer.filterOptions(H),this.stringify=new S(L),this.onDataCallback=O||function(){},this.onEndCallback=N||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return P.prototype.createChildNode=function(L){var O,N,H,V,B,te,ee,J;switch(L.type){case c.CData:this.cdata(L.value);break;case c.Comment:this.comment(L.value);break;case c.Element:H={},ee=L.attribs;for(N in ee)k.call(ee,N)&&(O=ee[N],H[N]=O.value);this.node(L.name,H);break;case c.Dummy:this.dummy();break;case c.Raw:this.raw(L.value);break;case c.Text:this.text(L.value);break;case c.ProcessingInstruction:this.instruction(L.target,L.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+L.constructor.name)}for(J=L.children,B=0,te=J.length;B<te;B++)V=J[B],this.createChildNode(V),V.type===c.Element&&this.up();return this},P.prototype.dummy=function(){return this},P.prototype.node=function(L,O,N){var H;if(L==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(L));return this.openCurrent(),L=_(L),O==null&&(O={}),O=_(O),E(O)||(H=[O,N],N=H[0],O=H[1]),this.currentNode=new y(this,L,O),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null&&this.text(N),this},P.prototype.element=function(L,O,N){var H,V,B,te,ee,J;if(this.currentNode&&this.currentNode.type===c.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(L)||E(L)||C(L))for(te=this.options.noValidation,this.options.noValidation=!0,J=new m(this.options).element("TEMP_ROOT"),J.element(L),this.options.noValidation=te,ee=J.children,V=0,B=ee.length;V<B;V++)H=ee[V],this.createChildNode(H),H.type===c.Element&&this.up();else this.node(L,O,N);return this},P.prototype.attribute=function(L,O){var N,H;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(L));if(L!=null&&(L=_(L)),E(L))for(N in L)k.call(L,N)&&(H=L[N],this.attribute(N,H));else C(O)&&(O=O.apply()),this.options.keepNullAttributes&&O==null?this.currentNode.attribs[L]=new o(this,L,""):O!=null&&(this.currentNode.attribs[L]=new o(this,L,O));return this},P.prototype.text=function(L){var O;return this.openCurrent(),O=new w(this,L),this.onData(this.writer.text(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.cdata=function(L){var O;return this.openCurrent(),O=new l(this,L),this.onData(this.writer.cdata(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.comment=function(L){var O;return this.openCurrent(),O=new u(this,L),this.onData(this.writer.comment(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.raw=function(L){var O;return this.openCurrent(),O=new b(this,L),this.onData(this.writer.raw(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.instruction=function(L,O){var N,H,V,B,te;if(this.openCurrent(),L!=null&&(L=_(L)),O!=null&&(O=_(O)),Array.isArray(L))for(N=0,B=L.length;N<B;N++)H=L[N],this.instruction(H);else if(E(L))for(H in L)k.call(L,H)&&(V=L[H],this.instruction(H,V));else C(O)&&(O=O.apply()),te=new p(this,L,O),this.onData(this.writer.processingInstruction(te,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},P.prototype.declaration=function(L,O,N){var H;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return H=new s(this,L,O,N),this.onData(this.writer.declaration(H,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.doctype=function(L,O,N){if(this.openCurrent(),L==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new d(this,O,N),this.currentNode.rootNodeName=L,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},P.prototype.dtdElement=function(L,O){var N;return this.openCurrent(),N=new r(this,L,O),this.onData(this.writer.dtdElement(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.attList=function(L,O,N,H,V){var B;return this.openCurrent(),B=new i(this,L,O,N,H,V),this.onData(this.writer.dtdAttList(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.entity=function(L,O){var N;return this.openCurrent(),N=new t(this,!1,L,O),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.pEntity=function(L,O){var N;return this.openCurrent(),N=new t(this,!0,L,O),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.notation=function(L,O){var N;return this.openCurrent(),N=new n(this,L,O),this.onData(this.writer.dtdNotation(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},P.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},P.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},P.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},P.prototype.openNode=function(L){var O,N,H,V;if(!L.isOpen){if(!this.root&&this.currentLevel===0&&L.type===c.Element&&(this.root=L),N="",L.type===c.Element){this.writerOptions.state=a.OpenTag,N=this.writer.indent(L,this.writerOptions,this.currentLevel)+"<"+L.name,V=L.attribs;for(H in V)k.call(V,H)&&(O=V[H],N+=this.writer.attribute(O,this.writerOptions,this.currentLevel));N+=(L.children?">":"/>")+this.writer.endline(L,this.writerOptions,this.currentLevel),this.writerOptions.state=a.InsideTag}else this.writerOptions.state=a.OpenTag,N=this.writer.indent(L,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+L.rootNodeName,L.pubID&&L.sysID?N+=' PUBLIC "'+L.pubID+'" "'+L.sysID+'"':L.sysID&&(N+=' SYSTEM "'+L.sysID+'"'),L.children?(N+=" [",this.writerOptions.state=a.InsideTag):(this.writerOptions.state=a.CloseTag,N+=">"),N+=this.writer.endline(L,this.writerOptions,this.currentLevel);return this.onData(N,this.currentLevel),L.isOpen=!0}},P.prototype.closeNode=function(L){var O;if(!L.isClosed)return O="",this.writerOptions.state=a.CloseTag,L.type===c.Element?O=this.writer.indent(L,this.writerOptions,this.currentLevel)+"</"+L.name+">"+this.writer.endline(L,this.writerOptions,this.currentLevel):O=this.writer.indent(L,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(L,this.writerOptions,this.currentLevel),this.writerOptions.state=a.None,this.onData(O,this.currentLevel),L.isClosed=!0},P.prototype.onData=function(L,O){return this.documentStarted=!0,this.onDataCallback(L,O+1)},P.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},P.prototype.debugInfo=function(L){return L==null?"":"node: <"+L+">"},P.prototype.ele=function(){return this.element.apply(this,arguments)},P.prototype.nod=function(L,O,N){return this.node(L,O,N)},P.prototype.txt=function(L){return this.text(L)},P.prototype.dat=function(L){return this.cdata(L)},P.prototype.com=function(L){return this.comment(L)},P.prototype.ins=function(L,O){return this.instruction(L,O)},P.prototype.dec=function(L,O,N){return this.declaration(L,O,N)},P.prototype.dtd=function(L,O,N){return this.doctype(L,O,N)},P.prototype.e=function(L,O,N){return this.element(L,O,N)},P.prototype.n=function(L,O,N){return this.node(L,O,N)},P.prototype.t=function(L){return this.text(L)},P.prototype.d=function(L){return this.cdata(L)},P.prototype.c=function(L){return this.comment(L)},P.prototype.r=function(L){return this.raw(L)},P.prototype.i=function(L,O){return this.instruction(L,O)},P.prototype.att=function(){return this.currentNode&&this.currentNode.type===c.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},P.prototype.a=function(){return this.currentNode&&this.currentNode.type===c.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},P.prototype.ent=function(L,O){return this.entity(L,O)},P.prototype.pent=function(L,O){return this.pEntity(L,O)},P.prototype.not=function(L,O){return this.notation(L,O)},P}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;o=e("./XMLNode"),c=e("./NodeType"),g.exports=a=function(i){l(r,i);function r(t){r.__super__.constructor.call(this,t),this.type=c.Dummy}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(t){return""},r}(o)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t,n,s=function(m,h){for(var y in h)d.call(h,y)&&(m[y]=h[y]);function p(){this.constructor=m}return p.prototype=h.prototype,m.prototype=new p,m.__super__=h.prototype,m},d={}.hasOwnProperty;n=e("./Utility"),t=n.isObject,r=n.isFunction,i=n.getValue,u=e("./XMLNode"),c=e("./NodeType"),a=e("./XMLAttribute"),l=e("./XMLNamedNodeMap"),g.exports=o=function(m){s(h,m);function h(y,p,b){var x,S,w,_;if(h.__super__.constructor.call(this,y),p==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(p),this.type=c.Element,this.attribs={},this.schemaTypeInfo=null,b!=null&&this.attribute(b),y.type===c.Document&&(this.isRoot=!0,this.documentObject=y,y.rootObject=this,y.children)){for(_=y.children,S=0,w=_.length;S<w;S++)if(x=_[S],x.type===c.DocType){x.name=this.name;break}}}return Object.defineProperty(h.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(h.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(h.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(h.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(h.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(h.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(h.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(h.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new l(this.attribs)),this.attributeMap}}),h.prototype.clone=function(){var y,p,b,x;b=Object.create(this),b.isRoot&&(b.documentObject=null),b.attribs={},x=this.attribs;for(p in x)d.call(x,p)&&(y=x[p],b.attribs[p]=y.clone());return b.children=[],this.children.forEach(function(S){var w;return w=S.clone(),w.parent=b,b.children.push(w)}),b},h.prototype.attribute=function(y,p){var b,x;if(y!=null&&(y=i(y)),t(y))for(b in y)d.call(y,b)&&(x=y[b],this.attribute(b,x));else r(p)&&(p=p.apply()),this.options.keepNullAttributes&&p==null?this.attribs[y]=new a(this,y,""):p!=null&&(this.attribs[y]=new a(this,y,p));return this},h.prototype.removeAttribute=function(y){var p,b,x;if(y==null)throw new Error("Missing attribute name. "+this.debugInfo());if(y=i(y),Array.isArray(y))for(b=0,x=y.length;b<x;b++)p=y[b],delete this.attribs[p];else delete this.attribs[y];return this},h.prototype.toString=function(y){return this.options.writer.element(this,this.options.writer.filterOptions(y))},h.prototype.att=function(y,p){return this.attribute(y,p)},h.prototype.a=function(y,p){return this.attribute(y,p)},h.prototype.getAttribute=function(y){return this.attribs.hasOwnProperty(y)?this.attribs[y].value:null},h.prototype.setAttribute=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getAttributeNode=function(y){return this.attribs.hasOwnProperty(y)?this.attribs[y]:null},h.prototype.setAttributeNode=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.removeAttributeNode=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getElementsByTagName=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getAttributeNS=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.setAttributeNS=function(y,p,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.removeAttributeNS=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getAttributeNodeNS=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.setAttributeNodeNS=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getElementsByTagNameNS=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.hasAttribute=function(y){return this.attribs.hasOwnProperty(y)},h.prototype.hasAttributeNS=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.setIdAttribute=function(y,p){return this.attribs.hasOwnProperty(y)?this.attribs[y].isId:p},h.prototype.setIdAttributeNS=function(y,p,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.setIdAttributeNode=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getElementsByTagName=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getElementsByTagNameNS=function(y,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.getElementsByClassName=function(y){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.isEqualNode=function(y){var p,b,x;if(!h.__super__.isEqualNode.apply(this,arguments).isEqualNode(y)||y.namespaceURI!==this.namespaceURI||y.prefix!==this.prefix||y.localName!==this.localName||y.attribs.length!==this.attribs.length)return!1;for(p=b=0,x=this.attribs.length-1;0<=x?b<=x:b>=x;p=0<=x?++b:--b)if(!this.attribs[p].isEqualNode(y.attribs[p]))return!1;return!0},h}(u)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(e,g,v){(function(){var c;g.exports=c=function(){function a(o){this.nodes=o}return Object.defineProperty(a.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),a.prototype.clone=function(){return this.nodes=null},a.prototype.getNamedItem=function(o){return this.nodes[o]},a.prototype.setNamedItem=function(o){var l;return l=this.nodes[o.nodeName],this.nodes[o.nodeName]=o,l||null},a.prototype.removeNamedItem=function(o){var l;return l=this.nodes[o],delete this.nodes[o],l||null},a.prototype.item=function(o){return this.nodes[Object.keys(this.nodes)[o]]||null},a.prototype.getNamedItemNS=function(o,l){throw new Error("This DOM method is not implemented.")},a.prototype.setNamedItemNS=function(o){throw new Error("This DOM method is not implemented.")},a.prototype.removeNamedItemNS=function(o,l){throw new Error("This DOM method is not implemented.")},a}()}).call(this)},{}],450:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t,n,s,d,m,h,y,p,b,x,S,w,_={}.hasOwnProperty;w=e("./Utility"),S=w.isObject,x=w.isFunction,b=w.isEmpty,p=w.getValue,t=null,o=null,l=null,u=null,i=null,h=null,y=null,m=null,r=null,a=null,d=null,n=null,c=null,g.exports=s=function(){function C(E){this.parent=E,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,t||(t=e("./XMLElement"),o=e("./XMLCData"),l=e("./XMLComment"),u=e("./XMLDeclaration"),i=e("./XMLDocType"),h=e("./XMLRaw"),y=e("./XMLText"),m=e("./XMLProcessingInstruction"),r=e("./XMLDummy"),a=e("./NodeType"),d=e("./XMLNodeList"),n=e("./XMLNamedNodeMap"),c=e("./DocumentPosition"))}return Object.defineProperty(C.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(C.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(C.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(C.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(C.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new d(this.children)),this.childNodeList}}),Object.defineProperty(C.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(C.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(C.prototype,"previousSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E-1]||null}}),Object.defineProperty(C.prototype,"nextSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E+1]||null}}),Object.defineProperty(C.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(C.prototype,"textContent",{get:function(){var E,T,R,k,P;if(this.nodeType===a.Element||this.nodeType===a.DocumentFragment){for(P="",k=this.children,T=0,R=k.length;T<R;T++)E=k[T],E.textContent&&(P+=E.textContent);return P}else return null},set:function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),C.prototype.setParent=function(E){var T,R,k,P,L;for(this.parent=E,E&&(this.options=E.options,this.stringify=E.stringify),P=this.children,L=[],R=0,k=P.length;R<k;R++)T=P[R],L.push(T.setParent(this));return L},C.prototype.element=function(E,T,R){var k,P,L,O,N,H,V,B,te,ee,J;if(H=null,T===null&&R==null&&(te=[{},null],T=te[0],R=te[1]),T==null&&(T={}),T=p(T),S(T)||(ee=[T,R],R=ee[0],T=ee[1]),E!=null&&(E=p(E)),Array.isArray(E))for(L=0,V=E.length;L<V;L++)P=E[L],H=this.element(P);else if(x(E))H=this.element(E.apply());else if(S(E)){for(N in E)if(_.call(E,N))if(J=E[N],x(J)&&(J=J.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)H=this.attribute(N.substr(this.stringify.convertAttKey.length),J);else if(!this.options.separateArrayItems&&Array.isArray(J)&&b(J))H=this.dummy();else if(S(J)&&b(J))H=this.element(N);else if(!this.options.keepNullNodes&&J==null)H=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(J))for(O=0,B=J.length;O<B;O++)P=J[O],k={},k[N]=P,H=this.element(k);else S(J)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&N.indexOf(this.stringify.convertTextKey)===0?H=this.element(J):(H=this.element(N),H.element(J)):H=this.element(N,J)}else!this.options.keepNullNodes&&R===null?H=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&E.indexOf(this.stringify.convertTextKey)===0?H=this.text(R):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&E.indexOf(this.stringify.convertCDataKey)===0?H=this.cdata(R):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&E.indexOf(this.stringify.convertCommentKey)===0?H=this.comment(R):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&E.indexOf(this.stringify.convertRawKey)===0?H=this.raw(R):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&E.indexOf(this.stringify.convertPIKey)===0?H=this.instruction(E.substr(this.stringify.convertPIKey.length),R):H=this.node(E,T,R);if(H==null)throw new Error("Could not create any elements with: "+E+". "+this.debugInfo());return H},C.prototype.insertBefore=function(E,T,R){var k,P,L,O,N;if(E!=null&&E.type)return L=E,O=T,L.setParent(this),O?(P=children.indexOf(O),N=children.splice(P),children.push(L),Array.prototype.push.apply(children,N)):children.push(L),L;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(E));return P=this.parent.children.indexOf(this),N=this.parent.children.splice(P),k=this.parent.element(E,T,R),Array.prototype.push.apply(this.parent.children,N),k},C.prototype.insertAfter=function(E,T,R){var k,P,L;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(E));return P=this.parent.children.indexOf(this),L=this.parent.children.splice(P+1),k=this.parent.element(E,T,R),Array.prototype.push.apply(this.parent.children,L),k},C.prototype.remove=function(){var E,T;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return E=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[E,E-E+1].concat(T=[])),this.parent},C.prototype.node=function(E,T,R){var k,P;return E!=null&&(E=p(E)),T||(T={}),T=p(T),S(T)||(P=[T,R],R=P[0],T=P[1]),k=new t(this,E,T),R!=null&&k.text(R),this.children.push(k),k},C.prototype.text=function(E){var T;return S(E)&&this.element(E),T=new y(this,E),this.children.push(T),this},C.prototype.cdata=function(E){var T;return T=new o(this,E),this.children.push(T),this},C.prototype.comment=function(E){var T;return T=new l(this,E),this.children.push(T),this},C.prototype.commentBefore=function(E){var T,R,k;return R=this.parent.children.indexOf(this),k=this.parent.children.splice(R),T=this.parent.comment(E),Array.prototype.push.apply(this.parent.children,k),this},C.prototype.commentAfter=function(E){var T,R,k;return R=this.parent.children.indexOf(this),k=this.parent.children.splice(R+1),T=this.parent.comment(E),Array.prototype.push.apply(this.parent.children,k),this},C.prototype.raw=function(E){var T;return T=new h(this,E),this.children.push(T),this},C.prototype.dummy=function(){var E;return E=new r(this),E},C.prototype.instruction=function(E,T){var R,k,P,L,O;if(E!=null&&(E=p(E)),T!=null&&(T=p(T)),Array.isArray(E))for(L=0,O=E.length;L<O;L++)R=E[L],this.instruction(R);else if(S(E))for(R in E)_.call(E,R)&&(k=E[R],this.instruction(R,k));else x(T)&&(T=T.apply()),P=new m(this,E,T),this.children.push(P);return this},C.prototype.instructionBefore=function(E,T){var R,k,P;return k=this.parent.children.indexOf(this),P=this.parent.children.splice(k),R=this.parent.instruction(E,T),Array.prototype.push.apply(this.parent.children,P),this},C.prototype.instructionAfter=function(E,T){var R,k,P;return k=this.parent.children.indexOf(this),P=this.parent.children.splice(k+1),R=this.parent.instruction(E,T),Array.prototype.push.apply(this.parent.children,P),this},C.prototype.declaration=function(E,T,R){var k,P;return k=this.document(),P=new u(k,E,T,R),k.children.length===0?k.children.unshift(P):k.children[0].type===a.Declaration?k.children[0]=P:k.children.unshift(P),k.root()||k},C.prototype.dtd=function(E,T){var R,k,P,L,O,N,H,V,B,te;for(k=this.document(),P=new i(k,E,T),B=k.children,L=O=0,H=B.length;O<H;L=++O)if(R=B[L],R.type===a.DocType)return k.children[L]=P,P;for(te=k.children,L=N=0,V=te.length;N<V;L=++N)if(R=te[L],R.isRoot)return k.children.splice(L,0,P),P;return k.children.push(P),P},C.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},C.prototype.root=function(){var E;for(E=this;E;){if(E.type===a.Document)return E.rootObject;if(E.isRoot)return E;E=E.parent}},C.prototype.document=function(){var E;for(E=this;E;){if(E.type===a.Document)return E;E=E.parent}},C.prototype.end=function(E){return this.document().end(E)},C.prototype.prev=function(){var E;if(E=this.parent.children.indexOf(this),E<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[E-1]},C.prototype.next=function(){var E;if(E=this.parent.children.indexOf(this),E===-1||E===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[E+1]},C.prototype.importDocument=function(E){var T;return T=E.root().clone(),T.parent=this,T.isRoot=!1,this.children.push(T),this},C.prototype.debugInfo=function(E){var T,R;return E=E||this.name,E==null&&!((T=this.parent)!=null&&T.name)?"":E==null?"parent: <"+this.parent.name+">":(R=this.parent)!=null&&R.name?"node: <"+E+">, parent: <"+this.parent.name+">":"node: <"+E+">"},C.prototype.ele=function(E,T,R){return this.element(E,T,R)},C.prototype.nod=function(E,T,R){return this.node(E,T,R)},C.prototype.txt=function(E){return this.text(E)},C.prototype.dat=function(E){return this.cdata(E)},C.prototype.com=function(E){return this.comment(E)},C.prototype.ins=function(E,T){return this.instruction(E,T)},C.prototype.doc=function(){return this.document()},C.prototype.dec=function(E,T,R){return this.declaration(E,T,R)},C.prototype.e=function(E,T,R){return this.element(E,T,R)},C.prototype.n=function(E,T,R){return this.node(E,T,R)},C.prototype.t=function(E){return this.text(E)},C.prototype.d=function(E){return this.cdata(E)},C.prototype.c=function(E){return this.comment(E)},C.prototype.r=function(E){return this.raw(E)},C.prototype.i=function(E,T){return this.instruction(E,T)},C.prototype.u=function(){return this.up()},C.prototype.importXMLBuilder=function(E){return this.importDocument(E)},C.prototype.replaceChild=function(E,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.removeChild=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.appendChild=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.hasChildNodes=function(){return this.children.length!==0},C.prototype.cloneNode=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.isSupported=function(E,T){return!0},C.prototype.hasAttributes=function(){return this.attribs.length!==0},C.prototype.compareDocumentPosition=function(E){var T,R;return T=this,T===E?0:this.document()!==E.document()?(R=c.Disconnected|c.ImplementationSpecific,Math.random()<.5?R|=c.Preceding:R|=c.Following,R):T.isAncestor(E)?c.Contains|c.Preceding:T.isDescendant(E)?c.Contains|c.Following:T.isPreceding(E)?c.Preceding:c.Following},C.prototype.isSameNode=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.lookupPrefix=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.isDefaultNamespace=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.lookupNamespaceURI=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.isEqualNode=function(E){var T,R,k;if(E.nodeType!==this.nodeType||E.children.length!==this.children.length)return!1;for(T=R=0,k=this.children.length-1;0<=k?R<=k:R>=k;T=0<=k?++R:--R)if(!this.children[T].isEqualNode(E.children[T]))return!1;return!0},C.prototype.getFeature=function(E,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.setUserData=function(E,T,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.getUserData=function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.contains=function(E){return E?E===this||this.isDescendant(E):!1},C.prototype.isDescendant=function(E){var T,R,k,P,L;for(L=this.children,k=0,P=L.length;k<P;k++)if(T=L[k],E===T||(R=T.isDescendant(E),R))return!0;return!1},C.prototype.isAncestor=function(E){return E.isDescendant(this)},C.prototype.isPreceding=function(E){var T,R;return T=this.treePosition(E),R=this.treePosition(this),T===-1||R===-1?!1:T<R},C.prototype.isFollowing=function(E){var T,R;return T=this.treePosition(E),R=this.treePosition(this),T===-1||R===-1?!1:T>R},C.prototype.treePosition=function(E){var T,R;return R=0,T=!1,this.foreachTreeNode(this.document(),function(k){if(R++,!T&&k===E)return T=!0}),T?R:-1},C.prototype.foreachTreeNode=function(E,T){var R,k,P,L,O;for(E||(E=this.document()),L=E.children,k=0,P=L.length;k<P;k++){if(R=L[k],O=T(R))return O;if(O=this.foreachTreeNode(R,T),O)return O}},C}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(e,g,v){(function(){var c;g.exports=c=function(){function a(o){this.nodes=o}return Object.defineProperty(a.prototype,"length",{get:function(){return this.nodes.length||0}}),a.prototype.clone=function(){return this.nodes=null},a.prototype.item=function(o){return this.nodes[o]||null},a}()}).call(this)},{}],452:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;c=e("./NodeType"),a=e("./XMLCharacterData"),g.exports=o=function(i){l(r,i);function r(t,n,s){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=c.ProcessingInstruction,this.target=this.stringify.insTarget(n),this.name=this.target,s&&(this.value=this.stringify.insValue(s))}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(t){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(t))},r.prototype.isEqualNode=function(t){return!(!r.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)||t.target!==this.target)},r}(a)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;c=e("./NodeType"),a=e("./XMLNode"),g.exports=o=function(i){l(r,i);function r(t,n){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=c.Raw,this.value=this.stringify.raw(n)}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(t){return this.options.writer.raw(this,this.options.writer.filterOptions(t))},r}(a)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(e,g,v){(function(){var c,a,o,l,u=function(r,t){for(var n in t)i.call(t,n)&&(r[n]=t[n]);function s(){this.constructor=r}return s.prototype=t.prototype,r.prototype=new s,r.__super__=t.prototype,r},i={}.hasOwnProperty;c=e("./NodeType"),l=e("./XMLWriterBase"),a=e("./WriterState"),g.exports=o=function(r){u(t,r);function t(n,s){this.stream=n,t.__super__.constructor.call(this,s)}return t.prototype.endline=function(n,s,d){return n.isLastRootNode&&s.state===a.CloseTag?"":t.__super__.endline.call(this,n,s,d)},t.prototype.document=function(n,s){var d,m,h,y,p,b,x,S,w;for(x=n.children,m=h=0,p=x.length;h<p;m=++h)d=x[m],d.isLastRootNode=m===n.children.length-1;for(s=this.filterOptions(s),S=n.children,w=[],y=0,b=S.length;y<b;y++)d=S[y],w.push(this.writeChildNode(d,s,0));return w},t.prototype.attribute=function(n,s,d){return this.stream.write(t.__super__.attribute.call(this,n,s,d))},t.prototype.cdata=function(n,s,d){return this.stream.write(t.__super__.cdata.call(this,n,s,d))},t.prototype.comment=function(n,s,d){return this.stream.write(t.__super__.comment.call(this,n,s,d))},t.prototype.declaration=function(n,s,d){return this.stream.write(t.__super__.declaration.call(this,n,s,d))},t.prototype.docType=function(n,s,d){var m,h,y,p;if(d||(d=0),this.openNode(n,s,d),s.state=a.OpenTag,this.stream.write(this.indent(n,s,d)),this.stream.write("<!DOCTYPE "+n.root().name),n.pubID&&n.sysID?this.stream.write(' PUBLIC "'+n.pubID+'" "'+n.sysID+'"'):n.sysID&&this.stream.write(' SYSTEM "'+n.sysID+'"'),n.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(n,s,d)),s.state=a.InsideTag,p=n.children,h=0,y=p.length;h<y;h++)m=p[h],this.writeChildNode(m,s,d+1);s.state=a.CloseTag,this.stream.write("]")}return s.state=a.CloseTag,this.stream.write(s.spaceBeforeSlash+">"),this.stream.write(this.endline(n,s,d)),s.state=a.None,this.closeNode(n,s,d)},t.prototype.element=function(n,s,d){var m,h,y,p,b,x,S,w,_,C;d||(d=0),this.openNode(n,s,d),s.state=a.OpenTag,this.stream.write(this.indent(n,s,d)+"<"+n.name),_=n.attribs;for(S in _)i.call(_,S)&&(m=_[S],this.attribute(m,s,d));if(y=n.children.length,p=y===0?null:n.children[0],y===0||n.children.every(function(E){return(E.type===c.Text||E.type===c.Raw)&&E.value===""}))s.allowEmpty?(this.stream.write(">"),s.state=a.CloseTag,this.stream.write("</"+n.name+">")):(s.state=a.CloseTag,this.stream.write(s.spaceBeforeSlash+"/>"));else if(s.pretty&&y===1&&(p.type===c.Text||p.type===c.Raw)&&p.value!=null)this.stream.write(">"),s.state=a.InsideTag,s.suppressPrettyCount++,w=!0,this.writeChildNode(p,s,d+1),s.suppressPrettyCount--,w=!1,s.state=a.CloseTag,this.stream.write("</"+n.name+">");else{for(this.stream.write(">"+this.endline(n,s,d)),s.state=a.InsideTag,C=n.children,b=0,x=C.length;b<x;b++)h=C[b],this.writeChildNode(h,s,d+1);s.state=a.CloseTag,this.stream.write(this.indent(n,s,d)+"</"+n.name+">")}return this.stream.write(this.endline(n,s,d)),s.state=a.None,this.closeNode(n,s,d)},t.prototype.processingInstruction=function(n,s,d){return this.stream.write(t.__super__.processingInstruction.call(this,n,s,d))},t.prototype.raw=function(n,s,d){return this.stream.write(t.__super__.raw.call(this,n,s,d))},t.prototype.text=function(n,s,d){return this.stream.write(t.__super__.text.call(this,n,s,d))},t.prototype.dtdAttList=function(n,s,d){return this.stream.write(t.__super__.dtdAttList.call(this,n,s,d))},t.prototype.dtdElement=function(n,s,d){return this.stream.write(t.__super__.dtdElement.call(this,n,s,d))},t.prototype.dtdEntity=function(n,s,d){return this.stream.write(t.__super__.dtdEntity.call(this,n,s,d))},t.prototype.dtdNotation=function(n,s,d){return this.stream.write(t.__super__.dtdNotation.call(this,n,s,d))},t}(l)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(e,g,v){(function(){var c,a,o=function(u,i){for(var r in i)l.call(i,r)&&(u[r]=i[r]);function t(){this.constructor=u}return t.prototype=i.prototype,u.prototype=new t,u.__super__=i.prototype,u},l={}.hasOwnProperty;a=e("./XMLWriterBase"),g.exports=c=function(u){o(i,u);function i(r){i.__super__.constructor.call(this,r)}return i.prototype.document=function(r,t){var n,s,d,m,h;for(t=this.filterOptions(t),m="",h=r.children,s=0,d=h.length;s<d;s++)n=h[s],m+=this.writeChildNode(n,t,0);return t.pretty&&m.slice(-t.newline.length)===t.newline&&(m=m.slice(0,-t.newline.length)),m},i}(a)}).call(this)},{"./XMLWriterBase":458}],456:[function(e,g,v){(function(){var c,a=function(l,u){return function(){return l.apply(u,arguments)}},o={}.hasOwnProperty;g.exports=c=function(){function l(u){this.assertLegalName=a(this.assertLegalName,this),this.assertLegalChar=a(this.assertLegalChar,this);var i,r,t;u||(u={}),this.options=u,this.options.version||(this.options.version="1.0"),r=u.stringify||{};for(i in r)o.call(r,i)&&(t=r[i],this[i]=t)}return l.prototype.name=function(u){return this.options.noValidation?u:this.assertLegalName(""+u||"")},l.prototype.text=function(u){return this.options.noValidation?u:this.assertLegalChar(this.textEscape(""+u||""))},l.prototype.cdata=function(u){return this.options.noValidation?u:(u=""+u||"",u=u.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(u))},l.prototype.comment=function(u){if(this.options.noValidation)return u;if(u=""+u||"",u.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+u);return this.assertLegalChar(u)},l.prototype.raw=function(u){return this.options.noValidation?u:""+u||""},l.prototype.attValue=function(u){return this.options.noValidation?u:this.assertLegalChar(this.attEscape(u=""+u||""))},l.prototype.insTarget=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.insValue=function(u){if(this.options.noValidation)return u;if(u=""+u||"",u.match(/\?>/))throw new Error("Invalid processing instruction value: "+u);return this.assertLegalChar(u)},l.prototype.xmlVersion=function(u){if(this.options.noValidation)return u;if(u=""+u||"",!u.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+u);return u},l.prototype.xmlEncoding=function(u){if(this.options.noValidation)return u;if(u=""+u||"",!u.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+u);return this.assertLegalChar(u)},l.prototype.xmlStandalone=function(u){return this.options.noValidation?u:u?"yes":"no"},l.prototype.dtdPubID=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.dtdSysID=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.dtdElementValue=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.dtdAttType=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.dtdAttDefault=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.dtdEntityValue=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.dtdNData=function(u){return this.options.noValidation?u:this.assertLegalChar(""+u||"")},l.prototype.convertAttKey="@",l.prototype.convertPIKey="?",l.prototype.convertTextKey="#text",l.prototype.convertCDataKey="#cdata",l.prototype.convertCommentKey="#comment",l.prototype.convertRawKey="#raw",l.prototype.assertLegalChar=function(u){var i,r;if(this.options.noValidation)return u;if(i="",this.options.version==="1.0"){if(i=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=u.match(i))throw new Error("Invalid character in string: "+u+" at index "+r.index)}else if(this.options.version==="1.1"&&(i=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=u.match(i)))throw new Error("Invalid character in string: "+u+" at index "+r.index);return u},l.prototype.assertLegalName=function(u){var i;if(this.options.noValidation)return u;if(this.assertLegalChar(u),i=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!u.match(i))throw new Error("Invalid character in name");return u},l.prototype.textEscape=function(u){var i;return this.options.noValidation?u:(i=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,u.replace(i,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},l.prototype.attEscape=function(u){var i;return this.options.noValidation?u:(i=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,u.replace(i,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},l}()}).call(this)},{}],457:[function(e,g,v){(function(){var c,a,o,l=function(i,r){for(var t in r)u.call(r,t)&&(i[t]=r[t]);function n(){this.constructor=i}return n.prototype=r.prototype,i.prototype=new n,i.__super__=r.prototype,i},u={}.hasOwnProperty;c=e("./NodeType"),a=e("./XMLCharacterData"),g.exports=o=function(i){l(r,i);function r(t,n){if(r.__super__.constructor.call(this,t),n==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=c.Text,this.value=this.stringify.text(n)}return Object.defineProperty(r.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(r.prototype,"wholeText",{get:function(){var t,n,s;for(s="",n=this.previousSibling;n;)s=n.data+s,n=n.previousSibling;for(s+=this.data,t=this.nextSibling;t;)s=s+t.data,t=t.nextSibling;return s}}),r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(t){return this.options.writer.text(this,this.options.writer.filterOptions(t))},r.prototype.splitText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.replaceWholeText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},r}(a)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t,n,s,d,m,h,y,p,b,x,S={}.hasOwnProperty;x=e("./Utility").assign,c=e("./NodeType"),n=e("./XMLDeclaration"),s=e("./XMLDocType"),o=e("./XMLCData"),l=e("./XMLComment"),m=e("./XMLElement"),y=e("./XMLRaw"),p=e("./XMLText"),h=e("./XMLProcessingInstruction"),d=e("./XMLDummy"),u=e("./XMLDTDAttList"),i=e("./XMLDTDElement"),r=e("./XMLDTDEntity"),t=e("./XMLDTDNotation"),a=e("./WriterState"),g.exports=b=function(){function w(_){var C,E,T;_||(_={}),this.options=_,E=_.writer||{};for(C in E)S.call(E,C)&&(T=E[C],this["_"+C]=this[C],this[C]=T)}return w.prototype.filterOptions=function(_){var C,E,T,R,k,P,L,O;return _||(_={}),_=x({},this.options,_),C={writer:this},C.pretty=_.pretty||!1,C.allowEmpty=_.allowEmpty||!1,C.indent=(E=_.indent)!=null?E:" ",C.newline=(T=_.newline)!=null?T:`
`,C.offset=(R=_.offset)!=null?R:0,C.dontPrettyTextNodes=(k=(P=_.dontPrettyTextNodes)!=null?P:_.dontprettytextnodes)!=null?k:0,C.spaceBeforeSlash=(L=(O=_.spaceBeforeSlash)!=null?O:_.spacebeforeslash)!=null?L:"",C.spaceBeforeSlash===!0&&(C.spaceBeforeSlash=" "),C.suppressPrettyCount=0,C.user={},C.state=a.None,C},w.prototype.indent=function(_,C,E){var T;return!C.pretty||C.suppressPrettyCount?"":C.pretty&&(T=(E||0)+C.offset+1,T>0)?new Array(T).join(C.indent):""},w.prototype.endline=function(_,C,E){return!C.pretty||C.suppressPrettyCount?"":C.newline},w.prototype.attribute=function(_,C,E){var T;return this.openAttribute(_,C,E),T=" "+_.name+'="'+_.value+'"',this.closeAttribute(_,C,E),T},w.prototype.cdata=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<![CDATA[",C.state=a.InsideTag,T+=_.value,C.state=a.CloseTag,T+="]]>"+this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.comment=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<!-- ",C.state=a.InsideTag,T+=_.value,C.state=a.CloseTag,T+=" -->"+this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.declaration=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<?xml",C.state=a.InsideTag,T+=' version="'+_.version+'"',_.encoding!=null&&(T+=' encoding="'+_.encoding+'"'),_.standalone!=null&&(T+=' standalone="'+_.standalone+'"'),C.state=a.CloseTag,T+=C.spaceBeforeSlash+"?>",T+=this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.docType=function(_,C,E){var T,R,k,P,L;if(E||(E=0),this.openNode(_,C,E),C.state=a.OpenTag,P=this.indent(_,C,E),P+="<!DOCTYPE "+_.root().name,_.pubID&&_.sysID?P+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.sysID&&(P+=' SYSTEM "'+_.sysID+'"'),_.children.length>0){for(P+=" [",P+=this.endline(_,C,E),C.state=a.InsideTag,L=_.children,R=0,k=L.length;R<k;R++)T=L[R],P+=this.writeChildNode(T,C,E+1);C.state=a.CloseTag,P+="]"}return C.state=a.CloseTag,P+=C.spaceBeforeSlash+">",P+=this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),P},w.prototype.element=function(_,C,E){var T,R,k,P,L,O,N,H,V,B,te,ee,J,Q;E||(E=0),B=!1,te="",this.openNode(_,C,E),C.state=a.OpenTag,te+=this.indent(_,C,E)+"<"+_.name,ee=_.attribs;for(V in ee)S.call(ee,V)&&(T=ee[V],te+=this.attribute(T,C,E));if(k=_.children.length,P=k===0?null:_.children[0],k===0||_.children.every(function(re){return(re.type===c.Text||re.type===c.Raw)&&re.value===""}))C.allowEmpty?(te+=">",C.state=a.CloseTag,te+="</"+_.name+">"+this.endline(_,C,E)):(C.state=a.CloseTag,te+=C.spaceBeforeSlash+"/>"+this.endline(_,C,E));else if(C.pretty&&k===1&&(P.type===c.Text||P.type===c.Raw)&&P.value!=null)te+=">",C.state=a.InsideTag,C.suppressPrettyCount++,B=!0,te+=this.writeChildNode(P,C,E+1),C.suppressPrettyCount--,B=!1,C.state=a.CloseTag,te+="</"+_.name+">"+this.endline(_,C,E);else{if(C.dontPrettyTextNodes){for(J=_.children,L=0,N=J.length;L<N;L++)if(R=J[L],(R.type===c.Text||R.type===c.Raw)&&R.value!=null){C.suppressPrettyCount++,B=!0;break}}for(te+=">"+this.endline(_,C,E),C.state=a.InsideTag,Q=_.children,O=0,H=Q.length;O<H;O++)R=Q[O],te+=this.writeChildNode(R,C,E+1);C.state=a.CloseTag,te+=this.indent(_,C,E)+"</"+_.name+">",B&&C.suppressPrettyCount--,te+=this.endline(_,C,E),C.state=a.None}return this.closeNode(_,C,E),te},w.prototype.writeChildNode=function(_,C,E){switch(_.type){case c.CData:return this.cdata(_,C,E);case c.Comment:return this.comment(_,C,E);case c.Element:return this.element(_,C,E);case c.Raw:return this.raw(_,C,E);case c.Text:return this.text(_,C,E);case c.ProcessingInstruction:return this.processingInstruction(_,C,E);case c.Dummy:return"";case c.Declaration:return this.declaration(_,C,E);case c.DocType:return this.docType(_,C,E);case c.AttributeDeclaration:return this.dtdAttList(_,C,E);case c.ElementDeclaration:return this.dtdElement(_,C,E);case c.EntityDeclaration:return this.dtdEntity(_,C,E);case c.NotationDeclaration:return this.dtdNotation(_,C,E);default:throw new Error("Unknown XML node type: "+_.constructor.name)}},w.prototype.processingInstruction=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<?",C.state=a.InsideTag,T+=_.target,_.value&&(T+=" "+_.value),C.state=a.CloseTag,T+=C.spaceBeforeSlash+"?>",T+=this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.raw=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E),C.state=a.InsideTag,T+=_.value,C.state=a.CloseTag,T+=this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.text=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E),C.state=a.InsideTag,T+=_.value,C.state=a.CloseTag,T+=this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.dtdAttList=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<!ATTLIST",C.state=a.InsideTag,T+=" "+_.elementName+" "+_.attributeName+" "+_.attributeType,_.defaultValueType!=="#DEFAULT"&&(T+=" "+_.defaultValueType),_.defaultValue&&(T+=' "'+_.defaultValue+'"'),C.state=a.CloseTag,T+=C.spaceBeforeSlash+">"+this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.dtdElement=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<!ELEMENT",C.state=a.InsideTag,T+=" "+_.name+" "+_.value,C.state=a.CloseTag,T+=C.spaceBeforeSlash+">"+this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.dtdEntity=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<!ENTITY",C.state=a.InsideTag,_.pe&&(T+=" %"),T+=" "+_.name,_.value?T+=' "'+_.value+'"':(_.pubID&&_.sysID?T+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.sysID&&(T+=' SYSTEM "'+_.sysID+'"'),_.nData&&(T+=" NDATA "+_.nData)),C.state=a.CloseTag,T+=C.spaceBeforeSlash+">"+this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.dtdNotation=function(_,C,E){var T;return this.openNode(_,C,E),C.state=a.OpenTag,T=this.indent(_,C,E)+"<!NOTATION",C.state=a.InsideTag,T+=" "+_.name,_.pubID&&_.sysID?T+=' PUBLIC "'+_.pubID+'" "'+_.sysID+'"':_.pubID?T+=' PUBLIC "'+_.pubID+'"':_.sysID&&(T+=' SYSTEM "'+_.sysID+'"'),C.state=a.CloseTag,T+=C.spaceBeforeSlash+">"+this.endline(_,C,E),C.state=a.None,this.closeNode(_,C,E),T},w.prototype.openNode=function(_,C,E){},w.prototype.closeNode=function(_,C,E){},w.prototype.openAttribute=function(_,C,E){},w.prototype.closeAttribute=function(_,C,E){},w}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(e,g,v){(function(){var c,a,o,l,u,i,r,t,n,s;s=e("./Utility"),t=s.assign,n=s.isFunction,o=e("./XMLDOMImplementation"),l=e("./XMLDocument"),u=e("./XMLDocumentCB"),r=e("./XMLStringWriter"),i=e("./XMLStreamWriter"),c=e("./NodeType"),a=e("./WriterState"),g.exports.create=function(d,m,h,y){var p,b;if(d==null)throw new Error("Root element needs a name.");return y=t({},m,h,y),p=new l(y),b=p.element(d),y.headless||(p.declaration(y),(y.pubID!=null||y.sysID!=null)&&p.dtd(y)),b},g.exports.begin=function(d,m,h){var y;return n(d)&&(y=[d,m],m=y[0],h=y[1],d={}),m?new u(d,m,h):new l(d)},g.exports.stringWriter=function(d){return new r(d)},g.exports.streamWriter=function(d,m){return new i(d,m)},g.exports.implementation=new o,g.exports.nodeType=c,g.exports.writerState=a}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(e,g,v){g.exports=a;var c=Object.prototype.hasOwnProperty;function a(){for(var o={},l=0;l<arguments.length;l++){var u=arguments[l];for(var i in u)c.call(u,i)&&(o[i]=u[i])}return o}},{}],461:[function(e,g,v){"use strict";e("core-js/modules/es.array.fill.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.array.slice.js");var c=e("buffer").Buffer,a=e("./sha"),o=e("./md5"),l={sha1:a,md5:o},u=64,i=c.alloc(u);i.fill(0);function r(s,d,m){c.isBuffer(d)||(d=c.from(d)),c.isBuffer(m)||(m=c.from(m)),d.length>u?d=s(d):d.length<u&&(d=c.concat([d,i],u));for(var h=c.alloc(u),y=c.alloc(u),p=0;p<u;p++)h[p]=d[p]^54,y[p]=d[p]^92;var b=s(c.concat([h,m]));return s(c.concat([y,b]))}function t(s,d){s=s||"sha1";var m=l[s],h=[],y=0;return m||n("algorithm:",s,"is not yet supported"),{update:function(b){return c.isBuffer(b)||(b=c.from(b)),h.push(b),y+=b.length,this},digest:function(b){var x=c.concat(h),S=d?r(m,d,x):m(x);return h=null,b?S.toString(b):S}}}function n(){var s=[].slice.call(arguments).join(" ");throw new Error([s,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}v.createHash=function(s){return t(s)},v.createHmac=function(s,d){return t(s,d)},v.createCredentials=function(){n("sorry,createCredentials is not implemented yet")},v.createCipher=function(){n("sorry,createCipher is not implemented yet")},v.createCipheriv=function(){n("sorry,createCipheriv is not implemented yet")},v.createDecipher=function(){n("sorry,createDecipher is not implemented yet")},v.createDecipheriv=function(){n("sorry,createDecipheriv is not implemented yet")},v.createSign=function(){n("sorry,createSign is not implemented yet")},v.createVerify=function(){n("sorry,createVerify is not implemented yet")},v.createDiffieHellman=function(){n("sorry,createDiffieHellman is not implemented yet")},v.pbkdf2=function(){n("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(e,g,v){"use strict";e("core-js/modules/es.array.fill.js"),e("core-js/modules/es.array.concat.js");var c=e("buffer").Buffer,a=4,o=c.alloc(a);o.fill(0);var l=8;function u(t,n){if(t.length%a!==0){var s=t.length+(a-t.length%a);t=c.concat([t,o],s)}for(var d=[],m=n?t.readInt32BE:t.readInt32LE,h=0;h<t.length;h+=a)d.push(m.call(t,h));return d}function i(t,n,s){for(var d=c.alloc(n),m=s?d.writeInt32BE:d.writeInt32LE,h=0;h<t.length;h++)m.call(d,t[h],h*4,!0);return d}function r(t,n,s,d){c.isBuffer(t)||(t=c.from(t));var m=n(u(t,d),t.length*l);return i(m,s,d)}g.exports={hash:r}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(e,g,v){"use strict";var c=e("./helpers");function a(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function o(d,m){d[m>>5]|=128<<m%32,d[(m+64>>>9<<4)+14]=m;for(var h=1732584193,y=-271733879,p=-1732584194,b=271733878,x=0;x<d.length;x+=16){var S=h,w=y,_=p,C=b;h=u(h,y,p,b,d[x+0],7,-680876936),b=u(b,h,y,p,d[x+1],12,-389564586),p=u(p,b,h,y,d[x+2],17,606105819),y=u(y,p,b,h,d[x+3],22,-1044525330),h=u(h,y,p,b,d[x+4],7,-176418897),b=u(b,h,y,p,d[x+5],12,1200080426),p=u(p,b,h,y,d[x+6],17,-1473231341),y=u(y,p,b,h,d[x+7],22,-45705983),h=u(h,y,p,b,d[x+8],7,1770035416),b=u(b,h,y,p,d[x+9],12,-1958414417),p=u(p,b,h,y,d[x+10],17,-42063),y=u(y,p,b,h,d[x+11],22,-1990404162),h=u(h,y,p,b,d[x+12],7,1804603682),b=u(b,h,y,p,d[x+13],12,-40341101),p=u(p,b,h,y,d[x+14],17,-1502002290),y=u(y,p,b,h,d[x+15],22,1236535329),h=i(h,y,p,b,d[x+1],5,-165796510),b=i(b,h,y,p,d[x+6],9,-1069501632),p=i(p,b,h,y,d[x+11],14,643717713),y=i(y,p,b,h,d[x+0],20,-373897302),h=i(h,y,p,b,d[x+5],5,-701558691),b=i(b,h,y,p,d[x+10],9,38016083),p=i(p,b,h,y,d[x+15],14,-660478335),y=i(y,p,b,h,d[x+4],20,-405537848),h=i(h,y,p,b,d[x+9],5,568446438),b=i(b,h,y,p,d[x+14],9,-1019803690),p=i(p,b,h,y,d[x+3],14,-187363961),y=i(y,p,b,h,d[x+8],20,1163531501),h=i(h,y,p,b,d[x+13],5,-1444681467),b=i(b,h,y,p,d[x+2],9,-51403784),p=i(p,b,h,y,d[x+7],14,1735328473),y=i(y,p,b,h,d[x+12],20,-1926607734),h=r(h,y,p,b,d[x+5],4,-378558),b=r(b,h,y,p,d[x+8],11,-2022574463),p=r(p,b,h,y,d[x+11],16,1839030562),y=r(y,p,b,h,d[x+14],23,-35309556),h=r(h,y,p,b,d[x+1],4,-1530992060),b=r(b,h,y,p,d[x+4],11,1272893353),p=r(p,b,h,y,d[x+7],16,-155497632),y=r(y,p,b,h,d[x+10],23,-1094730640),h=r(h,y,p,b,d[x+13],4,681279174),b=r(b,h,y,p,d[x+0],11,-358537222),p=r(p,b,h,y,d[x+3],16,-722521979),y=r(y,p,b,h,d[x+6],23,76029189),h=r(h,y,p,b,d[x+9],4,-640364487),b=r(b,h,y,p,d[x+12],11,-421815835),p=r(p,b,h,y,d[x+15],16,530742520),y=r(y,p,b,h,d[x+2],23,-995338651),h=t(h,y,p,b,d[x+0],6,-198630844),b=t(b,h,y,p,d[x+7],10,1126891415),p=t(p,b,h,y,d[x+14],15,-1416354905),y=t(y,p,b,h,d[x+5],21,-57434055),h=t(h,y,p,b,d[x+12],6,1700485571),b=t(b,h,y,p,d[x+3],10,-1894986606),p=t(p,b,h,y,d[x+10],15,-1051523),y=t(y,p,b,h,d[x+1],21,-2054922799),h=t(h,y,p,b,d[x+8],6,1873313359),b=t(b,h,y,p,d[x+15],10,-30611744),p=t(p,b,h,y,d[x+6],15,-1560198380),y=t(y,p,b,h,d[x+13],21,1309151649),h=t(h,y,p,b,d[x+4],6,-145523070),b=t(b,h,y,p,d[x+11],10,-1120210379),p=t(p,b,h,y,d[x+2],15,718787259),y=t(y,p,b,h,d[x+9],21,-343485551),h=n(h,S),y=n(y,w),p=n(p,_),b=n(b,C)}return Array(h,y,p,b)}function l(d,m,h,y,p,b){return n(s(n(n(m,d),n(y,b)),p),h)}function u(d,m,h,y,p,b,x){return l(m&h|~m&y,d,m,p,b,x)}function i(d,m,h,y,p,b,x){return l(m&y|h&~y,d,m,p,b,x)}function r(d,m,h,y,p,b,x){return l(m^h^y,d,m,p,b,x)}function t(d,m,h,y,p,b,x){return l(h^(m|~y),d,m,p,b,x)}function n(d,m){var h=(d&65535)+(m&65535),y=(d>>16)+(m>>16)+(h>>16);return y<<16|h&65535}function s(d,m){return d<<m|d>>>32-m}g.exports=function(m){return c.hash(m,o,16)}},{"./helpers":462}],464:[function(e,g,v){"use strict";var c=e("./helpers");function a(r,t){r[t>>5]|=128<<24-t%32,r[(t+64>>9<<4)+15]=t;for(var n=Array(80),s=1732584193,d=-271733879,m=-1732584194,h=271733878,y=-1009589776,p=0;p<r.length;p+=16){for(var b=s,x=d,S=m,w=h,_=y,C=0;C<80;C++){C<16?n[C]=r[p+C]:n[C]=i(n[C-3]^n[C-8]^n[C-14]^n[C-16],1);var E=u(u(i(s,5),o(C,d,m,h)),u(u(y,n[C]),l(C)));y=h,h=m,m=i(d,30),d=s,s=E}s=u(s,b),d=u(d,x),m=u(m,S),h=u(h,w),y=u(y,_)}return Array(s,d,m,h,y)}function o(r,t,n,s){return r<20?t&n|~t&s:r<40?t^n^s:r<60?t&n|t&s|n&s:t^n^s}function l(r){return r<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514}function u(r,t){var n=(r&65535)+(t&65535),s=(r>>16)+(t>>16)+(n>>16);return s<<16|n&65535}function i(r,t){return r<<t|r>>>32-t}g.exports=function(t){return c.hash(t,a,20,!0)}},{"./helpers":462}],465:[function(e,g,v){"use strict";g.exports=function(){return function(){}}},{}],466:[function(e,g,v){(function(c){(function(){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault"),o=a(e("@babel/runtime/helpers/typeof")),l=e("stream"),u=l.Stream,i=e("../lib/common/utils/isArray"),r=i.isArray;g.exports.string=function(s){return typeof s=="string"},g.exports.array=r,g.exports.buffer=c.isBuffer;function t(n){return n instanceof u}g.exports.writableStream=function(s){return t(s)&&typeof s._write=="function"&&(0,o.default)(s._writableState)==="object"}}).call(this)}).call(this,{isBuffer:e("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(e,g,v){"use strict";var c=e("immediate"),a=g.exports={};a.nextTick=c,a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={};function o(){}a.on=o,a.addListener=o,a.once=o,a.off=o,a.removeListener=o,a.removeAllListeners=o,a.emit=o,a.prependListener=o,a.prependOnceListener=o,a.listeners=function(l){return[]},a.binding=function(l){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(l){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{immediate:358}],468:[function(e,g,v){(function(c){(function(){"use strict";e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.search.js");var a=e("./lib/request"),o=e("./lib/response"),l=e("xtend"),u=e("builtin-status-codes"),i=e("url"),r=v;r.request=function(t,n){typeof t=="string"?t=i.parse(t):t=l(t);var s=c.location.protocol.search(/^https?:$/)===-1?"http:":"",d=t.protocol||s,m=t.hostname||t.host,h=t.port,y=t.path||"/";m&&m.indexOf(":")!==-1&&(m="["+m+"]"),t.url=(m?d+"//"+m:"")+(h?":"+h:"")+y,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var p=new a(t);return n&&p.on("response",n),p},r.get=function(n,s){var d=r.request(n,s);return d.end(),d},r.ClientRequest=a,r.IncomingMessage=o.IncomingMessage,r.Agent=function(){},r.Agent.defaultMaxSockets=4,r.globalAgent=new r.Agent,r.STATUS_CODES=u,r.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(e,g,v){(function(c){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array-buffer.constructor.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.array.slice.js"),v.fetch=r(c.fetch)&&r(c.ReadableStream),v.writableStream=r(c.WritableStream),v.abortController=r(c.AbortController),v.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),v.blobConstructor=!0}catch(t){}var a;function o(){if(a!==void 0)return a;if(c.XMLHttpRequest){a=new c.XMLHttpRequest;try{a.open("GET",c.XDomainRequest?"/":"https://example.com")}catch(t){a=null}}else a=null;return a}function l(t){var n=o();if(!n)return!1;try{return n.responseType=t,n.responseType===t}catch(s){}return!1}var u=typeof c.ArrayBuffer!="undefined",i=u&&r(c.ArrayBuffer.prototype.slice);v.arraybuffer=v.fetch||u&&l("arraybuffer"),v.msstream=!v.fetch&&i&&l("ms-stream"),v.mozchunkedarraybuffer=!v.fetch&&u&&l("moz-chunked-arraybuffer"),v.overrideMimeType=v.fetch||(o()?r(o().overrideMimeType):!1),v.vbArray=r(c.VBArray);function r(t){return typeof t=="function"}a=null}).call(this)}).call(this,typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(e,g,v){(function(c,a,o){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.array.map.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js");var l=e("./capability"),u=e("inherits"),i=e("./response"),r=e("readable-stream"),t=e("to-arraybuffer"),n=i.IncomingMessage,s=i.readyStates;function d(p,b){return l.fetch&&b?"fetch":l.mozchunkedarraybuffer?"moz-chunked-arraybuffer":l.msstream?"ms-stream":l.arraybuffer&&p?"arraybuffer":l.vbArray&&p?"text:vbarray":"text"}var m=g.exports=function(p){var b=this;r.Writable.call(b),b._opts=p,b._body=[],b._headers={},p.auth&&b.setHeader("Authorization","Basic "+new o(p.auth).toString("base64")),Object.keys(p.headers).forEach(function(w){b.setHeader(w,p.headers[w])});var x,S=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!l.abortController)S=!1,x=!0;else if(p.mode==="prefer-streaming")x=!1;else if(p.mode==="allow-wrong-content-type")x=!l.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")x=!0;else throw new Error("Invalid value for opts.mode");b._mode=d(x,S),b._fetchTimer=null,b.on("finish",function(){b._onFinish()})};u(m,r.Writable),m.prototype.setHeader=function(p,b){var x=this,S=p.toLowerCase();y.indexOf(S)===-1&&(x._headers[S]={name:p,value:b})},m.prototype.getHeader=function(p){var b=this._headers[p.toLowerCase()];return b?b.value:null},m.prototype.removeHeader=function(p){var b=this;delete b._headers[p.toLowerCase()]},m.prototype._onFinish=function(){var p=this;if(!p._destroyed){var b=p._opts,x=p._headers,S=null;b.method!=="GET"&&b.method!=="HEAD"&&(l.arraybuffer?S=t(o.concat(p._body)):l.blobConstructor?S=new a.Blob(p._body.map(function(R){return t(R)}),{type:(x["content-type"]||{}).value||""}):S=o.concat(p._body).toString());var w=[];if(Object.keys(x).forEach(function(R){var k=x[R].name,P=x[R].value;Array.isArray(P)?P.forEach(function(L){w.push([k,L])}):w.push([k,P])}),p._mode==="fetch"){var _=null,C=null;if(l.abortController){var E=new AbortController;_=E.signal,p._fetchAbortController=E,"requestTimeout"in b&&b.requestTimeout!==0&&(p._fetchTimer=a.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},b.requestTimeout))}a.fetch(p._opts.url,{method:p._opts.method,headers:w,body:S||void 0,mode:"cors",credentials:b.withCredentials?"include":"same-origin",signal:_}).then(function(R){p._fetchResponse=R,p._connect()},function(R){a.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",R)})}else{var T=p._xhr=new a.XMLHttpRequest;try{T.open(p._opts.method,p._opts.url,!0)}catch(R){c.nextTick(function(){p.emit("error",R)});return}"responseType"in T&&(T.responseType=p._mode.split(":")[0]),"withCredentials"in T&&(T.withCredentials=!!b.withCredentials),p._mode==="text"&&"overrideMimeType"in T&&T.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in b&&(T.timeout=b.requestTimeout,T.ontimeout=function(){p.emit("requestTimeout")}),w.forEach(function(R){T.setRequestHeader(R[0],R[1])}),p._response=null,T.onreadystatechange=function(){switch(T.readyState){case s.LOADING:case s.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(T.onprogress=function(){p._onXHRProgress()}),T.onerror=function(){p._destroyed||p.emit("error",new Error("XHR error"))};try{T.send(S)}catch(R){c.nextTick(function(){p.emit("error",R)});return}}}};function h(p){try{var b=p.status;return b!==null&&b!==0}catch(x){return!1}}m.prototype._onXHRProgress=function(){var p=this;!h(p._xhr)||p._destroyed||(p._response||p._connect(),p._response._onXHRProgress())},m.prototype._connect=function(){var p=this;p._destroyed||(p._response=new n(p._xhr,p._fetchResponse,p._mode,p._fetchTimer),p._response.on("error",function(b){p.emit("error",b)}),p.emit("response",p._response))},m.prototype._write=function(p,b,x){var S=this;S._body.push(p),x()},m.prototype.abort=m.prototype.destroy=function(){var p=this;p._destroyed=!0,a.clearTimeout(p._fetchTimer),p._response&&(p._response._destroyed=!0),p._xhr?p._xhr.abort():p._fetchAbortController&&p._fetchAbortController.abort()},m.prototype.end=function(p,b,x){var S=this;typeof p=="function"&&(x=p,p=void 0),r.Writable.prototype.end.call(S,p,b,x)},m.prototype.flushHeaders=function(){},m.prototype.setTimeout=function(){},m.prototype.setNoDelay=function(){},m.prototype.setSocketKeepAlive=function(){};var y=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,e("_process"),typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{},e("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(e,g,v){(function(c,a,o){(function(){"use strict";e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.string.match.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.typed-array.uint8-array.js"),e("core-js/modules/es.typed-array.copy-within.js"),e("core-js/modules/es.typed-array.every.js"),e("core-js/modules/es.typed-array.fill.js"),e("core-js/modules/es.typed-array.filter.js"),e("core-js/modules/es.typed-array.find.js"),e("core-js/modules/es.typed-array.find-index.js"),e("core-js/modules/es.typed-array.for-each.js"),e("core-js/modules/es.typed-array.includes.js"),e("core-js/modules/es.typed-array.index-of.js"),e("core-js/modules/es.typed-array.iterator.js"),e("core-js/modules/es.typed-array.join.js"),e("core-js/modules/es.typed-array.last-index-of.js"),e("core-js/modules/es.typed-array.map.js"),e("core-js/modules/es.typed-array.reduce.js"),e("core-js/modules/es.typed-array.reduce-right.js"),e("core-js/modules/es.typed-array.reverse.js"),e("core-js/modules/es.typed-array.set.js"),e("core-js/modules/es.typed-array.slice.js"),e("core-js/modules/es.typed-array.some.js"),e("core-js/modules/es.typed-array.sort.js"),e("core-js/modules/es.typed-array.subarray.js"),e("core-js/modules/es.typed-array.to-locale-string.js"),e("core-js/modules/es.typed-array.to-string.js"),e("core-js/modules/es.array.slice.js");var l=e("./capability"),u=e("inherits"),i=e("readable-stream"),r=v.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},t=v.IncomingMessage=function(n,s,d,m){var h=this;if(i.Readable.call(h),h._mode=d,h.headers={},h.rawHeaders=[],h.trailers={},h.rawTrailers=[],h.on("end",function(){c.nextTick(function(){h.emit("close")})}),d==="fetch"){var y=function _(){b.read().then(function(C){if(!h._destroyed){if(C.done){a.clearTimeout(m),h.push(null);return}h.push(new o(C.value)),_()}}).catch(function(C){a.clearTimeout(m),h._destroyed||h.emit("error",C)})};if(h._fetchResponse=s,h.url=s.url,h.statusCode=s.status,h.statusMessage=s.statusText,s.headers.forEach(function(_,C){h.headers[C.toLowerCase()]=_,h.rawHeaders.push(C,_)}),l.writableStream){var p=new WritableStream({write:function(C){return new Promise(function(E,T){h._destroyed?T():h.push(new o(C))?E():h._resumeFetch=E})},close:function(){a.clearTimeout(m),h._destroyed||h.push(null)},abort:function(C){h._destroyed||h.emit("error",C)}});try{s.body.pipeTo(p).catch(function(_){a.clearTimeout(m),h._destroyed||h.emit("error",_)});return}catch(_){}}var b=s.body.getReader();y()}else{h._xhr=n,h._pos=0,h.url=n.responseURL,h.statusCode=n.status,h.statusMessage=n.statusText;var x=n.getAllResponseHeaders().split(/\r?\n/);if(x.forEach(function(_){var C=_.match(/^([^:]+):\s*(.*)/);if(C){var E=C[1].toLowerCase();E==="set-cookie"?(h.headers[E]===void 0&&(h.headers[E]=[]),h.headers[E].push(C[2])):h.headers[E]!==void 0?h.headers[E]+=", "+C[2]:h.headers[E]=C[2],h.rawHeaders.push(C[1],C[2])}}),h._charset="x-user-defined",!l.overrideMimeType){var S=h.rawHeaders["mime-type"];if(S){var w=S.match(/;\s*charset=([^;])(;|$)/);w&&(h._charset=w[1].toLowerCase())}h._charset||(h._charset="utf-8")}}};u(t,i.Readable),t.prototype._read=function(){var n=this,s=n._resumeFetch;s&&(n._resumeFetch=null,s())},t.prototype._onXHRProgress=function(){var n=this,s=n._xhr,d=null;switch(n._mode){case"text:vbarray":if(s.readyState!==r.DONE)break;try{d=new a.VBArray(s.responseBody).toArray()}catch(b){}if(d!==null){n.push(new o(d));break}case"text":try{d=s.responseText}catch(b){n._mode="text:vbarray";break}if(d.length>n._pos){var m=d.substr(n._pos);if(n._charset==="x-user-defined"){for(var h=new o(m.length),y=0;y<m.length;y++)h[y]=m.charCodeAt(y)&255;n.push(h)}else n.push(m,n._charset);n._pos=d.length}break;case"arraybuffer":if(s.readyState!==r.DONE||!s.response)break;d=s.response,n.push(new o(new Uint8Array(d)));break;case"moz-chunked-arraybuffer":if(d=s.response,s.readyState!==r.LOADING||!d)break;n.push(new o(new Uint8Array(d)));break;case"ms-stream":if(d=s.response,s.readyState!==r.LOADING)break;var p=new a.MSStreamReader;p.onprogress=function(){p.result.byteLength>n._pos&&(n.push(new o(new Uint8Array(p.result.slice(n._pos)))),n._pos=p.result.byteLength)},p.onload=function(){n.push(null)},p.readAsArrayBuffer(d);break}n._xhr.readyState===r.DONE&&n._mode!=="ms-stream"&&n.push(null)}}).call(this)}).call(this,e("_process"),typeof be!="undefined"?be:typeof self!="undefined"?self:typeof window!="undefined"?window:{},e("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.search.js"),e("core-js/modules/es.array.concat.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.string.trim.js"),e("core-js/modules/es.string.match.js"),e("core-js/modules/es.array.slice.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.array.splice.js");var o=e("punycode"),l=e("./util");v.parse=C,v.resolve=T,v.resolveObject=R,v.format=E,v.Url=u;function u(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,t=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["<",">",'"',"`"," ","\r",`
`," "],s=["{","}","|","\\","^","`"].concat(n),d=["'"].concat(s),m=["%","/","?",";","#"].concat(d),h=["/","?","#"],y=255,p=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},S={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=e("querystring");function C(k,P,L){if(k&&l.isObject(k)&&k instanceof u)return k;var O=new u;return O.parse(k,P,L),O}u.prototype.parse=function(k,P,L){if(!l.isString(k))throw new TypeError("Parameter 'url' must be a string, not "+(0,a.default)(k));var O=k.indexOf("?"),N=O!==-1&&O<k.indexOf("#")?"?":"#",H=k.split(N),V=/\\/g;H[0]=H[0].replace(V,"/"),k=H.join(N);var B=k;if(B=B.trim(),!L&&k.split("#").length===1){var te=t.exec(B);if(te)return this.path=B,this.href=B,this.pathname=te[1],te[2]?(this.search=te[2],P?this.query=_.parse(this.search.substr(1)):this.query=this.search.substr(1)):P&&(this.search="",this.query={}),this}var ee=i.exec(B);if(ee){ee=ee[0];var J=ee.toLowerCase();this.protocol=J,B=B.substr(ee.length)}if(L||ee||B.match(/^\/\/[^@\/]+@[^@\/]+/)){var Q=B.substr(0,2)==="//";Q&&!(ee&&S[ee])&&(B=B.substr(2),this.slashes=!0)}if(!S[ee]&&(Q||ee&&!w[ee])){for(var re=-1,Z=0;Z<h.length;Z++){var X=B.indexOf(h[Z]);X!==-1&&(re===-1||X<re)&&(re=X)}var $,ie;re===-1?ie=B.lastIndexOf("@"):ie=B.lastIndexOf("@",re),ie!==-1&&($=B.slice(0,ie),B=B.slice(ie+1),this.auth=decodeURIComponent($)),re=-1;for(var Z=0;Z<m.length;Z++){var X=B.indexOf(m[Z]);X!==-1&&(re===-1||X<re)&&(re=X)}re===-1&&(re=B.length),this.host=B.slice(0,re),B=B.slice(re),this.parseHost(),this.hostname=this.hostname||"";var de=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!de)for(var pe=this.hostname.split("."),Z=0,G=pe.length;Z<G;Z++){var I=pe[Z];if(I&&!I.match(p)){for(var q="",F=0,Y=I.length;F<Y;F++)I.charCodeAt(F)>127?q+="x":q+=I[F];if(!q.match(p)){var ue=pe.slice(0,Z),ce=pe.slice(Z+1),ne=I.match(b);ne&&(ue.push(ne[1]),ce.unshift(ne[2])),ce.length&&(B="/"+ce.join(".")+B),this.hostname=ue.join(".");break}}}this.hostname.length>y?this.hostname="":this.hostname=this.hostname.toLowerCase(),de||(this.hostname=o.toASCII(this.hostname));var U=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+U,this.href+=this.host,de&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),B[0]!=="/"&&(B="/"+B))}if(!x[J])for(var Z=0,G=d.length;Z<G;Z++){var W=d[Z];if(B.indexOf(W)!==-1){var K=encodeURIComponent(W);K===W&&(K=escape(W)),B=B.split(W).join(K)}}var oe=B.indexOf("#");oe!==-1&&(this.hash=B.substr(oe),B=B.slice(0,oe));var he=B.indexOf("?");if(he!==-1?(this.search=B.substr(he),this.query=B.substr(he+1),P&&(this.query=_.parse(this.query)),B=B.slice(0,he)):P&&(this.search="",this.query={}),B&&(this.pathname=B),w[J]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var U=this.pathname||"",ae=this.search||"";this.path=U+ae}return this.href=this.format(),this};function E(k){return l.isString(k)&&(k=C(k)),k instanceof u?k.format():u.prototype.format.call(k)}u.prototype.format=function(){var k=this.auth||"";k&&(k=encodeURIComponent(k),k=k.replace(/%3A/i,":"),k+="@");var P=this.protocol||"",L=this.pathname||"",O=this.hash||"",N=!1,H="";this.host?N=k+this.host:this.hostname&&(N=k+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(N+=":"+this.port)),this.query&&l.isObject(this.query)&&Object.keys(this.query).length&&(H=_.stringify(this.query));var V=this.search||H&&"?"+H||"";return P&&P.substr(-1)!==":"&&(P+=":"),this.slashes||(!P||w[P])&&N!==!1?(N="//"+(N||""),L&&L.charAt(0)!=="/"&&(L="/"+L)):N||(N=""),O&&O.charAt(0)!=="#"&&(O="#"+O),V&&V.charAt(0)!=="?"&&(V="?"+V),L=L.replace(/[?#]/g,function(B){return encodeURIComponent(B)}),V=V.replace("#","%23"),P+N+L+V+O};function T(k,P){return C(k,!1,!0).resolve(P)}u.prototype.resolve=function(k){return this.resolveObject(C(k,!1,!0)).format()};function R(k,P){return k?C(k,!1,!0).resolveObject(P):P}u.prototype.resolveObject=function(k){if(l.isString(k)){var P=new u;P.parse(k,!1,!0),k=P}for(var L=new u,O=Object.keys(this),N=0;N<O.length;N++){var H=O[N];L[H]=this[H]}if(L.hash=k.hash,k.href==="")return L.href=L.format(),L;if(k.slashes&&!k.protocol){for(var V=Object.keys(k),B=0;B<V.length;B++){var te=V[B];te!=="protocol"&&(L[te]=k[te])}return w[L.protocol]&&L.hostname&&!L.pathname&&(L.path=L.pathname="/"),L.href=L.format(),L}if(k.protocol&&k.protocol!==L.protocol){if(!w[k.protocol]){for(var ee=Object.keys(k),J=0;J<ee.length;J++){var Q=ee[J];L[Q]=k[Q]}return L.href=L.format(),L}if(L.protocol=k.protocol,!k.host&&!S[k.protocol]){for(var G=(k.pathname||"").split("/");G.length&&!(k.host=G.shift()););k.host||(k.host=""),k.hostname||(k.hostname=""),G[0]!==""&&G.unshift(""),G.length<2&&G.unshift(""),L.pathname=G.join("/")}else L.pathname=k.pathname;if(L.search=k.search,L.query=k.query,L.host=k.host||"",L.auth=k.auth,L.hostname=k.hostname||k.host,L.port=k.port,L.pathname||L.search){var re=L.pathname||"",Z=L.search||"";L.path=re+Z}return L.slashes=L.slashes||k.slashes,L.href=L.format(),L}var X=L.pathname&&L.pathname.charAt(0)==="/",$=k.host||k.pathname&&k.pathname.charAt(0)==="/",ie=$||X||L.host&&k.pathname,de=ie,pe=L.pathname&&L.pathname.split("/")||[],G=k.pathname&&k.pathname.split("/")||[],I=L.protocol&&!w[L.protocol];if(I&&(L.hostname="",L.port=null,L.host&&(pe[0]===""?pe[0]=L.host:pe.unshift(L.host)),L.host="",k.protocol&&(k.hostname=null,k.port=null,k.host&&(G[0]===""?G[0]=k.host:G.unshift(k.host)),k.host=null),ie=ie&&(G[0]===""||pe[0]==="")),$)L.host=k.host||k.host===""?k.host:L.host,L.hostname=k.hostname||k.hostname===""?k.hostname:L.hostname,L.search=k.search,L.query=k.query,pe=G;else if(G.length)pe||(pe=[]),pe.pop(),pe=pe.concat(G),L.search=k.search,L.query=k.query;else if(!l.isNullOrUndefined(k.search)){if(I){L.hostname=L.host=pe.shift();var q=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;q&&(L.auth=q.shift(),L.host=L.hostname=q.shift())}return L.search=k.search,L.query=k.query,(!l.isNull(L.pathname)||!l.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.href=L.format(),L}if(!pe.length)return L.pathname=null,L.search?L.path="/"+L.search:L.path=null,L.href=L.format(),L;for(var F=pe.slice(-1)[0],Y=(L.host||k.host||pe.length>1)&&(F==="."||F==="..")||F==="",ue=0,ce=pe.length;ce>=0;ce--)F=pe[ce],F==="."?pe.splice(ce,1):F===".."?(pe.splice(ce,1),ue++):ue&&(pe.splice(ce,1),ue--);if(!ie&&!de)for(;ue--;ue)pe.unshift("..");ie&&pe[0]!==""&&(!pe[0]||pe[0].charAt(0)!=="/")&&pe.unshift(""),Y&&pe.join("/").substr(-1)!=="/"&&pe.push("");var ne=pe[0]===""||pe[0]&&pe[0].charAt(0)==="/";if(I){L.hostname=L.host=ne?"":pe.length?pe.shift():"";var q=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;q&&(L.auth=q.shift(),L.host=L.hostname=q.shift())}return ie=ie||L.host&&pe.length,ie&&!ne&&pe.unshift(""),pe.length?L.pathname=pe.join("/"):(L.pathname=null,L.path=null),(!l.isNull(L.pathname)||!l.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.auth=k.auth||L.auth,L.slashes=L.slashes||k.slashes,L.href=L.format(),L},u.prototype.parseHost=function(){var k=this.host,P=r.exec(k);P&&(P=P[0],P!==":"&&(this.port=P.substr(1)),k=k.substr(0,k.length-P.length)),k&&(this.hostname=k)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(e,g,v){"use strict";var c=e("@babel/runtime/helpers/interopRequireDefault"),a=c(e("@babel/runtime/helpers/typeof"));g.exports={isString:function(l){return typeof l=="string"},isObject:function(l){return(0,a.default)(l)==="object"&&l!==null},isNull:function(l){return l===null},isNullOrUndefined:function(l){return l==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(e,g,v){"use strict";e("core-js/modules/es.number.constructor.js"),v.encodeURIComponent=function(c){try{return encodeURIComponent(c)}catch(a){return c}},v.escape=e("escape-html"),v.timestamp=function(a){if(a){var o=a;return typeof o=="string"&&(o=Number(o)),String(a).length===10&&(o*=1e3),new Date(o)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(e,g,v){(function(c,a){(function(){"use strict";var o=e("@babel/runtime/helpers/interopRequireDefault"),l=o(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.string.trim.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.split.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.function.name.js"),e("core-js/modules/es.array.concat.js");var u=e("util"),i=e("url"),r=e("http"),t=e("https"),n=e("debug")("urllib"),s=e("humanize-ms"),d=0,m=Math.pow(2,31)-10,h=/^https?:\/\//i;function y(S,w){return S===void 0?w:S}function p(S){return S?S.split(";")[0].trim().toLowerCase():""}function b(S,w){return function(_,C,E){if(_)return w(_);S({data:C,status:E.statusCode,headers:E.headers,res:E})}}v.TIMEOUTS=[s("300s"),s("300s")];var x=["json","text"];v.request=function(w,_,C){return arguments.length===2&&typeof _=="function"&&(C=_,_=null),typeof C=="function"?v.requestWithCallback(w,_,C):new Promise(function(E,T){v.requestWithCallback(w,_,b(E,T))})},v.requestWithCallback=function(w,_,C){if(!w||typeof w!="string"&&(0,l.default)(w)!=="object"){var E=u.format("expect request url to be a string or a http request options, but got %j",w);throw new Error(E)}arguments.length===2&&typeof _=="function"&&(C=_,_=null),_=_||{},d>=m&&(d=0);var T=++d;_.requestUrls=_.requestUrls||[];var R={requestId:T,url:w,args:_,ctx:_.ctx};_.emitter&&_.emitter.emit("request",R),_.timeout=_.timeout||v.TIMEOUTS,_.maxRedirects=_.maxRedirects||10,_.streaming=_.streaming||_.customResponse;var k=Date.now(),P;typeof w=="string"?(h.test(w)||(w="https://"+w),P=i.parse(w)):P=w;var L=(_.type||_.method||P.method||"GET").toUpperCase(),O=P.port||80,N=r,H=y(_.agent,v.agent),V=_.fixJSONCtlChars;P.protocol==="https:"&&(N=t,H=y(_.httpsAgent,v.httpsAgent),P.port||(O=443));var B={host:P.hostname||P.host||"localhost",path:P.path||"/",method:L,port:O,agent:H,headers:_.headers||{},lookup:_.lookup};Array.isArray(_.timeout)?B.requestTimeout=_.timeout[_.timeout.length-1]:typeof _.timeout!="undefined"&&(B.requestTimeout=_.timeout);var te=_.auth||P.auth;te&&(B.auth=te);var ee=_.content||_.data,J=L==="GET"||L==="HEAD"||_.dataAsQueryString;if(!_.content&&ee&&!(typeof ee=="string"||a.isBuffer(ee)))if(J)ee=_.nestedQuerystring?qs.stringify(ee):querystring.stringify(ee);else{var Q=B.headers["Content-Type"]||B.headers["content-type"];Q||(_.contentType==="json"?Q="application/json":Q="application/x-www-form-urlencoded",B.headers["Content-Type"]=Q),p(Q)==="application/json"?ee=JSON.stringify(ee):ee=_.nestedQuerystring?qs.stringify(ee):querystring.stringify(ee)}J&&ee&&(B.path+=(P.query?"&":"?")+ee,ee=null);var re=0;if(ee){var Z=ee.length;a.isBuffer(ee)||(Z=a.byteLength(ee)),re=B.headers["Content-Length"]=Z}_.dataType==="json"&&(B.headers.Accept="application/json"),typeof _.beforeRequest=="function"&&_.beforeRequest(B);var X=null,$=null,ie=null,de=!1,pe=!1,G=0,I=-1,q=!1,F="",Y="",ue=null;_.timing&&(ue={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function ce(){X&&(clearTimeout(X),X=null)}function ne(){$&&(clearTimeout($),$=null)}function U(ye,Te,se){if(ne(),!C){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),T,c.pid,B.method,w),ye&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),T,c.pid,ye.name,ye.message,ye.stack);return}var fe=C;C=null;var me={};se&&(I=se.statusCode,me=se.headers);var Ee=Date.now()-k;ue&&(ue.contentDownload=Ee),n("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ee,G,I,B.method,B.host,B.path,pe,ue);var je={status:I,statusCode:I,headers:me,size:G,aborted:q,rt:Ee,keepAliveSocket:pe,data:Te,requestUrls:_.requestUrls,timing:ue,remoteAddress:F,remotePort:Y};if(ye){var Le="";H&&typeof H.getCurrentStatus=="function"&&(Le=", agent status: "+JSON.stringify(H.getCurrentStatus())),ye.message+=", "+B.method+" "+w+" "+I+" (connected: "+de+", keepalive socket: "+pe+Le+`)
headers: `+JSON.stringify(me),ye.data=Te,ye.path=B.path,ye.status=I,ye.headers=me,ye.res=je}fe(ye,Te,_.streaming?se:je),_.emitter&&(R.url=w,R.socket=ge&&ge.connection,R.options=B,R.size=re,_.emitter.emit("response",{requestId:T,error:ye,ctx:_.ctx,req:R,res:je}))}function M(ye){var Te=null;if(_.followRedirect&&statuses.redirect[ye.statusCode]){_._followRedirectCount=(_._followRedirectCount||0)+1;var se=ye.headers.location;if(!se)Te=new Error("Got statusCode "+ye.statusCode+" but cannot resolve next location from headers"),Te.name="FollowRedirectError";else if(_._followRedirectCount>_.maxRedirects)Te=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+w),Te.name="MaxRedirectError";else{var fe=_.formatRedirectUrl?_.formatRedirectUrl(w,se):i.resolve(w,se);n("Request#%d %s: `redirected` from %s to %s",T,B.path,w,fe),ne(),_.headers&&_.headers.Host&&h.test(se)&&(_.headers.Host=null);var me=C;return C=null,v.requestWithCallback(fe,_,me),{redirect:!0,error:null}}}return{redirect:!1,error:Te}}_.gzip&&!B.headers["Accept-Encoding"]&&!B.headers["accept-encoding"]&&(B.headers["Accept-Encoding"]="gzip");function W(ye,Te,se){var fe=ye.headers["content-encoding"];return se(null,Te,fe)}var K=_.writeStream;n("Request#%d %s %s with headers %j, options.path: %s",T,L,w,B.headers,B.path),_.requestUrls.push(w);function oe(ye){if(ue&&(ue.waiting=Date.now()-k),n("Request#%d %s `req response` event emit: status %d, headers: %j",T,w,ye.statusCode,ye.headers),_.streaming){var Te=M(ye);if(Te.redirect){ye.resume();return}return Te.error?(ye.resume(),U(Te.error,null,ye)):U(null,null,ye)}if(ye.on("close",function(){n("Request#%d %s: `res close` event emit, total size %d",T,w,G)}),ye.on("error",function(){n("Request#%d %s: `res error` event emit, total size %d",T,w,G)}),ye.on("aborted",function(){q=!0,n("Request#%d %s: `res aborted` event emit, total size %d",T,w,G)}),K){var se=M(ye);if(se.redirect){ye.resume();return}return se.error?(ye.resume(),K.end(),U(se.error,null,ye)):(_.consumeWriteStream===!1?ye.on("end",U.bind(null,null,null,ye)):K.on("close",function(){n("Request#%d %s: writeStream close event emitted",T,w),U(ie||null,null,ye)}),ye.pipe(K))}var fe=[];ye.on("data",function(me){n("Request#%d %s: `res data` event emit, size %d",T,w,me.length),G+=me.length,fe.push(me)}),ye.on("end",function(){var me=a.concat(fe,G);if(n("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",T,w,G,ye._dumped),ie)return U(ie,me,ye);var Ee=M(ye);if(Ee.error)return U(Ee.error,me,ye);Ee.redirect||W(ye,me,function(je,Le,He){if(je)return U(je,me,ye);if(!He&&x.indexOf(_.dataType)>=0){try{Le=decodeBodyByCharset(Le,ye)}catch(Ge){return n("decodeBodyByCharset error: %s",Ge),U(null,Le,ye)}if(_.dataType==="json")if(G===0)Le=null;else{var We=parseJSON(Le,V);We.error?je=We.error:Le=We.data}}q&&n("Request#%d %s: Remote socket was terminated before `response.end()` was called",T,w),U(je,Le,ye)})})}var he,ae;Array.isArray(_.timeout)?(he=s(_.timeout[0]),ae=s(_.timeout[1])):he=ae=s(_.timeout),n("ConnectTimeout: %d, ResponseTimeout: %d",he,ae);function le(){n("Connect timer ticking, timeout: %d",he),X=setTimeout(function(){X=null,I===-1&&(I=-2);var ye="Connect timeout for "+he+"ms",Te="ConnectionTimeoutError";ge.socket||(Te="SocketAssignTimeoutError",ye+=", working sockets is full"),ie=new Error(ye),ie.name=Te,ie.requestId=T,n("ConnectTimeout: Request#%d %s %s: %s, connected: %s",T,w,ie.name,ye,de),xe()},he)}function Se(){n("Response timer ticking, timeout: %d",ae),$=setTimeout(function(){$=null;var ye="Response timeout for "+ae+"ms",Te="ResponseTimeoutError";ie=new Error(ye),ie.name=Te,ie.requestId=T,n("ResponseTimeout: Request#%d %s %s: %s, connected: %s",T,w,ie.name,ye,de),xe()},ae)}var ge;B.mode=_.mode?_.mode:"";try{ge=N.request(B,oe)}catch(ye){return U(ye)}typeof window=="undefined"?le():ge.on("requestTimeout",function(){I===-1&&(I=-2);var ye="Connect timeout for "+he+"ms",Te="ConnectionTimeoutError";ie=new Error(ye),ie.name=Te,ie.requestId=T,xe()});function xe(){n("Request#%d %s abort, connected: %s",T,w,de),ge.socket||(ie.noSocket=!0,U(ie)),ge.abort()}return ue&&ge.on("finish",function(){ue.requestSent=Date.now()-k}),ge.once("socket",function(ye){ue&&(ue.queuing=Date.now()-k);var Te=ye.readyState;if(Te==="opening"){ye.once("lookup",function(se,fe,me){n("Request#%d %s lookup: %s, %s, %s",T,w,se,fe,me),ue&&(ue.dnslookup=Date.now()-k),fe&&(F=fe)}),ye.once("connect",function(){ue&&(ue.connected=Date.now()-k),ce(),Se(),n("Request#%d %s new socket connected",T,w),de=!0,F||(F=ye.remoteAddress),Y=ye.remotePort});return}n("Request#%d %s reuse socket connected, readyState: %s",T,w,Te),de=!0,pe=!0,F||(F=ye.remoteAddress),Y=ye.remotePort,ce(),Se()}),ge.on("error",function(ye){(ye.name==="Error"||ye.name==="TypeError")&&(ye.name=de?"ResponseError":"RequestError"),ye.message+=' (req "error")',n("Request#%d %s `req error` event emit, %s: %s",T,w,ye.name,ye.message),U(ie||ye)}),K&&K.once("error",function(ye){ye.message+=' (writeStream "error")',ie=ye,n("Request#%d %s `writeStream error` event emit, %s: %s",T,w,ye.name,ye.message),xe()}),_.stream?(_.stream.pipe(ge),_.stream.once("error",function(ye){ye.message+=' (stream "error")',ie=ye,n("Request#%d %s `readStream error` event emit, %s: %s",T,w,ye.name,ye.message),xe()})):ge.end(ee),ge.requestId=T,ge}}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},77578:function($e,be,A){"use strict";A.d(be,{Z:function(){return D}});const D=z=>z?typeof z=="function"?z():z:null},43428:function($e,be,A){"use strict";A.d(be,{Z:function(){return pe}});var D=A(92310),z=A.n(D),e=A(57259),g=A(29043),v=A(43403),c=A(28800),a=A(59301),o=a.createContext(null),l=a.createContext({}),u=o,i=A(80962),r=A(5891),t=A(43469),n=A(85108),s=A(36994),d=A(80764),m=function(I){var q=I.prefixCls,F=I.className,Y=I.style,ue=I.children,ce=I.containerRef,ne=I.id,U=I.onMouseEnter,M=I.onMouseOver,W=I.onMouseLeave,K=I.onClick,oe=I.onKeyDown,he=I.onKeyUp,ae={onMouseEnter:U,onMouseOver:M,onMouseLeave:W,onClick:K,onKeyDown:oe,onKeyUp:he},le=a.useContext(l),Se=le.panel,ge=(0,d.useComposeRef)(Se,ce);return a.createElement(a.Fragment,null,a.createElement("div",(0,r.Z)({id:ne,className:z()("".concat(q,"-content"),F),style:(0,e.Z)({},Y),"aria-modal":"true",role:"dialog",ref:ge},ae),ue))},h=m,y=A(51395);function p(G){return typeof G=="string"&&String(Number(G))===G?((0,y.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(G)):G}function b(G){warning(!("wrapperClassName"in G),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!G.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var x={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function S(G,I){var q,F,Y,ue,ce=G.prefixCls,ne=G.open,U=G.placement,M=G.inline,W=G.push,K=G.forceRender,oe=G.autoFocus,he=G.keyboard,ae=G.rootClassName,le=G.rootStyle,Se=G.zIndex,ge=G.className,xe=G.id,ye=G.style,Te=G.motion,se=G.width,fe=G.height,me=G.children,Ee=G.contentWrapperStyle,je=G.mask,Le=G.maskClosable,He=G.maskMotion,We=G.maskClassName,Ge=G.maskStyle,lt=G.afterOpenChange,ze=G.onClose,et=G.onMouseEnter,Ct=G.onMouseOver,pt=G.onMouseLeave,yt=G.onClick,_t=G.onKeyDown,gt=G.onKeyUp,Vt=a.useRef(),st=a.useRef(),wt=a.useRef();a.useImperativeHandle(I,function(){return Vt.current});var ut=function(fr){var Fe=fr.keyCode,Ae=fr.shiftKey;switch(Fe){case n.Z.TAB:{if(Fe===n.Z.TAB){if(!Ae&&document.activeElement===wt.current){var Ue;(Ue=st.current)===null||Ue===void 0||Ue.focus({preventScroll:!0})}else if(Ae&&document.activeElement===st.current){var De;(De=wt.current)===null||De===void 0||De.focus({preventScroll:!0})}}break}case n.Z.ESC:{ze&&he&&(fr.stopPropagation(),ze(fr));break}}};a.useEffect(function(){if(ne&&oe){var ar;(ar=Vt.current)===null||ar===void 0||ar.focus({preventScroll:!0})}},[ne]);var Xt=a.useState(!1),$t=(0,g.Z)(Xt,2),Ut=$t[0],Ht=$t[1],Mt=a.useContext(u),Rt;W===!1?Rt={distance:0}:W===!0?Rt={}:Rt=W||{};var nr=(q=(F=(Y=Rt)===null||Y===void 0?void 0:Y.distance)!==null&&F!==void 0?F:Mt==null?void 0:Mt.pushDistance)!==null&&q!==void 0?q:180,rr=a.useMemo(function(){return{pushDistance:nr,push:function(){Ht(!0)},pull:function(){Ht(!1)}}},[nr]);a.useEffect(function(){if(ne){var ar;Mt==null||(ar=Mt.push)===null||ar===void 0||ar.call(Mt)}else{var fr;Mt==null||(fr=Mt.pull)===null||fr===void 0||fr.call(Mt)}},[ne]),a.useEffect(function(){return function(){var ar;Mt==null||(ar=Mt.pull)===null||ar===void 0||ar.call(Mt)}},[]);var Kt=je&&a.createElement(t.default,(0,r.Z)({key:"mask"},He,{visible:ne}),function(ar,fr){var Fe=ar.className,Ae=ar.style;return a.createElement("div",{className:z()("".concat(ce,"-mask"),Fe,We),style:(0,e.Z)((0,e.Z)({},Ae),Ge),onClick:Le&&ne?ze:void 0,ref:fr})}),Zt=typeof Te=="function"?Te(U):Te,Er={};if(Ut&&nr)switch(U){case"top":Er.transform="translateY(".concat(nr,"px)");break;case"bottom":Er.transform="translateY(".concat(-nr,"px)");break;case"left":Er.transform="translateX(".concat(nr,"px)");break;default:Er.transform="translateX(".concat(-nr,"px)");break}U==="left"||U==="right"?Er.width=p(se):Er.height=p(fe);var qt={onMouseEnter:et,onMouseOver:Ct,onMouseLeave:pt,onClick:yt,onKeyDown:_t,onKeyUp:gt},Fr=a.createElement(t.default,(0,r.Z)({key:"panel"},Zt,{visible:ne,forceRender:K,onVisibleChanged:function(fr){lt==null||lt(fr)},removeOnLeave:!1,leavedClassName:"".concat(ce,"-content-wrapper-hidden")}),function(ar,fr){var Fe=ar.className,Ae=ar.style;return a.createElement("div",(0,r.Z)({className:z()("".concat(ce,"-content-wrapper"),Fe),style:(0,e.Z)((0,e.Z)((0,e.Z)({},Er),Ae),Ee)},(0,s.Z)(G,{data:!0})),a.createElement(h,(0,r.Z)({id:xe,containerRef:fr,prefixCls:ce,className:ge,style:ye},qt),me))}),Or=(0,e.Z)({},le);return Se&&(Or.zIndex=Se),a.createElement(u.Provider,{value:rr},a.createElement("div",{className:z()(ce,"".concat(ce,"-").concat(U),ae,(ue={},(0,i.Z)(ue,"".concat(ce,"-open"),ne),(0,i.Z)(ue,"".concat(ce,"-inline"),M),ue)),style:Or,tabIndex:-1,ref:Vt,onKeyDown:ut},Kt,a.createElement("div",{tabIndex:0,ref:st,style:x,"aria-hidden":"true","data-sentinel":"start"}),Fr,a.createElement("div",{tabIndex:0,ref:wt,style:x,"aria-hidden":"true","data-sentinel":"end"})))}var w=a.forwardRef(S),_=w,C=function(I){var q=I.open,F=q===void 0?!1:q,Y=I.prefixCls,ue=Y===void 0?"rc-drawer":Y,ce=I.placement,ne=ce===void 0?"right":ce,U=I.autoFocus,M=U===void 0?!0:U,W=I.keyboard,K=W===void 0?!0:W,oe=I.width,he=oe===void 0?378:oe,ae=I.mask,le=ae===void 0?!0:ae,Se=I.maskClosable,ge=Se===void 0?!0:Se,xe=I.getContainer,ye=I.forceRender,Te=I.afterOpenChange,se=I.destroyOnClose,fe=I.onMouseEnter,me=I.onMouseOver,Ee=I.onMouseLeave,je=I.onClick,Le=I.onKeyDown,He=I.onKeyUp,We=I.panelRef,Ge=a.useState(!1),lt=(0,g.Z)(Ge,2),ze=lt[0],et=lt[1],Ct=a.useState(!1),pt=(0,g.Z)(Ct,2),yt=pt[0],_t=pt[1];(0,c.Z)(function(){_t(!0)},[]);var gt=yt?F:!1,Vt=a.useRef(),st=a.useRef();(0,c.Z)(function(){gt&&(st.current=document.activeElement)},[gt]);var wt=function(Ht){var Mt;if(et(Ht),Te==null||Te(Ht),!Ht&&st.current&&!((Mt=Vt.current)!==null&&Mt!==void 0&&Mt.contains(st.current))){var Rt;(Rt=st.current)===null||Rt===void 0||Rt.focus({preventScroll:!0})}},ut=a.useMemo(function(){return{panel:We}},[We]);if(!ye&&!ze&&!gt&&se)return null;var Xt={onMouseEnter:fe,onMouseOver:me,onMouseLeave:Ee,onClick:je,onKeyDown:Le,onKeyUp:He},$t=(0,e.Z)((0,e.Z)({},I),{},{open:gt,prefixCls:ue,placement:ne,autoFocus:M,keyboard:K,width:he,mask:le,maskClosable:ge,inline:xe===!1,afterOpenChange:wt,ref:Vt},Xt);return a.createElement(l.Provider,{value:ut},a.createElement(v.Z,{open:gt||ye||ze,autoDestroy:!1,getContainer:xe,autoLock:le&&(gt||ze)},a.createElement(_,$t)))},E=C,T=E,R=A(62892),k=A(36355),P=A(32441),L=A(47729),N=G=>{const{prefixCls:I,title:q,footer:F,extra:Y,closeIcon:ue,closable:ce,onClose:ne,headerStyle:U,drawerStyle:M,bodyStyle:W,footerStyle:K,children:oe}=G,he=a.useCallback(xe=>a.createElement("button",{type:"button",onClick:ne,"aria-label":"Close",className:`${I}-close`},xe),[ne]),[ae,le]=(0,L.Z)(ce,ue,he,void 0,!0),Se=a.useMemo(()=>!q&&!ae?null:a.createElement("div",{style:U,className:z()(`${I}-header`,{[`${I}-header-close-only`]:ae&&!q&&!Y})},a.createElement("div",{className:`${I}-header-title`},le,q&&a.createElement("div",{className:`${I}-title`},q)),Y&&a.createElement("div",{className:`${I}-extra`},Y)),[ae,le,Y,U,I,q]),ge=a.useMemo(()=>{if(!F)return null;const xe=`${I}-footer`;return a.createElement("div",{className:xe,style:K},F)},[F,K,I]);return a.createElement("div",{className:`${I}-wrapper-body`,style:M},Se,a.createElement("div",{className:`${I}-body`,style:W},oe),ge)},H=A(33234),V=A(83116),B=A(37613),ee=G=>{const{componentCls:I,motionDurationSlow:q}=G,F={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${q}`}}};return{[I]:{[`${I}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${q}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${I}-panel-motion`]:{"&-left":[F,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[F,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[F,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[F,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const J=G=>{const{componentCls:I,zIndexPopup:q,colorBgMask:F,colorBgElevated:Y,motionDurationSlow:ue,motionDurationMid:ce,padding:ne,paddingLG:U,fontSizeLG:M,lineHeightLG:W,lineWidth:K,lineType:oe,colorSplit:he,marginSM:ae,colorIcon:le,colorIconHover:Se,colorText:ge,fontWeightStrong:xe,footerPaddingBlock:ye,footerPaddingInline:Te}=G,se=`${I}-content-wrapper`;return{[I]:{position:"fixed",inset:0,zIndex:q,pointerEvents:"none","&-pure":{position:"relative",background:Y,[`&${I}-left`]:{boxShadow:G.boxShadowDrawerLeft},[`&${I}-right`]:{boxShadow:G.boxShadowDrawerRight},[`&${I}-top`]:{boxShadow:G.boxShadowDrawerUp},[`&${I}-bottom`]:{boxShadow:G.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${I}-mask`]:{position:"absolute",inset:0,zIndex:q,background:F,pointerEvents:"auto"},[se]:{position:"absolute",zIndex:q,maxWidth:"100vw",transition:`all ${ue}`,"&-hidden":{display:"none"}},[`&-left > ${se}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:G.boxShadowDrawerLeft},[`&-right > ${se}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:G.boxShadowDrawerRight},[`&-top > ${se}`]:{top:0,insetInline:0,boxShadow:G.boxShadowDrawerUp},[`&-bottom > ${se}`]:{bottom:0,insetInline:0,boxShadow:G.boxShadowDrawerDown},[`${I}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Y,pointerEvents:"auto"},[`${I}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${I}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${ne}px ${U}px`,fontSize:M,lineHeight:W,borderBottom:`${K}px ${oe} ${he}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${I}-extra`]:{flex:"none"},[`${I}-close`]:{display:"inline-block",marginInlineEnd:ae,color:le,fontWeight:xe,fontSize:M,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ce}`,textRendering:"auto","&:focus, &:hover":{color:Se,textDecoration:"none"}},[`${I}-title`]:{flex:1,margin:0,color:ge,fontWeight:G.fontWeightStrong,fontSize:M,lineHeight:W},[`${I}-body`]:{flex:1,minWidth:0,minHeight:0,padding:U,overflow:"auto"},[`${I}-footer`]:{flexShrink:0,padding:`${ye}px ${Te}px`,borderTop:`${K}px ${oe} ${he}`},"&-rtl":{direction:"rtl"}}}};var Q=(0,V.Z)("Drawer",G=>{const I=(0,B.TS)(G,{});return[J(I),ee(I)]},G=>({zIndexPopup:G.zIndexPopupBase,footerPaddingBlock:G.paddingXS,footerPaddingInline:G.padding})),re=A(11575),Z=function(G,I){var q={};for(var F in G)Object.prototype.hasOwnProperty.call(G,F)&&I.indexOf(F)<0&&(q[F]=G[F]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,F=Object.getOwnPropertySymbols(G);Y<F.length;Y++)I.indexOf(F[Y])<0&&Object.prototype.propertyIsEnumerable.call(G,F[Y])&&(q[F[Y]]=G[F[Y]]);return q};const X=null,$={distance:180},ie=G=>{var I;const{rootClassName:q,width:F,height:Y,size:ue="default",mask:ce=!0,push:ne=$,open:U,afterOpenChange:M,onClose:W,prefixCls:K,getContainer:oe,style:he,className:ae,visible:le,afterVisibleChange:Se}=G,ge=Z(G,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:xe,getPrefixCls:ye,direction:Te,drawer:se}=a.useContext(k.E_),fe=ye("drawer",K),[me,Ee]=Q(fe),je=oe===void 0&&xe?()=>xe(document.body):oe,Le=z()({"no-mask":!ce,[`${fe}-rtl`]:Te==="rtl"},q,Ee),He=a.useMemo(()=>F!=null?F:ue==="large"?736:378,[F,ue]),We=a.useMemo(()=>Y!=null?Y:ue==="large"?736:378,[Y,ue]),Ge={motionName:(0,R.m)(fe,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},lt=et=>({motionName:(0,R.m)(fe,`panel-motion-${et}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ze=(0,re.H)();return me(a.createElement(H.BR,null,a.createElement(P.Ux,{status:!0,override:!0},a.createElement(T,Object.assign({prefixCls:fe,onClose:W,maskMotion:Ge,motion:lt},ge,{open:U!=null?U:le,mask:ce,push:ne,width:He,height:We,style:Object.assign(Object.assign({},se==null?void 0:se.style),he),className:z()(se==null?void 0:se.className,ae),rootClassName:Le,getContainer:je,afterOpenChange:M!=null?M:Se,panelRef:ze}),a.createElement(N,Object.assign({prefixCls:fe},ge,{onClose:W}))))))},de=G=>{const{prefixCls:I,style:q,className:F,placement:Y="right"}=G,ue=Z(G,["prefixCls","style","className","placement"]),{getPrefixCls:ce}=a.useContext(k.E_),ne=ce("drawer",I),[U,M]=Q(ne),W=z()(ne,`${ne}-pure`,`${ne}-${Y}`,M,F);return U(a.createElement("div",{className:W,style:q},a.createElement(N,Object.assign({prefixCls:ne},ue))))};ie._InternalPanelDoNotUseOrYouWillBeFired=de;var pe=ie},39722:function($e,be,A){"use strict";A.d(be,{t5:function(){return u}});var D=A(92310),z=A.n(D),e=A(55477),g=A(59301),v=A(36355),c=A(77578),a=A(17356),o=function(r,t){var n={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&t.indexOf(s)<0&&(n[s]=r[s]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,s=Object.getOwnPropertySymbols(r);d<s.length;d++)t.indexOf(s[d])<0&&Object.prototype.propertyIsEnumerable.call(r,s[d])&&(n[s[d]]=r[s[d]]);return n};const l=(r,t,n)=>{if(!(!t&&!n))return g.createElement(g.Fragment,null,t&&g.createElement("div",{className:`${r}-title`},(0,c.Z)(t)),g.createElement("div",{className:`${r}-inner-content`},(0,c.Z)(n)))},u=r=>{const{hashId:t,prefixCls:n,className:s,style:d,placement:m="top",title:h,content:y,children:p}=r;return g.createElement("div",{className:z()(t,n,`${n}-pure`,`${n}-placement-${m}`,s),style:d},g.createElement("div",{className:`${n}-arrow`}),g.createElement(e.G,Object.assign({},r,{className:t,prefixCls:n}),p||l(n,h,y)))},i=r=>{const{prefixCls:t}=r,n=o(r,["prefixCls"]),{getPrefixCls:s}=g.useContext(v.E_),d=s("popover",t),[m,h]=(0,a.Z)(d);return m(g.createElement(u,Object.assign({},n,{prefixCls:d,hashId:h})))};be.ZP=i},17356:function($e,be,A){"use strict";var D=A(17313),z=A(29878),e=A(19447),g=A(33166),v=A(83116),c=A(37613);const a=u=>{const{componentCls:i,popoverColor:r,minWidth:t,fontWeightStrong:n,popoverPadding:s,boxShadowSecondary:d,colorTextHeading:m,borderRadiusLG:h,zIndexPopup:y,marginXS:p,colorBgElevated:b,popoverBg:x}=u;return[{[i]:Object.assign(Object.assign({},(0,D.Wf)(u)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:y,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":b,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${i}-content`]:{position:"relative"},[`${i}-inner`]:{backgroundColor:x,backgroundClip:"padding-box",borderRadius:h,boxShadow:d,padding:s},[`${i}-title`]:{minWidth:t,marginBottom:p,color:m,fontWeight:n},[`${i}-inner-content`]:{color:r}})},(0,e.ZP)(u,{colorBg:"var(--antd-arrow-background-color)"}),{[`${i}-pure`]:{position:"relative",maxWidth:"none",margin:u.sizePopupArrow,display:"inline-block",[`${i}-content`]:{display:"inline-block"}}}]},o=u=>{const{componentCls:i}=u;return{[i]:g.i.map(r=>{const t=u[`${r}6`];return{[`&${i}-${r}`]:{"--antd-arrow-background-color":t,[`${i}-inner`]:{backgroundColor:t},[`${i}-arrow`]:{background:"transparent"}}}})}},l=u=>{const{componentCls:i,lineWidth:r,lineType:t,colorSplit:n,paddingSM:s,controlHeight:d,fontSize:m,lineHeight:h,padding:y}=u,p=d-Math.round(m*h),b=p/2,x=p/2-r,S=y;return{[i]:{[`${i}-inner`]:{padding:0},[`${i}-title`]:{margin:0,padding:`${b}px ${S}px ${x}px`,borderBottom:`${r}px ${t} ${n}`},[`${i}-inner-content`]:{padding:`${s}px ${S}px`}}}};be.Z=(0,v.Z)("Popover",u=>{const{colorBgElevated:i,colorText:r,wireframe:t}=u,n=(0,c.TS)(u,{popoverPadding:12,popoverBg:i,popoverColor:r});return[a(n),o(n),t&&l(n),(0,z._y)(n,"zoom-big")]},u=>({width:177,minWidth:177,zIndexPopup:u.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function($e,be,A){"use strict";A.d(be,{Z:function(){return Te}});var D=A(59301),z=A(79999),e=A(10402),g=A(33130),v=A(72119),c=A(92310),a=A.n(c),o=A(64002),l=A(36355),u=A(5891),i=A(57259),r=A(19149),t={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},n=function(){var fe=(0,D.useRef)([]),me=(0,D.useRef)(null);return(0,D.useEffect)(function(){var Ee=Date.now(),je=!1;fe.current.forEach(function(Le){if(Le){je=!0;var He=Le.style;He.transitionDuration=".3s, .3s, .3s, .06s",me.current&&Ee-me.current<100&&(He.transitionDuration="0s, 0s")}}),je&&(me.current=Date.now())}),fe.current},s=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],d=function(fe){var me=(0,i.Z)((0,i.Z)({},t),fe),Ee=me.className,je=me.percent,Le=me.prefixCls,He=me.strokeColor,We=me.strokeLinecap,Ge=me.strokeWidth,lt=me.style,ze=me.trailColor,et=me.trailWidth,Ct=me.transition,pt=(0,r.Z)(me,s);delete pt.gapPosition;var yt=Array.isArray(je)?je:[je],_t=Array.isArray(He)?He:[He],gt=n(),Vt=Ge/2,st=100-Ge/2,wt="M ".concat(We==="round"?Vt:0,",").concat(Vt,`
L `).concat(We==="round"?st:100,",").concat(Vt),ut="0 0 100 ".concat(Ge),Xt=0;return D.createElement("svg",(0,u.Z)({className:a()("".concat(Le,"-line"),Ee),viewBox:ut,preserveAspectRatio:"none",style:lt},pt),D.createElement("path",{className:"".concat(Le,"-line-trail"),d:wt,strokeLinecap:We,stroke:ze,strokeWidth:et||Ge,fillOpacity:"0"}),yt.map(function($t,Ut){var Ht=1;switch(We){case"round":Ht=1-Ge/100;break;case"square":Ht=1-Ge/2/100;break;default:Ht=1;break}var Mt={strokeDasharray:"".concat($t*Ht,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:Ct||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Rt=_t[Ut]||_t[_t.length-1];return Xt+=$t,D.createElement("path",{key:Ut,className:"".concat(Le,"-line-path"),d:wt,strokeLinecap:We,stroke:Rt,strokeWidth:Ge,fillOpacity:"0",ref:function(rr){gt[Ut]=rr},style:Mt})}))},m=d,h=A(80665),y=A(29043),p=A(87746),b=0,x=(0,p.Z)();function S(){var se;return x?(se=b,b+=1):se="TEST_OR_SSR",se}var w=function(se){var fe=D.useState(),me=(0,y.Z)(fe,2),Ee=me[0],je=me[1];return D.useEffect(function(){je("rc_progress_".concat(S()))},[]),se||Ee},_=function(fe){var me=fe.bg,Ee=fe.children;return D.createElement("div",{style:{width:"100%",height:"100%",background:me}},Ee)};function C(se,fe){return Object.keys(se).map(function(me){var Ee=parseFloat(me),je="".concat(Math.floor(Ee*fe),"%");return"".concat(se[me]," ").concat(je)})}var E=D.forwardRef(function(se,fe){var me=se.prefixCls,Ee=se.color,je=se.gradientId,Le=se.radius,He=se.style,We=se.ptg,Ge=se.strokeLinecap,lt=se.strokeWidth,ze=se.size,et=se.gapDegree,Ct=Ee&&(0,h.Z)(Ee)==="object",pt=Ct?"#FFF":void 0,yt=ze/2,_t=D.createElement("circle",{className:"".concat(me,"-circle-path"),r:Le,cx:yt,cy:yt,stroke:pt,strokeLinecap:Ge,strokeWidth:lt,opacity:We===0?0:1,style:He,ref:fe});if(!Ct)return _t;var gt="".concat(je,"-conic"),Vt=et?"".concat(180+et/2,"deg"):"0deg",st=C(Ee,(360-et)/360),wt=C(Ee,1),ut="conic-gradient(from ".concat(Vt,", ").concat(st.join(", "),")"),Xt="linear-gradient(to ".concat(et?"bottom":"top",", ").concat(wt.join(", "),")");return D.createElement(D.Fragment,null,D.createElement("mask",{id:gt},_t),D.createElement("foreignObject",{x:0,y:0,width:ze,height:ze,mask:"url(#".concat(gt,")")},D.createElement(_,{bg:Xt},D.createElement(_,{bg:ut}))))}),T=E,R=100,k=function(fe,me,Ee,je,Le,He,We,Ge,lt,ze){var et=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ct=Ee/100*360*((360-He)/360),pt=He===0?0:{bottom:0,top:180,left:90,right:-90}[We],yt=(100-je)/100*me;lt==="round"&&je!==100&&(yt+=ze/2,yt>=me&&(yt=me-.01));var _t=R/2;return{stroke:typeof Ge=="string"?Ge:void 0,strokeDasharray:"".concat(me,"px ").concat(fe),strokeDashoffset:yt+et,transform:"rotate(".concat(Le+Ct+pt,"deg)"),transformOrigin:"".concat(_t,"px ").concat(_t,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},P=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function L(se){var fe=se!=null?se:[];return Array.isArray(fe)?fe:[fe]}var O=function(fe){var me=(0,i.Z)((0,i.Z)({},t),fe),Ee=me.id,je=me.prefixCls,Le=me.steps,He=me.strokeWidth,We=me.trailWidth,Ge=me.gapDegree,lt=Ge===void 0?0:Ge,ze=me.gapPosition,et=me.trailColor,Ct=me.strokeLinecap,pt=me.style,yt=me.className,_t=me.strokeColor,gt=me.percent,Vt=(0,r.Z)(me,P),st=R/2,wt=w(Ee),ut="".concat(wt,"-gradient"),Xt=st-He/2,$t=Math.PI*2*Xt,Ut=lt>0?90+lt/2:-90,Ht=$t*((360-lt)/360),Mt=(0,h.Z)(Le)==="object"?Le:{count:Le,space:2},Rt=Mt.count,nr=Mt.space,rr=L(gt),Kt=L(_t),Zt=Kt.find(function(Fe){return Fe&&(0,h.Z)(Fe)==="object"}),Er=Zt&&(0,h.Z)(Zt)==="object",qt=Er?"butt":Ct,Fr=k($t,Ht,0,100,Ut,lt,ze,et,qt,He),Or=n(),ar=function(){var Ae=0;return rr.map(function(Ue,De){var tt=Kt[De]||Kt[Kt.length-1],at=k($t,Ht,Ae,Ue,Ut,lt,ze,tt,qt,He);return Ae+=Ue,D.createElement(T,{key:De,color:tt,ptg:Ue,radius:Xt,prefixCls:je,gradientId:ut,style:at,strokeLinecap:qt,strokeWidth:He,gapDegree:lt,ref:function(we){Or[De]=we},size:R})}).reverse()},fr=function(){var Ae=Math.round(Rt*(rr[0]/100)),Ue=100/Rt,De=0;return new Array(Rt).fill(null).map(function(tt,at){var ve=at<=Ae-1?Kt[0]:et,we=ve&&(0,h.Z)(ve)==="object"?"url(#".concat(ut,")"):void 0,Ce=k($t,Ht,De,Ue,Ut,lt,ze,ve,"butt",He,nr);return De+=(Ht-Ce.strokeDashoffset+nr)*100/Ht,D.createElement("circle",{key:at,className:"".concat(je,"-circle-path"),r:Xt,cx:st,cy:st,stroke:we,strokeWidth:He,opacity:1,style:Ce,ref:function(Me){Or[at]=Me}})})};return D.createElement("svg",(0,u.Z)({className:a()("".concat(je,"-circle"),yt),viewBox:"0 0 ".concat(R," ").concat(R),style:pt,id:Ee,role:"presentation"},Vt),!Rt&&D.createElement("circle",{className:"".concat(je,"-circle-trail"),r:Xt,cx:st,cy:st,stroke:et,strokeLinecap:qt,strokeWidth:We||He,style:Fr}),Rt?fr():ar())},N=O,H={Line:m,Circle:N},V=A(6848),B=A(93398);function te(se){return!se||se<0?0:se>100?100:se}function ee(se){let{success:fe,successPercent:me}=se,Ee=me;return fe&&"progress"in fe&&(Ee=fe.progress),fe&&"percent"in fe&&(Ee=fe.percent),Ee}const J=se=>{let{percent:fe,success:me,successPercent:Ee}=se;const je=te(ee({success:me,successPercent:Ee}));return[je,te(te(fe)-je)]},Q=se=>{let{success:fe={},strokeColor:me}=se;const{strokeColor:Ee}=fe;return[Ee||B.presetPrimaryColors.green,me||null]},re=(se,fe,me)=>{var Ee,je,Le,He;let We=-1,Ge=-1;if(fe==="step"){const lt=me.steps,ze=me.strokeWidth;typeof se=="string"||typeof se=="undefined"?(We=se==="small"?2:14,Ge=ze!=null?ze:8):typeof se=="number"?[We,Ge]=[se,se]:[We=14,Ge=8]=se,We*=lt}else if(fe==="line"){const lt=me==null?void 0:me.strokeWidth;typeof se=="string"||typeof se=="undefined"?Ge=lt||(se==="small"?6:8):typeof se=="number"?[We,Ge]=[se,se]:[We=-1,Ge=8]=se}else(fe==="circle"||fe==="dashboard")&&(typeof se=="string"||typeof se=="undefined"?[We,Ge]=se==="small"?[60,60]:[120,120]:typeof se=="number"?[We,Ge]=[se,se]:(We=(je=(Ee=se[0])!==null&&Ee!==void 0?Ee:se[1])!==null&&je!==void 0?je:120,Ge=(He=(Le=se[0])!==null&&Le!==void 0?Le:se[1])!==null&&He!==void 0?He:120));return[We,Ge]},Z=3,X=se=>Z/se*100;var ie=se=>{const{prefixCls:fe,trailColor:me=null,strokeLinecap:Ee="round",gapPosition:je,gapDegree:Le,width:He=120,type:We,children:Ge,success:lt,size:ze=He}=se,[et,Ct]=re(ze,"circle");let{strokeWidth:pt}=se;pt===void 0&&(pt=Math.max(X(et),6));const yt={width:et,height:Ct,fontSize:et*.15+6},_t=D.useMemo(()=>{if(Le||Le===0)return Le;if(We==="dashboard")return 75},[Le,We]),gt=je||We==="dashboard"&&"bottom"||void 0,Vt=Object.prototype.toString.call(se.strokeColor)==="[object Object]",st=Q({success:lt,strokeColor:se.strokeColor}),wt=a()(`${fe}-inner`,{[`${fe}-circle-gradient`]:Vt}),ut=D.createElement(N,{percent:J(se),strokeWidth:pt,trailWidth:pt,strokeColor:st,strokeLinecap:Ee,trailColor:me,prefixCls:fe,gapDegree:_t,gapPosition:gt});return D.createElement("div",{className:wt,style:yt},et<=20?D.createElement(V.Z,{title:Ge},D.createElement("span",null,ut)):D.createElement(D.Fragment,null,ut,Ge))},de=function(se,fe){var me={};for(var Ee in se)Object.prototype.hasOwnProperty.call(se,Ee)&&fe.indexOf(Ee)<0&&(me[Ee]=se[Ee]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ee=Object.getOwnPropertySymbols(se);je<Ee.length;je++)fe.indexOf(Ee[je])<0&&Object.prototype.propertyIsEnumerable.call(se,Ee[je])&&(me[Ee[je]]=se[Ee[je]]);return me};const pe=se=>{let fe=[];return Object.keys(se).forEach(me=>{const Ee=parseFloat(me.replace(/%/g,""));isNaN(Ee)||fe.push({key:Ee,value:se[me]})}),fe=fe.sort((me,Ee)=>me.key-Ee.key),fe.map(me=>{let{key:Ee,value:je}=me;return`${je} ${Ee}%`}).join(", ")},G=(se,fe)=>{const{from:me=B.presetPrimaryColors.blue,to:Ee=B.presetPrimaryColors.blue,direction:je=fe==="rtl"?"to left":"to right"}=se,Le=de(se,["from","to","direction"]);if(Object.keys(Le).length!==0){const He=pe(Le);return{backgroundImage:`linear-gradient(${je}, ${He})`}}return{backgroundImage:`linear-gradient(${je}, ${me}, ${Ee})`}};var q=se=>{const{prefixCls:fe,direction:me,percent:Ee,size:je,strokeWidth:Le,strokeColor:He,strokeLinecap:We="round",children:Ge,trailColor:lt=null,success:ze}=se,et=He&&typeof He!="string"?G(He,me):{backgroundColor:He},Ct=We==="square"||We==="butt"?0:void 0,pt={backgroundColor:lt||void 0,borderRadius:Ct},yt=je!=null?je:[-1,Le||(je==="small"?6:8)],[_t,gt]=re(yt,"line",{strokeWidth:Le}),Vt=Object.assign({width:`${te(Ee)}%`,height:gt,borderRadius:Ct},et),st=ee(se),wt={width:`${te(st)}%`,height:gt,borderRadius:Ct,backgroundColor:ze==null?void 0:ze.strokeColor},ut={width:_t<0?"100%":_t,height:gt};return D.createElement(D.Fragment,null,D.createElement("div",{className:`${fe}-outer`,style:ut},D.createElement("div",{className:`${fe}-inner`,style:pt},D.createElement("div",{className:`${fe}-bg`,style:Vt}),st!==void 0?D.createElement("div",{className:`${fe}-success-bg`,style:wt}):null)),Ge)},Y=se=>{const{size:fe,steps:me,percent:Ee=0,strokeWidth:je=8,strokeColor:Le,trailColor:He=null,prefixCls:We,children:Ge}=se,lt=Math.round(me*(Ee/100)),ze=fe==="small"?2:14,et=fe!=null?fe:[ze,je],[Ct,pt]=re(et,"step",{steps:me,strokeWidth:je}),yt=Ct/me,_t=new Array(me);for(let gt=0;gt<me;gt++){const Vt=Array.isArray(Le)?Le[gt]:Le;_t[gt]=D.createElement("div",{key:gt,className:a()(`${We}-steps-item`,{[`${We}-steps-item-active`]:gt<=lt-1}),style:{backgroundColor:gt<=lt-1?Vt:He,width:yt,height:pt}})}return D.createElement("div",{className:`${We}-steps-outer`},_t,Ge)},ue=A(9792),ce=A(17313),ne=A(83116),U=A(37613);const M=se=>{const fe=se?"100%":"-100%";return new ue.Keyframes(`antProgress${se?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${fe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${fe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},W=se=>{const{componentCls:fe,iconCls:me}=se;return{[fe]:Object.assign(Object.assign({},(0,ce.Wf)(se)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:se.fontSize,marginInlineEnd:se.marginXS,marginBottom:se.marginXS},[`${fe}-outer`]:{display:"inline-block",width:"100%"},[`&${fe}-show-info`]:{[`${fe}-outer`]:{marginInlineEnd:`calc(-2em - ${se.marginXS}px)`,paddingInlineEnd:`calc(2em + ${se.paddingXS}px)`}},[`${fe}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:se.remainingColor,borderRadius:se.lineBorderRadius},[`${fe}-inner:not(${fe}-circle-gradient)`]:{[`${fe}-circle-path`]:{stroke:se.defaultColor}},[`${fe}-success-bg, ${fe}-bg`]:{position:"relative",backgroundColor:se.defaultColor,borderRadius:se.lineBorderRadius,transition:`all ${se.motionDurationSlow} ${se.motionEaseInOutCirc}`},[`${fe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:se.colorSuccess},[`${fe}-text`]:{display:"inline-block",width:"2em",marginInlineStart:se.marginXS,color:se.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[me]:{fontSize:se.fontSize}},[`&${fe}-status-active`]:{[`${fe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:se.colorBgContainer,borderRadius:se.lineBorderRadius,opacity:0,animationName:M(),animationDuration:se.progressActiveMotionDuration,animationTimingFunction:se.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${fe}-rtl${fe}-status-active`]:{[`${fe}-bg::before`]:{animationName:M(!0)}},[`&${fe}-status-exception`]:{[`${fe}-bg`]:{backgroundColor:se.colorError},[`${fe}-text`]:{color:se.colorError}},[`&${fe}-status-exception ${fe}-inner:not(${fe}-circle-gradient)`]:{[`${fe}-circle-path`]:{stroke:se.colorError}},[`&${fe}-status-success`]:{[`${fe}-bg`]:{backgroundColor:se.colorSuccess},[`${fe}-text`]:{color:se.colorSuccess}},[`&${fe}-status-success ${fe}-inner:not(${fe}-circle-gradient)`]:{[`${fe}-circle-path`]:{stroke:se.colorSuccess}}})}},K=se=>{const{componentCls:fe,iconCls:me}=se;return{[fe]:{[`${fe}-circle-trail`]:{stroke:se.remainingColor},[`&${fe}-circle ${fe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${fe}-circle ${fe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:se.circleTextColor,fontSize:se.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[me]:{fontSize:`${se.fontSize/se.fontSizeSM}em`}},[`${fe}-circle&-status-exception`]:{[`${fe}-text`]:{color:se.colorError}},[`${fe}-circle&-status-success`]:{[`${fe}-text`]:{color:se.colorSuccess}}},[`${fe}-inline-circle`]:{lineHeight:1,[`${fe}-inner`]:{verticalAlign:"bottom"}}}},oe=se=>{const{componentCls:fe}=se;return{[fe]:{[`${fe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:se.progressStepMinWidth,marginInlineEnd:se.progressStepMarginInlineEnd,backgroundColor:se.remainingColor,transition:`all ${se.motionDurationSlow}`,"&-active":{backgroundColor:se.defaultColor}}}}}},he=se=>{const{componentCls:fe,iconCls:me}=se;return{[fe]:{[`${fe}-small&-line, ${fe}-small&-line ${fe}-text ${me}`]:{fontSize:se.fontSizeSM}}}};var ae=(0,ne.Z)("Progress",se=>{const fe=se.marginXXS/2,me=(0,U.TS)(se,{progressStepMarginInlineEnd:fe,progressStepMinWidth:fe,progressActiveMotionDuration:"2.4s"});return[W(me),K(me),oe(me),he(me)]},se=>({circleTextColor:se.colorText,defaultColor:se.colorInfo,remainingColor:se.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),le=function(se,fe){var me={};for(var Ee in se)Object.prototype.hasOwnProperty.call(se,Ee)&&fe.indexOf(Ee)<0&&(me[Ee]=se[Ee]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ee=Object.getOwnPropertySymbols(se);je<Ee.length;je++)fe.indexOf(Ee[je])<0&&Object.prototype.propertyIsEnumerable.call(se,Ee[je])&&(me[Ee[je]]=se[Ee[je]]);return me};const Se=null,ge=["normal","exception","active","success"];var ye=D.forwardRef((se,fe)=>{const{prefixCls:me,className:Ee,rootClassName:je,steps:Le,strokeColor:He,percent:We=0,size:Ge="default",showInfo:lt=!0,type:ze="line",status:et,format:Ct,style:pt}=se,yt=le(se,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),_t=D.useMemo(()=>{var rr,Kt;const Zt=ee(se);return parseInt(Zt!==void 0?(rr=Zt!=null?Zt:0)===null||rr===void 0?void 0:rr.toString():(Kt=We!=null?We:0)===null||Kt===void 0?void 0:Kt.toString(),10)},[We,se.success,se.successPercent]),gt=D.useMemo(()=>!ge.includes(et)&&_t>=100?"success":et||"normal",[et,_t]),{getPrefixCls:Vt,direction:st,progress:wt}=D.useContext(l.E_),ut=Vt("progress",me),[Xt,$t]=ae(ut),Ut=D.useMemo(()=>{if(!lt)return null;const rr=ee(se);let Kt;const Zt=Ct||(qt=>`${qt}%`),Er=ze==="line";return Ct||gt!=="exception"&&gt!=="success"?Kt=Zt(te(We),te(rr)):gt==="exception"?Kt=Er?D.createElement(g.Z,null):D.createElement(v.Z,null):gt==="success"&&(Kt=Er?D.createElement(z.Z,null):D.createElement(e.Z,null)),D.createElement("span",{className:`${ut}-text`,title:typeof Kt=="string"?Kt:void 0},Kt)},[lt,We,_t,gt,ze,ut,Ct]),Ht=Array.isArray(He)?He[0]:He,Mt=typeof He=="string"||Array.isArray(He)?He:void 0;let Rt;ze==="line"?Rt=Le?D.createElement(Y,Object.assign({},se,{strokeColor:Mt,prefixCls:ut,steps:Le}),Ut):D.createElement(q,Object.assign({},se,{strokeColor:Ht,prefixCls:ut,direction:st}),Ut):(ze==="circle"||ze==="dashboard")&&(Rt=D.createElement(ie,Object.assign({},se,{strokeColor:Ht,prefixCls:ut,progressStatus:gt}),Ut));const nr=a()(ut,`${ut}-status-${gt}`,`${ut}-${ze==="dashboard"&&"circle"||Le&&"steps"||ze}`,{[`${ut}-inline-circle`]:ze==="circle"&&re(Ge,"circle")[0]<=20,[`${ut}-show-info`]:lt,[`${ut}-${Ge}`]:typeof Ge=="string",[`${ut}-rtl`]:st==="rtl"},wt==null?void 0:wt.className,Ee,je,$t);return Xt(D.createElement("div",Object.assign({ref:fe,style:Object.assign(Object.assign({},wt==null?void 0:wt.style),pt),className:nr,role:"progressbar","aria-valuenow":_t},(0,o.Z)(yt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Rt))}),Te=ye},65615:function($e,be,A){"use strict";A.d(be,{Z:function(){return he}});var D=A(59301),z=A(57259),e=A(5891),g=A(80665),v=A(29043),c=A(19149),a=A(43403),o=A(35593),l=A(92310),u=A.n(l),i=A(28800),r=A(35788),t=A(8107);function n(ae){var le=window.innerWidth||document.documentElement.clientWidth,Se=window.innerHeight||document.documentElement.clientHeight,ge=ae.getBoundingClientRect(),xe=ge.top,ye=ge.right,Te=ge.bottom,se=ge.left;return xe>=0&&se>=0&&ye<=le&&Te<=Se}function s(ae,le,Se){var ge;return(ge=Se!=null?Se:le)!==null&&ge!==void 0?ge:ae===null?"center":"bottom"}function d(ae,le,Se,ge){var xe=(0,D.useState)(void 0),ye=(0,v.Z)(xe,2),Te=ye[0],se=ye[1];(0,i.Z)(function(){var Ge=typeof ae=="function"?ae():ae;se(Ge||null)});var fe=(0,D.useState)(null),me=(0,v.Z)(fe,2),Ee=me[0],je=me[1],Le=(0,t.Z)(function(){if(Te){!n(Te)&&le&&Te.scrollIntoView(ge);var Ge=Te.getBoundingClientRect(),lt=Ge.left,ze=Ge.top,et=Ge.width,Ct=Ge.height,pt={left:lt,top:ze,width:et,height:Ct,radius:0};je(function(yt){return JSON.stringify(yt)!==JSON.stringify(pt)?pt:yt})}else je(null)}),He=function(lt){var ze;return(ze=Array.isArray(Se==null?void 0:Se.offset)?Se==null?void 0:Se.offset[lt]:Se==null?void 0:Se.offset)!==null&&ze!==void 0?ze:6};(0,i.Z)(function(){return Le(),window.addEventListener("resize",Le),function(){window.removeEventListener("resize",Le)}},[Te,le,Le]);var We=(0,D.useMemo)(function(){if(!Ee)return Ee;var Ge=He(0),lt=He(1),ze=(Se==null?void 0:Se.radius)||2;return{left:Ee.left-Ge,top:Ee.top-lt,width:Ee.width+Ge*2,height:Ee.height+lt*2,radius:ze}},[Ee,Se]);return[We,Te]}var m=A(49879),h={fill:"transparent",pointerEvents:"auto"},y=function(le){var Se=le.prefixCls,ge=le.rootClassName,xe=le.pos,ye=le.showMask,Te=le.style,se=Te===void 0?{}:Te,fe=le.fill,me=fe===void 0?"rgba(0,0,0,0.5)":fe,Ee=le.open,je=le.animated,Le=le.zIndex,He=(0,m.Z)(),We="".concat(Se,"-mask-").concat(He),Ge=(0,g.Z)(je)==="object"?je==null?void 0:je.placeholder:je;return D.createElement(a.Z,{open:Ee,autoLock:!0},D.createElement("div",{className:u()("".concat(Se,"-mask"),ge),style:(0,z.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Le,pointerEvents:"none"},se)},ye?D.createElement("svg",{style:{width:"100%",height:"100%"}},D.createElement("defs",null,D.createElement("mask",{id:We},D.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),xe&&D.createElement("rect",{x:xe.left,y:xe.top,rx:xe.radius,width:xe.width,height:xe.height,fill:"black",className:Ge?"".concat(Se,"-placeholder-animated"):""}))),D.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:me,mask:"url(#".concat(We,")")}),xe&&D.createElement(D.Fragment,null,D.createElement("rect",(0,e.Z)({},h,{x:"0",y:"0",width:"100%",height:xe.top})),D.createElement("rect",(0,e.Z)({},h,{x:"0",y:"0",width:xe.left,height:"100%"})),D.createElement("rect",(0,e.Z)({},h,{x:"0",y:xe.top+xe.height,width:"100%",height:"calc(100vh - ".concat(xe.top+xe.height,"px)")})),D.createElement("rect",(0,e.Z)({},h,{x:xe.left+xe.width,y:"0",width:"calc(100vw - ".concat(xe.left+xe.width,"px)"),height:"100%"})))):null))},p=y,b={adjustX:1,adjustY:1},x=[0,0],S={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function w(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,le={};return Object.keys(S).forEach(function(Se){le[Se]=(0,z.Z)((0,z.Z)({},S[Se]),{},{autoArrow:ae,targetOffset:x})}),le}var _=w(),C=A(26390);function E(ae){var le=ae.prefixCls,Se=ae.current,ge=ae.total,xe=ae.title,ye=ae.description,Te=ae.onClose,se=ae.onPrev,fe=ae.onNext,me=ae.onFinish,Ee=ae.className,je=ae.closeIcon,Le=je!==!1&&je!==null,He=je!==void 0&&je!==!0?je:D.createElement("span",{className:"".concat(le,"-close-x")},"\xD7");return D.createElement("div",{className:u()("".concat(le,"-content"),Ee)},D.createElement("div",{className:"".concat(le,"-inner")},Le&&D.createElement("button",{type:"button",onClick:Te,"aria-label":"Close",className:"".concat(le,"-close")},He),D.createElement("div",{className:"".concat(le,"-header")},D.createElement("div",{className:"".concat(le,"-title")},xe)),D.createElement("div",{className:"".concat(le,"-description")},ye),D.createElement("div",{className:"".concat(le,"-footer")},D.createElement("div",{className:"".concat(le,"-sliders")},ge>1?(0,C.Z)(Array.from({length:ge}).keys()).map(function(We,Ge){return D.createElement("span",{key:We,className:Ge===Se?"active":""})}):null),D.createElement("div",{className:"".concat(le,"-buttons")},Se!==0?D.createElement("button",{className:"".concat(le,"-prev-btn"),onClick:se},"Prev"):null,Se===ge-1?D.createElement("button",{className:"".concat(le,"-finish-btn"),onClick:me},"Finish"):D.createElement("button",{className:"".concat(le,"-next-btn"),onClick:fe},"Next")))))}var T=function(le){var Se=le.current,ge=le.renderPanel;return D.createElement(D.Fragment,null,typeof ge=="function"?ge(le,Se):D.createElement(E,le))},R=T,k=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],P={left:"50%",top:"50%",width:1,height:1},L=function(le){var Se=le.prefixCls,ge=Se===void 0?"rc-tour":Se,xe=le.steps,ye=xe===void 0?[]:xe,Te=le.defaultCurrent,se=le.current,fe=le.onChange,me=le.onClose,Ee=le.onFinish,je=le.open,Le=le.mask,He=Le===void 0?!0:Le,We=le.arrow,Ge=We===void 0?!0:We,lt=le.rootClassName,ze=le.placement,et=le.renderPanel,Ct=le.gap,pt=le.animated,yt=le.scrollIntoViewOptions,_t=yt===void 0?!0:yt,gt=le.zIndex,Vt=gt===void 0?1001:gt,st=le.closeIcon,wt=(0,c.Z)(le,k),ut=D.useRef(),Xt=(0,r.Z)(0,{value:se,defaultValue:Te}),$t=(0,v.Z)(Xt,2),Ut=$t[0],Ht=$t[1],Mt=(0,r.Z)(void 0,{value:je,postState:function(Dt){return Ut<0||Ut>=ye.length?!1:Dt!=null?Dt:!0}}),Rt=(0,v.Z)(Mt,2),nr=Rt[0],rr=Rt[1],Kt=D.useRef(nr);(0,i.Z)(function(){nr&&!Kt.current&&Ht(0),Kt.current=nr},[nr]);var Zt=ye[Ut]||{},Er=Zt.target,qt=Zt.placement,Fr=Zt.style,Or=Zt.arrow,ar=Zt.className,fr=Zt.mask,Fe=Zt.scrollIntoViewOptions,Ae=Zt.closeIcon,Ue=nr&&(fr!=null?fr:He),De=Ae!=null?Ae:st,tt=Fe!=null?Fe:_t,at=d(Er,je,Ct,tt),ve=(0,v.Z)(at,2),we=ve[0],Ce=ve[1],Oe=s(Ce,ze,qt),Me=Ce?typeof Or=="undefined"?Ge:Or:!1,Pe=(0,g.Z)(Me)==="object"?Me.pointAtCenter:!1;(0,i.Z)(function(){var ct;(ct=ut.current)===null||ct===void 0||ct.forceAlign()},[Pe,Ut]);var ke=function(Dt){Ht(Dt),fe==null||fe(Dt)};if(Ce===void 0)return null;var Re=function(){rr(!1),me==null||me(Ut)},Ve=function(){return D.createElement(R,(0,e.Z)({arrow:Me,key:"content",prefixCls:ge,total:ye.length,renderPanel:et,onPrev:function(){ke(Ut-1)},onNext:function(){ke(Ut+1)},onClose:Re,current:Ut,onFinish:function(){Re(),Ee==null||Ee()},closeIcon:De},ye[Ut]))},rt=typeof Ue=="boolean"?Ue:!!Ue,qe=typeof Ue=="boolean"?void 0:Ue,dt=function(Dt){return Dt||Ce||document.body};return D.createElement(D.Fragment,null,D.createElement(p,{zIndex:Vt,prefixCls:ge,pos:we,showMask:rt,style:qe==null?void 0:qe.style,fill:qe==null?void 0:qe.color,open:nr,animated:pt,rootClassName:lt}),D.createElement(o.Z,(0,e.Z)({builtinPlacements:w(Pe)},wt,{ref:ut,popupStyle:Fr,popupPlacement:Oe,popupVisible:nr,popupClassName:u()(lt,ar),prefixCls:ge,popup:Ve,forceRender:!1,destroyPopupOnHide:!0,zIndex:Vt,getTriggerDOMNode:dt,arrow:!!Me}),D.createElement(a.Z,{open:nr,autoLock:!0},D.createElement("div",{className:u()(lt,"".concat(ge,"-target-placeholder")),style:(0,z.Z)((0,z.Z)({},we||P),{},{position:"fixed",pointerEvents:"none"})}))))},O=L,N=O,H=A(79676),V=A(36355),B=A(88088),te=A(72119),ee=A(3113),J=A(9763),Q=A(31724),re=A(47729);function Z(ae){return ae!=null}var $=ae=>{let{stepProps:le,current:Se,type:ge,indicatorsRender:xe,closeIcon:ye}=ae;var Te,se;const{prefixCls:fe,total:me=1,title:Ee,onClose:je,onPrev:Le,onNext:He,onFinish:We,cover:Ge,description:lt,nextButtonProps:ze,prevButtonProps:et,type:Ct,className:pt,closeIcon:yt}=le,_t=Ct!=null?Ct:ge,gt=yt!=null?yt:ye,Vt=gt!==!1&&gt!==null,[st,wt]=(0,re.Z)(Vt,gt,Zt=>D.createElement("span",{onClick:je,"aria-label":"Close",className:`${fe}-close`},Zt),D.createElement(te.Z,{className:`${fe}-close-icon`}),!0),ut=Se===me-1,Xt=()=>{var Zt;Le==null||Le(),(Zt=et==null?void 0:et.onClick)===null||Zt===void 0||Zt.call(et)},$t=()=>{var Zt;ut?We==null||We():He==null||He(),(Zt=ze==null?void 0:ze.onClick)===null||Zt===void 0||Zt.call(ze)},Ut=Z(Ee)?D.createElement("div",{className:`${fe}-header`},D.createElement("div",{className:`${fe}-title`},Ee)):null,Ht=Z(lt)?D.createElement("div",{className:`${fe}-description`},lt):null,Mt=Z(Ge)?D.createElement("div",{className:`${fe}-cover`},Ge):null;let Rt;xe?Rt=xe(Se,me):Rt=(0,C.Z)(Array.from({length:me}).keys()).map((Zt,Er)=>D.createElement("span",{key:Zt,className:u()(Er===Se&&`${fe}-indicator-active`,`${fe}-indicator`)}));const nr=_t==="primary"?"default":"primary",rr={type:"default",ghost:_t==="primary"},[Kt]=(0,J.Z)("Tour",Q.Z.Tour);return D.createElement("div",{className:u()(pt,`${fe}-content`)},D.createElement("div",{className:`${fe}-inner`},st&&wt,Mt,Ut,Ht,D.createElement("div",{className:`${fe}-footer`},me>1&&D.createElement("div",{className:`${fe}-indicators`},Rt),D.createElement("div",{className:`${fe}-buttons`},Se!==0?D.createElement(ee.ZP,Object.assign({},rr,et,{onClick:Xt,size:"small",className:u()(`${fe}-prev-btn`,et==null?void 0:et.className)}),(Te=et==null?void 0:et.children)!==null&&Te!==void 0?Te:Kt==null?void 0:Kt.Previous):null,D.createElement(ee.ZP,Object.assign({type:nr},ze,{onClick:$t,size:"small",className:u()(`${fe}-next-btn`,ze==null?void 0:ze.className)}),(se=ze==null?void 0:ze.children)!==null&&se!==void 0?se:ut?Kt==null?void 0:Kt.Finish:Kt==null?void 0:Kt.Next)))))},ie=A(39722),de=A(64993),pe=A(17313),G=A(19447),I=A(83116),q=A(37613);const F=ae=>{const{componentCls:le,lineHeight:Se,padding:ge,paddingXS:xe,borderRadius:ye,borderRadiusXS:Te,colorPrimary:se,colorText:fe,colorFill:me,indicatorHeight:Ee,indicatorWidth:je,boxShadowTertiary:Le,tourZIndexPopup:He,fontSize:We,colorBgElevated:Ge,fontWeightStrong:lt,marginXS:ze,colorTextLightSolid:et,tourBorderRadius:Ct,colorWhite:pt,colorBgTextHover:yt,tourCloseSize:_t,motionDurationSlow:gt,antCls:Vt}=ae;return[{[le]:Object.assign(Object.assign({},(0,pe.Wf)(ae)),{color:fe,position:"absolute",zIndex:He,display:"block",visibility:"visible",fontSize:We,lineHeight:Se,width:520,"--antd-arrow-background-color":Ge,"&-pure":{maxWidth:"100%",position:"relative"},[`&${le}-hidden`]:{display:"none"},[`${le}-content`]:{position:"relative"},[`${le}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:Ct,boxShadow:Le,position:"relative",backgroundColor:Ge,border:"none",backgroundClip:"padding-box",[`${le}-close`]:{position:"absolute",top:ge,insetInlineEnd:ge,color:ae.colorIcon,outline:"none",width:_t,height:_t,borderRadius:ae.borderRadiusSM,transition:`background-color ${ae.motionDurationMid}, color ${ae.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:ae.colorIconHover,backgroundColor:ae.wireframe?"transparent":ae.colorFillContent}},[`${le}-cover`]:{textAlign:"center",padding:`${ge+_t+xe}px ${ge}px 0`,img:{width:"100%"}},[`${le}-header`]:{padding:`${ge}px ${ge}px ${xe}px`,[`${le}-title`]:{lineHeight:Se,fontSize:We,fontWeight:lt}},[`${le}-description`]:{padding:`0 ${ge}px`,lineHeight:Se,wordWrap:"break-word"},[`${le}-footer`]:{padding:`${xe}px ${ge}px ${ge}px`,textAlign:"end",borderRadius:`0 0 ${Te}px ${Te}px`,display:"flex",[`${le}-indicators`]:{display:"inline-block",[`${le}-indicator`]:{width:je,height:Ee,display:"inline-block",borderRadius:"50%",background:me,"&:not(:last-child)":{marginInlineEnd:Ee},"&-active":{background:se}}},[`${le}-buttons`]:{marginInlineStart:"auto",[`${Vt}-btn`]:{marginInlineStart:ze}}}},[`${le}-primary, &${le}-primary`]:{"--antd-arrow-background-color":se,[`${le}-inner`]:{color:et,textAlign:"start",textDecoration:"none",backgroundColor:se,borderRadius:ye,boxShadow:Le,[`${le}-close`]:{color:et},[`${le}-indicators`]:{[`${le}-indicator`]:{background:new de.C(et).setAlpha(.15).toRgbString(),"&-active":{background:et}}},[`${le}-prev-btn`]:{color:et,borderColor:new de.C(et).setAlpha(.15).toRgbString(),backgroundColor:se,"&:hover":{backgroundColor:new de.C(et).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${le}-next-btn`]:{color:se,borderColor:"transparent",background:pt,"&:hover":{background:new de.C(yt).onBackground(pt).toRgbString()}}}}}),[`${le}-mask`]:{[`${le}-placeholder-animated`]:{transition:`all ${gt}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${le}-inner`]:{borderRadius:Math.min(Ct,G.qN)}}},(0,G.ZP)(ae,{colorBg:"var(--antd-arrow-background-color)",contentRadius:Ct,limitVerticalRadius:!0})]};var Y=(0,I.Z)("Tour",ae=>{const{borderRadiusLG:le,fontSize:Se,lineHeight:ge}=ae,xe=(0,q.TS)(ae,{tourZIndexPopup:ae.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:le,tourCloseSize:Se*ge});return[F(xe)]}),ue=A(53487),ce=function(ae,le){var Se={};for(var ge in ae)Object.prototype.hasOwnProperty.call(ae,ge)&&le.indexOf(ge)<0&&(Se[ge]=ae[ge]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ge=Object.getOwnPropertySymbols(ae);xe<ge.length;xe++)le.indexOf(ge[xe])<0&&Object.prototype.propertyIsEnumerable.call(ae,ge[xe])&&(Se[ge[xe]]=ae[ge[xe]]);return Se};const ne=ae=>{const{prefixCls:le,current:Se=0,total:ge=6,className:xe,style:ye,type:Te}=ae,se=ce(ae,["prefixCls","current","total","className","style","type"]),{getPrefixCls:fe}=D.useContext(V.E_),me=fe("tour",le),[Ee,je]=Y(me);return Ee(D.createElement(ie.t5,{prefixCls:me,hashId:je,className:u()(xe,`${me}-pure`,Te&&`${me}-${Te}`),style:ye},D.createElement($,{stepProps:Object.assign(Object.assign({},se),{prefixCls:me,total:ge}),current:Se,type:Te})))};var U=(0,ue.i)(ne),W=ae=>{let{defaultType:le,steps:Se=[],current:ge,defaultCurrent:xe}=ae;var ye;const[Te,se]=(0,r.Z)(xe,{value:ge});(0,D.useLayoutEffect)(()=>{ge!==void 0&&se(ge)},[ge]);const fe=typeof Te=="number"?(ye=Se[Te])===null||ye===void 0?void 0:ye.type:le;return{currentMergedType:fe!=null?fe:le,updateInnerCurrent:se}},K=function(ae,le){var Se={};for(var ge in ae)Object.prototype.hasOwnProperty.call(ae,ge)&&le.indexOf(ge)<0&&(Se[ge]=ae[ge]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ge=Object.getOwnPropertySymbols(ae);xe<ge.length;xe++)le.indexOf(ge[xe])<0&&Object.prototype.propertyIsEnumerable.call(ae,ge[xe])&&(Se[ge[xe]]=ae[ge[xe]]);return Se};const oe=ae=>{const{prefixCls:le,current:Se,defaultCurrent:ge,type:xe,rootClassName:ye,indicatorsRender:Te,steps:se}=ae,fe=K(ae,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:me,direction:Ee}=(0,D.useContext)(V.E_),je=me("tour",le),[Le,He]=Y(je),[,We]=(0,B.Z)(),{currentMergedType:Ge,updateInnerCurrent:lt}=W({defaultType:xe,steps:se,current:Se,defaultCurrent:ge}),ze=(0,H.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:We.marginXXS,arrowWidth:We.sizePopupArrow,borderRadius:We.borderRadius}),et=u()({[`${je}-primary`]:Ge==="primary",[`${je}-rtl`]:Ee==="rtl"},He,ye),Ct=(yt,_t)=>D.createElement($,{type:xe,stepProps:yt,current:_t,indicatorsRender:Te}),pt=yt=>{var _t;lt(yt),(_t=ae.onChange)===null||_t===void 0||_t.call(ae,yt)};return Le(D.createElement(N,Object.assign({},fe,{rootClassName:et,prefixCls:je,current:Se,defaultCurrent:ge,animated:!0,renderPanel:Ct,builtinPlacements:ze,onChange:pt,steps:se})))};oe._InternalPanelDoNotUseOrYouWillBeFired=U;var he=oe},24645:function($e,be,A){"use strict";A.d(be,{default:function(){return at}});var D=A(59301),z=A(26390),e=A(92310),g=A.n(e),v=A(5891),c=A(79545),a=A(68550),o=A(17928),l=A(7711),u=A(80962),i=A(19149),r=A(50204),t=A(80665),n=A(20959),s=A(36994);function d(ve,we){var Ce="cannot ".concat(ve.method," ").concat(ve.action," ").concat(we.status,"'"),Oe=new Error(Ce);return Oe.status=we.status,Oe.method=ve.method,Oe.url=ve.action,Oe}function m(ve){var we=ve.responseText||ve.response;if(!we)return we;try{return JSON.parse(we)}catch(Ce){return we}}function h(ve){var we=new XMLHttpRequest;ve.onProgress&&we.upload&&(we.upload.onprogress=function(Pe){Pe.total>0&&(Pe.percent=Pe.loaded/Pe.total*100),ve.onProgress(Pe)});var Ce=new FormData;ve.data&&Object.keys(ve.data).forEach(function(Me){var Pe=ve.data[Me];if(Array.isArray(Pe)){Pe.forEach(function(ke){Ce.append("".concat(Me,"[]"),ke)});return}Ce.append(Me,Pe)}),ve.file instanceof Blob?Ce.append(ve.filename,ve.file,ve.file.name):Ce.append(ve.filename,ve.file),we.onerror=function(Pe){ve.onError(Pe)},we.onload=function(){return we.status<200||we.status>=300?ve.onError(d(ve,we),m(we)):ve.onSuccess(m(we),we)},we.open(ve.method,ve.action,!0),ve.withCredentials&&"withCredentials"in we&&(we.withCredentials=!0);var Oe=ve.headers||{};return Oe["X-Requested-With"]!==null&&we.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Oe).forEach(function(Me){Oe[Me]!==null&&we.setRequestHeader(Me,Oe[Me])}),we.send(Ce),{abort:function(){we.abort()}}}var y=+new Date,p=0;function b(){return"rc-upload-".concat(y,"-").concat(++p)}var x=A(51395),S=function(ve,we){if(ve&&we){var Ce=Array.isArray(we)?we:we.split(","),Oe=ve.name||"",Me=ve.type||"",Pe=Me.replace(/\/.*$/,"");return Ce.some(function(ke){var Re=ke.trim();if(/^\*(\/\*)?$/.test(ke))return!0;if(Re.charAt(0)==="."){var Ve=Oe.toLowerCase(),rt=Re.toLowerCase(),qe=[rt];return(rt===".jpg"||rt===".jpeg")&&(qe=[".jpg",".jpeg"]),qe.some(function(dt){return Ve.endsWith(dt)})}return/\/\*$/.test(Re)?Pe===Re.replace(/\/.*$/,""):Me===Re?!0:/^\w+$/.test(Re)?((0,x.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Re,"'.Skip for check.")),!0):!1})}return!0};function w(ve,we){var Ce=ve.createReader(),Oe=[];function Me(){Ce.readEntries(function(Pe){var ke=Array.prototype.slice.apply(Pe);Oe=Oe.concat(ke);var Re=!ke.length;Re?we(Oe):Me()})}Me()}var _=function(we,Ce,Oe){var Me=function Pe(ke,Re){ke&&(ke.path=Re||"",ke.isFile?ke.file(function(Ve){Oe(Ve)&&(ke.fullPath&&!Ve.webkitRelativePath&&(Object.defineProperties(Ve,{webkitRelativePath:{writable:!0}}),Ve.webkitRelativePath=ke.fullPath.replace(/^\//,""),Object.defineProperties(Ve,{webkitRelativePath:{writable:!1}})),Ce([Ve]))}):ke.isDirectory&&w(ke,function(Ve){Ve.forEach(function(rt){Pe(rt,"".concat(Re).concat(ke.name,"/"))})}))};we.forEach(function(Pe){Me(Pe.webkitGetAsEntry())})},C=_,E=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],T=function(ve){(0,o.Z)(Ce,ve);var we=(0,l.Z)(Ce);function Ce(){var Oe;(0,c.Z)(this,Ce);for(var Me=arguments.length,Pe=new Array(Me),ke=0;ke<Me;ke++)Pe[ke]=arguments[ke];return Oe=we.call.apply(we,[this].concat(Pe)),Oe.state={uid:b()},Oe.reqs={},Oe.fileInput=void 0,Oe._isMounted=void 0,Oe.onChange=function(Re){var Ve=Oe.props,rt=Ve.accept,qe=Ve.directory,dt=Re.target.files,ct=(0,z.Z)(dt).filter(function(Dt){return!qe||S(Dt,rt)});Oe.uploadFiles(ct),Oe.reset()},Oe.onClick=function(Re){var Ve=Oe.fileInput;if(Ve){var rt=Re.target,qe=Oe.props.onClick;if(rt&&rt.tagName==="BUTTON"){var dt=Ve.parentNode;dt.focus(),rt.blur()}Ve.click(),qe&&qe(Re)}},Oe.onKeyDown=function(Re){Re.key==="Enter"&&Oe.onClick(Re)},Oe.onFileDrop=function(Re){var Ve=Oe.props.multiple;if(Re.preventDefault(),Re.type!=="dragover")if(Oe.props.directory)C(Array.prototype.slice.call(Re.dataTransfer.items),Oe.uploadFiles,function(qe){return S(qe,Oe.props.accept)});else{var rt=(0,z.Z)(Re.dataTransfer.files).filter(function(qe){return S(qe,Oe.props.accept)});Ve===!1&&(rt=rt.slice(0,1)),Oe.uploadFiles(rt)}},Oe.uploadFiles=function(Re){var Ve=(0,z.Z)(Re),rt=Ve.map(function(qe){return qe.uid=b(),Oe.processFile(qe,Ve)});Promise.all(rt).then(function(qe){var dt=Oe.props.onBatchStart;dt==null||dt(qe.map(function(ct){var Dt=ct.origin,Wt=ct.parsedFile;return{file:Dt,parsedFile:Wt}})),qe.filter(function(ct){return ct.parsedFile!==null}).forEach(function(ct){Oe.post(ct)})})},Oe.processFile=function(){var Re=(0,n.Z)((0,r.Z)().mark(function Ve(rt,qe){var dt,ct,Dt,Wt,Jt,lr,Lt,Ft,er;return(0,r.Z)().wrap(function(Ot){for(;;)switch(Ot.prev=Ot.next){case 0:if(dt=Oe.props.beforeUpload,ct=rt,!dt){Ot.next=14;break}return Ot.prev=3,Ot.next=6,dt(rt,qe);case 6:ct=Ot.sent,Ot.next=12;break;case 9:Ot.prev=9,Ot.t0=Ot.catch(3),ct=!1;case 12:if(ct!==!1){Ot.next=14;break}return Ot.abrupt("return",{origin:rt,parsedFile:null,action:null,data:null});case 14:if(Dt=Oe.props.action,typeof Dt!="function"){Ot.next=21;break}return Ot.next=18,Dt(rt);case 18:Wt=Ot.sent,Ot.next=22;break;case 21:Wt=Dt;case 22:if(Jt=Oe.props.data,typeof Jt!="function"){Ot.next=29;break}return Ot.next=26,Jt(rt);case 26:lr=Ot.sent,Ot.next=30;break;case 29:lr=Jt;case 30:return Lt=((0,t.Z)(ct)==="object"||typeof ct=="string")&&ct?ct:rt,Lt instanceof File?Ft=Lt:Ft=new File([Lt],rt.name,{type:rt.type}),er=Ft,er.uid=rt.uid,Ot.abrupt("return",{origin:rt,data:lr,parsedFile:er,action:Wt});case 35:case"end":return Ot.stop()}},Ve,null,[[3,9]])}));return function(Ve,rt){return Re.apply(this,arguments)}}(),Oe.saveFileInput=function(Re){Oe.fileInput=Re},Oe}return(0,a.Z)(Ce,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Me){var Pe=this,ke=Me.data,Re=Me.origin,Ve=Me.action,rt=Me.parsedFile;if(this._isMounted){var qe=this.props,dt=qe.onStart,ct=qe.customRequest,Dt=qe.name,Wt=qe.headers,Jt=qe.withCredentials,lr=qe.method,Lt=Re.uid,Ft=ct||h,er={action:Ve,filename:Dt,data:ke,file:rt,headers:Wt,withCredentials:Jt,method:lr||"post",onProgress:function(Ot){var ir=Pe.props.onProgress;ir==null||ir(Ot,rt)},onSuccess:function(Ot,ir){var Ne=Pe.props.onSuccess;Ne==null||Ne(Ot,rt,ir),delete Pe.reqs[Lt]},onError:function(Ot,ir){var Ne=Pe.props.onError;Ne==null||Ne(Ot,ir,rt),delete Pe.reqs[Lt]}};dt(Re),this.reqs[Lt]=Ft(er)}}},{key:"reset",value:function(){this.setState({uid:b()})}},{key:"abort",value:function(Me){var Pe=this.reqs;if(Me){var ke=Me.uid?Me.uid:Me;Pe[ke]&&Pe[ke].abort&&Pe[ke].abort(),delete Pe[ke]}else Object.keys(Pe).forEach(function(Re){Pe[Re]&&Pe[Re].abort&&Pe[Re].abort(),delete Pe[Re]})}},{key:"render",value:function(){var Me=this.props,Pe=Me.component,ke=Me.prefixCls,Re=Me.className,Ve=Me.disabled,rt=Me.id,qe=Me.style,dt=Me.multiple,ct=Me.accept,Dt=Me.capture,Wt=Me.children,Jt=Me.directory,lr=Me.openFileDialogOnClick,Lt=Me.onMouseEnter,Ft=Me.onMouseLeave,er=(0,i.Z)(Me,E),zt=g()((0,u.Z)((0,u.Z)((0,u.Z)({},ke,!0),"".concat(ke,"-disabled"),Ve),Re,Re)),Ot=Jt?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ir=Ve?{}:{onClick:lr?this.onClick:function(){},onKeyDown:lr?this.onKeyDown:function(){},onMouseEnter:Lt,onMouseLeave:Ft,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return D.createElement(Pe,(0,v.Z)({},ir,{className:zt,role:"button",style:qe}),D.createElement("input",(0,v.Z)({},(0,s.Z)(er,{aria:!0,data:!0}),{id:rt,disabled:Ve,type:"file",ref:this.saveFileInput,onClick:function(wr){return wr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ct},Ot,{multiple:dt,onChange:this.onChange},Dt!=null?{capture:Dt}:{})),Wt)}}]),Ce}(D.Component),R=T;function k(){}var P=function(ve){(0,o.Z)(Ce,ve);var we=(0,l.Z)(Ce);function Ce(){var Oe;(0,c.Z)(this,Ce);for(var Me=arguments.length,Pe=new Array(Me),ke=0;ke<Me;ke++)Pe[ke]=arguments[ke];return Oe=we.call.apply(we,[this].concat(Pe)),Oe.uploader=void 0,Oe.saveUploader=function(Re){Oe.uploader=Re},Oe}return(0,a.Z)(Ce,[{key:"abort",value:function(Me){this.uploader.abort(Me)}},{key:"render",value:function(){return D.createElement(R,(0,v.Z)({},this.props,{ref:this.saveUploader}))}}]),Ce}(D.Component);P.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:k,onError:k,onSuccess:k,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var L=P,O=L,N=A(35788),H=A(4676),V=A(36355),B=A(1684),te=A(9763),ee=A(31724),J={icon:function(we,Ce){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Ce}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:we}}]}},name:"file",theme:"twotone"},Q=J,re=A(88853),Z=function(we,Ce){return D.createElement(re.Z,(0,v.Z)({},we,{ref:Ce,icon:Q}))},X=D.forwardRef(Z),$=X,ie=A(50023),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},pe=de,G=function(we,Ce){return D.createElement(re.Z,(0,v.Z)({},we,{ref:Ce,icon:pe}))},I=D.forwardRef(G),q=I,F={icon:function(we,Ce){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:we}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Ce}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Ce}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Ce}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:we}}]}},name:"picture",theme:"twotone"},Y=F,ue=function(we,Ce){return D.createElement(re.Z,(0,v.Z)({},we,{ref:Ce,icon:Y}))},ce=D.forwardRef(ue),ne=ce,U=A(43469),M=A(56762),W=A(62892),K=A(92343),oe=A(3113);function he(ve){return Object.assign(Object.assign({},ve),{lastModified:ve.lastModified,lastModifiedDate:ve.lastModifiedDate,name:ve.name,size:ve.size,type:ve.type,uid:ve.uid,percent:0,originFileObj:ve})}function ae(ve,we){const Ce=(0,z.Z)(we),Oe=Ce.findIndex(Me=>{let{uid:Pe}=Me;return Pe===ve.uid});return Oe===-1?Ce.push(ve):Ce[Oe]=ve,Ce}function le(ve,we){const Ce=ve.uid!==void 0?"uid":"name";return we.filter(Oe=>Oe[Ce]===ve[Ce])[0]}function Se(ve,we){const Ce=ve.uid!==void 0?"uid":"name",Oe=we.filter(Me=>Me[Ce]!==ve[Ce]);return Oe.length===we.length?null:Oe}const ge=function(){const we=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Oe=we[we.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Oe)||[""])[0]},xe=ve=>ve.indexOf("image/")===0,ye=ve=>{if(ve.type&&!ve.thumbUrl)return xe(ve.type);const we=ve.thumbUrl||ve.url||"",Ce=ge(we);return/^data:image\//.test(we)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Ce)?!0:!(/^data:/.test(we)||Ce)},Te=200;function se(ve){return new Promise(we=>{if(!ve.type||!xe(ve.type)){we("");return}const Ce=document.createElement("canvas");Ce.width=Te,Ce.height=Te,Ce.style.cssText=`position: fixed; left: 0; top: 0; width: ${Te}px; height: ${Te}px; z-index: 9999; display: none;`,document.body.appendChild(Ce);const Oe=Ce.getContext("2d"),Me=new Image;if(Me.onload=()=>{const{width:Pe,height:ke}=Me;let Re=Te,Ve=Te,rt=0,qe=0;Pe>ke?(Ve=ke*(Te/Pe),qe=-(Ve-Re)/2):(Re=Pe*(Te/ke),rt=-(Re-Ve)/2),Oe.drawImage(Me,rt,qe,Re,Ve);const dt=Ce.toDataURL();document.body.removeChild(Ce),window.URL.revokeObjectURL(Me.src),we(dt)},Me.crossOrigin="anonymous",ve.type.startsWith("image/svg+xml")){const Pe=new FileReader;Pe.onload=()=>{Pe.result&&(Me.src=Pe.result)},Pe.readAsDataURL(ve)}else if(ve.type.startsWith("image/gif")){const Pe=new FileReader;Pe.onload=()=>{Pe.result&&we(Pe.result)},Pe.readAsDataURL(ve)}else Me.src=window.URL.createObjectURL(ve)})}var fe=A(72295),me=A(24566),Ee=A(30631),je=A(93948),Le=A(6848),We=D.forwardRef((ve,we)=>{let{prefixCls:Ce,className:Oe,style:Me,locale:Pe,listType:ke,file:Re,items:Ve,progress:rt,iconRender:qe,actionIconRender:dt,itemRender:ct,isImgUrl:Dt,showPreviewIcon:Wt,showRemoveIcon:Jt,showDownloadIcon:lr,previewIcon:Lt,removeIcon:Ft,downloadIcon:er,onPreview:zt,onDownload:Ot,onClose:ir}=ve;var Ne,wr;const{status:Cr}=Re,[mr,Sr]=D.useState(Cr);D.useEffect(()=>{Cr!=="removed"&&Sr(Cr)},[Cr]);const[gr,Ar]=D.useState(!1);D.useEffect(()=>{const Ke=setTimeout(()=>{Ar(!0)},300);return()=>{clearTimeout(Ke)}},[]);const br=qe(Re);let ht=D.createElement("div",{className:`${Ce}-icon`},br);if(ke==="picture"||ke==="picture-card"||ke==="picture-circle")if(mr==="uploading"||!Re.thumbUrl&&!Re.url){const Ke=g()(`${Ce}-list-item-thumbnail`,{[`${Ce}-list-item-file`]:mr!=="uploading"});ht=D.createElement("div",{className:Ke},br)}else{const Ke=Dt!=null&&Dt(Re)?D.createElement("img",{src:Re.thumbUrl||Re.url,alt:Re.name,className:`${Ce}-list-item-image`,crossOrigin:Re.crossOrigin}):br,Ye=g()(`${Ce}-list-item-thumbnail`,{[`${Ce}-list-item-file`]:Dt&&!Dt(Re)});ht=D.createElement("a",{className:Ye,onClick:Ze=>zt(Re,Ze),href:Re.url||Re.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ke)}const At=g()(`${Ce}-list-item`,`${Ce}-list-item-${mr}`),Dr=typeof Re.linkProps=="string"?JSON.parse(Re.linkProps):Re.linkProps,kt=Jt?dt((typeof Ft=="function"?Ft(Re):Ft)||D.createElement(fe.Z,null),()=>ir(Re),Ce,Pe.removeFile):null,Ir=lr&&mr==="done"?dt((typeof er=="function"?er(Re):er)||D.createElement(me.Z,null),()=>Ot(Re),Ce,Pe.downloadFile):null,or=ke!=="picture-card"&&ke!=="picture-circle"&&D.createElement("span",{key:"download-delete",className:g()(`${Ce}-list-item-actions`,{picture:ke==="picture"})},Ir,kt),tr=g()(`${Ce}-list-item-name`),_r=Re.url?[D.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:tr,title:Re.name},Dr,{href:Re.url,onClick:Ke=>zt(Re,Ke)}),Re.name),or]:[D.createElement("span",{key:"view",className:tr,onClick:Ke=>zt(Re,Ke),title:Re.name},Re.name),or],St={pointerEvents:"none",opacity:.5},Pt=Wt?D.createElement("a",{href:Re.url||Re.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Re.url||Re.thumbUrl?void 0:St,onClick:Ke=>zt(Re,Ke),title:Pe.previewFile},typeof Lt=="function"?Lt(Re):Lt||D.createElement(Ee.Z,null)):null,yr=(ke==="picture-card"||ke==="picture-circle")&&mr!=="uploading"&&D.createElement("span",{className:`${Ce}-list-item-actions`},Pt,mr==="done"&&Ir,kt),{getPrefixCls:sr}=D.useContext(V.E_),Tr=sr(),_e=D.createElement("div",{className:At},ht,_r,yr,gr&&D.createElement(U.default,{motionName:`${Tr}-fade`,visible:mr==="uploading",motionDeadline:2e3},Ke=>{let{className:Ye}=Ke;const Ze="percent"in Re?D.createElement(je.Z,Object.assign({},rt,{type:"line",percent:Re.percent,"aria-label":Re["aria-label"],"aria-labelledby":Re["aria-labelledby"]})):null;return D.createElement("div",{className:g()(`${Ce}-list-item-progress`,Ye)},Ze)})),Ie=Re.response&&typeof Re.response=="string"?Re.response:((Ne=Re.error)===null||Ne===void 0?void 0:Ne.statusText)||((wr=Re.error)===null||wr===void 0?void 0:wr.message)||Pe.uploadError,Be=mr==="error"?D.createElement(Le.Z,{title:Ie,getPopupContainer:Ke=>Ke.parentNode},_e):_e;return D.createElement("div",{className:g()(`${Ce}-list-item-container`,Oe),style:Me,ref:we},ct?ct(Be,Re,Ve,{download:Ot.bind(null,Re),preview:zt.bind(null,Re),remove:ir.bind(null,Re)}):Be)});const Ge=(ve,we)=>{const{listType:Ce="text",previewFile:Oe=se,onPreview:Me,onDownload:Pe,onRemove:ke,locale:Re,iconRender:Ve,isImageUrl:rt=ye,prefixCls:qe,items:dt=[],showPreviewIcon:ct=!0,showRemoveIcon:Dt=!0,showDownloadIcon:Wt=!1,removeIcon:Jt,previewIcon:lr,downloadIcon:Lt,progress:Ft={size:[-1,2],showInfo:!1},appendAction:er,appendActionVisible:zt=!0,itemRender:Ot,disabled:ir}=ve,Ne=(0,M.Z)(),[wr,Cr]=D.useState(!1);D.useEffect(()=>{Ce!=="picture"&&Ce!=="picture-card"&&Ce!=="picture-circle"||(dt||[]).forEach(St=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(St.originFileObj instanceof File||St.originFileObj instanceof Blob)||St.thumbUrl!==void 0||(St.thumbUrl="",Oe&&Oe(St.originFileObj).then(Pt=>{St.thumbUrl=Pt||"",Ne()}))})},[Ce,dt,Oe]),D.useEffect(()=>{Cr(!0)},[]);const mr=(St,Pt)=>{if(Me)return Pt==null||Pt.preventDefault(),Me(St)},Sr=St=>{typeof Pe=="function"?Pe(St):St.url&&window.open(St.url)},gr=St=>{ke==null||ke(St)},Ar=St=>{if(Ve)return Ve(St,Ce);const Pt=St.status==="uploading",yr=rt&&rt(St)?D.createElement(ne,null):D.createElement($,null);let sr=Pt?D.createElement(ie.Z,null):D.createElement(q,null);return Ce==="picture"?sr=Pt?D.createElement(ie.Z,null):yr:(Ce==="picture-card"||Ce==="picture-circle")&&(sr=Pt?Re.uploading:yr),sr},br=(St,Pt,yr,sr)=>{const Tr={type:"text",size:"small",title:sr,onClick:_e=>{Pt(),(0,K.l$)(St)&&St.props.onClick&&St.props.onClick(_e)},className:`${yr}-list-item-action`,disabled:ir};if((0,K.l$)(St)){const _e=(0,K.Tm)(St,Object.assign(Object.assign({},St.props),{onClick:()=>{}}));return D.createElement(oe.ZP,Object.assign({},Tr,{icon:_e}))}return D.createElement(oe.ZP,Object.assign({},Tr),D.createElement("span",null,St))};D.useImperativeHandle(we,()=>({handlePreview:mr,handleDownload:Sr}));const{getPrefixCls:ht}=D.useContext(V.E_),At=ht("upload",qe),Dr=ht(),kt=g()(`${At}-list`,`${At}-list-${Ce}`),Ir=(0,z.Z)(dt.map(St=>({key:St.uid,file:St})));let tr={motionDeadline:2e3,motionName:`${At}-${Ce==="picture-card"||Ce==="picture-circle"?"animate-inline":"animate"}`,keys:Ir,motionAppear:wr};const _r=D.useMemo(()=>{const St=Object.assign({},(0,W.Z)(Dr));return delete St.onAppearEnd,delete St.onEnterEnd,delete St.onLeaveEnd,St},[Dr]);return Ce!=="picture-card"&&Ce!=="picture-circle"&&(tr=Object.assign(Object.assign({},_r),tr)),D.createElement("div",{className:kt},D.createElement(U.CSSMotionList,Object.assign({},tr,{component:!1}),St=>{let{key:Pt,file:yr,className:sr,style:Tr}=St;return D.createElement(We,{key:Pt,locale:Re,prefixCls:At,className:sr,style:Tr,file:yr,items:dt,progress:Ft,listType:Ce,isImgUrl:rt,showPreviewIcon:ct,showRemoveIcon:Dt,showDownloadIcon:Wt,removeIcon:Jt,previewIcon:lr,downloadIcon:Lt,iconRender:Ar,actionIconRender:br,itemRender:Ot,onPreview:mr,onDownload:Sr,onClose:gr})}),er&&D.createElement(U.default,Object.assign({},tr,{visible:zt,forceRender:!0}),St=>{let{className:Pt,style:yr}=St;return(0,K.Tm)(er,sr=>({className:g()(sr.className,Pt),style:Object.assign(Object.assign(Object.assign({},yr),{pointerEvents:Pt?"none":void 0}),sr.style)}))}))};var ze=D.forwardRef(Ge),et=A(17313),Ct=A(8378),pt=A(83116),yt=A(37613),gt=ve=>{const{componentCls:we,iconCls:Ce}=ve;return{[`${we}-wrapper`]:{[`${we}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ve.colorFillAlter,border:`${ve.lineWidth}px dashed ${ve.colorBorder}`,borderRadius:ve.borderRadiusLG,cursor:"pointer",transition:`border-color ${ve.motionDurationSlow}`,[we]:{padding:`${ve.padding}px 0`},[`${we}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${we}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${we}-disabled):hover`]:{borderColor:ve.colorPrimaryHover},[`p${we}-drag-icon`]:{marginBottom:ve.margin,[Ce]:{color:ve.colorPrimary,fontSize:ve.uploadThumbnailSize}},[`p${we}-text`]:{margin:`0 0 ${ve.marginXXS}px`,color:ve.colorTextHeading,fontSize:ve.fontSizeLG},[`p${we}-hint`]:{color:ve.colorTextDescription,fontSize:ve.fontSize},[`&${we}-disabled`]:{cursor:"not-allowed",[`p${we}-drag-icon ${Ce},
p${we}-text,
p${we}-hint
`]:{color:ve.colorTextDisabled}}}}}},st=ve=>{const{componentCls:we,antCls:Ce,iconCls:Oe,fontSize:Me,lineHeight:Pe}=ve,ke=`${we}-list-item`,Re=`${ke}-actions`,Ve=`${ke}-action`,rt=Math.round(Me*Pe);return{[`${we}-wrapper`]:{[`${we}-list`]:Object.assign(Object.assign({},(0,et.dF)()),{lineHeight:ve.lineHeight,[ke]:{position:"relative",height:ve.lineHeight*Me,marginTop:ve.marginXS,fontSize:Me,display:"flex",alignItems:"center",transition:`background-color ${ve.motionDurationSlow}`,"&:hover":{backgroundColor:ve.controlItemBgHover},[`${ke}-name`]:Object.assign(Object.assign({},et.vS),{padding:`0 ${ve.paddingXS}px`,lineHeight:Pe,flex:"auto",transition:`all ${ve.motionDurationSlow}`}),[Re]:{[Ve]:{opacity:0},[`${Ve}${Ce}-btn-sm`]:{height:rt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Ve}:focus-visible,
&.picture ${Ve}
`]:{opacity:1},[Oe]:{color:ve.actionsColor,transition:`all ${ve.motionDurationSlow}`},[`&:hover ${Oe}`]:{color:ve.colorText}},[`${we}-icon ${Oe}`]:{color:ve.colorTextDescription,fontSize:Me},[`${ke}-progress`]:{position:"absolute",bottom:-ve.uploadProgressOffset,width:"100%",paddingInlineStart:Me+ve.paddingXS,fontSize:Me,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ke}:hover ${Ve}`]:{opacity:1,color:ve.colorText},[`${ke}-error`]:{color:ve.colorError,[`${ke}-name, ${we}-icon ${Oe}`]:{color:ve.colorError},[Re]:{[`${Oe}, ${Oe}:hover`]:{color:ve.colorError},[Ve]:{opacity:1}}},[`${we}-list-item-container`]:{transition:`opacity ${ve.motionDurationSlow}, height ${ve.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},wt=A(9792),ut=A(1950);const Xt=new wt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),$t=new wt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ht=ve=>{const{componentCls:we}=ve,Ce=`${we}-animate-inline`;return[{[`${we}-wrapper`]:{[`${Ce}-appear, ${Ce}-enter, ${Ce}-leave`]:{animationDuration:ve.motionDurationSlow,animationTimingFunction:ve.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Ce}-appear, ${Ce}-enter`]:{animationName:Xt},[`${Ce}-leave`]:{animationName:$t}}},{[`${we}-wrapper`]:(0,ut.J$)(ve)},Xt,$t]},Mt=A(93398),Rt=A(64993);const nr=ve=>{const{componentCls:we,iconCls:Ce,uploadThumbnailSize:Oe,uploadProgressOffset:Me}=ve,Pe=`${we}-list`,ke=`${Pe}-item`;return{[`${we}-wrapper`]:{[`
${Pe}${Pe}-picture,
${Pe}${Pe}-picture-card,
${Pe}${Pe}-picture-circle
`]:{[ke]:{position:"relative",height:Oe+ve.lineWidth*2+ve.paddingXS*2,padding:ve.paddingXS,border:`${ve.lineWidth}px ${ve.lineType} ${ve.colorBorder}`,borderRadius:ve.borderRadiusLG,"&:hover":{background:"transparent"},[`${ke}-thumbnail`]:Object.assign(Object.assign({},et.vS),{width:Oe,height:Oe,lineHeight:`${Oe+ve.paddingSM}px`,textAlign:"center",flex:"none",[Ce]:{fontSize:ve.fontSizeHeading2,color:ve.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ke}-progress`]:{bottom:Me,width:`calc(100% - ${ve.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Oe+ve.paddingXS}},[`${ke}-error`]:{borderColor:ve.colorError,[`${ke}-thumbnail ${Ce}`]:{[`svg path[fill='${Mt.blue[0]}']`]:{fill:ve.colorErrorBg},[`svg path[fill='${Mt.blue.primary}']`]:{fill:ve.colorError}}},[`${ke}-uploading`]:{borderStyle:"dashed",[`${ke}-name`]:{marginBottom:Me}}},[`${Pe}${Pe}-picture-circle ${ke}`]:{[`&, &::before, ${ke}-thumbnail`]:{borderRadius:"50%"}}}}},rr=ve=>{const{componentCls:we,iconCls:Ce,fontSizeLG:Oe,colorTextLightSolid:Me}=ve,Pe=`${we}-list`,ke=`${Pe}-item`,Re=ve.uploadPicCardSize;return{[`
${we}-wrapper${we}-picture-card-wrapper,
${we}-wrapper${we}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,et.dF)()),{display:"inline-block",width:"100%",[`${we}${we}-select`]:{width:Re,height:Re,marginInlineEnd:ve.marginXS,marginBottom:ve.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ve.colorFillAlter,border:`${ve.lineWidth}px dashed ${ve.colorBorder}`,borderRadius:ve.borderRadiusLG,cursor:"pointer",transition:`border-color ${ve.motionDurationSlow}`,[`> ${we}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${we}-disabled):hover`]:{borderColor:ve.colorPrimary}},[`${Pe}${Pe}-picture-card, ${Pe}${Pe}-picture-circle`]:{[`${Pe}-item-container`]:{display:"inline-block",width:Re,height:Re,marginBlock:`0 ${ve.marginXS}px`,marginInline:`0 ${ve.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[ke]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ve.paddingXS*2}px)`,height:`calc(100% - ${ve.paddingXS*2}px)`,backgroundColor:ve.colorBgMask,opacity:0,transition:`all ${ve.motionDurationSlow}`,content:'" "'}},[`${ke}:hover`]:{[`&::before, ${ke}-actions`]:{opacity:1}},[`${ke}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ve.motionDurationSlow}`,[`${Ce}-eye, ${Ce}-download, ${Ce}-delete`]:{zIndex:10,width:Oe,margin:`0 ${ve.marginXXS}px`,fontSize:Oe,cursor:"pointer",transition:`all ${ve.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${ke}-actions, ${ke}-actions:hover`]:{[`${Ce}-eye, ${Ce}-download, ${Ce}-delete`]:{color:new Rt.C(Me).setAlpha(.65).toRgbString(),"&:hover":{color:Me}}},[`${ke}-thumbnail, ${ke}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ke}-name`]:{display:"none",textAlign:"center"},[`${ke}-file + ${ke}-name`]:{position:"absolute",bottom:ve.margin,display:"block",width:`calc(100% - ${ve.paddingXS*2}px)`},[`${ke}-uploading`]:{[`&${ke}`]:{backgroundColor:ve.colorFillAlter},[`&::before, ${Ce}-eye, ${Ce}-download, ${Ce}-delete`]:{display:"none"}},[`${ke}-progress`]:{bottom:ve.marginXL,width:`calc(100% - ${ve.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${we}-wrapper${we}-picture-circle-wrapper`]:{[`${we}${we}-select`]:{borderRadius:"50%"}}}};var Zt=ve=>{const{componentCls:we}=ve;return{[`${we}-rtl`]:{direction:"rtl"}}};const Er=ve=>{const{componentCls:we,colorTextDisabled:Ce}=ve;return{[`${we}-wrapper`]:Object.assign(Object.assign({},(0,et.Wf)(ve)),{[we]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${we}-select`]:{display:"inline-block"},[`${we}-disabled`]:{color:Ce,cursor:"not-allowed"}})}};var qt=(0,pt.Z)("Upload",ve=>{const{fontSizeHeading3:we,fontSize:Ce,lineHeight:Oe,lineWidth:Me,controlHeightLG:Pe}=ve,ke=Math.round(Ce*Oe),Re=(0,yt.TS)(ve,{uploadThumbnailSize:we*2,uploadProgressOffset:ke/2+Me,uploadPicCardSize:Pe*2.55});return[Er(Re),gt(Re),nr(Re),rr(Re),st(Re),Ht(Re),Zt(Re),(0,Ct.Z)(Re)]},ve=>({actionsColor:ve.colorTextDescription})),Fr=function(ve,we,Ce,Oe){function Me(Pe){return Pe instanceof Ce?Pe:new Ce(function(ke){ke(Pe)})}return new(Ce||(Ce=Promise))(function(Pe,ke){function Re(qe){try{rt(Oe.next(qe))}catch(dt){ke(dt)}}function Ve(qe){try{rt(Oe.throw(qe))}catch(dt){ke(dt)}}function rt(qe){qe.done?Pe(qe.value):Me(qe.value).then(Re,Ve)}rt((Oe=Oe.apply(ve,we||[])).next())})};const Or=`__LIST_IGNORE_${Date.now()}__`,ar=(ve,we)=>{const{fileList:Ce,defaultFileList:Oe,onRemove:Me,showUploadList:Pe=!0,listType:ke="text",onPreview:Re,onDownload:Ve,onChange:rt,onDrop:qe,previewFile:dt,disabled:ct,locale:Dt,iconRender:Wt,isImageUrl:Jt,progress:lr,prefixCls:Lt,className:Ft,type:er="select",children:zt,style:Ot,itemRender:ir,maxCount:Ne,data:wr={},multiple:Cr=!1,action:mr="",accept:Sr="",supportServerRender:gr=!0,rootClassName:Ar}=ve,br=D.useContext(B.Z),ht=ct!=null?ct:br,[At,Dr]=(0,N.Z)(Oe||[],{value:Ce,postState:xt=>xt!=null?xt:[]}),[kt,Ir]=D.useState("drop"),or=D.useRef(null);D.useMemo(()=>{const xt=Date.now();(Ce||[]).forEach((nt,It)=>{!nt.uid&&!Object.isFrozen(nt)&&(nt.uid=`__AUTO__${xt}_${It}__`)})},[Ce]);const tr=(xt,nt,It)=>{let Et=(0,z.Z)(nt),it=!1;Ne===1?Et=Et.slice(-1):Ne&&(it=Et.length>Ne,Et=Et.slice(0,Ne)),(0,H.flushSync)(()=>{Dr(Et)});const ot={file:xt,fileList:Et};It&&(ot.event=It),(!it||Et.some(hr=>hr.uid===xt.uid))&&(0,H.flushSync)(()=>{rt==null||rt(ot)})},_r=(xt,nt)=>Fr(void 0,void 0,void 0,function*(){const{beforeUpload:It,transformFile:Et}=ve;let it=xt;if(It){const ot=yield It(xt,nt);if(ot===!1)return!1;if(delete xt[Or],ot===Or)return Object.defineProperty(xt,Or,{value:!0,configurable:!0}),!1;typeof ot=="object"&&ot&&(it=ot)}return Et&&(it=yield Et(it)),it}),St=xt=>{const nt=xt.filter(it=>!it.file[Or]);if(!nt.length)return;const It=nt.map(it=>he(it.file));let Et=(0,z.Z)(At);It.forEach(it=>{Et=ae(it,Et)}),It.forEach((it,ot)=>{let hr=it;if(nt[ot].parsedFile)it.status="uploading";else{const{originFileObj:vr}=it;let cr;try{cr=new File([vr],vr.name,{type:vr.type})}catch(ur){cr=new Blob([vr],{type:vr.type}),cr.name=vr.name,cr.lastModifiedDate=new Date,cr.lastModified=new Date().getTime()}cr.uid=it.uid,hr=cr}tr(hr,Et)})},Pt=(xt,nt,It)=>{try{typeof xt=="string"&&(xt=JSON.parse(xt))}catch(ot){}if(!le(nt,At))return;const Et=he(nt);Et.status="done",Et.percent=100,Et.response=xt,Et.xhr=It;const it=ae(Et,At);tr(Et,it)},yr=(xt,nt)=>{if(!le(nt,At))return;const It=he(nt);It.status="uploading",It.percent=xt.percent;const Et=ae(It,At);tr(It,Et,xt)},sr=(xt,nt,It)=>{if(!le(It,At))return;const Et=he(It);Et.error=xt,Et.response=nt,Et.status="error";const it=ae(Et,At);tr(Et,it)},Tr=xt=>{let nt;Promise.resolve(typeof Me=="function"?Me(xt):Me).then(It=>{var Et;if(It===!1)return;const it=Se(xt,At);it&&(nt=Object.assign(Object.assign({},xt),{status:"removed"}),At==null||At.forEach(ot=>{const hr=nt.uid!==void 0?"uid":"name";ot[hr]===nt[hr]&&!Object.isFrozen(ot)&&(ot.status="removed")}),(Et=or.current)===null||Et===void 0||Et.abort(nt),tr(nt,it))})},_e=xt=>{Ir(xt.type),xt.type==="drop"&&(qe==null||qe(xt))};D.useImperativeHandle(we,()=>({onBatchStart:St,onSuccess:Pt,onProgress:yr,onError:sr,fileList:At,upload:or.current}));const{getPrefixCls:Ie,direction:Be,upload:Ke}=D.useContext(V.E_),Ye=Ie("upload",Lt),Ze=Object.assign(Object.assign({onBatchStart:St,onError:sr,onProgress:yr,onSuccess:Pt},ve),{data:wr,multiple:Cr,action:mr,accept:Sr,supportServerRender:gr,prefixCls:Ye,disabled:ht,beforeUpload:_r,onChange:void 0});delete Ze.className,delete Ze.style,(!zt||ht)&&delete Ze.id;const[ft,Xe]=qt(Ye),[Je]=(0,te.Z)("Upload",ee.Z.Upload),{showRemoveIcon:mt,showPreviewIcon:Qe,showDownloadIcon:Gt,removeIcon:bt,previewIcon:Qt,downloadIcon:jt}=typeof Pe=="boolean"?{}:Pe,Yt=(xt,nt)=>Pe?D.createElement(ze,{prefixCls:Ye,listType:ke,items:At,previewFile:dt,onPreview:Re,onDownload:Ve,onRemove:Tr,showRemoveIcon:!ht&&mt,showPreviewIcon:Qe,showDownloadIcon:Gt,removeIcon:bt,previewIcon:Qt,downloadIcon:jt,iconRender:Wt,locale:Object.assign(Object.assign({},Je),Dt),isImageUrl:Jt,progress:lr,appendAction:xt,appendActionVisible:nt,itemRender:ir,disabled:ht}):xt,dr=g()(`${Ye}-wrapper`,Ft,Ar,Xe,Ke==null?void 0:Ke.className,{[`${Ye}-rtl`]:Be==="rtl",[`${Ye}-picture-card-wrapper`]:ke==="picture-card",[`${Ye}-picture-circle-wrapper`]:ke==="picture-circle"}),Rr=Object.assign(Object.assign({},Ke==null?void 0:Ke.style),Ot);if(er==="drag"){const xt=g()(Xe,Ye,`${Ye}-drag`,{[`${Ye}-drag-uploading`]:At.some(nt=>nt.status==="uploading"),[`${Ye}-drag-hover`]:kt==="dragover",[`${Ye}-disabled`]:ht,[`${Ye}-rtl`]:Be==="rtl"});return ft(D.createElement("span",{className:dr},D.createElement("div",{className:xt,style:Rr,onDrop:_e,onDragOver:_e,onDragLeave:_e},D.createElement(O,Object.assign({},Ze,{ref:or,className:`${Ye}-btn`}),D.createElement("div",{className:`${Ye}-drag-container`},zt))),Yt()))}const Pr=g()(Ye,`${Ye}-select`,{[`${Ye}-disabled`]:ht}),Mr=(xt=>D.createElement("div",{className:Pr,style:xt},D.createElement(O,Object.assign({},Ze,{ref:or}))))(zt?void 0:{display:"none"});return ft(ke==="picture-card"||ke==="picture-circle"?D.createElement("span",{className:dr},Yt(Mr,!!zt)):D.createElement("span",{className:dr},Mr,Yt()))};var Fe=D.forwardRef(ar),Ae=function(ve,we){var Ce={};for(var Oe in ve)Object.prototype.hasOwnProperty.call(ve,Oe)&&we.indexOf(Oe)<0&&(Ce[Oe]=ve[Oe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Oe=Object.getOwnPropertySymbols(ve);Me<Oe.length;Me++)we.indexOf(Oe[Me])<0&&Object.prototype.propertyIsEnumerable.call(ve,Oe[Me])&&(Ce[Oe[Me]]=ve[Oe[Me]]);return Ce},De=D.forwardRef((ve,we)=>{var{style:Ce,height:Oe}=ve,Me=Ae(ve,["style","height"]);return D.createElement(Fe,Object.assign({ref:we},Me,{type:"drag",style:Object.assign(Object.assign({},Ce),{height:Oe})}))});const tt=Fe;tt.Dragger=De,tt.LIST_IGNORE=Or;var at=tt},7062:function($e,be,A){var D=A(19637),z=A(97573),e=[A(96627)];$e.exports=D.createStore(z,e)},96627:function($e,be,A){$e.exports=D;function D(){return A(42424),{}}},42424:function(){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f($e){return $e<10?"0"+$e:$e}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote($e){return rx_escapable.lastIndex=0,rx_escapable.test($e)?'"'+$e.replace(rx_escapable,function(be){var A=meta[be];return typeof A=="string"?A:"\\u"+("0000"+be.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+$e+'"'}function str($e,be){var A,D,z,e,g=gap,v,c=be[$e];switch(c&&typeof c=="object"&&typeof c.toJSON=="function"&&(c=c.toJSON($e)),typeof rep=="function"&&(c=rep.call(be,$e,c)),typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,v=[],Object.prototype.toString.apply(c)==="[object Array]"){for(e=c.length,A=0;A<e;A+=1)v[A]=str(A,c)||"null";return z=v.length===0?"[]":gap?`[
`+gap+v.join(`,
`+gap)+`
`+g+"]":"["+v.join(",")+"]",gap=g,z}if(rep&&typeof rep=="object")for(e=rep.length,A=0;A<e;A+=1)typeof rep[A]=="string"&&(D=rep[A],z=str(D,c),z&&v.push(quote(D)+(gap?": ":":")+z));else for(D in c)Object.prototype.hasOwnProperty.call(c,D)&&(z=str(D,c),z&&v.push(quote(D)+(gap?": ":":")+z));return z=v.length===0?"{}":gap?`{
`+gap+v.join(`,
`+gap)+`
`+g+"}":"{"+v.join(",")+"}",gap=g,z}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function($e,be,A){var D;if(gap="",indent="",typeof A=="number")for(D=0;D<A;D+=1)indent+=" ";else typeof A=="string"&&(indent=A);if(rep=be,be&&typeof be!="function"&&(typeof be!="object"||typeof be.length!="number"))throw new Error("JSON.stringify");return str("",{"":$e})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk($e,be){var A,D,z=$e[be];if(z&&typeof z=="object")for(A in z)Object.prototype.hasOwnProperty.call(z,A)&&(D=walk(z,A),D!==void 0?z[A]=D:delete z[A]);return reviver.call($e,be,z)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function($e){return"\\u"+("0000"+$e.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},19637:function($e,be,A){var D=A(67039),z=D.slice,e=D.pluck,g=D.each,v=D.bind,c=D.create,a=D.isList,o=D.isFunction,l=D.isObject;$e.exports={createStore:r};var u={version:"2.0.12",enabled:!1,get:function(t,n){var s=this.storage.read(this._namespacePrefix+t);return this._deserialize(s,n)},set:function(t,n){return n===void 0?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(n)),n)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var n=this;this.storage.each(function(s,d){t.call(n,n._deserialize(s),(d||"").replace(n._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return r.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return r(this.storage,this.plugins,t)}};function i(){var t=typeof console=="undefined"?null:console;if(t){var n=t.warn?t.warn:t.log;n.apply(t,arguments)}}function r(t,n,s){s||(s=""),t&&!a(t)&&(t=[t]),n&&!a(n)&&(n=[n]);var d=s?"__storejs_"+s+"_":"",m=s?new RegExp("^"+d):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(s))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var y={_namespacePrefix:d,_namespaceRegexp:m,_testStorage:function(b){try{var x="__storejs__test__";b.write(x,x);var S=b.read(x)===x;return b.remove(x),S}catch(w){return!1}},_assignPluginFnProp:function(b,x){var S=this[x];this[x]=function(){var _=z(arguments,0),C=this;function E(){if(S)return g(arguments,function(R,k){_[k]=R}),S.apply(C,_)}var T=[E].concat(_);return b.apply(C,T)}},_serialize:function(b){return JSON.stringify(b)},_deserialize:function(b,x){if(!b)return x;var S="";try{S=JSON.parse(b)}catch(w){S=b}return S!==void 0?S:x},_addStorage:function(b){this.enabled||this._testStorage(b)&&(this.storage=b,this.enabled=!0)},_addPlugin:function(b){var x=this;if(a(b)){g(b,function(_){x._addPlugin(_)});return}var S=e(this.plugins,function(_){return b===_});if(!S){if(this.plugins.push(b),!o(b))throw new Error("Plugins must be function values that return objects");var w=b.call(this);if(!l(w))throw new Error("Plugins must return an object of function properties");g(w,function(_,C){if(!o(_))throw new Error("Bad plugin property: "+C+" from plugin "+b.name+". Plugins should only return functions.");x._assignPluginFnProp(_,C)})}},addStorage:function(b){i("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(b)}},p=c(y,u,{plugins:[]});return p.raw={},g(p,function(b,x){o(b)&&(p.raw[x]=v(p,b))}),g(t,function(b){p._addStorage(b)}),g(n,function(b){p._addPlugin(b)}),p}},67039:function($e,be,A){var D=v(),z=c(),e=a(),g=typeof window!="undefined"?window:A.g;$e.exports={assign:D,create:z,trim:e,bind:o,slice:l,each:u,map:i,pluck:r,isList:t,isFunction:n,isObject:s,Global:g};function v(){return Object.assign?Object.assign:function(m,h,y,p){for(var b=1;b<arguments.length;b++)u(Object(arguments[b]),function(x,S){m[S]=x});return m}}function c(){if(Object.create)return function(h,y,p,b){var x=l(arguments,1);return D.apply(this,[Object.create(h)].concat(x))};{let m=function(){};var d=m;return function(y,p,b,x){var S=l(arguments,1);return m.prototype=y,D.apply(this,[new m].concat(S))}}}function a(){return String.prototype.trim?function(m){return String.prototype.trim.call(m)}:function(m){return m.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function o(d,m){return function(){return m.apply(d,Array.prototype.slice.call(arguments,0))}}function l(d,m){return Array.prototype.slice.call(d,m||0)}function u(d,m){r(d,function(h,y){return m(h,y),!1})}function i(d,m){var h=t(d)?[]:{};return r(d,function(y,p){return h[p]=m(y,p),!1}),h}function r(d,m){if(t(d)){for(var h=0;h<d.length;h++)if(m(d[h],h))return d[h]}else for(var y in d)if(d.hasOwnProperty(y)&&m(d[y],y))return d[y]}function t(d){return d!=null&&typeof d!="function"&&typeof d.length=="number"}function n(d){return d&&{}.toString.call(d)==="[object Function]"}function s(d){return d&&{}.toString.call(d)==="[object Object]"}},97573:function($e,be,A){$e.exports=[A(52496),A(16436),A(76673),A(35701),A(65578),A(65300)]},35701:function($e,be,A){var D=A(67039),z=D.Global,e=D.trim;$e.exports={name:"cookieStorage",read:v,write:a,each:c,remove:o,clearAll:l};var g=z.document;function v(i){if(!i||!u(i))return null;var r="(?:^|.*;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(g.cookie.replace(new RegExp(r),"$1"))}function c(i){for(var r=g.cookie.split(/; ?/g),t=r.length-1;t>=0;t--)if(e(r[t])){var n=r[t].split("="),s=unescape(n[0]),d=unescape(n[1]);i(d,s)}}function a(i,r){i&&(g.cookie=escape(i)+"="+escape(r)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function o(i){!i||!u(i)||(g.cookie=escape(i)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function l(){c(function(i,r){o(r)})}function u(i){return new RegExp("(?:^|;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(g.cookie)}},52496:function($e,be,A){var D=A(67039),z=D.Global;$e.exports={name:"localStorage",read:g,write:v,each:c,remove:a,clearAll:o};function e(){return z.localStorage}function g(l){return e().getItem(l)}function v(l,u){return e().setItem(l,u)}function c(l){for(var u=e().length-1;u>=0;u--){var i=e().key(u);l(g(i),i)}}function a(l){return e().removeItem(l)}function o(){return e().clear()}},65300:function($e){$e.exports={name:"memoryStorage",read:A,write:D,each:z,remove:e,clearAll:g};var be={};function A(v){return be[v]}function D(v,c){be[v]=c}function z(v){for(var c in be)be.hasOwnProperty(c)&&v(be[c],c)}function e(v){delete be[v]}function g(v){be={}}},16436:function($e,be,A){var D=A(67039),z=D.Global;$e.exports={name:"oldFF-globalStorage",read:g,write:v,each:c,remove:a,clearAll:o};var e=z.globalStorage;function g(l){return e[l]}function v(l,u){e[l]=u}function c(l){for(var u=e.length-1;u>=0;u--){var i=e.key(u);l(e[i],i)}}function a(l){return e.removeItem(l)}function o(){c(function(l,u){delete e[l]})}},76673:function($e,be,A){var D=A(67039),z=D.Global;$e.exports={name:"oldIE-userDataStorage",write:a,read:o,each:l,remove:u,clearAll:i};var e="storejs",g=z.document,v=n(),c=(z.navigator?z.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function a(s,d){if(!c){var m=t(s);v(function(h){h.setAttribute(m,d),h.save(e)})}}function o(s){if(!c){var d=t(s),m=null;return v(function(h){m=h.getAttribute(d)}),m}}function l(s){v(function(d){for(var m=d.XMLDocument.documentElement.attributes,h=m.length-1;h>=0;h--){var y=m[h];s(d.getAttribute(y.name),y.name)}})}function u(s){var d=t(s);v(function(m){m.removeAttribute(d),m.save(e)})}function i(){v(function(s){var d=s.XMLDocument.documentElement.attributes;s.load(e);for(var m=d.length-1;m>=0;m--)s.removeAttribute(d[m].name);s.save(e)})}var r=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function t(s){return s.replace(/^\d/,"___$&").replace(r,"___")}function n(){if(!g||!g.documentElement||!g.documentElement.addBehavior)return null;var s="script",d,m,h;try{m=new ActiveXObject("htmlfile"),m.open(),m.write("<"+s+">document.w=window</"+s+'><iframe src="/favicon.ico"></iframe>'),m.close(),d=m.w.frames[0].document,h=d.createElement("div")}catch(y){h=g.createElement("div"),d=g.body}return function(y){var p=[].slice.call(arguments,0);p.unshift(h),d.appendChild(h),h.addBehavior("#default#userData"),h.load(e),y.apply(this,p),d.removeChild(h)}}},65578:function($e,be,A){var D=A(67039),z=D.Global;$e.exports={name:"sessionStorage",read:g,write:v,each:c,remove:a,clearAll:o};function e(){return z.sessionStorage}function g(l){return e().getItem(l)}function v(l,u){return e().setItem(l,u)}function c(l){for(var u=e().length-1;u>=0;u--){var i=e().key(u);l(g(i),i)}}function a(l){return e().removeItem(l)}function o(){return e().clear()}},34376:function($e){(function(be,A){if(1)$e.exports=A();else var D,z})(window,function(){return function(be){var A={};function D(z){if(A[z])return A[z].exports;var e=A[z]={i:z,l:!1,exports:{}};return be[z].call(e.exports,e,e.exports,D),e.l=!0,e.exports}return D.m=be,D.c=A,D.d=function(z,e,g){D.o(z,e)||Object.defineProperty(z,e,{enumerable:!0,get:g})},D.r=function(z){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(z,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(z,"__esModule",{value:!0})},D.t=function(z,e){if(1&e&&(z=D(z)),8&e||4&e&&typeof z=="object"&&z&&z.__esModule)return z;var g=Object.create(null);if(D.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:z}),2&e&&typeof z!="string")for(var v in z)D.d(g,v,function(c){return z[c]}.bind(null,v));return g},D.n=function(z){var e=z&&z.__esModule?function(){return z.default}:function(){return z};return D.d(e,"a",e),e},D.o=function(z,e){return Object.prototype.hasOwnProperty.call(z,e)},D.p="",D(D.s=34)}([function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.forwardEvent=A.EventEmitter=void 0;var z=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var g=this;return this._event||(this._event=function(v){return g._listeners.push(v),{dispose:function(){if(!g._disposed){for(var c=0;c<g._listeners.length;c++)if(g._listeners[c]===v)return void g._listeners.splice(c,1)}}}}),this._event},enumerable:!1,configurable:!0}),e.prototype.fire=function(g,v){for(var c=[],a=0;a<this._listeners.length;a++)c.push(this._listeners[a]);for(a=0;a<c.length;a++)c[a].call(void 0,g,v)},e.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},e}();A.EventEmitter=z,A.forwardEvent=function(e,g){return e(function(v){return g.fire(v)})}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.IUnicodeService=A.IOptionsService=A.ILogService=A.IInstantiationService=A.IDirtyRowService=A.ICharsetService=A.ICoreService=A.ICoreMouseService=A.IBufferService=void 0;var z=D(14);A.IBufferService=z.createDecorator("BufferService"),A.ICoreMouseService=z.createDecorator("CoreMouseService"),A.ICoreService=z.createDecorator("CoreService"),A.ICharsetService=z.createDecorator("CharsetService"),A.IDirtyRowService=z.createDecorator("DirtyRowService"),A.IInstantiationService=z.createDecorator("InstantiationService"),A.ILogService=z.createDecorator("LogService"),A.IOptionsService=z.createDecorator("OptionsService"),A.IUnicodeService=z.createDecorator("UnicodeService")},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getDisposeArrayDisposable=A.disposeArray=A.Disposable=void 0;var z=function(){function g(){this._disposables=[],this._isDisposed=!1}return g.prototype.dispose=function(){this._isDisposed=!0;for(var v=0,c=this._disposables;v<c.length;v++)c[v].dispose();this._disposables.length=0},g.prototype.register=function(v){return this._disposables.push(v),v},g.prototype.unregister=function(v){var c=this._disposables.indexOf(v);c!==-1&&this._disposables.splice(c,1)},g}();function e(g){for(var v=0,c=g;v<c.length;v++)c[v].dispose();g.length=0}A.Disposable=z,A.disposeArray=e,A.getDisposeArrayDisposable=function(g){return{dispose:function(){return e(g)}}}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.WHITESPACE_CELL_CODE=A.WHITESPACE_CELL_WIDTH=A.WHITESPACE_CELL_CHAR=A.NULL_CELL_CODE=A.NULL_CELL_WIDTH=A.NULL_CELL_CHAR=A.CHAR_DATA_CODE_INDEX=A.CHAR_DATA_WIDTH_INDEX=A.CHAR_DATA_CHAR_INDEX=A.CHAR_DATA_ATTR_INDEX=A.DEFAULT_ATTR=A.DEFAULT_COLOR=void 0,A.DEFAULT_COLOR=256,A.DEFAULT_ATTR=256|A.DEFAULT_COLOR<<9,A.CHAR_DATA_ATTR_INDEX=0,A.CHAR_DATA_CHAR_INDEX=1,A.CHAR_DATA_WIDTH_INDEX=2,A.CHAR_DATA_CODE_INDEX=3,A.NULL_CELL_CHAR="",A.NULL_CELL_WIDTH=1,A.NULL_CELL_CODE=0,A.WHITESPACE_CELL_CHAR=" ",A.WHITESPACE_CELL_WIDTH=1,A.WHITESPACE_CELL_CODE=32},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(o,l){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,i){u.__proto__=i}||function(u,i){for(var r in i)i.hasOwnProperty(r)&&(u[r]=i[r])})(o,l)},function(o,l){function u(){this.constructor=o}z(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(A,"__esModule",{value:!0}),A.CellData=void 0;var g=D(8),v=D(3),c=D(6),a=function(o){function l(){var u=o!==null&&o.apply(this,arguments)||this;return u.content=0,u.fg=0,u.bg=0,u.extended=new c.ExtendedAttrs,u.combinedData="",u}return e(l,o),l.fromCharData=function(u){var i=new l;return i.setFromCharData(u),i},l.prototype.isCombined=function(){return 2097152&this.content},l.prototype.getWidth=function(){return this.content>>22},l.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?g.stringFromCodePoint(2097151&this.content):""},l.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},l.prototype.setFromCharData=function(u){this.fg=u[v.CHAR_DATA_ATTR_INDEX],this.bg=0;var i=!1;if(u[v.CHAR_DATA_CHAR_INDEX].length>2)i=!0;else if(u[v.CHAR_DATA_CHAR_INDEX].length===2){var r=u[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=r&&r<=56319){var t=u[v.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(r-55296)+t-56320+65536|u[v.CHAR_DATA_WIDTH_INDEX]<<22:i=!0}else i=!0}else this.content=u[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|u[v.CHAR_DATA_WIDTH_INDEX]<<22;i&&(this.combinedData=u[v.CHAR_DATA_CHAR_INDEX],this.content=2097152|u[v.CHAR_DATA_WIDTH_INDEX]<<22)},l.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},l}(c.AttributeData);A.CellData=a},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ISoundService=A.ISelectionService=A.IRenderService=A.IMouseService=A.ICoreBrowserService=A.ICharSizeService=void 0;var z=D(14);A.ICharSizeService=z.createDecorator("CharSizeService"),A.ICoreBrowserService=z.createDecorator("CoreBrowserService"),A.IMouseService=z.createDecorator("MouseService"),A.IRenderService=z.createDecorator("RenderService"),A.ISelectionService=z.createDecorator("SelectionService"),A.ISoundService=z.createDecorator("SoundService")},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ExtendedAttrs=A.AttributeData=void 0;var z=function(){function g(){this.fg=0,this.bg=0,this.extended=new e}return g.toColorRGB=function(v){return[v>>>16&255,v>>>8&255,255&v]},g.fromColorRGB=function(v){return(255&v[0])<<16|(255&v[1])<<8|255&v[2]},g.prototype.clone=function(){var v=new g;return v.fg=this.fg,v.bg=this.bg,v.extended=this.extended.clone(),v},g.prototype.isInverse=function(){return 67108864&this.fg},g.prototype.isBold=function(){return 134217728&this.fg},g.prototype.isUnderline=function(){return 268435456&this.fg},g.prototype.isBlink=function(){return 536870912&this.fg},g.prototype.isInvisible=function(){return 1073741824&this.fg},g.prototype.isItalic=function(){return 67108864&this.bg},g.prototype.isDim=function(){return 134217728&this.bg},g.prototype.getFgColorMode=function(){return 50331648&this.fg},g.prototype.getBgColorMode=function(){return 50331648&this.bg},g.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},g.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},g.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},g.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},g.prototype.isFgDefault=function(){return(50331648&this.fg)==0},g.prototype.isBgDefault=function(){return(50331648&this.bg)==0},g.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},g.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},g.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},g.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},g.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},g.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},g.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},g.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},g.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},g.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},g.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},g}();A.AttributeData=z;var e=function(){function g(v,c){v===void 0&&(v=0),c===void 0&&(c=-1),this.underlineStyle=v,this.underlineColor=c}return g.prototype.clone=function(){return new g(this.underlineStyle,this.underlineColor)},g.prototype.isEmpty=function(){return this.underlineStyle===0},g}();A.ExtendedAttrs=e},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.addDisposableDomListener=void 0,A.addDisposableDomListener=function(z,e,g,v){z.addEventListener(e,g,v);var c=!1;return{dispose:function(){c||(c=!0,z.removeEventListener(e,g,v))}}}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Utf8ToUtf32=A.StringToUtf32=A.utf32ToString=A.stringFromCodePoint=void 0,A.stringFromCodePoint=function(g){return g>65535?(g-=65536,String.fromCharCode(55296+(g>>10))+String.fromCharCode(g%1024+56320)):String.fromCharCode(g)},A.utf32ToString=function(g,v,c){v===void 0&&(v=0),c===void 0&&(c=g.length);for(var a="",o=v;o<c;++o){var l=g[o];l>65535?(l-=65536,a+=String.fromCharCode(55296+(l>>10))+String.fromCharCode(l%1024+56320)):a+=String.fromCharCode(l)}return a};var z=function(){function g(){this._interim=0}return g.prototype.clear=function(){this._interim=0},g.prototype.decode=function(v,c){var a=v.length;if(!a)return 0;var o=0,l=0;this._interim&&(56320<=(r=v.charCodeAt(l++))&&r<=57343?c[o++]=1024*(this._interim-55296)+r-56320+65536:(c[o++]=this._interim,c[o++]=r),this._interim=0);for(var u=l;u<a;++u){var i=v.charCodeAt(u);if(55296<=i&&i<=56319){if(++u>=a)return this._interim=i,o;var r;56320<=(r=v.charCodeAt(u))&&r<=57343?c[o++]=1024*(i-55296)+r-56320+65536:(c[o++]=i,c[o++]=r)}else c[o++]=i}return o},g}();A.StringToUtf32=z;var e=function(){function g(){this.interim=new Uint8Array(3)}return g.prototype.clear=function(){this.interim.fill(0)},g.prototype.decode=function(v,c){var a=v.length;if(!a)return 0;var o,l,u,i,r=0,t=0,n=0;if(this.interim[0]){var s=!1,d=this.interim[0];d&=(224&d)==192?31:(240&d)==224?15:7;for(var m=0,h=void 0;(h=63&this.interim[++m])&&m<4;)d<<=6,d|=h;for(var y=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,p=y-m;n<p;){if(n>=a)return 0;if((192&(h=v[n++]))!=128){n--,s=!0;break}this.interim[m++]=h,d<<=6,d|=63&h}s||(y===2?d<128?n--:c[r++]=d:y===3?d<2048||d>=55296&&d<=57343||(c[r++]=d):d<65536||d>1114111||(c[r++]=d)),this.interim.fill(0)}for(var b=a-4,x=n;x<a;){for(;!(!(x<b)||128&(o=v[x])||128&(l=v[x+1])||128&(u=v[x+2])||128&(i=v[x+3]));)c[r++]=o,c[r++]=l,c[r++]=u,c[r++]=i,x+=4;if((o=v[x++])<128)c[r++]=o;else if((224&o)==192){if(x>=a)return this.interim[0]=o,r;if((192&(l=v[x++]))!=128){x--;continue}if((t=(31&o)<<6|63&l)<128){x--;continue}c[r++]=t}else if((240&o)==224){if(x>=a)return this.interim[0]=o,r;if((192&(l=v[x++]))!=128){x--;continue}if(x>=a)return this.interim[0]=o,this.interim[1]=l,r;if((192&(u=v[x++]))!=128){x--;continue}if((t=(15&o)<<12|(63&l)<<6|63&u)<2048||t>=55296&&t<=57343)continue;c[r++]=t}else if((248&o)==240){if(x>=a)return this.interim[0]=o,r;if((192&(l=v[x++]))!=128){x--;continue}if(x>=a)return this.interim[0]=o,this.interim[1]=l,r;if((192&(u=v[x++]))!=128){x--;continue}if(x>=a)return this.interim[0]=o,this.interim[1]=l,this.interim[2]=u,r;if((192&(i=v[x++]))!=128){x--;continue}if((t=(7&o)<<18|(63&l)<<12|(63&u)<<6|63&i)<65536||t>1114111)continue;c[r++]=t}}return r},g}();A.Utf8ToUtf32=e},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CHAR_ATLAS_CELL_SPACING=A.DIM_OPACITY=A.INVERTED_DEFAULT_COLOR=void 0,A.INVERTED_DEFAULT_COLOR=257,A.DIM_OPACITY=.5,A.CHAR_ATLAS_CELL_SPACING=1},function(be,A,D){"use strict";var z,e,g,v;function c(o){var l=o.toString(16);return l.length<2?"0"+l:l}function a(o,l){return o<l?(l+.05)/(o+.05):(o+.05)/(l+.05)}Object.defineProperty(A,"__esModule",{value:!0}),A.contrastRatio=A.toPaddedHex=A.rgba=A.rgb=A.css=A.color=A.channels=void 0,function(o){o.toCss=function(l,u,i,r){return r!==void 0?"#"+c(l)+c(u)+c(i)+c(r):"#"+c(l)+c(u)+c(i)},o.toRgba=function(l,u,i,r){return r===void 0&&(r=255),(l<<24|u<<16|i<<8|r)>>>0}}(z=A.channels||(A.channels={})),(e=A.color||(A.color={})).blend=function(o,l){var u=(255&l.rgba)/255;if(u===1)return{css:l.css,rgba:l.rgba};var i=l.rgba>>24&255,r=l.rgba>>16&255,t=l.rgba>>8&255,n=o.rgba>>24&255,s=o.rgba>>16&255,d=o.rgba>>8&255,m=n+Math.round((i-n)*u),h=s+Math.round((r-s)*u),y=d+Math.round((t-d)*u);return{css:z.toCss(m,h,y),rgba:z.toRgba(m,h,y)}},e.isOpaque=function(o){return(255&o.rgba)==255},e.ensureContrastRatio=function(o,l,u){var i=v.ensureContrastRatio(o.rgba,l.rgba,u);if(i)return v.toColor(i>>24&255,i>>16&255,i>>8&255)},e.opaque=function(o){var l=(255|o.rgba)>>>0,u=v.toChannels(l),i=u[0],r=u[1],t=u[2];return{css:z.toCss(i,r,t),rgba:l}},e.opacity=function(o,l){var u=Math.round(255*l),i=v.toChannels(o.rgba),r=i[0],t=i[1],n=i[2];return{css:z.toCss(r,t,n,u),rgba:z.toRgba(r,t,n,u)}},(A.css||(A.css={})).toColor=function(o){switch(o.length){case 7:return{css:o,rgba:(parseInt(o.slice(1),16)<<8|255)>>>0};case 9:return{css:o,rgba:parseInt(o.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(o){function l(u,i,r){var t=u/255,n=i/255,s=r/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))}o.relativeLuminance=function(u){return l(u>>16&255,u>>8&255,255&u)},o.relativeLuminance2=l}(g=A.rgb||(A.rgb={})),function(o){function l(i,r,t){for(var n=i>>24&255,s=i>>16&255,d=i>>8&255,m=r>>24&255,h=r>>16&255,y=r>>8&255,p=a(g.relativeLuminance2(m,y,h),g.relativeLuminance2(n,s,d));p<t&&(m>0||h>0||y>0);)m-=Math.max(0,Math.ceil(.1*m)),h-=Math.max(0,Math.ceil(.1*h)),y-=Math.max(0,Math.ceil(.1*y)),p=a(g.relativeLuminance2(m,y,h),g.relativeLuminance2(n,s,d));return(m<<24|h<<16|y<<8|255)>>>0}function u(i,r,t){for(var n=i>>24&255,s=i>>16&255,d=i>>8&255,m=r>>24&255,h=r>>16&255,y=r>>8&255,p=a(g.relativeLuminance2(m,y,h),g.relativeLuminance2(n,s,d));p<t&&(m<255||h<255||y<255);)m=Math.min(255,m+Math.ceil(.1*(255-m))),h=Math.min(255,h+Math.ceil(.1*(255-h))),y=Math.min(255,y+Math.ceil(.1*(255-y))),p=a(g.relativeLuminance2(m,y,h),g.relativeLuminance2(n,s,d));return(m<<24|h<<16|y<<8|255)>>>0}o.ensureContrastRatio=function(i,r,t){var n=g.relativeLuminance(i>>8),s=g.relativeLuminance(r>>8);if(a(n,s)<t)return s<n?l(i,r,t):u(i,r,t)},o.reduceLuminance=l,o.increaseLuminance=u,o.toChannels=function(i){return[i>>24&255,i>>16&255,i>>8&255,255&i]},o.toColor=function(i,r,t){return{css:z.toCss(i,r,t),rgba:z.toRgba(i,r,t)}}}(v=A.rgba||(A.rgba={})),A.toPaddedHex=c,A.contrastRatio=a},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isLinux=A.isWindows=A.isIphone=A.isIpad=A.isMac=A.isSafari=A.isFirefox=void 0;var z=typeof navigator=="undefined",e=z?"node":navigator.userAgent,g=z?"node":navigator.platform;function v(c,a){return c.indexOf(a)>=0}A.isFirefox=!!~e.indexOf("Firefox"),A.isSafari=/^((?!chrome|android).)*safari/i.test(e),A.isMac=v(["Macintosh","MacIntel","MacPPC","Mac68K"],g),A.isIpad=g==="iPad",A.isIphone=g==="iPhone",A.isWindows=v(["Windows","Win16","Win32","WinCE"],g),A.isLinux=g.indexOf("Linux")>=0},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.C1=A.C0=void 0,function(z){z.NUL="\0",z.SOH="",z.STX="",z.ETX="",z.EOT="",z.ENQ="",z.ACK="",z.BEL="\x07",z.BS="\b",z.HT=" ",z.LF=`
`,z.VT="\v",z.FF="\f",z.CR="\r",z.SO="",z.SI="",z.DLE="",z.DC1="",z.DC2="",z.DC3="",z.DC4="",z.NAK="",z.SYN="",z.ETB="",z.CAN="",z.EM="",z.SUB="",z.ESC="\x1B",z.FS="",z.GS="",z.RS="",z.US="",z.SP=" ",z.DEL="\x7F"}(A.C0||(A.C0={})),function(z){z.PAD="\x80",z.HOP="\x81",z.BPH="\x82",z.NBH="\x83",z.IND="\x84",z.NEL="\x85",z.SSA="\x86",z.ESA="\x87",z.HTS="\x88",z.HTJ="\x89",z.VTS="\x8A",z.PLD="\x8B",z.PLU="\x8C",z.RI="\x8D",z.SS2="\x8E",z.SS3="\x8F",z.DCS="\x90",z.PU1="\x91",z.PU2="\x92",z.STS="\x93",z.CCH="\x94",z.MW="\x95",z.SPA="\x96",z.EPA="\x97",z.SOS="\x98",z.SGCI="\x99",z.SCI="\x9A",z.CSI="\x9B",z.ST="\x9C",z.OSC="\x9D",z.PM="\x9E",z.APC="\x9F"}(A.C1||(A.C1={}))},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BaseRenderLayer=void 0;var z=D(3),e=D(9),g=D(25),v=D(6),c=D(28),a=D(10),o=D(17),l=function(){function u(i,r,t,n,s,d,m,h){this._container=i,this._alpha=n,this._colors=s,this._rendererId=d,this._bufferService=m,this._optionsService=h,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+r+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return u.prototype.dispose=function(){var i;o.removeElementFromParent(this._canvas),(i=this._charAtlas)===null||i===void 0||i.dispose()},u.prototype._initCanvas=function(){this._ctx=c.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},u.prototype.onOptionsChanged=function(){},u.prototype.onBlur=function(){},u.prototype.onFocus=function(){},u.prototype.onCursorMove=function(){},u.prototype.onGridChanged=function(i,r){},u.prototype.onSelectionChanged=function(i,r,t){t===void 0&&(t=!1)},u.prototype.setColors=function(i){this._refreshCharAtlas(i)},u.prototype._setTransparency=function(i){if(i!==this._alpha){var r=this._canvas;this._alpha=i,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,r),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},u.prototype._refreshCharAtlas=function(i){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=g.acquireCharAtlas(this._optionsService.options,this._rendererId,i,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},u.prototype.resize=function(i){this._scaledCellWidth=i.scaledCellWidth,this._scaledCellHeight=i.scaledCellHeight,this._scaledCharWidth=i.scaledCharWidth,this._scaledCharHeight=i.scaledCharHeight,this._scaledCharLeft=i.scaledCharLeft,this._scaledCharTop=i.scaledCharTop,this._canvas.width=i.scaledCanvasWidth,this._canvas.height=i.scaledCanvasHeight,this._canvas.style.width=i.canvasWidth+"px",this._canvas.style.height=i.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},u.prototype._fillCells=function(i,r,t,n){this._ctx.fillRect(i*this._scaledCellWidth,r*this._scaledCellHeight,t*this._scaledCellWidth,n*this._scaledCellHeight)},u.prototype._fillBottomLineAtCells=function(i,r,t){t===void 0&&(t=1),this._ctx.fillRect(i*this._scaledCellWidth,(r+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},u.prototype._fillLeftLineAtCell=function(i,r,t){this._ctx.fillRect(i*this._scaledCellWidth,r*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},u.prototype._strokeRectAtCell=function(i,r,t,n){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(i*this._scaledCellWidth+window.devicePixelRatio/2,r*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,n*this._scaledCellHeight-window.devicePixelRatio)},u.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},u.prototype._clearCells=function(i,r,t,n){this._alpha?this._ctx.clearRect(i*this._scaledCellWidth,r*this._scaledCellHeight,t*this._scaledCellWidth,n*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(i*this._scaledCellWidth,r*this._scaledCellHeight,t*this._scaledCellWidth,n*this._scaledCellHeight))},u.prototype._fillCharTrueColor=function(i,r,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(i.getChars(),r*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},u.prototype._drawChars=function(i,r,t){var n,s,d=this._getContrastColor(i);d||i.isFgRGB()||i.isBgRGB()?this._drawUncachedChars(i,r,t,d):(i.isInverse()?(n=i.isBgDefault()?e.INVERTED_DEFAULT_COLOR:i.getBgColor(),s=i.isFgDefault()?e.INVERTED_DEFAULT_COLOR:i.getFgColor()):(s=i.isBgDefault()?z.DEFAULT_COLOR:i.getBgColor(),n=i.isFgDefault()?z.DEFAULT_COLOR:i.getFgColor()),n+=this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&n<8?8:0,this._currentGlyphIdentifier.chars=i.getChars()||z.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=i.getCode()||z.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=s,this._currentGlyphIdentifier.fg=n,this._currentGlyphIdentifier.bold=!!i.isBold(),this._currentGlyphIdentifier.dim=!!i.isDim(),this._currentGlyphIdentifier.italic=!!i.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,r*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(i,r,t))},u.prototype._drawUncachedChars=function(i,r,t,n){if(this._ctx.save(),this._ctx.font=this._getFont(!!i.isBold(),!!i.isItalic()),this._ctx.textBaseline="middle",i.isInverse())if(n)this._ctx.fillStyle=n.css;else if(i.isBgDefault())this._ctx.fillStyle=a.color.opaque(this._colors.background).css;else if(i.isBgRGB())this._ctx.fillStyle="rgb("+v.AttributeData.toColorRGB(i.getBgColor()).join(",")+")";else{var s=i.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&s<8&&(s+=8),this._ctx.fillStyle=this._colors.ansi[s].css}else if(n)this._ctx.fillStyle=n.css;else if(i.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(i.isFgRGB())this._ctx.fillStyle="rgb("+v.AttributeData.toColorRGB(i.getFgColor()).join(",")+")";else{var d=i.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&i.isBold()&&d<8&&(d+=8),this._ctx.fillStyle=this._colors.ansi[d].css}this._clipRow(t),i.isDim()&&(this._ctx.globalAlpha=e.DIM_OPACITY),this._ctx.fillText(i.getChars(),r*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},u.prototype._clipRow=function(i){this._ctx.beginPath(),this._ctx.rect(0,i*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},u.prototype._getFont=function(i,r){return(r?"italic":"")+" "+(i?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},u.prototype._getContrastColor=function(i){if(this._optionsService.options.minimumContrastRatio!==1){var r=this._colors.contrastCache.getColor(i.bg,i.fg);if(r!==void 0)return r||void 0;var t=i.getFgColor(),n=i.getFgColorMode(),s=i.getBgColor(),d=i.getBgColorMode(),m=!!i.isInverse(),h=!!i.isInverse();if(m){var y=t;t=s,s=y;var p=n;n=d,d=p}var b=this._resolveBackgroundRgba(d,s,m),x=this._resolveForegroundRgba(n,t,m,h),S=a.rgba.ensureContrastRatio(b,x,this._optionsService.options.minimumContrastRatio);if(S){var w={css:a.channels.toCss(S>>24&255,S>>16&255,S>>8&255),rgba:S};return this._colors.contrastCache.setColor(i.bg,i.fg,w),w}this._colors.contrastCache.setColor(i.bg,i.fg,null)}},u.prototype._resolveBackgroundRgba=function(i,r,t){switch(i){case 16777216:case 33554432:return this._colors.ansi[r].rgba;case 50331648:return r<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},u.prototype._resolveForegroundRgba=function(i,r,t,n){switch(i){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&n&&r<8&&(r+=8),this._colors.ansi[r].rgba;case 50331648:return r<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},u}();A.BaseRenderLayer=l},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.createDecorator=A.getServiceDependencies=A.serviceRegistry=void 0;function z(e,g,v){g.di$target===g?g.di$dependencies.push({id:e,index:v}):(g.di$dependencies=[{id:e,index:v}],g.di$target=g)}A.serviceRegistry=new Map,A.getServiceDependencies=function(e){return e.di$dependencies||[]},A.createDecorator=function(e){if(A.serviceRegistry.has(e))return A.serviceRegistry.get(e);var g=function(v,c,a){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");z(g,v,a)};return g.toString=function(){return e},A.serviceRegistry.set(e,g),g}},function(be,A,D){"use strict";function z(e,g,v,c){if(v===void 0&&(v=0),c===void 0&&(c=e.length),v>=e.length)return e;v=(e.length+v)%e.length,c=c>=e.length?e.length:(e.length+c)%e.length;for(var a=v;a<c;++a)e[a]=g;return e}Object.defineProperty(A,"__esModule",{value:!0}),A.concat=A.fillFallback=A.fill=void 0,A.fill=function(e,g,v,c){return e.fill?e.fill(g,v,c):z(e,g,v,c)},A.fillFallback=z,A.concat=function(e,g){var v=new e.constructor(e.length+g.length);return v.set(e),v.set(g,e.length),v}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BufferLine=A.DEFAULT_ATTR_DATA=void 0;var z=D(8),e=D(3),g=D(4),v=D(6);A.DEFAULT_ATTR_DATA=Object.freeze(new v.AttributeData);var c=function(){function a(o,l,u){u===void 0&&(u=!1),this.isWrapped=u,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*o);for(var i=l||g.CellData.fromCharData([0,e.NULL_CELL_CHAR,e.NULL_CELL_WIDTH,e.NULL_CELL_CODE]),r=0;r<o;++r)this.setCell(r,i);this.length=o}return a.prototype.get=function(o){var l=this._data[3*o+0],u=2097151&l;return[this._data[3*o+1],2097152&l?this._combined[o]:u?z.stringFromCodePoint(u):"",l>>22,2097152&l?this._combined[o].charCodeAt(this._combined[o].length-1):u]},a.prototype.set=function(o,l){this._data[3*o+1]=l[e.CHAR_DATA_ATTR_INDEX],l[e.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[o]=l[1],this._data[3*o+0]=2097152|o|l[e.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*o+0]=l[e.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|l[e.CHAR_DATA_WIDTH_INDEX]<<22},a.prototype.getWidth=function(o){return this._data[3*o+0]>>22},a.prototype.hasWidth=function(o){return 12582912&this._data[3*o+0]},a.prototype.getFg=function(o){return this._data[3*o+1]},a.prototype.getBg=function(o){return this._data[3*o+2]},a.prototype.hasContent=function(o){return 4194303&this._data[3*o+0]},a.prototype.getCodePoint=function(o){var l=this._data[3*o+0];return 2097152&l?this._combined[o].charCodeAt(this._combined[o].length-1):2097151&l},a.prototype.isCombined=function(o){return 2097152&this._data[3*o+0]},a.prototype.getString=function(o){var l=this._data[3*o+0];return 2097152&l?this._combined[o]:2097151&l?z.stringFromCodePoint(2097151&l):""},a.prototype.loadCell=function(o,l){var u=3*o;return l.content=this._data[u+0],l.fg=this._data[u+1],l.bg=this._data[u+2],2097152&l.content&&(l.combinedData=this._combined[o]),268435456&l.bg&&(l.extended=this._extendedAttrs[o]),l},a.prototype.setCell=function(o,l){2097152&l.content&&(this._combined[o]=l.combinedData),268435456&l.bg&&(this._extendedAttrs[o]=l.extended),this._data[3*o+0]=l.content,this._data[3*o+1]=l.fg,this._data[3*o+2]=l.bg},a.prototype.setCellFromCodePoint=function(o,l,u,i,r,t){268435456&r&&(this._extendedAttrs[o]=t),this._data[3*o+0]=l|u<<22,this._data[3*o+1]=i,this._data[3*o+2]=r},a.prototype.addCodepointToCell=function(o,l){var u=this._data[3*o+0];2097152&u?this._combined[o]+=z.stringFromCodePoint(l):(2097151&u?(this._combined[o]=z.stringFromCodePoint(2097151&u)+z.stringFromCodePoint(l),u&=-2097152,u|=2097152):u=l|1<<22,this._data[3*o+0]=u)},a.prototype.insertCells=function(o,l,u,i){if((o%=this.length)&&this.getWidth(o-1)===2&&this.setCellFromCodePoint(o-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new v.ExtendedAttrs),l<this.length-o){for(var r=new g.CellData,t=this.length-o-l-1;t>=0;--t)this.setCell(o+l+t,this.loadCell(o+t,r));for(t=0;t<l;++t)this.setCell(o+t,u)}else for(t=o;t<this.length;++t)this.setCell(t,u);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new v.ExtendedAttrs)},a.prototype.deleteCells=function(o,l,u,i){if(o%=this.length,l<this.length-o){for(var r=new g.CellData,t=0;t<this.length-o-l;++t)this.setCell(o+t,this.loadCell(o+l+t,r));for(t=this.length-l;t<this.length;++t)this.setCell(t,u)}else for(t=o;t<this.length;++t)this.setCell(t,u);o&&this.getWidth(o-1)===2&&this.setCellFromCodePoint(o-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new v.ExtendedAttrs),this.getWidth(o)!==0||this.hasContent(o)||this.setCellFromCodePoint(o,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new v.ExtendedAttrs)},a.prototype.replaceCells=function(o,l,u,i){for(o&&this.getWidth(o-1)===2&&this.setCellFromCodePoint(o-1,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new v.ExtendedAttrs),l<this.length&&this.getWidth(l-1)===2&&this.setCellFromCodePoint(l,0,1,(i==null?void 0:i.fg)||0,(i==null?void 0:i.bg)||0,(i==null?void 0:i.extended)||new v.ExtendedAttrs);o<l&&o<this.length;)this.setCell(o++,u)},a.prototype.resize=function(o,l){if(o!==this.length){if(o>this.length){var u=new Uint32Array(3*o);this.length&&(3*o<this._data.length?u.set(this._data.subarray(0,3*o)):u.set(this._data)),this._data=u;for(var i=this.length;i<o;++i)this.setCell(i,l)}else if(o){(u=new Uint32Array(3*o)).set(this._data.subarray(0,3*o)),this._data=u;var r=Object.keys(this._combined);for(i=0;i<r.length;i++){var t=parseInt(r[i],10);t>=o&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=o}},a.prototype.fill=function(o){this._combined={},this._extendedAttrs={};for(var l=0;l<this.length;++l)this.setCell(l,o)},a.prototype.copyFrom=function(o){for(var l in this.length!==o.length?this._data=new Uint32Array(o._data):this._data.set(o._data),this.length=o.length,this._combined={},o._combined)this._combined[l]=o._combined[l];for(var l in this._extendedAttrs={},o._extendedAttrs)this._extendedAttrs[l]=o._extendedAttrs[l];this.isWrapped=o.isWrapped},a.prototype.clone=function(){var o=new a(0);for(var l in o._data=new Uint32Array(this._data),o.length=this.length,this._combined)o._combined[l]=this._combined[l];for(var l in this._extendedAttrs)o._extendedAttrs[l]=this._extendedAttrs[l];return o.isWrapped=this.isWrapped,o},a.prototype.getTrimmedLength=function(){for(var o=this.length-1;o>=0;--o)if(4194303&this._data[3*o+0])return o+(this._data[3*o+0]>>22);return 0},a.prototype.copyCellsFrom=function(o,l,u,i,r){var t=o._data;if(r)for(var n=i-1;n>=0;n--)for(var s=0;s<3;s++)this._data[3*(u+n)+s]=t[3*(l+n)+s];else for(n=0;n<i;n++)for(s=0;s<3;s++)this._data[3*(u+n)+s]=t[3*(l+n)+s];var d=Object.keys(o._combined);for(s=0;s<d.length;s++){var m=parseInt(d[s],10);m>=l&&(this._combined[m-l+u]=o._combined[m])}},a.prototype.translateToString=function(o,l,u){o===void 0&&(o=!1),l===void 0&&(l=0),u===void 0&&(u=this.length),o&&(u=Math.min(u,this.getTrimmedLength()));for(var i="";l<u;){var r=this._data[3*l+0],t=2097151&r;i+=2097152&r?this._combined[l]:t?z.stringFromCodePoint(t):e.WHITESPACE_CELL_CHAR,l+=r>>22||1}return i},a}();A.BufferLine=c},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.removeElementFromParent=void 0,A.removeElementFromParent=function(){for(var z,e=[],g=0;g<arguments.length;g++)e[g]=arguments[g];for(var v=0,c=e;v<c.length;v++){var a=c[v];(z=a==null?void 0:a.parentElement)===null||z===void 0||z.removeChild(a)}}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.tooMuchOutput=A.promptLabel=void 0,A.promptLabel="Terminal input",A.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(x,S){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,_){w.__proto__=_}||function(w,_){for(var C in _)_.hasOwnProperty(C)&&(w[C]=_[C])})(x,S)},function(x,S){function w(){this.constructor=x}z(x,S),x.prototype=S===null?Object.create(S):(w.prototype=S.prototype,new w)});Object.defineProperty(A,"__esModule",{value:!0}),A.InputHandler=A.WindowsOptionsReportType=void 0;var g,v=D(12),c=D(20),a=D(39),o=D(2),l=D(15),u=D(8),i=D(16),r=D(0),t=D(3),n=D(4),s=D(6),d=D(22),m=D(24),h={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function y(x,S){if(x>24)return S.setWinLines||!1;switch(x){case 1:return!!S.restoreWin;case 2:return!!S.minimizeWin;case 3:return!!S.setWinPosition;case 4:return!!S.setWinSizePixels;case 5:return!!S.raiseWin;case 6:return!!S.lowerWin;case 7:return!!S.refreshWin;case 8:return!!S.setWinSizeChars;case 9:return!!S.maximizeWin;case 10:return!!S.fullscreenWin;case 11:return!!S.getWinState;case 13:return!!S.getWinPosition;case 14:return!!S.getWinSizePixels;case 15:return!!S.getScreenSizePixels;case 16:return!!S.getCellSizePixels;case 18:return!!S.getWinSizeChars;case 19:return!!S.getScreenSizeChars;case 20:return!!S.getIconTitle;case 21:return!!S.getWinTitle;case 22:return!!S.pushTitle;case 23:return!!S.popTitle;case 24:return!!S.setWinLines}return!1}(function(x){x[x.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",x[x.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(g=A.WindowsOptionsReportType||(A.WindowsOptionsReportType={}));var p=function(){function x(S,w,_,C){this._bufferService=S,this._coreService=w,this._logService=_,this._optionsService=C,this._data=new Uint32Array(0)}return x.prototype.hook=function(S){this._data=new Uint32Array(0)},x.prototype.put=function(S,w,_){this._data=l.concat(this._data,S.subarray(w,_))},x.prototype.unhook=function(S){if(S){var w=u.utf32ToString(this._data);switch(this._data=new Uint32Array(0),w){case'"q':return this._coreService.triggerDataEvent(v.C0.ESC+'P1$r0"q'+v.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(v.C0.ESC+'P1$r61;1"p'+v.C0.ESC+"\\");case"r":var _=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(v.C0.ESC+"P1$r"+_+v.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(v.C0.ESC+"P1$r0m"+v.C0.ESC+"\\");case" q":var C={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return C-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(v.C0.ESC+"P1$r"+C+" q"+v.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",w),this._coreService.triggerDataEvent(v.C0.ESC+"P0$r"+v.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},x}(),b=function(x){function S(w,_,C,E,T,R,k,P,L){L===void 0&&(L=new a.EscapeSequenceParser);var O=x.call(this)||this;O._bufferService=w,O._charsetService=_,O._coreService=C,O._dirtyRowService=E,O._logService=T,O._optionsService=R,O._coreMouseService=k,O._unicodeService=P,O._parser=L,O._parseBuffer=new Uint32Array(4096),O._stringDecoder=new u.StringToUtf32,O._utf8Decoder=new u.Utf8ToUtf32,O._workCell=new n.CellData,O._windowTitle="",O._iconName="",O._windowTitleStack=[],O._iconNameStack=[],O._curAttrData=i.DEFAULT_ATTR_DATA.clone(),O._eraseAttrDataInternal=i.DEFAULT_ATTR_DATA.clone(),O._onRequestBell=new r.EventEmitter,O._onRequestRefreshRows=new r.EventEmitter,O._onRequestReset=new r.EventEmitter,O._onRequestScroll=new r.EventEmitter,O._onRequestSyncScrollBar=new r.EventEmitter,O._onRequestWindowsOptionsReport=new r.EventEmitter,O._onA11yChar=new r.EventEmitter,O._onA11yTab=new r.EventEmitter,O._onCursorMove=new r.EventEmitter,O._onLineFeed=new r.EventEmitter,O._onScroll=new r.EventEmitter,O._onTitleChange=new r.EventEmitter,O.register(O._parser),O._parser.setCsiHandlerFallback(function(B,te){O._logService.debug("Unknown CSI code: ",{identifier:O._parser.identToString(B),params:te.toArray()})}),O._parser.setEscHandlerFallback(function(B){O._logService.debug("Unknown ESC code: ",{identifier:O._parser.identToString(B)})}),O._parser.setExecuteHandlerFallback(function(B){O._logService.debug("Unknown EXECUTE code: ",{code:B})}),O._parser.setOscHandlerFallback(function(B,te,ee){O._logService.debug("Unknown OSC code: ",{identifier:B,action:te,data:ee})}),O._parser.setDcsHandlerFallback(function(B,te,ee){te==="HOOK"&&(ee=ee.toArray()),O._logService.debug("Unknown DCS code: ",{identifier:O._parser.identToString(B),action:te,payload:ee})}),O._parser.setPrintHandler(function(B,te,ee){return O.print(B,te,ee)}),O._parser.setCsiHandler({final:"@"},function(B){return O.insertChars(B)}),O._parser.setCsiHandler({intermediates:" ",final:"@"},function(B){return O.scrollLeft(B)}),O._parser.setCsiHandler({final:"A"},function(B){return O.cursorUp(B)}),O._parser.setCsiHandler({intermediates:" ",final:"A"},function(B){return O.scrollRight(B)}),O._parser.setCsiHandler({final:"B"},function(B){return O.cursorDown(B)}),O._parser.setCsiHandler({final:"C"},function(B){return O.cursorForward(B)}),O._parser.setCsiHandler({final:"D"},function(B){return O.cursorBackward(B)}),O._parser.setCsiHandler({final:"E"},function(B){return O.cursorNextLine(B)}),O._parser.setCsiHandler({final:"F"},function(B){return O.cursorPrecedingLine(B)}),O._parser.setCsiHandler({final:"G"},function(B){return O.cursorCharAbsolute(B)}),O._parser.setCsiHandler({final:"H"},function(B){return O.cursorPosition(B)}),O._parser.setCsiHandler({final:"I"},function(B){return O.cursorForwardTab(B)}),O._parser.setCsiHandler({final:"J"},function(B){return O.eraseInDisplay(B)}),O._parser.setCsiHandler({prefix:"?",final:"J"},function(B){return O.eraseInDisplay(B)}),O._parser.setCsiHandler({final:"K"},function(B){return O.eraseInLine(B)}),O._parser.setCsiHandler({prefix:"?",final:"K"},function(B){return O.eraseInLine(B)}),O._parser.setCsiHandler({final:"L"},function(B){return O.insertLines(B)}),O._parser.setCsiHandler({final:"M"},function(B){return O.deleteLines(B)}),O._parser.setCsiHandler({final:"P"},function(B){return O.deleteChars(B)}),O._parser.setCsiHandler({final:"S"},function(B){return O.scrollUp(B)}),O._parser.setCsiHandler({final:"T"},function(B){return O.scrollDown(B)}),O._parser.setCsiHandler({final:"X"},function(B){return O.eraseChars(B)}),O._parser.setCsiHandler({final:"Z"},function(B){return O.cursorBackwardTab(B)}),O._parser.setCsiHandler({final:"`"},function(B){return O.charPosAbsolute(B)}),O._parser.setCsiHandler({final:"a"},function(B){return O.hPositionRelative(B)}),O._parser.setCsiHandler({final:"b"},function(B){return O.repeatPrecedingCharacter(B)}),O._parser.setCsiHandler({final:"c"},function(B){return O.sendDeviceAttributesPrimary(B)}),O._parser.setCsiHandler({prefix:">",final:"c"},function(B){return O.sendDeviceAttributesSecondary(B)}),O._parser.setCsiHandler({final:"d"},function(B){return O.linePosAbsolute(B)}),O._parser.setCsiHandler({final:"e"},function(B){return O.vPositionRelative(B)}),O._parser.setCsiHandler({final:"f"},function(B){return O.hVPosition(B)}),O._parser.setCsiHandler({final:"g"},function(B){return O.tabClear(B)}),O._parser.setCsiHandler({final:"h"},function(B){return O.setMode(B)}),O._parser.setCsiHandler({prefix:"?",final:"h"},function(B){return O.setModePrivate(B)}),O._parser.setCsiHandler({final:"l"},function(B){return O.resetMode(B)}),O._parser.setCsiHandler({prefix:"?",final:"l"},function(B){return O.resetModePrivate(B)}),O._parser.setCsiHandler({final:"m"},function(B){return O.charAttributes(B)}),O._parser.setCsiHandler({final:"n"},function(B){return O.deviceStatus(B)}),O._parser.setCsiHandler({prefix:"?",final:"n"},function(B){return O.deviceStatusPrivate(B)}),O._parser.setCsiHandler({intermediates:"!",final:"p"},function(B){return O.softReset(B)}),O._parser.setCsiHandler({intermediates:" ",final:"q"},function(B){return O.setCursorStyle(B)}),O._parser.setCsiHandler({final:"r"},function(B){return O.setScrollRegion(B)}),O._parser.setCsiHandler({final:"s"},function(B){return O.saveCursor(B)}),O._parser.setCsiHandler({final:"t"},function(B){return O.windowOptions(B)}),O._parser.setCsiHandler({final:"u"},function(B){return O.restoreCursor(B)}),O._parser.setCsiHandler({intermediates:"'",final:"}"},function(B){return O.insertColumns(B)}),O._parser.setCsiHandler({intermediates:"'",final:"~"},function(B){return O.deleteColumns(B)}),O._parser.setExecuteHandler(v.C0.BEL,function(){return O.bell()}),O._parser.setExecuteHandler(v.C0.LF,function(){return O.lineFeed()}),O._parser.setExecuteHandler(v.C0.VT,function(){return O.lineFeed()}),O._parser.setExecuteHandler(v.C0.FF,function(){return O.lineFeed()}),O._parser.setExecuteHandler(v.C0.CR,function(){return O.carriageReturn()}),O._parser.setExecuteHandler(v.C0.BS,function(){return O.backspace()}),O._parser.setExecuteHandler(v.C0.HT,function(){return O.tab()}),O._parser.setExecuteHandler(v.C0.SO,function(){return O.shiftOut()}),O._parser.setExecuteHandler(v.C0.SI,function(){return O.shiftIn()}),O._parser.setExecuteHandler(v.C1.IND,function(){return O.index()}),O._parser.setExecuteHandler(v.C1.NEL,function(){return O.nextLine()}),O._parser.setExecuteHandler(v.C1.HTS,function(){return O.tabSet()}),O._parser.setOscHandler(0,new d.OscHandler(function(B){O.setTitle(B),O.setIconName(B)})),O._parser.setOscHandler(1,new d.OscHandler(function(B){return O.setIconName(B)})),O._parser.setOscHandler(2,new d.OscHandler(function(B){return O.setTitle(B)})),O._parser.setEscHandler({final:"7"},function(){return O.saveCursor()}),O._parser.setEscHandler({final:"8"},function(){return O.restoreCursor()}),O._parser.setEscHandler({final:"D"},function(){return O.index()}),O._parser.setEscHandler({final:"E"},function(){return O.nextLine()}),O._parser.setEscHandler({final:"H"},function(){return O.tabSet()}),O._parser.setEscHandler({final:"M"},function(){return O.reverseIndex()}),O._parser.setEscHandler({final:"="},function(){return O.keypadApplicationMode()}),O._parser.setEscHandler({final:">"},function(){return O.keypadNumericMode()}),O._parser.setEscHandler({final:"c"},function(){return O.fullReset()}),O._parser.setEscHandler({final:"n"},function(){return O.setgLevel(2)}),O._parser.setEscHandler({final:"o"},function(){return O.setgLevel(3)}),O._parser.setEscHandler({final:"|"},function(){return O.setgLevel(3)}),O._parser.setEscHandler({final:"}"},function(){return O.setgLevel(2)}),O._parser.setEscHandler({final:"~"},function(){return O.setgLevel(1)}),O._parser.setEscHandler({intermediates:"%",final:"@"},function(){return O.selectDefaultCharset()}),O._parser.setEscHandler({intermediates:"%",final:"G"},function(){return O.selectDefaultCharset()});var N=function(B){H._parser.setEscHandler({intermediates:"(",final:B},function(){return O.selectCharset("("+B)}),H._parser.setEscHandler({intermediates:")",final:B},function(){return O.selectCharset(")"+B)}),H._parser.setEscHandler({intermediates:"*",final:B},function(){return O.selectCharset("*"+B)}),H._parser.setEscHandler({intermediates:"+",final:B},function(){return O.selectCharset("+"+B)}),H._parser.setEscHandler({intermediates:"-",final:B},function(){return O.selectCharset("-"+B)}),H._parser.setEscHandler({intermediates:".",final:B},function(){return O.selectCharset("."+B)}),H._parser.setEscHandler({intermediates:"/",final:B},function(){return O.selectCharset("/"+B)})},H=this;for(var V in c.CHARSETS)N(V);return O._parser.setEscHandler({intermediates:"#",final:"8"},function(){return O.screenAlignmentPattern()}),O._parser.setErrorHandler(function(B){return O._logService.error("Parsing error: ",B),B}),O._parser.setDcsHandler({intermediates:"$",final:"q"},new p(O._bufferService,O._coreService,O._logService,O._optionsService)),O}return e(S,x),Object.defineProperty(S.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){x.prototype.dispose.call(this)},S.prototype.parse=function(w){var _=this._bufferService.buffer,C=_.x,E=_.y;if(this._logService.debug("parsing data",w),this._parseBuffer.length<w.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(w.length,131072))),this._dirtyRowService.clearRange(),w.length>131072)for(var T=0;T<w.length;T+=131072){var R=T+131072<w.length?T+131072:w.length,k=typeof w=="string"?this._stringDecoder.decode(w.substring(T,R),this._parseBuffer):this._utf8Decoder.decode(w.subarray(T,R),this._parseBuffer);this._parser.parse(this._parseBuffer,k)}else k=typeof w=="string"?this._stringDecoder.decode(w,this._parseBuffer):this._utf8Decoder.decode(w,this._parseBuffer),this._parser.parse(this._parseBuffer,k);(_=this._bufferService.buffer).x===C&&_.y===E||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},S.prototype.print=function(w,_,C){var E,T,R=this._bufferService.buffer,k=this._charsetService.charset,P=this._optionsService.options.screenReaderMode,L=this._bufferService.cols,O=this._coreService.decPrivateModes.wraparound,N=this._coreService.modes.insertMode,H=this._curAttrData,V=R.lines.get(R.ybase+R.y);this._dirtyRowService.markDirty(R.y),R.x&&C-_>0&&V.getWidth(R.x-1)===2&&V.setCellFromCodePoint(R.x-1,0,1,H.fg,H.bg,H.extended);for(var B=_;B<C;++B){if(E=w[B],T=this._unicodeService.wcwidth(E),E<127&&k){var te=k[String.fromCharCode(E)];te&&(E=te.charCodeAt(0))}if(P&&this._onA11yChar.fire(u.stringFromCodePoint(E)),T||!R.x){if(R.x+T-1>=L){if(O){for(;R.x<L;)V.setCellFromCodePoint(R.x++,0,1,H.fg,H.bg,H.extended);R.x=0,R.y++,R.y===R.scrollBottom+1?(R.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(R.y>=this._bufferService.rows&&(R.y=this._bufferService.rows-1),R.lines.get(R.ybase+R.y).isWrapped=!0),V=R.lines.get(R.ybase+R.y)}else if(R.x=L-1,T===2)continue}if(N&&(V.insertCells(R.x,T,R.getNullCell(H),H),V.getWidth(L-1)===2&&V.setCellFromCodePoint(L-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,H.fg,H.bg,H.extended)),V.setCellFromCodePoint(R.x++,E,T,H.fg,H.bg,H.extended),T>0)for(;--T;)V.setCellFromCodePoint(R.x++,0,0,H.fg,H.bg,H.extended)}else V.getWidth(R.x-1)?V.addCodepointToCell(R.x-1,E):V.addCodepointToCell(R.x-2,E)}C-_>0&&(V.loadCell(R.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),R.x<L&&C-_>0&&V.getWidth(R.x)===0&&!V.hasContent(R.x)&&V.setCellFromCodePoint(R.x,0,1,H.fg,H.bg,H.extended),this._dirtyRowService.markDirty(R.y)},S.prototype.addCsiHandler=function(w,_){var C=this;return w.final!=="t"||w.prefix||w.intermediates?this._parser.addCsiHandler(w,_):this._parser.addCsiHandler(w,function(E){return!y(E.params[0],C._optionsService.options.windowOptions)||_(E)})},S.prototype.addDcsHandler=function(w,_){return this._parser.addDcsHandler(w,new m.DcsHandler(_))},S.prototype.addEscHandler=function(w,_){return this._parser.addEscHandler(w,_)},S.prototype.addOscHandler=function(w,_){return this._parser.addOscHandler(w,new d.OscHandler(_))},S.prototype.bell=function(){this._onRequestBell.fire()},S.prototype.lineFeed=function(){var w=this._bufferService.buffer;this._dirtyRowService.markDirty(w.y),this._optionsService.options.convertEol&&(w.x=0),w.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.y=this._bufferService.rows-1),w.x>=this._bufferService.cols&&w.x--,this._dirtyRowService.markDirty(w.y),this._onLineFeed.fire()},S.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},S.prototype.backspace=function(){var w,_=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(_.x>0&&_.x--);if(this._restrictCursor(this._bufferService.cols),_.x>0)_.x--;else if(_.x===0&&_.y>_.scrollTop&&_.y<=_.scrollBottom&&(!((w=_.lines.get(_.ybase+_.y))===null||w===void 0)&&w.isWrapped)){_.lines.get(_.ybase+_.y).isWrapped=!1,_.y--,_.x=this._bufferService.cols-1;var C=_.lines.get(_.ybase+_.y);C.hasWidth(_.x)&&!C.hasContent(_.x)&&_.x--}this._restrictCursor()},S.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var w=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-w)}},S.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},S.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},S.prototype._restrictCursor=function(w){w===void 0&&(w=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(w,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},S.prototype._setCursor=function(w,_){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=w,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+_):(this._bufferService.buffer.x=w,this._bufferService.buffer.y=_),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},S.prototype._moveCursor=function(w,_){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+w,this._bufferService.buffer.y+_)},S.prototype.cursorUp=function(w){var _=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;_>=0?this._moveCursor(0,-Math.min(_,w.params[0]||1)):this._moveCursor(0,-(w.params[0]||1))},S.prototype.cursorDown=function(w){var _=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;_>=0?this._moveCursor(0,Math.min(_,w.params[0]||1)):this._moveCursor(0,w.params[0]||1)},S.prototype.cursorForward=function(w){this._moveCursor(w.params[0]||1,0)},S.prototype.cursorBackward=function(w){this._moveCursor(-(w.params[0]||1),0)},S.prototype.cursorNextLine=function(w){this.cursorDown(w),this._bufferService.buffer.x=0},S.prototype.cursorPrecedingLine=function(w){this.cursorUp(w),this._bufferService.buffer.x=0},S.prototype.cursorCharAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},S.prototype.cursorPosition=function(w){this._setCursor(w.length>=2?(w.params[1]||1)-1:0,(w.params[0]||1)-1)},S.prototype.charPosAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},S.prototype.hPositionRelative=function(w){this._moveCursor(w.params[0]||1,0)},S.prototype.linePosAbsolute=function(w){this._setCursor(this._bufferService.buffer.x,(w.params[0]||1)-1)},S.prototype.vPositionRelative=function(w){this._moveCursor(0,w.params[0]||1)},S.prototype.hVPosition=function(w){this.cursorPosition(w)},S.prototype.tabClear=function(w){var _=w.params[0];_===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:_===3&&(this._bufferService.buffer.tabs={})},S.prototype.cursorForwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var _=w.params[0]||1;_--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},S.prototype.cursorBackwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var _=w.params[0]||1,C=this._bufferService.buffer;_--;)C.x=C.prevStop()},S.prototype._eraseInBufferLine=function(w,_,C,E){E===void 0&&(E=!1);var T=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);T.replaceCells(_,C,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),E&&(T.isWrapped=!1)},S.prototype._resetBufferLine=function(w){var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);_.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),_.isWrapped=!1},S.prototype.eraseInDisplay=function(w){var _;switch(this._restrictCursor(),w.params[0]){case 0:for(_=this._bufferService.buffer.y,this._dirtyRowService.markDirty(_),this._eraseInBufferLine(_++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);_<this._bufferService.rows;_++)this._resetBufferLine(_);this._dirtyRowService.markDirty(_);break;case 1:for(_=this._bufferService.buffer.y,this._dirtyRowService.markDirty(_),this._eraseInBufferLine(_,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(_+1).isWrapped=!1);_--;)this._resetBufferLine(_);this._dirtyRowService.markDirty(0);break;case 2:for(_=this._bufferService.rows,this._dirtyRowService.markDirty(_-1);_--;)this._resetBufferLine(_);this._dirtyRowService.markDirty(0);break;case 3:var C=this._bufferService.buffer.lines.length-this._bufferService.rows;C>0&&(this._bufferService.buffer.lines.trimStart(C),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-C,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-C,0),this._onScroll.fire(0))}},S.prototype.eraseInLine=function(w){switch(this._restrictCursor(),w.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},S.prototype.insertLines=function(w){this._restrictCursor();var _=w.params[0]||1,C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var E=C.ybase+C.y,T=this._bufferService.rows-1-C.scrollBottom,R=this._bufferService.rows-1+C.ybase-T+1;_--;)C.lines.splice(R-1,1),C.lines.splice(E,0,C.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(C.y,C.scrollBottom),C.x=0}},S.prototype.deleteLines=function(w){this._restrictCursor();var _=w.params[0]||1,C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){var E,T=C.ybase+C.y;for(E=this._bufferService.rows-1-C.scrollBottom,E=this._bufferService.rows-1+C.ybase-E;_--;)C.lines.splice(T,1),C.lines.splice(E,0,C.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(C.y,C.scrollBottom),C.x=0}},S.prototype.insertChars=function(w){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.insertCells(this._bufferService.buffer.x,w.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},S.prototype.deleteChars=function(w){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.deleteCells(this._bufferService.buffer.x,w.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},S.prototype.scrollUp=function(w){for(var _=w.params[0]||1,C=this._bufferService.buffer;_--;)C.lines.splice(C.ybase+C.scrollTop,1),C.lines.splice(C.ybase+C.scrollBottom,0,C.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)},S.prototype.scrollDown=function(w){for(var _=w.params[0]||1,C=this._bufferService.buffer;_--;)C.lines.splice(C.ybase+C.scrollBottom,1),C.lines.splice(C.ybase+C.scrollTop,0,C.getBlankLine(i.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)},S.prototype.scrollLeft=function(w){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var C=w.params[0]||1,E=_.scrollTop;E<=_.scrollBottom;++E){var T=_.lines.get(_.ybase+E);T.deleteCells(0,C,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),T.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},S.prototype.scrollRight=function(w){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var C=w.params[0]||1,E=_.scrollTop;E<=_.scrollBottom;++E){var T=_.lines.get(_.ybase+E);T.insertCells(0,C,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),T.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},S.prototype.insertColumns=function(w){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var C=w.params[0]||1,E=_.scrollTop;E<=_.scrollBottom;++E){var T=this._bufferService.buffer.lines.get(_.ybase+E);T.insertCells(_.x,C,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),T.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},S.prototype.deleteColumns=function(w){var _=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var C=w.params[0]||1,E=_.scrollTop;E<=_.scrollBottom;++E){var T=_.lines.get(_.ybase+E);T.deleteCells(_.x,C,_.getNullCell(this._eraseAttrData()),this._eraseAttrData()),T.isWrapped=!1}this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)}},S.prototype.eraseChars=function(w){this._restrictCursor();var _=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);_&&(_.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(w.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},S.prototype.repeatPrecedingCharacter=function(w){if(this._parser.precedingCodepoint){for(var _=w.params[0]||1,C=new Uint32Array(_),E=0;E<_;++E)C[E]=this._parser.precedingCodepoint;this.print(C,0,C.length)}},S.prototype.sendDeviceAttributesPrimary=function(w){w.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(v.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(v.C0.ESC+"[?6c"))},S.prototype.sendDeviceAttributesSecondary=function(w){w.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(v.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(v.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(w.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(v.C0.ESC+"[>83;40003;0c"))},S.prototype._is=function(w){return(this._optionsService.options.termName+"").indexOf(w)===0},S.prototype.setMode=function(w){for(var _=0;_<w.length;_++)switch(w.params[_]){case 4:this._coreService.modes.insertMode=!0}},S.prototype.setModePrivate=function(w){for(var _=0;_<w.length;_++)switch(w.params[_]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,c.DEFAULT_CHARSET),this._charsetService.setgCharset(1,c.DEFAULT_CHARSET),this._charsetService.setgCharset(2,c.DEFAULT_CHARSET),this._charsetService.setgCharset(3,c.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},S.prototype.resetMode=function(w){for(var _=0;_<w.length;_++)switch(w.params[_]){case 4:this._coreService.modes.insertMode=!1}},S.prototype.resetModePrivate=function(w){for(var _=0;_<w.length;_++)switch(w.params[_]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),w.params[_]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},S.prototype._updateAttrColor=function(w,_,C,E,T){return _===2?(w|=50331648,w&=-16777216,w|=s.AttributeData.fromColorRGB([C,E,T])):_===5&&(w&=-50331904,w|=33554432|255&C),w},S.prototype._extractColor=function(w,_,C){var E=[0,0,-1,0,0,0],T=0,R=0;do{if(E[R+T]=w.params[_+R],w.hasSubParams(_+R)){var k=w.getSubParams(_+R),P=0;do E[1]===5&&(T=1),E[R+P+1+T]=k[P];while(++P<k.length&&P+R+1+T<E.length);break}if(E[1]===5&&R+T>=2||E[1]===2&&R+T>=5)break;E[1]&&(T=1)}while(++R+_<w.length&&R+T<E.length);for(P=2;P<E.length;++P)E[P]===-1&&(E[P]=0);switch(E[0]){case 38:C.fg=this._updateAttrColor(C.fg,E[1],E[3],E[4],E[5]);break;case 48:C.bg=this._updateAttrColor(C.bg,E[1],E[3],E[4],E[5]);break;case 58:C.extended=C.extended.clone(),C.extended.underlineColor=this._updateAttrColor(C.extended.underlineColor,E[1],E[3],E[4],E[5])}return R},S.prototype._processUnderline=function(w,_){_.extended=_.extended.clone(),(!~w||w>5)&&(w=1),_.extended.underlineStyle=w,_.fg|=268435456,w===0&&(_.fg&=-268435457),_.updateExtended()},S.prototype.charAttributes=function(w){if(w.length===1&&w.params[0]===0)return this._curAttrData.fg=i.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=i.DEFAULT_ATTR_DATA.bg);for(var _,C=w.length,E=this._curAttrData,T=0;T<C;T++)(_=w.params[T])>=30&&_<=37?(E.fg&=-50331904,E.fg|=16777216|_-30):_>=40&&_<=47?(E.bg&=-50331904,E.bg|=16777216|_-40):_>=90&&_<=97?(E.fg&=-50331904,E.fg|=16777224|_-90):_>=100&&_<=107?(E.bg&=-50331904,E.bg|=16777224|_-100):_===0?(E.fg=i.DEFAULT_ATTR_DATA.fg,E.bg=i.DEFAULT_ATTR_DATA.bg):_===1?E.fg|=134217728:_===3?E.bg|=67108864:_===4?(E.fg|=268435456,this._processUnderline(w.hasSubParams(T)?w.getSubParams(T)[0]:1,E)):_===5?E.fg|=536870912:_===7?E.fg|=67108864:_===8?E.fg|=1073741824:_===2?E.bg|=134217728:_===21?this._processUnderline(2,E):_===22?(E.fg&=-134217729,E.bg&=-134217729):_===23?E.bg&=-67108865:_===24?E.fg&=-268435457:_===25?E.fg&=-536870913:_===27?E.fg&=-67108865:_===28?E.fg&=-1073741825:_===39?(E.fg&=-67108864,E.fg|=16777215&i.DEFAULT_ATTR_DATA.fg):_===49?(E.bg&=-67108864,E.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):_===38||_===48||_===58?T+=this._extractColor(w,T,E):_===59?(E.extended=E.extended.clone(),E.extended.underlineColor=-1,E.updateExtended()):_===100?(E.fg&=-67108864,E.fg|=16777215&i.DEFAULT_ATTR_DATA.fg,E.bg&=-67108864,E.bg|=16777215&i.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",_)},S.prototype.deviceStatus=function(w){switch(w.params[0]){case 5:this._coreService.triggerDataEvent(v.C0.ESC+"[0n");break;case 6:var _=this._bufferService.buffer.y+1,C=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(v.C0.ESC+"["+_+";"+C+"R")}},S.prototype.deviceStatusPrivate=function(w){switch(w.params[0]){case 6:var _=this._bufferService.buffer.y+1,C=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(v.C0.ESC+"[?"+_+";"+C+"R")}},S.prototype.softReset=function(w){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=i.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},S.prototype.setCursorStyle=function(w){var _=w.params[0]||1;switch(_){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var C=_%2==1;this._optionsService.options.cursorBlink=C},S.prototype.setScrollRegion=function(w){var _,C=w.params[0]||1;(w.length<2||(_=w.params[1])>this._bufferService.rows||_===0)&&(_=this._bufferService.rows),_>C&&(this._bufferService.buffer.scrollTop=C-1,this._bufferService.buffer.scrollBottom=_-1,this._setCursor(0,0))},S.prototype.windowOptions=function(w){if(y(w.params[0],this._optionsService.options.windowOptions)){var _=w.length>1?w.params[1]:0;switch(w.params[0]){case 14:_!==2&&this._onRequestWindowsOptionsReport.fire(g.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(g.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(v.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:_!==0&&_!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),_!==0&&_!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:_!==0&&_!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),_!==0&&_!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},S.prototype.saveCursor=function(w){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},S.prototype.restoreCursor=function(w){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},S.prototype.setTitle=function(w){this._windowTitle=w,this._onTitleChange.fire(w)},S.prototype.setIconName=function(w){this._iconName=w},S.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},S.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},S.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},S.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,c.DEFAULT_CHARSET)},S.prototype.selectCharset=function(w){w.length===2?w[0]!=="/"&&this._charsetService.setgCharset(h[w[0]],c.CHARSETS[w[1]]||c.DEFAULT_CHARSET):this.selectDefaultCharset()},S.prototype.index=function(){this._restrictCursor();var w=this._bufferService.buffer;this._bufferService.buffer.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.y=this._bufferService.rows-1),this._restrictCursor()},S.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},S.prototype.reverseIndex=function(){this._restrictCursor();var w=this._bufferService.buffer;if(w.y===w.scrollTop){var _=w.scrollBottom-w.scrollTop;w.lines.shiftElements(w.ybase+w.y,_,1),w.lines.set(w.ybase+w.y,w.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}else w.y--,this._restrictCursor()},S.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},S.prototype.reset=function(){this._curAttrData=i.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=i.DEFAULT_ATTR_DATA.clone()},S.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},S.prototype.setgLevel=function(w){this._charsetService.setgLevel(w)},S.prototype.screenAlignmentPattern=function(){var w=new n.CellData;w.content=1<<22|69,w.fg=this._curAttrData.fg,w.bg=this._curAttrData.bg;var _=this._bufferService.buffer;this._setCursor(0,0);for(var C=0;C<this._bufferService.rows;++C){var E=_.ybase+_.y+C,T=_.lines.get(E);T&&(T.fill(w),T.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},S}(o.Disposable);A.InputHandler=b},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DEFAULT_CHARSET=A.CHARSETS=void 0,A.CHARSETS={},A.DEFAULT_CHARSET=A.CHARSETS.B,A.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},A.CHARSETS.A={"#":"\xA3"},A.CHARSETS.B=void 0,A.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},A.CHARSETS.C=A.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},A.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},A.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},A.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},A.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},A.CHARSETS.E=A.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},A.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},A.CHARSETS.H=A.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},A.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Params=void 0;var z=function(){function e(g,v){if(g===void 0&&(g=32),v===void 0&&(v=32),this.maxLength=g,this.maxSubParamsLength=v,v>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(g),this.length=0,this._subParams=new Int32Array(v),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(g),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(g){var v=new e;if(!g.length)return v;for(var c=g[0]instanceof Array?1:0;c<g.length;++c){var a=g[c];if(a instanceof Array)for(var o=0;o<a.length;++o)v.addSubParam(a[o]);else v.addParam(a)}return v},e.prototype.clone=function(){var g=new e(this.maxLength,this.maxSubParamsLength);return g.params.set(this.params),g.length=this.length,g._subParams.set(this._subParams),g._subParamsLength=this._subParamsLength,g._subParamsIdx.set(this._subParamsIdx),g._rejectDigits=this._rejectDigits,g._rejectSubDigits=this._rejectSubDigits,g._digitIsSub=this._digitIsSub,g},e.prototype.toArray=function(){for(var g=[],v=0;v<this.length;++v){g.push(this.params[v]);var c=this._subParamsIdx[v]>>8,a=255&this._subParamsIdx[v];a-c>0&&g.push(Array.prototype.slice.call(this._subParams,c,a))}return g},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(g){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(g<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=g>2147483647?2147483647:g}},e.prototype.addSubParam=function(g){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(g<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=g>2147483647?2147483647:g,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(g){return(255&this._subParamsIdx[g])-(this._subParamsIdx[g]>>8)>0},e.prototype.getSubParams=function(g){var v=this._subParamsIdx[g]>>8,c=255&this._subParamsIdx[g];return c-v>0?this._subParams.subarray(v,c):null},e.prototype.getSubParamsAll=function(){for(var g={},v=0;v<this.length;++v){var c=this._subParamsIdx[v]>>8,a=255&this._subParamsIdx[v];a-c>0&&(g[v]=this._subParams.slice(c,a))}return g},e.prototype.addDigit=function(g){var v;if(!(this._rejectDigits||!(v=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var c=this._digitIsSub?this._subParams:this.params,a=c[v-1];c[v-1]=~a?Math.min(10*a+g,2147483647):g}},e}();A.Params=z},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.OscHandler=A.OscParser=void 0;var z=D(23),e=D(8),g=function(){function c(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return c.prototype.addHandler=function(a,o){this._handlers[a]===void 0&&(this._handlers[a]=[]);var l=this._handlers[a];return l.push(o),{dispose:function(){var u=l.indexOf(o);u!==-1&&l.splice(u,1)}}},c.prototype.setHandler=function(a,o){this._handlers[a]=[o]},c.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},c.prototype.setHandlerFallback=function(a){this._handlerFb=a},c.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},c.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},c.prototype._start=function(){var a=this._handlers[this._id];if(a)for(var o=a.length-1;o>=0;o--)a[o].start();else this._handlerFb(this._id,"START")},c.prototype._put=function(a,o,l){var u=this._handlers[this._id];if(u)for(var i=u.length-1;i>=0;i--)u[i].put(a,o,l);else this._handlerFb(this._id,"PUT",e.utf32ToString(a,o,l))},c.prototype._end=function(a){var o=this._handlers[this._id];if(o){for(var l=o.length-1;l>=0&&o[l].end(a)===!1;l--);for(l--;l>=0;l--)o[l].end(!1)}else this._handlerFb(this._id,"END",a)},c.prototype.start=function(){this.reset(),this._id=-1,this._state=1},c.prototype.put=function(a,o,l){if(this._state!==3){if(this._state===1)for(;o<l;){var u=a[o++];if(u===59){this._state=2,this._start();break}if(u<48||57<u)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+u-48}this._state===2&&l-o>0&&this._put(a,o,l)}},c.prototype.end=function(a){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(a)),this._id=-1,this._state=0)},c}();A.OscParser=g;var v=function(){function c(a){this._handler=a,this._data="",this._hitLimit=!1}return c.prototype.start=function(){this._data="",this._hitLimit=!1},c.prototype.put=function(a,o,l){this._hitLimit||(this._data+=e.utf32ToString(a,o,l),this._data.length>z.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(a){var o;return this._hitLimit?o=!1:a&&(o=this._handler(this._data)),this._data="",this._hitLimit=!1,o},c}();A.OscHandler=v},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PAYLOAD_LIMIT=void 0,A.PAYLOAD_LIMIT=1e7},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DcsHandler=A.DcsParser=void 0;var z=D(8),e=D(21),g=D(23),v=[],c=function(){function o(){this._handlers=Object.create(null),this._active=v,this._ident=0,this._handlerFb=function(){}}return o.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},o.prototype.addHandler=function(l,u){this._handlers[l]===void 0&&(this._handlers[l]=[]);var i=this._handlers[l];return i.push(u),{dispose:function(){var r=i.indexOf(u);r!==-1&&i.splice(r,1)}}},o.prototype.setHandler=function(l,u){this._handlers[l]=[u]},o.prototype.clearHandler=function(l){this._handlers[l]&&delete this._handlers[l]},o.prototype.setHandlerFallback=function(l){this._handlerFb=l},o.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=v,this._ident=0},o.prototype.hook=function(l,u){if(this.reset(),this._ident=l,this._active=this._handlers[l]||v,this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].hook(u);else this._handlerFb(this._ident,"HOOK",u)},o.prototype.put=function(l,u,i){if(this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].put(l,u,i);else this._handlerFb(this._ident,"PUT",z.utf32ToString(l,u,i))},o.prototype.unhook=function(l){if(this._active.length){for(var u=this._active.length-1;u>=0&&this._active[u].unhook(l)===!1;u--);for(u--;u>=0;u--)this._active[u].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",l);this._active=v,this._ident=0},o}();A.DcsParser=c;var a=function(){function o(l){this._handler=l,this._data="",this._hitLimit=!1}return o.prototype.hook=function(l){this._params=l.clone(),this._data="",this._hitLimit=!1},o.prototype.put=function(l,u,i){this._hitLimit||(this._data+=z.utf32ToString(l,u,i),this._data.length>g.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},o.prototype.unhook=function(l){var u;return this._hitLimit?u=!1:l&&(u=this._handler(this._data,this._params||new e.Params)),this._params=void 0,this._data="",this._hitLimit=!1,u},o}();A.DcsHandler=a},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.removeTerminalFromCache=A.acquireCharAtlas=void 0;var z=D(26),e=D(43),g=[];A.acquireCharAtlas=function(v,c,a,o,l){for(var u=z.generateConfig(o,l,v,a),i=0;i<g.length;i++){var r=(t=g[i]).ownedBy.indexOf(c);if(r>=0){if(z.configEquals(t.config,u))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),g.splice(i,1)):t.ownedBy.splice(r,1);break}}for(i=0;i<g.length;i++){var t=g[i];if(z.configEquals(t.config,u))return t.ownedBy.push(c),t.atlas}var n={atlas:new e.DynamicCharAtlas(document,u),config:u,ownedBy:[c]};return g.push(n),n.atlas},A.removeTerminalFromCache=function(v){for(var c=0;c<g.length;c++){var a=g[c].ownedBy.indexOf(v);if(a!==-1){g[c].ownedBy.length===1?(g[c].atlas.dispose(),g.splice(c,1)):g[c].ownedBy.splice(a,1);break}}}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.is256Color=A.configEquals=A.generateConfig=void 0;var z=D(3);A.generateConfig=function(e,g,v,c){var a={foreground:c.foreground,background:c.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:c.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:e,scaledCharHeight:g,fontFamily:v.fontFamily,fontSize:v.fontSize,fontWeight:v.fontWeight,fontWeightBold:v.fontWeightBold,allowTransparency:v.allowTransparency,colors:a}},A.configEquals=function(e,g){for(var v=0;v<e.colors.ansi.length;v++)if(e.colors.ansi[v].rgba!==g.colors.ansi[v].rgba)return!1;return e.devicePixelRatio===g.devicePixelRatio&&e.fontFamily===g.fontFamily&&e.fontSize===g.fontSize&&e.fontWeight===g.fontWeight&&e.fontWeightBold===g.fontWeightBold&&e.allowTransparency===g.allowTransparency&&e.scaledCharWidth===g.scaledCharWidth&&e.scaledCharHeight===g.scaledCharHeight&&e.colors.foreground===g.colors.foreground&&e.colors.background===g.colors.background},A.is256Color=function(e){return e<z.DEFAULT_COLOR}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ColorManager=A.DEFAULT_ANSI_COLORS=void 0;var z=D(10),e=D(45),g=z.css.toColor("#ffffff"),v=z.css.toColor("#000000"),c=z.css.toColor("#ffffff"),a=z.css.toColor("#000000"),o={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};A.DEFAULT_ANSI_COLORS=function(){for(var u=[z.css.toColor("#2e3436"),z.css.toColor("#cc0000"),z.css.toColor("#4e9a06"),z.css.toColor("#c4a000"),z.css.toColor("#3465a4"),z.css.toColor("#75507b"),z.css.toColor("#06989a"),z.css.toColor("#d3d7cf"),z.css.toColor("#555753"),z.css.toColor("#ef2929"),z.css.toColor("#8ae234"),z.css.toColor("#fce94f"),z.css.toColor("#729fcf"),z.css.toColor("#ad7fa8"),z.css.toColor("#34e2e2"),z.css.toColor("#eeeeec")],i=[0,95,135,175,215,255],r=0;r<216;r++){var t=i[r/36%6|0],n=i[r/6%6|0],s=i[r%6];u.push({css:z.channels.toCss(t,n,s),rgba:z.channels.toRgba(t,n,s)})}for(r=0;r<24;r++){var d=8+10*r;u.push({css:z.channels.toCss(d,d,d),rgba:z.channels.toRgba(d,d,d)})}return u}();var l=function(){function u(i,r){this.allowTransparency=r;var t=i.createElement("canvas");t.width=1,t.height=1;var n=t.getContext("2d");if(!n)throw new Error("Could not get rendering context");this._ctx=n,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new e.ColorContrastCache,this.colors={foreground:g,background:v,cursor:c,cursorAccent:a,selectionTransparent:o,selectionOpaque:z.color.blend(v,o),ansi:A.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return u.prototype.onOptionsChange=function(i){i==="minimumContrastRatio"&&this._contrastCache.clear()},u.prototype.setTheme=function(i){i===void 0&&(i={}),this.colors.foreground=this._parseColor(i.foreground,g),this.colors.background=this._parseColor(i.background,v),this.colors.cursor=this._parseColor(i.cursor,c,!0),this.colors.cursorAccent=this._parseColor(i.cursorAccent,a,!0),this.colors.selectionTransparent=this._parseColor(i.selection,o,!0),this.colors.selectionOpaque=z.color.blend(this.colors.background,this.colors.selectionTransparent),z.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=z.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(i.black,A.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(i.red,A.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(i.green,A.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(i.yellow,A.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(i.blue,A.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(i.magenta,A.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(i.cyan,A.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(i.white,A.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(i.brightBlack,A.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(i.brightRed,A.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(i.brightGreen,A.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(i.brightYellow,A.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(i.brightBlue,A.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(i.brightMagenta,A.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(i.brightCyan,A.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(i.brightWhite,A.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},u.prototype._parseColor=function(i,r,t){if(t===void 0&&(t=this.allowTransparency),i===void 0)return r;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=i,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+i+" is invalid using fallback "+r.css),r;this._ctx.fillRect(0,0,1,1);var n=this._ctx.getImageData(0,0,1,1).data;if(n[3]!==255){if(!t)return console.warn("Color: "+i+" is using transparency, but allowTransparency is false. Using fallback "+r.css+"."),r;var s=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(b){return Number(b)}),d=s[0],m=s[1],h=s[2],y=s[3],p=Math.round(255*y);return{rgba:z.channels.toRgba(d,m,h,p),css:i}}return{css:this._ctx.fillStyle,rgba:z.channels.toRgba(n[0],n[1],n[2],n[3])}},u}();A.ColorManager=l},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.throwIfFalsy=void 0,A.throwIfFalsy=function(z){if(!z)throw new Error("value must not be falsy");return z}},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(l,u){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var t in r)r.hasOwnProperty(t)&&(i[t]=r[t])})(l,u)},function(l,u){function i(){this.constructor=l}z(l,u),l.prototype=u===null?Object.create(u):(i.prototype=u.prototype,new i)});Object.defineProperty(A,"__esModule",{value:!0}),A.CharacterJoinerRegistry=A.JoinedCellData=void 0;var g=D(6),v=D(3),c=D(4),a=function(l){function u(i,r,t){var n=l.call(this)||this;return n.content=0,n.combinedData="",n.fg=i.fg,n.bg=i.bg,n.combinedData=r,n._width=t,n}return e(u,l),u.prototype.isCombined=function(){return 2097152},u.prototype.getWidth=function(){return this._width},u.prototype.getChars=function(){return this.combinedData},u.prototype.getCode=function(){return 2097151},u.prototype.setFromCharData=function(i){throw new Error("not implemented")},u.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},u}(g.AttributeData);A.JoinedCellData=a;var o=function(){function l(u){this._bufferService=u,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new c.CellData}return l.prototype.registerCharacterJoiner=function(u){var i={id:this._nextCharacterJoinerId++,handler:u};return this._characterJoiners.push(i),i.id},l.prototype.deregisterCharacterJoiner=function(u){for(var i=0;i<this._characterJoiners.length;i++)if(this._characterJoiners[i].id===u)return this._characterJoiners.splice(i,1),!0;return!1},l.prototype.getJoinedCharacters=function(u){if(this._characterJoiners.length===0)return[];var i=this._bufferService.buffer.lines.get(u);if(!i||i.length===0)return[];for(var r=[],t=i.translateToString(!0),n=0,s=0,d=0,m=i.getFg(0),h=i.getBg(0),y=0;y<i.getTrimmedLength();y++)if(i.loadCell(y,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==m||this._workCell.bg!==h){if(y-n>1)for(var p=this._getJoinedRanges(t,d,s,i,n),b=0;b<p.length;b++)r.push(p[b]);n=y,d=s,m=this._workCell.fg,h=this._workCell.bg}s+=this._workCell.getChars().length||v.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-n>1)for(p=this._getJoinedRanges(t,d,s,i,n),b=0;b<p.length;b++)r.push(p[b]);return r},l.prototype._getJoinedRanges=function(u,i,r,t,n){for(var s=u.substring(i,r),d=this._characterJoiners[0].handler(s),m=1;m<this._characterJoiners.length;m++)for(var h=this._characterJoiners[m].handler(s),y=0;y<h.length;y++)l._mergeRanges(d,h[y]);return this._stringRangesToCellRanges(d,t,n),d},l.prototype._stringRangesToCellRanges=function(u,i,r){var t=0,n=!1,s=0,d=u[t];if(d){for(var m=r;m<this._bufferService.cols;m++){var h=i.getWidth(m),y=i.getString(m).length||v.WHITESPACE_CELL_CHAR.length;if(h!==0){if(!n&&d[0]<=s&&(d[0]=m,n=!0),d[1]<=s){if(d[1]=m,!(d=u[++t]))break;d[0]<=s?(d[0]=m,n=!0):n=!1}s+=y}}d&&(d[1]=this._bufferService.cols)}},l._mergeRanges=function(u,i){for(var r=!1,t=0;t<u.length;t++){var n=u[t];if(r){if(i[1]<=n[0])return u[t-1][1]=i[1],u;if(i[1]<=n[1])return u[t-1][1]=Math.max(i[1],n[1]),u.splice(t,1),u;u.splice(t,1),t--}else{if(i[1]<=n[0])return u.splice(t,0,i),u;if(i[1]<=n[1])return n[0]=Math.min(i[0],n[0]),u;i[0]<n[1]&&(n[0]=Math.min(i[0],n[0]),r=!0)}}return r?u[u.length-1][1]=i[1]:u.push(i),u},l}();A.CharacterJoinerRegistry=o},function(be,A,D){"use strict";function z(e,g){var v=g.getBoundingClientRect();return[e.clientX-v.left,e.clientY-v.top]}Object.defineProperty(A,"__esModule",{value:!0}),A.getRawByteCoords=A.getCoords=A.getCoordsRelativeToElement=void 0,A.getCoordsRelativeToElement=z,A.getCoords=function(e,g,v,c,a,o,l,u){if(a){var i=z(e,g);if(i)return i[0]=Math.ceil((i[0]+(u?o/2:0))/o),i[1]=Math.ceil(i[1]/l),i[0]=Math.min(Math.max(i[0],1),v+(u?1:0)),i[1]=Math.min(Math.max(i[1],1),c),i}},A.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.RenderDebouncer=void 0;var z=function(){function e(g){this._renderCallback=g}return e.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.refresh=function(g,v,c){var a=this;this._rowCount=c,g=g!==void 0?g:0,v=v!==void 0?v:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,g):g,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,v):v,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return a._innerRefresh()}))},e.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var g=Math.max(this._rowStart,0),v=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(g,v)}},e}();A.RenderDebouncer=z},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(v,c){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var l in o)o.hasOwnProperty(l)&&(a[l]=o[l])})(v,c)},function(v,c){function a(){this.constructor=v}z(v,c),v.prototype=c===null?Object.create(c):(a.prototype=c.prototype,new a)});Object.defineProperty(A,"__esModule",{value:!0}),A.ScreenDprMonitor=void 0;var g=function(v){function c(){var a=v!==null&&v.apply(this,arguments)||this;return a._currentDevicePixelRatio=window.devicePixelRatio,a}return e(c,v),c.prototype.setListener=function(a){var o=this;this._listener&&this.clearListener(),this._listener=a,this._outerListener=function(){o._listener&&(o._listener(window.devicePixelRatio,o._currentDevicePixelRatio),o._updateDpr())},this._updateDpr()},c.prototype.dispose=function(){v.prototype.dispose.call(this),this.clearListener()},c.prototype._updateDpr=function(){var a;this._outerListener&&((a=this._resolutionMediaMatchList)===null||a===void 0||a.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},c.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},c}(D(2).Disposable);A.ScreenDprMonitor=g},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.clone=void 0,A.clone=function z(e,g){if(g===void 0&&(g=5),typeof e!="object")return e;var v=Array.isArray(e)?[]:{};for(var c in e)v[c]=g<=1?e[c]:e[c]?z(e[c],g-1):e[c];return v}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Terminal=void 0;var z=D(4),e=D(35),g=D(18),v=D(0),c=D(83),a=function(){function t(n){this._core=new e.Terminal(n),this._addonManager=new c.AddonManager}return t.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new i(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new r(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffer",{get:function(){return this._checkProposedApi(),new l(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),t.prototype.blur=function(){this._core.blur()},t.prototype.focus=function(){this._core.focus()},t.prototype.resize=function(n,s){this._verifyIntegers(n,s),this._core.resize(n,s)},t.prototype.open=function(n){this._core.open(n)},t.prototype.attachCustomKeyEventHandler=function(n){this._core.attachCustomKeyEventHandler(n)},t.prototype.registerLinkMatcher=function(n,s,d){return this._checkProposedApi(),this._core.registerLinkMatcher(n,s,d)},t.prototype.deregisterLinkMatcher=function(n){this._checkProposedApi(),this._core.deregisterLinkMatcher(n)},t.prototype.registerLinkProvider=function(n){return this._checkProposedApi(),this._core.registerLinkProvider(n)},t.prototype.registerCharacterJoiner=function(n){return this._checkProposedApi(),this._core.registerCharacterJoiner(n)},t.prototype.deregisterCharacterJoiner=function(n){this._checkProposedApi(),this._core.deregisterCharacterJoiner(n)},t.prototype.registerMarker=function(n){return this._checkProposedApi(),this._verifyIntegers(n),this._core.addMarker(n)},t.prototype.addMarker=function(n){return this.registerMarker(n)},t.prototype.hasSelection=function(){return this._core.hasSelection()},t.prototype.select=function(n,s,d){this._verifyIntegers(n,s,d),this._core.select(n,s,d)},t.prototype.getSelection=function(){return this._core.getSelection()},t.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},t.prototype.clearSelection=function(){this._core.clearSelection()},t.prototype.selectAll=function(){this._core.selectAll()},t.prototype.selectLines=function(n,s){this._verifyIntegers(n,s),this._core.selectLines(n,s)},t.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},t.prototype.scrollLines=function(n){this._verifyIntegers(n),this._core.scrollLines(n)},t.prototype.scrollPages=function(n){this._verifyIntegers(n),this._core.scrollPages(n)},t.prototype.scrollToTop=function(){this._core.scrollToTop()},t.prototype.scrollToBottom=function(){this._core.scrollToBottom()},t.prototype.scrollToLine=function(n){this._verifyIntegers(n),this._core.scrollToLine(n)},t.prototype.clear=function(){this._core.clear()},t.prototype.write=function(n,s){this._core.write(n,s)},t.prototype.writeUtf8=function(n,s){this._core.write(n,s)},t.prototype.writeln=function(n,s){this._core.write(n),this._core.write(`\r
`,s)},t.prototype.paste=function(n){this._core.paste(n)},t.prototype.getOption=function(n){return this._core.optionsService.getOption(n)},t.prototype.setOption=function(n,s){this._core.optionsService.setOption(n,s)},t.prototype.refresh=function(n,s){this._verifyIntegers(n,s),this._core.refresh(n,s)},t.prototype.reset=function(){this._core.reset()},t.prototype.loadAddon=function(n){return this._addonManager.loadAddon(this,n)},Object.defineProperty(t,"strings",{get:function(){return g},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];for(var d=0,m=n;d<m.length;d++){var h=m[d];if(h===1/0||isNaN(h)||h%1!=0)throw new Error("This API only accepts integers")}},t}();A.Terminal=a;var o=function(){function t(n,s){this._buffer=n,this.type=s}return t.prototype.init=function(n){return this._buffer=n,this},Object.defineProperty(t.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),t.prototype.getLine=function(n){var s=this._buffer.lines.get(n);if(s)return new u(s)},t.prototype.getNullCell=function(){return new z.CellData},t}(),l=function(){function t(n){var s=this;this._buffers=n,this._onBufferChange=new v.EventEmitter,this._normal=new o(this._buffers.normal,"normal"),this._alternate=new o(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return s._onBufferChange.fire(s.active)})}return Object.defineProperty(t.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),t}(),u=function(){function t(n){this._line=n}return Object.defineProperty(t.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),t.prototype.getCell=function(n,s){if(!(n<0||n>=this._line.length))return s?(this._line.loadCell(n,s),s):this._line.loadCell(n,new z.CellData)},t.prototype.translateToString=function(n,s,d){return this._line.translateToString(n,s,d)},t}(),i=function(){function t(n){this._core=n}return t.prototype.registerCsiHandler=function(n,s){return this._core.addCsiHandler(n,function(d){return s(d.toArray())})},t.prototype.addCsiHandler=function(n,s){return this.registerCsiHandler(n,s)},t.prototype.registerDcsHandler=function(n,s){return this._core.addDcsHandler(n,function(d,m){return s(d,m.toArray())})},t.prototype.addDcsHandler=function(n,s){return this.registerDcsHandler(n,s)},t.prototype.registerEscHandler=function(n,s){return this._core.addEscHandler(n,s)},t.prototype.addEscHandler=function(n,s){return this.registerEscHandler(n,s)},t.prototype.registerOscHandler=function(n,s){return this._core.addOscHandler(n,s)},t.prototype.addOscHandler=function(n,s){return this.registerOscHandler(n,s)},t}(),r=function(){function t(n){this._core=n}return t.prototype.register=function(n){this._core.unicodeService.register(n)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(n){this._core.unicodeService.activeVersion=n},enumerable:!1,configurable:!0}),t}()},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(L,O){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,H){N.__proto__=H}||function(N,H){for(var V in H)H.hasOwnProperty(V)&&(N[V]=H[V])})(L,O)},function(L,O){function N(){this.constructor=L}z(L,O),L.prototype=O===null?Object.create(O):(N.prototype=O.prototype,new N)});Object.defineProperty(A,"__esModule",{value:!0}),A.Terminal=void 0;var g=D(36),v=D(37),c=D(38),a=D(12),o=D(19),l=D(40),u=D(50),i=D(51),r=D(11),t=D(7),n=D(18),s=D(54),d=D(55),m=D(56),h=D(57),y=D(59),p=D(0),b=D(16),x=D(27),S=D(60),w=D(5),_=D(61),C=D(62),E=D(63),T=D(64),R=D(65),k=typeof window!="undefined"?window.document:null,P=function(L){function O(N){N===void 0&&(N={});var H=L.call(this,N)||this;return H.browser=r,H._keyDownHandled=!1,H._onCursorMove=new p.EventEmitter,H._onKey=new p.EventEmitter,H._onRender=new p.EventEmitter,H._onSelectionChange=new p.EventEmitter,H._onTitleChange=new p.EventEmitter,H._onFocus=new p.EventEmitter,H._onBlur=new p.EventEmitter,H._onA11yCharEmitter=new p.EventEmitter,H._onA11yTabEmitter=new p.EventEmitter,H._setup(),H.linkifier=H._instantiationService.createInstance(u.Linkifier),H.linkifier2=H.register(H._instantiationService.createInstance(E.Linkifier2)),H.register(H._inputHandler.onRequestBell(function(){return H.bell()})),H.register(H._inputHandler.onRequestRefreshRows(function(V,B){return H.refresh(V,B)})),H.register(H._inputHandler.onRequestReset(function(){return H.reset()})),H.register(H._inputHandler.onRequestScroll(function(V,B){return H.scroll(V,B||void 0)})),H.register(H._inputHandler.onRequestWindowsOptionsReport(function(V){return H._reportWindowsOptions(V)})),H.register(p.forwardEvent(H._inputHandler.onCursorMove,H._onCursorMove)),H.register(p.forwardEvent(H._inputHandler.onTitleChange,H._onTitleChange)),H.register(p.forwardEvent(H._inputHandler.onA11yChar,H._onA11yCharEmitter)),H.register(p.forwardEvent(H._inputHandler.onA11yTab,H._onA11yTabEmitter)),H.register(H._bufferService.onResize(function(V){return H._afterResize(V.cols,V.rows)})),H}return e(O,L),Object.defineProperty(O.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),O.prototype.dispose=function(){var N,H,V;this._isDisposed||(L.prototype.dispose.call(this),(N=this._renderService)===null||N===void 0||N.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(V=(H=this.element)===null||H===void 0?void 0:H.parentNode)===null||V===void 0||V.removeChild(this.element))},O.prototype._setup=function(){L.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(O.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),O.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},O.prototype._updateOptions=function(N){var H,V,B,te;switch(L.prototype._updateOptions.call(this,N),N){case"fontFamily":case"fontSize":(H=this._renderService)===null||H===void 0||H.clear(),(V=this._charSizeService)===null||V===void 0||V.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(B=this.viewport)===null||B===void 0||B.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new m.AccessibilityManager(this,this._renderService)):((te=this._accessibilityManager)===null||te===void 0||te.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},O.prototype._onTextAreaFocus=function(N){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[I"),this.updateCursorStyle(N),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},O.prototype.blur=function(){var N;return(N=this.textarea)===null||N===void 0?void 0:N.blur()},O.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},O.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var N=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),H=this._bufferService.buffer.y*N,V=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=V+"px",this.textarea.style.top=H+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=N+"px",this.textarea.style.lineHeight=N+"px",this.textarea.style.zIndex="-5"}},O.prototype._initGlobal=function(){var N=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(V){N.hasSelection()&&c.copyHandler(V,N._selectionService)}));var H=function(V){return c.handlePasteEvent(V,N.textarea,N._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",H)),this.register(t.addDisposableDomListener(this.element,"paste",H)),r.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(V){V.button===2&&c.rightClickHandler(V,N.textarea,N.screenElement,N._selectionService,N.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(V){c.rightClickHandler(V,N.textarea,N.screenElement,N._selectionService,N.options.rightClickSelectsWord)})),r.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(V){V.button===1&&c.moveTextAreaUnderMouseCursor(V,N.textarea,N.screenElement)}))},O.prototype._bindKeys=function(){var N=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(H){return N._keyUp(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(H){return N._keyDown(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(H){return N._keyPress(H)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return N._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(H){return N._compositionHelper.compositionupdate(H)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return N._compositionHelper.compositionend()})),this.register(this.onRender(function(){return N._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(H){return N._queueLinkification(H.start,H.end)}))},O.prototype.open=function(N){var H=this;if(!N)throw new Error("Terminal requires a parent element.");k.body.contains(N)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=N.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),N.appendChild(this.element);var V=k.createDocumentFragment();this._viewportElement=k.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),V.appendChild(this._viewportElement),this._viewportScrollArea=k.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=k.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=k.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),V.appendChild(this.screenElement),this.textarea=k.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",n.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(ee){return H._onTextAreaFocus(ee)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return H._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var B=this._instantiationService.createInstance(T.CoreBrowserService,this.textarea);this._instantiationService.setService(w.ICoreBrowserService,B),this._charSizeService=this._instantiationService.createInstance(_.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(w.ICharSizeService,this._charSizeService),this._compositionView=k.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(g.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(V),this._theme=this.options.theme||this._theme,this._colorManager=new x.ColorManager(k,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(ee){return H._colorManager.onOptionsChange(ee)})),this._colorManager.setTheme(this._theme);var te=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(S.RenderService,te,this.rows,this.screenElement)),this._instantiationService.setService(w.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(ee){return H._onRender.fire(ee)})),this.onResize(function(ee){return H._renderService.resize(ee.cols,ee.rows)}),this._soundService=this._instantiationService.createInstance(s.SoundService),this._instantiationService.setService(w.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(C.MouseService),this._instantiationService.setService(w.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(v.Viewport,function(ee,J){return H.scrollLines(ee,J)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return H.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){H._renderService.onCursorMove(),H._syncTextArea()})),this.register(this.onResize(function(){return H._renderService.onResize(H.cols,H.rows)})),this.register(this.onBlur(function(){return H._renderService.onBlur()})),this.register(this.onFocus(function(){return H._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return H.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(i.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(w.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(ee){return H.scrollLines(ee.amount,ee.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return H._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(ee){return H._renderService.onSelectionChanged(ee.start,ee.end,ee.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(ee){H.textarea.value=ee,H.textarea.focus(),H.textarea.select()})),this.register(this.onScroll(function(){H.viewport.syncScrollArea(),H._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return H._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(d.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return H._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(ee){return H._selectionService.onMouseDown(ee)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new m.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},O.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(l.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(h.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},O.prototype._setTheme=function(N){var H,V,B;this._theme=N,(H=this._colorManager)===null||H===void 0||H.setTheme(N),(V=this._renderService)===null||V===void 0||V.setColors(this._colorManager.colors),(B=this.viewport)===null||B===void 0||B.onThemeChange(this._colorManager.colors)},O.prototype.bindMouse=function(){var N=this,H=this,V=this.element;function B(Z){var X,$,ie=H._mouseService.getRawByteCoords(Z,H.screenElement,H.cols,H.rows);if(!ie)return!1;switch(Z.overrideType||Z.type){case"mousemove":$=32,Z.buttons===void 0?(X=3,Z.button!==void 0&&(X=Z.button<3?Z.button:3)):X=1&Z.buttons?0:4&Z.buttons?1:2&Z.buttons?2:3;break;case"mouseup":$=0,X=Z.button<3?Z.button:3;break;case"mousedown":$=1,X=Z.button<3?Z.button:3;break;case"wheel":Z.deltaY!==0&&($=Z.deltaY<0?0:1),X=4;break;default:return!1}return!($===void 0||X===void 0||X>4)&&H._coreMouseService.triggerMouseEvent({col:ie.x-33,row:ie.y-33,button:X,action:$,ctrl:Z.ctrlKey,alt:Z.altKey,shift:Z.shiftKey})}var te={mouseup:null,wheel:null,mousedrag:null,mousemove:null},ee=function(Z){return B(Z),Z.buttons||(N._document.removeEventListener("mouseup",te.mouseup),te.mousedrag&&N._document.removeEventListener("mousemove",te.mousedrag)),N.cancel(Z)},J=function(Z){return B(Z),Z.preventDefault(),N.cancel(Z)},Q=function(Z){Z.buttons&&B(Z)},re=function(Z){Z.buttons||B(Z)};this.register(this._coreMouseService.onProtocolChange(function(Z){Z?(N.optionsService.options.logLevel==="debug"&&N._logService.debug("Binding to mouse events:",N._coreMouseService.explainEvents(Z)),N.element.classList.add("enable-mouse-events"),N._selectionService.disable()):(N._logService.debug("Unbinding from mouse events."),N.element.classList.remove("enable-mouse-events"),N._selectionService.enable()),8&Z?te.mousemove||(V.addEventListener("mousemove",re),te.mousemove=re):(V.removeEventListener("mousemove",te.mousemove),te.mousemove=null),16&Z?te.wheel||(V.addEventListener("wheel",J,{passive:!1}),te.wheel=J):(V.removeEventListener("wheel",te.wheel),te.wheel=null),2&Z?te.mouseup||(te.mouseup=ee):(N._document.removeEventListener("mouseup",te.mouseup),te.mouseup=null),4&Z?te.mousedrag||(te.mousedrag=Q):(N._document.removeEventListener("mousemove",te.mousedrag),te.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(V,"mousedown",function(Z){if(Z.preventDefault(),N.focus(),N._coreMouseService.areMouseEventsActive&&!N._selectionService.shouldForceSelection(Z))return B(Z),te.mouseup&&N._document.addEventListener("mouseup",te.mouseup),te.mousedrag&&N._document.addEventListener("mousemove",te.mousedrag),N.cancel(Z)})),this.register(t.addDisposableDomListener(V,"wheel",function(Z){if(!te.wheel){if(!N.buffer.hasScrollback){var X=N.viewport.getLinesScrolled(Z);if(X===0)return;for(var $=a.C0.ESC+(N._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Z.deltaY<0?"A":"B"),ie="",de=0;de<Math.abs(X);de++)ie+=$;N._coreService.triggerDataEvent(ie,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(V,"wheel",function(Z){if(!te.wheel)return N.viewport.onWheel(Z)?void 0:N.cancel(Z)},{passive:!1})),this.register(t.addDisposableDomListener(V,"touchstart",function(Z){if(!N._coreMouseService.areMouseEventsActive)return N.viewport.onTouchStart(Z),N.cancel(Z)},{passive:!0})),this.register(t.addDisposableDomListener(V,"touchmove",function(Z){if(!N._coreMouseService.areMouseEventsActive)return N.viewport.onTouchMove(Z)?void 0:N.cancel(Z)},{passive:!1}))},O.prototype.refresh=function(N,H){var V;(V=this._renderService)===null||V===void 0||V.refreshRows(N,H)},O.prototype._queueLinkification=function(N,H){var V;(V=this.linkifier)===null||V===void 0||V.linkifyRows(N,H)},O.prototype.updateCursorStyle=function(N){this._selectionService&&this._selectionService.shouldColumnSelect(N)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},O.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},O.prototype.scrollLines=function(N,H){L.prototype.scrollLines.call(this,N,H),this.refresh(0,this.rows-1)},O.prototype.paste=function(N){c.paste(N,this.textarea,this._coreService)},O.prototype.attachCustomKeyEventHandler=function(N){this._customKeyEventHandler=N},O.prototype.registerLinkMatcher=function(N,H,V){var B=this.linkifier.registerLinkMatcher(N,H,V);return this.refresh(0,this.rows-1),B},O.prototype.deregisterLinkMatcher=function(N){this.linkifier.deregisterLinkMatcher(N)&&this.refresh(0,this.rows-1)},O.prototype.registerLinkProvider=function(N){return this.linkifier2.registerLinkProvider(N)},O.prototype.registerCharacterJoiner=function(N){var H=this._renderService.registerCharacterJoiner(N);return this.refresh(0,this.rows-1),H},O.prototype.deregisterCharacterJoiner=function(N){this._renderService.deregisterCharacterJoiner(N)&&this.refresh(0,this.rows-1)},Object.defineProperty(O.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),O.prototype.addMarker=function(N){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+N)},O.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},O.prototype.select=function(N,H,V){this._selectionService.setSelection(N,H,V)},O.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},O.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},O.prototype.clearSelection=function(){var N;(N=this._selectionService)===null||N===void 0||N.clearSelection()},O.prototype.selectAll=function(){var N;(N=this._selectionService)===null||N===void 0||N.selectAll()},O.prototype.selectLines=function(N,H){var V;(V=this._selectionService)===null||V===void 0||V.selectLines(N,H)},O.prototype._keyDown=function(N){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(N)===!1)return!1;if(!this._compositionHelper.keydown(N))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var H=y.evaluateKeyboardEvent(N,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(N),H.type===3||H.type===2){var V=this.rows-1;return this.scrollLines(H.type===2?-V:V),this.cancel(N,!0)}return H.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,N)||(H.cancel&&this.cancel(N,!0),!H.key||(H.key!==a.C0.ETX&&H.key!==a.C0.CR||(this.textarea.value=""),this._onKey.fire({key:H.key,domEvent:N}),this._showCursor(),this._coreService.triggerDataEvent(H.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(N,!0)))},O.prototype._isThirdLevelShift=function(N,H){var V=N.isMac&&!this.options.macOptionIsMeta&&H.altKey&&!H.ctrlKey&&!H.metaKey||N.isWindows&&H.altKey&&H.ctrlKey&&!H.metaKey;return H.type==="keypress"?V:V&&(!H.keyCode||H.keyCode>47)},O.prototype._keyUp=function(N){this._customKeyEventHandler&&this._customKeyEventHandler(N)===!1||(function(H){return H.keyCode===16||H.keyCode===17||H.keyCode===18}(N)||this.focus(),this.updateCursorStyle(N))},O.prototype._keyPress=function(N){var H;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(N)===!1)return!1;if(this.cancel(N),N.charCode)H=N.charCode;else if(N.which===null||N.which===void 0)H=N.keyCode;else{if(N.which===0||N.charCode===0)return!1;H=N.which}return!(!H||(N.altKey||N.ctrlKey||N.metaKey)&&!this._isThirdLevelShift(this.browser,N))&&(H=String.fromCharCode(H),this._onKey.fire({key:H,domEvent:N}),this._showCursor(),this._coreService.triggerDataEvent(H,!0),!0)},O.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},O.prototype.resize=function(N,H){N!==this.cols||H!==this.rows?L.prototype.resize.call(this,N,H):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},O.prototype._afterResize=function(N,H){var V,B;(V=this._charSizeService)===null||V===void 0||V.measure(),(B=this.viewport)===null||B===void 0||B.syncScrollArea(!0)},O.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var N=1;N<this.rows;N++)this.buffer.lines.push(this.buffer.getBlankLine(b.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},O.prototype.reset=function(){var N,H;this.options.rows=this.rows,this.options.cols=this.cols;var V=this._customKeyEventHandler;this._setup(),L.prototype.reset.call(this),(N=this._selectionService)===null||N===void 0||N.reset(),this._customKeyEventHandler=V,this.refresh(0,this.rows-1),(H=this.viewport)===null||H===void 0||H.syncScrollArea()},O.prototype._reportWindowsOptions=function(N){if(this._renderService)switch(N){case o.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var H=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),V=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[4;"+V+";"+H+"t");break;case o.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var B=this._renderService.dimensions.scaledCellWidth.toFixed(0),te=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[6;"+te+";"+B+"t")}},O.prototype.cancel=function(N,H){if(this.options.cancelEvents||H)return N.preventDefault(),N.stopPropagation(),!1},O.prototype._visualBell=function(){return!1},O.prototype._soundBell=function(){return this.options.bellStyle==="sound"},O}(R.CoreTerminal);A.Terminal=P},function(be,A,D){"use strict";var z=this&&this.__decorate||function(a,o,l,u){var i,r=arguments.length,t=r<3?o:u===null?u=Object.getOwnPropertyDescriptor(o,l):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(a,o,l,u);else for(var n=a.length-1;n>=0;n--)(i=a[n])&&(t=(r<3?i(t):r>3?i(o,l,t):i(o,l))||t);return r>3&&t&&Object.defineProperty(o,l,t),t},e=this&&this.__param||function(a,o){return function(l,u){o(l,u,a)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CompositionHelper=void 0;var g=D(5),v=D(1),c=function(){function a(o,l,u,i,r,t){this._textarea=o,this._compositionView=l,this._bufferService=u,this._optionsService=i,this._charSizeService=r,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(a.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),a.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},a.prototype.compositionupdate=function(o){var l=this;this._compositionView.textContent=o.data,this.updateCompositionElements(),setTimeout(function(){l._compositionPosition.end=l._textarea.value.length},0)},a.prototype.compositionend=function(){this._finalizeComposition(!0)},a.prototype.keydown=function(o){if(this._isComposing||this._isSendingComposition){if(o.keyCode===229||o.keyCode===16||o.keyCode===17||o.keyCode===18)return!1;this._finalizeComposition(!1)}return o.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},a.prototype._finalizeComposition=function(o){var l=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,o){var u={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(l._isSendingComposition){l._isSendingComposition=!1;var r=void 0;r=l._isComposing?l._textarea.value.substring(u.start,u.end):l._textarea.value.substring(u.start),l._coreService.triggerDataEvent(r,!0)}},0)}else{this._isSendingComposition=!1;var i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(i,!0)}},a.prototype._handleAnyTextareaChanges=function(){var o=this,l=this._textarea.value;setTimeout(function(){if(!o._isComposing){var u=o._textarea.value.replace(l,"");u.length>0&&o._coreService.triggerDataEvent(u,!0)}},0)},a.prototype.updateCompositionElements=function(o){var l=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var u=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),i=this._bufferService.buffer.y*u,r=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=r+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=u+"px",this._compositionView.style.lineHeight=u+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=r+"px",this._textarea.style.top=i+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}o||setTimeout(function(){return l.updateCompositionElements(!0)},0)}},a=z([e(2,v.IBufferService),e(3,v.IOptionsService),e(4,g.ICharSizeService),e(5,v.ICoreService)],a)}();A.CompositionHelper=c},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(i,r){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])})(i,r)},function(i,r){function t(){this.constructor=i}z(i,r),i.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}),g=this&&this.__decorate||function(i,r,t,n){var s,d=arguments.length,m=d<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(i,r,t,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(m=(d<3?s(m):d>3?s(r,t,m):s(r,t))||m);return d>3&&m&&Object.defineProperty(r,t,m),m},v=this&&this.__param||function(i,r){return function(t,n){r(t,n,i)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Viewport=void 0;var c=D(2),a=D(7),o=D(5),l=D(1),u=function(i){function r(t,n,s,d,m,h,y){var p=i.call(this)||this;return p._scrollLines=t,p._viewportElement=n,p._scrollArea=s,p._bufferService=d,p._optionsService=m,p._charSizeService=h,p._renderService=y,p.scrollBarWidth=0,p._currentRowHeight=0,p._lastRecordedBufferLength=0,p._lastRecordedViewportHeight=0,p._lastRecordedBufferHeight=0,p._lastTouchY=0,p._lastScrollTop=0,p._wheelPartialScroll=0,p._refreshAnimationFrame=null,p._ignoreNextScrollEvent=!1,p.scrollBarWidth=p._viewportElement.offsetWidth-p._scrollArea.offsetWidth||15,p.register(a.addDisposableDomListener(p._viewportElement,"scroll",p._onScroll.bind(p))),setTimeout(function(){return p.syncScrollArea()},0),p}return e(r,i),r.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},r.prototype._refresh=function(t){var n=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return n._innerRefresh()}))},r.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var n=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==n&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=n),this._refreshAnimationFrame=null},r.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var n=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===n&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},r.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var n=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(n,!0)}},r.prototype._bubbleScroll=function(t,n){var s=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(n<0&&this._viewportElement.scrollTop!==0||n>0&&s<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},r.prototype.onWheel=function(t){var n=this._getPixelsScrolled(t);return n!==0&&(this._viewportElement.scrollTop+=n,this._bubbleScroll(t,n))},r.prototype._getPixelsScrolled=function(t){if(t.deltaY===0)return 0;var n=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_LINE?n*=this._currentRowHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(n*=this._currentRowHeight*this._bufferService.rows),n},r.prototype.getLinesScrolled=function(t){if(t.deltaY===0)return 0;var n=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(n/=this._currentRowHeight+0,this._wheelPartialScroll+=n,n=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(n*=this._bufferService.rows),n},r.prototype._applyScrollModifier=function(t,n){var s=this._optionsService.options.fastScrollModifier;return s==="alt"&&n.altKey||s==="ctrl"&&n.ctrlKey||s==="shift"&&n.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},r.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},r.prototype.onTouchMove=function(t){var n=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,n!==0&&(this._viewportElement.scrollTop+=n,this._bubbleScroll(t,n))},r=g([v(3,l.IBufferService),v(4,l.IOptionsService),v(5,o.ICharSizeService),v(6,o.IRenderService)],r)}(c.Disposable);A.Viewport=u},function(be,A,D){"use strict";function z(c){return c.replace(/\r?\n/g,"\r")}function e(c,a){return a?"\x1B[200~"+c+"\x1B[201~":c}function g(c,a,o){c=e(c=z(c),o.decPrivateModes.bracketedPasteMode),o.triggerDataEvent(c,!0),a.value=""}function v(c,a,o){var l=o.getBoundingClientRect(),u=c.clientX-l.left-10,i=c.clientY-l.top-10;a.style.width="20px",a.style.height="20px",a.style.left=u+"px",a.style.top=i+"px",a.style.zIndex="1000",a.focus()}Object.defineProperty(A,"__esModule",{value:!0}),A.rightClickHandler=A.moveTextAreaUnderMouseCursor=A.paste=A.handlePasteEvent=A.copyHandler=A.bracketTextForPaste=A.prepareTextForTerminal=void 0,A.prepareTextForTerminal=z,A.bracketTextForPaste=e,A.copyHandler=function(c,a){c.clipboardData&&c.clipboardData.setData("text/plain",a.selectionText),c.preventDefault()},A.handlePasteEvent=function(c,a,o){c.stopPropagation(),c.clipboardData&&g(c.clipboardData.getData("text/plain"),a,o)},A.paste=g,A.moveTextAreaUnderMouseCursor=v,A.rightClickHandler=function(c,a,o,l,u){v(c,a,o),u&&!l.isClickInSelection(c)&&l.selectWordAtCursor(c),a.value=l.selectionText,a.select()}},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(i,r){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])})(i,r)},function(i,r){function t(){this.constructor=i}z(i,r),i.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)});Object.defineProperty(A,"__esModule",{value:!0}),A.EscapeSequenceParser=A.VT500_TRANSITION_TABLE=A.TransitionTable=void 0;var g=D(2),v=D(15),c=D(21),a=D(22),o=D(24),l=function(){function i(r){this.table=new Uint8Array(r)}return i.prototype.setDefault=function(r,t){v.fill(this.table,r<<4|t)},i.prototype.add=function(r,t,n,s){this.table[t<<8|r]=n<<4|s},i.prototype.addMany=function(r,t,n,s){for(var d=0;d<r.length;d++)this.table[t<<8|r[d]]=n<<4|s},i}();A.TransitionTable=l,A.VT500_TRANSITION_TABLE=function(){var i=new l(4095),r=Array.apply(null,Array(256)).map(function(h,y){return y}),t=function(h,y){return r.slice(h,y)},n=t(32,127),s=t(0,24);s.push(25),s.push.apply(s,t(28,32));var d,m=t(0,14);for(d in i.setDefault(1,0),i.addMany(n,0,2,0),m)i.addMany([24,26,153,154],d,3,0),i.addMany(t(128,144),d,3,0),i.addMany(t(144,152),d,3,0),i.add(156,d,0,0),i.add(27,d,11,1),i.add(157,d,4,8),i.addMany([152,158,159],d,0,7),i.add(155,d,11,3),i.add(144,d,11,9);return i.addMany(s,0,3,0),i.addMany(s,1,3,1),i.add(127,1,0,1),i.addMany(s,8,0,8),i.addMany(s,3,3,3),i.add(127,3,0,3),i.addMany(s,4,3,4),i.add(127,4,0,4),i.addMany(s,6,3,6),i.addMany(s,5,3,5),i.add(127,5,0,5),i.addMany(s,2,3,2),i.add(127,2,0,2),i.add(93,1,4,8),i.addMany(n,8,5,8),i.add(127,8,5,8),i.addMany([156,27,24,26,7],8,6,0),i.addMany(t(28,32),8,0,8),i.addMany([88,94,95],1,0,7),i.addMany(n,7,0,7),i.addMany(s,7,0,7),i.add(156,7,0,0),i.add(127,7,0,7),i.add(91,1,11,3),i.addMany(t(64,127),3,7,0),i.addMany(t(48,60),3,8,4),i.addMany([60,61,62,63],3,9,4),i.addMany(t(48,60),4,8,4),i.addMany(t(64,127),4,7,0),i.addMany([60,61,62,63],4,0,6),i.addMany(t(32,64),6,0,6),i.add(127,6,0,6),i.addMany(t(64,127),6,0,0),i.addMany(t(32,48),3,9,5),i.addMany(t(32,48),5,9,5),i.addMany(t(48,64),5,0,6),i.addMany(t(64,127),5,7,0),i.addMany(t(32,48),4,9,5),i.addMany(t(32,48),1,9,2),i.addMany(t(32,48),2,9,2),i.addMany(t(48,127),2,10,0),i.addMany(t(48,80),1,10,0),i.addMany(t(81,88),1,10,0),i.addMany([89,90,92],1,10,0),i.addMany(t(96,127),1,10,0),i.add(80,1,11,9),i.addMany(s,9,0,9),i.add(127,9,0,9),i.addMany(t(28,32),9,0,9),i.addMany(t(32,48),9,9,12),i.addMany(t(48,60),9,8,10),i.addMany([60,61,62,63],9,9,10),i.addMany(s,11,0,11),i.addMany(t(32,128),11,0,11),i.addMany(t(28,32),11,0,11),i.addMany(s,10,0,10),i.add(127,10,0,10),i.addMany(t(28,32),10,0,10),i.addMany(t(48,60),10,8,10),i.addMany([60,61,62,63],10,0,11),i.addMany(t(32,48),10,9,12),i.addMany(s,12,0,12),i.add(127,12,0,12),i.addMany(t(28,32),12,0,12),i.addMany(t(32,48),12,9,12),i.addMany(t(48,64),12,0,11),i.addMany(t(64,127),12,12,13),i.addMany(t(64,127),10,12,13),i.addMany(t(64,127),9,12,13),i.addMany(s,13,13,13),i.addMany(n,13,13,13),i.add(127,13,0,13),i.addMany([27,156,24,26],13,14,0),i.add(160,0,2,0),i.add(160,8,5,8),i.add(160,6,0,6),i.add(160,11,0,11),i.add(160,13,13,13),i}();var u=function(i){function r(t){t===void 0&&(t=A.VT500_TRANSITION_TABLE);var n=i.call(this)||this;return n._transitions=t,n.initialState=0,n.currentState=n.initialState,n._params=new c.Params,n._params.addParam(0),n._collect=0,n.precedingCodepoint=0,n._printHandlerFb=function(s,d,m){},n._executeHandlerFb=function(s){},n._csiHandlerFb=function(s,d){},n._escHandlerFb=function(s){},n._errorHandlerFb=function(s){return s},n._printHandler=n._printHandlerFb,n._executeHandlers=Object.create(null),n._csiHandlers=Object.create(null),n._escHandlers=Object.create(null),n._oscParser=new a.OscParser,n._dcsParser=new o.DcsParser,n._errorHandler=n._errorHandlerFb,n.setEscHandler({final:"\\"},function(){}),n}return e(r,i),r.prototype._identifier=function(t,n){n===void 0&&(n=[64,126]);var s=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((s=t.prefix.charCodeAt(0))&&60>s||s>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var d=0;d<t.intermediates.length;++d){var m=t.intermediates.charCodeAt(d);if(32>m||m>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");s<<=8,s|=m}}if(t.final.length!==1)throw new Error("final must be a single byte");var h=t.final.charCodeAt(0);if(n[0]>h||h>n[1])throw new Error("final must be in range "+n[0]+" .. "+n[1]);return s<<=8,s|=h},r.prototype.identToString=function(t){for(var n=[];t;)n.push(String.fromCharCode(255&t)),t>>=8;return n.reverse().join("")},r.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},r.prototype.setPrintHandler=function(t){this._printHandler=t},r.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},r.prototype.addEscHandler=function(t,n){var s=this._identifier(t,[48,126]);this._escHandlers[s]===void 0&&(this._escHandlers[s]=[]);var d=this._escHandlers[s];return d.push(n),{dispose:function(){var m=d.indexOf(n);m!==-1&&d.splice(m,1)}}},r.prototype.setEscHandler=function(t,n){this._escHandlers[this._identifier(t,[48,126])]=[n]},r.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},r.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},r.prototype.setExecuteHandler=function(t,n){this._executeHandlers[t.charCodeAt(0)]=n},r.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},r.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},r.prototype.addCsiHandler=function(t,n){var s=this._identifier(t);this._csiHandlers[s]===void 0&&(this._csiHandlers[s]=[]);var d=this._csiHandlers[s];return d.push(n),{dispose:function(){var m=d.indexOf(n);m!==-1&&d.splice(m,1)}}},r.prototype.setCsiHandler=function(t,n){this._csiHandlers[this._identifier(t)]=[n]},r.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},r.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},r.prototype.addDcsHandler=function(t,n){return this._dcsParser.addHandler(this._identifier(t),n)},r.prototype.setDcsHandler=function(t,n){this._dcsParser.setHandler(this._identifier(t),n)},r.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},r.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},r.prototype.addOscHandler=function(t,n){return this._oscParser.addHandler(t,n)},r.prototype.setOscHandler=function(t,n){this._oscParser.setHandler(t,n)},r.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},r.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},r.prototype.setErrorHandler=function(t){this._errorHandler=t},r.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},r.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},r.prototype.parse=function(t,n){for(var s=0,d=0,m=this.currentState,h=this._oscParser,y=this._dcsParser,p=this._collect,b=this._params,x=this._transitions.table,S=0;S<n;++S){switch((d=x[m<<8|((s=t[S])<160?s:160)])>>4){case 2:for(var w=S+1;;++w){if(w>=n||(s=t[w])<32||s>126&&s<160){this._printHandler(t,S,w),S=w-1;break}if(++w>=n||(s=t[w])<32||s>126&&s<160){this._printHandler(t,S,w),S=w-1;break}if(++w>=n||(s=t[w])<32||s>126&&s<160){this._printHandler(t,S,w),S=w-1;break}if(++w>=n||(s=t[w])<32||s>126&&s<160){this._printHandler(t,S,w),S=w-1;break}}break;case 3:this._executeHandlers[s]?this._executeHandlers[s]():this._executeHandlerFb(s),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:S,code:s,currentState:m,collect:p,params:b,abort:!1}).abort)return;break;case 7:for(var _=this._csiHandlers[p<<8|s],C=_?_.length-1:-1;C>=0&&_[C](b)===!1;C--);C<0&&this._csiHandlerFb(p<<8|s,b),this.precedingCodepoint=0;break;case 8:do switch(s){case 59:b.addParam(0);break;case 58:b.addSubParam(-1);break;default:b.addDigit(s-48)}while(++S<n&&(s=t[S])>47&&s<60);S--;break;case 9:p<<=8,p|=s;break;case 10:for(var E=this._escHandlers[p<<8|s],T=E?E.length-1:-1;T>=0&&E[T]()===!1;T--);T<0&&this._escHandlerFb(p<<8|s),this.precedingCodepoint=0;break;case 11:b.reset(),b.addParam(0),p=0;break;case 12:y.hook(p<<8|s,b);break;case 13:for(var R=S+1;;++R)if(R>=n||(s=t[R])===24||s===26||s===27||s>127&&s<160){y.put(t,S,R),S=R-1;break}break;case 14:y.unhook(s!==24&&s!==26),s===27&&(d|=1),b.reset(),b.addParam(0),p=0,this.precedingCodepoint=0;break;case 4:h.start();break;case 5:for(var k=S+1;;k++)if(k>=n||(s=t[k])<32||s>127&&s<=159){h.put(t,S,k),S=k-1;break}break;case 6:h.end(s!==24&&s!==26),s===27&&(d|=1),b.reset(),b.addParam(0),p=0,this.precedingCodepoint=0}m=15&d}this._collect=p,this.currentState=m},r}(g.Disposable);A.EscapeSequenceParser=u},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(h,y){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,b){p.__proto__=b}||function(p,b){for(var x in b)b.hasOwnProperty(x)&&(p[x]=b[x])})(h,y)},function(h,y){function p(){this.constructor=h}z(h,y),h.prototype=y===null?Object.create(y):(p.prototype=y.prototype,new p)}),g=this&&this.__decorate||function(h,y,p,b){var x,S=arguments.length,w=S<3?y:b===null?b=Object.getOwnPropertyDescriptor(y,p):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(h,y,p,b);else for(var _=h.length-1;_>=0;_--)(x=h[_])&&(w=(S<3?x(w):S>3?x(y,p,w):x(y,p))||w);return S>3&&w&&Object.defineProperty(y,p,w),w},v=this&&this.__param||function(h,y){return function(p,b){y(p,b,h)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Renderer=void 0;var c=D(41),a=D(47),o=D(48),l=D(49),u=D(29),i=D(2),r=D(5),t=D(1),n=D(25),s=D(0),d=1,m=function(h){function y(p,b,x,S,w,_,C,E,T){var R=h.call(this)||this;R._colors=p,R._screenElement=b,R._bufferService=w,R._charSizeService=_,R._optionsService=C,R._id=d++,R._onRequestRedraw=new s.EventEmitter;var k=R._optionsService.options.allowTransparency;return R._characterJoinerRegistry=new u.CharacterJoinerRegistry(R._bufferService),R._renderLayers=[new c.TextRenderLayer(R._screenElement,0,R._colors,R._characterJoinerRegistry,k,R._id,R._bufferService,C),new a.SelectionRenderLayer(R._screenElement,1,R._colors,R._id,R._bufferService,C),new l.LinkRenderLayer(R._screenElement,2,R._colors,R._id,x,S,R._bufferService,C),new o.CursorRenderLayer(R._screenElement,3,R._colors,R._id,R._onRequestRedraw,R._bufferService,C,E,T)],R.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},R._devicePixelRatio=window.devicePixelRatio,R._updateDimensions(),R.onOptionsChanged(),R}return e(y,h),Object.defineProperty(y.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){for(var p=0,b=this._renderLayers;p<b.length;p++)b[p].dispose();h.prototype.dispose.call(this),n.removeTerminalFromCache(this._id)},y.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},y.prototype.setColors=function(p){this._colors=p;for(var b=0,x=this._renderLayers;b<x.length;b++){var S=x[b];S.setColors(this._colors),S.reset()}},y.prototype.onResize=function(p,b){this._updateDimensions();for(var x=0,S=this._renderLayers;x<S.length;x++)S[x].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},y.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},y.prototype.onBlur=function(){this._runOperation(function(p){return p.onBlur()})},y.prototype.onFocus=function(){this._runOperation(function(p){return p.onFocus()})},y.prototype.onSelectionChanged=function(p,b,x){x===void 0&&(x=!1),this._runOperation(function(S){return S.onSelectionChanged(p,b,x)})},y.prototype.onCursorMove=function(){this._runOperation(function(p){return p.onCursorMove()})},y.prototype.onOptionsChanged=function(){this._runOperation(function(p){return p.onOptionsChanged()})},y.prototype.clear=function(){this._runOperation(function(p){return p.reset()})},y.prototype._runOperation=function(p){for(var b=0,x=this._renderLayers;b<x.length;b++)p(x[b])},y.prototype.renderRows=function(p,b){for(var x=0,S=this._renderLayers;x<S.length;x++)S[x].onGridChanged(p,b)},y.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},y.prototype.registerCharacterJoiner=function(p){return this._characterJoinerRegistry.registerCharacterJoiner(p)},y.prototype.deregisterCharacterJoiner=function(p){return this._characterJoinerRegistry.deregisterCharacterJoiner(p)},y=g([v(4,t.IBufferService),v(5,r.ICharSizeService),v(6,t.IOptionsService),v(7,t.ICoreService),v(8,r.ICoreBrowserService)],y)}(i.Disposable);A.Renderer=m},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(i,r){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])})(i,r)},function(i,r){function t(){this.constructor=i}z(i,r),i.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)});Object.defineProperty(A,"__esModule",{value:!0}),A.TextRenderLayer=void 0;var g=D(42),v=D(13),c=D(6),a=D(3),o=D(29),l=D(4),u=function(i){function r(t,n,s,d,m,h,y,p){var b=i.call(this,t,"text",n,m,s,h,y,p)||this;return b._characterWidth=0,b._characterFont="",b._characterOverlapCache={},b._workCell=new l.CellData,b._state=new g.GridCache,b._characterJoinerRegistry=d,b}return e(r,i),r.prototype.resize=function(t){i.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},r.prototype.reset=function(){this._state.clear(),this._clearAll()},r.prototype._forEachCell=function(t,n,s,d){for(var m=t;m<=n;m++)for(var h=m+this._bufferService.buffer.ydisp,y=this._bufferService.buffer.lines.get(h),p=s?s.getJoinedCharacters(h):[],b=0;b<this._bufferService.cols;b++){y.loadCell(b,this._workCell);var x=this._workCell,S=!1,w=b;if(x.getWidth()!==0){if(p.length>0&&b===p[0][0]){S=!0;var _=p.shift();x=new o.JoinedCellData(this._workCell,y.translateToString(!0,_[0],_[1]),_[1]-_[0]),w=_[1]-1}!S&&this._isOverlapping(x)&&w<y.length-1&&y.getCodePoint(w+1)===a.NULL_CELL_CODE&&(x.content&=-12582913,x.content|=2<<22),d(x,b,m),b=w}}},r.prototype._drawBackground=function(t,n){var s=this,d=this._ctx,m=this._bufferService.cols,h=0,y=0,p=null;d.save(),this._forEachCell(t,n,null,function(b,x,S){var w=null;b.isInverse()?w=b.isFgDefault()?s._colors.foreground.css:b.isFgRGB()?"rgb("+c.AttributeData.toColorRGB(b.getFgColor()).join(",")+")":s._colors.ansi[b.getFgColor()].css:b.isBgRGB()?w="rgb("+c.AttributeData.toColorRGB(b.getBgColor()).join(",")+")":b.isBgPalette()&&(w=s._colors.ansi[b.getBgColor()].css),p===null&&(h=x,y=S),S!==y?(d.fillStyle=p||"",s._fillCells(h,y,m-h,1),h=x,y=S):p!==w&&(d.fillStyle=p||"",s._fillCells(h,y,x-h,1),h=x,y=S),p=w}),p!==null&&(d.fillStyle=p,this._fillCells(h,y,m-h,1)),d.restore()},r.prototype._drawForeground=function(t,n){var s=this;this._forEachCell(t,n,this._characterJoinerRegistry,function(d,m,h){if(!d.isInvisible()&&(s._drawChars(d,m,h),d.isUnderline())){if(s._ctx.save(),d.isInverse())if(d.isBgDefault())s._ctx.fillStyle=s._colors.background.css;else if(d.isBgRGB())s._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(d.getBgColor()).join(",")+")";else{var y=d.getBgColor();s._optionsService.options.drawBoldTextInBrightColors&&d.isBold()&&y<8&&(y+=8),s._ctx.fillStyle=s._colors.ansi[y].css}else if(d.isFgDefault())s._ctx.fillStyle=s._colors.foreground.css;else if(d.isFgRGB())s._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(d.getFgColor()).join(",")+")";else{var p=d.getFgColor();s._optionsService.options.drawBoldTextInBrightColors&&d.isBold()&&p<8&&(p+=8),s._ctx.fillStyle=s._colors.ansi[p].css}s._fillBottomLineAtCells(m,h,d.getWidth()),s._ctx.restore()}})},r.prototype.onGridChanged=function(t,n){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,t,this._bufferService.cols,n-t+1),this._drawBackground(t,n),this._drawForeground(t,n))},r.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},r.prototype._isOverlapping=function(t){if(t.getWidth()!==1||t.getCode()<256)return!1;var n=t.getChars();if(this._characterOverlapCache.hasOwnProperty(n))return this._characterOverlapCache[n];this._ctx.save(),this._ctx.font=this._characterFont;var s=Math.floor(this._ctx.measureText(n).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[n]=s,s},r}(v.BaseRenderLayer);A.TextRenderLayer=u},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.GridCache=void 0;var z=function(){function e(){this.cache=[]}return e.prototype.resize=function(g,v){for(var c=0;c<g;c++){this.cache.length<=c&&this.cache.push([]);for(var a=this.cache[c].length;a<v;a++)this.cache[c].push(void 0);this.cache[c].length=v}this.cache.length=g},e.prototype.clear=function(){for(var g=0;g<this.cache.length;g++)for(var v=0;v<this.cache[g].length;v++)this.cache[g][v]=void 0},e}();A.GridCache=z},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(s,d){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,h){m.__proto__=h}||function(m,h){for(var y in h)h.hasOwnProperty(y)&&(m[y]=h[y])})(s,d)},function(s,d){function m(){this.constructor=s}z(s,d),s.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)});Object.defineProperty(A,"__esModule",{value:!0}),A.NoneCharAtlas=A.DynamicCharAtlas=A.getGlyphCacheKey=void 0;var g=D(9),v=D(44),c=D(27),a=D(46),o=D(11),l=D(28),u=D(10),i={css:"rgba(0, 0, 0, 0)",rgba:0};function r(s){return s.code<<21|s.bg<<12|s.fg<<3|(s.bold?0:4)+(s.dim?0:2)+(s.italic?0:1)}A.getGlyphCacheKey=r;var t=function(s){function d(m,h){var y=s.call(this)||this;y._config=h,y._drawToCacheCount=0,y._glyphsWaitingOnBitmap=[],y._bitmapCommitTimeout=null,y._bitmap=null,y._cacheCanvas=m.createElement("canvas"),y._cacheCanvas.width=1024,y._cacheCanvas.height=1024,y._cacheCtx=l.throwIfFalsy(y._cacheCanvas.getContext("2d",{alpha:!0}));var p=m.createElement("canvas");p.width=y._config.scaledCharWidth,p.height=y._config.scaledCharHeight,y._tmpCtx=l.throwIfFalsy(p.getContext("2d",{alpha:y._config.allowTransparency})),y._width=Math.floor(1024/y._config.scaledCharWidth),y._height=Math.floor(1024/y._config.scaledCharHeight);var b=y._width*y._height;return y._cacheMap=new a.LRUMap(b),y._cacheMap.prealloc(b),y}return e(d,s),d.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},d.prototype.beginFrame=function(){this._drawToCacheCount=0},d.prototype.draw=function(m,h,y,p){if(h.code===32)return!0;if(!this._canCache(h))return!1;var b=r(h),x=this._cacheMap.get(b);if(x!=null)return this._drawFromCache(m,x,y,p),!0;if(this._drawToCacheCount<100){var S=void 0;S=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var w=this._drawToCache(h,S);return this._cacheMap.set(b,w),this._drawFromCache(m,w,y,p),!0}return!1},d.prototype._canCache=function(m){return m.code<256},d.prototype._toCoordinateX=function(m){return m%this._width*this._config.scaledCharWidth},d.prototype._toCoordinateY=function(m){return Math.floor(m/this._width)*this._config.scaledCharHeight},d.prototype._drawFromCache=function(m,h,y,p){if(!h.isEmpty){var b=this._toCoordinateX(h.index),x=this._toCoordinateY(h.index);m.drawImage(h.inBitmap?this._bitmap:this._cacheCanvas,b,x,this._config.scaledCharWidth,this._config.scaledCharHeight,y,p,this._config.scaledCharWidth,this._config.scaledCharHeight)}},d.prototype._getColorFromAnsiIndex=function(m){return m<this._config.colors.ansi.length?this._config.colors.ansi[m]:c.DEFAULT_ANSI_COLORS[m]},d.prototype._getBackgroundColor=function(m){return this._config.allowTransparency?i:m.bg===g.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:m.bg<256?this._getColorFromAnsiIndex(m.bg):this._config.colors.background},d.prototype._getForegroundColor=function(m){return m.fg===g.INVERTED_DEFAULT_COLOR?u.color.opaque(this._config.colors.background):m.fg<256?this._getColorFromAnsiIndex(m.fg):this._config.colors.foreground},d.prototype._drawToCache=function(m,h){this._drawToCacheCount++,this._tmpCtx.save();var y=this._getBackgroundColor(m);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=y.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var p=m.bold?this._config.fontWeightBold:this._config.fontWeight,b=m.italic?"italic":"";this._tmpCtx.font=b+" "+p+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(m).css,m.dim&&(this._tmpCtx.globalAlpha=g.DIM_OPACITY),this._tmpCtx.fillText(m.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var x=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),S=!1;this._config.allowTransparency||(S=function(E,T){for(var R=!0,k=T.rgba>>>24,P=T.rgba>>>16&255,L=T.rgba>>>8&255,O=0;O<E.data.length;O+=4)E.data[O]===k&&E.data[O+1]===P&&E.data[O+2]===L?E.data[O+3]=0:R=!1;return R}(x,y));var w=this._toCoordinateX(h),_=this._toCoordinateY(h);this._cacheCtx.putImageData(x,w,_);var C={index:h,isEmpty:S,inBitmap:!1};return this._addGlyphToBitmap(C),C},d.prototype._addGlyphToBitmap=function(m){var h=this;!("createImageBitmap"in window)||o.isFirefox||o.isSafari||(this._glyphsWaitingOnBitmap.push(m),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return h._generateBitmap()},100)))},d.prototype._generateBitmap=function(){var m=this,h=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(y){m._bitmap=y;for(var p=0;p<h.length;p++)h[p].inBitmap=!0}),this._bitmapCommitTimeout=null},d}(v.BaseCharAtlas);A.DynamicCharAtlas=t;var n=function(s){function d(m,h){return s.call(this)||this}return e(d,s),d.prototype.draw=function(m,h,y,p){return!1},d}(v.BaseCharAtlas);A.NoneCharAtlas=n},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BaseCharAtlas=void 0;var z=function(){function e(){this._didWarmUp=!1}return e.prototype.dispose=function(){},e.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},e.prototype._doWarmUp=function(){},e.prototype.beginFrame=function(){},e}();A.BaseCharAtlas=z},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ColorContrastCache=void 0;var z=function(){function e(){this._color={},this._rgba={}}return e.prototype.clear=function(){this._color={},this._rgba={}},e.prototype.setCss=function(g,v,c){this._rgba[g]||(this._rgba[g]={}),this._rgba[g][v]=c},e.prototype.getCss=function(g,v){return this._rgba[g]?this._rgba[g][v]:void 0},e.prototype.setColor=function(g,v,c){this._color[g]||(this._color[g]={}),this._color[g][v]=c},e.prototype.getColor=function(g,v){return this._color[g]?this._color[g][v]:void 0},e}();A.ColorContrastCache=z},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.LRUMap=void 0;var z=function(){function e(g){this.capacity=g,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return e.prototype._unlinkNode=function(g){var v=g.prev,c=g.next;g===this._head&&(this._head=c),g===this._tail&&(this._tail=v),v!==null&&(v.next=c),c!==null&&(c.prev=v)},e.prototype._appendNode=function(g){var v=this._tail;v!==null&&(v.next=g),g.prev=v,g.next=null,this._tail=g,this._head===null&&(this._head=g)},e.prototype.prealloc=function(g){for(var v=this._nodePool,c=0;c<g;c++)v.push({prev:null,next:null,key:null,value:null})},e.prototype.get=function(g){var v=this._map[g];return v!==void 0?(this._unlinkNode(v),this._appendNode(v),v.value):null},e.prototype.peekValue=function(g){var v=this._map[g];return v!==void 0?v.value:null},e.prototype.peek=function(){var g=this._head;return g===null?null:g.value},e.prototype.set=function(g,v){var c=this._map[g];if(c!==void 0)c=this._map[g],this._unlinkNode(c),c.value=v;else if(this.size>=this.capacity)c=this._head,this._unlinkNode(c),delete this._map[c.key],c.key=g,c.value=v,this._map[g]=c;else{var a=this._nodePool;a.length>0?((c=a.pop()).key=g,c.value=v):c={prev:null,next:null,key:g,value:v},this._map[g]=c,this.size++}this._appendNode(c)},e}();A.LRUMap=z},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(v,c){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var l in o)o.hasOwnProperty(l)&&(a[l]=o[l])})(v,c)},function(v,c){function a(){this.constructor=v}z(v,c),v.prototype=c===null?Object.create(c):(a.prototype=c.prototype,new a)});Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionRenderLayer=void 0;var g=function(v){function c(a,o,l,u,i,r){var t=v.call(this,a,"selection",o,!0,l,u,i,r)||this;return t._clearState(),t}return e(c,v),c.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},c.prototype.resize=function(a){v.prototype.resize.call(this,a),this._clearState()},c.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},c.prototype.onSelectionChanged=function(a,o,l){if(this._didStateChange(a,o,l,this._bufferService.buffer.ydisp))if(this._clearAll(),a&&o){var u=a[1]-this._bufferService.buffer.ydisp,i=o[1]-this._bufferService.buffer.ydisp,r=Math.max(u,0),t=Math.min(i,this._bufferService.rows-1);if(!(r>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,l){var n=a[0],s=o[0]-n,d=t-r+1;this._fillCells(n,r,s,d)}else{n=u===r?a[0]:0;var m=r===t?o[0]:this._bufferService.cols;this._fillCells(n,r,m-n,1);var h=Math.max(t-r-1,0);if(this._fillCells(0,r+1,this._bufferService.cols,h),r!==t){var y=i===t?o[0]:this._bufferService.cols;this._fillCells(0,t,y,1)}}this._state.start=[a[0],a[1]],this._state.end=[o[0],o[1]],this._state.columnSelectMode=l,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},c.prototype._didStateChange=function(a,o,l,u){return!this._areCoordinatesEqual(a,this._state.start)||!this._areCoordinatesEqual(o,this._state.end)||l!==this._state.columnSelectMode||u!==this._state.ydisp},c.prototype._areCoordinatesEqual=function(a,o){return!(!a||!o)&&a[0]===o[0]&&a[1]===o[1]},c}(D(13).BaseRenderLayer);A.SelectionRenderLayer=g},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(o,l){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,i){u.__proto__=i}||function(u,i){for(var r in i)i.hasOwnProperty(r)&&(u[r]=i[r])})(o,l)},function(o,l){function u(){this.constructor=o}z(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(A,"__esModule",{value:!0}),A.CursorRenderLayer=void 0;var g=D(13),v=D(4),c=function(o){function l(u,i,r,t,n,s,d,m,h){var y=o.call(this,u,"cursor",i,!0,r,t,s,d)||this;return y._onRequestRedraw=n,y._coreService=m,y._coreBrowserService=h,y._cell=new v.CellData,y._state={x:0,y:0,isFocused:!1,style:"",width:0},y._cursorRenderers={bar:y._renderBarCursor.bind(y),block:y._renderBlockCursor.bind(y),underline:y._renderUnderlineCursor.bind(y)},y}return e(l,o),l.prototype.resize=function(u){o.prototype.resize.call(this,u),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},l.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},l.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},l.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},l.prototype.onOptionsChanged=function(){var u,i=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new a(this._coreBrowserService.isFocused,function(){i._render(!0)})):((u=this._cursorBlinkStateManager)===null||u===void 0||u.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},l.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},l.prototype.onGridChanged=function(u,i){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},l.prototype._render=function(u){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,r=i-this._bufferService.buffer.ydisp;if(r<0||r>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(i).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var n=this._optionsService.options.cursorStyle;return n&&n!=="block"?this._cursorRenderers[n](t,r,this._cell):this._renderBlurCursor(t,r,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=r,this._state.isFocused=!1,this._state.style=n,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===r&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,r,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=r,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},l.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},l.prototype._renderBarCursor=function(u,i,r){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(u,i,this._optionsService.options.cursorWidth),this._ctx.restore()},l.prototype._renderBlockCursor=function(u,i,r){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(u,i,r.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(r,u,i),this._ctx.restore()},l.prototype._renderUnderlineCursor=function(u,i,r){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(u,i),this._ctx.restore()},l.prototype._renderBlurCursor=function(u,i,r){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(u,i,r.getWidth(),1),this._ctx.restore()},l}(g.BaseRenderLayer);A.CursorRenderLayer=c;var a=function(){function o(l,u){this._renderCallback=u,this.isCursorVisible=!0,l&&this._restartInterval()}return Object.defineProperty(o.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},o.prototype.restartBlinkAnimation=function(){var l=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){l._renderCallback(),l._animationFrame=void 0})))},o.prototype._restartInterval=function(l){var u=this;l===void 0&&(l=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(u._animationTimeRestarted){var i=600-(Date.now()-u._animationTimeRestarted);if(u._animationTimeRestarted=void 0,i>0)return void u._restartInterval(i)}u.isCursorVisible=!1,u._animationFrame=window.requestAnimationFrame(function(){u._renderCallback(),u._animationFrame=void 0}),u._blinkInterval=window.setInterval(function(){if(u._animationTimeRestarted){var r=600-(Date.now()-u._animationTimeRestarted);return u._animationTimeRestarted=void 0,void u._restartInterval(r)}u.isCursorVisible=!u.isCursorVisible,u._animationFrame=window.requestAnimationFrame(function(){u._renderCallback(),u._animationFrame=void 0})},600)},l)},o.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},o.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},o}()},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(o,l){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,i){u.__proto__=i}||function(u,i){for(var r in i)i.hasOwnProperty(r)&&(u[r]=i[r])})(o,l)},function(o,l){function u(){this.constructor=o}z(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(A,"__esModule",{value:!0}),A.LinkRenderLayer=void 0;var g=D(13),v=D(9),c=D(26),a=function(o){function l(u,i,r,t,n,s,d,m){var h=o.call(this,u,"link",i,!0,r,t,d,m)||this;return n.onShowLinkUnderline(function(y){return h._onShowLinkUnderline(y)}),n.onHideLinkUnderline(function(y){return h._onHideLinkUnderline(y)}),s.onShowLinkUnderline(function(y){return h._onShowLinkUnderline(y)}),s.onHideLinkUnderline(function(y){return h._onHideLinkUnderline(y)}),h}return e(l,o),l.prototype.resize=function(u){o.prototype.resize.call(this,u),this._state=void 0},l.prototype.reset=function(){this._clearCurrentLink()},l.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var u=this._state.y2-this._state.y1-1;u>0&&this._clearCells(0,this._state.y1+1,this._state.cols,u),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},l.prototype._onShowLinkUnderline=function(u){if(u.fg===v.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:u.fg&&c.is256Color(u.fg)?this._ctx.fillStyle=this._colors.ansi[u.fg].css:this._ctx.fillStyle=this._colors.foreground.css,u.y1===u.y2)this._fillBottomLineAtCells(u.x1,u.y1,u.x2-u.x1);else{this._fillBottomLineAtCells(u.x1,u.y1,u.cols-u.x1);for(var i=u.y1+1;i<u.y2;i++)this._fillBottomLineAtCells(0,i,u.cols);this._fillBottomLineAtCells(0,u.y2,u.x2)}this._state=u},l.prototype._onHideLinkUnderline=function(u){this._clearCurrentLink()},l}(g.BaseRenderLayer);A.LinkRenderLayer=a},function(be,A,D){"use strict";var z=this&&this.__decorate||function(o,l,u,i){var r,t=arguments.length,n=t<3?l:i===null?i=Object.getOwnPropertyDescriptor(l,u):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,l,u,i);else for(var s=o.length-1;s>=0;s--)(r=o[s])&&(n=(t<3?r(n):t>3?r(l,u,n):r(l,u))||n);return t>3&&n&&Object.defineProperty(l,u,n),n},e=this&&this.__param||function(o,l){return function(u,i){l(u,i,o)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseZone=A.Linkifier=void 0;var g=D(0),v=D(1),c=function(){function o(l,u,i){this._bufferService=l,this._logService=u,this._unicodeService=i,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new g.EventEmitter,this._onHideLinkUnderline=new g.EventEmitter,this._onLinkTooltip=new g.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(o.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),o.prototype.attachToDom=function(l,u){this._element=l,this._mouseZoneManager=u},o.prototype.linkifyRows=function(l,u){var i=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=l,this._rowsToLinkify.end=u):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,l),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,u)),this._mouseZoneManager.clearAll(l,u),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},o._timeBeforeLatency))},o.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var l=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var u=l.ydisp+this._rowsToLinkify.start;if(!(u>=l.lines.length)){for(var i=l.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,r=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,u,i,r,r);t.hasNext();)for(var n=t.next(),s=0;s<this._linkMatchers.length;s++)this._doLinkifyRow(n.range.first,n.content,this._linkMatchers[s]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},o.prototype.registerLinkMatcher=function(l,u,i){if(i===void 0&&(i={}),!u)throw new Error("handler must be defined");var r={id:this._nextLinkMatcherId++,regex:l,handler:u,matchIndex:i.matchIndex,validationCallback:i.validationCallback,hoverTooltipCallback:i.tooltipCallback,hoverLeaveCallback:i.leaveCallback,willLinkActivate:i.willLinkActivate,priority:i.priority||0};return this._addLinkMatcherToList(r),r.id},o.prototype._addLinkMatcherToList=function(l){if(this._linkMatchers.length!==0){for(var u=this._linkMatchers.length-1;u>=0;u--)if(l.priority<=this._linkMatchers[u].priority)return void this._linkMatchers.splice(u+1,0,l);this._linkMatchers.splice(0,0,l)}else this._linkMatchers.push(l)},o.prototype.deregisterLinkMatcher=function(l){for(var u=0;u<this._linkMatchers.length;u++)if(this._linkMatchers[u].id===l)return this._linkMatchers.splice(u,1),!0;return!1},o.prototype._doLinkifyRow=function(l,u,i){for(var r,t=this,n=new RegExp(i.regex.source,(i.regex.flags||"")+"g"),s=-1,d=function(){var h=r[typeof i.matchIndex!="number"?0:i.matchIndex];if(!h)return m._logService.debug("match found without corresponding matchIndex",r,i),"break";if(s=u.indexOf(h,s+1),n.lastIndex=s+h.length,s<0)return"break";var y=m._bufferService.buffer.stringIndexToBufferIndex(l,s);if(y[0]<0)return"break";var p=m._bufferService.buffer.lines.get(y[0]);if(!p)return"break";var b=p.getFg(y[1]),x=b?b>>9&511:void 0;i.validationCallback?i.validationCallback(h,function(S){t._rowsTimeoutId||S&&t._addLink(y[1],y[0]-t._bufferService.buffer.ydisp,h,i,x)}):m._addLink(y[1],y[0]-m._bufferService.buffer.ydisp,h,i,x)},m=this;(r=n.exec(u))!==null&&d()!=="break";);},o.prototype._addLink=function(l,u,i,r,t){var n=this;if(this._mouseZoneManager&&this._element){var s=this._unicodeService.getStringCellWidth(i),d=l%this._bufferService.cols,m=u+Math.floor(l/this._bufferService.cols),h=(d+s)%this._bufferService.cols,y=m+Math.floor((d+s)/this._bufferService.cols);h===0&&(h=this._bufferService.cols,y--),this._mouseZoneManager.add(new a(d+1,m+1,h+1,y+1,function(p){if(r.handler)return r.handler(p,i);var b=window.open();b?(b.opener=null,b.location.href=i):console.warn("Opening link blocked as opener could not be cleared")},function(){n._onShowLinkUnderline.fire(n._createLinkHoverEvent(d,m,h,y,t)),n._element.classList.add("xterm-cursor-pointer")},function(p){n._onLinkTooltip.fire(n._createLinkHoverEvent(d,m,h,y,t)),r.hoverTooltipCallback&&r.hoverTooltipCallback(p,i,{start:{x:d,y:m},end:{x:h,y}})},function(){n._onHideLinkUnderline.fire(n._createLinkHoverEvent(d,m,h,y,t)),n._element.classList.remove("xterm-cursor-pointer"),r.hoverLeaveCallback&&r.hoverLeaveCallback()},function(p){return!r.willLinkActivate||r.willLinkActivate(p,i)}))}},o.prototype._createLinkHoverEvent=function(l,u,i,r,t){return{x1:l,y1:u,x2:i,y2:r,cols:this._bufferService.cols,fg:t}},o._timeBeforeLatency=200,o=z([e(0,v.IBufferService),e(1,v.ILogService),e(2,v.IUnicodeService)],o)}();A.Linkifier=c;var a=function(o,l,u,i,r,t,n,s,d){this.x1=o,this.y1=l,this.x2=u,this.y2=i,this.clickCallback=r,this.hoverCallback=t,this.tooltipCallback=n,this.leaveCallback=s,this.willLinkActivate=d};A.MouseZone=a},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(h,y){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,b){p.__proto__=b}||function(p,b){for(var x in b)b.hasOwnProperty(x)&&(p[x]=b[x])})(h,y)},function(h,y){function p(){this.constructor=h}z(h,y),h.prototype=y===null?Object.create(y):(p.prototype=y.prototype,new p)}),g=this&&this.__decorate||function(h,y,p,b){var x,S=arguments.length,w=S<3?y:b===null?b=Object.getOwnPropertyDescriptor(y,p):b;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(h,y,p,b);else for(var _=h.length-1;_>=0;_--)(x=h[_])&&(w=(S<3?x(w):S>3?x(y,p,w):x(y,p))||w);return S>3&&w&&Object.defineProperty(y,p,w),w},v=this&&this.__param||function(h,y){return function(p,b){y(p,b,h)}};Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionService=void 0;var c=D(11),a=D(52),o=D(4),l=D(0),u=D(5),i=D(1),r=D(30),t=D(53),n=D(2),s="\xA0",d=new RegExp(s,"g"),m=function(h){function y(p,b,x,S,w,_,C){var E=h.call(this)||this;return E._element=p,E._screenElement=b,E._bufferService=x,E._coreService=S,E._mouseService=w,E._optionsService=_,E._renderService=C,E._dragScrollAmount=0,E._enabled=!0,E._workCell=new o.CellData,E._mouseDownTimeStamp=0,E._onLinuxMouseSelection=E.register(new l.EventEmitter),E._onRedrawRequest=E.register(new l.EventEmitter),E._onSelectionChange=E.register(new l.EventEmitter),E._onRequestScrollLines=E.register(new l.EventEmitter),E._mouseMoveListener=function(T){return E._onMouseMove(T)},E._mouseUpListener=function(T){return E._onMouseUp(T)},E._coreService.onUserInput(function(){E.hasSelection&&E.clearSelection()}),E._trimListener=E._bufferService.buffer.lines.onTrim(function(T){return E._onTrim(T)}),E.register(E._bufferService.buffers.onBufferActivate(function(T){return E._onBufferActivate(T)})),E.enable(),E._model=new a.SelectionModel(E._bufferService),E._activeSelectionMode=0,E}return e(y,h),Object.defineProperty(y.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){this._removeMouseDownListeners()},y.prototype.reset=function(){this.clearSelection()},y.prototype.disable=function(){this.clearSelection(),this._enabled=!1},y.prototype.enable=function(){this._enabled=!0},Object.defineProperty(y.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"hasSelection",{get:function(){var p=this._model.finalSelectionStart,b=this._model.finalSelectionEnd;return!(!p||!b)&&(p[0]!==b[0]||p[1]!==b[1])},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selectionText",{get:function(){var p=this._model.finalSelectionStart,b=this._model.finalSelectionEnd;if(!p||!b)return"";var x=this._bufferService.buffer,S=[];if(this._activeSelectionMode===3){if(p[0]===b[0])return"";for(var w=p[1];w<=b[1];w++){var _=x.translateBufferLineToString(w,!0,p[0],b[0]);S.push(_)}}else{var C=p[1]===b[1]?b[0]:void 0;for(S.push(x.translateBufferLineToString(p[1],!0,p[0],C)),w=p[1]+1;w<=b[1]-1;w++){var E=x.lines.get(w);_=x.translateBufferLineToString(w,!0),E&&E.isWrapped?S[S.length-1]+=_:S.push(_)}p[1]!==b[1]&&(E=x.lines.get(b[1]),_=x.translateBufferLineToString(b[1],!0,0,b[0]),E&&E.isWrapped?S[S.length-1]+=_:S.push(_))}return S.map(function(T){return T.replace(d," ")}).join(c.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),y.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},y.prototype.refresh=function(p){var b=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return b._refresh()})),c.isLinux&&p&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},y.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},y.prototype.isClickInSelection=function(p){var b=this._getMouseBufferCoords(p),x=this._model.finalSelectionStart,S=this._model.finalSelectionEnd;return!!(x&&S&&b)&&this._areCoordsInSelection(b,x,S)},y.prototype._areCoordsInSelection=function(p,b,x){return p[1]>b[1]&&p[1]<x[1]||b[1]===x[1]&&p[1]===b[1]&&p[0]>=b[0]&&p[0]<x[0]||b[1]<x[1]&&p[1]===x[1]&&p[0]<x[0]||b[1]<x[1]&&p[1]===b[1]&&p[0]>=b[0]},y.prototype.selectWordAtCursor=function(p){var b=this._getMouseBufferCoords(p);b&&(this._selectWordAt(b,!1),this._model.selectionEnd=void 0,this.refresh(!0))},y.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},y.prototype.selectLines=function(p,b){this._model.clearSelection(),p=Math.max(p,0),b=Math.min(b,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,p],this._model.selectionEnd=[this._bufferService.cols,b],this.refresh(),this._onSelectionChange.fire()},y.prototype._onTrim=function(p){this._model.onTrim(p)&&this.refresh()},y.prototype._getMouseBufferCoords=function(p){var b=this._mouseService.getCoords(p,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(b)return b[0]--,b[1]--,b[1]+=this._bufferService.buffer.ydisp,b},y.prototype._getMouseEventScrollAmount=function(p){var b=r.getCoordsRelativeToElement(p,this._screenElement)[1],x=this._renderService.dimensions.canvasHeight;return b>=0&&b<=x?0:(b>x&&(b-=x),b=Math.min(Math.max(b,-50),50),(b/=50)/Math.abs(b)+Math.round(14*b))},y.prototype.shouldForceSelection=function(p){return c.isMac?p.altKey&&this._optionsService.options.macOptionClickForcesSelection:p.shiftKey},y.prototype.onMouseDown=function(p){if(this._mouseDownTimeStamp=p.timeStamp,(p.button!==2||!this.hasSelection)&&p.button===0){if(!this._enabled){if(!this.shouldForceSelection(p))return;p.stopPropagation()}p.preventDefault(),this._dragScrollAmount=0,this._enabled&&p.shiftKey?this._onIncrementalClick(p):p.detail===1?this._onSingleClick(p):p.detail===2?this._onDoubleClick(p):p.detail===3&&this._onTripleClick(p),this._addMouseDownListeners(),this.refresh(!0)}},y.prototype._addMouseDownListeners=function(){var p=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return p._dragScroll()},50)},y.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},y.prototype._onIncrementalClick=function(p){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(p))},y.prototype._onSingleClick=function(p){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(p)?3:0,this._model.selectionStart=this._getMouseBufferCoords(p),this._model.selectionStart){this._model.selectionEnd=void 0;var b=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);b&&b.length!==this._model.selectionStart[0]&&b.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},y.prototype._onDoubleClick=function(p){var b=this._getMouseBufferCoords(p);b&&(this._activeSelectionMode=1,this._selectWordAt(b,!0))},y.prototype._onTripleClick=function(p){var b=this._getMouseBufferCoords(p);b&&(this._activeSelectionMode=2,this._selectLineAt(b[1]))},y.prototype.shouldColumnSelect=function(p){return p.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},y.prototype._onMouseMove=function(p){if(p.stopImmediatePropagation(),this._model.selectionStart){var b=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(p),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(p),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var x=this._bufferService.buffer;if(this._model.selectionEnd[1]<x.lines.length){var S=x.lines.get(this._model.selectionEnd[1]);S&&S.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}b&&b[0]===this._model.selectionEnd[0]&&b[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},y.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var p=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(p.ydisp+this._bufferService.rows,p.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=p.ydisp),this.refresh()}},y.prototype._onMouseUp=function(p){var b=p.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&b<500&&p.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var x=this._mouseService.getCoords(p,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(x&&x[0]!==void 0&&x[1]!==void 0){var S=t.moveToCellSequence(x[0]-1,x[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(S,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},y.prototype._onBufferActivate=function(p){var b=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=p.activeBuffer.lines.onTrim(function(x){return b._onTrim(x)})},y.prototype._convertViewportColToCharacterIndex=function(p,b){for(var x=b[0],S=0;b[0]>=S;S++){var w=p.loadCell(S,this._workCell).getChars().length;this._workCell.getWidth()===0?x--:w>1&&b[0]!==S&&(x+=w-1)}return x},y.prototype.setSelection=function(p,b,x){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[p,b],this._model.selectionStartLength=x,this.refresh()},y.prototype._getWordAt=function(p,b,x,S){if(x===void 0&&(x=!0),S===void 0&&(S=!0),!(p[0]>=this._bufferService.cols)){var w=this._bufferService.buffer,_=w.lines.get(p[1]);if(_){var C=w.translateBufferLineToString(p[1],!1),E=this._convertViewportColToCharacterIndex(_,p),T=E,R=p[0]-E,k=0,P=0,L=0,O=0;if(C.charAt(E)===" "){for(;E>0&&C.charAt(E-1)===" ";)E--;for(;T<C.length&&C.charAt(T+1)===" ";)T++}else{var N=p[0],H=p[0];_.getWidth(N)===0&&(k++,N--),_.getWidth(H)===2&&(P++,H++);var V=_.getString(H).length;for(V>1&&(O+=V-1,T+=V-1);N>0&&E>0&&!this._isCharWordSeparator(_.loadCell(N-1,this._workCell));){_.loadCell(N-1,this._workCell);var B=this._workCell.getChars().length;this._workCell.getWidth()===0?(k++,N--):B>1&&(L+=B-1,E-=B-1),E--,N--}for(;H<_.length&&T+1<C.length&&!this._isCharWordSeparator(_.loadCell(H+1,this._workCell));){_.loadCell(H+1,this._workCell);var te=this._workCell.getChars().length;this._workCell.getWidth()===2?(P++,H++):te>1&&(O+=te-1,T+=te-1),T++,H++}}T++;var ee=E+R-k+L,J=Math.min(this._bufferService.cols,T-E+k+P-L-O);if(b||C.slice(E,T).trim()!==""){if(x&&ee===0&&_.getCodePoint(0)!==32){var Q=w.lines.get(p[1]-1);if(Q&&_.isWrapped&&Q.getCodePoint(this._bufferService.cols-1)!==32){var re=this._getWordAt([this._bufferService.cols-1,p[1]-1],!1,!0,!1);if(re){var Z=this._bufferService.cols-re.start;ee-=Z,J+=Z}}}if(S&&ee+J===this._bufferService.cols&&_.getCodePoint(this._bufferService.cols-1)!==32){var X=w.lines.get(p[1]+1);if(X&&X.isWrapped&&X.getCodePoint(0)!==32){var $=this._getWordAt([0,p[1]+1],!1,!1,!0);$&&(J+=$.length)}}return{start:ee,length:J}}}}},y.prototype._selectWordAt=function(p,b){var x=this._getWordAt(p,b);if(x){for(;x.start<0;)x.start+=this._bufferService.cols,p[1]--;this._model.selectionStart=[x.start,p[1]],this._model.selectionStartLength=x.length}},y.prototype._selectToWordAt=function(p){var b=this._getWordAt(p,!0);if(b){for(var x=p[1];b.start<0;)b.start+=this._bufferService.cols,x--;if(!this._model.areSelectionValuesReversed())for(;b.start+b.length>this._bufferService.cols;)b.length-=this._bufferService.cols,x++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?b.start:b.start+b.length,x]}},y.prototype._isCharWordSeparator=function(p){return p.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(p.getChars())>=0},y.prototype._selectLineAt=function(p){var b=this._bufferService.buffer.getWrappedRangeForLine(p);this._model.selectionStart=[0,b.first],this._model.selectionEnd=[this._bufferService.cols,b.last],this._model.selectionStartLength=0},y=g([v(2,i.IBufferService),v(3,i.ICoreService),v(4,u.IMouseService),v(5,i.IOptionsService),v(6,u.IRenderService)],y)}(n.Disposable);A.SelectionService=m},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SelectionModel=void 0;var z=function(){function e(g){this._bufferService=g,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var g=this.selectionStart[0]+this.selectionStartLength;return g>this._bufferService.cols?[g%this._bufferService.cols,this.selectionStart[1]+Math.floor(g/this._bufferService.cols)]:[g,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var g=this.selectionStart,v=this.selectionEnd;return!(!g||!v)&&(g[1]>v[1]||g[1]===v[1]&&g[0]>v[0])},e.prototype.onTrim=function(g){return this.selectionStart&&(this.selectionStart[1]-=g),this.selectionEnd&&(this.selectionEnd[1]-=g),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();A.SelectionModel=z},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.moveToCellSequence=void 0;var z=D(12);function e(l,u,i,r){var t=l-g(i,l),n=u-g(i,u);return o(Math.abs(t-n)-function(s,d,m){for(var h=0,y=s-g(m,s),p=d-g(m,d),b=0;b<Math.abs(y-p);b++){var x=v(s,d)==="A"?-1:1,S=m.buffer.lines.get(y+x*b);S&&S.isWrapped&&h++}return h}(l,u,i),a(v(l,u),r))}function g(l,u){for(var i=0,r=l.buffer.lines.get(u),t=r&&r.isWrapped;t&&u>=0&&u<l.rows;)i++,t=(r=l.buffer.lines.get(--u))&&r.isWrapped;return i}function v(l,u){return l>u?"A":"B"}function c(l,u,i,r,t,n){for(var s=l,d=u,m="";s!==i||d!==r;)s+=t?1:-1,t&&s>n.cols-1?(m+=n.buffer.translateBufferLineToString(d,!1,l,s),s=0,l=0,d++):!t&&s<0&&(m+=n.buffer.translateBufferLineToString(d,!1,0,l+1),l=s=n.cols-1,d--);return m+n.buffer.translateBufferLineToString(d,!1,l,s)}function a(l,u){var i=u?"O":"[";return z.C0.ESC+i+l}function o(l,u){l=Math.floor(l);for(var i="",r=0;r<l;r++)i+=u;return i}A.moveToCellSequence=function(l,u,i,r){var t,n=i.buffer.x,s=i.buffer.y;if(!i.buffer.hasScrollback)return function(m,h,y,p,b,x){return e(h,p,b,x).length===0?"":o(c(m,h,m,h-g(b,h),!1,b).length,a("D",x))}(n,s,0,u,i,r)+e(s,u,i,r)+function(m,h,y,p,b,x){var S;S=e(h,p,b,x).length>0?p-g(b,p):h;var w=p,_=function(C,E,T,R,k,P){var L;return L=e(T,R,k,P).length>0?R-g(k,R):E,C<T&&L<=R||C>=T&&L<R?"C":"D"}(m,h,y,p,b,x);return o(c(m,S,y,w,_==="C",b).length,a(_,x))}(n,s,l,u,i,r);if(s===u)return t=n>l?"D":"C",o(Math.abs(n-l),a(t,r));t=s>u?"D":"C";var d=Math.abs(s-u);return o(function(m,h){return h.cols-m}(s>u?l:n,i)+(d-1)*i.cols+1+((s>u?n:l)-1),a(t,r))}},function(be,A,D){"use strict";var z=this&&this.__decorate||function(c,a,o,l){var u,i=arguments.length,r=i<3?a:l===null?l=Object.getOwnPropertyDescriptor(a,o):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(c,a,o,l);else for(var t=c.length-1;t>=0;t--)(u=c[t])&&(r=(i<3?u(r):i>3?u(a,o,r):u(a,o))||r);return i>3&&r&&Object.defineProperty(a,o,r),r},e=this&&this.__param||function(c,a){return function(o,l){a(o,l,c)}};Object.defineProperty(A,"__esModule",{value:!0}),A.SoundService=void 0;var g=D(1),v=function(){function c(a){this._optionsService=a}return Object.defineProperty(c,"audioContext",{get:function(){if(!c._audioContext){var a=window.AudioContext||window.webkitAudioContext;if(!a)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;c._audioContext=new a}return c._audioContext},enumerable:!1,configurable:!0}),c.prototype.playBellSound=function(){var a=c.audioContext;if(a){var o=a.createBufferSource();a.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(l){o.buffer=l,o.connect(a.destination),o.start(0)})}},c.prototype._base64ToArrayBuffer=function(a){for(var o=window.atob(a),l=o.length,u=new Uint8Array(l),i=0;i<l;i++)u[i]=o.charCodeAt(i);return u.buffer},c.prototype._removeMimeType=function(a){return a.split(",")[1]},c=z([e(0,g.IOptionsService)],c)}();A.SoundService=v},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(i,r){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])})(i,r)},function(i,r){function t(){this.constructor=i}z(i,r),i.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}),g=this&&this.__decorate||function(i,r,t,n){var s,d=arguments.length,m=d<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(i,r,t,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(m=(d<3?s(m):d>3?s(r,t,m):s(r,t))||m);return d>3&&m&&Object.defineProperty(r,t,m),m},v=this&&this.__param||function(i,r){return function(t,n){r(t,n,i)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseZoneManager=void 0;var c=D(2),a=D(7),o=D(5),l=D(1),u=function(i){function r(t,n,s,d,m,h){var y=i.call(this)||this;return y._element=t,y._screenElement=n,y._bufferService=s,y._mouseService=d,y._selectionService=m,y._optionsService=h,y._zones=[],y._areZonesActive=!1,y._lastHoverCoords=[void 0,void 0],y._initialSelectionLength=0,y.register(a.addDisposableDomListener(y._element,"mousedown",function(p){return y._onMouseDown(p)})),y._mouseMoveListener=function(p){return y._onMouseMove(p)},y._mouseLeaveListener=function(p){return y._onMouseLeave(p)},y._clickListener=function(p){return y._onClick(p)},y}return e(r,i),r.prototype.dispose=function(){i.prototype.dispose.call(this),this._deactivate()},r.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},r.prototype.clearAll=function(t,n){if(this._zones.length!==0){t&&n||(t=0,n=this._bufferService.rows-1);for(var s=0;s<this._zones.length;s++){var d=this._zones[s];(d.y1>t&&d.y1<=n+1||d.y2>t&&d.y2<=n+1||d.y1<t&&d.y2>n+1)&&(this._currentZone&&this._currentZone===d&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(s--,1))}this._zones.length===0&&this._deactivate()}},r.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},r.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},r.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},r.prototype._onHover=function(t){var n=this,s=this._findZoneEventAt(t);s!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),s&&(this._currentZone=s,s.hoverCallback&&s.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return n._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},r.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var n=this._findZoneEventAt(t);n&&n.tooltipCallback&&n.tooltipCallback(t)},r.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var n=this._findZoneEventAt(t);n!=null&&n.willLinkActivate(t)&&(t.preventDefault(),t.stopImmediatePropagation())}},r.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},r.prototype._onClick=function(t){var n=this._findZoneEventAt(t),s=this._getSelectionLength();n&&s===this._initialSelectionLength&&(n.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},r.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},r.prototype._findZoneEventAt=function(t){var n=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(n)for(var s=n[0],d=n[1],m=0;m<this._zones.length;m++){var h=this._zones[m];if(h.y1===h.y2){if(d===h.y1&&s>=h.x1&&s<h.x2)return h}else if(d===h.y1&&s>=h.x1||d===h.y2&&s<h.x2||d>h.y1&&d<h.y2)return h}},r=g([v(2,l.IBufferService),v(3,o.IMouseService),v(4,o.ISelectionService),v(5,l.IOptionsService)],r)}(c.Disposable);A.MouseZoneManager=u},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(r,t){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var d in s)s.hasOwnProperty(d)&&(n[d]=s[d])})(r,t)},function(r,t){function n(){this.constructor=r}z(r,t),r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(A,"__esModule",{value:!0}),A.AccessibilityManager=void 0;var g=D(18),v=D(11),c=D(31),a=D(7),o=D(2),l=D(32),u=D(17),i=function(r){function t(n,s){var d=r.call(this)||this;d._terminal=n,d._renderService=s,d._liveRegionLineCount=0,d._charsToConsume=[],d._charsToAnnounce="",d._accessibilityTreeRoot=document.createElement("div"),d._accessibilityTreeRoot.classList.add("xterm-accessibility"),d._rowContainer=document.createElement("div"),d._rowContainer.classList.add("xterm-accessibility-tree"),d._rowContainer.setAttribute("role","list"),d._rowElements=[];for(var m=0;m<d._terminal.rows;m++)d._rowElements[m]=d._createAccessibilityTreeNode(),d._rowContainer.appendChild(d._rowElements[m]);if(d._topBoundaryFocusListener=function(h){return d._onBoundaryFocus(h,0)},d._bottomBoundaryFocusListener=function(h){return d._onBoundaryFocus(h,1)},d._rowElements[0].addEventListener("focus",d._topBoundaryFocusListener),d._rowElements[d._rowElements.length-1].addEventListener("focus",d._bottomBoundaryFocusListener),d._refreshRowsDimensions(),d._accessibilityTreeRoot.appendChild(d._rowContainer),d._renderRowsDebouncer=new c.RenderDebouncer(d._renderRows.bind(d)),d._refreshRows(),d._liveRegion=document.createElement("div"),d._liveRegion.classList.add("live-region"),d._liveRegion.setAttribute("aria-live","assertive"),d._accessibilityTreeRoot.appendChild(d._liveRegion),!d._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return d._terminal.element.insertAdjacentElement("afterbegin",d._accessibilityTreeRoot),d.register(d._renderRowsDebouncer),d.register(d._terminal.onResize(function(h){return d._onResize(h.rows)})),d.register(d._terminal.onRender(function(h){return d._refreshRows(h.start,h.end)})),d.register(d._terminal.onScroll(function(){return d._refreshRows()})),d.register(d._terminal.onA11yChar(function(h){return d._onChar(h)})),d.register(d._terminal.onLineFeed(function(){return d._onChar(`
`)})),d.register(d._terminal.onA11yTab(function(h){return d._onTab(h)})),d.register(d._terminal.onKey(function(h){return d._onKey(h.key)})),d.register(d._terminal.onBlur(function(){return d._clearLiveRegion()})),d.register(d._renderService.onDimensionsChange(function(){return d._refreshRowsDimensions()})),d._screenDprMonitor=new l.ScreenDprMonitor,d.register(d._screenDprMonitor),d._screenDprMonitor.setListener(function(){return d._refreshRowsDimensions()}),d.register(a.addDisposableDomListener(window,"resize",function(){return d._refreshRowsDimensions()})),d}return e(t,r),t.prototype.dispose=function(){r.prototype.dispose.call(this),u.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(n,s){var d=n.target,m=this._rowElements[s===0?1:this._rowElements.length-2];if(d.getAttribute("aria-posinset")!==(s===0?"1":""+this._terminal.buffer.lines.length)&&n.relatedTarget===m){var h,y;if(s===0?(h=d,y=this._rowElements.pop(),this._rowContainer.removeChild(y)):(h=this._rowElements.shift(),y=d,this._rowContainer.removeChild(h)),h.removeEventListener("focus",this._topBoundaryFocusListener),y.removeEventListener("focus",this._bottomBoundaryFocusListener),s===0){var p=this._createAccessibilityTreeNode();this._rowElements.unshift(p),this._rowContainer.insertAdjacentElement("afterbegin",p)}else p=this._createAccessibilityTreeNode(),this._rowElements.push(p),this._rowContainer.appendChild(p);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(s===0?-1:1),this._rowElements[s===0?1:this._rowElements.length-2].focus(),n.preventDefault(),n.stopImmediatePropagation()}},t.prototype._onResize=function(n){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var s=this._rowContainer.children.length;s<this._terminal.rows;s++)this._rowElements[s]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[s]);for(;this._rowElements.length>n;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var n=document.createElement("div");return n.setAttribute("role","listitem"),n.tabIndex=-1,this._refreshRowDimensions(n),n},t.prototype._onTab=function(n){for(var s=0;s<n;s++)this._onChar(" ")},t.prototype._onChar=function(n){var s=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==n&&(this._charsToAnnounce+=n):this._charsToAnnounce+=n,n===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=g.tooMuchOutput)),v.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){s._accessibilityTreeRoot.appendChild(s._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,v.isMac&&u.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(n){this._clearLiveRegion(),this._charsToConsume.push(n)},t.prototype._refreshRows=function(n,s){this._renderRowsDebouncer.refresh(n,s,this._terminal.rows)},t.prototype._renderRows=function(n,s){for(var d=this._terminal.buffer,m=d.lines.length.toString(),h=n;h<=s;h++){var y=d.translateBufferLineToString(d.ydisp+h,!0),p=(d.ydisp+h+1).toString(),b=this._rowElements[h];b&&(y.length===0?b.innerHTML="&nbsp;":b.textContent=y,b.setAttribute("aria-posinset",p),b.setAttribute("aria-setsize",m))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var n=0;n<this._terminal.rows;n++)this._refreshRowDimensions(this._rowElements[n])}},t.prototype._refreshRowDimensions=function(n){n.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(o.Disposable);A.AccessibilityManager=i},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(d,m){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,y){h.__proto__=y}||function(h,y){for(var p in y)y.hasOwnProperty(p)&&(h[p]=y[p])})(d,m)},function(d,m){function h(){this.constructor=d}z(d,m),d.prototype=m===null?Object.create(m):(h.prototype=m.prototype,new h)}),g=this&&this.__decorate||function(d,m,h,y){var p,b=arguments.length,x=b<3?m:y===null?y=Object.getOwnPropertyDescriptor(m,h):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(d,m,h,y);else for(var S=d.length-1;S>=0;S--)(p=d[S])&&(x=(b<3?p(x):b>3?p(m,h,x):p(m,h))||x);return b>3&&x&&Object.defineProperty(m,h,x),x},v=this&&this.__param||function(d,m){return function(h,y){m(h,y,d)}};Object.defineProperty(A,"__esModule",{value:!0}),A.DomRenderer=void 0;var c=D(58),a=D(9),o=D(2),l=D(5),u=D(1),i=D(0),r=D(10),t=D(17),n=1,s=function(d){function m(h,y,p,b,x,S,w,_,C){var E=d.call(this)||this;return E._colors=h,E._element=y,E._screenElement=p,E._viewportElement=b,E._linkifier=x,E._linkifier2=S,E._charSizeService=w,E._optionsService=_,E._bufferService=C,E._terminalClass=n++,E._rowElements=[],E._rowContainer=document.createElement("div"),E._rowContainer.classList.add("xterm-rows"),E._rowContainer.style.lineHeight="normal",E._rowContainer.setAttribute("aria-hidden","true"),E._refreshRowElements(E._bufferService.cols,E._bufferService.rows),E._selectionContainer=document.createElement("div"),E._selectionContainer.classList.add("xterm-selection"),E._selectionContainer.setAttribute("aria-hidden","true"),E.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},E._updateDimensions(),E._injectCss(),E._rowFactory=new c.DomRendererRowFactory(document,E._optionsService,E._colors),E._element.classList.add("xterm-dom-renderer-owner-"+E._terminalClass),E._screenElement.appendChild(E._rowContainer),E._screenElement.appendChild(E._selectionContainer),E._linkifier.onShowLinkUnderline(function(T){return E._onLinkHover(T)}),E._linkifier.onHideLinkUnderline(function(T){return E._onLinkLeave(T)}),E._linkifier2.onShowLinkUnderline(function(T){return E._onLinkHover(T)}),E._linkifier2.onHideLinkUnderline(function(T){return E._onLinkLeave(T)}),E}return e(m,d),Object.defineProperty(m.prototype,"onRequestRedraw",{get:function(){return new i.EventEmitter().event},enumerable:!1,configurable:!0}),m.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),d.prototype.dispose.call(this)},m.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var h=0,y=this._rowElements;h<y.length;h++){var p=y[h];p.style.width=this.dimensions.canvasWidth+"px",p.style.height=this.dimensions.actualCellHeight+"px",p.style.lineHeight=this.dimensions.actualCellHeight+"px",p.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var b=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=b,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},m.prototype.setColors=function(h){this._colors=h,this._injectCss()},m.prototype._injectCss=function(){var h=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var y=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";y+=this._terminalSelector+" span:not(."+c.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+c.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+c.ITALIC_CLASS+" { font-style: italic;}",y+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",y+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",y+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+":not(."+c.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",y+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(p,b){y+=h._terminalSelector+" .xterm-fg-"+b+" { color: "+p.css+"; }"+h._terminalSelector+" .xterm-bg-"+b+" { background-color: "+p.css+"; }"}),y+=this._terminalSelector+" .xterm-fg-"+a.INVERTED_DEFAULT_COLOR+" { color: "+r.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+a.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=y},m.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},m.prototype._refreshRowElements=function(h,y){for(var p=this._rowElements.length;p<=y;p++){var b=document.createElement("div");this._rowContainer.appendChild(b),this._rowElements.push(b)}for(;this._rowElements.length>y;)this._rowContainer.removeChild(this._rowElements.pop())},m.prototype.onResize=function(h,y){this._refreshRowElements(h,y),this._updateDimensions()},m.prototype.onCharSizeChanged=function(){this._updateDimensions()},m.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},m.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},m.prototype.onSelectionChanged=function(h,y,p){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(h&&y){var b=h[1]-this._bufferService.buffer.ydisp,x=y[1]-this._bufferService.buffer.ydisp,S=Math.max(b,0),w=Math.min(x,this._bufferService.rows-1);if(!(S>=this._bufferService.rows||w<0)){var _=document.createDocumentFragment();if(p)_.appendChild(this._createSelectionElement(S,h[0],y[0],w-S+1));else{var C=b===S?h[0]:0,E=S===w?y[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(S,C,E));var T=w-S-1;if(_.appendChild(this._createSelectionElement(S+1,0,this._bufferService.cols,T)),S!==w){var R=x===w?y[0]:this._bufferService.cols;_.appendChild(this._createSelectionElement(w,0,R))}}this._selectionContainer.appendChild(_)}}},m.prototype._createSelectionElement=function(h,y,p,b){b===void 0&&(b=1);var x=document.createElement("div");return x.style.height=b*this.dimensions.actualCellHeight+"px",x.style.top=h*this.dimensions.actualCellHeight+"px",x.style.left=y*this.dimensions.actualCellWidth+"px",x.style.width=this.dimensions.actualCellWidth*(p-y)+"px",x},m.prototype.onCursorMove=function(){},m.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},m.prototype.clear=function(){for(var h=0,y=this._rowElements;h<y.length;h++)y[h].innerHTML=""},m.prototype.renderRows=function(h,y){for(var p=this._bufferService.buffer.ybase+this._bufferService.buffer.y,b=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),x=this._optionsService.options.cursorBlink,S=h;S<=y;S++){var w=this._rowElements[S];w.innerHTML="";var _=S+this._bufferService.buffer.ydisp,C=this._bufferService.buffer.lines.get(_),E=this._optionsService.options.cursorStyle;w.appendChild(this._rowFactory.createRow(C,_===p,E,b,x,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(m.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),m.prototype.registerCharacterJoiner=function(h){return-1},m.prototype.deregisterCharacterJoiner=function(h){return!1},m.prototype._onLinkHover=function(h){this._setCellUnderline(h.x1,h.x2,h.y1,h.y2,h.cols,!0)},m.prototype._onLinkLeave=function(h){this._setCellUnderline(h.x1,h.x2,h.y1,h.y2,h.cols,!1)},m.prototype._setCellUnderline=function(h,y,p,b,x,S){for(;h!==y||p!==b;){var w=this._rowElements[p];if(!w)return;var _=w.children[h];_&&(_.style.textDecoration=S?"underline":"none"),++h>=x&&(h=0,p++)}},m=g([v(6,l.ICharSizeService),v(7,u.IOptionsService),v(8,u.IBufferService)],m)}(o.Disposable);A.DomRenderer=s},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.DomRendererRowFactory=A.CURSOR_STYLE_UNDERLINE_CLASS=A.CURSOR_STYLE_BAR_CLASS=A.CURSOR_STYLE_BLOCK_CLASS=A.CURSOR_BLINK_CLASS=A.CURSOR_CLASS=A.UNDERLINE_CLASS=A.ITALIC_CLASS=A.DIM_CLASS=A.BOLD_CLASS=void 0;var z=D(9),e=D(3),g=D(4),v=D(10);A.BOLD_CLASS="xterm-bold",A.DIM_CLASS="xterm-dim",A.ITALIC_CLASS="xterm-italic",A.UNDERLINE_CLASS="xterm-underline",A.CURSOR_CLASS="xterm-cursor",A.CURSOR_BLINK_CLASS="xterm-cursor-blink",A.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",A.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",A.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var c=function(){function o(l,u,i){this._document=l,this._optionsService=u,this._colors=i,this._workCell=new g.CellData}return o.prototype.setColors=function(l){this._colors=l},o.prototype.createRow=function(l,u,i,r,t,n,s){for(var d=this._document.createDocumentFragment(),m=0,h=Math.min(l.length,s)-1;h>=0;h--)if(l.loadCell(h,this._workCell).getCode()!==e.NULL_CELL_CODE||u&&h===r){m=h+1;break}for(h=0;h<m;h++){l.loadCell(h,this._workCell);var y=this._workCell.getWidth();if(y!==0){var p=this._document.createElement("span");if(y>1&&(p.style.width=n*y+"px"),u&&h===r)switch(p.classList.add(A.CURSOR_CLASS),t&&p.classList.add(A.CURSOR_BLINK_CLASS),i){case"bar":p.classList.add(A.CURSOR_STYLE_BAR_CLASS);break;case"underline":p.classList.add(A.CURSOR_STYLE_UNDERLINE_CLASS);break;default:p.classList.add(A.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&p.classList.add(A.BOLD_CLASS),this._workCell.isItalic()&&p.classList.add(A.ITALIC_CLASS),this._workCell.isDim()&&p.classList.add(A.DIM_CLASS),this._workCell.isUnderline()&&p.classList.add(A.UNDERLINE_CLASS),this._workCell.isInvisible()?p.textContent=e.WHITESPACE_CELL_CHAR:p.textContent=this._workCell.getChars()||e.WHITESPACE_CELL_CHAR;var b=this._workCell.getFgColor(),x=this._workCell.getFgColorMode(),S=this._workCell.getBgColor(),w=this._workCell.getBgColorMode(),_=!!this._workCell.isInverse();if(_){var C=b;b=S,S=C;var E=x;x=w,w=E}switch(x){case 16777216:case 33554432:this._workCell.isBold()&&b<8&&this._optionsService.options.drawBoldTextInBrightColors&&(b+=8),this._applyMinimumContrast(p,this._colors.background,this._colors.ansi[b])||p.classList.add("xterm-fg-"+b);break;case 50331648:var T=v.rgba.toColor(b>>16&255,b>>8&255,255&b);this._applyMinimumContrast(p,this._colors.background,T)||this._addStyle(p,"color:#"+a(b.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(p,this._colors.background,this._colors.foreground)||_&&p.classList.add("xterm-fg-"+z.INVERTED_DEFAULT_COLOR)}switch(w){case 16777216:case 33554432:p.classList.add("xterm-bg-"+S);break;case 50331648:this._addStyle(p,"background-color:#"+a(S.toString(16),"0",6));break;case 0:default:_&&p.classList.add("xterm-bg-"+z.INVERTED_DEFAULT_COLOR)}d.appendChild(p)}}return d},o.prototype._applyMinimumContrast=function(l,u,i){if(this._optionsService.options.minimumContrastRatio===1)return!1;var r=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return r===void 0&&(r=v.color.ensureContrastRatio(u,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,r!=null?r:null)),!!r&&(this._addStyle(l,"color:"+r.css),!0)},o.prototype._addStyle=function(l,u){l.setAttribute("style",""+(l.getAttribute("style")||"")+u+";")},o}();function a(o,l,u){for(;o.length<u;)o=l+o;return o}A.DomRendererRowFactory=c},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.evaluateKeyboardEvent=void 0;var z=D(12),e={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};A.evaluateKeyboardEvent=function(g,v,c,a){var o={type:0,cancel:!1,key:void 0},l=(g.shiftKey?1:0)|(g.altKey?2:0)|(g.ctrlKey?4:0)|(g.metaKey?8:0);switch(g.keyCode){case 0:g.key==="UIKeyInputUpArrow"?o.key=v?z.C0.ESC+"OA":z.C0.ESC+"[A":g.key==="UIKeyInputLeftArrow"?o.key=v?z.C0.ESC+"OD":z.C0.ESC+"[D":g.key==="UIKeyInputRightArrow"?o.key=v?z.C0.ESC+"OC":z.C0.ESC+"[C":g.key==="UIKeyInputDownArrow"&&(o.key=v?z.C0.ESC+"OB":z.C0.ESC+"[B");break;case 8:if(g.shiftKey){o.key=z.C0.BS;break}if(g.altKey){o.key=z.C0.ESC+z.C0.DEL;break}o.key=z.C0.DEL;break;case 9:if(g.shiftKey){o.key=z.C0.ESC+"[Z";break}o.key=z.C0.HT,o.cancel=!0;break;case 13:o.key=g.altKey?z.C0.ESC+z.C0.CR:z.C0.CR,o.cancel=!0;break;case 27:o.key=z.C0.ESC,g.altKey&&(o.key=z.C0.ESC+z.C0.ESC),o.cancel=!0;break;case 37:if(g.metaKey)break;l?(o.key=z.C0.ESC+"[1;"+(l+1)+"D",o.key===z.C0.ESC+"[1;3D"&&(o.key=z.C0.ESC+(c?"b":"[1;5D"))):o.key=v?z.C0.ESC+"OD":z.C0.ESC+"[D";break;case 39:if(g.metaKey)break;l?(o.key=z.C0.ESC+"[1;"+(l+1)+"C",o.key===z.C0.ESC+"[1;3C"&&(o.key=z.C0.ESC+(c?"f":"[1;5C"))):o.key=v?z.C0.ESC+"OC":z.C0.ESC+"[C";break;case 38:if(g.metaKey)break;l?(o.key=z.C0.ESC+"[1;"+(l+1)+"A",c||o.key!==z.C0.ESC+"[1;3A"||(o.key=z.C0.ESC+"[1;5A")):o.key=v?z.C0.ESC+"OA":z.C0.ESC+"[A";break;case 40:if(g.metaKey)break;l?(o.key=z.C0.ESC+"[1;"+(l+1)+"B",c||o.key!==z.C0.ESC+"[1;3B"||(o.key=z.C0.ESC+"[1;5B")):o.key=v?z.C0.ESC+"OB":z.C0.ESC+"[B";break;case 45:g.shiftKey||g.ctrlKey||(o.key=z.C0.ESC+"[2~");break;case 46:o.key=l?z.C0.ESC+"[3;"+(l+1)+"~":z.C0.ESC+"[3~";break;case 36:o.key=l?z.C0.ESC+"[1;"+(l+1)+"H":v?z.C0.ESC+"OH":z.C0.ESC+"[H";break;case 35:o.key=l?z.C0.ESC+"[1;"+(l+1)+"F":v?z.C0.ESC+"OF":z.C0.ESC+"[F";break;case 33:g.shiftKey?o.type=2:o.key=z.C0.ESC+"[5~";break;case 34:g.shiftKey?o.type=3:o.key=z.C0.ESC+"[6~";break;case 112:o.key=l?z.C0.ESC+"[1;"+(l+1)+"P":z.C0.ESC+"OP";break;case 113:o.key=l?z.C0.ESC+"[1;"+(l+1)+"Q":z.C0.ESC+"OQ";break;case 114:o.key=l?z.C0.ESC+"[1;"+(l+1)+"R":z.C0.ESC+"OR";break;case 115:o.key=l?z.C0.ESC+"[1;"+(l+1)+"S":z.C0.ESC+"OS";break;case 116:o.key=l?z.C0.ESC+"[15;"+(l+1)+"~":z.C0.ESC+"[15~";break;case 117:o.key=l?z.C0.ESC+"[17;"+(l+1)+"~":z.C0.ESC+"[17~";break;case 118:o.key=l?z.C0.ESC+"[18;"+(l+1)+"~":z.C0.ESC+"[18~";break;case 119:o.key=l?z.C0.ESC+"[19;"+(l+1)+"~":z.C0.ESC+"[19~";break;case 120:o.key=l?z.C0.ESC+"[20;"+(l+1)+"~":z.C0.ESC+"[20~";break;case 121:o.key=l?z.C0.ESC+"[21;"+(l+1)+"~":z.C0.ESC+"[21~";break;case 122:o.key=l?z.C0.ESC+"[23;"+(l+1)+"~":z.C0.ESC+"[23~";break;case 123:o.key=l?z.C0.ESC+"[24;"+(l+1)+"~":z.C0.ESC+"[24~";break;default:if(!g.ctrlKey||g.shiftKey||g.altKey||g.metaKey)if(c&&!a||!g.altKey||g.metaKey)c&&!g.altKey&&!g.ctrlKey&&g.metaKey?g.keyCode===65&&(o.type=1):g.key&&!g.ctrlKey&&!g.altKey&&!g.metaKey&&g.keyCode>=48&&g.key.length===1?o.key=g.key:g.key&&g.ctrlKey&&g.key==="_"&&(o.key=z.C0.US);else{var u=e[g.keyCode],i=u&&u[g.shiftKey?1:0];if(i)o.key=z.C0.ESC+i;else if(g.keyCode>=65&&g.keyCode<=90){var r=g.ctrlKey?g.keyCode-64:g.keyCode+32;o.key=z.C0.ESC+String.fromCharCode(r)}}else g.keyCode>=65&&g.keyCode<=90?o.key=String.fromCharCode(g.keyCode-64):g.keyCode===32?o.key=z.C0.NUL:g.keyCode>=51&&g.keyCode<=55?o.key=String.fromCharCode(g.keyCode-51+27):g.keyCode===56?o.key=z.C0.DEL:g.keyCode===219?o.key=z.C0.ESC:g.keyCode===220?o.key=z.C0.FS:g.keyCode===221&&(o.key=z.C0.GS)}return o}},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(n,s){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var h in m)m.hasOwnProperty(h)&&(d[h]=m[h])})(n,s)},function(n,s){function d(){this.constructor=n}z(n,s),n.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}),g=this&&this.__decorate||function(n,s,d,m){var h,y=arguments.length,p=y<3?s:m===null?m=Object.getOwnPropertyDescriptor(s,d):m;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(n,s,d,m);else for(var b=n.length-1;b>=0;b--)(h=n[b])&&(p=(y<3?h(p):y>3?h(s,d,p):h(s,d))||p);return y>3&&p&&Object.defineProperty(s,d,p),p},v=this&&this.__param||function(n,s){return function(d,m){s(d,m,n)}};Object.defineProperty(A,"__esModule",{value:!0}),A.RenderService=void 0;var c=D(31),a=D(0),o=D(2),l=D(32),u=D(7),i=D(1),r=D(5),t=function(n){function s(d,m,h,y,p,b){var x=n.call(this)||this;if(x._renderer=d,x._rowCount=m,x._isPaused=!1,x._needsFullRefresh=!1,x._isNextRenderRedrawOnly=!0,x._needsSelectionRefresh=!1,x._canvasWidth=0,x._canvasHeight=0,x._selectionState={start:void 0,end:void 0,columnSelectMode:!1},x._onDimensionsChange=new a.EventEmitter,x._onRender=new a.EventEmitter,x._onRefreshRequest=new a.EventEmitter,x.register({dispose:function(){return x._renderer.dispose()}}),x._renderDebouncer=new c.RenderDebouncer(function(w,_){return x._renderRows(w,_)}),x.register(x._renderDebouncer),x._screenDprMonitor=new l.ScreenDprMonitor,x._screenDprMonitor.setListener(function(){return x.onDevicePixelRatioChange()}),x.register(x._screenDprMonitor),x.register(b.onResize(function(w){return x._fullRefresh()})),x.register(y.onOptionChange(function(){return x._renderer.onOptionsChanged()})),x.register(p.onCharSizeChange(function(){return x.onCharSizeChanged()})),x._renderer.onRequestRedraw(function(w){return x.refreshRows(w.start,w.end,!0)}),x.register(u.addDisposableDomListener(window,"resize",function(){return x.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var S=new IntersectionObserver(function(w){return x._onIntersectionChange(w[w.length-1])},{threshold:0});S.observe(h),x.register({dispose:function(){return S.disconnect()}})}return x}return e(s,n),Object.defineProperty(s.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),s.prototype._onIntersectionChange=function(d){this._isPaused=d.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},s.prototype.refreshRows=function(d,m,h){h===void 0&&(h=!1),this._isPaused?this._needsFullRefresh=!0:(h||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(d,m,this._rowCount))},s.prototype._renderRows=function(d,m){this._renderer.renderRows(d,m),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:d,end:m}),this._isNextRenderRedrawOnly=!0},s.prototype.resize=function(d,m){this._rowCount=m,this._fireOnCanvasResize()},s.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},s.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},s.prototype.dispose=function(){n.prototype.dispose.call(this)},s.prototype.setRenderer=function(d){var m=this;this._renderer.dispose(),this._renderer=d,this._renderer.onRequestRedraw(function(h){return m.refreshRows(h.start,h.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},s.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},s.prototype.setColors=function(d){this._renderer.setColors(d),this._fullRefresh()},s.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},s.prototype.onResize=function(d,m){this._renderer.onResize(d,m),this._fullRefresh()},s.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},s.prototype.onBlur=function(){this._renderer.onBlur()},s.prototype.onFocus=function(){this._renderer.onFocus()},s.prototype.onSelectionChanged=function(d,m,h){this._selectionState.start=d,this._selectionState.end=m,this._selectionState.columnSelectMode=h,this._renderer.onSelectionChanged(d,m,h)},s.prototype.onCursorMove=function(){this._renderer.onCursorMove()},s.prototype.clear=function(){this._renderer.clear()},s.prototype.registerCharacterJoiner=function(d){return this._renderer.registerCharacterJoiner(d)},s.prototype.deregisterCharacterJoiner=function(d){return this._renderer.deregisterCharacterJoiner(d)},s=g([v(3,i.IOptionsService),v(4,r.ICharSizeService),v(5,i.IBufferService)],s)}(o.Disposable);A.RenderService=t},function(be,A,D){"use strict";var z=this&&this.__decorate||function(o,l,u,i){var r,t=arguments.length,n=t<3?l:i===null?i=Object.getOwnPropertyDescriptor(l,u):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,l,u,i);else for(var s=o.length-1;s>=0;s--)(r=o[s])&&(n=(t<3?r(n):t>3?r(l,u,n):r(l,u))||n);return t>3&&n&&Object.defineProperty(l,u,n),n},e=this&&this.__param||function(o,l){return function(u,i){l(u,i,o)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CharSizeService=void 0;var g=D(1),v=D(0),c=function(){function o(l,u,i){this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new v.EventEmitter,this._measureStrategy=new a(l,u,this._optionsService)}return Object.defineProperty(o.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),o.prototype.measure=function(){var l=this._measureStrategy.measure();l.width===this.width&&l.height===this.height||(this.width=l.width,this.height=l.height,this._onCharSizeChange.fire())},o=z([e(2,g.IOptionsService)],o)}();A.CharSizeService=c;var a=function(){function o(l,u,i){this._document=l,this._parentElement=u,this._optionsService=i,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return o.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var l=this._measureElement.getBoundingClientRect();return l.width!==0&&l.height!==0&&(this._result.width=l.width,this._result.height=Math.ceil(l.height)),this._result},o}()},function(be,A,D){"use strict";var z=this&&this.__decorate||function(a,o,l,u){var i,r=arguments.length,t=r<3?o:u===null?u=Object.getOwnPropertyDescriptor(o,l):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(a,o,l,u);else for(var n=a.length-1;n>=0;n--)(i=a[n])&&(t=(r<3?i(t):r>3?i(o,l,t):i(o,l))||t);return r>3&&t&&Object.defineProperty(o,l,t),t},e=this&&this.__param||function(a,o){return function(l,u){o(l,u,a)}};Object.defineProperty(A,"__esModule",{value:!0}),A.MouseService=void 0;var g=D(5),v=D(30),c=function(){function a(o,l){this._renderService=o,this._charSizeService=l}return a.prototype.getCoords=function(o,l,u,i,r){return v.getCoords(o,l,u,i,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,r)},a.prototype.getRawByteCoords=function(o,l,u,i){var r=this.getCoords(o,l,u,i);return v.getRawByteCoords(r)},a=z([e(0,g.IRenderService),e(1,g.ICharSizeService)],a)}();A.MouseService=c},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(i,r){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])})(i,r)},function(i,r){function t(){this.constructor=i}z(i,r),i.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}),g=this&&this.__decorate||function(i,r,t,n){var s,d=arguments.length,m=d<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(i,r,t,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(m=(d<3?s(m):d>3?s(r,t,m):s(r,t))||m);return d>3&&m&&Object.defineProperty(r,t,m),m},v=this&&this.__param||function(i,r){return function(t,n){r(t,n,i)}};Object.defineProperty(A,"__esModule",{value:!0}),A.Linkifier2=void 0;var c=D(1),a=D(0),o=D(2),l=D(7),u=function(i){function r(t){var n=i.call(this)||this;return n._bufferService=t,n._linkProviders=[],n._linkCacheDisposables=[],n._isMouseOut=!0,n._activeLine=-1,n._onShowLinkUnderline=n.register(new a.EventEmitter),n._onHideLinkUnderline=n.register(new a.EventEmitter),n.register(o.getDisposeArrayDisposable(n._linkCacheDisposables)),n}return e(r,i),Object.defineProperty(r.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),r.prototype.registerLinkProvider=function(t){var n=this;return this._linkProviders.push(t),{dispose:function(){var s=n._linkProviders.indexOf(t);s!==-1&&n._linkProviders.splice(s,1)}}},r.prototype.attachToDom=function(t,n,s){var d=this;this._element=t,this._mouseService=n,this._renderService=s,this.register(l.addDisposableDomListener(this._element,"mouseleave",function(){d._isMouseOut=!0,d._clearCurrentLink()})),this.register(l.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(l.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},r.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var n=this._positionFromMouseEvent(t,this._element,this._mouseService);if(n){this._isMouseOut=!1;for(var s=t.composedPath(),d=0;d<s.length;d++){var m=s[d];if(m.classList.contains("xterm"))break;if(m.classList.contains("xterm-hover"))return}this._lastBufferCell&&n.x===this._lastBufferCell.x&&n.y===this._lastBufferCell.y||(this._onHover(n),this._lastBufferCell=n)}}},r.prototype._onHover=function(t){if(this._activeLine!==t.y)return this._clearCurrentLink(),void this._askForLink(t,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))},r.prototype._askForLink=function(t,n){var s=this;this._activeProviderReplies&&n||(this._activeProviderReplies=new Map,this._activeLine=t.y);var d=!1;this._linkProviders.forEach(function(m,h){var y;n?!((y=s._activeProviderReplies)===null||y===void 0)&&y.get(h)&&(d=s._checkLinkProviderResult(h,t,d)):m.provideLinks(t.y,function(p){var b,x;if(!s._isMouseOut){var S=p==null?void 0:p.map(function(w){return{link:w}});(b=s._activeProviderReplies)===null||b===void 0||b.set(h,S),d=s._checkLinkProviderResult(h,t,d),((x=s._activeProviderReplies)===null||x===void 0?void 0:x.size)===s._linkProviders.length&&s._removeIntersectingLinks(t.y,s._activeProviderReplies)}})})},r.prototype._removeIntersectingLinks=function(t,n){for(var s=new Set,d=0;d<n.size;d++){var m=n.get(d);if(m)for(var h=0;h<m.length;h++)for(var y=m[h],p=y.link.range.start.y<t?0:y.link.range.start.x,b=y.link.range.end.y>t?this._bufferService.cols:y.link.range.end.x,x=p;x<=b;x++){if(s.has(x)){m.splice(h--,1);break}s.add(x)}}},r.prototype._checkLinkProviderResult=function(t,n,s){var d,m=this;if(!this._activeProviderReplies)return s;for(var h=this._activeProviderReplies.get(t),y=!1,p=0;p<t;p++)this._activeProviderReplies.has(p)&&!this._activeProviderReplies.get(p)||(y=!0);if(!y&&h){var b=h.find(function(S){return m._linkAtPosition(S.link,n)});b&&(s=!0,this._handleNewLink(b))}if(this._activeProviderReplies.size===this._linkProviders.length&&!s)for(p=0;p<this._activeProviderReplies.size;p++){var x=(d=this._activeProviderReplies.get(p))===null||d===void 0?void 0:d.find(function(S){return m._linkAtPosition(S.link,n)});if(x){s=!0,this._handleNewLink(x);break}}return s},r.prototype._onClick=function(t){if(this._element&&this._mouseService&&this._currentLink){var n=this._positionFromMouseEvent(t,this._element,this._mouseService);n&&this._linkAtPosition(this._currentLink.link,n)&&this._currentLink.link.activate(t,this._currentLink.link.text)}},r.prototype._clearCurrentLink=function(t,n){this._element&&this._currentLink&&this._lastMouseEvent&&(!t||!n||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=n)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,o.disposeArray(this._linkCacheDisposables))},r.prototype._handleNewLink=function(t){var n=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var s=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);s&&this._linkAtPosition(t.link,s)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var d,m;return(m=(d=n._currentLink)===null||d===void 0?void 0:d.state)===null||m===void 0?void 0:m.decorations.pointerCursor},set:function(d){var m,h;!((m=n._currentLink)===null||m===void 0)&&m.state&&n._currentLink.state.decorations.pointerCursor!==d&&(n._currentLink.state.decorations.pointerCursor=d,n._currentLink.state.isHovered&&((h=n._element)===null||h===void 0||h.classList.toggle("xterm-cursor-pointer",d)))}},underline:{get:function(){var d,m;return(m=(d=n._currentLink)===null||d===void 0?void 0:d.state)===null||m===void 0?void 0:m.decorations.underline},set:function(d){var m,h,y;!((m=n._currentLink)===null||m===void 0)&&m.state&&((y=(h=n._currentLink)===null||h===void 0?void 0:h.state)===null||y===void 0?void 0:y.decorations.underline)!==d&&(n._currentLink.state.decorations.underline=d,n._currentLink.state.isHovered&&n._fireUnderlineEvent(t.link,d))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(d){var m=d.start===0?0:d.start+1+n._bufferService.buffer.ydisp;n._clearCurrentLink(m,d.end+1+n._bufferService.buffer.ydisp)})))}},r.prototype._linkHover=function(t,n,s){var d;!((d=this._currentLink)===null||d===void 0)&&d.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(n,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),n.hover&&n.hover(s,n.text)},r.prototype._fireUnderlineEvent=function(t,n){var s=t.range,d=this._bufferService.buffer.ydisp,m=this._createLinkUnderlineEvent(s.start.x-1,s.start.y-d-1,s.end.x,s.end.y-d-1,void 0);(n?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(m)},r.prototype._linkLeave=function(t,n,s){var d;!((d=this._currentLink)===null||d===void 0)&&d.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(n,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),n.leave&&n.leave(s,n.text)},r.prototype._linkAtPosition=function(t,n){var s=t.range.start.y===t.range.end.y,d=t.range.start.y<n.y,m=t.range.end.y>n.y;return(s&&t.range.start.x<=n.x&&t.range.end.x>=n.x||d&&t.range.end.x>=n.x||m&&t.range.start.x<=n.x||d&&m)&&t.range.start.y<=n.y&&t.range.end.y>=n.y},r.prototype._positionFromMouseEvent=function(t,n,s){var d=s.getCoords(t,n,this._bufferService.cols,this._bufferService.rows);if(d)return{x:d[0],y:d[1]+this._bufferService.buffer.ydisp}},r.prototype._createLinkUnderlineEvent=function(t,n,s,d,m){return{x1:t,y1:n,x2:s,y2:d,cols:this._bufferService.cols,fg:m}},r=g([v(0,c.IBufferService)],r)}(o.Disposable);A.Linkifier2=u},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CoreBrowserService=void 0;var z=function(){function e(g){this._textarea=g}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),e}();A.CoreBrowserService=z},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(p,b){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var w in S)S.hasOwnProperty(w)&&(x[w]=S[w])})(p,b)},function(p,b){function x(){this.constructor=p}z(p,b),p.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(A,"__esModule",{value:!0}),A.CoreTerminal=void 0;var g=D(2),v=D(1),c=D(66),a=D(67),o=D(68),l=D(74),u=D(75),i=D(0),r=D(76),t=D(77),n=D(78),s=D(80),d=D(81),m=D(19),h=D(82),y=function(p){function b(x){var S=p.call(this)||this;return S._onBinary=new i.EventEmitter,S._onData=new i.EventEmitter,S._onLineFeed=new i.EventEmitter,S._onResize=new i.EventEmitter,S._onScroll=new i.EventEmitter,S._instantiationService=new c.InstantiationService,S.optionsService=new l.OptionsService(x),S._instantiationService.setService(v.IOptionsService,S.optionsService),S._bufferService=S.register(S._instantiationService.createInstance(o.BufferService)),S._instantiationService.setService(v.IBufferService,S._bufferService),S._logService=S._instantiationService.createInstance(a.LogService),S._instantiationService.setService(v.ILogService,S._logService),S._coreService=S.register(S._instantiationService.createInstance(u.CoreService,function(){return S.scrollToBottom()})),S._instantiationService.setService(v.ICoreService,S._coreService),S._coreMouseService=S._instantiationService.createInstance(r.CoreMouseService),S._instantiationService.setService(v.ICoreMouseService,S._coreMouseService),S._dirtyRowService=S._instantiationService.createInstance(t.DirtyRowService),S._instantiationService.setService(v.IDirtyRowService,S._dirtyRowService),S.unicodeService=S._instantiationService.createInstance(n.UnicodeService),S._instantiationService.setService(v.IUnicodeService,S.unicodeService),S._charsetService=S._instantiationService.createInstance(s.CharsetService),S._instantiationService.setService(v.ICharsetService,S._charsetService),S._inputHandler=new m.InputHandler(S._bufferService,S._charsetService,S._coreService,S._dirtyRowService,S._logService,S.optionsService,S._coreMouseService,S.unicodeService),S.register(i.forwardEvent(S._inputHandler.onLineFeed,S._onLineFeed)),S.register(S._inputHandler),S.register(i.forwardEvent(S._bufferService.onResize,S._onResize)),S.register(i.forwardEvent(S._coreService.onData,S._onData)),S.register(i.forwardEvent(S._coreService.onBinary,S._onBinary)),S.register(S.optionsService.onOptionChange(function(w){return S._updateOptions(w)})),S._writeBuffer=new h.WriteBuffer(function(w){return S._inputHandler.parse(w)}),S}return e(b,p),Object.defineProperty(b.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),b.prototype.dispose=function(){var x;this._isDisposed||(p.prototype.dispose.call(this),(x=this._windowsMode)===null||x===void 0||x.dispose(),this._windowsMode=void 0)},b.prototype.write=function(x,S){this._writeBuffer.write(x,S)},b.prototype.writeSync=function(x){this._writeBuffer.writeSync(x)},b.prototype.resize=function(x,S){isNaN(x)||isNaN(S)||(x=Math.max(x,o.MINIMUM_COLS),S=Math.max(S,o.MINIMUM_ROWS),this._bufferService.resize(x,S))},b.prototype.scroll=function(x,S){S===void 0&&(S=!1);var w,_=this._bufferService.buffer;(w=this._cachedBlankLine)&&w.length===this.cols&&w.getFg(0)===x.fg&&w.getBg(0)===x.bg||(w=_.getBlankLine(x,S),this._cachedBlankLine=w),w.isWrapped=S;var C=_.ybase+_.scrollTop,E=_.ybase+_.scrollBottom;if(_.scrollTop===0){var T=_.lines.isFull;E===_.lines.length-1?T?_.lines.recycle().copyFrom(w):_.lines.push(w.clone()):_.lines.splice(E+1,0,w.clone()),T?this._bufferService.isUserScrolling&&(_.ydisp=Math.max(_.ydisp-1,0)):(_.ybase++,this._bufferService.isUserScrolling||_.ydisp++)}else{var R=E-C+1;_.lines.shiftElements(C+1,R-1,-1),_.lines.set(E,w.clone())}this._bufferService.isUserScrolling||(_.ydisp=_.ybase),this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom),this._onScroll.fire(_.ydisp)},b.prototype.scrollLines=function(x,S){var w=this._bufferService.buffer;if(x<0){if(w.ydisp===0)return;this._bufferService.isUserScrolling=!0}else x+w.ydisp>=w.ybase&&(this._bufferService.isUserScrolling=!1);var _=w.ydisp;w.ydisp=Math.max(Math.min(w.ydisp+x,w.ybase),0),_!==w.ydisp&&(S||this._onScroll.fire(w.ydisp))},b.prototype.scrollPages=function(x){this.scrollLines(x*(this.rows-1))},b.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},b.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},b.prototype.scrollToLine=function(x){var S=x-this._bufferService.buffer.ydisp;S!==0&&this.scrollLines(S)},b.prototype.addEscHandler=function(x,S){return this._inputHandler.addEscHandler(x,S)},b.prototype.addDcsHandler=function(x,S){return this._inputHandler.addDcsHandler(x,S)},b.prototype.addCsiHandler=function(x,S){return this._inputHandler.addCsiHandler(x,S)},b.prototype.addOscHandler=function(x,S){return this._inputHandler.addOscHandler(x,S)},b.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},b.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},b.prototype._updateOptions=function(x){var S;switch(x){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((S=this._windowsMode)===null||S===void 0||S.dispose(),this._windowsMode=void 0)}},b.prototype._enableWindowsMode=function(){var x=this;if(!this._windowsMode){var S=[];S.push(this.onLineFeed(d.updateWindowsModeWrappedState.bind(null,this._bufferService))),S.push(this.addCsiHandler({final:"H"},function(){return d.updateWindowsModeWrappedState(x._bufferService),!1})),this._windowsMode={dispose:function(){for(var w=0,_=S;w<_.length;w++)_[w].dispose()}}}},b}(g.Disposable);A.CoreTerminal=y},function(be,A,D){"use strict";var z=this&&this.__spreadArrays||function(){for(var a=0,o=0,l=arguments.length;o<l;o++)a+=arguments[o].length;var u=Array(a),i=0;for(o=0;o<l;o++)for(var r=arguments[o],t=0,n=r.length;t<n;t++,i++)u[i]=r[t];return u};Object.defineProperty(A,"__esModule",{value:!0}),A.InstantiationService=A.ServiceCollection=void 0;var e=D(1),g=D(14),v=function(){function a(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];this._entries=new Map;for(var u=0,i=o;u<i.length;u++){var r=i[u],t=r[0],n=r[1];this.set(t,n)}}return a.prototype.set=function(o,l){var u=this._entries.get(o);return this._entries.set(o,l),u},a.prototype.forEach=function(o){this._entries.forEach(function(l,u){return o(u,l)})},a.prototype.has=function(o){return this._entries.has(o)},a.prototype.get=function(o){return this._entries.get(o)},a}();A.ServiceCollection=v;var c=function(){function a(){this._services=new v,this._services.set(e.IInstantiationService,this)}return a.prototype.setService=function(o,l){this._services.set(o,l)},a.prototype.getService=function(o){return this._services.get(o)},a.prototype.createInstance=function(o){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];for(var i=g.getServiceDependencies(o).sort(function(h,y){return h.index-y.index}),r=[],t=0,n=i;t<n.length;t++){var s=n[t],d=this._services.get(s.id);if(!d)throw new Error("[createInstance] "+o.name+" depends on UNKNOWN service "+s.id+".");r.push(d)}var m=i.length>0?i[0].index:l.length;if(l.length!==m)throw new Error("[createInstance] First service dependency of "+o.name+" at position "+(m+1)+" conflicts with "+l.length+" static arguments");return new(o.bind.apply(o,z([void 0],z(l,r))))},a}();A.InstantiationService=c},function(be,A,D){"use strict";var z=this&&this.__decorate||function(l,u,i,r){var t,n=arguments.length,s=n<3?u:r===null?r=Object.getOwnPropertyDescriptor(u,i):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(l,u,i,r);else for(var d=l.length-1;d>=0;d--)(t=l[d])&&(s=(n<3?t(s):n>3?t(u,i,s):t(u,i))||s);return n>3&&s&&Object.defineProperty(u,i,s),s},e=this&&this.__param||function(l,u){return function(i,r){u(i,r,l)}},g=this&&this.__spreadArrays||function(){for(var l=0,u=0,i=arguments.length;u<i;u++)l+=arguments[u].length;var r=Array(l),t=0;for(u=0;u<i;u++)for(var n=arguments[u],s=0,d=n.length;s<d;s++,t++)r[t]=n[s];return r};Object.defineProperty(A,"__esModule",{value:!0}),A.LogService=A.LogLevel=void 0;var v,c=D(1);(function(l){l[l.DEBUG=0]="DEBUG",l[l.INFO=1]="INFO",l[l.WARN=2]="WARN",l[l.ERROR=3]="ERROR",l[l.OFF=4]="OFF"})(v=A.LogLevel||(A.LogLevel={}));var a={debug:v.DEBUG,info:v.INFO,warn:v.WARN,error:v.ERROR,off:v.OFF},o=function(){function l(u){var i=this;this._optionsService=u,this._updateLogLevel(),this._optionsService.onOptionChange(function(r){r==="logLevel"&&i._updateLogLevel()})}return l.prototype._updateLogLevel=function(){this._logLevel=a[this._optionsService.options.logLevel]},l.prototype._evalLazyOptionalParams=function(u){for(var i=0;i<u.length;i++)typeof u[i]=="function"&&(u[i]=u[i]())},l.prototype._log=function(u,i,r){this._evalLazyOptionalParams(r),u.call.apply(u,g([console,"xterm.js: "+i],r))},l.prototype.debug=function(u){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];this._logLevel<=v.DEBUG&&this._log(console.log,u,i)},l.prototype.info=function(u){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];this._logLevel<=v.INFO&&this._log(console.info,u,i)},l.prototype.warn=function(u){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];this._logLevel<=v.WARN&&this._log(console.warn,u,i)},l.prototype.error=function(u){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];this._logLevel<=v.ERROR&&this._log(console.error,u,i)},l=z([e(0,c.IOptionsService)],l)}();A.LogService=o},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(i,r){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])})(i,r)},function(i,r){function t(){this.constructor=i}z(i,r),i.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}),g=this&&this.__decorate||function(i,r,t,n){var s,d=arguments.length,m=d<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(i,r,t,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(m=(d<3?s(m):d>3?s(r,t,m):s(r,t))||m);return d>3&&m&&Object.defineProperty(r,t,m),m},v=this&&this.__param||function(i,r){return function(t,n){r(t,n,i)}};Object.defineProperty(A,"__esModule",{value:!0}),A.BufferService=A.MINIMUM_ROWS=A.MINIMUM_COLS=void 0;var c=D(1),a=D(69),o=D(0),l=D(2);A.MINIMUM_COLS=2,A.MINIMUM_ROWS=1;var u=function(i){function r(t){var n=i.call(this)||this;return n._optionsService=t,n.isUserScrolling=!1,n._onResize=new o.EventEmitter,n.cols=Math.max(t.options.cols,A.MINIMUM_COLS),n.rows=Math.max(t.options.rows,A.MINIMUM_ROWS),n.buffers=new a.BufferSet(t,n),n}return e(r,i),Object.defineProperty(r.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),r.prototype.dispose=function(){i.prototype.dispose.call(this),this.buffers.dispose()},r.prototype.resize=function(t,n){this.cols=t,this.rows=n,this.buffers.resize(t,n),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:n})},r.prototype.reset=function(){this.buffers.dispose(),this.buffers=new a.BufferSet(this._optionsService,this),this.isUserScrolling=!1},r=g([v(0,c.IOptionsService)],r)}(l.Disposable);A.BufferService=u},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(a,o){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var i in u)u.hasOwnProperty(i)&&(l[i]=u[i])})(a,o)},function(a,o){function l(){this.constructor=a}z(a,o),a.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(A,"__esModule",{value:!0}),A.BufferSet=void 0;var g=D(70),v=D(0),c=function(a){function o(l,u){var i=a.call(this)||this;return i._onBufferActivate=i.register(new v.EventEmitter),i._normal=new g.Buffer(!0,l,u),i._normal.fillViewportRows(),i._alt=new g.Buffer(!1,l,u),i._activeBuffer=i._normal,i.setupTabStops(),i}return e(o,a),Object.defineProperty(o.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),o.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},o.prototype.activateAltBuffer=function(l){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(l),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},o.prototype.resize=function(l,u){this._normal.resize(l,u),this._alt.resize(l,u)},o.prototype.setupTabStops=function(l){this._normal.setupTabStops(l),this._alt.setupTabStops(l)},o}(D(2).Disposable);A.BufferSet=c},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.BufferStringIterator=A.Buffer=A.MAX_BUFFER_SIZE=void 0;var z=D(71),e=D(16),g=D(4),v=D(3),c=D(72),a=D(73),o=D(20),l=D(6);A.MAX_BUFFER_SIZE=4294967295;var u=function(){function r(t,n,s){this._hasScrollback=t,this._optionsService=n,this._bufferService=s,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=e.DEFAULT_ATTR_DATA.clone(),this.savedCharset=o.DEFAULT_CHARSET,this.markers=[],this._nullCell=g.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),this._whitespaceCell=g.CellData.fromCharData([0,v.WHITESPACE_CELL_CHAR,v.WHITESPACE_CELL_WIDTH,v.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new z.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return r.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new l.ExtendedAttrs),this._nullCell},r.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new l.ExtendedAttrs),this._whitespaceCell},r.prototype.getBlankLine=function(t,n){return new e.BufferLine(this._bufferService.cols,this.getNullCell(t),n)},Object.defineProperty(r.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isCursorInViewport",{get:function(){var t=this.ybase+this.y-this.ydisp;return t>=0&&t<this._rows},enumerable:!1,configurable:!0}),r.prototype._getCorrectBufferLength=function(t){if(!this._hasScrollback)return t;var n=t+this._optionsService.options.scrollback;return n>A.MAX_BUFFER_SIZE?A.MAX_BUFFER_SIZE:n},r.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=e.DEFAULT_ATTR_DATA);for(var n=this._rows;n--;)this.lines.push(this.getBlankLine(t))}},r.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new z.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},r.prototype.resize=function(t,n){var s=this.getNullCell(e.DEFAULT_ATTR_DATA),d=this._getCorrectBufferLength(n);if(d>this.lines.maxLength&&(this.lines.maxLength=d),this.lines.length>0){if(this._cols<t)for(var m=0;m<this.lines.length;m++)this.lines.get(m).resize(t,s);var h=0;if(this._rows<n)for(var y=this._rows;y<n;y++)this.lines.length<n+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new e.BufferLine(t,s)):this.ybase>0&&this.lines.length<=this.ybase+this.y+h+1?(this.ybase--,h++,this.ydisp>0&&this.ydisp--):this.lines.push(new e.BufferLine(t,s)));else for(y=this._rows;y>n;y--)this.lines.length>n+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(d<this.lines.maxLength){var p=this.lines.length-d;p>0&&(this.lines.trimStart(p),this.ybase=Math.max(this.ybase-p,0),this.ydisp=Math.max(this.ydisp-p,0),this.savedY=Math.max(this.savedY-p,0)),this.lines.maxLength=d}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,n-1),h&&(this.y+=h),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=n-1,this._isReflowEnabled&&(this._reflow(t,n),this._cols>t))for(m=0;m<this.lines.length;m++)this.lines.get(m).resize(t,s);this._cols=t,this._rows=n},Object.defineProperty(r.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),r.prototype._reflow=function(t,n){this._cols!==t&&(t>this._cols?this._reflowLarger(t,n):this._reflowSmaller(t,n))},r.prototype._reflowLarger=function(t,n){var s=c.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(e.DEFAULT_ATTR_DATA));if(s.length>0){var d=c.reflowLargerCreateNewLayout(this.lines,s);c.reflowLargerApplyNewLayout(this.lines,d.layout),this._reflowLargerAdjustViewport(t,n,d.countRemoved)}},r.prototype._reflowLargerAdjustViewport=function(t,n,s){for(var d=this.getNullCell(e.DEFAULT_ATTR_DATA),m=s;m-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<n&&this.lines.push(new e.BufferLine(t,d))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-s,0)},r.prototype._reflowSmaller=function(t,n){for(var s=this.getNullCell(e.DEFAULT_ATTR_DATA),d=[],m=0,h=this.lines.length-1;h>=0;h--){var y=this.lines.get(h);if(!(!y||!y.isWrapped&&y.getTrimmedLength()<=t)){for(var p=[y];y.isWrapped&&h>0;)y=this.lines.get(--h),p.unshift(y);var b=this.ybase+this.y;if(!(b>=h&&b<h+p.length)){var x=p[p.length-1].getTrimmedLength(),S=c.reflowSmallerGetNewLineLengths(p,this._cols,t),w=S.length-p.length,_=void 0;_=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+w):Math.max(0,this.lines.length-this.lines.maxLength+w);for(var C=[],E=0;E<w;E++){var T=this.getBlankLine(e.DEFAULT_ATTR_DATA,!0);C.push(T)}C.length>0&&(d.push({start:h+p.length+m,newLines:C}),m+=C.length),p.push.apply(p,C);var R=S.length-1,k=S[R];k===0&&(k=S[--R]);for(var P=p.length-w-1,L=x;P>=0;){var O=Math.min(L,k);if(p[R].copyCellsFrom(p[P],L-O,k-O,O,!0),(k-=O)===0&&(k=S[--R]),(L-=O)===0){P--;var N=Math.max(P,0);L=c.getWrappedLineTrimmedLength(p,N,this._cols)}}for(E=0;E<p.length;E++)S[E]<t&&p[E].setCell(S[E],s);for(var H=w-_;H-- >0;)this.ybase===0?this.y<n-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+m)-n&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+w,this.ybase+n-1)}}}if(d.length>0){var V=[],B=[];for(E=0;E<this.lines.length;E++)B.push(this.lines.get(E));var te=this.lines.length,ee=te-1,J=0,Q=d[J];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+m);var re=0;for(E=Math.min(this.lines.maxLength-1,te+m-1);E>=0;E--)if(Q&&Q.start>ee+re){for(var Z=Q.newLines.length-1;Z>=0;Z--)this.lines.set(E--,Q.newLines[Z]);E++,V.push({index:ee+1,amount:Q.newLines.length}),re+=Q.newLines.length,Q=d[++J]}else this.lines.set(E,B[ee--]);var X=0;for(E=V.length-1;E>=0;E--)V[E].index+=X,this.lines.onInsertEmitter.fire(V[E]),X+=V[E].amount;var $=Math.max(0,te+m-this.lines.maxLength);$>0&&this.lines.onTrimEmitter.fire($)}},r.prototype.stringIndexToBufferIndex=function(t,n,s){for(s===void 0&&(s=!1);n;){var d=this.lines.get(t);if(!d)return[-1,-1];for(var m=s?d.getTrimmedLength():d.length,h=0;h<m;++h)if(d.get(h)[v.CHAR_DATA_WIDTH_INDEX]&&(n-=d.get(h)[v.CHAR_DATA_CHAR_INDEX].length||1),n<0)return[t,h];t++}return[t,0]},r.prototype.translateBufferLineToString=function(t,n,s,d){s===void 0&&(s=0);var m=this.lines.get(t);return m?m.translateToString(n,s,d):""},r.prototype.getWrappedRangeForLine=function(t){for(var n=t,s=t;n>0&&this.lines.get(n).isWrapped;)n--;for(;s+1<this.lines.length&&this.lines.get(s+1).isWrapped;)s++;return{first:n,last:s}},r.prototype.setupTabStops=function(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.options.tabStopWidth)this.tabs[t]=!0},r.prototype.prevStop=function(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t},r.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t},r.prototype.addMarker=function(t){var n=this,s=new a.Marker(t);return this.markers.push(s),s.register(this.lines.onTrim(function(d){s.line-=d,s.line<0&&s.dispose()})),s.register(this.lines.onInsert(function(d){s.line>=d.index&&(s.line+=d.amount)})),s.register(this.lines.onDelete(function(d){s.line>=d.index&&s.line<d.index+d.amount&&s.dispose(),s.line>d.index&&(s.line-=d.amount)})),s.register(s.onDispose(function(){return n._removeMarker(s)})),s},r.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},r.prototype.iterator=function(t,n,s,d,m){return new i(this,t,n,s,d,m)},r}();A.Buffer=u;var i=function(){function r(t,n,s,d,m,h){s===void 0&&(s=0),d===void 0&&(d=t.lines.length),m===void 0&&(m=0),h===void 0&&(h=0),this._buffer=t,this._trimRight=n,this._startIndex=s,this._endIndex=d,this._startOverscan=m,this._endOverscan=h,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return r.prototype.hasNext=function(){return this._current<this._endIndex},r.prototype.next=function(){var t=this._buffer.getWrappedRangeForLine(this._current);t.first<this._startIndex-this._startOverscan&&(t.first=this._startIndex-this._startOverscan),t.last>this._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var n="",s=t.first;s<=t.last;++s)n+=this._buffer.translateBufferLineToString(s,this._trimRight);return this._current=t.last+1,{range:t,content:n}},r}();A.BufferStringIterator=i},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CircularList=void 0;var z=D(0),e=function(){function g(v){this._maxLength=v,this.onDeleteEmitter=new z.EventEmitter,this.onInsertEmitter=new z.EventEmitter,this.onTrimEmitter=new z.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(g.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"maxLength",{get:function(){return this._maxLength},set:function(v){if(this._maxLength!==v){for(var c=new Array(v),a=0;a<Math.min(v,this.length);a++)c[a]=this._array[this._getCyclicIndex(a)];this._array=c,this._maxLength=v,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"length",{get:function(){return this._length},set:function(v){if(v>this._length)for(var c=this._length;c<v;c++)this._array[c]=void 0;this._length=v},enumerable:!1,configurable:!0}),g.prototype.get=function(v){return this._array[this._getCyclicIndex(v)]},g.prototype.set=function(v,c){this._array[this._getCyclicIndex(v)]=c},g.prototype.push=function(v){this._array[this._getCyclicIndex(this._length)]=v,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},g.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(g.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),g.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},g.prototype.splice=function(v,c){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];if(c){for(var l=v;l<this._length-c;l++)this._array[this._getCyclicIndex(l)]=this._array[this._getCyclicIndex(l+c)];this._length-=c}for(l=this._length-1;l>=v;l--)this._array[this._getCyclicIndex(l+a.length)]=this._array[this._getCyclicIndex(l)];for(l=0;l<a.length;l++)this._array[this._getCyclicIndex(v+l)]=a[l];if(this._length+a.length>this._maxLength){var u=this._length+a.length-this._maxLength;this._startIndex+=u,this._length=this._maxLength,this.onTrimEmitter.fire(u)}else this._length+=a.length},g.prototype.trimStart=function(v){v>this._length&&(v=this._length),this._startIndex+=v,this._length-=v,this.onTrimEmitter.fire(v)},g.prototype.shiftElements=function(v,c,a){if(!(c<=0)){if(v<0||v>=this._length)throw new Error("start argument out of range");if(v+a<0)throw new Error("Cannot shift elements in list beyond index 0");if(a>0){for(var o=c-1;o>=0;o--)this.set(v+o+a,this.get(v+o));var l=v+c+a-this._length;if(l>0)for(this._length+=l;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(o=0;o<c;o++)this.set(v+o+a,this.get(v+o))}},g.prototype._getCyclicIndex=function(v){return(this._startIndex+v)%this._maxLength},g}();A.CircularList=e},function(be,A,D){"use strict";function z(e,g,v){if(g===e.length-1)return e[g].getTrimmedLength();var c=!e[g].hasContent(v-1)&&e[g].getWidth(v-1)===1,a=e[g+1].getWidth(0)===2;return c&&a?v-1:v}Object.defineProperty(A,"__esModule",{value:!0}),A.getWrappedLineTrimmedLength=A.reflowSmallerGetNewLineLengths=A.reflowLargerApplyNewLayout=A.reflowLargerCreateNewLayout=A.reflowLargerGetLinesToRemove=void 0,A.reflowLargerGetLinesToRemove=function(e,g,v,c,a){for(var o=[],l=0;l<e.length-1;l++){var u=l,i=e.get(++u);if(i.isWrapped){for(var r=[e.get(l)];u<e.length&&i.isWrapped;)r.push(i),i=e.get(++u);if(c>=l&&c<u)l+=r.length-1;else{for(var t=0,n=z(r,t,g),s=1,d=0;s<r.length;){var m=z(r,s,g),h=m-d,y=v-n,p=Math.min(h,y);r[t].copyCellsFrom(r[s],d,n,p,!1),(n+=p)===v&&(t++,n=0),(d+=p)===m&&(s++,d=0),n===0&&t!==0&&r[t-1].getWidth(v-1)===2&&(r[t].copyCellsFrom(r[t-1],v-1,n++,1,!1),r[t-1].setCell(v-1,a))}r[t].replaceCells(n,v,a);for(var b=0,x=r.length-1;x>0&&(x>t||r[x].getTrimmedLength()===0);x--)b++;b>0&&(o.push(l+r.length-b),o.push(b)),l+=r.length-1}}}return o},A.reflowLargerCreateNewLayout=function(e,g){for(var v=[],c=0,a=g[c],o=0,l=0;l<e.length;l++)if(a===l){var u=g[++c];e.onDeleteEmitter.fire({index:l-o,amount:u}),l+=u-1,o+=u,a=g[++c]}else v.push(l);return{layout:v,countRemoved:o}},A.reflowLargerApplyNewLayout=function(e,g){for(var v=[],c=0;c<g.length;c++)v.push(e.get(g[c]));for(c=0;c<v.length;c++)e.set(c,v[c]);e.length=g.length},A.reflowSmallerGetNewLineLengths=function(e,g,v){for(var c=[],a=e.map(function(n,s){return z(e,s,g)}).reduce(function(n,s){return n+s}),o=0,l=0,u=0;u<a;){if(a-u<v){c.push(a-u);break}o+=v;var i=z(e,l,g);o>i&&(o-=i,l++);var r=e[l].getWidth(o-1)===2;r&&o--;var t=r?v-1:v;c.push(t),u+=t}return c},A.getWrappedLineTrimmedLength=z},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(c,a){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(c,a)},function(c,a){function o(){this.constructor=c}z(c,a),c.prototype=a===null?Object.create(a):(o.prototype=a.prototype,new o)});Object.defineProperty(A,"__esModule",{value:!0}),A.Marker=void 0;var g=D(0),v=function(c){function a(o){var l=c.call(this)||this;return l.line=o,l._id=a._nextId++,l.isDisposed=!1,l._onDispose=new g.EventEmitter,l}return e(a,c),Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),a.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},a._nextId=1,a}(D(2).Disposable);A.Marker=v},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.OptionsService=A.DEFAULT_OPTIONS=A.DEFAULT_BELL_SOUND=void 0;var z=D(0),e=D(11),g=D(33);A.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",A.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:A.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:e.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var v=["cols","rows"],c=function(){function a(o){this._onOptionChange=new z.EventEmitter,this.options=g.clone(A.DEFAULT_OPTIONS);for(var l=0,u=Object.keys(o);l<u.length;l++){var i=u[l];if(i in this.options){var r=o[i];this.options[i]=r}}}return Object.defineProperty(a.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),a.prototype.setOption=function(o,l){if(!(o in A.DEFAULT_OPTIONS))throw new Error('No option with key "'+o+'"');if(v.indexOf(o)!==-1)throw new Error('Option "'+o+'" can only be set in the constructor');this.options[o]!==l&&(l=this._sanitizeAndValidateOption(o,l),this.options[o]!==l&&(this.options[o]=l,this._onOptionChange.fire(o)))},a.prototype._sanitizeAndValidateOption=function(o,l){switch(o){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":l||(l=A.DEFAULT_OPTIONS[o]);break;case"cursorWidth":l=Math.floor(l);case"lineHeight":case"tabStopWidth":if(l<1)throw new Error(o+" cannot be less than 1, value: "+l);break;case"minimumContrastRatio":l=Math.max(1,Math.min(21,Math.round(10*l)/10));break;case"scrollback":if((l=Math.min(l,4294967295))<0)throw new Error(o+" cannot be less than 0, value: "+l);break;case"fastScrollSensitivity":case"scrollSensitivity":if(l<=0)throw new Error(o+" cannot be less than or equal to 0, value: "+l)}return l},a.prototype.getOption=function(o){if(!(o in A.DEFAULT_OPTIONS))throw new Error('No option with key "'+o+'"');return this.options[o]},a}();A.OptionsService=c},function(be,A,D){"use strict";var z,e=this&&this.__extends||(z=function(t,n){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var m in d)d.hasOwnProperty(m)&&(s[m]=d[m])})(t,n)},function(t,n){function s(){this.constructor=t}z(t,n),t.prototype=n===null?Object.create(n):(s.prototype=n.prototype,new s)}),g=this&&this.__decorate||function(t,n,s,d){var m,h=arguments.length,y=h<3?n:d===null?d=Object.getOwnPropertyDescriptor(n,s):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(t,n,s,d);else for(var p=t.length-1;p>=0;p--)(m=t[p])&&(y=(h<3?m(y):h>3?m(n,s,y):m(n,s))||y);return h>3&&y&&Object.defineProperty(n,s,y),y},v=this&&this.__param||function(t,n){return function(s,d){n(s,d,t)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CoreService=void 0;var c=D(1),a=D(0),o=D(33),l=D(2),u=Object.freeze({insertMode:!1}),i=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),r=function(t){function n(s,d,m,h){var y=t.call(this)||this;return y._bufferService=d,y._logService=m,y._optionsService=h,y.isCursorInitialized=!1,y.isCursorHidden=!1,y._onData=y.register(new a.EventEmitter),y._onUserInput=y.register(new a.EventEmitter),y._onBinary=y.register(new a.EventEmitter),y._scrollToBottom=s,y.register({dispose:function(){return y._scrollToBottom=void 0}}),y.modes=o.clone(u),y.decPrivateModes=o.clone(i),y}return e(n,t),Object.defineProperty(n.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),n.prototype.reset=function(){this.modes=o.clone(u),this.decPrivateModes=o.clone(i)},n.prototype.triggerDataEvent=function(s,d){if(d===void 0&&(d=!1),!this._optionsService.options.disableStdin){var m=this._bufferService.buffer;m.ybase!==m.ydisp&&this._scrollToBottom(),d&&this._onUserInput.fire(),this._logService.debug('sending data "'+s+'"',function(){return s.split("").map(function(h){return h.charCodeAt(0)})}),this._onData.fire(s)}},n.prototype.triggerBinaryEvent=function(s){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+s+'"',function(){return s.split("").map(function(d){return d.charCodeAt(0)})}),this._onBinary.fire(s))},n=g([v(1,c.IBufferService),v(2,c.ILogService),v(3,c.IOptionsService)],n)}(l.Disposable);A.CoreService=r},function(be,A,D){"use strict";var z=this&&this.__decorate||function(i,r,t,n){var s,d=arguments.length,m=d<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,t):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")m=Reflect.decorate(i,r,t,n);else for(var h=i.length-1;h>=0;h--)(s=i[h])&&(m=(d<3?s(m):d>3?s(r,t,m):s(r,t))||m);return d>3&&m&&Object.defineProperty(r,t,m),m},e=this&&this.__param||function(i,r){return function(t,n){r(t,n,i)}};Object.defineProperty(A,"__esModule",{value:!0}),A.CoreMouseService=void 0;var g=D(1),v=D(0),c={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(i){return i.button!==4&&i.action===1&&(i.ctrl=!1,i.alt=!1,i.shift=!1,!0)}},VT200:{events:19,restrict:function(i){return i.action!==32}},DRAG:{events:23,restrict:function(i){return i.action!==32||i.button!==3}},ANY:{events:31,restrict:function(i){return!0}}};function a(i,r){var t=(i.ctrl?16:0)|(i.shift?4:0)|(i.alt?8:0);return i.button===4?(t|=64,t|=i.action):(t|=3&i.button,4&i.button&&(t|=64),8&i.button&&(t|=128),i.action===32?t|=32:i.action!==0||r||(t|=3)),t}var o=String.fromCharCode,l={DEFAULT:function(i){var r=[a(i,!1)+32,i.col+32,i.row+32];return r[0]>255||r[1]>255||r[2]>255?"":"\x1B[M"+o(r[0])+o(r[1])+o(r[2])},SGR:function(i){var r=i.action===0&&i.button!==4?"m":"M";return"\x1B[<"+a(i,!0)+";"+i.col+";"+i.row+r}},u=function(){function i(r,t){this._bufferService=r,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new v.EventEmitter,this._lastEvent=null;for(var n=0,s=Object.keys(c);n<s.length;n++){var d=s[n];this.addProtocol(d,c[d])}for(var m=0,h=Object.keys(l);m<h.length;m++){var y=h[m];this.addEncoding(y,l[y])}this.reset()}return i.prototype.addProtocol=function(r,t){this._protocols[r]=t},i.prototype.addEncoding=function(r,t){this._encodings[r]=t},Object.defineProperty(i.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(r){if(!this._protocols[r])throw new Error('unknown protocol "'+r+'"');this._activeProtocol=r,this._onProtocolChange.fire(this._protocols[r].events)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(r){if(!this._encodings[r])throw new Error('unknown encoding "'+r+'"');this._activeEncoding=r},enumerable:!1,configurable:!0}),i.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(i.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),i.prototype.triggerMouseEvent=function(r){if(r.col<0||r.col>=this._bufferService.cols||r.row<0||r.row>=this._bufferService.rows||r.button===4&&r.action===32||r.button===3&&r.action!==32||r.button!==4&&(r.action===2||r.action===3)||(r.col++,r.row++,r.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,r))||!this._protocols[this._activeProtocol].restrict(r))return!1;var t=this._encodings[this._activeEncoding](r);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=r,!0},i.prototype.explainEvents=function(r){return{down:!!(1&r),up:!!(2&r),drag:!!(4&r),move:!!(8&r),wheel:!!(16&r)}},i.prototype._compareEvents=function(r,t){return r.col===t.col&&r.row===t.row&&r.button===t.button&&r.action===t.action&&r.ctrl===t.ctrl&&r.alt===t.alt&&r.shift===t.shift},i=z([e(0,g.IBufferService),e(1,g.ICoreService)],i)}();A.CoreMouseService=u},function(be,A,D){"use strict";var z=this&&this.__decorate||function(c,a,o,l){var u,i=arguments.length,r=i<3?a:l===null?l=Object.getOwnPropertyDescriptor(a,o):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(c,a,o,l);else for(var t=c.length-1;t>=0;t--)(u=c[t])&&(r=(i<3?u(r):i>3?u(a,o,r):u(a,o))||r);return i>3&&r&&Object.defineProperty(a,o,r),r},e=this&&this.__param||function(c,a){return function(o,l){a(o,l,c)}};Object.defineProperty(A,"__esModule",{value:!0}),A.DirtyRowService=void 0;var g=D(1),v=function(){function c(a){this._bufferService=a,this.clearRange()}return Object.defineProperty(c.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),c.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},c.prototype.markDirty=function(a){a<this._start?this._start=a:a>this._end&&(this._end=a)},c.prototype.markRangeDirty=function(a,o){if(a>o){var l=a;a=o,o=l}a<this._start&&(this._start=a),o>this._end&&(this._end=o)},c.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},c=z([e(0,g.IBufferService)],c)}();A.DirtyRowService=v},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnicodeService=void 0;var z=D(0),e=D(79),g=function(){function v(){this._providers=Object.create(null),this._active="",this._onChange=new z.EventEmitter;var c=new e.UnicodeV6;this.register(c),this._active=c.version,this._activeProvider=c}return Object.defineProperty(v.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"activeVersion",{get:function(){return this._active},set:function(c){if(!this._providers[c])throw new Error('unknown Unicode version "'+c+'"');this._active=c,this._activeProvider=this._providers[c],this._onChange.fire(c)},enumerable:!1,configurable:!0}),v.prototype.register=function(c){this._providers[c.version]=c},v.prototype.wcwidth=function(c){return this._activeProvider.wcwidth(c)},v.prototype.getStringCellWidth=function(c){for(var a=0,o=c.length,l=0;l<o;++l){var u=c.charCodeAt(l);if(55296<=u&&u<=56319){if(++l>=o)return a+this.wcwidth(u);var i=c.charCodeAt(l);56320<=i&&i<=57343?u=1024*(u-55296)+i-56320+65536:a+=this.wcwidth(i)}a+=this.wcwidth(u)}return a},v}();A.UnicodeService=g},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnicodeV6=void 0;var z,e=D(15),g=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],v=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],c=function(){function a(){if(this.version="6",!z){z=new Uint8Array(65536),e.fill(z,1),z[0]=0,e.fill(z,0,1,32),e.fill(z,0,127,160),e.fill(z,2,4352,4448),z[9001]=2,z[9002]=2,e.fill(z,2,11904,42192),z[12351]=1,e.fill(z,2,44032,55204),e.fill(z,2,63744,64256),e.fill(z,2,65040,65050),e.fill(z,2,65072,65136),e.fill(z,2,65280,65377),e.fill(z,2,65504,65511);for(var o=0;o<g.length;++o)e.fill(z,0,g[o][0],g[o][1]+1)}}return a.prototype.wcwidth=function(o){return o<32?0:o<127?1:o<65536?z[o]:function(l,u){var i,r=0,t=u.length-1;if(l<u[0][0]||l>u[t][1])return!1;for(;t>=r;)if(l>u[i=r+t>>1][1])r=i+1;else{if(!(l<u[i][0]))return!0;t=i-1}return!1}(o,v)?0:o>=131072&&o<=196605||o>=196608&&o<=262141?2:1},a}();A.UnicodeV6=c},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CharsetService=void 0;var z=function(){function e(){this.glevel=0,this._charsets=[]}return e.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},e.prototype.setgLevel=function(g){this.glevel=g,this.charset=this._charsets[g]},e.prototype.setgCharset=function(g,v){this._charsets[g]=v,this.glevel===g&&(this.charset=v)},e}();A.CharsetService=z},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.updateWindowsModeWrappedState=void 0;var z=D(3);A.updateWindowsModeWrappedState=function(e){var g=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),v=g==null?void 0:g.get(e.cols-1),c=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);c&&v&&(c.isWrapped=v[z.CHAR_DATA_CODE_INDEX]!==z.NULL_CELL_CODE&&v[z.CHAR_DATA_CODE_INDEX]!==z.WHITESPACE_CELL_CODE)}},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.WriteBuffer=void 0;var z=function(){function e(g){this._action=g,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return e.prototype.writeSync=function(g){if(this._writeBuffer.length){for(var v=this._bufferOffset;v<this._writeBuffer.length;++v){var c=this._writeBuffer[v],a=this._callbacks[v];this._action(c),a&&a()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(g)},e.prototype.write=function(g,v){var c=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return c._innerWrite()})),this._pendingData+=g.length,this._writeBuffer.push(g),this._callbacks.push(v)},e.prototype._innerWrite=function(){for(var g=this,v=Date.now();this._writeBuffer.length>this._bufferOffset;){var c=this._writeBuffer[this._bufferOffset],a=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(c),this._pendingData-=c.length,a&&a(),Date.now()-v>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return g._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},e}();A.WriteBuffer=z},function(be,A,D){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AddonManager=void 0;var z=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var g=this._addons.length-1;g>=0;g--)this._addons[g].instance.dispose()},e.prototype.loadAddon=function(g,v){var c=this,a={instance:v,dispose:v.dispose,isDisposed:!1};this._addons.push(a),v.dispose=function(){return c._wrappedAddonDispose(a)},v.activate(g)},e.prototype._wrappedAddonDispose=function(g){if(!g.isDisposed){for(var v=-1,c=0;c<this._addons.length;c++)if(this._addons[c]===g){v=c;break}if(v===-1)throw new Error("Could not dispose an addon that has not been loaded");g.isDisposed=!0,g.dispose.apply(g.instance),this._addons.splice(v,1)}},e}();A.AddonManager=z}])})},62522:function($e){"use strict";$e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUYAAABYCAYAAACJfF6vAAAAAXNSR0IArs4c6QAAIABJREFUeF7sXQe4FcXZfmd2T7n90jtYsFGModkVUGNJ7BVTVIxdI5ii/iYmxkRjEhV7ohF7wQaxBqOIxgqCQSkWUKRIv72csjvzP9/M7p7ZPefce8EGhOOD95wt0+ed9yvzDcO2z7YW2NYCm00LNL19cQ/H4j/nEt+vKK38LhtyVWazKdz/UEHY/1Bdt1V1Wwts1i3QMGviGRLyJgAVVFCb4YiykZNe2KwLvZUWbhswbqUdu61aW1YL1L0z4TrG8Cuz1IyxOytH3njOllWTraO024Bx6+jHbbXYglugcfaEC4TErZEqNAN4q2rUpEO24KptsUXfBoxbbNdtK/jW0AINsyfsC2CGlIgzBgGJaRzi9jKeeo2NuDO7NdRxS6zDNmDcEnttW5k32xYYP3XZFADfA6QFsKWTj+2/e7HCyld+azeU1S8AsDOAjxnEGZWjbn7z26rc+H8u/yWEPMti9kV3HdN7+rdVjs0h323AuDn0wrYybDUtMH7a8lsh5QW6Qqxl8rH9yopVrmHWhLMl8HcAL1UK93i21y0N30ZD/Hj66rJYKjMZAid5+T82+dj+J38bZdlc8twGjJtLT2wrx1bRAmc+tWy8ZLhb4yJWTz6mf69CFSO2WF9av5QxLG1w2CH99rmx9dtogDP/uXygFHIqgCG6zOyhxkzf0x4/ibnfRnk2lzy3WGBsmDXhTSkxFAxS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+IulCjw1zygsh7DpY/iubevzPoay376to7cMTU0hI+CSNpe5SOMWlQD1TktaGOcUsqzg/6HjwxVN5iisyVaiUCERFYc/CPVayw3T9AQxDzgerlBTcGTY1R3KRjTNGN67NhnQLsCakn4KguHSuoArKkL0X3RKqNDwGrw11GoPcU4gM1S/Pe7R+dG5+4UbFKOsYU3QZ+BTneXlxk4DIBO/RVqByNTTdSBI9UKxFIKQLSMaYQ/t7VeFj/D76n/ZGn5aXQNKlaInBbI/Af7NFDa4Ye3CIAAAAASUVORK5CYII="},60141:function($e){"use strict";$e.exports="data:image/gif;base64,R0lGODlh6QDIAPf/APrMTf789vrMUPvdi/zfkfi4CvvYef713fnKSfzosP7wyvrSZfjAKPzmqf3wzP767fnHPv7xzf3wzvjFOfe2BP767vi8F/i8GPvagfnGO/jDMv3uxv3svfrNUvzkov724fvWcfzinPvbhPi5DfrTZv734vi6EPzglfnKSP3tw/nJR/3qtv3nrPrRYPjAJf/++/702PvVbvrUbfrUafrQX/rOVvnLTfrWcvi+H/i7Fv7y0P3y0/3wyv3uxPzjoPzglvi/I/vejvvZfPe5D/rTaPrPWvrOVPrKSf3vyPzlpPnNU/nKRvnENfe6E/Ly8v3sv+Xl5frZf9ra2vnIQOjo6Pv7+9jY2PX19d7e3tTU1Ovr6/n5+dzc3O7u7uLi4tDQ0M7Oztvb2/j4+N3d3ezs7NHR0f7+/tXV1fHx8fDw8NLS0uHh4d/f3/jAJvb29vT09M/Pz+/v7/f39+rq6uPj49bW1vr6+uDg4NfX1+Tk5PPz89PT0+np6efn59nZ2e3t7frPWfzmqvnFN/39/fz8/P756/723/vdif3ru/745/zhmObm5vrUav3ps/zim/zdiv757Pzlpvzruvzhmfe3Bve3B/zimvvhmvnCK/jAJ//56v/9+f7z1f702vvciPvXdfnBJ/jFN/jDL/735PvZe/e7Ffzjn/e3CPznq/3twf3ruvi+IPnFNvvdjPzps/3psvrOWP702/rQXfvYevnOWfvUav3quPrWdP302//56/i9G/zejP712/778/nIQv3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